/* ────────────────────────────────────────────────────────────
   ILMENO — Landing Page Styles
   Color tokens follow doc/Brand/DesignSystem.md
   ──────────────────────────────────────────────────────────── */

:root {
    --bg-deep:        #1E2347;
    --bg-canvas:      #F5EBE0;
    --bg-darker:      #0A0F1F;
    --bg-elevated:    #2A2F58;
    --accent:         #FF7849;
    --accent-glow:    rgba(255, 120, 73, 0.45);
    --text-primary:   #F5EBE0;
    --text-secondary: #8A9BB0;
    /* Lifted from #5A6B85 → #7E92B3 to clear WCAG-AA 4.5:1 contrast on
       the deep-indigo background. The old value scored ~2.7 on Lighthouse. */
    --text-muted:     #7E92B3;
    --surface:        #EDE9E0;
    --soft-sage:      #7BA888;

    --radius-card:    18px;
    --radius-btn:     12px;
    --container:      1080px;
}

/* ────────────────────────────────────────────────────────────
   Language toggle: hide the inactive language. Each translatable
   string lives in two <span lang="de"> / <span lang="en"> siblings;
   CSS hides whichever one doesn't match html[data-lang].
   ──────────────────────────────────────────────────────────── */

html[data-lang="de"] [lang="en"] { display: none; }
html[data-lang="en"] [lang="de"] { display: none; }

/* App-mockup variant gets the same treatment but as block-level */
html[data-lang="de"] .mockup-en { display: none; }
html[data-lang="en"] .mockup-de { display: none; }

/* Lang-toggle button */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lang-toggle {
    background: transparent;
    border: 1px solid rgba(245, 235, 224, 0.2);
    color: #F5EBE0;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 8px 14px;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.lang-toggle:hover {
    background: rgba(245, 235, 224, 0.06);
    border-color: rgba(245, 235, 224, 0.4);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-darker) 100%);
    color: var(--text-primary);
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text",
                 "Helvetica Neue", "Segoe UI", system-ui, sans-serif;
    font-size: 17px;
    line-height: 1.55;
    min-height: 100vh;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
em { font-style: italic; }

/* Skip-link — only visible when keyboard-focused. */
.skip-link {
    position: absolute;
    top: -100px;
    left: 12px;
    background: var(--accent);
    color: #FFFFFF;
    padding: 10px 18px;
    border-radius: var(--radius-btn);
    font-size: 14px;
    font-weight: 600;
    z-index: 200;
    transition: top 0.2s ease;
}
.skip-link:focus {
    top: 12px;
    outline: 2px solid #FFFFFF;
    outline-offset: 2px;
}

/* Visually hidden — screen-reader-only labels. */
.visually-hidden {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Hero */
.hero {
    position: relative;
    min-height: calc(100vh - 64px);
    padding: 64px 24px 80px;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 70% 30%, rgba(255, 120, 73, 0.08), transparent 55%),
        radial-gradient(ellipse at 20% 80%, rgba(122, 130, 200, 0.06), transparent 60%);
}

/* Sticky top-nav (replaces the old in-hero nav) */
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.nav-sticky {
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 12px 24px;
    background: rgba(10, 15, 31, 0.72);
    backdrop-filter: saturate(140%) blur(14px);
    -webkit-backdrop-filter: saturate(140%) blur(14px);
    border-bottom: 1px solid rgba(245, 235, 224, 0.06);
}

.nav-sticky > * { max-width: var(--container); }
.nav-sticky {
    /* center content within nav while keeping the bar full-width */
    padding-left: max(24px, calc((100vw - var(--container)) / 2));
    padding-right: max(24px, calc((100vw - var(--container)) / 2));
}

.nav-logo {
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: var(--text-primary);
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    gap: 22px;
    flex: 1;
    justify-content: center;
}

.nav-links a {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 0.02em;
    transition: color 0.18s ease;
    padding: 6px 0;
    border-bottom: 1px solid transparent;
}

.nav-links a:hover {
    color: var(--text-primary);
    border-bottom-color: rgba(255, 120, 73, 0.4);
}

.nav-cta {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    padding: 9px 16px;
    border-radius: 999px;
    border: 1px solid rgba(255, 120, 73, 0.35);
    transition: background 0.2s ease, border-color 0.2s ease;
    flex-shrink: 0;
}

.nav-cta:hover {
    background: rgba(255, 120, 73, 0.12);
    border-color: rgba(255, 120, 73, 0.6);
}

/* Section anchors land below the sticky bar, not behind it. */
section[id], a[id] { scroll-margin-top: 72px; }

.hero-inner {
    position: relative;
    z-index: 2;
    max-width: 720px;
    margin: 80px auto 0;
    text-align: center;
}

