/* ============================================================
   Orbit — Marketing site
   Pure black, glass surfaces, serif display, accent gradients.
   Mirrors the Orbit iOS app design language.
   ============================================================ */

:root {
    /* Core */
    --bg: #000000;
    --fg: #ffffff;
    --fg-dim: rgba(255, 255, 255, 0.62);
    --fg-mute: rgba(255, 255, 255, 0.42);
    --fg-faint: rgba(255, 255, 255, 0.18);

    /* Glass surfaces (mirrors PremiumSurface.swift) */
    --glass: rgba(255, 255, 255, 0.06);
    --glass-elevated: rgba(255, 255, 255, 0.10);
    --glass-deep: rgba(255, 255, 255, 0.03);
    --stroke: rgba(255, 255, 255, 0.18);
    --stroke-strong: rgba(255, 255, 255, 0.28);
    --divider: rgba(255, 255, 255, 0.08);

    /* Accent — Sunset Peach (Orbit palette #0) */
    --accent-1: #FB7185; /* rose */
    --accent-2: #FED7AA; /* peach */
    --accent-3: #FBCFE8; /* pink */
    --accent-glow: rgba(251, 113, 133, 0.35);

    /* Type */
    --font-display: "Fraunces", "Iowan Old Style", "Charter", Georgia, serif;
    --font-body: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Rounded", "SF Pro Text", system-ui, sans-serif;

    /* Layout */
    --maxw: 1180px;
    --radius-sm: 14px;
    --radius-md: 20px;
    --radius-lg: 28px;
    --radius-xl: 36px;

    /* Motion */
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ============================================================
   Reset / base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    background: var(--bg);
    color: var(--fg);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.55;
    font-feature-settings: "ss01", "cv11";
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; }

::selection { background: var(--accent-1); color: #000; }

/* ============================================================
   Ambient background — matches PremiumBackground.ambient()
   ============================================================ */
.ambient-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}
.ambient-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    mix-blend-mode: plus-lighter;
    opacity: 0.6;
    animation: ambient-drift 22s ease-in-out infinite alternate;
}
.ambient-glow--top {
    top: -200px;
    left: 50%;
    width: 760px;
    height: 760px;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(251,113,133,0.22) 0%, rgba(251,113,133,0) 65%);
}
.ambient-glow--bottom {
    bottom: -300px;
    left: 50%;
    width: 1040px;
    height: 1040px;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(251,207,232,0.18) 0%, rgba(254,215,170,0.10) 35%, transparent 70%);
    animation-delay: -8s;
}
.ambient-noise {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 3px 3px;
    opacity: 0.5;
    mix-blend-mode: overlay;
}
@keyframes ambient-drift {
    0%   { transform: translateX(-50%) translateY(0) scale(1); }
    100% { transform: translateX(-50%) translateY(40px) scale(1.08); }
}

/* ============================================================
   Header
   ============================================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 32px;
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    background: rgba(0, 0, 0, 0.55);
    border-bottom: 1px solid var(--divider);
}
.wordmark {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.02em;
}
.wordmark__orb {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%,
        var(--accent-2) 0%,
        var(--accent-1) 40%,
        var(--accent-3) 75%,
        rgba(0,0,0,0) 100%);
    box-shadow:
        0 0 18px var(--accent-glow),
        inset 0 0 8px rgba(255,255,255,0.4);
    animation: orb-breathe 4.2s ease-in-out infinite;
}
.wordmark__orb--small { width: 20px; height: 20px; }
.site-nav {
    display: flex;
    gap: 28px;
    font-size: 14px;
    color: var(--fg-dim);
}
.site-nav a {
    transition: color 0.25s var(--ease);
}
.site-nav a:hover { color: var(--fg); }

/* ============================================================
   CTA buttons
   ============================================================ */
.cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
    white-space: nowrap;
}
.cta--primary {
    background: linear-gradient(135deg, var(--accent-1) 0%, var(--accent-2) 100%);
    color: #1a0a0a;
    box-shadow:
        0 8px 24px -8px var(--accent-glow),
        inset 0 1px 0 rgba(255,255,255,0.4);
}
.cta--primary:hover {
    transform: translateY(-1px);
    box-shadow:
        0 14px 36px -10px var(--accent-glow),
        inset 0 1px 0 rgba(255,255,255,0.5);
}
.cta--ghost {
    background: var(--glass);
    color: var(--fg);
    border: 1px solid var(--stroke);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}
