/* anisimov.app — Apple-style minimal redesign.
   Shared across home, app detail (subdomains) and legal pages. */

:root {
    --bg: #fbfbfd;
    --bg-soft: #f5f5f7;
    --surface: #ffffff;
    --fg: #1d1d1f;
    --fg-2: #424245;
    --fg-3: #6e6e73;
    --fg-4: #86868b;
    --line: rgba(0, 0, 0, 0.08);
    --line-strong: rgba(0, 0, 0, 0.14);
    --accent: #0071e3;
    --accent-soft: rgba(0, 113, 227, 0.10);
    --radius-card: 28px;
    --radius-tile: 22px;
    --radius-icon-lg: 24%;
    --radius-icon-md: 22%;
    --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
    --font-text: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
    --font-mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Monaco, "Courier New", monospace;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04), 0 1px 1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 12px 30px -12px rgba(0, 0, 0, 0.18), 0 2px 6px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 30px 70px -20px rgba(0, 0, 0, 0.25), 0 8px 18px rgba(0, 0, 0, 0.06);
}

[data-theme="dark"] {
    --bg: #000000;
    --bg-soft: #0a0a0c;
    --surface: #131316;
    --fg: #f5f5f7;
    --fg-2: #d2d2d7;
    --fg-3: #a1a1a6;
    --fg-4: #86868b;
    --line: rgba(255, 255, 255, 0.08);
    --line-strong: rgba(255, 255, 255, 0.14);
    --accent: #2997ff;
    --accent-soft: rgba(41, 151, 255, 0.14);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 14px 40px -14px rgba(0, 0, 0, 0.7), 0 2px 8px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 40px 90px -20px rgba(0, 0, 0, 0.9), 0 10px 24px rgba(0, 0, 0, 0.5);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-text);
    font-size: 17px;
    line-height: 1.47;
    color: var(--fg);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: -0.01em;
    overflow-x: hidden;
    transition: background 0.6s var(--ease-out), color 0.6s var(--ease-out);
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
img { display: block; max-width: 100%; }

/* ---------- Layout ---------- */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 720px) { .wrap { padding: 0 22px; } }

