/* ==========================================================
   Meaamor — Home page
   Standalone stylesheet for index.html (legal pages keep style.css)
   ========================================================== */

@font-face {
    font-family: 'Alpino';
    src: url('assets/fonts/Alpino-Variable.ttf') format('truetype-variations');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg: #FBF8F4;
    --surface: #FFFFFF;
    --ink: #211C30;
    --ink-2: #57526A;
    --muted: #8E899D;
    --line: rgba(33, 28, 48, 0.08);
    --line-strong: rgba(33, 28, 48, 0.14);

    --brand: #7E74AD;
    --brand-deep: #5C5285;
    --brand-soft: #B3A9D4;

    --lilac: #EEE9F9;
    --blush: #FBE4E2;
    --butter: #FCF1D8;
    --sage: #E6EFDC;
    --rose: #E8697D;
    --green: #3BAA7E;

    --night: #17131F;
    --night-2: #221C2E;

    --r-sm: 14px;
    --r-md: 22px;
    --r-lg: 32px;
    --r-xl: 44px;

    --shadow-sm: 0 1px 2px rgba(33, 28, 48, .05), 0 2px 8px rgba(33, 28, 48, .04);
    --shadow-md: 0 2px 4px rgba(33, 28, 48, .04), 0 12px 32px -8px rgba(33, 28, 48, .12);
    --shadow-lg: 0 4px 8px rgba(33, 28, 48, .04), 0 32px 64px -16px rgba(60, 45, 110, .28);

    --ease-out: cubic-bezier(.22, 1, .36, 1);
    --ease-spring: cubic-bezier(.34, 1.56, .64, 1);

    --container: 1180px;
    --gutter: clamp(16px, 4vw, 32px);
    --section-y: clamp(64px, 8vw, 112px);

    --serif: 'Instrument Serif', 'Times New Roman', serif;
    --sans: 'Alpino', ui-rounded, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; }
::selection { background: var(--brand); color: #fff; }

.skip-link {
    position: absolute; left: 16px; top: -60px; z-index: 200;
    background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px;
}
.skip-link:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 8px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container-narrow { max-width: 920px; }
.section { padding: var(--section-y) 0; position: relative; }
/* Adjacent light sections share one gap instead of stacking two */
.section:not(.privacy) + .section:not(.privacy) { padding-top: 0; }
.showcase { padding-top: var(--section-y); }

/* ---------- Type ---------- */
h1, h2, h3 { font-weight: 600; letter-spacing: -0.035em; line-height: 1.04; color: var(--ink); }
h1 em, h2 em {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 400;
    letter-spacing: -0.01em;
    color: var(--brand);
}
h2 { font-size: clamp(36px, 5.2vw, 64px); }
h3 { font-size: 22px; letter-spacing: -0.02em; line-height: 1.2; }

.section-head { max-width: 720px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.section-head p { margin-top: 20px; font-size: 19px; color: var(--ink-2); }

.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
    color: var(--brand-deep);
    margin-bottom: 20px;
}
.eyebrow::before {
    content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--brand);
    box-shadow: 0 0 0 4px rgba(126, 116, 173, .18);
}
.eyebrow-dark { color: var(--brand-soft); }
.eyebrow-dark::before { background: var(--brand-soft); box-shadow: 0 0 0 4px rgba(179, 169, 212, .18); }
.eyebrow-soon { color: #B4566A; }
.eyebrow-soon::before { background: var(--rose); box-shadow: 0 0 0 4px rgba(232, 105, 125, .2); animation: pulse 2s infinite; }

@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(232, 105, 125, 0); } }

.tick-list { display: grid; gap: 10px; margin-top: 24px; }
.tick-list li { display: flex; align-items: center; gap: 12px; color: var(--ink-2); font-size: 16px; }
.tick-list li::before {
    content: ''; flex: none; width: 20px; height: 20px; border-radius: 50%;
    background: var(--lilac) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235C5285' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; margin-top: 28px; }
.text-link svg { transition: transform .3s var(--ease-out); }
.text-link:hover svg { transform: translateX(4px); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font-weight: 600; border-radius: 999px; transition: transform .3s var(--ease-out), background .3s, box-shadow .3s;
}
.btn-sm { padding: 10px 18px; font-size: 15px; }
.btn-dark { background: var(--brand); color: #fff; box-shadow: 0 6px 16px -6px rgba(92, 82, 133, .6); }
.btn-dark:hover { background: var(--brand-deep); transform: translateY(-1px); }

.store-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.store-btn {
    display: inline-flex; align-items: center; gap: 12px;
    padding: 12px 22px 12px 18px; min-height: 58px;
    background: var(--brand); color: #fff; border-radius: 16px;
    box-shadow: 0 1px 0 rgba(255, 255, 255, .18) inset, 0 10px 24px -10px rgba(92, 82, 133, .75);
    transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background .3s;
}
.store-btn:not(.is-soon):hover { background: var(--brand-deep); transform: translateY(-3px); box-shadow: 0 1px 0 rgba(255, 255, 255, .18) inset, 0 18px 34px -12px rgba(92, 82, 133, .8); }
.store-glyph { width: 30px; height: 30px; flex: none; object-fit: contain; }
.store-text { display: flex; flex-direction: column; line-height: 1.1; font-size: 18px; font-weight: 600; letter-spacing: -.01em; text-align: left; }
.store-text small { font-size: 11px; font-weight: 500; opacity: .7; letter-spacing: .02em; }
.store-btn.is-soon { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong), var(--shadow-sm); cursor: default; }
.store-btn.is-soon .store-text small { opacity: .6; }
.store-btn-light { background: #fff; color: var(--ink); }
.store-btn-light:not(.is-soon):hover { background: #fff; }
.store-btn-ghost.is-soon { background: rgba(255, 255, 255, .08); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .3); }

/* ---------- Nav ---------- */
.nav {
    position: fixed; top: 14px; left: 0; right: 0; z-index: 100;
    padding: 0 var(--gutter);
    transition: transform .5s var(--ease-out);
}
.nav-inner {
    max-width: 980px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 8px 8px 8px 18px;
    border-radius: 999px;
    background: rgba(251, 248, 244, .6);
    border: 1px solid transparent;
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    transition: background .4s, border-color .4s, box-shadow .4s, backdrop-filter .4s;
}
.nav.is-scrolled .nav-inner {
    background: rgba(255, 255, 255, .72);
    border-color: var(--line);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(16px) saturate(1.4);
    -webkit-backdrop-filter: blur(16px) saturate(1.4);
}
.nav.is-hidden { transform: translateY(-120%); }
.nav-logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; letter-spacing: -.03em; }
.nav-links { display: flex; gap: 4px; }
.nav-links a {
    padding: 8px 14px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--ink-2);
    transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--ink); background: rgba(33, 28, 48, .05); }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(130px, 16vw, 180px); overflow: hidden; }