.cta--ghost:hover {
    background: var(--glass-elevated);
    border-color: var(--stroke-strong);
}
.cta--disabled {
    cursor: default;
    opacity: .72;
}
.cta--disabled:hover {
    transform: none;
}
.cta--small {
    padding: 10px 18px;
    font-size: 13.5px;
    background: var(--glass);
    border: 1px solid var(--stroke);
    color: var(--fg);
}
.cta--small:hover {
    background: var(--glass-elevated);
}

/* ============================================================
   Typography helpers
   ============================================================ */
.eyebrow {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--fg-mute);
    margin: 0 0 16px;
}
.eyebrow--accent {
    color: var(--accent-2);
}
.display {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(48px, 7vw, 92px);
    line-height: 0.98;
    letter-spacing: -0.035em;
    margin: 0 0 28px;
    color: var(--fg);
}
.display--md {
    font-size: clamp(36px, 5vw, 60px);
    line-height: 1.04;
}
.display--lg {
    font-size: clamp(48px, 6vw, 76px);
}
.display__accent {
    background: linear-gradient(135deg, var(--accent-1) 0%, var(--accent-2) 50%, var(--accent-3) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-style: italic;
}
.lede {
    font-size: clamp(17px, 1.5vw, 19px);
    line-height: 1.65;
    color: var(--fg-dim);
    max-width: 540px;
    margin: 0 0 36px;
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 96px 32px 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    min-height: 88vh;
}
.hero__inner { max-width: 560px; }
.hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 28px;
}
.hero__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    font-size: 13px;
    color: var(--fg-mute);
}
.hero__meta .dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--fg-faint);
}
.hero__orb {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 520px;
}
.hero__device {
    max-width: 380px;
    border-radius: 48px;
    box-shadow: 0 30px 80px -20px rgba(0,0,0,0.8);
}

/* ============================================================
   Orb (signature visual) — CSS metaball using filter blur
   ============================================================ */
.orb {
    position: relative;
    width: 420px;
    height: 420px;
    filter: blur(0.4px) contrast(1.05);
    animation: orb-float 9s ease-in-out infinite;
}
.orb__blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(38px);
    mix-blend-mode: plus-lighter;
}
.orb__blob--a {
    top: 18%;
    left: 14%;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, var(--accent-1) 0%, rgba(251,113,133,0) 70%);
    animation: blob-1 11s ease-in-out infinite;
}
.orb__blob--b {
    top: 28%;
    left: 38%;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, var(--accent-2) 0%, rgba(254,215,170,0) 70%);
    animation: blob-2 13s ease-in-out infinite;
}
.orb__blob--c {
    top: 40%;
    left: 22%;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, var(--accent-3) 0%, rgba(251,207,232,0) 70%);
    animation: blob-3 15s ease-in-out infinite;
}
.orb__ring {
    position: absolute;
    inset: 24%;
    border-radius: 50%;
    border: 1px solid var(--stroke);
    box-shadow:
        inset 0 0 60px rgba(255,255,255,0.06),
        0 0 80px var(--accent-glow);
    backdrop-filter: blur(2px);
    animation: orb-breathe 4.2s ease-in-out infinite;
}

@keyframes orb-breathe {
    0%, 100% { transform: scale(1); opacity: 0.95; }
    50%      { transform: scale(1.06); opacity: 1; }
}
@keyframes orb-float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-18px); }
}
@keyframes blob-1 {
    0%, 100% { transform: translate(0,0)   scale(1); }
    33%      { transform: translate(40px,-30px) scale(1.1); }
    66%      { transform: translate(-20px,30px) scale(0.95); }
}
@keyframes blob-2 {
    0%, 100% { transform: translate(0,0)   scale(1); }
    33%      { transform: translate(-30px,20px) scale(1.05); }
    66%      { transform: translate(30px,-20px) scale(0.92); }
}
@keyframes blob-3 {
    0%, 100% { transform: translate(0,0)   scale(1); }
    33%      { transform: translate(20px,40px)  scale(0.95); }
    66%      { transform: translate(-30px,-20px) scale(1.1); }
}

