:root {
    --cream: #EDEBE6;
    --surface: #F7F5F1;
    --warm-ink: #2A1F14;
    --warm-ink-soft: rgba(42, 31, 20, 0.66);
    --warm-ink-faint: rgba(42, 31, 20, 0.42);
    --terracotta: #C75D4E;
    --accent-warm: #C29856;
    --hairline: rgba(42, 31, 20, 0.08);
    --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    -webkit-text-size-adjust: 100%;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'New York', 'Georgia', serif;
    background: var(--cream);
    color: var(--warm-ink);
    line-height: 1.55;
    overflow-x: hidden;
    width: 100%;
}

/* Atmospheric body wash */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
        radial-gradient(1100px 700px at 50% -10%, rgba(199, 93, 78, 0.10), transparent 60%),
        radial-gradient(900px 600px at 90% 30%, rgba(194, 152, 86, 0.08), transparent 65%),
        radial-gradient(800px 800px at 10% 70%, rgba(199, 93, 78, 0.05), transparent 70%);
    pointer-events: none;
    z-index: 0;
}

main, section, footer {
    position: relative;
    z-index: 1;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-wide {
    max-width: 1180px;
}

/* Narrow inner content for prose-heavy sections (faq, privacy, how, footer, demo, library-intro, moments) */
.container-narrow {
    max-width: 720px;
}

/* Within the new wider .container, narrow prose blocks by max-width on the elements themselves */
.hero .subtitle,
.moments-sub,
.library-sub {
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

/* Reveal-on-scroll — slower, more deliberate */
.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 900ms var(--ease-expo), transform 900ms var(--ease-expo);
    will-change: opacity, transform;
}
.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 120ms; }
.reveal-delay-2 { transition-delay: 240ms; }
.reveal-delay-3 { transition-delay: 360ms; }
.reveal-delay-4 { transition-delay: 480ms; }

