/* ============================================================
   Bộ Não Thứ Hai — SongAsk.com
   Design system inspired by Apple, light/elegant tone.
   ============================================================ */

/* ---------- 0. RESET & TOKENS ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 17px;
    line-height: 1.47;
    letter-spacing: -0.011em;
    color: var(--ink-900);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
    min-width: 320px;
}

/* Prevent any element from overflowing the viewport */
img, svg, video { max-width: 100%; height: auto; }
* { min-width: 0; }

img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }

:root {
    /* Tone sáng — bảng màu mở rộng từ Apple */
    --bg:           #fbfbfd;          /* nền chính, sáng hơn #f5f5f7 một chút */
    --bg-alt:       #f5f5f7;          /* nền section thay đổi */
    --bg-soft:      #ffffff;          /* card sáng nhất */
    --bg-tint:      #f0f0f3;          /* tint nhẹ */

    --ink-900:      #1d1d1f;          /* heading */
    --ink-700:      rgba(29, 29, 31, 0.84);  /* body */
    --ink-500:      rgba(29, 29, 31, 0.62);  /* secondary */
    --ink-400:      rgba(29, 29, 31, 0.48);  /* tertiary */
    --ink-300:      rgba(29, 29, 31, 0.18);  /* divider */
    --ink-100:      rgba(29, 29, 31, 0.06);  /* line nhẹ */

    --accent:       #0071e3;          /* Apple Blue */
    --accent-hover: #0077ed;
    --accent-press: #0062c4;
    --link:         #0066cc;
    --link-dark:    #2997ff;

    --dark:         #1d1d1f;          /* dark surface in light theme */
    --dark-2:       #2a2a2d;
    --dark-3:       #3a3a3d;

    /* Gradients sang trọng tone sáng */
    --gradient-soft: linear-gradient(180deg, #fbfbfd 0%, #f5f5f7 100%);
    --gradient-warm: linear-gradient(135deg, #fff5ee 0%, #fde9f1 50%, #eef0ff 100%);
    --gradient-cool: linear-gradient(135deg, #eef5ff 0%, #ffeef7 50%, #fff5e6 100%);
    --gradient-pearl: linear-gradient(135deg, #ffffff 0%, #f5f5f7 50%, #ebecef 100%);

    /* Shadows */
    --shadow-card:    0 3px 5px -1px rgba(0,0,0,0.04), 0 5px 30px 0 rgba(0,0,0,0.06);
    --shadow-card-lg: 0 8px 12px -2px rgba(0,0,0,0.05), 0 22px 60px -8px rgba(0,0,0,0.10);
    --shadow-lift:    0 12px 30px -10px rgba(0,0,0,0.18);
    --shadow-glass:   0 1px 0 rgba(255,255,255,0.85) inset, 0 0 0 0.5px rgba(0,0,0,0.05);

    /* Radius */
    --r-sm: 8px;
    --r-md: 12px;
    --r-lg: 18px;
    --r-xl: 26px;
    --r-2xl: 34px;
    --r-pill: 980px;

    /* Spacing */
    --gutter: clamp(20px, 4vw, 48px);

    /* Typography helpers */
    --tracking-display: -0.022em;
    --tracking-headline: -0.018em;
    --tracking-body:    -0.011em;
}

/* Container */
.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding-left: max(var(--gutter), env(safe-area-inset-left));
    padding-right: max(var(--gutter), env(safe-area-inset-right));
}

/* ---------- 1. BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 22px;
    border-radius: var(--r-pill);
    border: 1px solid transparent;
    font-size: 15px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.005em;
    transition: background-color 200ms ease, transform 200ms ease, color 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
    text-decoration: none;
    white-space: nowrap;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.btn:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
}

.btn--primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 1px 0 rgba(255,255,255,0.18) inset, 0 6px 18px -6px rgba(0, 113, 227, 0.45);
}

.btn--primary:hover  {
    background: var(--accent-hover);
    box-shadow: 0 1px 0 rgba(255,255,255,0.18) inset, 0 10px 24px -6px rgba(0, 113, 227, 0.55);
    transform: translateY(-1px);
}
.btn--primary:active { background: var(--accent-press); transform: scale(0.985); }

.btn--ghost {
    background: transparent;
    color: var(--ink-900);
    border-color: rgba(29, 29, 31, 0.22);
}

.btn--ghost:hover {
    background: rgba(29, 29, 31, 0.04);
    border-color: rgba(29, 29, 31, 0.36);
}

.btn--ghost:active { transform: scale(0.985); }

.btn--lg {
    padding: 16px 30px;
    font-size: 17px;
}

.btn__chevron {
    display: inline-block;
    transform: translateY(-0.5px);
    margin-left: 2px;
    transition: transform 240ms ease;
}

.btn:hover .btn__chevron { transform: translate(2px, -0.5px); }

.btn__external {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 4px;
    transition: transform 220ms ease;
}

.btn:hover .btn__external { transform: translate(1px, -1px); }

/* ---------- 2. NAVIGATION ---------- */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
    background: rgba(251, 251, 253, 0.72);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid transparent;
    transition: background-color 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.nav.is-scrolled {
    background: rgba(251, 251, 253, 0.86);
    border-bottom-color: var(--ink-100);
}

.nav__progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 0;
    background: linear-gradient(90deg, #ff8ab1 0%, #8d7bff 50%, #5cb6ff 100%);
    transition: width 80ms linear;
    pointer-events: none;
}

.nav__inner {
    max-width: 1280px;
    margin: 0 auto;
    height: 56px;
    padding-left: max(var(--gutter), env(safe-area-inset-left));
    padding-right: max(var(--gutter), env(safe-area-inset-right));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.nav__brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--ink-900);
}

.nav__brand-mark {
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    color: var(--ink-900);
}

.nav__brand-mark svg { width: 22px; height: 22px; }

.nav__menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 4px;
    flex: 1;
    justify-content: center;
}

.nav__menu a {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 400;
    color: var(--ink-700);
    letter-spacing: -0.005em;
    transition: background-color 200ms ease, color 200ms ease;
    white-space: nowrap;
}

.nav__cta-link { white-space: nowrap; }

.nav__menu a:hover {
    background: rgba(29, 29, 31, 0.05);
    color: var(--ink-900);
}

.nav__cta-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--accent);
    letter-spacing: -0.005em;
    padding: 8px 14px;
    border-radius: 999px;
    transition: background-color 200ms ease;
}