/* Mini orb (used inside feature card) */
.mini-orb {
    position: relative;
    width: 220px;
    height: 220px;
    margin: 0 auto;
    filter: contrast(1.04);
}
.mini-orb__blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(22px);
    mix-blend-mode: plus-lighter;
}
.mini-orb__blob--a {
    top: 18%; left: 14%; width: 130px; height: 130px;
    background: radial-gradient(circle, var(--accent-1) 0%, transparent 70%);
    animation: blob-1 11s ease-in-out infinite;
}
.mini-orb__blob--b {
    top: 28%; left: 38%; width: 120px; height: 120px;
    background: radial-gradient(circle, var(--accent-2) 0%, transparent 70%);
    animation: blob-2 13s ease-in-out infinite;
}
.mini-orb__blob--c {
    top: 40%; left: 22%; width: 140px; height: 140px;
    background: radial-gradient(circle, var(--accent-3) 0%, transparent 70%);
    animation: blob-3 15s ease-in-out infinite;
}

/* ============================================================
   Trust strip
   ============================================================ */
.trust {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 32px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    border-top: 1px solid var(--divider);
    border-bottom: 1px solid var(--divider);
}
.trust__item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
    text-align: center;
}
.trust__item strong {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--fg);
}
.trust__item span {
    font-size: 13px;
    color: var(--fg-mute);
}

/* ============================================================
   Sections
   ============================================================ */
.section {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 120px 32px;
    position: relative;
}
.section--dim {
    background:
        linear-gradient(180deg, transparent 0%, rgba(255,255,255,0.02) 50%, transparent 100%);
    max-width: none;
    padding-left: 0;
    padding-right: 0;
}
.section--dim > * {
    max-width: var(--maxw);
    margin-left: auto;
    margin-right: auto;
    padding-left: 32px;
    padding-right: 32px;
}
.section__head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 64px;
}
.section__head .eyebrow { margin-bottom: 20px; }
.section__sub {
    color: var(--fg-dim);
    font-size: 17px;
    line-height: 1.65;
    max-width: 620px;
    margin: 24px auto 0;
}

/* ============================================================
   Feature grid
   ============================================================ */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.feature {
    display: flex;
    flex-direction: column;
    background: var(--glass);
    border: 1px solid var(--stroke);
    border-radius: var(--radius-lg);
    overflow: hidden;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}
.feature:hover {
    transform: translateY(-4px);
    border-color: var(--stroke-strong);
}
.feature--wide { grid-column: span 2; flex-direction: row; align-items: center; }
.feature--quiet { background: var(--glass-deep); }

.feature__media {
    flex-shrink: 0;
    padding: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 50% 50%, var(--accent-glow) 0%, transparent 60%),
        var(--glass-deep);
    border-bottom: 1px solid var(--divider);
}
.feature--wide .feature__media {
    border-bottom: none;
    border-right: 1px solid var(--divider);
    width: 42%;
    align-self: stretch;
}
.feature__media--tall { min-height: 280px; }

/* Screenshot variant — image fills the media slot, soft glow halo */
.feature__media--shot {
    padding: 28px;
    background:
        radial-gradient(circle at 50% 60%, var(--accent-glow) 0%, transparent 55%),
        var(--glass-deep);
    overflow: hidden;
}
.feature__media--shot img {
    width: 100%;
    max-width: 320px;
    height: auto;
    margin: 0 auto;
    border-radius: 28px;
    box-shadow:
        0 24px 60px -20px rgba(0,0,0,0.7),
        0 0 0 1px rgba(255,255,255,0.06);
    display: block;
}
.feature--wide .feature__media--shot {
    padding: 40px;
}
.feature--wide .feature__media--shot img {
    max-width: 280px;
}

.feature__body { padding: 36px; }
.feature__body h3 {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin: 0 0 14px;
}
.feature__body p {
    color: var(--fg-dim);
    font-size: 15.5px;
    line-height: 1.65;
    margin: 0;
}
.feature__list {
    list-style: none;
    padding: 24px 0 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 14.5px;
    color: var(--fg-dim);
}
.feature__list li {
    padding-left: 22px;
    position: relative;
}
.feature__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
}