/* ---------- Nav ---------- */
.nav {
    position: fixed; inset: 0 0 auto 0; z-index: 50;
    height: 56px;
    display: flex; align-items: center;
    background: color-mix(in srgb, var(--bg) 70%, transparent);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.4s var(--ease-out), background 0.4s var(--ease-out);
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.nav-brand {
    display: flex; align-items: center; gap: 10px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 15px;
    letter-spacing: -0.01em;
}
.nav-mark {
    width: 22px; height: 22px; border-radius: 7px;
    background: var(--fg);
    display: grid; place-items: center;
    color: var(--bg);
    font-family: var(--font-display); font-weight: 700; font-size: 11px;
    transition: transform 0.5s var(--ease-out);
}
.nav-brand:hover .nav-mark { transform: rotate(-8deg) scale(1.08); }
.nav-links { display: flex; gap: 6px; align-items: center; }
.nav-link {
    padding: 6px 14px;
    font-size: 13px;
    color: var(--fg-2);
    border-radius: 999px;
    transition: background 0.25s var(--ease-out), color 0.25s var(--ease-out);
}
.nav-link:hover { background: var(--bg-soft); color: var(--fg); }
.theme-btn {
    width: 32px; height: 32px; border-radius: 999px;
    display: grid; place-items: center;
    color: var(--fg-2);
    transition: background 0.25s var(--ease-out), color 0.25s var(--ease-out), transform 0.4s var(--ease-out);
}
.theme-btn:hover { background: var(--bg-soft); color: var(--fg); transform: rotate(20deg); }
.theme-btn .icon-moon { display: none; }
[data-theme="dark"] .theme-btn .icon-sun { display: none; }
[data-theme="dark"] .theme-btn .icon-moon { display: block; }

/* ---------- Hero ---------- */
.hero {
    padding: 160px 0 120px;
    position: relative;
    overflow: hidden;
}
.hero-grid { display: grid; gap: 28px; max-width: 980px; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 12px 6px 8px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 12px;
    color: var(--fg-3);
    width: fit-content;
    background: var(--surface);
}
.hero-dot {
    width: 7px; height: 7px; border-radius: 99px;
    background: #34c759;
    box-shadow: 0 0 0 4px rgba(52, 199, 89, 0.18);
    animation: pulse 2.4s var(--ease-in-out) infinite;
}
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(52, 199, 89, 0.18); }
    50%      { box-shadow: 0 0 0 6px rgba(52, 199, 89, 0.05); }
}
.hero h1 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(48px, 9vw, 124px);
    line-height: 0.98;
    letter-spacing: -0.045em;
    margin: 0;
}
.hero h1 .soft { color: var(--fg-4); }
.hero-sub {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(20px, 2.4vw, 28px);
    line-height: 1.3;
    letter-spacing: -0.02em;
    color: var(--fg-2);
    max-width: 680px;
    margin: 8px 0 0;
}
.hero-meta {
    display: flex; flex-wrap: wrap; gap: 22px;
    font-size: 13px;
    color: var(--fg-3);
    margin-top: 12px;
}
.hero-meta-item { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta-item svg { opacity: 0.6; }

/* ambient gradient blobs */
.hero-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.blob {
    position: absolute;
    width: 540px; height: 540px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.45;
    animation: drift 22s var(--ease-in-out) infinite;
}
.blob.b1 { top: -160px; right: -120px; background: radial-gradient(circle, var(--accent) 0%, transparent 60%); }
.blob.b2 { top: 240px; left: -200px; background: radial-gradient(circle, #f5b27a 0%, transparent 60%); animation-delay: -8s; opacity: 0.3; }
.blob.b3 { top: 400px; right: 20%; background: radial-gradient(circle, #a78bfa 0%, transparent 60%); animation-delay: -14s; opacity: 0.25; }
[data-theme="dark"] .blob { opacity: 0.32; }
[data-theme="dark"] .blob.b2 { opacity: 0.22; }
[data-theme="dark"] .blob.b3 { opacity: 0.2; }
@keyframes drift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%      { transform: translate(30px, 40px) scale(1.08); }
    66%      { transform: translate(-25px, -20px) scale(0.95); }
}

/* ---------- Sections ---------- */
.section {
    padding: 100px 0;
    position: relative;
}
.section-head {
    display: flex; align-items: end; justify-content: space-between;
    gap: 32px;
    margin-bottom: 56px;
}
@media (max-width: 720px) {
    .section { padding: 70px 0; }
    .section-head { flex-direction: column; align-items: start; gap: 20px; margin-bottom: 36px; }
}
.section-eyebrow {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--fg-4);
    margin-bottom: 14px;
}
.section-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.04;
    letter-spacing: -0.035em;
    margin: 0;
    max-width: 720px;
}
.section-aside {
    font-size: 14px;
    color: var(--fg-3);
    max-width: 280px;
    text-align: right;
}
@media (max-width: 720px) { .section-aside { text-align: left; } }

/* ---------- App tiles ---------- */
.apps-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
@media (max-width: 720px) { .apps-grid { grid-template-columns: 1fr; } }

.app-tile {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    padding: 32px;
    text-align: left;
    cursor: pointer;
    overflow: hidden;
    color: inherit;
    transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out), border-color 0.45s var(--ease-out);
}
.app-tile:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--line-strong);
}

/* Coming-soon state — same shape as live cards, just muted */
.app-tile.soon { background: transparent; border-style: dashed; }
.app-tile.soon:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
    border-color: var(--line-strong);
}
.app-tile.soon .app-icon { filter: none; opacity: 1; }
.app-tile.soon:hover .app-icon { transform: none; }
.app-tile.soon .app-name,
.app-tile.soon .app-tag { color: var(--fg-3); }
.soon-badge {
    position: absolute; top: 22px; right: 22px;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--fg-3);
    padding: 5px 11px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: var(--bg-soft);
}

.app-tile-row {
    display: flex; align-items: center; gap: 24px;
}

.app-icon {
    flex: 0 0 auto;
    width: 88px; height: 88px;
    border-radius: var(--radius-icon-md);
    display: grid; place-items: center;
    overflow: hidden;
    position: relative;
    background: var(--bg-soft);
    box-shadow: 0 14px 30px -10px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.25);
    transition: transform 0.6s var(--ease-out);
}
.app-icon img { width: 100%; height: 100%; object-fit: cover; }
.app-tile:hover .app-icon { transform: scale(1.06) rotate(-2deg); }
.app-icon.lg { width: 104px; height: 104px; border-radius: var(--radius-icon-lg); }
.app-icon.xl { width: 168px; height: 168px; border-radius: var(--radius-icon-lg); box-shadow: 0 26px 60px -14px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.app-icon::after {
    content: "";
    position: absolute; inset: 0;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 50%);
    pointer-events: none;
}