.nav__cta-link:hover { background: rgba(0, 113, 227, 0.08); }

.nav__toggle {
    display: none;
    background: transparent;
    border: none;
    padding: 12px;
    flex-direction: column;
    gap: 4px;
    border-radius: 8px;
    transition: background-color 200ms;
    margin-right: -8px;
}

.nav__toggle:hover { background: rgba(29, 29, 31, 0.04); }
.nav__toggle:active { background: rgba(29, 29, 31, 0.08); }

.nav__toggle span {
    display: block;
    width: 22px;
    height: 1.6px;
    background: var(--ink-900);
    border-radius: 2px;
    transition: transform 220ms ease, opacity 220ms ease;
}

.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(5.6px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-5.6px) rotate(-45deg); }

/* ---------- 3. HERO ---------- */
.hero {
    position: relative;
    overflow: hidden;
    padding: clamp(64px, 10vw, 110px) 0 clamp(60px, 9vw, 100px);
    background:
        radial-gradient(1100px 600px at 50% -10%, #ffe8f3 0%, transparent 60%),
        radial-gradient(900px 500px at 110% 30%, #e2eaff 0%, transparent 60%),
        radial-gradient(900px 500px at -10% 60%, #fff1de 0%, transparent 60%),
        var(--bg);
}

.hero__container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 var(--gutter);
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero__container > * {
    opacity: 0;
    transform: translateY(16px);
    animation: hero-rise 800ms cubic-bezier(0.2, 0, 0, 1) forwards;
}

.hero__container > .hero__eyebrow  { animation-delay: 80ms; }
.hero__container > .hero__title    { animation-delay: 160ms; }
.hero__container > .hero__subtitle { animation-delay: 280ms; }
.hero__container > .hero__platforms { animation-delay: 400ms; }
.hero__container > .hero__actions  { animation-delay: 500ms; }
.hero__container > .hero__showcase { animation-delay: 600ms; }

@keyframes hero-rise {
    to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .hero__container > * {
        opacity: 1;
        transform: none;
        animation: none;
    }
}

.hero__eyebrow {
    margin: 0 0 22px;
    font-size: 13px;
    font-weight: 500;
    color: var(--ink-500);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hero__title {
    margin: 0;
    font-size: clamp(44px, 9.5vw, 116px);
    font-weight: 600;
    line-height: 0.98;
    letter-spacing: var(--tracking-display);
    background: linear-gradient(180deg, #1d1d1f 0%, #1d1d1f 55%, #4a4a52 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.hero__subtitle {
    margin: clamp(16px, 3vw, 32px) auto 0;
    max-width: 720px;
    font-size: clamp(15px, 1.6vw, 22px);
    font-weight: 400;
    line-height: 1.4;
    color: var(--ink-700);
    letter-spacing: -0.01em;
}

.hero__subtitle-tagline {
    display: inline-block;
    margin-top: 10px;
    font-size: 14px;
    color: var(--ink-500);
    letter-spacing: -0.005em;
}

.hero__subtitle-tagline strong {
    color: var(--ink-900);
    font-weight: 600;
}

.hero__platforms {
    margin: clamp(32px, 4vw, 44px) auto 0;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    background: rgba(255,255,255,0.6);
    border: 1px solid rgba(255, 255, 255, 0.95);
    border-radius: var(--r-pill);
    box-shadow: 0 8px 22px -10px rgba(141, 123, 255, 0.25), inset 0 1px 0 rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    flex-wrap: wrap;
    justify-content: center;
}

.hero__platform {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px 8px 12px;
    background: #fff;
    border-radius: var(--r-pill);
    box-shadow: 0 0 0 1px rgba(29, 29, 31, 0.06);
    transition: transform 220ms ease, box-shadow 220ms ease;
}

.hero__platform:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 0 1px rgba(29, 29, 31, 0.08), 0 6px 18px -8px rgba(141, 123, 255, 0.32);
}

.hero__platform-icon {
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    color: #6b3fbb;
}

.hero__platform-icon svg { width: 18px; height: 18px; }

.hero__platform-label {
    font-size: 11px;
    color: var(--ink-500);
    font-weight: 500;
    letter-spacing: -0.005em;
}

.hero__platform-name {
    font-size: 13px;
    color: var(--ink-900);
    font-weight: 600;
    letter-spacing: -0.005em;
}

.hero__platform-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: var(--r-pill);
    background: linear-gradient(135deg, #ff8ab1 0%, #8d7bff 60%, #5cb6ff 100%);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.02em;
    box-shadow: 0 4px 12px -4px rgba(141, 123, 255, 0.5);
    animation: brain-id-pulse 3.6s ease-in-out infinite;
}

@keyframes brain-id-pulse {
    0%, 100% { box-shadow: 0 4px 12px -4px rgba(141, 123, 255, 0.5); }
    50%      { box-shadow: 0 4px 12px -4px rgba(141, 123, 255, 0.5), 0 0 0 4px rgba(141, 123, 255, 0.12); }
}

@media (prefers-reduced-motion: reduce) {
    .hero__platform-link { animation: none; }
}

.hero__platform-key {
    font-size: 12px;
    font-weight: 700;
}

.hero__actions {
    margin-top: clamp(24px, 3vw, 32px);
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}

@media (max-width: 640px) {
    .hero__platforms {
        flex-direction: column;
        gap: 6px;
        padding: 10px;
        width: 100%;
        max-width: 340px;
        position: relative;
    }
    .hero__platform {
        width: 100%;
        justify-content: flex-start;
    }
    .hero__platform-link {
        align-self: center;
        transform: none;
        font-size: 10px;
        padding: 3px 10px;
        margin: 0;
    }
    .hero__platform-link::before {
        content: '↓';
        margin-right: 4px;
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .hero__platforms { gap: 6px; padding: 10px; }
    .hero__platform { padding: 6px 10px 6px 8px; }
    .hero__platform-name { font-size: 12px; }
    .hero__platform-label { font-size: 10px; }
}

.hero__showcase {
    margin-top: clamp(40px, 5vw, 64px);
    display: grid;
    place-items: center;
    height: clamp(220px, 26vw, 320px);
    position: relative;
}

.hero__scroll {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--ink-400);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.hero__scroll-line {
    width: 1px;
    height: 28px;
    background: linear-gradient(180deg, var(--ink-300) 0%, transparent 100%);
    animation: scroll-pulse 2.6s ease-in-out infinite;
}

@keyframes scroll-pulse {
    0%, 100% { opacity: 0.2; transform: scaleY(0.6); }
    50%      { opacity: 1;   transform: scaleY(1); }
}

/* Hero orb */
.orb {
    position: relative;
    width: clamp(220px, 28vw, 360px);
    aspect-ratio: 1 / 1;
    display: grid;
    place-items: center;
}

.orb__core {
    position: absolute;
    inset: 25%;
    border-radius: 50%;
    background:
        radial-gradient(circle at 35% 30%, #ffffff 0%, #ffe1ee 35%, #d6c2ff 70%, #99c2ff 100%);
    box-shadow:
        inset 0 -10px 30px rgba(150, 100, 220, 0.25),
        inset 0 10px 30px rgba(255, 255, 255, 0.7),
        0 30px 60px -10px rgba(150, 100, 220, 0.32);
    animation: orb-float 6s ease-in-out infinite;
}

.orb__ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(0, 113, 227, 0.12);
}

.orb__ring--1 { inset: 0; animation: orb-rotate 30s linear infinite; }
.orb__ring--2 { inset: 8%; animation: orb-rotate 22s linear infinite reverse; border-color: rgba(218, 80, 160, 0.14); }
.orb__ring--3 { inset: 16%; animation: orb-rotate 16s linear infinite; border-color: rgba(120, 80, 220, 0.14); }

.orb__particle {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff8ab1, #8d7bff);
    box-shadow: 0 0 18px rgba(180, 130, 255, 0.55);
}

.orb__particle--1 { top: 4%;  left: 50%; transform: translateX(-50%); animation: orb-rotate 30s linear infinite; }
.orb__particle--2 { top: 8%;  right: 12%; animation: orb-rotate 22s linear infinite reverse; }
.orb__particle--3 { bottom: 12%; right: 8%; animation: orb-rotate 16s linear infinite; }
.orb__particle--4 { bottom: 8%;  left: 14%; animation: orb-rotate 24s linear infinite; }
.orb__particle--5 { top: 50%; left: 4%; animation: orb-rotate 18s linear infinite reverse; }

@keyframes orb-rotate {
    from { transform: rotate(0deg);   }
    to   { transform: rotate(360deg); }
}

@keyframes orb-float {
    0%, 100% { transform: translateY(0) scale(1); }
    50%      { transform: translateY(-8px) scale(1.02); }
}

/* ---------- 4. MARQUEE ---------- */
.marquee {
    background: var(--bg-alt);
    padding: 22px 0;
    border-top: 1px solid var(--ink-100);
    border-bottom: 1px solid var(--ink-100);
    overflow: hidden;
}

.marquee__track {
    display: flex;
    gap: 28px;
    white-space: nowrap;
    animation: marquee 40s linear infinite;
    width: max-content;
    color: var(--ink-500);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ---------- 5. SECTION SHARED ---------- */
section {
    padding: clamp(64px, 10vw, 140px) 0;
    scroll-margin-top: 64px;
}

.section__eyebrow {
    display: inline-block;
    margin: 0 0 16px;
    padding: 5px 12px;
    background: linear-gradient(135deg, rgba(255, 138, 177, 0.10) 0%, rgba(141, 123, 255, 0.10) 60%, rgba(92, 182, 255, 0.10) 100%);
    border-radius: var(--r-pill);
    font-size: 12.5px;
    font-weight: 600;
    color: #6b3fbb;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.section__title {
    margin: 0 0 24px;
    font-size: clamp(28px, 5.6vw, 64px);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: var(--tracking-display);
    color: var(--ink-900);
    max-width: 920px;
}

.section__lead {
    margin: 0 0 56px;
    font-size: clamp(16px, 1.6vw, 21px);
    line-height: 1.5;
    color: var(--ink-700);
    max-width: 720px;
}

.text-muted { color: var(--ink-500); font-weight: 500; }

.break-md { display: none; }
@media (min-width: 720px) { .break-md { display: inline; } }

/* ---------- 6. WHAT IS IT ---------- */
.what {
    background: var(--bg);
    border-top: 1px solid var(--ink-100);
}

.what__cards {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px;
}

.what__card {
    padding: 36px 30px 32px;
    background: var(--bg-soft);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--ink-100);
    transition: transform 320ms cubic-bezier(0.2, 0, 0, 1), box-shadow 320ms;
}

.what__card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-lg);
}

.what__card-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, #f5f5f7 0%, #ebecef 100%);
    display: grid;
    place-items: center;
    color: var(--ink-900);
    margin-bottom: 22px;
}

.what__card-icon svg { width: 22px; height: 22px; }

.what__card h3 {
    margin: 0 0 10px;
    font-size: clamp(19px, 1.7vw, 22px);
    font-weight: 600;
    color: var(--ink-900);
    letter-spacing: var(--tracking-headline);
}

.what__card p {
    margin: 0;
    font-size: 16px;
    line-height: 1.55;
    color: var(--ink-700);
    letter-spacing: -0.005em;
}

/* ---------- 7. HOW IT WORKS ---------- */
.how {
    background: var(--gradient-pearl);
    border-top: 1px solid var(--ink-100);
}

.steps {
    margin: 56px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 22px;
}

.step {
    position: relative;
    padding: 36px 32px 32px;
    background: #ffffff;
    border-radius: var(--r-xl);
    border: 1px solid var(--ink-100);
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

.step__num {
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.08em;
}

.step__title {
    margin: 8px 0 12px;
    font-size: clamp(20px, 2vw, 24px);
    font-weight: 600;
    letter-spacing: var(--tracking-headline);
    color: var(--ink-900);
}

.step__text {
    margin: 0 0 28px;
    font-size: 15.5px;
    line-height: 1.55;
    color: var(--ink-700);
}

.step__text a {
    color: var(--link);
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-thickness: 1px;
}

.step__visual {
    margin-top: auto;
    background: var(--bg-alt);
    border-radius: var(--r-md);
    padding: 18px;
    min-height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ID card visual */
.id-card {
    width: 100%;
    background: linear-gradient(135deg, #ffffff 0%, #f6f7fb 100%);
    border-radius: var(--r-md);
    padding: 16px 18px;
    box-shadow: 0 0 0 1px var(--ink-100);
    display: grid;
    gap: 6px;
}

.id-card__label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ink-500);
    font-weight: 600;
}

.id-card__value {
    font-family: 'SF Mono', 'JetBrains Mono', ui-monospace, monospace;
    font-size: 17px;
    color: var(--ink-900);
    letter-spacing: 0.02em;
}

.id-card__status {
    font-size: 12px;
    color: #14a76c;
    font-weight: 500;
}

/* Chat bubbles */
.step__visual--chat,
.step__visual--reply {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
}

.chat-bubble {
    max-width: 90%;
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 14px;
    line-height: 1.4;
    box-shadow: 0 0 0 1px var(--ink-100);
}

.chat-bubble--bot {
    background: #ffffff;
    color: var(--ink-900);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.chat-bubble--user {
    background: var(--accent);
    color: #fff;
    align-self: flex-end;
    box-shadow: none;
    font-family: 'SF Mono', ui-monospace, monospace;
    font-size: 13px;
    border-bottom-right-radius: 4px;
}

.chat-bubble--full { width: 100%; max-width: 100%; }

.chat-bubble--typing {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 14px 16px;
}

.chat-bubble--typing span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--ink-400);
    animation: typing 1.2s ease-in-out infinite;
}

.chat-bubble--typing span:nth-child(2) { animation-delay: 0.15s; }
.chat-bubble--typing span:nth-child(3) { animation-delay: 0.30s; }

@keyframes typing {
    0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
    30%           { opacity: 1;   transform: translateY(-3px); }
}

/* ---------- 8. FEATURES BENTO ---------- */
.features { background: var(--bg); border-top: 1px solid var(--ink-100); }

.bento {
    margin-top: 48px;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: minmax(200px, auto);
    grid-auto-flow: dense;
    gap: 18px;
}

.bento__cell {
    position: relative;
    padding: 32px;
    background: var(--bg-soft);
    border-radius: var(--r-2xl);
    border: 1px solid var(--ink-100);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
    transition: transform 320ms cubic-bezier(0.2, 0, 0, 1), box-shadow 320ms;
}

.bento__cell:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-card-lg);
}