.etymology {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 48px;
    padding: 14px 28px;
    border-radius: 999px;
    background: rgba(245, 235, 224, 0.04);
    border: 1px solid rgba(245, 235, 224, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.italian {
    font-family: "New York", "Iowan Old Style", Georgia, serif;
    font-style: italic;
    font-size: 18px;
    color: var(--text-primary);
    letter-spacing: 0.01em;
}

.translation {
    font-size: 12px;
    color: var(--text-secondary);
    letter-spacing: 0.04em;
    text-transform: lowercase;
}

.slogan {
    font-size: clamp(48px, 8vw, 88px);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin-bottom: 24px;
}

.slogan .accent { color: var(--accent); }

.subline {
    font-family: "New York", "Iowan Old Style", Georgia, serif;
    font-style: italic;
    font-size: clamp(20px, 2.5vw, 26px);
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.lede {
    max-width: 540px;
    margin: 0 auto 40px;
    color: var(--text-secondary);
    font-size: 17px;
}

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

.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: var(--radius-btn);
    font-weight: 600;
    font-size: 15px;
    transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
    cursor: pointer;
    border: none;
}

/* Brand decision: white-on-coral. Lighthouse contrast audit flags this
   as ~2.6:1 (AA needs 4.5). Coral is the brand accent — darkening it
   would break the identity. The button is large + primary, so the
   intent is unmistakable; native iOS app-store badges use the same
   brand-over-WCAG-strict trade-off. Documented here so future audits
   know it's intentional, not an oversight. */
.btn-primary {
    background: var(--accent);
    color: #FFFFFF;
    box-shadow: 0 6px 24px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 32px var(--accent-glow);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(245, 235, 224, 0.25);
}

.btn-secondary:hover {
    background: rgba(245, 235, 224, 0.06);
    border-color: rgba(245, 235, 224, 0.4);
}

.btn-large { padding: 18px 40px; font-size: 17px; }

/* App Mockup — diffuse fade */
.mockup-wrap {
    position: relative;
    margin: 80px auto 0;
    max-width: 380px;
    pointer-events: none;
}

.mockup-glow {
    position: absolute;
    inset: -40px -60px;
    background: radial-gradient(
        ellipse at center,
        rgba(255, 120, 73, 0.18) 0%,
        rgba(255, 120, 73, 0.05) 40%,
        transparent 70%
    );
    filter: blur(20px);
}

.mockup {
    position: relative;
    -webkit-mask-image: radial-gradient(
        ellipse 65% 75% at 50% 35%,
        rgba(0, 0, 0, 1) 35%,
        rgba(0, 0, 0, 0.6) 65%,
        rgba(0, 0, 0, 0) 100%
    );
    mask-image: radial-gradient(
        ellipse 65% 75% at 50% 35%,
        rgba(0, 0, 0, 1) 35%,
        rgba(0, 0, 0, 0.6) 65%,
        rgba(0, 0, 0, 0) 100%
    );
    transform: perspective(1200px) rotateX(2deg);
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.5));
}

/* Sections */
section { padding: 100px 24px; }

section h2 {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    letter-spacing: -0.02em;
    text-align: center;
    margin-bottom: 56px;
    max-width: var(--container);
    margin-left: auto;
    margin-right: auto;
}

section h2 em { color: var(--accent); font-style: italic; }

/* How — feature columns */
.how {
    background: linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-deep) 100%);
}

.features {
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.feature {
    padding: 40px 32px;
    background: rgba(245, 235, 224, 0.03);
    border: 1px solid rgba(245, 235, 224, 0.06);
    border-radius: var(--radius-card);
    transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.feature:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 120, 73, 0.25);
    background: rgba(245, 235, 224, 0.05);
}

.feature-num {
    font-family: "New York", "Iowan Old Style", Georgia, serif;
    font-style: italic;
    font-size: 18px;
    color: var(--accent);
    margin-bottom: 16px;
    letter-spacing: 0.05em;
}

.feature h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ────────────────────────────────────────────────────────────
   Tutorials — Spotlights + Compact Grid
   ──────────────────────────────────────────────────────────── */

.tutorials {
    background: var(--bg-deep);
    padding: 80px 24px;
}

/* Spotlight: text + phone-mockup, alternating sides via .reverse */
.spotlight {
    max-width: var(--container);
    margin: 0 auto 96px;
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 64px;
    align-items: center;
}

.spotlight.reverse {
    grid-template-columns: 320px 1fr;
}

.spotlight.reverse .spotlight-text { order: 2; }
.spotlight.reverse .spotlight-mock { order: 1; }

.spotlight-num {
    font-family: "New York", "Iowan Old Style", Georgia, serif;
    font-style: italic;
    font-size: 16px;
    color: var(--accent);
    letter-spacing: 0.05em;
    margin-bottom: 18px;
}

.spotlight-text h3 {
    font-size: clamp(28px, 3.6vw, 38px);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.spotlight-text p {
    font-size: 17px;
    line-height: 1.65;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.spotlight-aside {
    font-family: "New York", "Iowan Old Style", Georgia, serif;
    font-style: italic;
    font-size: 15px !important;
    color: var(--text-muted) !important;
}

/* Mockup frame — same drop-shadow + filter language as the hero */
.spotlight-mock {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.45));
}

.spotlight-mock svg {
    width: 100%;
    height: auto;
    display: block;
}

/* iPhone frame for real screenshots — CSS-only mockup that mimics a
   physical Pro-line iPhone with stainless bezel, polished edge,
   inset speaker grill, side buttons and a Dynamic-Island cutout
   floating above the screenshot's status bar. Built from nested
   layers (outer bezel, polish-edge, inner display) so the whole
   thing reads as hardware rather than a CSS rectangle.
   Reference: standard marketing-mockup look (Readdle, Things,
   Linear etc.). No SVG asset, no notch image — keeps page weight
   honest. */