/* ───────────── HERO ───────────── */
.hero {
    padding: 96px 0;
    text-align: center;
    min-height: 72vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hero .container { width: 100%; }
.hero-inner { will-change: transform, opacity; }

.echo-mark {
    font-style: italic;
    font-weight: 400;
    font-size: clamp(140px, 22vw, 280px);
    line-height: 0.9;
    color: var(--warm-ink);
    margin-bottom: 12px;
    letter-spacing: -0.03em;
}

.wordmark {
    font-style: italic;
    font-weight: 400;
    font-size: clamp(48px, 6vw, 72px);
    line-height: 1;
    color: var(--warm-ink);
    margin-bottom: 48px;
    letter-spacing: -0.01em;
}

.tagline {
    font-style: italic;
    font-size: clamp(26px, 3.2vw, 36px);
    line-height: 1.25;
    color: var(--warm-ink);
    margin-bottom: 22px;
    font-weight: 400;
    letter-spacing: -0.005em;
}

.subtitle {
    font-size: 17px;
    line-height: 1.65;
    color: var(--warm-ink-soft);
    max-width: 560px;
    margin: 0 auto 44px;
}

.cta-row {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-primary,
.cta-secondary {
    display: inline-block;
    padding: 14px 22px;
    border-radius: 28px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 600ms var(--ease-expo), opacity 600ms var(--ease-expo), box-shadow 600ms var(--ease-expo);
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', sans-serif;
}

.cta-primary {
    background: var(--warm-ink);
    color: var(--cream);
    box-shadow: 0 12px 24px -16px rgba(42, 31, 20, 0.5);
}

.cta-secondary {
    background: var(--surface);
    color: var(--warm-ink);
    border: 0.5px solid var(--hairline);
}

.cta-primary:hover,
.cta-secondary:hover {
    transform: translateY(-2px);
    opacity: 0.96;
    box-shadow: 0 16px 32px -16px rgba(42, 31, 20, 0.45);
}

/* ───────────── MOMENTS INTRO ───────────── */
.moments {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 0;
    border-top: 0.5px solid var(--hairline);
    text-align: center;
}

.moments-line {
    font-style: normal;
    font-weight: 400;
    font-size: clamp(40px, 9vw, 130px);
    line-height: 1.05;
    color: var(--warm-ink);
    letter-spacing: -0.025em;
    margin-bottom: 36px;
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
}

.moments-line em {
    font-style: italic;
    color: var(--terracotta);
}

.moments-sub {
    font-style: italic;
    font-size: clamp(18px, 2.2vw, 24px);
    line-height: 1.5;
    color: var(--warm-ink-soft);
    max-width: 560px;
    margin: 0 auto;
}

/* ───────────── DEMO ───────────── */
.demo-section {
    padding: 96px 0;
    border-top: 0.5px solid var(--hairline);
    text-align: center;
    overflow: hidden; /* contain the bleed glow */
}

.demo-eyebrow {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2.2px;
    color: var(--terracotta);
    margin-bottom: 36px;
    display: block;
}

.demo-frame {
    position: relative;
    display: block;
    margin: 0 auto 28px;
    width: fit-content;
    max-width: 100%;
}

.demo-frame::before {
    content: "";
    position: absolute;
    inset: -8% -10%;
    background: radial-gradient(closest-side, rgba(199, 93, 78, 0.22), rgba(199, 93, 78, 0) 70%);
    z-index: 0;
    pointer-events: none;
    filter: blur(8px);
}

.demo-video {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: clamp(280px, 60vw, 380px);
    aspect-ratio: 1290 / 2796;
    border-radius: 30px;
    box-shadow: 0 60px 140px -40px rgba(199, 93, 78, 0.38),
                0 24px 48px -16px rgba(42, 31, 20, 0.26);
    background: var(--surface);
    display: block;
    margin: 0 auto;
}

.demo-lang {
    display: inline-flex;
    background: var(--surface);
    border-radius: 999px;
    padding: 4px;
    border: 0.5px solid var(--hairline);
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', sans-serif;
    font-size: 14px;
    font-weight: 600;
}

.demo-lang button {
    background: transparent;
    border: none;
    color: var(--warm-ink-soft);
    padding: 8px 18px;
    min-height: 40px;
    border-radius: 999px;
    cursor: pointer;
    font: inherit;
    transition: background 0.25s var(--ease-expo), color 0.25s var(--ease-expo);
}

.demo-lang button[aria-pressed="true"] {
    background: var(--terracotta);
    color: var(--cream);
}

/* ───────────── STAGE (hero features) — shared bits ───────────── */
.stage {
    padding: 96px 0;
    border-top: 0.5px solid var(--hairline);
    position: relative;
}

.stage-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.stage-eyebrow {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2.2px;
    color: var(--terracotta);
    margin-bottom: 20px;
}

.stage-eyebrow-centered { text-align: center; }

.stage-headline {
    font-style: italic;
    font-weight: 500;
    font-size: clamp(40px, 7vw, 96px);
    line-height: 1.05;
    color: var(--warm-ink);
    letter-spacing: -0.018em;
    margin-bottom: 36px;
}

.stage-headline-xl {
    font-size: clamp(44px, 8vw, 108px);
    text-align: center;
}

.stage-headline-centered { text-align: center; }

.stage-body {
    font-size: 18px;
    line-height: 1.6;
    color: var(--warm-ink-soft);
    max-width: 520px;
    margin: 0 0 16px;
}

.stage-body-centered {
    max-width: 560px;
    margin: 36px auto 0;
    text-align: center;
}

.stage-aside {
    font-size: 17px;
    line-height: 1.5;
    color: var(--warm-ink-faint);
    max-width: 480px;
    margin-top: 12px;
}

.stage-aside em {
    font-style: italic;
    color: var(--warm-ink-soft);
}

/* Phone shot common styling */
.stage-phone img,
.stage-bleed-shot img,
.twin-shot img,
.scrub-phone img {
    width: 100%;
    aspect-ratio: 1290 / 2796;
    object-fit: cover;
    border-radius: 32px;
    box-shadow:
        0 50px 120px -40px rgba(199, 93, 78, 0.34),
        0 24px 48px -16px rgba(42, 31, 20, 0.22),
        0 1px 0 rgba(255, 255, 255, 0.5) inset;
    background: var(--surface);
    display: block;
}

/* ───────────── STAGE 1 — CENTER (Live Transcription) ───────────── */
.stage-center .stage-inner {
    text-align: center;
}

/* Center stages: caption ALWAYS sits centered under the phone, on the phone's axis */
.stage-center .stage-body {
    max-width: 560px;
    margin: 36px auto 0;
    text-align: center;
}

.stage-center .stage-aside {
    max-width: 480px;
    margin: 12px auto 0;
    text-align: center;
}

.stage-phone {
    position: relative;
    display: flex;
    justify-content: center;
    margin: 40px auto 0;
}

.stage-phone img {
    max-width: clamp(260px, 32vw, 340px);
    position: relative;
    z-index: 1;
}

.stage-phone-halo::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 140%;
    height: 100%;
    transform: translate(-50%, -50%);
    background: radial-gradient(closest-side, rgba(199, 93, 78, 0.28), rgba(199, 93, 78, 0) 65%);
    z-index: 0;
    pointer-events: none;
    filter: blur(10px);
}

/* ───────────── STAGE 2 — BLEED (Extract) ───────────── */
.stage-bleed {
    overflow: hidden;
    padding: 96px 0;
}

.stage-bleed-grid {
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 56px;
    align-items: center;
}

.stage-bleed-text {
    padding-right: 0;
}

.stage-bleed-shot {
    position: relative;
    display: flex;
    justify-content: flex-end;
}

.stage-bleed-shot img {
    max-width: 460px;
    width: 100%;
}

@media (min-width: 860px) {
    .stage-bleed-grid {
        grid-template-columns: 1.25fr 1fr;
        gap: 72px;
        padding-left: max(40px, calc((100vw - 1380px) / 2 + 40px));
        padding-right: 24px;
    }
    .stage-bleed-shot {
        margin-right: -6%; /* small clip, keeps phone readable */
    }
    .stage-bleed-shot img {
        max-width: 440px;
    }
    /* Headlines in side-by-side bleed sections — calibrated so intended <br> lines fit on one row */
    .stage-bleed .stage-headline {
        font-size: clamp(38px, 4.6vw, 64px);
        margin-bottom: 28px;
    }
}

.stage-bleed-shot::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 20%;
    width: 80%;
    height: 80%;
    transform: translateY(-50%);
    background: radial-gradient(closest-side, rgba(194, 152, 86, 0.18), rgba(194, 152, 86, 0) 70%);
    z-index: 0;
    pointer-events: none;
    filter: blur(8px);
}