.bento__cell--lg   { grid-column: span 8; grid-row: span 2; }
.bento__cell--md   { grid-column: span 6; }
.bento__cell--sm   { grid-column: span 4; }
.bento__cell--wide { grid-column: span 12; }

.bento__cell-content { display: flex; flex-direction: column; gap: 10px; }

.bento__tag {
    display: inline-block;
    align-self: flex-start;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    padding: 4px 10px;
    border-radius: var(--r-pill);
    background: rgba(0, 113, 227, 0.08);
}

.bento__cell h3 {
    margin: 6px 0 6px;
    font-size: clamp(20px, 1.7vw, 26px);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: var(--tracking-headline);
    color: var(--ink-900);
}

.bento__cell p {
    margin: 0;
    font-size: 15.5px;
    line-height: 1.5;
    color: var(--ink-700);
}

/* Hero cell - light gradient with vivid accent */
.bento__cell--dark {
    background: linear-gradient(165deg, #f8f0ff 0%, #fff0f5 50%, #f0f7ff 100%);
    border-color: rgba(141, 123, 255, 0.18);
    color: var(--ink-900);
    position: relative;
}

.bento__cell--dark::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(255, 138, 177, 0.18) 0%, transparent 65%);
    pointer-events: none;
}

.bento__cell--dark h3 { color: var(--ink-900); }
.bento__cell--dark p  { color: var(--ink-700); }
.bento__cell--dark .bento__tag {
    color: #6b3fbb;
    background: rgba(141, 123, 255, 0.14);
}