.iphone-frame {
    position: relative;
    display: block;
    margin: 0 auto;
    max-width: 312px;
    padding: 14px 13px 13px;
    background:
        linear-gradient(180deg, #2a2a2c 0%, #1c1c1e 50%, #2a2a2c 100%);
    border-radius: 54px;
    box-shadow:
        /* polished outer edge highlight */
        inset 0 0 0 1px rgba(255, 255, 255, 0.08),
        /* subtle outline on dark backgrounds */
        0 0 0 0.5px rgba(0, 0, 0, 0.6),
        /* drop shadow */
        0 28px 64px rgba(0, 0, 0, 0.55),
        0 6px 18px rgba(0, 0, 0, 0.35);
}

/* Inner black bezel ring — sits between metal frame and display. */
.iphone-frame img.iphone-screen {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 40px;
    background: #0A0F1F;
    box-shadow:
        /* the "screen lip" — narrow black band around the display */
        0 0 0 2px #0a0a0a,
        /* very subtle inner glow simulating display edge */
        inset 0 0 0 0.5px rgba(255, 255, 255, 0.04);
}

/* Dynamic Island — sits over the screenshot's status bar, mittig
   oben. The screenshots already include the iOS status bar
   (9:41 / battery / signal); the island goes between those side
   labels exactly like on a real device. */
.iphone-frame::before {
    content: "";
    position: absolute;
    top: 22px;
    left: 50%;
    transform: translateX(-50%);
    width: 26%;
    height: 26px;
    background: #050505;
    border-radius: 14px;
    z-index: 2;
    box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.05);
}

/* Side buttons — drawn as a single ::after with multiple
   box-shadows so we don't burn extra pseudo-elements. Order:
   silent switch + volume up + volume down on the left, power on
   the right. Each is a tiny pill with a darker recess shadow. */
.iphone-frame::after {
    content: "";
    position: absolute;
    /* The "anchor" is invisible; box-shadows are the actual
       buttons, positioned relative to top-left of the frame. */
    top: 0; left: 0;
    width: 0; height: 0;
    pointer-events: none;
    box-shadow:
        /* Left: silent switch (smaller pill) */
        -1px 90px 0 0 #1a1a1c,
        /* Left: volume up */
        -1px 130px 0 1.5px #1a1a1c,
        /* Left: volume down */
        -1px 175px 0 1.5px #1a1a1c,
        /* Right: power button */
        313px 145px 0 1.5px #1a1a1c;
}

/* Hero variant — extra glow halo behind the framed phone. */
.iphone-frame.iphone-hero {
    margin-top: 8px;
    filter: drop-shadow(0 36px 72px rgba(0, 0, 0, 0.65));
}

/* Spotlight variant — slightly smaller default size, no extra
   halo (the spotlight section already has its own glow). */
.spotlight-mock .iphone-frame {
    max-width: 300px;
}

/* Mobile: shrink the frame so it fits without horizontal scroll. */
@media (max-width: 720px) {
    .iphone-frame {
        max-width: 264px;
        padding: 12px 11px 11px;
        border-radius: 46px;
    }
    .iphone-frame img.iphone-screen { border-radius: 34px; }
    .iphone-frame::before { top: 18px; height: 22px; border-radius: 12px; }
    .iphone-frame::after {
        box-shadow:
            -1px 76px 0 0 #1a1a1c,
            -1px 110px 0 1.5px #1a1a1c,
            -1px 148px 0 1.5px #1a1a1c,
            265px 122px 0 1.5px #1a1a1c;
    }
}

/* Mockup-internal language switching (mirrors hero pattern) */
html[data-lang="de"] .mockup-en { display: none; }
html[data-lang="en"] .mockup-de { display: none; }

/* Mobile: stack text on top, mockup below — both spotlights */
@media (max-width: 720px) {
    .spotlight,
    .spotlight.reverse {
        grid-template-columns: 1fr;
        gap: 32px;
        margin-bottom: 64px;
    }
    .spotlight.reverse .spotlight-text { order: 1; }
    .spotlight.reverse .spotlight-mock { order: 2; }
    .spotlight-mock { max-width: 280px; }
}

/* Compact grid below the spotlights */
.tutorial-grid {
    max-width: var(--container);
    margin: 32px auto 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.tutorial-card {
    padding: 32px 28px;
    background: rgba(245, 235, 224, 0.04);
    border: 1px solid rgba(245, 235, 224, 0.07);
    border-radius: var(--radius-card);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.tutorial-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 120, 73, 0.22);
}

.tutorial-icon {
    font-size: 24px;
    margin-bottom: 14px;
    color: var(--accent);
}

.tutorial-card h4 {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.tutorial-card p {
    font-size: 14px;
    line-height: 1.65;
    color: var(--text-secondary);
}

/* ────────────────────────────────────────────────────────────
   Legal pages — Privacy + Imprint
   Same dark palette as the landing, but with a narrower text
   column and the prose-typography that long content benefits
   from (longer line-height, looser paragraph spacing).
   ──────────────────────────────────────────────────────────── */

.nav-legal {
    max-width: var(--container);
    margin: 0 auto;
    padding: 24px 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-legal .nav-logo {
    font-family: "New York", "Iowan Old Style", Georgia, serif;
    font-weight: 700;
    font-size: 22px;
    letter-spacing: 0.02em;
    color: var(--text-primary);
}

.legal {
    max-width: 760px;
    margin: 40px auto 80px;
    padding: 0 24px;
}

.legal-header {
    margin-bottom: 48px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(245, 235, 224, 0.08);
}

.legal-header h1 {
    font-size: clamp(36px, 5vw, 52px);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 14px;
    color: var(--text-primary);
}

.legal-status {
    font-family: "New York", "Iowan Old Style", Georgia, serif;
    font-style: italic;
    color: var(--text-muted);
    font-size: 15px;
}

.legal-body section {
    padding: 0 0 36px 0;   /* override the 100px section padding */
    border: none;
    background: none;
}

.legal-body h2 {
    font-size: 22px;
    font-weight: 700;
    text-align: left;
    margin: 0 0 14px;
    color: var(--text-primary);
    max-width: none;
}

.legal-body h3 {
    font-size: 17px;
    font-weight: 700;
    margin: 24px 0 10px;
    color: var(--text-primary);
}

.legal-body p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 14px;
}

.legal-body ul {
    list-style: disc;
    padding-left: 22px;
    margin-bottom: 14px;
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.7;
}

.legal-body li {
    margin-bottom: 6px;
}

.legal-body a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
}