/* ───────────── STAGE 3 — TWIN (Ask) ───────────── */
.stage-twin .stage-inner {
    text-align: center;
}

.twin-shots {
    margin: 56px auto 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    justify-items: center;
    max-width: 780px;
    position: relative;
}

.twin-shot {
    position: relative;
    width: 100%;
    max-width: 340px;
}

.twin-shot img {
    width: 100%;
    max-width: 340px;
}

@media (min-width: 720px) {
    .twin-shots {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        max-width: 780px;
    }
    .twin-shot-a { transform: translateY(28px) rotate(-1.2deg); }
    .twin-shot-b { transform: translateY(-12px) rotate(1.4deg); }
}

.twin-shots::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 110%;
    height: 90%;
    transform: translate(-50%, -50%);
    background: radial-gradient(closest-side, rgba(199, 93, 78, 0.16), rgba(199, 93, 78, 0) 70%);
    z-index: 0;
    pointer-events: none;
    filter: blur(8px);
}

/* ───────────── LIBRARY GROUP ─────────────
   Library intro + the five tabs (People, Inbox, Photos, Journals, Collections).
   Visually anchored as one chapter via the intro band. */
.library-intro {
    padding: 120px 0 56px;
    text-align: center;
    border-top: 0.5px solid var(--hairline);
}

.library-eyebrow {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2.4px;
    color: var(--terracotta);
    margin-bottom: 20px;
}

.library-h2 {
    font-style: italic;
    font-weight: 500;
    font-size: clamp(36px, 5.4vw, 64px);
    line-height: 1.08;
    color: var(--warm-ink);
    letter-spacing: -0.018em;
    margin-bottom: 20px;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}

.library-h2 em {
    color: var(--terracotta);
    font-style: italic;
}

.library-sub {
    max-width: 560px;
    margin: 0 auto;
    font-size: 17px;
    line-height: 1.6;
    color: var(--warm-ink-soft);
}