.hero-glow {
    position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(40% 45% at 50% 72%, rgba(179, 169, 212, .55), transparent 70%),
        radial-gradient(30% 30% at 22% 62%, rgba(251, 214, 210, .7), transparent 70%),
        radial-gradient(30% 30% at 80% 60%, rgba(252, 236, 200, .7), transparent 70%);
    filter: blur(20px);
}
.hero-copy { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }

.pill-badge {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 6px 14px 6px 6px; margin-bottom: 28px;
    background: rgba(255, 255, 255, .8); border: 1px solid var(--line); border-radius: 999px;
    font-size: 14px; font-weight: 500; color: var(--ink-2);
    box-shadow: var(--shadow-sm);
    transition: transform .3s var(--ease-out), box-shadow .3s;
}
.pill-badge:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.pill-badge-tag { background: var(--brand); color: #fff; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; }

.hero-title { font-size: clamp(48px, 8.4vw, 112px); max-width: 11ch; line-height: .98; letter-spacing: -.045em; }
.hero-title em { padding-right: .06em; }
.hero-sub { max-width: 560px; margin: 28px auto 36px; font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-2); }
.hero-note { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font-size: 14px; color: var(--muted); }

.hero-stage { position: relative; margin-top: clamp(48px, 6vw, 72px); height: clamp(420px, 46vw, 600px); }
.hero-stage::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 40%;
    background: linear-gradient(to bottom, rgba(251, 248, 244, 0), var(--bg) 92%);
    pointer-events: none; z-index: 5;
}
.hero-phones { position: relative; width: min(1000px, 100%); height: 100%; margin: 0 auto; }

/* ---------- Phone frame ---------- */
.phone {
    position: relative; width: 300px; aspect-ratio: 823 / 1663;
    isolation: isolate;
    filter: drop-shadow(0 30px 40px rgba(60, 45, 110, .22)) drop-shadow(0 4px 8px rgba(33, 28, 48, .08));
}
.phone-screen {
    position: absolute; inset: 1.2% 4.3%;
    border-radius: 14% / 6.7%;
    overflow: hidden; background: #F3F0FA;
}
.phone-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone::after {
    content: ''; position: absolute; z-index: 2; top: 2.6%; left: 50%; transform: translateX(-50%);
    width: 29%; height: 3.3%; border-radius: 999px; background: #0b0a0e;
}
.phone-frame { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 3; pointer-events: none; }

.hero-phones .phone { position: absolute; left: 50%; top: 0; will-change: transform; }
.phone-center { width: clamp(220px, 27vw, 310px); transform: translateX(-50%); z-index: 3; }
.phone-side { width: clamp(180px, 22vw, 260px); top: 60px !important; z-index: 2; }
.phone-left { transform: translateX(-50%) translateX(calc(-78% - var(--spread, 0px))) rotate(calc(-7deg - var(--tilt, 0deg))); }
.phone-right { transform: translateX(-50%) translateX(calc(78% + var(--spread, 0px))) rotate(calc(7deg + var(--tilt, 0deg))); }
.phone-center { translate: 0 var(--lift, 0px); }
.phone-side .phone-screen { filter: saturate(.95); }