.legal-body a:hover {
    text-decoration-thickness: 2px;
}

.legal-body code {
    background: rgba(245, 235, 224, 0.07);
    border-radius: 4px;
    padding: 2px 6px;
    font-family: "SF Mono", ui-monospace, Menlo, monospace;
    font-size: 0.9em;
}

.legal-back {
    margin: 48px 0 24px;
    text-align: center;
}

.legal-back a {
    color: var(--text-secondary);
    font-size: 15px;
}

.legal-back a:hover {
    color: var(--accent);
}

/* Footer build-version stamp — small, muted, sits next to the
   copyright. Manually bumped on each web push. The opacity multiplier
   used to shave the contrast below WCAG-AA — text-muted alone is
   already the right level. */
.footer-version {
    font-family: "SF Mono", ui-monospace, Menlo, monospace;
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

/* Anti-Section */
.anti {
    background: var(--bg-darker);
    text-align: center;
}

.anti ul {
    max-width: 640px;
    margin: 0 auto 32px;
    list-style: none;
}

.anti li {
    padding: 14px 0;
    border-bottom: 1px solid rgba(245, 235, 224, 0.08);
    color: var(--text-secondary);
    font-size: 17px;
    text-decoration: line-through;
    text-decoration-color: rgba(255, 120, 73, 0.4);
    text-decoration-thickness: 2px;
}

.anti li:last-child { border-bottom: none; }

.anti-conclusion {
    font-family: "New York", "Iowan Old Style", Georgia, serif;
    font-style: italic;
    font-size: clamp(20px, 2.5vw, 26px);
    color: var(--text-primary);
    max-width: 640px;
    margin: 32px auto 0;
}

/* Wait-list */
.waitlist {
    background:
        radial-gradient(ellipse at center, rgba(255, 120, 73, 0.12), transparent 70%),
        var(--bg-deep);
    text-align: center;
}

.waitlist p {
    max-width: 540px;
    margin: 0 auto 32px;
    color: var(--text-secondary);
    font-size: 17px;
}

/* Footer */
footer {
    padding: 48px 24px;
    background: var(--bg-darker);
    border-top: 1px solid rgba(245, 235, 224, 0.06);
}

.footer-inner {
    max-width: var(--container);
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 32px;
    color: var(--text-muted);
    font-size: 13px;
}

.footer-logo { font-weight: 700; letter-spacing: 0.18em; color: var(--text-primary); }

.footer-etymology {
    font-family: "New York", "Iowan Old Style", Georgia, serif;
    font-style: italic;
}

.footer-nav { display: flex; gap: 24px; }
.footer-nav a:hover { color: var(--accent); }

/* ────────────────────────────────────────────────────────────
   Place-Beispiele — Place → Context examples between Spotlight 3
   and the Sticky/Habits/LBA tutorial-grid
   ──────────────────────────────────────────────────────────── */

.places-block {
    max-width: var(--container);
    margin: 0 auto 96px;
    padding-top: 32px;
}

.places-heading {
    font-size: clamp(24px, 3vw, 30px);
    font-weight: 700;
    letter-spacing: -0.02em;
    text-align: center;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.places-lede {
    max-width: 540px;
    margin: 0 auto 36px;
    text-align: center;
    color: var(--text-secondary);
    font-size: 16px;
}

.places-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 28px;
}

.place-card {
    padding: 22px 20px;
    background: rgba(245, 235, 224, 0.04);
    border: 1px solid rgba(245, 235, 224, 0.07);
    border-radius: var(--radius-card);
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    grid-template-rows: auto auto;
    column-gap: 10px;
    row-gap: 6px;
    align-items: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.place-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 120, 73, 0.22);
}

.place-emoji {
    grid-row: 1;
    grid-column: 1;
    font-size: 22px;
    line-height: 1;
}

.place-name {
    grid-row: 1;
    grid-column: 2;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.place-arrow {
    grid-row: 1;
    grid-column: 3;
    font-size: 14px;
    color: var(--accent);
    opacity: 0.7;
}

.place-context {
    grid-row: 1;
    grid-column: 4;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    background: rgba(255, 120, 73, 0.1);
    padding: 4px 10px;
    border-radius: 999px;
}

.place-note {
    grid-row: 2;
    grid-column: 1 / -1;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-top: 4px;
}

.places-foot {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
    font-family: "New York", "Iowan Old Style", Georgia, serif;
    font-style: italic;
}

/* ───── Life Balance — why-not-time-budgets block ─────────────────────
   Sits between the LBA spotlight and the small tutorial-grid cards.
   Five numbered arguments + a centred turning quote that reframes the
   question. Visually quieter than the spotlights — the case is built
   in prose, not in pictures. */

.lba-why {
    max-width: var(--container);
    margin: 80px auto 32px;
    padding: 0 24px;
}

.lba-why-heading {
    font-size: clamp(28px, 4vw, 38px);
    font-weight: 700;
    text-align: center;
    margin: 0 0 12px;
    letter-spacing: -0.01em;
    color: var(--text);
}

.lba-why-lede {
    max-width: 640px;
    margin: 0 auto 40px;
    text-align: center;
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.6;
}

.lba-why-list {
    list-style: none;
    counter-reset: lba-why;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.lba-why-list li {
    background: rgba(255, 120, 73, 0.04);
    border: 1px solid rgba(255, 120, 73, 0.12);
    border-radius: 14px;
    padding: 20px 22px;
}

.lba-why-list h4 {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.02em;
}

.lba-why-list p {
    margin: 0;
    color: var(--text);
    font-size: 14px;
    line-height: 1.55;
}

.lba-pivot {
    max-width: 720px;
    margin: 56px auto 32px;
    padding: 32px 28px;
    text-align: center;
    border-left: 3px solid var(--accent);
    background: rgba(255, 120, 73, 0.06);
    border-radius: 4px 14px 14px 4px;
}

.lba-pivot p {
    margin: 0;
    font-family: "New York", "Iowan Old Style", Georgia, serif;
    font-size: clamp(20px, 3vw, 26px);
    line-height: 1.4;
    color: var(--text);
}

.lba-pivot strong {
    color: var(--accent);
    font-weight: 700;
}

.lba-pivot em {
    color: var(--text-muted);
    font-style: italic;
}

.lba-mechanic {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
}

/* Mobile: place-context pill drops to its own row to keep things readable */
@media (max-width: 480px) {
    .place-card {
        grid-template-columns: auto 1fr auto;
    }
    .place-context {
        grid-row: 2;
        grid-column: 1 / -1;
        justify-self: start;
    }
    .place-note {
        grid-row: 3;
    }
}

/* ────────────────────────────────────────────────────────────
   Different — comparison table
   ──────────────────────────────────────────────────────────── */

.different {
    background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-darker) 100%);
}