/* Bleed-reverse: phone on the LEFT, text on the RIGHT (mirrors stage-bleed) */
@media (min-width: 860px) {
    .stage-bleed-reverse .stage-bleed-grid {
        grid-template-columns: 1fr 1.25fr;
        padding-left: 24px;
        padding-right: max(40px, calc((100vw - 1380px) / 2 + 40px));
    }
    .stage-bleed-reverse .stage-bleed-shot {
        order: -1;
        margin-right: 0;
        margin-left: -6%;
        justify-content: flex-start;
    }
    .stage-bleed-reverse .stage-bleed-text {
        padding-right: 0;
        padding-left: 24px;
    }
    .stage-bleed-reverse .stage-bleed-shot::before {
        left: auto;
        right: 30%;
    }
}

/* Quiet variant — smaller phone, more breath. Used by Journals. */
.stage-quiet {
    padding: 96px 0;
}

.stage-phone-small img {
    max-width: clamp(220px, 26vw, 280px);
}

/* ───────────── STAGE 4 — SCRUB (Conferences) ───────────── */
.stage-scrub {
    /* tall section so the scrub has scroll room */
    padding: 0;
}

.scrub-container {
    position: relative;
    min-height: 280vh; /* extra room — 4 panels now (Collections root + 3 detail) */
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 24px 80px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 860px) {
    .scrub-container {
        grid-template-columns: 1.3fr 1fr;
        gap: 72px;
        padding: 120px 48px;
        max-width: 1300px;
    }
    .stage-scrub .stage-headline {
        font-size: clamp(38px, 4.6vw, 64px);
        margin-bottom: 28px;
    }
}

.scrub-text {
    /* sticky in the LEFT column on desktop so it accompanies the scrub */
    align-self: start;
}

@media (min-width: 860px) {
    .scrub-text {
        position: sticky;
        top: 28vh;
        padding-top: 0;
    }
}

.scrub-dots {
    display: flex;
    gap: 8px;
    margin-top: 36px;
}

.scrub-dot {
    width: 28px;
    height: 3px;
    background: rgba(42, 31, 20, 0.18);
    border-radius: 2px;
    transition: background 600ms var(--ease-expo), width 600ms var(--ease-expo);
}

.scrub-dot.is-active {
    background: var(--terracotta);
    width: 44px;
}

.scrub-phone-wrap {
    position: relative;
    min-height: 100%;
}

.scrub-phone {
    position: sticky;
    top: 8vh;
    display: flex;
    justify-content: center;
    width: 100%;
    aspect-ratio: 1290 / 2796;
    max-width: 320px;
    margin: 0 auto;
}

.scrub-phone::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 140%;
    height: 100%;
    transform: translate(-50%, -50%);
    background: radial-gradient(closest-side, rgba(199, 93, 78, 0.22), rgba(199, 93, 78, 0) 65%);
    z-index: 0;
    pointer-events: none;
    filter: blur(10px);
}

.scrub-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: 1290 / 2796;
    object-fit: cover;
    border-radius: 32px;
    box-shadow:
        0 50px 120px -40px rgba(199, 93, 78, 0.34),
        0 24px 48px -16px rgba(42, 31, 20, 0.22),
        0 1px 0 rgba(255, 255, 255, 0.5) inset;
    background: var(--surface);
    opacity: 0;
    transition: opacity 900ms var(--ease-expo), transform 900ms var(--ease-expo);
    transform: scale(0.985);
    z-index: 1;
}

.scrub-img.is-active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

/* ───────────── MOSAIC (5 secondary features) ───────────── */
.mosaic {
    padding: 96px 0;
    border-top: 0.5px solid var(--hairline);
}

.mosaic-head {
    margin-bottom: 56px;
    text-align: center;
}

.mosaic-h2 {
    font-style: italic;
    font-weight: 500;
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.08;
    color: var(--warm-ink);
    letter-spacing: -0.015em;
}

.mosaic-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
}