/* In-development icon placeholder — dashed border, graphite grid, slowly rotating clock. */
.app-icon.app-icon-soon {
    background: var(--bg-soft);
    border: 1px dashed var(--line-strong);
    color: var(--fg-3);
    box-shadow: none;
    overflow: hidden;
    position: relative;
}
.app-icon.app-icon-soon::after { display: none; }
.app-icon-soon .soon-grid-bg {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(to right, color-mix(in srgb, var(--fg-3) 12%, transparent) 1px, transparent 1px),
        linear-gradient(to bottom, color-mix(in srgb, var(--fg-3) 12%, transparent) 1px, transparent 1px);
    background-size: 12px 12px;
    background-position: -1px -1px;
    opacity: 0.6;
}
.app-icon-soon .soon-glyph {
    position: relative;
    z-index: 1;
    width: 46%;
    height: 46%;
    color: var(--fg-3);
    animation: soon-tick 4s linear infinite;
    transform-origin: center;
}
@keyframes soon-tick {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
.app-tile.soon:hover .app-icon-soon { transform: none; }

.app-body { flex: 1 1 auto; min-width: 0; }
.app-name {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 26px;
    letter-spacing: -0.025em;
    line-height: 1.1;
    margin: 0 0 6px;
}
.app-tag {
    font-size: 17px;
    color: var(--fg-3);
    margin: 0;
    line-height: 1.4;
    letter-spacing: -0.01em;
}

.app-meta {
    display: flex; gap: 14px; flex-wrap: wrap;
    margin-top: 16px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--fg-4);
}
.app-meta span { display: inline-flex; align-items: center; gap: 6px; }
.app-meta span::before {
    content: ""; width: 4px; height: 4px; border-radius: 99px; background: currentColor; opacity: 0.5;
}
.app-meta span:first-child::before { display: none; }

.app-arrow {
    position: absolute; top: 32px; right: 32px;
    width: 36px; height: 36px; border-radius: 999px;
    background: var(--bg-soft);
    display: grid; place-items: center;
    color: var(--fg-3);
    transition: background 0.4s var(--ease-out), color 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}
.app-tile:hover .app-arrow {
    background: var(--fg);
    color: var(--bg);
    transform: translate(2px, -2px) rotate(-45deg);
}

/* Mobile: align icon with the title row, tighten card padding & type sizes. */
@media (max-width: 720px) {
    .app-tile { padding: 22px; }
    .app-tile-row { align-items: flex-start; gap: 16px; }
    .app-icon.lg { width: 72px; height: 72px; }
    .app-name { font-size: 22px; }
    .app-tile.featured .app-name { font-size: 26px; }
    .app-tag { font-size: 15px; }
    .app-meta { font-size: 10px; gap: 10px; margin-top: 12px; }
    .app-arrow { top: 18px; right: 18px; width: 30px; height: 30px; }
    .soon-badge { top: 16px; right: 16px; padding: 4px 9px; font-size: 9px; }
}