.float-chip {
    position: absolute; z-index: 6;
    display: flex; align-items: center; gap: 12px;
    padding: 10px 16px 10px 10px;
    background: rgba(255, 255, 255, .88);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: 18px;
    box-shadow: var(--shadow-md);
    font-size: 14px; line-height: 1.25; white-space: nowrap;
    animation: bob 6s ease-in-out infinite;
}
.float-chip b { display: block; font-weight: 600; color: var(--ink); }
.float-chip small { display: block; font-size: 12px; color: var(--muted); }
.chip-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; }
.chip-icon-rose { background: #FDE3E6; color: var(--rose); }
.chip-icon-green { background: #DDF3E8; color: var(--green); }
.chip-avatars { display: flex; }
.chip-avatars img { width: 32px; height: 32px; border-radius: 50%; border: 2px solid #fff; background: var(--lilac); }
.chip-avatars img + img { margin-left: -10px; }
.chip-a { left: 4%; top: 14%; }
.chip-b { right: 3%; top: 30%; animation-delay: -2s; }
.chip-c { left: 12%; top: 52%; animation-delay: -4s; }
@keyframes bob { 50% { transform: translateY(-10px); } }

/* ---------- Draggable marquee ---------- */
.marquee {
    position: relative; z-index: 6;
    border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
    background: var(--surface);
    overflow: hidden; padding: 18px 0;
    cursor: grab; touch-action: pan-y;
    -webkit-user-select: none; user-select: none;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee.is-dragging { cursor: grabbing; }
.marquee:focus-visible { outline-offset: -4px; }
.marquee-track { display: flex; width: max-content; will-change: transform; }
.marquee-track li {
    display: flex; align-items: center; gap: 26px; padding-right: 26px; flex: none;
    font-size: 22px; font-weight: 500; letter-spacing: -.02em; color: var(--ink-2); white-space: nowrap;
    transition: color .3s;
}
.marquee-track li:hover { color: var(--brand-deep); }
.marquee-track li::after {
    content: ''; width: 14px; height: 14px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23B3A9D4'%3E%3Cpath d='M12 21s-7.5-4.6-9.6-9.3C.9 8.3 3 4.5 6.7 4.5c2 0 3.5 1.1 5.3 3 1.8-1.9 3.3-3 5.3-3 3.7 0 5.8 3.8 4.3 7.2C19.5 16.4 12 21 12 21z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---------- Arrow fill button (ObsidianUI-style) ---------- */
.arrow-btn {
    --ab-bg: var(--brand); --ab-text: #fff; --ab-fill: #fff; --ab-fill-text: var(--brand-deep);
    position: relative; display: inline-flex; align-items: center;
    height: 52px; padding: 0 60px 0 24px; border-radius: 999px; overflow: hidden;
    background: var(--ab-bg); color: var(--ab-text);
    font-size: 16px; font-weight: 600; white-space: nowrap;
    box-shadow: 0 10px 24px -10px rgba(92, 82, 133, .7);
    isolation: isolate;
}
.arrow-btn-label { position: relative; z-index: 1; }
.arrow-btn-fill {
    position: absolute; inset: -1px; z-index: 2;
    display: flex; align-items: center; padding: 0 60px 0 24px; border-radius: 999px;
    background: var(--ab-fill); color: var(--ab-fill-text);
    clip-path: inset(7px 7px 7px calc(100% - 45px) round 999px);
    transition: clip-path .5s cubic-bezier(.785, .135, .15, .86);
}
.arrow-btn-icon { position: absolute; right: 19px; width: 13px; height: 13px; overflow: hidden; fill: currentColor; }
.arrow-btn-icon path { transition: transform .5s cubic-bezier(.785, .135, .15, .86); transform-origin: center; }
.arrow-btn-icon path:first-child { transform: translateX(-120%) scale(0); }
.arrow-btn:is(:hover, :focus-visible) .arrow-btn-fill { clip-path: inset(0 round 999px); }
.arrow-btn:is(:hover, :focus-visible) .arrow-btn-icon path:first-child { transform: none; }
.arrow-btn:is(:hover, :focus-visible) .arrow-btn-icon path:last-child { transform: translateX(120%) scale(0); }
.arrow-btn-sm { height: 44px; padding: 0 52px 0 18px; font-size: 15px; }
.arrow-btn-sm .arrow-btn-fill { padding: 0 52px 0 18px; clip-path: inset(6px 6px 6px calc(100% - 38px) round 999px); }
.arrow-btn-sm .arrow-btn-icon { right: 16px; width: 11px; height: 11px; }
.arrow-btn-light { --ab-bg: #fff; --ab-text: var(--night); --ab-fill: var(--brand); --ab-fill-text: #fff; box-shadow: none; }
.privacy-cta { margin-top: 32px; }

/* ---------- Hero dotted grid + butterflies ---------- */
.hero-dots {
    position: absolute; inset: 0; pointer-events: none;
    background-image: radial-gradient(circle, rgba(92, 82, 133, .5) 1.1px, transparent 1.6px);
    background-size: 24px 24px;
    -webkit-mask-image: radial-gradient(circle 280px at var(--mx, 50%) var(--my, 30%), rgba(0,0,0,.9), rgba(0,0,0,.12) 60%, transparent 100%);
            mask-image: radial-gradient(circle 280px at var(--mx, 50%) var(--my, 30%), rgba(0,0,0,.9), rgba(0,0,0,.12) 60%, transparent 100%);
    opacity: .55;
}
.butterfly-layer { position: absolute; inset: 0; pointer-events: none; z-index: 8; overflow: hidden; }
.bfly { position: absolute; left: 0; top: 0; width: 26px; height: 26px; margin: -13px 0 0 -13px; will-change: transform, opacity; }
.bfly img { width: 100%; height: 100%; animation: flap .22s ease-in-out infinite alternate; transform-origin: center; filter: drop-shadow(0 2px 4px rgba(92, 82, 133, .25)); }
@keyframes flap { from { transform: scaleX(1); } to { transform: scaleX(.25); } }

/* ---------- Manifesto (scroll text fill) ---------- */
.manifesto { position: relative; height: 230vh; }
.manifesto-sticky { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; overflow: hidden; }
.manifesto-sticky::before {
    content: ''; position: absolute; left: 50%; top: 50%; width: 70vh; height: 70vh; transform: translate(-50%, -50%);
    border-radius: 50%; background: radial-gradient(circle, rgba(179, 169, 212, .35), transparent 65%); pointer-events: none;
}
.manifesto .container { position: relative; text-align: center; }
.manifesto-text {
    max-width: 22ch; margin: 0 auto;
    font-size: clamp(32px, 4.8vw, 68px); font-weight: 600; line-height: 1.12; letter-spacing: -.035em;
}
.fill-word { display: inline-block; white-space: nowrap; }
.fill-char { color: rgba(33, 28, 48, .14); transition: color .5s var(--ease-out); }
.fill-char.on { color: var(--ink); animation: fillFlash .6s var(--ease-out); }
.fill-word.accent .fill-char.on { color: var(--brand); }
@keyframes fillFlash { 0% { color: rgba(33, 28, 48, .14); } 35% { color: var(--brand-soft); } }

/* ---------- Chat section ---------- */
.chat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.chat-copy h2 { font-size: clamp(36px, 4.2vw, 56px); }
.chat-copy > p { margin-top: 20px; font-size: 18px; color: var(--ink-2); max-width: 460px; }
.chat-features { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 36px; }
.chat-features li {
    display: flex; flex-direction: column; gap: 14px; padding: 18px;
    background: var(--surface); border: 1px solid var(--line); border-radius: 20px;
    transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .3s;
}
.chat-features li:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: transparent; }
.cf-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--lilac); color: var(--brand-deep); }
.chat-features b { display: block; font-size: 16px; font-weight: 600; }
.chat-features li span:not(.cf-icon) { display: block; margin-top: 2px; font-size: 14px; color: var(--ink-2); line-height: 1.45; }

.chat-mock {
    position: relative; max-width: 420px; width: 100%; margin: 0 auto;
    background: #fff; border-radius: 32px; overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: 0 1px 2px rgba(33, 28, 48, .04), 0 40px 80px -30px rgba(76, 62, 140, .4);
}
.chat-mock::before {
    content: ''; position: absolute; inset: -40% -40% auto auto; width: 70%; aspect-ratio: 1; border-radius: 50%;
    background: radial-gradient(circle, rgba(179, 169, 212, .25), transparent 70%); pointer-events: none;
}
.cm-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: #C9C0EE; }
.cm-head img { width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 2px solid #fff; }
.cm-head b { display: block; font-size: 16px; font-weight: 600; line-height: 1.2; }
.cm-head div span { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--brand-deep); }
.cm-head i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.cm-lock { margin-left: auto; color: var(--brand-deep); }
.cm-pinned { display: flex; align-items: center; gap: 8px; padding: 10px 18px; font-size: 13px; color: var(--ink-2); background: #F5F2FC; border-bottom: 1px solid var(--line); }
.cm-pinned svg { color: var(--brand); flex: none; }
.cm-pinned b { color: var(--brand-deep); font-weight: 600; margin-right: 4px; }
.cm-body { display: flex; flex-direction: column; gap: 8px; padding: 16px; min-height: 420px; background: #FBFAFE; }
.cm-day { align-self: center; font-size: 11px; font-weight: 600; color: var(--muted); background: #fff; border: 1px solid var(--line); padding: 3px 10px; border-radius: 999px; margin-bottom: 4px; }
.cm-msg {
    position: relative; max-width: 78%; padding: 10px 14px; border-radius: 18px; font-size: 14.5px; line-height: 1.4;
    opacity: 0; transform: translateY(10px) scale(.96);
    transition: opacity .45s var(--ease-out), transform .55s var(--ease-spring);
}
.cm-msg.is-in { opacity: 1; transform: none; }
.cm-msg.them { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 6px; transform-origin: bottom left; }
.cm-msg.me { align-self: flex-end; background: var(--brand); color: #fff; border-bottom-right-radius: 6px; transform-origin: bottom right; }
.cm-quote { font-size: 12.5px; padding: 6px 10px; margin-bottom: 6px; border-radius: 10px; background: rgba(255, 255, 255, .16); border-left: 3px solid #fff; opacity: .9; }
.cm-react {
    position: absolute; right: 12px; bottom: -13px; font-size: 13px; line-height: 1;
    background: #fff; border-radius: 999px; padding: 4px 6px; box-shadow: var(--shadow-sm);
    transform: scale(0); transition: transform .5s var(--ease-spring) .5s;
}
.cm-msg.is-in .cm-react { transform: scale(1); }
.cm-msg.me:has(.cm-react) { margin-bottom: 10px; }
.cm-ticks { margin-left: 8px; font-size: 11px; letter-spacing: -2px; opacity: .8; }
.cm-reel { padding: 6px; width: 230px; }
.cm-reel-thumb {
    position: relative; height: 128px; border-radius: 13px; overflow: hidden;
    background: linear-gradient(160deg, #F7B38C 0%, #E8697D 45%, #6D63A0 100%);
}
.cm-reel-thumb::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 42%; background: linear-gradient(transparent, rgba(23, 19, 31, .45)); }
.cm-reel-thumb::before { content: ''; position: absolute; left: 50%; top: 58%; width: 120%; height: 60%; transform: translateX(-50%); border-radius: 50% 50% 0 0; background: rgba(33, 28, 48, .35); }
.cm-play { position: absolute; left: 50%; top: 44%; z-index: 2; width: 36px; height: 36px; margin: -18px 0 0 -18px; border-radius: 50%; background: rgba(255, 255, 255, .9); }
.cm-play::after { content: ''; position: absolute; left: 14px; top: 11px; border-left: 11px solid var(--ink); border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.cm-reel-meta { padding: 8px 6px 2px; }
.cm-reel-meta b { display: block; font-size: 13.5px; font-weight: 600; }
.cm-reel-meta small { font-size: 12px; color: var(--muted); }
.cm-voice { display: flex; align-items: center; gap: 10px; width: 230px; }
.cm-voice small { font-size: 12px; color: var(--muted); }
.cm-voice-btn { position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--brand); }
.cm-voice-btn::after { content: ''; position: absolute; left: 11px; top: 9px; border-left: 10px solid #fff; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.cm-voice.is-playing .cm-voice-btn::after { left: 10px; top: 9px; width: 10px; height: 12px; border: 0; border-left: 3px solid #fff; border-right: 3px solid #fff; box-sizing: border-box; }
.cm-wave { flex: 1; display: flex; align-items: center; gap: 2px; height: 24px; }
.cm-wave i { flex: 1; height: calc(var(--h, .5) * 100%); min-height: 3px; border-radius: 2px; background: rgba(126, 116, 173, .3); transition: background .2s; }
.cm-voice.is-playing .cm-wave i { animation: wave 1s ease-in-out infinite alternate; animation-delay: calc(var(--k) * -70ms); }
.cm-wave i.played { background: var(--brand); }
@keyframes wave { to { transform: scaleY(.45); } }
.cm-input { display: flex; align-items: center; justify-content: space-between; margin: 0 12px 12px; padding: 8px 8px 8px 16px; border-radius: 999px; background: #F3F0FA; font-size: 14px; color: var(--muted); }
.cm-mic { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: #fff; }

/* ---------- Anniversary bento ---------- */
.anniv-demo {
    position: relative; flex: 1; min-height: 190px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    border-radius: 22px; background: linear-gradient(160deg, #FDF0F1, #F4EEFC);
    overflow: hidden;
}
.anniv-kicker { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--rose); }
.anniv-num { font-size: 84px; line-height: 1; font-weight: 700; letter-spacing: -.05em; color: var(--ink); font-variant-numeric: tabular-nums; }
.anniv-num span { display: inline-block; transition: transform .45s var(--ease-spring), opacity .3s; }
.anniv-num span.tick { transform: translateY(-40%) scale(.8); opacity: 0; }
.anniv-unit { font-size: 15px; color: var(--ink-2); }
.anniv-confetti i {
    position: absolute; left: 50%; top: 50%; width: 8px; height: 12px; border-radius: 2px; opacity: 0;
    background: var(--c, var(--brand));
}
.anniv-confetti i:nth-child(3n) { --c: var(--rose); }
.anniv-confetti i:nth-child(3n+1) { --c: #F5C451; }
.anniv-demo.is-party .anniv-confetti i { animation: confetti 1.3s var(--ease-out) forwards; }
@keyframes confetti {
    0% { opacity: 1; transform: translate(-50%, -50%) rotate(0); }
    100% { opacity: 0; transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) rotate(var(--r)); }
}
.anniv-confetti i:nth-child(1) { --dx: -120px; --dy: -70px; --r: 220deg; }
.anniv-confetti i:nth-child(2) { --dx: 110px; --dy: -80px; --r: -200deg; }
.anniv-confetti i:nth-child(3) { --dx: -90px; --dy: 60px; --r: 160deg; }
.anniv-confetti i:nth-child(4) { --dx: 130px; --dy: 40px; --r: -240deg; }
.anniv-confetti i:nth-child(5) { --dx: -40px; --dy: -95px; --r: 300deg; }
.anniv-confetti i:nth-child(6) { --dx: 50px; --dy: 90px; --r: -150deg; }
.anniv-confetti i:nth-child(7) { --dx: -140px; --dy: 10px; --r: 120deg; }
.anniv-confetti i:nth-child(8) { --dx: 150px; --dy: -20px; --r: -320deg; }
.anniv-confetti i:nth-child(9) { --dx: 20px; --dy: -100px; --r: 260deg; }
.anniv-confetti i:nth-child(10) { --dx: -70px; --dy: 95px; --r: -280deg; }

/* ---------- Premium scroll stack ---------- */
.stack { position: relative; max-width: 1000px; margin: 0 auto; }
.stack-card {
    position: sticky; top: calc(110px + var(--i) * 22px);
    display: grid; grid-template-columns: 1.05fr .95fr; gap: 32px; align-items: center;
    min-height: 380px; margin-bottom: 28px;
    padding: clamp(28px, 4vw, 52px);
    border-radius: var(--r-xl); border: 1px solid var(--line);
    transform-origin: 50% 0;
    transform: scale(var(--s, 1));
    filter: brightness(var(--b, 1));
    box-shadow: 0 -10px 40px -20px rgba(33, 28, 48, .18);
}
.stack-card:last-child { margin-bottom: 0; }
.sc-lilac { background: #ECE6FA; }
.sc-night { background: var(--night); color: #EDEAF5; border-color: transparent; }
.sc-blush { background: #FBE4E2; }
.sc-butter { background: #FCF1D8; }
.stack-num { font-family: var(--serif); font-style: italic; font-size: 26px; color: var(--brand); }
.sc-night .stack-num { color: var(--brand-soft); }
.stack-copy h3 { font-size: clamp(28px, 3.2vw, 42px); letter-spacing: -.035em; line-height: 1.08; margin: 10px 0 14px; }
.sc-night h3 { color: #fff; }
.stack-copy p { font-size: 18px; color: var(--ink-2); max-width: 420px; }
.sc-night p { color: #B9B4C9; }
.stack-art { display: flex; align-items: center; justify-content: center; min-height: 240px; position: relative; }
.art-couple { gap: 0; flex-wrap: wrap; }
.ac-face { width: 96px; height: 96px; border-radius: 50%; background: #fff; border: 4px solid #fff; box-shadow: var(--shadow-md); overflow: hidden; }
.ac-face img { width: 100%; height: 100%; }
.ac-link { display: grid; place-items: center; width: 48px; height: 48px; margin: 0 -10px; z-index: 1; border-radius: 50%; background: var(--brand); color: #fff; box-shadow: 0 0 0 4px #ECE6FA; animation: beat 1.6s var(--ease-out) infinite; }
@keyframes beat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.14); } 30% { transform: scale(1); } 45% { transform: scale(1.08); } }
.ac-badge { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 13px; font-weight: 600; color: var(--brand-deep); background: #fff; padding: 7px 14px; border-radius: 999px; box-shadow: var(--shadow-sm); }
.art-shield { color: var(--brand-soft); }
.art-shield svg { filter: drop-shadow(0 0 30px rgba(179, 169, 212, .45)); }
.art-cards { flex-direction: column; gap: 0; }
.art-cards span {
    width: min(300px, 100%); padding: 16px 18px; border-radius: 18px; background: #fff; box-shadow: var(--shadow-md);
    font-size: 15px; font-weight: 500; line-height: 1.35;
}
.art-cards span:nth-child(1) { transform: rotate(-4deg) translateX(-18px); }
.art-cards span:nth-child(2) { transform: rotate(3deg) translateX(20px); margin-top: -8px; }
.art-cards span:nth-child(3) { transform: rotate(-2deg); margin-top: -8px; }
.art-swatches { display: grid; grid-template-columns: repeat(3, 72px); gap: 14px; }
.art-swatches span { width: 72px; height: 96px; border-radius: 18px; background: var(--c); box-shadow: var(--shadow-sm), inset 0 0 0 1px rgba(33, 28, 48, .06); transition: transform .4s var(--ease-spring); }
.art-swatches span:nth-child(2n) { transform: translateY(14px); }
.stack-card:hover .art-swatches span { transform: translateY(-4px); }
.premium-cta { display: flex; justify-content: center; margin-top: 48px; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
    padding: 12px 12px 32px;
    transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.step-art { border-radius: 24px; height: 220px; display: grid; place-items: center; overflow: hidden; margin-bottom: 28px; }
.step-art img { width: 70%; max-height: 180px; object-fit: contain; transition: transform .8s var(--ease-out); }
.step:hover .step-art img { transform: scale(1.06) rotate(-2deg); }
.step-art-lilac { background: var(--lilac); }
.step-art-blush { background: var(--blush); }
.step-art-butter { background: var(--butter); }
.step-num { display: block; padding: 0 20px; font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--brand); }
.step h3, .step p { padding: 0 20px; }
.step h3 { margin: 6px 0 10px; }
.step p { color: var(--ink-2); font-size: 16px; }

/* ---------- Sticky showcase ---------- */
.showcase { background: linear-gradient(to bottom, var(--bg), #F5F1FB 20%, #F5F1FB 80%, var(--bg)); }
.showcase-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); }
.showcase-item {
    min-height: 66vh; display: flex; flex-direction: column; justify-content: center;
    max-width: 440px;
    opacity: .28; transition: opacity .6s var(--ease-out);
}
.showcase-item.is-active { opacity: 1; }
.showcase-item:first-child { min-height: 50vh; justify-content: flex-start; padding-top: 18vh; }
.showcase-item:last-child { min-height: 0; padding: 14vh 0 22vh; }
.showcase-kicker {
    align-self: flex-start;
    font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
    color: var(--brand-deep); background: var(--lilac);
    padding: 6px 12px; border-radius: 999px; margin-bottom: 20px;
}
.showcase-item h3 { font-size: clamp(30px, 3.4vw, 44px); letter-spacing: -.035em; line-height: 1.08; }
.showcase-item p { margin-top: 16px; font-size: 18px; color: var(--ink-2); }
.showcase-mobile-shot { display: none; }

.showcase-stage {
    position: sticky; top: 0; height: 100vh;
    display: flex; align-items: center; justify-content: center;
}
.showcase-blob {
    position: absolute; width: 80%; aspect-ratio: 1; border-radius: 50%;
    background: radial-gradient(circle, rgba(179, 169, 212, .55), rgba(179, 169, 212, 0) 65%);
    transition: background .8s;
}
.phone-showcase { width: clamp(260px, 25vw, 320px); }
.phone-showcase .phone-screen img {
    position: absolute; inset: 0;
    opacity: 0; transform: scale(1.04); filter: blur(6px);
    transition: opacity .6s var(--ease-out), transform .8s var(--ease-out), filter .6s var(--ease-out);
}
.phone-showcase .phone-screen img.is-active { opacity: 1; transform: none; filter: none; }
.showcase-dots { position: absolute; right: 0; top: 50%; transform: translateY(-50%); display: grid; gap: 10px; }
.showcase-dots span { width: 6px; height: 6px; border-radius: 6px; background: var(--line-strong); transition: height .4s var(--ease-out), background .4s; }
.showcase-dots span.is-active { height: 28px; background: var(--brand); }

/* ---------- Bento ---------- */
.bento {
    display: grid; gap: 16px;
    grid-template-columns: repeat(6, 1fr);
    grid-template-areas:
        "sync sync sync sync chat chat"
        "sync sync sync sync off off"
        "link link time time lock lock";
}
.bento-card {
    position: relative; overflow: hidden;
    border-radius: var(--r-lg); padding: 32px;
    border: 1px solid var(--line);
    display: flex; flex-direction: column; gap: 24px;
    transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.bento-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.bento-copy h3 { font-size: 24px; }
.bento-copy p { margin-top: 8px; color: var(--ink-2); font-size: 16px; max-width: 46ch; }
.bg-lilac { background: var(--lilac); }
.bg-blush { background: var(--blush); }
.bg-butter { background: var(--butter); }
.bg-sage { background: var(--sage); }
.bg-white { background: var(--surface); }
.bento-sync { grid-area: sync; justify-content: space-between; }
.bento-chat { grid-area: chat; }
.bento-offline { grid-area: off; flex-direction: row; align-items: center; }
.bento-link { grid-area: link; }
.bento-timeline { grid-area: time; }
.bento-lock { grid-area: lock; }

/* Sync demo */
.sync-demo { display: grid; gap: 12px; background: rgba(255, 255, 255, .6); border: 1px solid rgba(255, 255, 255, .9); border-radius: 24px; padding: 20px; }
.sync-person { display: flex; align-items: center; gap: 14px; }
.sync-person img { width: 52px; height: 52px; border-radius: 50%; background: #fff; border: 2px solid #fff; box-shadow: var(--shadow-sm); }
.sync-options { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; background: #fff; border-radius: 14px; padding: 5px; }
.sync-options span { text-align: center; font-size: 14px; font-weight: 500; color: var(--muted); padding: 8px 0; border-radius: 10px; transition: background .4s var(--ease-out), color .4s; }
.sync-options span.is-on { background: var(--brand-deep); color: #fff; }
.sync-person:nth-child(2) .sync-options span.is-on { background: var(--brand); }
.sync-result {
    justify-self: center; display: inline-flex; align-items: center; gap: 8px;
    margin-top: 6px; padding: 8px 16px; border-radius: 999px;
    background: #fff; color: var(--rose); font-weight: 600; font-size: 15px;
    box-shadow: var(--shadow-sm);
    transform: scale(.9); opacity: 0; transition: transform .6s var(--ease-spring), opacity .4s;
}
.sync-demo.is-synced .sync-result { transform: none; opacity: 1; }

/* Chat demo */
.chat-demo { display: flex; flex-direction: column; gap: 8px; flex: 1; justify-content: flex-end; min-height: 200px; }
.bubble {
    max-width: 85%; padding: 10px 14px; border-radius: 18px; font-size: 15px; line-height: 1.35;
    opacity: 0; transform: translateY(10px) scale(.96); transform-origin: bottom left;
    transition: opacity .4s var(--ease-out), transform .5s var(--ease-spring);
}
.bubble-them { background: var(--lilac); color: var(--ink); border-bottom-left-radius: 6px; align-self: flex-start; }
.bubble-me { background: var(--brand); color: #fff; border-bottom-right-radius: 6px; align-self: flex-end; transform-origin: bottom right; }
.bubble.is-in { opacity: 1; transform: none; }
.typing { display: flex; gap: 4px; padding: 12px 14px; background: var(--lilac); border-radius: 18px; border-bottom-left-radius: 6px; align-self: flex-start; opacity: 0; transition: opacity .3s; }
.typing.is-in { opacity: 1; }
.typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); animation: typing 1.2s infinite; }
.typing span:nth-child(2) { animation-delay: .15s; }
.typing span:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { transform: none; opacity: .4; } 30% { transform: translateY(-4px); opacity: 1; } }

/* Code demo */
.code-demo { display: flex; gap: 8px; margin-top: auto; }
.code-demo span {
    flex: 1; aspect-ratio: .85; max-width: 52px; display: grid; place-items: center;
    background: #fff; border-radius: 12px; font-size: 22px; font-weight: 700; color: var(--ink);
    box-shadow: var(--shadow-sm);
    opacity: 0; transform: translateY(12px);
    transition: opacity .4s, transform .5s var(--ease-spring);
    transition-delay: calc(var(--i, 0) * 90ms);
}
.code-demo.is-in span { opacity: 1; transform: none; }

/* Timeline demo */
.timeline-demo { position: relative; display: grid; gap: 14px; padding-left: 22px; margin-top: auto; }
.timeline-demo::before { content: ''; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 2px; background: rgba(232, 105, 125, .25); border-radius: 2px; }
.timeline-demo li { position: relative; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 15px; }
.timeline-demo .dot { position: absolute; left: -22px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2.5px solid var(--rose); }
.timeline-demo small { color: var(--muted); font-size: 13px; }

/* PIN demo */
.pin-demo { display: flex; gap: 14px; justify-content: center; padding: 22px 0 6px; }
.pin-demo span { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--ink); transition: background .2s, transform .3s var(--ease-spring); }
.pin-demo span.is-on { background: var(--ink); transform: scale(1.1); }
.pin-demo.is-ok span { border-color: var(--green); background: var(--green); }

.offline-icon { flex: none; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: var(--lilac); color: var(--brand-deep); }

/* ---------- Privacy (dark) ---------- */
.privacy {
    background: var(--night); color: #EDEAF5;
    border-radius: var(--r-xl); margin: 0 clamp(8px, 1.5vw, 20px);
    overflow: hidden;
}
.privacy::before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(50% 60% at 78% 35%, rgba(126, 116, 173, .35), transparent 70%);
}
.privacy h2 { color: #fff; }
.privacy h2 em { color: var(--brand-soft); }
.privacy p { color: #B9B4C9; }
.privacy .text-link { color: #fff; }
.privacy-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.privacy-copy p { margin-top: 22px; font-size: 19px; max-width: 520px; }
.privacy-visual { display: grid; place-items: center; }
.lock-orbit { position: relative; width: min(440px, 100%); aspect-ratio: 1; display: grid; place-items: center; }
.orbit-ring { position: absolute; border-radius: 50%; border: 1px solid rgba(179, 169, 212, .18); }
.orbit-ring.r1 { inset: 0; animation: spin 40s linear infinite; }
.orbit-ring.r2 { inset: 12%; border-style: dashed; animation: spin 30s linear infinite reverse; }
.orbit-ring.r3 { inset: 24%; border-color: rgba(179, 169, 212, .3); }
.orbit-ring.r1::after, .orbit-ring.r2::after {
    content: ''; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; border-radius: 50%;
    background: var(--brand-soft); box-shadow: 0 0 16px 4px rgba(179, 169, 212, .6);
}
@keyframes spin { to { transform: rotate(360deg); } }
.phone-privacy { width: 44%; min-width: 170px; filter: drop-shadow(0 30px 50px rgba(126, 116, 173, .45)); }

.privacy-points { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 80px; background: rgba(255, 255, 255, .08); border-radius: var(--r-md); overflow: hidden; }
.privacy-point { background: var(--night-2); padding: 28px 24px 32px; }
.privacy-point svg { color: var(--brand-soft); margin-bottom: 18px; }
.privacy-point h3 { color: #fff; font-size: 18px; margin-bottom: 8px; }
.privacy-point p { font-size: 15px; }

/* ---------- Compare ---------- */
.compare { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 12px; box-shadow: var(--shadow-sm); }
.compare-head, .compare-row { display: grid; grid-template-columns: 1fr 1fr 1.1fr; align-items: center; }
.compare-head span, .compare-row span { padding: 18px 20px; }
.compare-head { font-weight: 600; font-size: 15px; color: var(--muted); }
.compare-us { display: flex; align-items: center; gap: 8px; color: var(--ink) !important; background: var(--lilac); border-radius: 18px 18px 0 0; }
.compare-row { border-top: 1px solid var(--line); font-size: 16px; }
.compare-row span:first-child { font-weight: 600; }
.compare-row span:nth-child(2) { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(142, 137, 157, .5); }
.compare-row span:nth-child(3) { background: var(--lilac); font-weight: 600; color: var(--brand-deep); display: flex; align-items: center; gap: 10px; }
.compare-row span:nth-child(3)::before {
    content: ''; flex: none; width: 18px; height: 18px; border-radius: 50%;
    background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 10px no-repeat;
}
.compare-row:last-child span:nth-child(3) { border-radius: 0 0 18px 18px; }

/* ---------- AI matchmaking ---------- */
.ai-card {
    display: grid; grid-template-columns: 1fr 1.02fr; gap: clamp(32px, 5vw, 72px); align-items: center;
    padding: clamp(28px, 5vw, 64px);
    border-radius: var(--r-xl);
    background:
        radial-gradient(55% 70% at 100% 0%, rgba(251, 214, 210, .55), transparent 65%),
        radial-gradient(55% 70% at 0% 100%, rgba(214, 206, 240, .7), transparent 65%),
        #F4F0FB;
    border: 1px solid rgba(126, 116, 173, .14);
}
.ai-copy h2 { font-size: clamp(34px, 4.2vw, 54px); }
.ai-copy > p { margin-top: 20px; font-size: 18px; color: var(--ink-2); max-width: 480px; }

.ai-steps { display: grid; gap: 4px; margin-top: 32px; }
.ai-steps li { display: flex; gap: 16px; align-items: flex-start; padding: 14px 0; border-top: 1px solid rgba(126, 116, 173, .14); }
.ai-steps li:first-child { border-top: 0; }
.ai-step-icon {
    flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
    background: #fff; color: var(--brand-deep); box-shadow: var(--shadow-sm);
}
.ai-steps b { display: block; font-weight: 600; font-size: 17px; letter-spacing: -.01em; }
.ai-steps li span:not(.ai-step-icon) { display: block; margin-top: 2px; font-size: 15px; color: var(--ink-2); line-height: 1.5; }

.agent-demo {
    position: relative;
    background: rgba(255, 255, 255, .86);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: 28px; padding: 8px;
    box-shadow: 0 1px 2px rgba(33, 28, 48, .04), 0 24px 60px -20px rgba(76, 62, 140, .35);
}
.agent-head { display: flex; align-items: center; gap: 14px; padding: 14px 14px 16px; border-bottom: 1px solid var(--line); }
.agent-pair { display: flex; align-items: center; flex: none; }
.agent-face { position: relative; width: 40px; height: 40px; border-radius: 50%; background: var(--lilac); box-shadow: 0 0 0 2px #fff; }
.agent-face img { width: 100%; height: 100%; border-radius: 50%; }
.agent-face + .agent-bridge + .agent-face { background: var(--blush); }
.agent-badge {
    position: absolute; right: -3px; bottom: -3px; width: 16px; height: 16px; border-radius: 50%;
    background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M12 2l1.8 5.6L19.5 9l-5.7 1.5L12 16l-1.8-5.5L4.5 9l5.7-1.4z'/%3E%3C/svg%3E") center / 10px no-repeat;
    box-shadow: 0 0 0 2px #fff;
}
.agent-bridge { position: relative; width: 28px; height: 2px; margin: 0 2px; background: var(--line-strong); border-radius: 2px; overflow: hidden; }
.agent-bridge span { position: absolute; inset: 0; width: 50%; background: linear-gradient(90deg, transparent, var(--brand), transparent); animation: link 1.4s linear infinite; }
@keyframes link { from { transform: translateX(-100%); } to { transform: translateX(200%); } }
.agent-head-text { min-width: 0; line-height: 1.3; }
.agent-head-text b { display: block; font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.agent-state { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.agent-state em { font-style: normal; }
.agent-state i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(59, 170, 126, .18); animation: pulse-green 1.8s infinite; }
@keyframes pulse-green { 50% { box-shadow: 0 0 0 6px rgba(59, 170, 126, 0); } }

.agent-feed {
    display: flex; flex-direction: column; justify-content: flex-end; gap: 10px;
    height: 292px; padding: 16px 14px; overflow: hidden;
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 18%);
            mask-image: linear-gradient(to bottom, transparent, #000 18%);
}
.agent-msg { display: flex; align-items: flex-end; gap: 8px; max-width: 88%; animation: msgIn .55s var(--ease-spring) both; }
.agent-msg img { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--lilac); }
.agent-msg p { padding: 10px 14px; border-radius: 18px; font-size: 14.5px; line-height: 1.4; }
.agent-msg.from-a p { background: #F1EEF8; color: var(--ink); border-bottom-left-radius: 6px; }
.agent-msg.from-b { align-self: flex-end; flex-direction: row-reverse; }
.agent-msg.from-b img { background: var(--blush); }
.agent-msg.from-b p { background: var(--brand); color: #fff; border-bottom-right-radius: 6px; }
.agent-msg.is-typing p { display: flex; gap: 4px; padding: 14px 16px; }
.agent-msg.is-typing p span { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .5; animation: typing 1.2s infinite; }
.agent-msg.is-typing p span:nth-child(2) { animation-delay: .15s; }
.agent-msg.is-typing p span:nth-child(3) { animation-delay: .3s; }
@keyframes msgIn { from { opacity: 0; transform: translateY(10px) scale(.96); } }

.agent-result {
    display: flex; align-items: center; gap: 14px;
    margin: 0 6px 6px; padding: 14px 16px;
    border-radius: 20px; background: #F7F4FC; border: 1px solid rgba(126, 116, 173, .12);
    opacity: 0; transform: translateY(12px);
    transition: opacity .5s var(--ease-out), transform .6s var(--ease-spring);
}
.agent-result.is-in { opacity: 1; transform: none; }
.score-ring { position: relative; width: 56px; height: 56px; flex: none; display: grid; place-items: center; }
.score-ring svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.score-ring circle { fill: none; stroke-width: 4; }
.ring-bg { stroke: rgba(126, 116, 173, .15); }
.ring-fg { stroke: var(--brand); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.4s var(--ease-out); }
.agent-result.is-in .ring-fg { stroke-dashoffset: 18; }
.score-ring b { font-size: 14px; font-weight: 700; letter-spacing: -.02em; color: var(--brand-deep); font-variant-numeric: tabular-nums; }
.agent-result-body { flex: 1; min-width: 0; }
.agent-result-body > b { display: block; font-size: 15px; font-weight: 600; }
.agent-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.agent-tags span { font-size: 12px; font-weight: 500; color: var(--brand-deep); background: #fff; border: 1px solid rgba(126, 116, 173, .18); padding: 3px 9px; border-radius: 999px; }
.agent-intro { flex: none; font-size: 14px; font-weight: 600; color: #fff; background: var(--brand); padding: 9px 16px; border-radius: 999px; box-shadow: 0 6px 16px -6px rgba(92, 82, 133, .6); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-intro { position: sticky; top: 120px; }
.faq-intro p { margin-top: 20px; color: var(--ink-2); font-size: 18px; }
.faq-intro a { color: var(--brand-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.faq-list { display: grid; gap: 10px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); transition: box-shadow .3s, border-color .3s; }
.faq-item[open] { box-shadow: var(--shadow-md); border-color: transparent; }
.faq-item summary {
    list-style: none; cursor: pointer;
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
    padding: 22px 24px; font-size: 18px; font-weight: 600; letter-spacing: -.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--lilac); transition: transform .4s var(--ease-out), background .3s; }
.faq-plus::before, .faq-plus::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--brand-deep); border-radius: 2px; transform: translate(-50%, -50%); }
.faq-plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-plus { transform: rotate(45deg); background: var(--ink); }
.faq-item[open] .faq-plus::before, .faq-item[open] .faq-plus::after { background: #fff; }
.faq-body { padding: 0 24px 24px; color: var(--ink-2); font-size: 16px; }
.faq-item[open] .faq-body { animation: faqIn .4s var(--ease-out); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- CTA ---------- */
.section-cta { padding-top: 0; }
.cta-card {
    position: relative; overflow: hidden;
    display: grid; grid-template-columns: 1.3fr .7fr; align-items: center; gap: 24px;
    padding: clamp(40px, 6vw, 80px);
    border-radius: var(--r-xl);
    background:
        radial-gradient(70% 90% at 90% 100%, rgba(251, 214, 210, .45), transparent 60%),
        radial-gradient(50% 70% at 10% 0%, rgba(179, 169, 212, .5), transparent 60%),
        linear-gradient(135deg, #6D63A0, #4A4170);
    color: #fff;
}
.cta-card h2 { color: #fff; font-size: clamp(36px, 5vw, 64px); }
.cta-card h2 em { color: #F9E1E6; }
.cta-card p { margin: 20px 0 32px; font-size: 19px; color: rgba(255, 255, 255, .8); }
.cta-card .store-row { justify-content: flex-start; }
.cta-art img { width: 100%; max-width: 340px; margin-left: auto; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .2)); }

/* ---------- Footer ---------- */
.footer { position: relative; overflow: hidden; padding-top: 64px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand p { margin-top: 12px; color: var(--muted); }
.footer-col { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.footer-col h4 { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.footer-col a { color: var(--ink-2); transition: color .2s; }
.footer-col a:hover { color: var(--ink); }
.footer-col .muted { color: var(--muted); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.footer-word {
    font-size: clamp(90px, 22vw, 320px); font-weight: 700; letter-spacing: -.06em; line-height: .78;
    text-align: center; margin-top: 24px;
    background: linear-gradient(180deg, rgba(126, 116, 173, .22), rgba(126, 116, 173, 0) 85%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
    user-select: none;
}

/* ==========================================================
   Motion primitives (activated by home.js)
   ========================================================== */
.js [data-reveal] {
    opacity: 0; transform: translateY(24px); filter: blur(8px);
    transition: opacity .9s var(--ease-out), transform .9s var(--ease-out), filter .9s var(--ease-out);
    transition-delay: var(--d, 0ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; filter: none; }

.split-word { display: inline-block; white-space: pre; }
.js .split-word {
    opacity: 0; transform: translateY(.35em); filter: blur(10px);
    transition: opacity .8s var(--ease-out), transform .9s var(--ease-out), filter .8s var(--ease-out);
    transition-delay: calc(var(--w) * 55ms + var(--d, 0ms));
}
.js [data-split].is-in .split-word { opacity: 1; transform: none; filter: none; }

.js .hero-phones .phone { opacity: 0; margin-top: 140px; transition: opacity 1s var(--ease-out), margin-top 1.4s var(--ease-out); }
.js .hero-phones .phone-side { transition-delay: .15s; }
.js .hero-phones .float-chip { opacity: 0; scale: .8; transition: opacity .6s var(--ease-out), scale .8s var(--ease-spring); }
.js .hero-phones .chip-a { transition-delay: .7s; }
.js .hero-phones .chip-b { transition-delay: .85s; }
.js .hero-phones .chip-c { transition-delay: 1s; }
.js .hero-phones.is-in .phone { opacity: 1; margin-top: 0; }
.js .hero-phones.is-in .float-chip { opacity: 1; scale: 1; }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1024px) {
    .bento {
        grid-template-columns: repeat(2, 1fr);
        grid-template-areas:
            "sync sync"
            "chat off"
            "chat link"
            "time lock";
    }
    .bento-offline { flex-direction: column; align-items: flex-start; }
    .privacy-points { grid-template-columns: repeat(2, 1fr); }
    .chip-c { display: none; }
}

@media (max-width: 860px) {
    .nav-links { display: none; }
    .chat-grid { grid-template-columns: 1fr; }
    .chat-features { grid-template-columns: 1fr 1fr; }
    .stack-card { grid-template-columns: 1fr; gap: 12px; min-height: 0; top: calc(90px + var(--i) * 14px); }
    .stack-art { min-height: 180px; order: -1; }
    .manifesto { height: 200vh; }
    .steps { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }

    .showcase-grid { grid-template-columns: 1fr; }
    .showcase-stage { display: none; }
    .showcase-item, .showcase-item:first-child, .showcase-item:last-child {
        min-height: 0; padding: 0 0 56px; opacity: 1; max-width: none;
    }
    .showcase-mobile-shot {
        display: block; order: -1; width: 220px; margin: 0 auto 28px;
    }

    .privacy-grid, .ai-card, .faq-grid, .cta-card { grid-template-columns: 1fr; }
    .privacy-visual { order: -1; }
    .lock-orbit { width: min(340px, 100%); }
    .faq-intro { position: static; }
    .cta-art { display: none; }

    .compare-head span, .compare-row span { padding: 14px 12px; font-size: 14px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
    body { font-size: 16px; }
    .chat-features { grid-template-columns: 1fr; }
    .chat-features li { flex-direction: row; align-items: center; padding: 14px; }
    .cm-body { min-height: 0; }
    .art-swatches { grid-template-columns: repeat(3, 56px); gap: 10px; }
    .art-swatches span { width: 56px; height: 76px; }
    .ac-face { width: 76px; height: 76px; }
    .nav .arrow-btn-sm { padding: 0 46px 0 14px; font-size: 14px; }
    .nav .arrow-btn-sm .arrow-btn-fill { padding: 0 46px 0 14px; }
    .hero-stage { height: 440px; }
    .phone-center { width: 210px; }
    .phone-side { width: 170px; top: 50px !important; }
    .phone-left { transform: translateX(-50%) translateX(calc(-62% - var(--spread, 0px))) rotate(calc(-7deg - var(--tilt, 0deg))); }
    .phone-right { transform: translateX(-50%) translateX(calc(62% + var(--spread, 0px))) rotate(calc(7deg + var(--tilt, 0deg))); }
    .float-chip { font-size: 12px; padding: 8px 12px 8px 8px; }
    .float-chip small { display: none; }
    .chip-icon { width: 28px; height: 28px; }
    .chip-a { left: 0; top: 6%; }
    .chip-b { right: 0; top: 36%; }
    .chip-avatars img { width: 26px; height: 26px; }

    .store-btn { flex: 1 1 200px; justify-content: center; }
    .bento { grid-template-columns: 1fr; grid-template-areas: "sync" "chat" "off" "link" "time" "lock"; }
    .bento-card { padding: 24px; }
    .privacy { border-radius: 28px; margin: 0 8px; }
    .privacy-points { grid-template-columns: 1fr; margin-top: 48px; }
    .compare { padding: 6px; }
    .compare-head, .compare-row { grid-template-columns: .9fr 1fr 1.1fr; }
    .compare-row span:nth-child(3)::before { display: none; }
    .agent-feed { height: 320px; }
    .agent-result { flex-wrap: wrap; }
    .agent-intro { width: 100%; text-align: center; }
    .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
    .js [data-reveal], .js .split-word { opacity: 1 !important; transform: none; filter: none !important; }
    .js .hero-phones .phone, .js .hero-phones .float-chip { opacity: 1 !important; margin-top: 0 !important; scale: 1 !important; }
    .marquee { overflow-x: auto; }
    .manifesto { height: auto; }
    .manifesto-sticky { position: static; height: auto; padding: 96px 0; }
    .fill-char { color: var(--ink) !important; }
    .cm-msg { opacity: 1; transform: none; }
    .stack-card { transform: none !important; filter: none !important; }
}