@media (min-width: 720px) {
    .mosaic-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 28px;
    }
    /* second row centered (2 of 5) */
    .mosaic-grid .tile:nth-child(4) { grid-column: 1 / span 1; }
    .mosaic-grid .tile:nth-child(5) { grid-column: 2 / span 1; }

    /* 2-tile variant — larger, paired side by side */
    .mosaic-grid.mosaic-grid-2 {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        max-width: 920px;
        margin: 0 auto;
    }
    .mosaic-grid-2 .tile { padding: 28px 28px 32px; }
    .mosaic-grid-2 .tile-thumb { aspect-ratio: 16 / 10; margin: -28px -28px 22px; }
    .mosaic-grid-2 .tile-title { font-size: 22px; }
    .mosaic-grid-2 .tile-body { font-size: 15.5px; }
}

/* 4-tile variant — Library 2x2. Outside the @media so it overrides at every size. */
.mosaic-grid.mosaic-grid-4 {
    grid-template-columns: 1fr;
    gap: 22px;
    max-width: 1040px;
    margin: 0 auto;
}
@media (min-width: 720px) {
    .mosaic-grid.mosaic-grid-4 {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}
.mosaic-grid-4 .tile { padding: 26px 26px 30px; }
.mosaic-grid-4 .tile:nth-child(n) { grid-column: auto; }
.mosaic-grid-4 .tile-thumb {
    aspect-ratio: 4 / 3;
    margin: -26px -26px 20px;
}
.mosaic-grid-4 .tile-thumb img {
    object-position: center 20%;
}
.mosaic-grid-4 .tile-title { font-size: 22px; }
.mosaic-grid-4 .tile-body { font-size: 15.5px; }

.tile {
    background: var(--surface);
    border: 0.5px solid var(--hairline);
    border-radius: 22px;
    padding: 22px 22px 26px;
    transition: transform 700ms var(--ease-expo), box-shadow 700ms var(--ease-expo), border-color 600ms var(--ease-expo);
    display: flex;
    flex-direction: column;
}

.tile:hover {
    transform: translateY(-3px);
    box-shadow: 0 24px 48px -28px rgba(42, 31, 20, 0.20);
    border-color: rgba(199, 93, 78, 0.22);
}

.tile:hover .tile-title { color: var(--terracotta); }

.tile-thumb {
    margin: -22px -22px 18px;
    border-radius: 22px 22px 0 0;
    overflow: hidden;
    aspect-ratio: 16 / 11;
    background: var(--cream);
    position: relative;
}

.tile-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 8%;
    display: block;
    filter: saturate(1.02);
}

.tile-eyebrow {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', sans-serif;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 1.8px;
    color: var(--warm-ink-faint);
    margin-bottom: 8px;
}

.tile-title {
    font-style: italic;
    font-weight: 500;
    font-size: 19px;
    line-height: 1.3;
    color: var(--warm-ink);
    margin-bottom: 8px;
    transition: color 400ms var(--ease-expo);
}

.tile-body {
    font-size: 14.5px;
    color: var(--warm-ink-soft);
    line-height: 1.6;
}

/* ───────────── HOW IT WORKS ───────────── */
.how {
    padding: 96px 0;
    border-top: 0.5px solid var(--hairline);
}

.how .container { max-width: 1100px; }

.how h2 {
    font-style: italic;
    font-weight: 500;
    font-size: clamp(34px, 4.4vw, 48px);
    line-height: 1.1;
    color: var(--warm-ink);
    margin: 0 auto 56px;
    letter-spacing: -0.01em;
    text-align: center;
    max-width: 720px;
}

.how-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    max-width: 920px;
    margin: 0 auto;
}

@media (min-width: 720px) {
    .how-steps {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 32px;
    }
}

.how-step {
    background: var(--surface);
    border: 0.5px solid var(--hairline);
    border-radius: 18px;
    padding: 28px 24px;
    transition: transform 700ms var(--ease-expo), box-shadow 700ms var(--ease-expo);
}

.how-step:hover {
    transform: translateY(-3px);
    box-shadow: 0 24px 48px -28px rgba(42, 31, 20, 0.18);
}

.how-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: rgba(199, 93, 78, 0.10);
    color: var(--terracotta);
    font-family: 'New York', 'Georgia', serif;
    font-style: italic;
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 16px;
}