/* Loading state for apps grid */
.apps-loading {
    grid-column: 1 / -1;
    padding: 60px 0;
    text-align: center;
    color: var(--fg-3);
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* ---------- Legacy / Archive ---------- */
.legacy {
    margin-top: 64px;
    padding-top: 16px;
}
.legacy-divider {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 14px;
}
.legacy-divider-line {
    flex: 1;
    height: 1px;
    background: var(--line);
}
.legacy-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px 9px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    font-family: var(--font-display);
    font-size: 13px;
    letter-spacing: -0.01em;
    color: var(--fg-2);
    transition: border-color 0.3s var(--ease-out), background 0.3s var(--ease-out), color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.legacy-toggle:hover {
    border-color: var(--line-strong);
    background: var(--bg-soft);
    color: var(--fg);
    transform: translateY(-1px);
}
.legacy-toggle-num {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.14em;
    color: var(--fg-4);
    padding: 3px 8px;
    border-radius: 999px;
    background: var(--bg-soft);
    border: 1px solid var(--line);
}
.legacy-toggle:hover .legacy-toggle-num { background: var(--bg); }
.legacy-toggle-text { font-weight: 500; }
.legacy-toggle-chev {
    display: inline-flex;
    align-items: center;
    color: var(--fg-3);
    transition: transform 0.4s var(--ease-out);
}
.legacy-toggle.open .legacy-toggle-chev { transform: rotate(180deg); }
.legacy-caption {
    text-align: center;
    font-size: 13px;
    color: var(--fg-4);
    margin: 0 0 36px;
    font-family: var(--font-mono);
    letter-spacing: 0.02em;
}
.legacy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-8px);
    margin-top: 0;
    transition:
        max-height 0.8s var(--ease-out),
        opacity 0.5s var(--ease-out),
        transform 0.6s var(--ease-out),
        margin-top 0.6s var(--ease-out);
}
.legacy-grid.open {
    max-height: 3000px;
    opacity: 1;
    transform: none;
    margin-top: 4px;
}
@media (max-width: 720px) {
    .legacy-grid { grid-template-columns: 1fr; gap: 14px; }
    .legacy-tile { padding: 22px; }
    .legacy-tile .legacy-tile-row { gap: 16px; }
    .legacy-name { font-size: 22px; }
    .legacy-tag { font-size: 15px; }
    .legacy-reason { font-size: 13px; margin-bottom: 12px; }
    .legacy-meta { font-size: 10px; gap: 10px; }
}
.legacy-tile {
    display: block;
    position: relative;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    padding: 32px;
    text-align: left;
    overflow: hidden;
    transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out), border-color 0.45s var(--ease-out);
}
.legacy-tile:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--line-strong);
}
.legacy-tile .legacy-tile-row {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}
.legacy-tile .app-icon { flex: 0 0 auto; }
/* Letter-glyph fallback when iTunes has no artwork for an archived app */
.app-icon.letter {
    background: var(--bg-soft);
    color: var(--fg-3);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 38px;
    line-height: 1;
}
.app-icon.letter.xl { font-size: 64px; }
.legacy-body { flex: 1; min-width: 0; }
.legacy-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 6px;
}
.legacy-name {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 28px;
    letter-spacing: -0.025em;
    line-height: 1.1;
    margin: 0;
    color: var(--fg-2);
}
.legacy-pill {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--fg-4);
    padding: 4px 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    white-space: nowrap;
}
.legacy-tag {
    margin: 0 0 10px;
    font-size: 17px;
    color: var(--fg-3);
    line-height: 1.4;
    letter-spacing: -0.01em;
}
.legacy-reason {
    margin: 0 0 16px;
    font-size: 14px;
    color: var(--fg-4);
    line-height: 1.5;
    font-style: italic;
}
.legacy-meta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--fg-4);
}
.legacy-meta span { display: inline-flex; align-items: center; gap: 6px; }
.legacy-meta span + span::before {
    content: ""; width: 4px; height: 4px; border-radius: 99px; background: currentColor; opacity: 0.5;
    display: inline-block;
}

/* ---------- App detail (subdomain pages) ---------- */
.detail-page { padding-top: 56px; }

/* Mobile: tighter vertical rhythm across detail/legal/contact pages. */
@media (max-width: 720px) {
    .hero { padding: 100px 0 60px; }
    .detail-hero { padding: 60px 0 40px; gap: 24px; }
    .detail-cols { padding: 50px 0; gap: 36px; }
    .versions { padding: 50px 0 60px; }
    .versions-head { margin-bottom: 28px; }
    .legal-section { padding: 50px 0 60px; }
    .contact { padding: 70px 0 60px; }
    .contact h2 { margin-bottom: 32px; }
    .legacy { margin-top: 40px; }
    .legacy-caption { margin-bottom: 24px; }
}

.detail-hero {
    padding: 100px 0 80px;
    display: grid; gap: 36px;
    justify-items: center;
    text-align: center;
}
.detail-hero .app-icon { margin: 0; }
.detail-hero h1 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(48px, 9vw, 96px);
    letter-spacing: -0.04em;
    line-height: 1;
    margin: 0;
}
.detail-hero .tag {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(20px, 2.4vw, 28px);
    letter-spacing: -0.02em;
    color: var(--fg-3);
    max-width: 640px;
    margin: 0;
}
.detail-cta-row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.detail-cta {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 12px 22px;
    background: var(--fg);
    color: var(--bg);
    border-radius: 999px;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: -0.01em;
    transition: transform 0.3s var(--ease-out), background 0.3s var(--ease-out);
}
.detail-cta:hover { transform: scale(1.04); }
.detail-cta .cta-apple { display: inline-flex; align-items: center; margin-right: 2px; transform: translateY(-1px); }
.detail-cta .acc { color: var(--bg); opacity: 0.6; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; }
.detail-cta.secondary {
    background: transparent;
    color: var(--fg);
    border: 1px solid var(--line-strong);
}
.detail-cta.secondary:hover { background: var(--bg-soft); }
.detail-cta.secondary .acc { color: var(--fg-3); }

/* Screenshots row — handles both portrait (9:19.5 iPhone) and landscape (16:9 media apps)
   without distortion. Constrains both dimensions on the <img>, so the container
   sizes itself to the actual artwork. */
