/* Buddy landing page: layout and sections. Glass primitives live in glass.css. */

.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }
.sec { padding-block: clamp(56px, 7vw, 96px); }
.sec-head { max-width: 760px; margin: 0 auto clamp(32px, 5vw, 56px); text-align: center; display: grid; gap: 16px; justify-items: center; }
.sec-head h2, .h2 { font-size: var(--fs-h2); }
.sec-head p { color: var(--ink-2); max-width: 60ch; }
.eyebrow { color: var(--accent-ink); font: 600 12px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; }
.lede { font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-2); max-width: 54ch; }

/* ---------- reveal on scroll ---------- */
.js .rv { opacity: 0; transform: translateY(24px); filter: blur(8px); transition: opacity .8s var(--ease), transform .8s var(--ease), filter .8s var(--ease); transition-delay: calc(var(--d, 0) * 80ms); }
.js .rv.in { opacity: 1; transform: none; filter: none; }
@media (prefers-reduced-motion: reduce) { .js .rv { opacity: 1; transform: none; filter: none; } }

/* ---------- nav ---------- */
.nav-wrap { position: sticky; top: 12px; z-index: 50; padding-inline: 16px; margin-top: 12px; }
.nav { max-width: 1120px; margin-inline: auto; display: flex; align-items: center; gap: 20px; padding: 8px 8px 8px 22px; min-height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; font: 600 22px/1 var(--font-display); letter-spacing: -.03em; min-height: 44px; }
.brand svg { width: 22px; height: 22px; }
.nav-links { display: flex; gap: 4px; list-style: none; margin: 0 auto; padding: 0; }
.nav-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: var(--r-pill); color: var(--ink-2); font: 500 15px/1 var(--font-body); text-decoration: none; transition: background .2s, color .2s; }
.nav-links a:hover { background: rgba(255,255,255,.7); color: var(--ink); }
.nav .btn { margin-left: auto; min-height: 44px; padding: 0 20px; font-size: 15px; }
@media (min-width: 900px) { .nav .btn { margin-left: 0; } }
@media (max-width: 899px) { .nav-links { display: none; } }
@media (max-width: 400px) { .nav { padding-left: 16px; } .nav .btn { padding: 0 14px; font-size: 14px; } }