/* Accent cell */
.bento__cell--accent {
    background: linear-gradient(135deg, #ffe8d6 0%, #ffd9e8 50%, #d9e2ff 100%);
    border-color: transparent;
}

.bento__cell--accent .bento__tag {
    color: #6b3fbb;
    background: rgba(107, 63, 187, 0.12);
}

.bento__cell--gradient {
    background: linear-gradient(135deg, #f0f7ff 0%, #fff1f7 100%);
    border-color: transparent;
}

.bento__cell--wide {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    align-items: center;
    gap: 32px;
    min-height: 220px;
}

.bento__cell--wide .bento__cell-content { gap: 12px; }
.bento__cell--wide .bento__cell-visual {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

@media (max-width: 720px) {
    .bento__cell--wide {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .bento__cell--wide .bento__cell-visual { justify-content: flex-start; }
}

/* Bento visuals */
.dialog-strip {
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dialog-line {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.dialog-line__avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 12px;
    font-weight: 600;
    flex-shrink: 0;
}

.dialog-line__avatar--user {
    background: rgba(29, 29, 31, 0.08);
    color: var(--ink-700);
}

.dialog-line__avatar--brain {
    background: linear-gradient(135deg, #ff8ab1, #8d7bff 60%, #5cb6ff);
    color: #fff;
    box-shadow: 0 0 14px rgba(141, 123, 255, 0.32);
}

.dialog-line__text {
    background: rgba(255, 255, 255, 0.7);
    color: var(--ink-900);
    padding: 9px 13px;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.45;
    border: 1px solid rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
}

.dialog-line__text--brain {
    background: rgba(255, 255, 255, 0.92);
    color: var(--ink-900);
    line-height: 1.55;
    box-shadow: 0 4px 16px -8px rgba(141, 123, 255, 0.3);
}

.dialog-line__followup {
    display: inline-block;
    margin-top: 6px;
    color: #6b3fbb;
    font-style: italic;
    font-size: 12.5px;
}

.search-trio {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: auto;
}

.search-trio__chip {
    padding: 8px 14px;
    border-radius: var(--r-pill);
    background: rgba(0, 113, 227, 0.08);
    color: var(--accent);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: -0.005em;
}

.honest-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: rgba(20, 167, 108, 0.1);
    color: #14a76c;
    border-radius: var(--r-pill);
    font-size: 13px;
    font-weight: 600;
    align-self: flex-start;
}

.honest-badge svg { width: 16px; height: 16px; }

.reply-followup {
    margin-top: auto;
    padding: 14px 18px;
    background: rgba(255,255,255,0.6);
    border-radius: var(--r-md);
    font-size: 15px;
    color: var(--ink-700);
    font-style: italic;
    border: 1px solid rgba(255,255,255,0.8);
    backdrop-filter: blur(8px);
}

/* ---------- 8.5 COMPARISON ---------- */
.compare {
    background: var(--bg-alt);
    border-top: 1px solid var(--ink-100);
}

.compare__prompt {
    margin: 32px 0 36px;
    padding: 22px 28px;
    background: #fff;
    border-radius: var(--r-xl);
    border: 1px solid var(--ink-100);
    box-shadow: var(--shadow-card);
    display: flex;
    align-items: baseline;
    gap: 18px;
    flex-wrap: wrap;
    max-width: 820px;
}

.compare__prompt-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    flex-shrink: 0;
}

.compare__prompt p {
    margin: 0;
    font-size: 19px;
    color: var(--ink-900);
    font-weight: 500;
    letter-spacing: -0.01em;
    line-height: 1.4;
}

.compare__grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    align-items: stretch;
}

.compare__grid::before {
    content: 'VS';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff8ab1 0%, #8d7bff 60%, #5cb6ff 100%);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    display: grid;
    place-items: center;
    box-shadow:
        0 0 0 6px rgba(245, 245, 247, 1),
        0 8px 22px -8px rgba(141, 123, 255, 0.5);
    z-index: 2;
    pointer-events: none;
}

.compare__card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: var(--r-2xl);
    padding: 30px 32px 26px;
    border: 1px solid var(--ink-100);
    box-shadow: var(--shadow-card);
    transition: transform 320ms cubic-bezier(0.2, 0, 0, 1), box-shadow 320ms;
}

.compare__card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-card-lg);
}