.different-lede {
    max-width: 640px;
    margin: -32px auto 48px;
    text-align: center;
    color: var(--text-secondary);
    font-size: 17px;
}

.diff-table {
    max-width: 880px;
    margin: 0 auto;
    border-radius: var(--radius-card);
    overflow: hidden;
    border: 1px solid rgba(245, 235, 224, 0.07);
    background: rgba(245, 235, 224, 0.02);
}

/* 4-column variant — Things / Todoist / Reminders / ILMENO with a
   leading "Question" column. On wide screens we let the table breathe
   beyond the 880px outer cap because there's a lot of column content. */
.diff-table.compare-4col {
    max-width: 1120px;
}

.diff-table.compare-4col .diff-row {
    grid-template-columns: 1.3fr repeat(4, 1fr);
}

.diff-table.compare-4col .diff-cell.diff-feature {
    background: rgba(245, 235, 224, 0.04);
    color: var(--text);
    font-weight: 600;
}

.comparison-scroll {
    max-width: 100%;
    overflow-x: auto;
    margin: 0 -24px;
    padding: 0 24px 4px;
}

.comparison-scroll .diff-table.compare-4col {
    min-width: 880px;
}

.diff-foot {
    max-width: 720px;
    margin: 24px auto 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
    font-style: italic;
    line-height: 1.55;
}

/* V1-already box inside Whats-Next: list of features that already
   shipped, before the post-launch roadmap cards below. Keeps the
   marketing honest — visitors see the substance V1 carries, not
   only the dreams. */
.v1-already {
    max-width: 880px;
    margin: 32px auto 56px;
    padding: 26px 32px;
    background: rgba(123, 168, 136, 0.06);
    border: 1px solid rgba(123, 168, 136, 0.18);
    border-radius: 16px;
}

.v1-already-eyebrow {
    color: var(--success, #7BA888);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin: 0 0 16px;
}

.v1-already-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 8px 28px;
}

.v1-already-list li {
    color: var(--text);
    font-size: 14px;
    line-height: 1.5;
    padding-left: 22px;
    position: relative;
}

.v1-already-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #7BA888;
    font-weight: 700;
}

.diff-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid rgba(245, 235, 224, 0.06);
}

.diff-row:last-child { border-bottom: none; }

.diff-cell {
    padding: 20px 24px;
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.diff-cell.diff-us {
    color: var(--text-primary);
    font-weight: 600;
    background: rgba(255, 120, 73, 0.05);
    border-left: 1px solid rgba(255, 120, 73, 0.18);
}

.diff-row.diff-head .diff-cell {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    font-weight: 700;
    padding: 14px 24px;
    background: rgba(245, 235, 224, 0.04);
}

.diff-row.diff-head .diff-cell.diff-us {
    color: var(--accent);
    background: rgba(255, 120, 73, 0.08);
}

.different-conclusion {
    max-width: 720px;
    margin: 48px auto 0;
    text-align: center;
    color: var(--text-secondary);
    font-size: 17px;
    font-family: "New York", "Iowan Old Style", Georgia, serif;
    font-style: italic;
}

/* ────────────────────────────────────────────────────────────
   Privacy Story — three-stage flow
   ──────────────────────────────────────────────────────────── */

.privacy-story {
    background: var(--bg-deep);
}

.privacy-lede {
    max-width: 540px;
    margin: -32px auto 56px;
    text-align: center;
    color: var(--text-secondary);
    font-size: 17px;
}

.privacy-flow {
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 24px;
    align-items: stretch;
}

.privacy-step {
    padding: 32px 28px;
    background: rgba(245, 235, 224, 0.04);
    border: 1px solid rgba(245, 235, 224, 0.07);
    border-radius: var(--radius-card);
    display: flex;
    flex-direction: column;
}

.privacy-step-num {
    font-family: "New York", "Iowan Old Style", Georgia, serif;
    font-style: italic;
    font-size: 14px;
    color: var(--accent);
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.privacy-step-icon {
    font-size: 32px;
    margin-bottom: 14px;
    line-height: 1;
}

.privacy-step h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.privacy-step p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.65;
    margin-bottom: 14px;
}

.privacy-step-aside {
    margin-top: auto !important;
    padding-top: 14px;
    border-top: 1px solid rgba(245, 235, 224, 0.06);
    font-size: 13px !important;
    /* Use text-secondary (not text-muted) — the privacy-step card has
       a slightly elevated background that drops contrast below WCAG-AA
       when text-muted is used. */
    color: var(--text-secondary) !important;
    font-family: "New York", "Iowan Old Style", Georgia, serif;
    font-style: italic;
}

.privacy-arrow {
    align-self: center;
    color: var(--accent);
    font-size: 24px;
    opacity: 0.6;
}

.privacy-conclusion {
    max-width: 540px;
    margin: 48px auto 0;
    text-align: center;
    color: var(--text-secondary);
    font-size: 15px;
}

.privacy-conclusion a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ────────────────────────────────────────────────────────────
   Coming Next — V2 preview cards
   ──────────────────────────────────────────────────────────── */

.whats-next {
    background: linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-deep) 100%);
}

