/* Homepage sections. Shared tokens, nav, footer and buttons live in brand.css. */

/* ── Hero ────────────────────────────────────────────── */
.hero { padding: 72px 0 96px; }
.hero__inner { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(260px, .7fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
.hero h1 { font-size: clamp(3rem, 5.3vw, 5.4rem); line-height: 1; letter-spacing: -.03em; margin-top: 20px; text-wrap: initial; }
.hero h1 span, .hero h1 em { display: block; }
.hero h1 em { font-style: italic; font-weight: 500; color: var(--felt); }
.hero__lede { margin-top: 26px; max-width: 46ch; font-size: 1.2rem; line-height: 1.6; color: var(--copy); }
.hero__actions { margin-top: 34px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.hero__note { margin-top: 26px; font-size: .9rem; color: var(--muted); }
.hero__media { justify-self: center; }
.hero__media figcaption { margin-top: 18px; text-align: center; font-size: .85rem; color: var(--muted); }

/* ── The group text ──────────────────────────────────── */
.thread { background: var(--bone); padding: 104px 0; }
.thread__inner { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
.bubbles { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; max-width: 360px; }
.bubbles li { justify-self: start; padding: 11px 16px; border-radius: 20px 20px 20px 6px; background: #fff; color: var(--ink); font-size: 1.02rem; line-height: 1.35; box-shadow: 0 1px 0 rgba(34,31,29,.06); }
.bubbles li:nth-child(even) { justify-self: end; border-radius: 20px 20px 6px 20px; background: #dcd1c1; }
.bubbles li.bubbles__more { background: none; box-shadow: none; color: var(--muted); font-size: .9rem; padding: 4px 6px; justify-self: center; }
.thread h2 { font-size: clamp(2.3rem, 4.4vw, 3.9rem); max-width: 14ch; }
.thread p { margin-top: 22px; max-width: 48ch; font-size: 1.12rem; color: var(--copy); }

/* ── How it works ────────────────────────────────────── */
.how { padding: 112px 0; }
.how__inner { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(250px, .85fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
.how h2 { font-size: clamp(2.6rem, 5.4vw, 4.8rem); letter-spacing: -.025em; }
.steps { list-style: none; margin: 40px 0 0; padding: 0; border-top: 1px solid var(--line); }
.steps li { display: grid; grid-template-columns: 64px 1fr; gap: 10px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.steps__num { font-family: var(--display); font-size: 1.05rem; font-weight: 600; color: var(--felt); padding-top: 4px; }
.steps h3 { font-size: 1.55rem; }
.steps p { margin-top: 8px; color: var(--copy); max-width: 50ch; }
.how__media { justify-self: center; }
.how__media figcaption, .split figcaption, .friends figcaption { margin-top: 16px; text-align: center; font-size: .85rem; color: var(--muted); max-width: 30ch; margin-inline: auto; }

/* ── Group + record, side by side ────────────────────── */
.split { display: grid; grid-template-columns: 1fr 1fr; }
.split__panel { padding: 96px clamp(28px, 6vw, 88px) 104px; display: flex; flex-direction: column; }
.split__panel--felt { background: var(--felt); color: var(--on-felt); }
.split__panel--bone { background: var(--bone); }
.split h2 { font-size: clamp(2.2rem, 3.8vw, 3.5rem); max-width: 13ch; }
.split p { margin-top: 18px; max-width: 44ch; font-size: 1.06rem; color: var(--copy); }
.split__panel--felt p { color: var(--on-felt-soft); }
.split__panel--felt figcaption { color: var(--on-felt-soft); }
.split .tags { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .85rem; font-weight: 700; letter-spacing: .02em; }
.split__panel--felt .tags { color: var(--gold); }
.split__panel--bone .tags { color: var(--felt); }
.split figure { margin: auto 0 0; padding-top: 56px; align-self: center; }
.split .phone { width: min(100%, 290px); }

/* ── Friends ─────────────────────────────────────────── */
.friends { padding: 112px 0; }
.friends__inner { display: grid; grid-template-columns: minmax(250px, .85fr) minmax(0, 1.15fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
.friends h2 { font-size: clamp(2.4rem, 4.6vw, 4.2rem); max-width: 12ch; }
.friends p { margin-top: 20px; max-width: 48ch; font-size: 1.1rem; color: var(--copy); }
.facts { margin: 36px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 36px; }
.facts li { border-top: 2px solid var(--ink); padding-top: 14px; }
.facts strong { display: block; font-family: var(--display); font-size: 1.2rem; font-weight: 600; }
.facts span { display: block; margin-top: 6px; color: var(--copy); font-size: .96rem; line-height: 1.55; }

/* ── Heritage ────────────────────────────────────────── */
.heritage { background: var(--felt-deep); color: var(--on-felt); padding: 112px 0; }
.heritage__inner { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(40px, 8vw, 120px); align-items: start; }
.heritage__glyph { font-family: var(--cjk); font-weight: 600; font-size: clamp(6rem, 13vw, 11rem); line-height: 1; writing-mode: vertical-rl; color: var(--gold); letter-spacing: .05em; }
.heritage .eyebrow { color: var(--on-felt-soft); }
.heritage h2 { margin-top: 16px; font-size: clamp(2.3rem, 4.4vw, 3.9rem); max-width: 16ch; }
.heritage p { margin-top: 22px; max-width: 58ch; font-size: 1.1rem; line-height: 1.75; color: var(--on-felt-soft); }
.heritage p strong { color: var(--on-felt); font-weight: 600; }

/* ── FAQ ─────────────────────────────────────────────── */
.faq { padding: 112px 0; }
.faq__inner { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq h2 { font-size: clamp(2.4rem, 4.4vw, 3.8rem); position: sticky; top: 110px; }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; font-weight: 700; font-size: 1.08rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-family: var(--display); font-size: 1.6rem; font-weight: 500; line-height: 1; color: var(--felt); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 48px 24px 0; color: var(--copy); line-height: 1.7; }
.faq details a { color: var(--cobalt); text-underline-offset: 3px; }

/* ── Closing call to action ──────────────────────────── */
.closing { background: var(--felt); color: var(--on-felt); padding: 104px 0; text-align: center; }
.closing h2 { font-size: clamp(2.6rem, 5.6vw, 5rem); letter-spacing: -.025em; max-width: 15ch; margin-inline: auto; }
.closing p { margin-top: 18px; color: var(--on-felt-soft); font-size: 1.1rem; }
.closing .app-store-badge { margin-top: 34px; }

@media (max-width: 900px) {
    .hero__inner, .thread__inner, .how__inner, .friends__inner, .faq__inner, .heritage__inner { grid-template-columns: 1fr; }
    .split { grid-template-columns: 1fr; }
    .friends__media { order: 2; }
    .faq h2 { position: static; }
    .heritage__glyph { writing-mode: horizontal-tb; }
}
@media (max-width: 720px) {
    .hero { padding: 40px 0 72px; }
    .hero h1 { font-size: clamp(2.9rem, 13vw, 4rem); }
    .hero__lede { font-size: 1.08rem; }
    .hero__media .phone { width: min(72vw, 290px); }
    .thread, .how, .friends, .heritage, .faq, .closing { padding: 76px 0; }
    .split__panel { padding: 72px 20px 80px; }
    .split figure { padding-top: 44px; }
    .split .phone, .how__media .phone, .friends__media .phone { width: min(70vw, 280px); }
    .steps li { grid-template-columns: 44px 1fr; }
    .facts { grid-template-columns: 1fr; }
    .faq details p { padding-right: 0; }
}