.how-step h3 {
    font-style: italic;
    font-weight: 500;
    font-size: 20px;
    line-height: 1.3;
    color: var(--warm-ink);
    margin-bottom: 8px;
}

.how-step p {
    font-size: 14.5px;
    color: var(--warm-ink-soft);
    line-height: 1.6;
}

/* ───────────── FAQ ───────────── */
.faq {
    padding: 96px 0;
    border-top: 0.5px solid var(--hairline);
}

.faq h2 {
    font-style: italic;
    font-weight: 500;
    font-size: clamp(32px, 4vw, 44px);
    line-height: 1.1;
    color: var(--warm-ink);
    margin-bottom: 36px;
    letter-spacing: -0.01em;
}

.faq details {
    border-bottom: 0.5px solid var(--hairline);
    padding: 20px 0;
}

.faq details:first-of-type {
    border-top: 0.5px solid var(--hairline);
}

.faq summary {
    list-style: none;
    cursor: pointer;
    font-size: 17px;
    font-weight: 500;
    color: var(--warm-ink);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
    content: "+";
    color: var(--terracotta);
    font-size: 22px;
    font-weight: 400;
    transition: transform 0.3s var(--ease-expo);
    flex-shrink: 0;
}

.faq details[open] summary::after {
    transform: rotate(45deg);
}

.faq details p {
    margin-top: 12px;
    font-size: 15px;
    color: var(--warm-ink-soft);
    line-height: 1.65;
}

/* Generic small eyebrow (used by privacy) */
.feature-eyebrow {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.8px;
    color: var(--warm-ink-faint);
    margin-bottom: 10px;
}

/* ───────────── PRIVACY ───────────── */
.privacy {
    padding: 96px 0;
    border-top: 0.5px solid var(--hairline);
}

.privacy .feature-eyebrow {
    margin-bottom: 14px;
}

.privacy h2 {
    font-style: italic;
    font-weight: 500;
    font-size: clamp(32px, 4vw, 42px);
    line-height: 1.15;
    color: var(--warm-ink);
    margin-bottom: 22px;
    letter-spacing: -0.01em;
}

.privacy p {
    font-size: 17px;
    line-height: 1.7;
    color: var(--warm-ink-soft);
    margin-bottom: 16px;
}

.privacy .aside {
    font-size: 13px;
    margin-top: 28px;
}

.privacy a {
    color: var(--accent-warm);
    text-decoration: none;
    border-bottom: 0.5px solid var(--accent-warm);
}

.privacy a:hover { opacity: 0.8; }

/* ───────────── FOOTER ───────────── */
footer {
    padding: 56px 0 72px;
    border-top: 0.5px solid var(--hairline);
    text-align: center;
}

footer p {
    font-style: italic;
    font-size: 14px;
    color: var(--warm-ink-faint);
}

footer a {
    color: var(--warm-ink-faint);
    text-decoration: none;
}

footer a:hover { color: var(--warm-ink-soft); }