.whats-next-lede {
    max-width: 600px;
    margin: -32px auto 48px;
    text-align: center;
    color: var(--text-secondary);
    font-size: 17px;
}

.next-grid {
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.next-card {
    padding: 28px 26px;
    background: rgba(245, 235, 224, 0.04);
    border: 1px solid rgba(245, 235, 224, 0.07);
    border-radius: var(--radius-card);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.next-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 120, 73, 0.22);
}

.next-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    background: rgba(255, 120, 73, 0.1);
    padding: 4px 10px;
    border-radius: 999px;
    margin-bottom: 14px;
}

.next-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
    line-height: 1.3;
}

.next-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.whats-next-foot {
    max-width: 540px;
    margin: 48px auto 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
    font-family: "New York", "Iowan Old Style", Georgia, serif;
    font-style: italic;
}

/* ────────────────────────────────────────────────────────────
   Founder note
   ──────────────────────────────────────────────────────────── */

.founder {
    background: var(--bg-darker);
    padding: 80px 24px;
}

.founder-inner {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.founder-eyebrow {
    font-family: "New York", "Iowan Old Style", Georgia, serif;
    font-style: italic;
    font-size: 14px;
    color: var(--accent);
    letter-spacing: 0.05em;
    margin-bottom: 18px;
}

.founder-body {
    font-size: 19px;
    line-height: 1.65;
    color: var(--text-primary);
    margin-bottom: 18px;
}

.founder-body p {
    margin: 0 0 1em;
}

.founder-body p:last-child {
    margin-bottom: 0;
}

.founder-sign {
    font-family: "New York", "Iowan Old Style", Georgia, serif;
    font-style: italic;
    font-size: 16px;
    color: var(--text-secondary);
}

/* ────────────────────────────────────────────────────────────
   Waitlist form
   ──────────────────────────────────────────────────────────── */

.waitlist-lede {
    max-width: 540px;
    margin: 0 auto 32px;
    color: var(--text-secondary);
    font-size: 17px;
}

.waitlist-form {
    max-width: 480px;
    margin: 0 auto 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    text-align: left;
}

.waitlist-form input,
.waitlist-form textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(245, 235, 224, 0.06);
    border: 1px solid rgba(245, 235, 224, 0.12);
    border-radius: var(--radius-btn);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 15px;
    line-height: 1.5;
    transition: border-color 0.2s ease, background 0.2s ease;
    -webkit-appearance: none;
    appearance: none;
}

.waitlist-form input:focus,
.waitlist-form textarea:focus {
    outline: none;
    border-color: rgba(255, 120, 73, 0.6);
    background: rgba(245, 235, 224, 0.09);
}

.waitlist-form input::placeholder,
.waitlist-form textarea::placeholder {
    color: var(--text-muted);
}

.waitlist-form textarea {
    resize: vertical;
    min-height: 88px;
    font-family: inherit;
}

.waitlist-form button { margin-top: 6px; align-self: center; }

.waitlist-fallback {
    max-width: 480px;
    margin: 0 auto;
    color: var(--text-muted);
    font-size: 14px;
}