/* ---------- hero ---------- */
.hero { padding-top: clamp(24px, 4vw, 56px); padding-bottom: clamp(48px, 6vw, 72px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 1000px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }
.hero-copy { display: grid; gap: 18px; justify-items: start; }
.hero h1 { font-size: clamp(44px, 5.4vw, 82px); line-height: 1.02; }
.w { display: inline-block; opacity: 0; transform: translateY(.45em); filter: blur(12px); animation: rise .6s var(--ease) forwards; animation-delay: calc(var(--i) * 40ms); }
@keyframes rise { to { opacity: 1; transform: none; filter: none; } }
.hero .eyebrow { display: inline-flex; padding: 8px 14px; }
.trust { color: var(--ink-2); font: 500 14px/1.4 var(--font-mono); letter-spacing: .02em; display: flex; align-items: center; gap: 10px; }
.trust::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #1f9d6b; box-shadow: 0 0 0 4px rgba(31,157,107,.18); flex: none; }
.hero-demo { position: relative; min-width: 0; }
.hero-demo .orb.o1 { width: 110px; height: 110px; right: -28px; top: -34px; z-index: 3; }
.hero-demo .orb.o2 { width: 64px; height: 64px; left: -22px; bottom: 54px; z-index: 3; animation-delay: -3s; }
.hero-demo .orb.o3 { width: 38px; height: 38px; right: 12%; bottom: -20px; z-index: 3; animation-delay: -5s; }
.demo-note { margin-top: 12px; color: var(--ink-3); font-size: 13px; text-align: center; }
@media (max-width: 600px) { .hero-demo .orb.o1 { right: -8px; width: 76px; height: 76px; } .hero-demo .orb.o2 { left: -8px; } }

/* ---------- waitlist card ---------- */
.wl { width: 100%; max-width: 560px; padding: 22px; overflow: hidden; transition: height .6s var(--spring); }
.wl-form { display: grid; gap: 12px; }
.wl-label { font: 600 14px/1 var(--font-body); color: var(--ink); }
.wl-row { display: flex; gap: 10px; }
.wl-row .btn { flex: none; }
@media (max-width: 520px) { .wl-row { flex-direction: column; } .wl-row .btn { width: 100%; } }
.linkish { background: none; border: 0; padding: 10px 0; min-height: 44px; text-align: left; color: var(--accent-ink); font: 500 15px/1.3 var(--font-body); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--ink-2); cursor: pointer; padding: 4px 0; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; flex: none; accent-color: var(--accent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.wl-msg { min-height: 0; color: #b3261e; font-size: 15px; font-weight: 500; }
.wl-msg:empty { display: none; }
.micro { font-size: 14px; color: var(--ink-3); }
.wl-done { display: grid; gap: 16px; text-align: center; justify-items: center; padding: 6px 0 2px; outline: none; }
.wl-done[hidden] { display: none; }
.wl-done h3 { font-size: clamp(30px, 4vw, 40px); }
.wl-done.pop > * { animation: pop .7s var(--spring) both; animation-delay: calc(var(--k, 0) * 70ms); }
@keyframes pop { from { opacity: 0; transform: scale(.88) translateY(10px); } }
.pos { font: 600 clamp(56px, 9vw, 84px)/1 var(--font-display); letter-spacing: -.04em; background: linear-gradient(135deg, var(--accent), #8a5cff 60%, var(--coral)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ref-row { display: flex; gap: 8px; width: 100%; }
.ref-row .input { font: 500 15px/1 var(--font-mono); min-width: 0; }
.share { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.share .btn { min-height: 44px; padding: 0 16px; font-size: 15px; }
.rule { font-size: 15px; color: var(--ink-2); }
.count-line { color: var(--ink-2); font-size: 15px; font-weight: 500; }
.count-line[hidden] { display: none; }
.confetti { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 5; }
.confetti i { position: absolute; left: 50%; top: 38%; }

/* ---------- demo window ---------- */
.demo { overflow: hidden; border-radius: 24px; padding: 0; }
.demo-chrome { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid rgba(20,20,43,.08); background: rgba(255,255,255,.5); }
.demo-chrome i { width: 11px; height: 11px; border-radius: 50%; background: rgba(20,20,43,.16); }
.demo-title { margin-left: 10px; font: 500 13px/1 var(--font-mono); color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.demo-stage { position: relative; container-type: inline-size; aspect-ratio: 16 / 12.5; background: rgba(255,255,255,.55); overflow: hidden; user-select: text; }
@media (max-width: 600px) { .demo-stage { aspect-ratio: 4 / 4.4; } }
.demo-view { position: absolute; inset: 0 0 0 0; font-size: clamp(8px, 2.15cqw, 15px); color: var(--ink); line-height: 1.25; }
.demo-layer { position: absolute; inset: 0; pointer-events: none; transition: opacity .6s; }
.demo-layer.fade { opacity: 0; }
.demo-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.demo-svg path { fill: none; stroke: var(--coral); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 1px 0 rgba(255,255,255,.8)); }
.demo-svg path.old { transition: opacity .35s; opacity: 0; }
.demo-cursor { position: absolute; left: -3px; top: -2px; width: 28px; height: 28px; z-index: 4; will-change: transform; filter: drop-shadow(0 4px 6px rgba(20,20,43,.3)); }
.demo-pen { position: absolute; left: -4px; top: -20px; width: 22px; height: 22px; z-index: 3; opacity: 0; transition: opacity .25s; }
.demo-pen.on { opacity: 1; }
.demo-ripple { position: absolute; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; border: 2.5px solid var(--accent); opacity: 0; z-index: 2; }
.demo-ripple.go { animation: ripple .8s var(--ease); }
@keyframes ripple { from { opacity: .9; transform: scale(.6); } to { opacity: 0; transform: scale(5); } }
.demo-label { position: absolute; left: 0; top: 0; z-index: 5; opacity: 0; padding: 9px 14px; border-radius: 12px 12px 12px 4px; background: var(--ink); color: #fff; font: 600 clamp(12px, 3cqw, 15px)/1.25 var(--font-body); white-space: nowrap; box-shadow: 0 10px 24px -8px rgba(20,20,43,.5); }
.demo-label.on { opacity: 1; }
.demo-label.wrap2 { white-space: normal; }
.demo-bar { position: absolute; left: 50%; bottom: 3.5%; transform: translateX(-50%); width: min(92%, 440px); display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 16px; z-index: 6; background: linear-gradient(145deg, rgba(255,255,255,.9), rgba(255,255,255,.62)); }
.bars { display: inline-flex; align-items: center; gap: 3px; height: 22px; flex: none; }
.bars i { width: 3px; height: 100%; border-radius: 3px; background: var(--accent); transform: scaleY(.25); transform-origin: center; }
.demo-bar.speaking .bars i { animation: bar .7s ease-in-out infinite alternate; }
.bars i:nth-child(2) { animation-delay: -.2s; } .bars i:nth-child(3) { animation-delay: -.45s; } .bars i:nth-child(4) { animation-delay: -.1s; } .bars i:nth-child(5) { animation-delay: -.35s; }
@keyframes bar { to { transform: scaleY(1); } }
.demo-say { flex: 1; min-width: 0; font: 500 clamp(13px, 3.1cqw, 16px)/1.2 var(--font-body); color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-height: 1.2em; }
.demo-say::after { content: ""; display: inline-block; width: 2px; height: 1em; background: var(--accent); margin-left: 2px; vertical-align: -2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.chip { flex: none; padding: 8px 12px; border-radius: var(--r-pill); background: var(--ink); color: #fff; font: 600 12px/1 var(--font-mono); letter-spacing: .02em; }

/* mock apps (decorative; built from real DOM text) */
.m { position: absolute; inset: 0; display: grid; }
.m-prem { grid-template-columns: 1.7fr 1fr; }
.m-prev { padding: 4% 3% 24% 4%; display: grid; grid-template-rows: 1fr auto; gap: 4%; }
.m-frame { border-radius: .9em; background: radial-gradient(circle at 70% 25%, #ffd9a8, transparent 30%), linear-gradient(160deg, #6f8cff, #b99bff 45%, #ff9d7a); box-shadow: inset 0 0 0 1px rgba(255,255,255,.5); }
.m-tl { display: grid; gap: .4em; }
.m-tl i { height: 1.1em; border-radius: .35em; background: rgba(79,91,255,.18); } .m-tl i:nth-child(2) { width: 70%; background: rgba(255,122,92,.25); } .m-tl i:nth-child(3) { width: 85%; background: rgba(31,157,107,.22); }
.m-panel { background: rgba(255,255,255,.72); border-left: 1px solid rgba(20,20,43,.08); padding: 5% 4% 24%; display: grid; align-content: start; gap: .55em; }
.m-panel > b { font: 700 1.1em/1 var(--font-body); letter-spacing: .02em; padding: .3em .2em .5em; }
.m-row { display: flex; justify-content: space-between; align-items: center; padding: .85em .8em; border-radius: .7em; background: rgba(20,20,43,.05); font-weight: 600; font-size: 1.05em; }
.m-row::after { content: "›"; color: var(--ink-3); font-size: 1.3em; line-height: 1; }
.m-bars { display: grid; gap: .5em; padding: .4em .6em; } .m-bars i { height: .45em; border-radius: 1em; background: linear-gradient(90deg, var(--accent) var(--v, 50%), rgba(20,20,43,.12) 0); }

.m-pea { grid-template-columns: 9% 1fr 26%; }
.m-tools { background: rgba(255,255,255,.75); border-right: 1px solid rgba(20,20,43,.08); display: grid; align-content: start; justify-items: center; gap: .6em; padding: 1.2em 0 24%; }
.m-tool { width: 2.6em; height: 2.6em; border-radius: .7em; background: rgba(20,20,43,.06); display: grid; place-items: center; font-size: 1em; font-weight: 700; color: var(--ink-2); }
.m-canvas { padding: 3% 3% 26%; display: grid; }
.m-photo { position: relative; border-radius: .8em; overflow: hidden; background: linear-gradient(180deg, #8fc1ff 0 55%, #ffe3c2 55% 62%, #5d8f6f 62%); }
.m-photo::before { content: ""; position: absolute; left: 0; right: 0; bottom: 36%; height: 34%; background: linear-gradient(#8296c8, #6a7fb4); clip-path: polygon(0 100%, 14% 35%, 28% 72%, 48% 8%, 68% 68%, 84% 30%, 100% 100%); }
.m-mark { position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%) rotate(-14deg); padding: .2em .6em; font: 800 2.4em/1 var(--font-display); letter-spacing: .08em; color: rgba(255,255,255,.55); white-space: nowrap; }
.m-layers { background: rgba(255,255,255,.75); border-left: 1px solid rgba(20,20,43,.08); padding: 5% 6% 24%; display: grid; align-content: start; gap: .5em; }
.m-layers b { font-size: 1em; padding-bottom: .3em; }
.m-layers span { padding: .7em .6em; border-radius: .6em; background: rgba(20,20,43,.05); font-weight: 600; font-size: .95em; }
.m-layers span:first-of-type { background: rgba(79,91,255,.14); }

.m-flow { background-image: radial-gradient(rgba(20,20,43,.13) 1px, transparent 1.4px); background-size: 18px 18px; }
.m-flow svg { position: absolute; inset: 0; width: 100%; height: 76%; }
.m-flow svg path { fill: none; stroke: var(--ink-3); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.fb { position: absolute; padding: .8em 1em; border-radius: .8em; background: #fff; border: 1.5px solid rgba(20,20,43,.2); font-weight: 600; font-size: 1.05em; text-align: center; box-shadow: 0 6px 14px -8px rgba(20,20,43,.3); }
.fb small { display: block; font: 600 .7em/1 var(--font-mono); color: var(--accent-ink); margin-bottom: .3em; }
.fb.p1 { left: 5%; top: 8%; width: 24%; } .fb.p2 { left: 38%; top: 8%; width: 24%; } .fb.p3 { left: 71%; top: 8%; width: 24%; background: #eef0ff; }
.fb.p4 { left: 21%; top: 45%; width: 26%; } .fb.p5 { left: 56%; top: 45%; width: 26%; }

.m-mail { grid-template-columns: 24% 1fr; }
.m-folders { background: rgba(255,255,255,.75); border-right: 1px solid rgba(20,20,43,.08); padding: 5% 5% 24%; display: grid; align-content: start; gap: .5em; }
.m-folders span { padding: .6em .7em; border-radius: .6em; font-weight: 600; color: var(--ink-2); font-size: .95em; }
.m-folders span:first-child { background: rgba(79,91,255,.14); color: var(--ink); }
.m-list { padding: 4% 4% 24%; display: grid; align-content: start; gap: .7em; }
.m-list > b { font-size: 1.15em; padding-bottom: .2em; }
.m-msg { padding: .8em 1em; border-radius: .8em; background: #fff; border: 1px solid rgba(20,20,43,.1); display: grid; gap: .25em; }
.m-msg b { font-size: 1.02em; } .m-msg span { color: var(--ink-2); font-size: .95em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* demo tabs */
.demo-shell { max-width: 780px; margin-inline: auto; display: grid; gap: 22px; justify-items: center; }
.tabs { display: flex; gap: 4px; padding: 6px; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; min-height: 46px; padding: 0 20px; border: 0; border-radius: var(--r-pill); background: transparent; color: var(--ink-2); font: 600 15px/1 var(--font-body); cursor: pointer; transition: background .25s, color .25s, transform .4s var(--spring); }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { background: var(--ink); color: #fff; }
.demo-panel { width: 100%; }
.demo-actions { display: flex; gap: 12px; align-items: center; }

/* ---------- how it works ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .steps { grid-template-columns: minmax(0, 1fr); } }
.step { padding: 26px 24px 28px; display: grid; gap: 12px; align-content: start; }
.step h3 { font-size: 26px; display: flex; align-items: baseline; gap: 10px; }
.step h3 span { font: 600 13px/1 var(--font-mono); color: var(--accent-ink); }
.step p { color: var(--ink-2); font-size: 16.5px; }
.ico { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; background: linear-gradient(145deg, #fff, rgba(255,255,255,.5)); border: 1px solid #fff; box-shadow: 0 10px 24px -10px rgba(79,91,255,.35); position: relative; z-index: 1; }
.ico svg { width: 34px; height: 34px; overflow: visible; }
.ico * { transform-box: fill-box; transform-origin: center; }
.loop-line { position: absolute; z-index: 0; left: 12.5%; right: 12.5%; top: 56px; height: 3px; border-radius: 3px; background: rgba(79,91,255,.14); display: none; }
.loop-line::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, var(--accent), var(--coral)); transform: scaleX(var(--p, 0)); transform-origin: left; }
@media (min-width: 1001px) { .loop-line { display: block; } }
.loop-note { margin-top: 36px; text-align: center; color: var(--ink-2); font-size: 18px; }
.loop-note b { color: var(--ink); }
.in .a-scan { animation: scan 2.4s ease-in-out infinite alternate; }
@keyframes scan { from { transform: translateY(-9px); } to { transform: translateY(9px); } }
.in .a-line { animation: lines 3s ease-in-out infinite; } .in .a-line:nth-child(2) { animation-delay: .3s; } .in .a-line:nth-child(3) { animation-delay: .6s; }
@keyframes lines { 0%, 15% { transform: scaleX(.1); opacity: .3; } 40%, 85% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(.1); opacity: .3; } }
.in .a-fly { animation: fly 3s ease-in-out infinite; }
@keyframes fly { 0%, 10% { transform: translate(-8px, 8px); } 45%, 80% { transform: translate(3px, -2px); } 100% { transform: translate(-8px, 8px); } }
.in .a-tick { stroke-dasharray: 30; animation: tick 2.6s ease-in-out infinite; }
@keyframes tick { 0% { stroke-dashoffset: 30; } 35%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 30; } }

/* ---------- day one ---------- */
.cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 1000px) { .cards3 { grid-template-columns: minmax(0, 1fr); max-width: 640px; margin-inline: auto; } }
.big { padding: 18px; display: grid; gap: 20px; align-content: start; }
.big .art { height: 190px; border-radius: 18px; background: rgba(255,255,255,.6); border: 1px solid #fff; position: relative; overflow: hidden; display: grid; place-items: center; }
.big .txt { padding: 6px 8px 10px; display: grid; gap: 10px; }
.big h3 { font-size: clamp(24px, 2.4vw, 30px); }
.big p { color: var(--ink-2); font-size: 16.5px; }
.big .stat { font: 600 13px/1.2 var(--font-mono); color: var(--accent-ink); letter-spacing: .02em; }
/* art 1: seven steps */
.dots7 { display: flex; gap: 10px; align-items: center; }
.dots7 i { width: 24px; height: 24px; border-radius: 50%; border: 2px solid rgba(20,20,43,.2); background: #fff; display: grid; place-items: center; font: normal 700 12px/1 var(--font-mono); color: transparent; }
.in .dots7 i { animation: done 7s infinite; animation-delay: calc(var(--n) * .7s); }
@keyframes done { 0%, 4% { background: #fff; border-color: rgba(20,20,43,.2); color: transparent; } 8%, 90% { background: var(--accent); border-color: var(--accent); color: #fff; } 100% { background: #fff; border-color: rgba(20,20,43,.2); color: transparent; } }
.art .cap { position: absolute; left: 14px; bottom: 12px; font: 600 12px/1 var(--font-mono); color: var(--ink-2); }
/* art 2: flowchart */
.fc { display: grid; grid-template-columns: repeat(3, 56px); gap: 18px 16px; }
.fc i { height: 30px; border-radius: 9px; background: #fff; border: 1.5px solid rgba(20,20,43,.22); }
.in .fc i:nth-child(1) { animation: hl 6s infinite; } .in .fc i:nth-child(2) { animation: hl 6s infinite 2s; } .in .fc i:nth-child(3) { animation: hl 6s infinite 4s; }
@keyframes hl { 0%, 30% { border-color: var(--coral); box-shadow: 0 0 0 4px rgba(255,122,92,.22); } 34%, 100% { border-color: rgba(20,20,43,.22); box-shadow: none; } }
/* art 3: mail */
.mails { display: grid; gap: 10px; width: 78%; }
.mails i { height: 34px; border-radius: 10px; background: #fff; border: 1px solid rgba(20,20,43,.12); position: relative; }
.mails i::after { content: "✓"; position: absolute; right: 10px; top: 50%; translate: 0 -50%; width: 20px; height: 20px; border-radius: 50%; background: #1f9d6b; color: #fff; font: 700 12px/20px var(--font-body); text-align: center; opacity: 0; }
.in .mails i::after { animation: ok 6s infinite; animation-delay: calc(var(--n) * 1s); }
@keyframes ok { 0%, 8% { opacity: 0; transform: scale(.4); } 14%, 90% { opacity: 1; transform: scale(1); } 100% { opacity: 0; } }

/* ---------- modes ---------- */
.modes { max-width: 960px; margin-inline: auto; display: grid; gap: 28px; justify-items: center; }
.seg { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); padding: 6px; width: min(100%, 640px); }
.seg button { position: relative; z-index: 1; min-height: 52px; border: 0; background: transparent; border-radius: var(--r-pill); font: 600 clamp(14px, 2vw, 17px)/1.1 var(--font-body); color: var(--ink-2); cursor: pointer; padding: 0 6px; transition: color .25s; }
.seg button[aria-checked="true"] { color: var(--ink); }
.seg-thumb { position: absolute; z-index: 0; top: 6px; bottom: 6px; left: 6px; width: calc((100% - 12px) / 3); border-radius: var(--r-pill); background: linear-gradient(145deg, #fff, rgba(255,255,255,.75)); box-shadow: 0 8px 20px -8px rgba(79,91,255,.5), inset 0 1px 0 #fff, 0 0 0 1px rgba(79,91,255,.12); transform: translateX(calc(var(--i, 0) * 100%)); transition: transform .6s var(--spring); }
.mode-body { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: clamp(20px, 3vw, 32px); align-items: center; }
@media (max-width: 760px) { .mode-body { grid-template-columns: minmax(0, 1fr); } }
.mode-body h3 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 10px; }
.mode-body p { color: var(--ink-2); }
.mode-copy { animation: pop .5s var(--spring); }
.mini { position: relative; height: 200px; border-radius: 18px; background: rgba(255,255,255,.65); border: 1px solid #fff; overflow: hidden; container-type: inline-size; }
.mini .ln { position: absolute; left: 8%; right: 8%; height: 34px; border-radius: 10px; background: #fff; border: 1px solid rgba(20,20,43,.12); font: 600 13px/32px var(--font-body); padding-left: 14px; color: var(--ink-2); }
.mini .ln:nth-of-type(1) { top: 14%; } .mini .ln:nth-of-type(2) { top: 40%; } .mini .ln:nth-of-type(3) { top: 66%; }
.mini .tag { position: absolute; z-index: 3; padding: 6px 11px; border-radius: 9px; background: var(--ink); color: #fff; font: 600 12px/1.1 var(--font-body); white-space: nowrap; }
.mini .ring { position: absolute; left: 6%; right: 6%; top: 36%; height: 44px; border: 3px solid var(--coral); border-radius: 14px; }
.mini .tag.a { right: 8%; top: 8%; }
.mini .yn { position: absolute; z-index: 3; display: flex; gap: 6px; right: 8%; top: 33%; }
.mini .yn span { padding: 6px 12px; border-radius: 99px; background: #fff; border: 1px solid rgba(20,20,43,.15); font: 600 12px/1 var(--font-body); }
.mini .yn span:first-child { background: var(--accent); color: #fff; border-color: var(--accent); }
.mini .ck { position: absolute; right: 12%; top: 50%; translate: 0 -50%; width: 22px; height: 22px; border-radius: 50%; background: #1f9d6b; color: #fff; font: 700 13px/22px var(--font-body); text-align: center; opacity: 0; }
.mini[data-m="teach"] .ring { animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.03); opacity: .75; } }
.mini[data-m="ask"] .tag.a { animation: pop .6s var(--spring) both; }
.mini[data-m="ask"] .yn span:first-child { animation: pulse 1.8s ease-in-out infinite; }
.mini[data-m="keep"] .ln:nth-of-type(1) .ck { animation: ok 5s infinite; }
.mini[data-m="keep"] .ln:nth-of-type(2) .ck { animation: ok 5s infinite 1.2s; }
.mini[data-m="keep"] .ln:nth-of-type(3) .ck { animation: none; opacity: 1; background: #fff; border: 2px solid var(--coral); color: var(--coral); }
.mini [hidden] { display: none; }

/* ---------- voice ---------- */
.voice { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 900px) { .voice { grid-template-columns: minmax(0, 1fr); } }
.voice-copy { display: grid; gap: 18px; justify-items: start; }
.voice-copy p { color: var(--ink-2); }
.keys { display: flex; flex-wrap: wrap; gap: 10px; }
.keys .pill { padding: 9px 16px; }

/* ---------- privacy ---------- */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 1000px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .tiles { grid-template-columns: minmax(0, 1fr); } }
.tile { padding: 24px; display: grid; gap: 10px; align-content: start; }
.tile h3 { font-size: 22px; } .tile p { color: var(--ink-2); font-size: 16px; }
.tile .ico { width: 52px; height: 52px; border-radius: 16px; }
.honest { margin-top: 28px; padding: 22px 26px; display: grid; gap: 8px; max-width: 900px; margin-inline: auto; }
.honest h3 { font-size: 20px; } .honest p { color: var(--ink-2); font-size: 16.5px; }
.stopbtn { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: #c4281c; color: #fff; font: 700 13px/1 var(--font-mono); box-shadow: 0 10px 22px -10px rgba(196,40,28,.7); }

/* ---------- personas ---------- */
.persona { padding: 18px; display: grid; gap: 16px; align-content: start; }
.persona .art { height: 150px; border-radius: 18px; position: relative; overflow: hidden; background: rgba(255,255,255,.55); border: 1px solid #fff; }
.persona .art i { position: absolute; border-radius: 50%; }
.persona h3 { font-size: 26px; padding-inline: 8px; } .persona p { color: var(--ink-2); padding: 0 8px 8px; font-size: 16.5px; }
.a1 i:nth-child(1) { width: 110px; height: 110px; left: 14%; top: 18%; background: radial-gradient(circle at 30% 30%, #fff, var(--sky) 60%, #b9ccff); }
.a1 i:nth-child(2) { width: 70px; height: 70px; right: 16%; top: 40%; background: radial-gradient(circle at 30% 30%, #fff, var(--lilac) 60%, #cdbcff); }
.a2 i:nth-child(1) { width: 130px; height: 80px; border-radius: 22px; left: 12%; top: 22%; background: linear-gradient(145deg, #fff, var(--peach)); transform: rotate(-8deg); }
.a2 i:nth-child(2) { width: 90px; height: 90px; right: 14%; top: 28%; background: radial-gradient(circle at 30% 30%, #fff, var(--sky) 60%, #b9ccff); }
.a3 i:nth-child(1) { width: 90px; height: 90px; left: 12%; top: 26%; background: radial-gradient(circle at 30% 30%, #fff, var(--mint) 60%, #a9e8cf); }
.a3 i:nth-child(2) { width: 90px; height: 90px; left: 36%; top: 34%; background: radial-gradient(circle at 30% 30%, #fff, var(--lilac) 60%, #cdbcff); opacity: .9; }
.a3 i:nth-child(3) { width: 90px; height: 90px; left: 60%; top: 22%; background: radial-gradient(circle at 30% 30%, #fff, var(--peach) 60%, #ffc6b0); opacity: .9; }
.persona .art i { box-shadow: inset 0 2px 3px #fff, 0 14px 24px -12px rgba(79,91,255,.4); border: 1px solid #fff; }

/* ---------- where we are ---------- */
.where { display: grid; grid-template-columns: 1fr 1fr; gap: 0; max-width: 1000px; margin-inline: auto; overflow: hidden; }
@media (max-width: 760px) { .where { grid-template-columns: minmax(0, 1fr); } }
.where > div { padding: clamp(24px, 4vw, 40px); display: grid; gap: 18px; align-content: start; }
.where > div + div { border-left: 1px solid rgba(20,20,43,.1); }
@media (max-width: 760px) { .where > div + div { border-left: 0; border-top: 1px solid rgba(20,20,43,.1); } }
.where h3 { font-size: 30px; display: flex; align-items: center; gap: 12px; }
.where ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.where li { padding-left: 32px; position: relative; color: var(--ink-2); font-size: 16.5px; }
.where li b { color: var(--ink); font-weight: 600; }
.where li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: #1f9d6b; color: #fff; font: 700 12px/22px var(--font-body); text-align: center; }
.where .next li::before { content: "→"; background: var(--accent); }
.where .no li::before { content: "×"; background: var(--ink-3); font-size: 15px; }
.where h4 { font: 600 13px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-top: 8px; }

/* ---------- faq ---------- */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq-item { border-radius: 20px; overflow: hidden; }
.faq-q { width: 100%; min-height: 64px; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 24px; border: 0; background: transparent; cursor: pointer; text-align: left; font: 600 18px/1.3 var(--font-body); color: var(--ink); }
.faq-q::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 2.5px solid var(--ink-2); border-bottom: 2.5px solid var(--ink-2); transform: rotate(45deg) translateY(-3px); transition: transform .4s var(--spring); }
.faq-q[aria-expanded="true"]::after { transform: rotate(-135deg) translateY(-3px); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.faq-a.open { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 24px 22px; color: var(--ink-2); font-size: 17px; }

/* ---------- final cta ---------- */
.cta { padding: clamp(32px, 6vw, 72px) clamp(16px, 4vw, 48px); display: grid; gap: 28px; justify-items: center; text-align: center; overflow: hidden; }
.cta h2 { font-size: clamp(34px, 5vw, 64px); max-width: 16ch; }
.cta .wl { background: rgba(255,255,255,.7); text-align: left; }
.cta .orb.o1 { width: 90px; height: 90px; left: 6%; top: 10%; } .cta .orb.o2 { width: 56px; height: 56px; right: 8%; bottom: 14%; animation-delay: -3s; }
@media (max-width: 700px) { .cta .orb { display: none; } }
.flow3 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; max-width: 760px; width: 100%; counter-reset: s; }
@media (max-width: 700px) { .flow3 { grid-template-columns: minmax(0, 1fr); } }
.flow3 li { counter-increment: s; padding: 16px 18px; border-radius: 18px; background: rgba(255,255,255,.6); border: 1px solid #fff; color: var(--ink-2); font-size: 15.5px; text-align: left; }
.flow3 li::before { content: counter(s); display: grid; place-items: center; width: 28px; height: 28px; margin-bottom: 8px; border-radius: 50%; background: var(--ink); color: #fff; font: 600 13px/1 var(--font-mono); }
.flow3 b { color: var(--ink); }

/* ---------- footer ---------- */
.foot { padding: 40px 0 56px; color: var(--ink-2); font-size: 15px; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 14px 32px; justify-content: space-between; align-items: center; }
.foot nav { display: flex; gap: 20px; }
.foot a { color: var(--ink-2); min-height: 44px; display: inline-flex; align-items: center; }
.foot small { display: block; width: 100%; color: var(--ink-3); font-size: 13px; }

/* ---------- long-form pages (privacy) ---------- */
.prose { max-width: 720px; margin-inline: auto; padding: clamp(28px, 5vw, 56px); display: grid; gap: 16px; }
.prose h1 { font-size: clamp(36px, 5vw, 56px); } .prose h2 { font-size: 26px; margin-top: 18px; }
.prose p, .prose li { color: var(--ink-2); } .prose ul { padding-left: 22px; display: grid; gap: 8px; margin: 0; }

@media (hover: none) { .glass::before { opacity: .6; } }

/* reduced motion: show the finished state of looping illustrations instead of a random frame */
@media (prefers-reduced-motion: reduce) {
  .in .a-scan, .in .a-line, .in .a-fly, .in .a-tick, .in .dots7 i, .in .fc i, .in .mails i::after, .mini * { animation: none !important; }
  .dots7 i { background: var(--accent); border-color: var(--accent); color: #fff; }
  .mails i::after { opacity: 1; }
  .a-tick { stroke-dasharray: none; }
}
.wl-form[hidden], .wl-int[hidden] { display: none; }
.wl-done h3:focus, .wl-done h3:focus-visible { outline: none; }

/* ---------- MacBook + real macOS screen (from the macOS Big Sur UI Kit) ---------- */
.mac { width: 100%; margin-inline: auto; container-type: inline-size; filter: drop-shadow(0 40px 50px rgba(40, 40, 90, .28)); }
.mac-lid { padding: 2cqw 2cqw 2.3cqw; border-radius: 3.2cqw 3.2cqw 1cqw 1cqw; background: linear-gradient(160deg, #2b2b30, #0c0c0f 55%, #1b1b20); box-shadow: inset 0 0 0 1px #4a4a52, inset 0 0 0 2.5px #08080a; }
.mac-screen.demo { position: relative; overflow: hidden; border-radius: 1.1cqw; padding: 0; background: #1a1a22; }
.mac-screen .demo-stage { aspect-ratio: 16 / 10; background: #1a1a22; }
.kit-img { position: absolute; left: 0; top: 0; width: 100%; height: auto; transform-origin: 0 0; will-change: transform; user-select: none; -webkit-user-drag: none; }
.mac-screen .demo-bar { bottom: 11%; width: min(86%, 430px); }
.demo-cursor { left: -5px; top: -3px; width: 26px; height: 26px; }
.demo-cursor svg { display: block; width: 100%; height: 100%; transform-origin: 20% 12%; }
.demo-press { position: absolute; border-radius: 6px; background: rgba(0, 0, 0, .18); opacity: 0; z-index: 1; }
.demo-press.go { animation: press .5s ease-out; }
@keyframes press { 0% { opacity: 0; } 20% { opacity: 1; } 100% { opacity: 0; } }
.demo-ripple { border-color: #007aff; }
.mac-base { position: relative; height: 2.6cqw; margin: 0 -3.5cqw; border-radius: 0 0 4cqw 4cqw / 0 0 1.6cqw 1.6cqw; background: linear-gradient(#d7d8de, #b9bac3 60%, #9fa0aa); box-shadow: inset 0 1px 0 #fff; }
.mac-base::before { content: ""; position: absolute; left: 50%; top: 0; transform: translateX(-50%); width: 16%; height: 55%; border-radius: 0 0 1cqw 1cqw; background: linear-gradient(#a3a4ae, #c9cad2); }
.demo-label.wrap2 { white-space: normal; max-width: 80%; }
.hero-demo .orb.o1, .hero-demo .orb.o2 { display: none; }
/* perf: nothing that re-rasterises every frame while the screen zooms */
.mac { filter: none; }
.mac-lid { box-shadow: inset 0 0 0 1px #4a4a52, inset 0 0 0 2.5px #08080a, 0 40px 50px -20px rgba(40, 40, 90, .35); }
.mac-screen .demo-bar { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(255, 255, 255, .94); }
.mac-screen .demo-bar::before, .mac-screen .demo-bar::after { display: none; }
.demo-cursor { filter: none; }
.kit-img { will-change: auto; }

/* ---------- hero: centred stack, wide demo stage underneath ---------- */
.hero-grid { grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 4vw, 52px); }
.hero-copy { justify-items: center; text-align: center; gap: 16px; }
.hero h1 { font-size: clamp(42px, 6vw, 84px); max-width: 15ch; }
.hero .lede { max-width: 58ch; }
.hero .wl { max-width: 640px; text-align: left; }
.hero .trust { justify-content: center; }
.hero-demo { width: min(100%, 1060px); margin-inline: auto; }
.hero-demo .orb.o3 { right: 4%; }
@media (max-width: 600px) { .hero h1 { font-size: clamp(38px, 11vw, 52px); } }
.hero h1 { font-size: clamp(40px, 5.6vw, 80px); max-width: 21ch; }

/* ---------- hero v3: headline row, big demo stage, signup bar overlapping the laptop ---------- */
.hero-copy, .hero-demo { display: contents; }
.hero-demo .orb { display: none; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); column-gap: clamp(24px, 4vw, 64px); row-gap: 20px; align-items: end; }
.hero .eyebrow { grid-column: 1 / -1; grid-row: 1; justify-self: start; }
.hero h1 { grid-column: 1; grid-row: 2; text-align: left; max-width: none; font-size: clamp(40px, 5.2vw, 76px); }
.hero .lede { grid-column: 2; grid-row: 2; align-self: end; text-align: left; margin-bottom: 8px; }
.hero .mac { grid-column: 1 / -1; grid-row: 3; width: min(100%, 1060px); justify-self: center; margin-top: 8px; }
.hero .wl { grid-column: 1 / -1; grid-row: 4; justify-self: center; width: min(900px, 100%); max-width: none; margin-top: -56px; position: relative; z-index: 6; padding: 16px 20px 14px; }
.hero .demo-note { grid-column: 1 / -1; grid-row: 5; justify-self: center; text-align: center; max-width: 72ch; margin-top: 4px; }
.hero .trust { grid-column: 1 / -1; grid-row: 6; justify-self: center; }
/* the signup card becomes one compact bar */
.hero .wl-form { grid-template-columns: minmax(0, 1fr) auto; column-gap: 16px; row-gap: 8px; align-items: center; }
.hero .wl-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.hero .wl-row, .hero .wl-int, .hero .wl-msg, .hero .micro, .hero .count-line { grid-column: 1 / -1; }
.hero .check { grid-column: 1; }
.hero .wl-more { grid-column: 2; justify-self: end; padding: 4px 0; min-height: 36px; }
.hero .micro { font-size: 13px; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); row-gap: 16px; }
  .hero .eyebrow { order: 1; } .hero h1 { order: 2; grid-column: 1; } .hero .lede { order: 3; grid-column: 1; grid-row: auto; margin: 0; }
  .hero .wl { order: 4; grid-row: auto; margin-top: 0; }
  .hero .mac { order: 5; grid-row: auto; }
  .hero .demo-note { order: 6; grid-row: auto; } .hero .trust { order: 7; grid-row: auto; }
  .hero h1 { grid-row: auto; }
  .hero .wl-form { grid-template-columns: minmax(0, 1fr); } .hero .wl-more { grid-column: 1; justify-self: start; }
}
.hero-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); row-gap: 14px; }
.hero h1 { font-size: clamp(38px, 4.6vw, 68px); }
.hero .mac { width: min(100%, 900px); margin-top: 0; }
.hero { padding-top: clamp(16px, 2.4vw, 32px); }
@media (max-width: 900px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } .hero h1 { font-size: clamp(38px, 11vw, 52px); } .hero .mac { width: 100%; } }