.shots {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    padding: 0 0 100px;
}
.shot {
    flex: 0 0 auto;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    background: var(--bg-soft);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--line);
    transition: transform 0.6s var(--ease-out);
    line-height: 0;
}
.shot img {
    display: block;
    width: auto;
    height: auto;
    /* Cap a single screenshot's width so 3 landscape shots fit one row. */
    --shot-max-w: 360px;
    max-width: var(--shot-max-w);
    max-height: 560px;
}
.shot:hover { transform: translateY(-6px); }
@media (max-width: 720px) {
    .shots {
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: 22px;
        justify-content: flex-start;
        gap: 14px;
        /* Edge-to-edge scroll but with breathing room on both ends. */
        margin: 0 -22px;
        padding: 0 22px 50px;
        -webkit-overflow-scrolling: touch;
    }
    .shot { scroll-snap-align: start; }
    .shot img { max-height: 420px; --shot-max-w: 60vw; }
}

/* Detail content blocks */
.detail-cols {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 80px;
    padding: 80px 0;
    border-top: 1px solid var(--line);
}
@media (max-width: 900px) { .detail-cols { grid-template-columns: 1fr; gap: 48px; } }
.detail-desc {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(18px, 1.7vw, 22px);
    line-height: 1.5;
    letter-spacing: -0.015em;
    color: var(--fg-2);
    margin: 0;
    white-space: pre-line;
}
.detail-desc p { margin: 0 0 1.2em; }
.detail-desc p:last-child { margin-bottom: 0; }

.detail-info-title {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--fg-4);
    margin: 0 0 22px;
}
.info-row {
    display: flex; justify-content: space-between; gap: 24px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
}
.info-row:last-child { border-bottom: 0; }
.info-row dt { color: var(--fg-3); }
.info-row dd { margin: 0; font-weight: 500; text-align: right; }

/* ---------- What's New / Versions ---------- */
.versions {
    padding: 80px 0 120px;
    border-top: 1px solid var(--line);
}
.versions-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}
.versions-head h3 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(28px, 3.4vw, 40px);
    letter-spacing: -0.03em;
    margin: 0;
    line-height: 1.05;
}
.versions-count {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--fg-4);
}
.versions-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0;
}
.version {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 48px;
    padding: 28px 0;
    border-top: 1px solid var(--line);
}
.version:first-child { border-top: 0; padding-top: 0; }
@media (max-width: 720px) {
    .version { grid-template-columns: 1fr; gap: 14px; }
}
.version-meta { display: flex; flex-direction: column; gap: 6px; }
.version-num {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 22px;
    letter-spacing: -0.02em;
    color: var(--fg);
}
.version-date {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--fg-4);
}
.version-latest {
    width: fit-content;
    margin-top: 4px;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    padding: 3px 10px;
    border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
    border-radius: 999px;
    background: var(--accent-soft);
}
.version-notes {
    font-size: 17px;
    line-height: 1.45;
    letter-spacing: -0.01em;
    color: var(--fg-2);
    white-space: pre-line;
}

/* ---------- Legal page (terms / privacy) ---------- */
.legal-section {
    padding: 100px 0 120px;
}
.legal-prose {
    max-width: 720px;
    font-size: 17px;
    line-height: 1.65;
    color: var(--fg-2);
}
.legal-prose h1 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(40px, 6vw, 64px);
    line-height: 1.05;
    letter-spacing: -0.035em;
    color: var(--fg);
    margin: 0 0 32px;
}
.legal-prose h2 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(22px, 2.4vw, 28px);
    letter-spacing: -0.02em;
    color: var(--fg);
    margin: 3rem 0 1rem;
    line-height: 1.25;
}
.legal-prose h3 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 18px;
    color: var(--fg);
    margin: 2rem 0 0.6rem;
}
.legal-prose p { margin: 0 0 1.1rem; }
.legal-prose strong { color: var(--fg); font-weight: 600; }
.legal-prose em { color: var(--fg); font-style: italic; }
.legal-prose a {
    color: var(--accent);
    border-bottom: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
    transition: border-color 0.2s var(--ease-out);
}
.legal-prose a:hover { border-bottom-color: var(--accent); }
.legal-prose ul, .legal-prose ol {
    margin: 0 0 1.1rem 1.25rem;
    padding-left: 0.5rem;
}
.legal-prose li { margin: 0.4rem 0; }
.legal-prose li::marker { color: var(--fg-4); }
.legal-prose hr {
    border: 0;
    border-top: 1px solid var(--line);
    margin: 2.5rem 0;
}
.legal-prose code {
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 0.1rem 0.4rem;
    font-family: var(--font-mono);
    font-size: 0.875em;
}