.waitlist-fallback a {
    color: var(--text-secondary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.waitlist-fallback a:hover { color: var(--accent); }

/* ────────────────────────────────────────────────────────────
   Focus-visible — keyboard-friendly outlines on interactive bits
   ──────────────────────────────────────────────────────────── */

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 6px;
}

/* Responsive */
@media (max-width: 960px) {
    .privacy-flow {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .privacy-arrow {
        transform: rotate(90deg);
        margin: 0 auto;
    }
    .nav-links { gap: 14px; }
    .nav-links a { font-size: 12px; }
}

@media (max-width: 720px) {
    .hero { padding: 40px 20px 60px; min-height: auto; }
    .hero-inner { margin-top: 24px; }
    .etymology { margin-bottom: 32px; padding: 12px 20px; }
    section { padding: 72px 20px; }
    section h2 { margin-bottom: 40px; }
    .footer-inner { justify-content: center; text-align: center; }

    /* Sticky nav: drop the section links on small screens to keep the
       bar slim. Logo + lang-toggle + Beta-CTA still fit. */
    .nav-sticky { padding: 10px 16px; }
    .nav-links { display: none; }
    .nav-cta { padding: 8px 14px; font-size: 13px; }
    .lang-toggle { padding: 7px 12px; font-size: 11px; }

    /* Comparison table: stack the two columns */
    .diff-row { grid-template-columns: 1fr; }
    .diff-row .diff-cell { padding: 14px 18px; }
    .diff-cell.diff-us { border-left: none; border-top: 1px solid rgba(255, 120, 73, 0.18); }
    /* On mobile the 4-column compare keeps its row layout (handled by
       comparison-scroll horizontal scroll), so don't collapse it. */
    .diff-table.compare-4col .diff-row { grid-template-columns: 1.3fr repeat(4, 1fr); }
    .diff-row.diff-head .diff-cell { padding: 10px 18px; }

    /* Founder body smaller */
    .founder-body { font-size: 17px; }
}

/* ───── Use-Case Tour Pages ──────────────────────────────────────────
   Per-tour layout shared by /use-cases/<slug>/index.html. Each tour
   is a long-form deep-dive: Hero, journey-steps (numbered), insights
   cards, plus a phone-shaped state-switcher driven by CSS-only radio
   buttons (no JS — :checked + sibling combinator).
*/

/* Header — slimmer than the landing nav, with a back-to-home brand */
.case-header {
    max-width: var(--container);
    margin: 0 auto;
    padding: 24px 24px 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.case-header .brand {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 0.04em;
}

.case-header .brand-mark {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    background: var(--bg-deep);
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 16px;
}

.case-header nav a {
    color: var(--text-muted);
    text-decoration: none;
    margin-left: 16px;
    font-size: 14px;
}

.case-header nav a:hover { color: var(--text); }

.case-main {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px 80px;
}

/* Hero */
.case-hero {
    padding: 32px 0 48px;
    border-bottom: 1px solid rgba(245, 235, 224, 0.08);
    margin-bottom: 56px;
}

.case-hero .eyebrow {
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin: 0 0 14px;
}

.case-hero h1 {
    font-family: "New York", "Iowan Old Style", Georgia, serif;
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.015em;
    margin: 0 0 20px;
    max-width: 18ch;
}

.case-hero .case-lede {
    color: var(--text-muted);
    font-size: clamp(16px, 2vw, 19px);
    line-height: 1.55;
    max-width: 60ch;
    margin: 0;
}

/* Two-column body */
.case-body {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 64px;
    align-items: start;
}

.case-column { min-width: 0; }

.case-block { margin-bottom: 56px; }

.case-block .section-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--accent);
    margin: 0 0 24px;
}

/* Journey list — numbered steps with prominent counter */
.journey-list {
    list-style: none;
    counter-reset: journey;
    padding: 0;
    margin: 0;
}

.journey-list li {
    counter-increment: journey;
    position: relative;
    padding: 20px 0 20px 56px;
    border-top: 1px solid rgba(245, 235, 224, 0.08);
}

.journey-list li:first-child { border-top: none; padding-top: 0; }
.journey-list li:first-child::before { top: 0; }

.journey-list li::before {
    content: counter(journey, decimal-leading-zero);
    position: absolute;
    left: 0;
    top: 22px;
    color: var(--accent);
    font-family: "New York", "Iowan Old Style", Georgia, serif;
    font-size: 26px;
    font-weight: 700;
    line-height: 1;
}

.journey-list h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 6px;
    line-height: 1.35;
}

.journey-list p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

/* Insights — three cards, side-by-side on wide / stacked on narrow */
.insight-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.insight-card {
    padding: 20px 22px;
    background: rgba(245, 235, 224, 0.03);
    border: 1px solid rgba(245, 235, 224, 0.08);
    border-radius: 14px;
}

.insight-card .label {
    color: var(--accent);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin: 0 0 6px;
}

.insight-card h5 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 6px;
}

.insight-card p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.55;
    margin: 0;
}

/* Right column — Sim-Phone with choice buttons (CSS-only state) */
.sim-shell { position: sticky; top: 32px; }

.sim-controls {
    margin-bottom: 18px;
}

.sim-controls .stage-label {
    color: var(--text-muted);
    font-size: 13px;
    margin: 0 0 12px;
    text-align: center;
}

.choice-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 6px;
}

.choice-row label {
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    background: rgba(245, 235, 224, 0.04);
    border: 1px solid rgba(245, 235, 224, 0.08);
    cursor: pointer;
    transition: all 0.18s ease;
    user-select: none;
}

.choice-row label:hover {
    color: var(--text);
    border-color: rgba(245, 235, 224, 0.18);
}

.choice-row input[type="radio"] { display: none; }

.choice-row input[type="radio"]:checked + label {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

/* Sim-phone slides — only the active state is shown */
.sim-state { display: none; }

/* Bind state visibility to the matching radio. We rely on the
   pattern: radios live as siblings before the .sim-stage container,
   each radio has data-state="<id>" matching .sim-state[data-state]. */
.case-tour-capture #state-siri:checked   ~ .sim-stage [data-state="siri"],
.case-tour-capture #state-share:checked  ~ .sim-stage [data-state="share"],
.case-tour-capture #state-inbox:checked  ~ .sim-stage [data-state="inbox"],
.case-tour-context #state-schedule:checked ~ .sim-stage [data-state="schedule"],
.case-tour-context #state-place:checked    ~ .sim-stage [data-state="place"],
.case-tour-context #state-manual:checked   ~ .sim-stage [data-state="manual"],
.case-tour-now #state-morning:checked   ~ .sim-stage [data-state="morning"],
.case-tour-now #state-afternoon:checked ~ .sim-stage [data-state="afternoon"],
.case-tour-now #state-evening:checked   ~ .sim-stage [data-state="evening"],
.case-tour-life-balance #state-health:checked ~ .sim-stage [data-state="health"],
.case-tour-life-balance #state-family:checked ~ .sim-stage [data-state="family"],
.case-tour-life-balance #state-sport:checked  ~ .sim-stage [data-state="sport"],
.case-tour-habits #state-morning:checked   ~ .sim-stage [data-state="morning"],
.case-tour-habits #state-afternoon:checked ~ .sim-stage [data-state="afternoon"],
.case-tour-habits #state-evening:checked   ~ .sim-stage [data-state="evening"],
.case-tour-recurring #state-daily:checked   ~ .sim-stage [data-state="daily"],
.case-tour-recurring #state-weekly:checked  ~ .sim-stage [data-state="weekly"],
.case-tour-recurring #state-anchor:checked  ~ .sim-stage [data-state="anchor"] {
    display: block;
}