.compare__card--brain {
    background: linear-gradient(165deg, #fbf8ff 0%, #fff5f9 60%, #f0f7ff 100%);
    border-color: rgba(141, 123, 255, 0.18);
}

.compare__card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 22px;
    flex-wrap: wrap;
}

.compare__chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: var(--r-pill);
    background: rgba(29, 29, 31, 0.06);
    color: var(--ink-700);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.compare__chip--brain {
    background: linear-gradient(135deg, #ff8ab1 0%, #8d7bff 60%, #5cb6ff 100%);
    color: #fff;
    box-shadow: 0 4px 14px -4px rgba(141, 123, 255, 0.5);
}

.compare__source {
    font-size: 12px;
    color: var(--ink-500);
    letter-spacing: -0.005em;
}

.compare__body {
    flex: 1;
    margin-bottom: 22px;
}

.compare__line {
    margin: 0 0 10px;
    font-size: 15px;
    line-height: 1.5;
    color: var(--ink-500);
    display: flex;
    gap: 8px;
}

.compare__line strong { color: var(--ink-700); font-weight: 600; white-space: nowrap; }

.compare__bullet {
    color: var(--ink-400);
    flex-shrink: 0;
    line-height: 1.5;
    font-weight: 700;
}

.compare__line--meta {
    margin-top: 16px;
    font-style: italic;
    color: var(--ink-400);
    padding-left: 16px;
}

.compare__quote {
    margin: 0 0 16px;
    font-size: 16.5px;
    line-height: 1.55;
    color: var(--ink-900);
    letter-spacing: -0.005em;
}

.compare__quote em {
    color: var(--ink-700);
    font-style: italic;
    background: linear-gradient(180deg, transparent 60%, rgba(255, 138, 177, 0.18) 60%);
    padding: 0 2px;
}

.compare__followup {
    margin: 0;
    padding: 12px 16px;
    border-left: 3px solid #8d7bff;
    background: rgba(141, 123, 255, 0.06);
    border-radius: 0 12px 12px 0;
    font-size: 14px;
    color: var(--ink-700);
    font-style: italic;
}

.compare__card-foot {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    padding-top: 18px;
    border-top: 1px solid var(--ink-100);
}

.compare__tag-neg,
.compare__tag-pos {
    display: inline-block;
    padding: 4px 10px;
    border-radius: var(--r-pill);
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: 0.01em;
}

.compare__tag-neg {
    background: rgba(193, 55, 42, 0.06);
    color: #c1372a;
}

.compare__tag-pos {
    background: rgba(20, 167, 108, 0.10);
    color: #14a76c;
}

@media (max-width: 820px) {
    .compare__grid { grid-template-columns: 1fr; }
    .compare__grid::before { display: none; }
    .compare__prompt p { font-size: 17px; }
    .compare__prompt {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 20px 22px;
    }
}

/* ---------- 9. USE CASES ---------- */
.use-cases {
    background: var(--gradient-warm);
    border-top: 1px solid var(--ink-100);
}

.use-grid {
    margin-top: 48px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}

.use-card {
    padding: 32px 28px 28px;
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.9);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-card);
    transition: transform 320ms ease, box-shadow 320ms ease;
}