/* ADHD inner grid */
.adhd-grid {
    margin-top: 32px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.adhd-grid > div {
    padding: 20px;
    background: var(--glass-deep);
    border: 1px solid var(--divider);
    border-radius: var(--radius-md);
}
.adhd-grid strong {
    display: block;
    font-size: 14.5px;
    margin-bottom: 6px;
    color: var(--fg);
}
.adhd-grid span {
    font-size: 13px;
    color: var(--fg-mute);
    line-height: 1.5;
}

/* ============================================================
   Placeholder (screenshot slot visual)
   ============================================================ */
.placeholder {
    width: 100%;
    min-height: 240px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 6px;
    color: var(--fg-mute);
    background:
        repeating-linear-gradient(45deg,
            rgba(255,255,255,0.02) 0,
            rgba(255,255,255,0.02) 10px,
            rgba(255,255,255,0.04) 10px,
            rgba(255,255,255,0.04) 20px);
    border: 1px dashed var(--stroke);
    border-radius: var(--radius-md);
    padding: 24px;
}
.placeholder span:first-child { font-size: 32px; }
.placeholder p { margin: 0; font-size: 13px; color: var(--fg); }
.placeholder small {
    font-size: 11px;
    line-height: 1.5;
    color: var(--fg-mute);
    font-family: ui-monospace, "SF Mono", Menlo, monospace;
}

/* ============================================================
   Gallery
   ============================================================ */
.gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.gallery__shot {
    aspect-ratio: 9 / 19;
    border-radius: 32px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%),
        repeating-linear-gradient(45deg,
            rgba(255,255,255,0.02) 0,
            rgba(255,255,255,0.02) 10px,
            rgba(255,255,255,0.04) 10px,
            rgba(255,255,255,0.04) 20px);
    border: 1px dashed var(--stroke);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px;
    gap: 8px;
    color: var(--fg-mute);
    font-size: 13px;
}
.gallery__shot span { color: var(--fg); font-weight: 600; }
.gallery__shot small {
    font-family: ui-monospace, "SF Mono", Menlo, monospace;
    font-size: 11px;
}

/* Image variant — real screenshot in a glass frame, soft halo + caption */
.gallery__shot--img {
    aspect-ratio: auto;
    border: 1px solid var(--stroke);
    background:
        radial-gradient(circle at 50% 10%, var(--accent-glow) 0%, transparent 55%),
        linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01)),
        var(--glass-deep);
    padding: 18px 18px 14px;
    margin: 0;
    gap: 14px;
    overflow: hidden;
    transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}
.gallery__shot--img:hover {
    transform: translateY(-4px);
    border-color: var(--stroke-strong);
}
.gallery__shot--img img {
    width: 100%;
    height: auto;
    aspect-ratio: 9 / 19;
    object-fit: cover;
    border-radius: 22px;
    box-shadow:
        0 20px 50px -20px rgba(0,0,0,0.7),
        0 0 0 1px rgba(255,255,255,0.06);
    display: block;
}
.gallery__shot--img figcaption {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--fg-dim);
    text-align: center;
    padding-bottom: 4px;
}

/* ============================================================
   Pricing
   ============================================================ */
.pricing {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.price-card {
    background: var(--glass);
    border: 1px solid var(--stroke);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: relative;
}
.price-card--featured {
    background:
        linear-gradient(180deg, rgba(251,113,133,0.10), rgba(254,215,170,0.04)),
        var(--glass);
    border-color: rgba(251,113,133,0.45);
    box-shadow: 0 20px 60px -20px var(--accent-glow);
}
.price-card__badge {
    position: absolute;
    top: -12px;
    left: 24px;
    margin: 0;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--glass-elevated);
    border: 1px solid var(--stroke);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--fg-dim);
}
.price-card__badge--gold {
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    color: #1a0a0a;
    border: none;
}
.price-card h3 {
    margin: 0;
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.02em;
}
.price-card__price {
    margin: 0;
    font-family: var(--font-display);
    font-size: 44px;
    font-weight: 700;
    letter-spacing: -0.03em;
}
.price-card__price span {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 500;
    color: var(--fg-mute);
    margin-left: 6px;
}
.price-card__sub { margin: 0; font-size: 13px; color: var(--fg-mute); }
.price-card ul {
    list-style: none;
    margin: 8px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 14px;
    color: var(--fg-dim);
}
.price-card ul li {
    padding-left: 20px;
    position: relative;
}
.price-card ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-2);
    font-weight: 700;
}
.pricing__fine {
    margin: 28px auto 0;
    max-width: 580px;
    text-align: center;
    font-size: 12.5px;
    color: var(--fg-mute);
    line-height: 1.6;
}