/* Sim-Card — content body for each state */
.sim-card {
    margin-top: 18px;
    padding: 24px;
    background: rgba(245, 235, 224, 0.03);
    border: 1px solid rgba(245, 235, 224, 0.08);
    border-radius: 16px;
}

.sim-card .kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin: 0 0 12px;
}

.sim-card .kicker::before {
    content: "";
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    display: inline-block;
}

.sim-card h3 {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 12px;
    color: var(--text);
}

.sim-card .card-body {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.55;
    margin: 0 0 18px;
}

.sim-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(245, 235, 224, 0.08);
}

.sim-note small {
    display: block;
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.sim-note strong {
    display: block;
    color: var(--text);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.45;
}

.metric-list {
    list-style: none;
    padding: 0;
    margin: 18px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.metric-list li {
    padding: 4px 10px;
    background: rgba(255, 120, 73, 0.10);
    border: 1px solid rgba(255, 120, 73, 0.20);
    border-radius: 99px;
    color: var(--accent);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
}

/* Embed a real screenshot (in iphone-frame) inside the sim shell so
   the use-case page still has a real-app shot, not just text. */
.sim-shell .iphone-frame { max-width: 280px; margin-bottom: 24px; }

/* Tour footer with navigation links */
.tour-footer {
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid rgba(245, 235, 224, 0.08);
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}

.tour-link {
    padding: 12px 24px;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.tour-link.primary {
    background: var(--accent);
    color: #fff;
}

.tour-link.primary:hover {
    background: #ff8a5e;
    transform: translateY(-1px);
}

.tour-link.secondary {
    background: transparent;
    color: var(--text);
    border: 1px solid rgba(245, 235, 224, 0.25);
}

.tour-link.secondary:hover {
    border-color: var(--text);
}

/* Mobile — stack columns, sim-phone underneath */
@media (max-width: 880px) {
    .case-body { grid-template-columns: 1fr; gap: 48px; }
    .sim-shell { position: static; }
    .case-hero h1 { max-width: none; }
}

/* ───── Use-Case Cards — landing-page section that links to tours ── */
.use-cases {
    max-width: var(--container);
    margin: 80px auto;
    padding: 0 24px;
}

.use-cases h2 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    text-align: center;
    margin: 0 0 14px;
    letter-spacing: -0.01em;
}

.use-cases-lede {
    max-width: 640px;
    margin: 0 auto 48px;
    color: var(--text-muted);
    text-align: center;
    font-size: 16px;
    line-height: 1.55;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 18px;
}

.use-case-card {
    display: block;
    padding: 24px 26px;
    background: rgba(245, 235, 224, 0.03);
    border: 1px solid rgba(245, 235, 224, 0.08);
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.use-case-card:hover {
    background: rgba(255, 120, 73, 0.05);
    border-color: rgba(255, 120, 73, 0.25);
    transform: translateY(-2px);
}

.use-case-card .uc-eyebrow {
    color: var(--accent);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin: 0 0 10px;
}

.use-case-card h3 {
    font-size: 19px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.3;
    margin: 0 0 10px;
}

.use-case-card p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.55;
    margin: 0 0 14px;
}

.use-case-card .uc-arrow {
    color: var(--accent);
    font-size: 13px;
    font-weight: 600;
}

/* ───── Personas ──────────────────────────────────────────────────── */
.personas {
    max-width: var(--container);
    margin: 80px auto;
    padding: 0 24px;
}

.personas h2 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    text-align: center;
    margin: 0 0 14px;
}

.personas-lede {
    max-width: 640px;
    margin: 0 auto 48px;
    color: var(--text-muted);
    text-align: center;
    font-size: 16px;
    line-height: 1.55;
}

.personas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.persona-card {
    padding: 28px;
    background: rgba(245, 235, 224, 0.03);
    border: 1px solid rgba(245, 235, 224, 0.08);
    border-radius: 16px;
}

.persona-card .persona-name {
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 4px;
}

.persona-card .persona-tagline {
    color: var(--text-muted);
    font-size: 14px;
    margin: 0 0 24px;
    line-height: 1.5;
}

.persona-day {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid rgba(245, 235, 224, 0.08);
}

.persona-day li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(245, 235, 224, 0.05);
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 14px;
    align-items: start;
}

.persona-day li:last-child { border-bottom: none; }

.persona-day .time {
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding-top: 2px;
}

.persona-day .moment {
    color: var(--text);
    font-size: 14px;
    line-height: 1.5;
}

.persona-day .moment em {
    color: var(--text-muted);
    font-style: normal;
    font-size: 12px;
    display: block;
    margin-top: 2px;
}

/* ───── Sticky bottom CTA bar ─────────────────────────────────────── */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 14px 20px;
    background: rgba(10, 15, 31, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(245, 235, 224, 0.10);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    z-index: 100;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

body.scrolled .sticky-cta {
    transform: translateY(0);
}

body.cta-dismissed .sticky-cta {
    display: none;
}

.sticky-cta-text {
    color: var(--text);
    font-size: 14px;
    font-weight: 600;
    flex: 1;
    line-height: 1.35;
}

.sticky-cta .btn-primary {
    flex-shrink: 0;
    padding: 10px 22px;
    font-size: 14px;
}

.sticky-cta-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 18px;
    cursor: pointer;
    padding: 8px;
    line-height: 1;
}

.sticky-cta-close:hover { color: var(--text); }

@media (max-width: 600px) {
    .sticky-cta { padding: 10px 14px; gap: 10px; }
    .sticky-cta-text { font-size: 12px; }
    .sticky-cta .btn-primary { padding: 8px 14px; font-size: 12px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