.use-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card-lg); }

.use-card__visual {
    width: 56px;
    height: 56px;
    border-radius: var(--r-lg);
    background: linear-gradient(135deg, #fff 0%, #fbe7ef 100%);
    display: grid;
    place-items: center;
    margin-bottom: 20px;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.9), 0 6px 18px rgba(180, 100, 140, 0.18);
}

.use-card__emoji {
    font-size: 26px;
    color: var(--ink-900);
    font-weight: 600;
}

.use-card__visual svg {
    width: 26px;
    height: 26px;
    color: var(--ink-900);
}

.use-card h3 {
    margin: 0 0 10px;
    font-size: clamp(19px, 1.7vw, 22px);
    font-weight: 600;
    letter-spacing: var(--tracking-headline);
    color: var(--ink-900);
}

.use-card p {
    margin: 0;
    font-size: 15.5px;
    line-height: 1.55;
    color: var(--ink-700);
}

/* ---------- 9.5 TWO PATHS ---------- */
.paths {
    background: var(--bg);
    border-top: 1px solid var(--ink-100);
}

.paths__grid {
    margin-top: 48px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.path-card {
    position: relative;
    padding: 36px 36px 32px;
    background: #fff;
    border-radius: var(--r-2xl);
    border: 1px solid var(--ink-100);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    transition: transform 320ms cubic-bezier(0.2, 0, 0, 1), box-shadow 320ms;
}

.path-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-card-lg);
}

.path-card--create::before,
.path-card--receive::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 220px;
    height: 220px;
    pointer-events: none;
    opacity: 0.6;
    background: radial-gradient(circle at 80% 20%, rgba(0, 113, 227, 0.10) 0%, transparent 60%);
}

.path-card--receive::before {
    background: radial-gradient(circle at 80% 20%, rgba(141, 123, 255, 0.14) 0%, transparent 60%);
}

.path-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
    position: relative;
}

.path-card__num {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: linear-gradient(135deg, #f0f7ff 0%, #e6f0ff 100%);
    color: var(--accent);
    display: grid;
    place-items: center;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.path-card--receive .path-card__num {
    background: linear-gradient(135deg, #faf5ff 0%, #f0eaff 100%);
    color: #6b3fbb;
}

.path-card__platform {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ink-500);
    padding: 6px 12px;
    background: rgba(29, 29, 31, 0.04);
    border-radius: var(--r-pill);
}

.path-card h3 {
    margin: 0 0 12px;
    font-size: clamp(22px, 2vw, 26px);
    font-weight: 600;
    letter-spacing: var(--tracking-headline);
    color: var(--ink-900);
}

.path-card > p {
    margin: 0 0 22px;
    font-size: 16px;
    line-height: 1.55;
    color: var(--ink-700);
}

.path-card > p a {
    color: var(--link);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.path-card__list {
    margin: 0 0 26px;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.path-card__list li {
    position: relative;
    padding-left: 24px;
    font-size: 14.5px;
    line-height: 1.5;
    color: var(--ink-700);
}

.path-card__list li::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

.path-card--receive .path-card__list li::before {
    background: #8d7bff;
}

.path-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 10px 18px;
    border-radius: var(--r-pill);
    font-size: 14px;
    font-weight: 500;
    color: var(--accent);
    border: 1px solid rgba(0, 113, 227, 0.2);
    transition: background-color 200ms, border-color 200ms, transform 200ms;
}

.path-card__cta:hover {
    background: rgba(0, 113, 227, 0.06);
    border-color: rgba(0, 113, 227, 0.36);
    transform: translateX(2px);
}

.path-card--receive .path-card__cta {
    color: #6b3fbb;
    border-color: rgba(107, 63, 187, 0.22);
}

.path-card--receive .path-card__cta:hover {
    background: rgba(107, 63, 187, 0.06);
    border-color: rgba(107, 63, 187, 0.4);
}

@media (max-width: 820px) {
    .paths__grid { grid-template-columns: 1fr; }
}

/* ---------- 10. START / CTA ---------- */
.start { background: var(--bg); border-top: 1px solid var(--ink-100); }

.start__card {
    padding: clamp(40px, 6vw, 76px) clamp(28px, 5vw, 64px);
    background: linear-gradient(135deg, #ffffff 0%, #f5f5f7 100%);
    border-radius: var(--r-2xl);
    box-shadow: var(--shadow-card-lg);
    border: 1px solid var(--ink-100);
    text-align: center;
}

.start__title {
    margin: 0 0 16px;
    font-size: clamp(28px, 5.6vw, 64px);
    font-weight: 600;
    line-height: 1.06;
    letter-spacing: var(--tracking-display);
    color: var(--ink-900);
}

.start__lead {
    margin: 0 auto 36px;
    max-width: 640px;
    font-size: 18px;
    line-height: 1.5;
    color: var(--ink-700);
}

.start__lead a {
    color: var(--link);
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-thickness: 1px;
}

.start__steps {
    list-style: none;
    margin: 40px auto 0;
    padding: 0;
    max-width: 720px;
    text-align: left;
    counter-reset: step;
}

.start-step {
    position: relative;
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 22px;
    padding: 26px 0 28px;
}

.start-step:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 27px;
    top: 64px;
    bottom: -2px;
    width: 1px;
    background: linear-gradient(180deg, var(--ink-300) 0%, transparent 100%);
}

.start-step__num {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fff5ee 0%, #fde9f1 50%, #eef0ff 100%);
    color: var(--ink-900);
    display: grid;
    place-items: center;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 0 0 1px rgba(141, 123, 255, 0.18), 0 6px 18px -6px rgba(141, 123, 255, 0.32);
    margin-left: 6px;
}

.start-step__body h3 {
    margin: 8px 0 6px;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: var(--tracking-headline);
    color: var(--ink-900);
}

.start-step__body p {
    margin: 0 0 14px;
    font-size: 16px;
    line-height: 1.55;
    color: var(--ink-700);
}

.start-step__link {
    display: inline-flex;
    align-items: center;
    color: var(--accent);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: transform 200ms;
}

.start-step__link:hover { transform: translateX(2px); }

.start-step__cta {
    margin-top: 6px;
}

.start__id-helper {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--ink-100);
    border-radius: var(--r-xl);
    padding: 18px 20px;
    margin-top: 4px;
    backdrop-filter: blur(8px);
}

.start__label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ink-500);
    margin-bottom: 10px;
}