/* ---------- Contact ---------- */
.contact {
    padding: 140px 0 100px;
    text-align: center;
    border-top: 1px solid var(--line);
}
.contact h2 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(40px, 7vw, 88px);
    letter-spacing: -0.04em;
    line-height: 1;
    margin: 0 0 56px;
}
.contact-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}
.contact-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px 12px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    font-size: 15px;
    color: var(--fg);
    transition: border-color 0.3s var(--ease-out), background 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.contact-pill:hover {
    border-color: var(--line-strong);
    background: var(--bg-soft);
    transform: translateY(-2px);
}
.contact-pill-label {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--fg-4);
    padding: 3px 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--bg);
}
.contact-pill-value {
    font-family: var(--font-display);
    font-weight: 500;
    letter-spacing: -0.015em;
}

/* ---------- Footer ---------- */
.foot {
    padding: 48px 0 64px;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    font-size: 12px;
    color: var(--fg-4);
    font-family: var(--font-mono);
    flex-wrap: wrap;
}
.foot a { color: var(--fg-3); }
.foot a:hover { color: var(--fg); }
.foot-love {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--fg-3);
}
.foot-heart {
    display: inline-block;
    transform-origin: center;
    color: #ff2d3d;
    animation: heart-blink 1.6s ease-in-out infinite;
    filter: drop-shadow(0 0 8px rgba(255, 45, 61, 0.45));
}
@keyframes heart-blink {
    0%, 100% { opacity: 1; transform: scale(1); filter: drop-shadow(0 0 10px rgba(255, 45, 61, 0.55)); }
    50%      { opacity: 0.55; transform: scale(0.92); filter: drop-shadow(0 0 2px rgba(255, 45, 61, 0.2)); }
}
@media (max-width: 720px) {
    .foot {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
        padding: 36px 0 48px;
    }
    .foot > * { flex: 0 0 auto; }
    .foot .foot-love { order: 2; }
    .foot > span:nth-child(3) { order: 3; }
    .foot > span:nth-child(1) { order: 1; }
}

/* ---------- Back link ---------- */
.back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 100px 0 0;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--fg-3);
    transition: color 0.25s var(--ease-out);
}
.back:hover { color: var(--fg); }

/* ---------- Reveal animations ---------- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }
.reveal.d5 { transition-delay: 0.40s; }

@keyframes rise {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: none; }
}
.rise { animation: rise 1s var(--ease-out) both; }
.rise.d1 { animation-delay: 0.08s; }
.rise.d2 { animation-delay: 0.18s; }
.rise.d3 { animation-delay: 0.28s; }
.rise.d4 { animation-delay: 0.38s; }
.rise.d5 { animation-delay: 0.50s; }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .blob { animation: none; }
    .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   App-detail landing blocks (the 12 sections rendered by landing.js)
   ============================================================ */
.landing { display: block; }

.lsec {
    padding: 100px 0;
    border-top: 1px solid var(--line);
}
.lsec-alt { background: var(--bg-soft); }
@media (max-width: 720px) { .lsec { padding: 72px 0; } }

.lsec-head { margin-bottom: 56px; max-width: 760px; }
.lsec-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.06;
    letter-spacing: -0.035em;
    margin: 0;
}
.lsec-lead {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(18px, 2vw, 23px);
    line-height: 1.4;
    letter-spacing: -0.018em;
    color: var(--fg-3);
    margin: 20px 0 0;
}

/* ---------- 1. How it works ---------- */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; gap: 0; } }
.step {
    position: relative;
    padding: 36px 32px 40px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
}
@media (max-width: 820px) {
    .step { border-radius: 0; border-bottom: 0; }
    .step:first-child { border-radius: var(--radius-card) var(--radius-card) 0 0; }
    .step:last-child { border-radius: 0 0 var(--radius-card) var(--radius-card); border-bottom: 1px solid var(--line); }
}
.step-num {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.14em;
    margin-bottom: 22px;
}
.step-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 22px;
    letter-spacing: -0.02em;
    margin: 0 0 10px;
}
.step-text { margin: 0; font-size: 16px; line-height: 1.5; color: var(--fg-3); letter-spacing: -0.01em; }

/* ---------- 2. Main features ---------- */
.feat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    overflow: hidden;
}
@media (max-width: 820px) { .feat-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .feat-grid { grid-template-columns: 1fr; } }
.feat { background: var(--surface); padding: 32px; }
.feat-name {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 19px;
    letter-spacing: -0.02em;
    margin: 0 0 8px;
}
.feat-text { margin: 0; font-size: 15px; line-height: 1.5; color: var(--fg-3); letter-spacing: -0.01em; }

/* ---------- 3. Key benefits ---------- */
.ben-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
@media (max-width: 820px) { .ben-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ben-grid { grid-template-columns: 1fr; } }
.ben {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-tile);
    padding: 28px;
}
.ben-dot {
    display: block;
    width: 10px; height: 10px;
    border-radius: 99px;
    margin-bottom: 20px;
}
.ben-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 19px;
    letter-spacing: -0.02em;
    margin: 0 0 8px;
}
.ben-text { margin: 0; font-size: 15px; line-height: 1.5; color: var(--fg-3); letter-spacing: -0.01em; }