/* ============================================================
   Privacy summary
   ============================================================ */
.privacy-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.privacy-card {
    padding: 32px;
    background: var(--glass);
    border: 1px solid var(--stroke);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}
.privacy-card h3 {
    margin: 0 0 12px;
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.02em;
}
.privacy-card p {
    margin: 0;
    color: var(--fg-dim);
    font-size: 15px;
    line-height: 1.65;
}
.privacy-cta {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 36px;
    flex-wrap: wrap;
}

/* ============================================================
   Final CTA
   ============================================================ */
.section--final {
    text-align: center;
    padding-bottom: 140px;
}
.final {
    max-width: 720px;
    margin: 0 auto;
    position: relative;
}
.final-orb {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 24px;
}
.final-orb__blob {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle at 40% 40%, var(--accent-2) 0%, var(--accent-1) 40%, transparent 70%);
    filter: blur(28px);
    animation: orb-breathe 4.2s ease-in-out infinite;
}
.final-orb__blob--b {
    background: radial-gradient(circle at 60% 60%, var(--accent-3) 0%, transparent 70%);
    animation-delay: -2s;
}
.final .hero__cta { justify-content: center; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
    border-top: 1px solid var(--divider);
    padding: 56px 32px 40px;
    color: var(--fg-mute);
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}
.site-footer__inner {
    max-width: var(--maxw);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 48px;
}
.site-footer__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--fg);
    letter-spacing: -0.02em;
}
.site-footer__cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.site-footer__cols h4 {
    margin: 0 0 14px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--fg-mute);
}
.site-footer__cols a {
    display: block;
    font-size: 14px;
    color: var(--fg-dim);
    padding: 4px 0;
    transition: color 0.25s var(--ease);
}
.site-footer__cols a:hover { color: var(--fg); }

.site-footer__bottom {
    max-width: var(--maxw);
    margin: 40px auto 0;
    padding-top: 24px;
    border-top: 1px solid var(--divider);
    display: flex;
    justify-content: space-between;
    font-size: 12.5px;
    flex-wrap: wrap;
    gap: 12px;
}
.site-footer__bottom p { margin: 0; }

/* ============================================================
   Long-form pages (privacy / terms / support)
   ============================================================ */
.page {
    max-width: 780px;
    margin: 0 auto;
    padding: 80px 32px 120px;
}
.page__head {
    margin-bottom: 56px;
    text-align: center;
}
.page__head .display {
    font-size: clamp(40px, 5vw, 64px);
}
.page__meta {
    color: var(--fg-mute);
    font-size: 13px;
    margin-top: 12px;
}
.page__body {
    background: var(--glass);
    border: 1px solid var(--stroke);
    border-radius: var(--radius-lg);
    padding: 48px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}
.page__body h2 {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 40px 0 16px;
    color: var(--fg);
}
.page__body h2:first-child { margin-top: 0; }
.page__body h3 {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    margin: 24px 0 8px;
    color: var(--fg);
}
.page__body p,
.page__body li {
    color: var(--fg-dim);
    font-size: 15.5px;
    line-height: 1.75;
}
.page__body ul {
    margin: 12px 0 16px;
    padding-left: 22px;
}
.page__body a {
    color: var(--accent-2);
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s var(--ease);
}
.page__body a:hover { border-color: var(--accent-2); }
.page__body strong { color: var(--fg); }
.page__body code {
    background: var(--glass-elevated);
    padding: 2px 8px;
    border-radius: 6px;
    font-family: ui-monospace, "SF Mono", Menlo, monospace;
    font-size: 13.5px;
    color: var(--accent-2);
}
.page__back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--fg-mute);
    font-size: 13px;
    margin-bottom: 32px;
    transition: color 0.2s var(--ease);
}
.page__back:hover { color: var(--fg); }