.start__input-row {
    display: flex;
    gap: 8px;
}

.start__input {
    flex: 1;
    padding: 12px 16px;
    border-radius: var(--r-md);
    border: 1px solid var(--ink-300);
    background: #fff;
    font-size: 16px; /* >=16px to prevent iOS auto-zoom on focus */
    color: var(--ink-900);
    font-family: 'SF Mono', 'JetBrains Mono', ui-monospace, monospace;
    letter-spacing: 0.01em;
    transition: border-color 200ms, box-shadow 200ms;
    min-width: 0;
}

.start__input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.18);
}

.start__copy-btn {
    white-space: nowrap;
    gap: 6px;
}

.start__copy-icon { display: inline-flex; }
.start__copy-icon svg { display: block; }

.start__copy-btn.is-copied {
    background: #14a76c;
}

@media (max-width: 540px) {
    .start__input-row { flex-direction: column; }
    .start__copy-btn  { width: 100%; }
    .start-step { grid-template-columns: 44px 1fr; gap: 14px; padding: 22px 0 24px; }
    .start-step__num { width: 36px; height: 36px; margin-left: 4px; font-size: 14px; }
    .start-step:not(:last-child)::before { left: 22px; top: 56px; }
    .start-step__body h3 { font-size: 19px; }
    .start__id-helper { padding: 14px 16px; }
    .start__lead { font-size: 15px; }
}

/* ---------- 11. FAQ ---------- */
.faq { background: var(--bg-alt); border-top: 1px solid var(--ink-100); }

.faq__list {
    margin-top: 48px;
    max-width: 880px;
}

.faq__item {
    border-top: 1px solid var(--ink-300);
    padding: 4px 0;
}

.faq__item:last-child { border-bottom: 1px solid var(--ink-300); }

.faq__item summary {
    list-style: none;
    cursor: pointer;
    padding: 20px 8px 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-size: clamp(15px, 1.6vw, 19px);
    font-weight: 500;
    color: var(--ink-900);
    letter-spacing: -0.01em;
    line-height: 1.4;
}

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

.faq__chev {
    font-size: 24px;
    line-height: 1;
    color: var(--ink-500);
    transition: transform 240ms cubic-bezier(0.2, 0, 0, 1);
    width: 24px;
    text-align: center;
    flex-shrink: 0;
}

.faq__item[open] .faq__chev { transform: rotate(45deg); color: var(--accent); }

.faq__content {
    padding: 0 8px 22px 0;
    font-size: clamp(14px, 1.4vw, 16px);
    line-height: 1.6;
    color: var(--ink-700);
    max-width: 720px;
}