/* ---------- 4. Use cases ---------- */
.uc-list {
    display: grid;
    gap: 0;
    border-top: 1px solid var(--line);
}
.uc {
    display: grid;
    grid-template-columns: 64px 280px 1fr;
    gap: 32px;
    align-items: baseline;
    padding: 28px 4px;
    border-bottom: 1px solid var(--line);
}
@media (max-width: 820px) {
    .uc { grid-template-columns: 1fr; gap: 8px; }
}
.uc-index {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.12em;
    color: var(--fg-4);
}
.uc-persona {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 21px;
    letter-spacing: -0.022em;
    line-height: 1.15;
}
.uc-scenario { margin: 0; font-size: 16px; line-height: 1.5; color: var(--fg-3); letter-spacing: -0.01em; }

/* ---------- 5. Why this product ---------- */
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}
@media (max-width: 820px) { .why-grid { grid-template-columns: 1fr; gap: 36px; } }
.why-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 21px;
    letter-spacing: -0.022em;
    line-height: 1.2;
    margin: 0 0 12px;
    padding-top: 20px;
    border-top: 2px solid var(--fg);
    display: inline-block;
}
.why { display: flex; flex-direction: column; }
.why-text { margin: 0; font-size: 16px; line-height: 1.55; color: var(--fg-3); letter-spacing: -0.01em; }

/* ---------- 6. Comparison ---------- */
.cmp {
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    overflow: hidden;
    background: var(--surface);
}
.cmp-row {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    border-top: 1px solid var(--line);
}
.cmp-row:first-child { border-top: 0; }
.cmp-cell {
    padding: 18px 20px;
    font-size: 14px;
    color: var(--fg-3);
    display: flex;
    align-items: center;
    letter-spacing: -0.005em;
}
.cmp-label { color: var(--fg); font-weight: 500; }
.cmp-head .cmp-cell {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--fg-4);
    padding-top: 20px; padding-bottom: 20px;
    align-items: flex-end;
}
.cmp-ours {
    background: color-mix(in srgb, var(--cmp-accent, var(--accent)) 8%, var(--surface));
    color: var(--fg);
    font-weight: 500;
}
.cmp-head .cmp-ours {
    color: var(--cmp-accent, var(--accent));
    font-weight: 700;
}
@media (max-width: 720px) {
    .cmp { border-radius: var(--radius-tile); }
    .cmp-row { grid-template-columns: 1fr; }
    .cmp-cell { padding: 8px 16px; }
    .cmp-label { padding-top: 18px; font-size: 15px; }
    .cmp-row .cmp-cell:not(.cmp-label)::before {
        content: attr(data-c) ":  ";
        color: var(--fg-4);
        font-family: var(--font-mono);
        font-size: 10px;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        margin-right: 8px;
    }
    .cmp-head { display: none; }
    .cmp-cell:not(.cmp-label) { color: var(--fg-2); }
    .cmp-ours { border-radius: 0; }
}

/* ---------- 7. Privacy & security ---------- */
.priv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    overflow: hidden;
}
@media (max-width: 720px) { .priv-grid { grid-template-columns: 1fr; } }
.priv {
    background: var(--surface);
    padding: 32px;
    display: flex;
    gap: 18px;
    align-items: flex-start;
}
.priv-mark {
    flex: 0 0 auto;
    width: 40px; height: 40px;
    border-radius: 12px;
    display: grid; place-items: center;
    background: color-mix(in srgb, currentColor 10%, transparent);
}
.priv-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 18px;
    letter-spacing: -0.02em;
    margin: 0 0 7px;
}
.priv-text { margin: 0; font-size: 15px; line-height: 1.5; color: var(--fg-3); letter-spacing: -0.01em; }