/* Contact cards (support page) */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-top: 24px;
}
.contact-card {
    background: var(--glass);
    border: 1px solid var(--stroke);
    border-radius: var(--radius-md);
    padding: 24px;
}
.contact-card h3 {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 600;
}
.contact-card p {
    margin: 0 0 12px;
    color: var(--fg-dim);
    font-size: 14px;
}
.contact-card a {
    font-weight: 600;
    color: var(--accent-2);
    border-bottom: 1px solid var(--stroke);
}

/* FAQ */
.faq details {
    border-bottom: 1px solid var(--divider);
    padding: 16px 0;
}
.faq summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--fg);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: "+";
    font-family: var(--font-display);
    font-size: 22px;
    color: var(--fg-mute);
    transition: transform 0.25s var(--ease);
}
.faq details[open] summary::after { content: "−"; }
.faq details p {
    margin: 12px 0 0;
    color: var(--fg-dim);
    font-size: 14.5px;
    line-height: 1.7;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 960px) {
    .hero {
        grid-template-columns: 1fr;
        padding-top: 64px;
        padding-bottom: 48px;
        min-height: auto;
        gap: 32px;
    }
    .hero__orb { min-height: 360px; }
    .orb { width: 320px; height: 320px; }
    .feature--wide { grid-column: span 2; flex-direction: column; }
    .feature--wide .feature__media {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--divider);
    }
    .pricing { grid-template-columns: 1fr; }
    .gallery { grid-template-columns: repeat(2, 1fr); }
    .trust { grid-template-columns: repeat(2, 1fr); }
    .privacy-grid { grid-template-columns: 1fr; }
    .adhd-grid { grid-template-columns: 1fr; }
    .site-footer__inner { grid-template-columns: 1fr; }
    .site-footer__cols { grid-template-columns: 1fr 1fr; }
    .site-nav { display: none; }
    .contact-grid { grid-template-columns: 1fr; }
    .page__body { padding: 28px; }
}

@media (max-width: 540px) {
    .site-header { padding: 14px 18px; }
    .section { padding: 80px 20px; }
    .feature-grid { grid-template-columns: 1fr; }
    .feature--wide { grid-column: span 1; }
    .feature__body, .feature__media { padding: 24px; }
    .display { font-size: 44px; }
    .gallery { grid-template-columns: 1fr 1fr; }
    .site-footer__cols { grid-template-columns: 1fr; }
    .site-footer__bottom { flex-direction: column; align-items: flex-start; }
}

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

/* Reveal-on-scroll */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* -----------------------------------------------------------------
   Legal pages — language switcher, tables, notes
   ----------------------------------------------------------------- */
.langs {
    max-width: 760px;
    margin: 0 auto 40px;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 14px;
    padding: 14px 18px;
    border: 1px solid var(--stroke);
    border-radius: 16px;
    background: var(--glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}
.langs__label {
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--fg-dim);
    margin-right: 4px;
}
.langs a {
    font-size: 14px;
    color: var(--fg-dim);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: color .2s ease, border-color .2s ease;
}
.langs a:hover { color: var(--fg); border-color: var(--stroke-strong); }
.langs a[aria-current] { color: var(--accent); border-color: var(--accent); }

.legal-table__wrap {
    overflow-x: auto;
    margin: 20px 0 28px;
    border: 1px solid var(--stroke);
    border-radius: 14px;
}
.legal-table {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
    font-size: 14px;
}
.legal-table th,
.legal-table td {
    text-align: left;
    padding: 12px 14px;
    border-bottom: 1px solid var(--stroke);
    vertical-align: top;
}
.legal-table thead th {
    font-size: 12px;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--fg);
    background: rgba(255, 255, 255, .04);
}
.legal-table tbody tr:last-child td { border-bottom: none; }
.legal-table td { color: var(--fg-dim); }

.legal-note {
    padding: 14px 16px;
    border-left: 2px solid var(--accent);
    border-radius: 0 12px 12px 0;
    background: rgba(255, 255, 255, .03);
    font-size: 15px;
}
.legal-governing {
    max-width: 760px;
    margin: 48px auto 0;
    font-size: 13px;
    line-height: 1.7;
    color: var(--fg-dim);
    padding-top: 20px;
    border-top: 1px solid var(--stroke);
}