.faq__content a {
    color: var(--link);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* ---------- 12. FINAL CTA ---------- */
.final-cta {
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: clamp(80px, 11vw, 140px) 0;
    background:
        radial-gradient(900px 500px at 20% 0%, #ffe8f3 0%, transparent 60%),
        radial-gradient(900px 500px at 100% 100%, #e2eaff 0%, transparent 60%),
        radial-gradient(900px 500px at 0% 100%, #fff1de 0%, transparent 60%),
        linear-gradient(180deg, #fffbf7 0%, #f8f4ff 100%);
    color: var(--ink-900);
    border-top: 1px solid var(--ink-100);
}

.final-cta__title {
    margin: 0 0 12px;
    font-size: clamp(30px, 6vw, 72px);
    font-weight: 600;
    line-height: 1.06;
    letter-spacing: var(--tracking-display);
    background: linear-gradient(180deg, #1d1d1f 0%, #1d1d1f 60%, #4a4a52 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.final-cta__sub {
    margin: 0 auto 40px;
    font-size: clamp(15px, 1.5vw, 19px);
    color: var(--ink-700);
    letter-spacing: -0.01em;
}

/* ---------- 13. FOOTER ---------- */
.footer {
    background: var(--bg);
    color: var(--ink-700);
    padding: 72px 0 32px;
    border-top: 1px solid var(--ink-100);
}

.footer__inner {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 56px;
    border-bottom: 1px solid var(--ink-100);
}

.footer__brand {
    display: block;
    font-size: 22px;
    font-weight: 600;
    color: var(--ink-900);
    letter-spacing: -0.01em;
}

.footer__tagline {
    margin: 12px 0 0;
    font-size: 14px;
    color: var(--ink-500);
    line-height: 1.5;
    max-width: 320px;
}

.footer__tagline a {
    color: var(--link);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.footer__col h4 {
    margin: 0 0 16px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ink-500);
    font-weight: 600;
}

.footer__col ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer__col ul a {
    font-size: 14px;
    color: var(--ink-700);
    transition: color 200ms ease;
}

.footer__col ul a:hover { color: var(--accent); }

.footer__ext {
    display: inline-block;
    font-size: 11px;
    color: var(--ink-400);
    margin-left: 2px;
    transition: transform 200ms;
}

.footer__col ul a:hover .footer__ext {
    color: var(--accent);
    transform: translate(1px, -1px);
}

.footer__bar {
    padding-top: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 12px;
    color: var(--ink-500);
}

.footer__legal a { color: var(--ink-500); }
.footer__legal a:hover { color: var(--accent); }

/* ---------- 14. RESPONSIVE ---------- */
@media (max-width: 920px) {
    .nav__menu { display: none; }
    .nav__cta-link { display: none; }
    .nav__toggle { display: flex; }

    .footer__inner {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .footer__col--brand { grid-column: 1 / -1; }

    .nav.is-open .nav__menu {
        display: flex;
        position: absolute;
        top: 56px;
        left: 0;
        right: 0;
        background: rgba(251, 251, 253, 0.96);
        backdrop-filter: saturate(180%) blur(20px);
        border-bottom: 1px solid var(--ink-100);
        flex-direction: column;
        gap: 4px;
        padding: 16px var(--gutter);
    }

    .nav.is-open .nav__menu a {
        padding: 14px 16px;
        font-size: 16px;
        display: block;
    }

    .nav.is-open .nav__cta-link {
        display: block;
        margin: 8px 16px 8px;
        text-align: left;
    }
}

@media (max-width: 960px) {
    .bento { grid-template-columns: repeat(6, 1fr); }
    .bento__cell--lg   { grid-column: span 6; grid-row: span 2; }
    .bento__cell--md   { grid-column: span 6; }
    .bento__cell--sm   { grid-column: span 3; }
    .bento__cell--wide { grid-column: span 6; }
}

@media (max-width: 720px) {
    .bento {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: auto;
    }
    .bento__cell--lg { grid-column: span 2; grid-row: auto; }
    .bento__cell--md { grid-column: span 2; }
    .bento__cell--sm { grid-column: span 1; }
    .bento__cell--wide { grid-column: span 2; }

    .start__input-row { flex-direction: column; }
    .start__open-btn  { width: 100%; }

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

@media (max-width: 480px) {
    .bento { grid-template-columns: 1fr; }
    .bento__cell--lg, .bento__cell--md, .bento__cell--sm, .bento__cell--wide { grid-column: span 1; }
    .bento__cell--lg { grid-row: auto; }

    .hero__actions { flex-direction: column; align-items: stretch; }
    .hero__actions .btn { width: 100%; }

    /* Tighter padding everywhere */
    .bento__cell { padding: 24px 22px; }
    .what__card { padding: 28px 24px 26px; }
    .step { padding: 28px 24px 24px; }
    .compare__card { padding: 24px 22px 22px; }
    .use-card { padding: 24px 22px 22px; }
    .path-card { padding: 28px 24px 26px; }
    .start__card { padding: 36px 22px 32px; }
}

/* ---------- 15. REVEAL ANIMATIONS ---------- */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 700ms cubic-bezier(0.2, 0, 0, 1), transform 700ms cubic-bezier(0.2, 0, 0, 1);
    will-change: opacity, transform;
}

.reveal.is-in {
    opacity: 1;
    transform: translateY(0);
}

.reveal--delay-1 { transition-delay: 80ms; }
.reveal--delay-2 { transition-delay: 160ms; }
.reveal--delay-3 { transition-delay: 240ms; }

@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;
    }
    .reveal { opacity: 1; transform: none; }
}

/* ---------- 16. SELECTION ---------- */
::selection {
    background: rgba(0, 113, 227, 0.18);
    color: var(--ink-900);
}

/* Skip link for keyboard users */
.skip-link {
    position: absolute;
    top: -100px;
    left: 12px;
    z-index: 9999;
    padding: 12px 18px;
    background: var(--accent);
    color: #fff;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: top 200ms ease;
}

.skip-link:focus {
    top: 12px;
    outline: 2px solid #fff;
    outline-offset: 2px;
}

/* Better focus visible */
:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 6px;
}

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

@keyframes shake {
    10%, 90% { transform: translateX(-2px); }
    20%, 80% { transform: translateX(3px); }
    30%, 50%, 70% { transform: translateX(-5px); }
    40%, 60% { transform: translateX(5px); }
}

.shake {
    animation: shake 0.45s cubic-bezier(0.36, 0.07, 0.19, 0.97);
    border-color: #c1372a !important;
}

::-webkit-scrollbar          { width: 12px; height: 12px; }
::-webkit-scrollbar-track    { background: transparent; }
::-webkit-scrollbar-thumb    {
    background: rgba(29, 29, 31, 0.18);
    border-radius: 999px;
    border: 3px solid var(--bg);
}
::-webkit-scrollbar-thumb:hover { background: rgba(29, 29, 31, 0.32); }