/* ---------- 8. Social proof ---------- */
.sp-stats {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}
.sp-stat {
    flex: 1 1 220px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-tile);
    padding: 30px 32px;
}
.sp-stat-num {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(40px, 6vw, 60px);
    letter-spacing: -0.04em;
    line-height: 1;
    display: flex;
    align-items: baseline;
}
.sp-star { font-size: 0.5em; margin-left: 6px; }
.sp-stat-label {
    margin-top: 12px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--fg-4);
}
.sp-reviews {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
@media (max-width: 820px) { .sp-reviews { grid-template-columns: 1fr; } }
.sp-review {
    margin: 0;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-tile);
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 22px;
}
.sp-review blockquote {
    margin: 0;
    font-family: var(--font-display);
    font-size: 17px;
    line-height: 1.45;
    letter-spacing: -0.018em;
    color: var(--fg);
}
.sp-review figcaption { display: flex; flex-direction: column; gap: 3px; }
.sp-name { font-weight: 600; font-size: 14px; letter-spacing: -0.01em; }
.sp-meta { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-4); }
.sp-press {
    margin-top: 40px;
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    padding-top: 32px;
    border-top: 1px solid var(--line);
}
.sp-press-label {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--fg-4);
}
.sp-press-items { display: flex; gap: 28px; flex-wrap: wrap; }
.sp-press-item {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 15px;
    letter-spacing: -0.01em;
    color: var(--fg-3);
}

/* ---------- 9. Guides & articles ---------- */
.guide-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
@media (max-width: 820px) { .guide-grid { grid-template-columns: 1fr; } }
.guide {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    padding: 28px;
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.4s var(--ease-out);
}
.guide:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.guide-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}
.guide-kind {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 600;
}
.guide-time {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--fg-4);
}
.guide-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 20px;
    letter-spacing: -0.022em;
    line-height: 1.2;
    margin: 0 0 10px;
}
.guide-excerpt { margin: 0 0 24px; font-size: 15px; line-height: 1.5; color: var(--fg-3); letter-spacing: -0.01em; }
.guide-arrow {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--fg-2);
}
.guide:hover .guide-arrow { color: var(--fg); }
.guide-arrow svg { transition: transform 0.3s var(--ease-out); }
.guide:hover .guide-arrow svg { transform: translate(2px, -2px); }

/* ---------- 10. Detailed description (SEO) ---------- */
.longdesc { max-width: 800px; }
.longdesc p {
    margin: 0 0 1.25em;
    font-size: 18px;
    line-height: 1.6;
    letter-spacing: -0.011em;
    color: var(--fg-2);
}
.longdesc p:first-child {
    font-family: var(--font-display);
    font-size: clamp(20px, 2.2vw, 24px);
    line-height: 1.45;
    letter-spacing: -0.018em;
    color: var(--fg);
}
.longdesc p:last-child { margin-bottom: 0; }

/* ---------- 11. FAQ ---------- */
.faq-list {
    border-top: 1px solid var(--line);
    max-width: 860px;
}
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    text-align: left;
    padding: 24px 4px;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(17px, 1.8vw, 20px);
    letter-spacing: -0.018em;
    color: var(--fg);
    background: none;
    border: 0;
    cursor: pointer;
}
.faq-chev {
    flex: 0 0 auto;
    width: 30px; height: 30px;
    border-radius: 999px;
    display: grid; place-items: center;
    color: var(--fg-3);
    background: var(--bg-soft);
    transition: transform 0.35s var(--ease-out), background 0.3s var(--ease-out), color 0.3s var(--ease-out);
}
.faq-item.open .faq-chev { transform: rotate(180deg); color: var(--fg); }
.faq-a {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s var(--ease-out);
}
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > p {
    overflow: hidden;
    margin: 0;
    font-size: 16px;
    line-height: 1.55;
    color: var(--fg-3);
    letter-spacing: -0.01em;
    max-width: 700px;
    opacity: 0;
    padding-bottom: 0;
    transition: opacity 0.4s var(--ease-out), padding-bottom 0.4s var(--ease-out);
}
.faq-item.open .faq-a > p { opacity: 1; padding-bottom: 24px; }

/* ---------- 12. Final CTA ---------- */
/* No top border/padding: the FAQ section above already provides the gap. */
.lcta { padding: 0 0 40px; }
.lcta-inner {
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: 88px 40px 96px;
    border-radius: var(--radius-card);
    background:
        radial-gradient(120% 120% at 50% -20%, color-mix(in srgb, var(--cta-accent, var(--accent)) 18%, transparent) 0%, transparent 60%),
        var(--surface);
    border: 1px solid var(--line);
}
@media (max-width: 720px) { .lcta-inner { padding: 64px 24px 72px; } }
.lcta-head {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(34px, 6vw, 68px);
    letter-spacing: -0.04em;
    line-height: 1;
    margin: 0 0 20px;
}
.lcta-sub {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(17px, 2vw, 21px);
    line-height: 1.4;
    letter-spacing: -0.015em;
    color: var(--fg-3);
    max-width: 560px;
    margin: 0 auto 36px;
}
.lcta-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}
.lcta-primary {
    background: var(--cta-accent, var(--fg));
    color: #fff;
}
.lcta-primary .cta-apple { display: inline-flex; align-items: center; transform: translateY(-1px); }