/* ───────────── DOC PAGES ───────────── */
.doc-page {
    padding: 64px 0;
    max-width: 680px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

.doc-page h1 {
    font-style: italic;
    font-weight: 500;
    font-size: 44px;
    line-height: 1.1;
    color: var(--warm-ink);
    margin-bottom: 8px;
}

.doc-page .updated {
    font-size: 13px;
    color: var(--warm-ink-faint);
    font-style: italic;
    margin-bottom: 36px;
}

.doc-page h2 {
    font-style: italic;
    font-weight: 500;
    font-size: 22px;
    line-height: 1.3;
    color: var(--warm-ink);
    margin: 36px 0 12px;
}

.doc-page h3 {
    font-weight: 600;
    font-size: 16px;
    color: var(--warm-ink);
    margin: 24px 0 8px;
}

.doc-page p,
.doc-page li {
    font-size: 16px;
    line-height: 1.65;
    color: var(--warm-ink-soft);
    margin-bottom: 12px;
}

.doc-page ul {
    padding-left: 22px;
    margin-bottom: 16px;
}

.doc-page strong {
    color: var(--warm-ink);
    font-weight: 600;
}

.doc-page a {
    color: var(--accent-warm);
    text-decoration: none;
    border-bottom: 0.5px solid var(--accent-warm);
}

.doc-page .home-link {
    display: inline-block;
    margin-bottom: 32px;
    font-size: 14px;
    color: var(--warm-ink-faint);
    text-decoration: none;
    border: none;
    font-style: italic;
}

.doc-page .home-link:hover { color: var(--warm-ink-soft); }

.doc-page .tldr {
    background: var(--surface);
    padding: 20px 24px;
    border-radius: 12px;
    border: 0.5px solid var(--hairline);
    margin: 24px 0;
}

.doc-page .tldr ul { margin-bottom: 0; }

/* ───────────── TABLET / INTERMEDIATE TUNING (721–859px) ───────────── */
@media (max-width: 859px) {
    .stage-bleed { padding: 96px 0; }
    .stage-bleed-grid {
        padding-left: 24px;
        padding-right: 24px;
        gap: 40px;
    }
    .stage-bleed-shot { margin-right: 0; justify-content: center; }
    .stage-bleed-shot img { max-width: 340px; margin: 0 auto; }
    .stage-bleed-text { padding-right: 0; }
    .stage-bleed-reverse .stage-bleed-grid {
        padding-left: 24px;
        padding-right: 24px;
    }
    .stage-bleed-reverse .stage-bleed-shot {
        order: 0;
        margin-left: 0;
        justify-content: center;
    }
    .stage-bleed-reverse .stage-bleed-text { padding-left: 0; }
}

/* ───────────── MOBILE TUNING ───────────── */
@media (max-width: 720px) {
    .hero { padding: 96px 0; min-height: 80vh; }
    .stage { padding: 64px 0; }
    .stage-bleed { padding: 64px 0; }
    .stage-quiet { padding: 72px 0; }
    .demo-section { padding: 64px 0; }
    .library-intro { padding: 64px 0 32px; }
    .mosaic { padding: 64px 0; }
    .how { padding: 64px 0; }
    .faq { padding: 64px 0; }
    .privacy { padding: 64px 0; }
    .moments { min-height: 60vh; padding: 64px 0; }

    .stage-bleed-grid { padding-left: 24px; padding-right: 24px; }
    .stage-bleed-shot { margin-right: 0; justify-content: center; }
    .stage-bleed-shot img { max-width: 300px; margin: 0 auto; }
    .stage-bleed-text { padding-right: 0; }

    /* Scrub: degrade to stacked cards — no scroll-scrub on mobile */
    .scrub-container {
        min-height: auto;
        padding: 60px 24px;
        gap: 32px;
    }
    .scrub-text { position: static; }
    .scrub-phone-wrap { min-height: auto; }
    .scrub-phone {
        position: relative;
        top: 0;
        max-width: 280px;
        aspect-ratio: auto;
        height: auto;
        display: flex;
        flex-direction: column;
        gap: 24px;
    }
    .scrub-phone::before { display: none; }
    .scrub-img {
        position: relative;
        inset: auto;
        height: auto;
        opacity: 1;
        transform: none;
        z-index: 1;
    }
    .scrub-dots { display: none; }

    .mosaic-grid .tile:nth-child(n) { grid-column: auto; }
    .mosaic-grid-2 { gap: 24px !important; }

    /* Hero typography breathing on small screens */
    .echo-mark { font-size: clamp(120px, 36vw, 180px); margin-bottom: 8px; }
    .wordmark { margin-bottom: 28px; }
    .tagline { margin-bottom: 18px; }
    .subtitle { margin-bottom: 32px; }

    /* Headlines breathe; allow wrapping */
    .stage-headline { font-size: clamp(34px, 8vw, 64px); }
    .stage-headline-xl { font-size: clamp(38px, 9vw, 72px); }
}

/* ───────────── REDUCED MOTION ───────────── */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    .hero-inner {
        transform: none !important;
        opacity: 1 !important;
    }
    .scrub-text { position: static !important; }
    .scrub-phone { position: relative !important; top: 0 !important; }
    .scrub-container { min-height: auto !important; }
    .scrub-img { opacity: 1 !important; position: relative !important; transform: none !important; }
    .scrub-img + .scrub-img { display: none; }
    .twin-shot-a, .twin-shot-b { transform: none !important; }
}
