/* Otto v5 — modelled on the Verity layout: Host Grotesk titles, a smooth living gradient that turns into night and back,
   into the night, a Mac screen that straightens up, panels built from Otto's own UI, and a footer that is revealed. */

@font-face { font-family: "Host Grotesk"; src: url(/assets/fonts/HostGrotesk-VariableFont_wght.ttf) format("truetype"); font-weight: 300 800; font-display: swap; }
@font-face { font-family: "Geist"; src: url(fonts/geist.woff2) format("woff2-variations"), url(fonts/geist.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url(fonts/geist-mono.woff2) format("woff2-variations"), url(fonts/geist-mono.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  /* one dark page after the hero: the hero's gradient does the light-to-dark in a single, linear move */
  --bg: 13 10 20; --fg: 243 240 250; --muted: 150 143 166; --line: 255 255 255; --lineA: .09;
  --title: "Host Grotesk", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --sans: "Geist", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --sys: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif;
  --violet: #7C5CFF; --lilac: #B5A5F0; --mint: #4FE0A0; --amber: #E8C15A; --ink: #17131F;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --wrapw: 1280px;
  --fh: 0px;            /* footer height, set by v5.js */
}
* { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body { margin: 0; background: #08070B; color: rgb(var(--fg)); font: 400 17px/1.55 var(--sans); overflow-x: hidden; }
a { color: inherit; }
img, svg, canvas { display: block; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
.wrap { width: min(var(--wrapw), 100% - 48px); margin: 0 auto; }
.narrow { width: min(800px, 100% - 48px); margin: 0 auto; }
.i { flex: none; }

/* type: Host Grotesk for titles (as on the live site), Geist for everything else */
.t-xl, .t-l, .t-m { font-family: var(--title); font-weight: 450; }
.t-xl { font-size: clamp(40px, 4.5vw, 62px); line-height: 1.04; letter-spacing: -.042em; }
.t-l  { font-size: clamp(32px, 3.3vw, 46px); line-height: 1.07; letter-spacing: -.038em; }
.t-m  { font-size: 24px; line-height: 1.2; letter-spacing: -.025em; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font: 500 15px/1 var(--sans); letter-spacing: -.005em; padding: 13px 20px 13px 18px; border-radius: 99px; transition: transform .35s var(--ease), background-color .35s, color .35s, box-shadow .35s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn .apple { width: 13px; height: 16px; margin-top: -3px; fill: currentColor; }
.btn.big { font-size: 16px; padding: 16px 24px 16px 22px; }
.btn.dark { background: #17131F; color: #fff; box-shadow: 0 10px 30px -12px rgba(40, 20, 90, .55); }
.btn.light { background: #F5F2FC; color: #17131F; box-shadow: 0 10px 30px -14px rgba(0, 0, 0, .5); }


/* ---------- nav: just the logo on the left and Download on the right, once you scroll ---------- */
.nav { position: fixed; z-index: 60; top: 16px; left: 0; right: 0; padding: 0 24px; display: flex; justify-content: space-between; align-items: center; pointer-events: none; }
.nav > * { opacity: 0; transform: translateY(-14px); transition: opacity .45s var(--ease), transform .6s var(--ease), background-color .3s; }
.nav.show > * { opacity: 1; transform: none; pointer-events: auto; }
.nav .brand { height: 46px; padding: 0 18px; display: flex; align-items: center; border-radius: 99px; color: #fff;
  background: rgb(22 17 40 / .6); backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .1), 0 14px 36px -18px rgba(0, 0, 0, .6); }
.nav .brand svg { height: 19px; width: auto; }
.nav .nav-btn { height: 46px; background: #F3F0FA; color: #17131F; padding: 0 18px 0 16px; font-size: 14.5px; gap: 8px; box-shadow: 0 14px 36px -18px rgba(0, 0, 0, .6); }
.nav .nav-btn .apple { width: 12px; height: 15px; }

/* ---------- hero: a living gradient from a pale sky at the top to the night under the Mac ---------- */
/* the hero holds still for a stretch of scroll: the Mac rises, straightens and stops with the notch in frame */
.hero { position: relative; overflow: clip; }
.hero-stage { position: sticky; top: 0; height: 100vh; height: 100svh; padding-top: 96px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, #FCF6F3 0%, #F8EAE6 14%, #EAD6EC 27%, #C7B0EE 39%, #9276E0 50%, #5E46BA 60%, #342480 71%, #161034 84%, rgb(var(--bg)) 100%); }
.hero-bg canvas { position: absolute; left: 0; top: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.2s var(--ease); }
.hero-bg canvas.on { opacity: 1; }
.hero-copy { position: relative; z-index: 2; text-align: center; padding: 0 20px; color: #1E1530; will-change: transform, opacity; }
.app-icon { width: 76px; height: 76px; margin: 0 auto 26px; border-radius: 18px; filter: drop-shadow(0 14px 24px rgba(48, 30, 140, .35)); }
/* the Otto logo, whose two O's look at your cursor and blink */
.hero-logo { width: 64px; margin: 0 auto 26px; color: #1E1530; line-height: 0; }
.hero-logo svg { width: 100%; height: auto; overflow: visible; }
.hero h1 { margin: 0 auto; max-width: 14em; }
.hero .lead { margin: 22px auto 0; max-width: 33em; font-size: 18px; line-height: 1.55; color: #574C6E; }
.hero .cta-row { margin-top: 32px; display: flex; justify-content: center; }
.intro-in { opacity: 0; filter: blur(14px); transform: translateY(14px); animation: introIn 1.4s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes introIn { to { opacity: 1; filter: none; transform: none; } }

.product-wrap { position: relative; z-index: 3; margin-top: 96px; }   /* the Mac slides over the copy as it rises */
.product { width: min(1312px, 100% - 48px); max-width: 100%; margin: 0 auto; transform-origin: 50% 0; will-change: transform; transform: perspective(1400px) scale(.93) rotateX(16deg); }
.mac { border-radius: 22px; padding: 10px; background: #0D0B13; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), 0 70px 120px -40px rgba(10, 4, 40, .7), 0 30px 60px -30px rgba(10, 4, 40, .6); }
.mac-screen { position: relative; overflow: hidden; border-radius: 13px; aspect-ratio: var(--vdw, 1440) / var(--vdh, 900); background: #1a1247; }
.vd { position: absolute; left: 0; top: 0; width: calc(var(--vdw, 1440) * 1px); height: calc(var(--vdh, 900) * 1px); transform-origin: 0 0; }
.vd .wall, .mode-screen .wall { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.menubar { position: absolute; z-index: 1; left: 0; right: 0; top: 0; height: 32px; padding: 0 20px; display: flex; justify-content: space-between; align-items: center; font: 500 13.5px/1 var(--sys); color: rgba(255, 255, 255, .92); background: rgba(10, 8, 24, .34); }
.menubar > div { display: flex; align-items: center; gap: 9px; }
.menubar > div:first-child span { font-weight: 400; margin-left: 10px; opacity: .9; }
.menubar b { font-weight: 700; margin-left: 10px; }
.menubar .apple { width: 13px; height: 16px; fill: currentColor; margin-top: -2px; }
.vd .vd-otto { position: absolute; z-index: 2; left: 0; right: 0; top: 0; }
.vd .ot-mcard { margin-top: 12px; }
.product.is-m .menubar > div:first-child span, .product.is-m .menubar > div:last-child span:first-child { display: none; }

/* ---------- sections ---------- */
main { position: relative; z-index: 1; background: rgb(var(--bg)); border-radius: 0 0 40px 40px; margin-bottom: var(--fh); }
.sec { position: relative; padding: 170px 0 40px; }
.blocks { padding-top: 110px; }
.sec-head { margin-bottom: 56px; }
.sec-head p { color: rgb(var(--muted)); font-size: 17px; line-height: 1.55; }
.split-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; }
.split-head h2 { max-width: 13em; }
.split-head p { max-width: 25em; padding-bottom: 6px; }
.center-head { text-align: center; }
.center-head p { margin: 20px auto 0; max-width: 30em; }

/* reveal */
.rv { opacity: 0; transform: translateY(26px); filter: blur(8px); transition: opacity 1.1s var(--ease), transform 1.2s var(--ease), filter 1.1s var(--ease); transition-delay: var(--rd, 0s); }
.rv.in { opacity: 1; transform: none; filter: none; }

/* small demos, scaled to their box */
.fitbox { position: relative; }
.fit { position: absolute; left: 50%; top: 0; transform-origin: 50% 0; }
.demo { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; position: relative; }
.demo .ot { width: 100%; }
.ot-mcard { max-width: calc(100% - 24px); }
.ot-mcard .mb { height: 28px; padding: 0 12px; gap: 6px; border-radius: 14px; }
.ot-mcard .mb.join, .ot-mcard .mb.ghost { padding: 0 6px 0 12px; }
.ot-mcard .mb kbd { min-width: 18px; height: 17px; }
.ot-mcard .mb kbd + kbd { margin-left: -3px; }
.ot .rk { display: inline-grid; place-items: center; }
.ot .rk .ret { width: 10px; height: 10px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- 1 · three blocks, each a piece of the real Otto UI ---------- */
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); border-radius: 24px; background: rgb(255 255 255 / .022); box-shadow: inset 0 0 0 1px rgb(var(--line) / var(--lineA)); }
.c3 { position: relative; padding: 30px 30px 34px; display: flex; flex-direction: column; min-width: 0; }
.c3 + .c3 { box-shadow: inset 1px 0 0 rgb(var(--line) / var(--lineA)); }
.c3 .viz { margin-bottom: 30px; }
.c3 .viz-top { margin-top: -30px; margin-bottom: 30px; }
.c3 h3 { margin-top: auto; }   /* titles line up at the foot of all three cards */   /* the notch hangs from the card's top edge */
.c3 h3, .fc h3 { display: flex; align-items: center; gap: 10px; font: 500 17px/1.35 var(--sans); letter-spacing: -.01em; }
.c3 h3 .i, .fc h3 .i { color: var(--lilac); }
.c3 p { margin-top: 8px; color: rgb(var(--muted)); font-size: 15px; line-height: 1.55; max-width: 30em; }

/* a black panel, as the notch opens, holding real Otto rows */
.pane { position: relative; width: 100%; border-radius: 24px; background: #000; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .07), 0 30px 60px -30px rgba(0, 0, 0, .8); overflow: hidden; }
.pane.list { height: 340px; padding: 12px 10px; }
.pane .ot-row .gutter { display: none; }
.pane .ot-list { padding-bottom: 0; }
.pane .ot-row { overflow: hidden; }
.pane .ot-row.done .title { text-decoration: line-through; }
.pane .pfoot { position: absolute; left: 0; right: 0; bottom: 0; height: 64px; display: flex; align-items: center; justify-content: center; gap: 8px; font: 500 12.5px/1 var(--sys); color: #8E8E93; background: linear-gradient(180deg, transparent, #000 45%); }
.pane .pfoot b { color: #F2F2F2; font-weight: 600; font-variant-numeric: tabular-nums; }
.pane .pfoot .spark { display: flex; align-items: flex-end; gap: 2px; height: 16px; }
.pane .pfoot .spark i { width: 3px; border-radius: 2px; background: rgb(var(--dk)); opacity: .45; transition: height .5s var(--ease); }
.pane .pfoot .spark i:last-child { opacity: 1; }
.pane .pfoot .chk { width: 16px; height: 16px; border-radius: 5px; display: grid; place-items: center; background: rgb(var(--dk)); color: #000; }

/* the note that formats itself — header and bar as in the app's DockNoteHeader / DockEditorBar */
.pane.note { height: 372px; }
.pane.note .dk-page { position: absolute; inset: 0; padding: 26px 26px 0; }
.ot-dock .dk-head { padding: 6px 0 26px; gap: 6px; }
.ot-dock .dk-title { font: 700 24px/29px var(--sys); letter-spacing: -.4px; color: #F5F5F7; }
.ot-dock .dk-date { font: 500 14px/18px var(--sys); color: #6E6E73; }
.ot-dock .dk-page .ot-doc { font-size: 15px; line-height: 23px; color: #F2F2F2; }
.ot-dock .dk-page .ot-doc b { font-weight: 700; }
.pane.note .ot-doc { margin: 0; padding: 0; min-height: 0; }
.pane.note .ot-doc .ln { position: relative; transition: font-size .35s var(--ease), line-height .35s var(--ease), padding .35s var(--ease), color .3s; }
.pane.note .ot-doc .ln.h { font-size: 17px; line-height: 25px; font-weight: 600; color: #F5F5F7; }
.pane.note .ot-doc .ln.li { padding-left: 18px; }
.pane.note .ot-doc .ln::before { content: "•"; position: absolute; left: 2px; opacity: 0; transition: opacity .3s; }
.pane.note .ot-doc .ln.li::before { opacity: 1; }
.pane.note .ot-doc .ln.q { padding-left: 14px; color: #C7C7CC; }
.pane.note .ot-doc .ln.q::before { content: ""; top: 3px; bottom: 3px; left: 1px; width: 2px; border-radius: 2px; background: #E5B66B; opacity: 1; }
.pane.note .ot-doc .b { transition: color .3s; }
.pane.note .ot-doc .b.on { font-weight: 700; color: #fff; }
.pane.note .ot-doc .cd { transition: all .3s var(--ease); border-radius: 4px; }
.pane.note .ot-doc .cd.on { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 13.5px; color: #E8905C; background: #2A1A14; box-shadow: inset 0 0 0 1px #5C3524; padding: 0 4px; }
.pane.note .ot-doc .lk.on { text-decoration: underline; text-decoration-color: rgba(16, 239, 242, .55); text-underline-offset: 3px; color: #fff; }

/* the editor's bar: Back · the tools · Export, 38 tall, the tools 32 square with 2 between */
.dk-tools { position: absolute; z-index: 3; left: 14px; right: 14px; bottom: 14px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ot-dock .dk-tools { left: 16px; right: 16px; bottom: 16px; }
.dk-rb, .dk-fb { background: rgba(30, 30, 33, .72); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .13), inset 0 1px 0 rgba(255, 255, 255, .08), 0 6px 18px rgba(0, 0, 0, .5); }
.dk-rb { width: 38px; height: 38px; flex: none; border-radius: 50%; display: grid; place-items: center; color: #AEAEB2; }
.dk-rb .hg { width: 18px; height: 18px; }
.dk-fb { height: 38px; padding: 0 4px; border-radius: 19px; display: flex; align-items: center; gap: 2px; }
.dk-fb > b, .dk-fb > span { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: #E5E5EA; transition: background .25s, color .25s; }
.dk-fb > b { font: 600 13px/1 var(--sys); }
.dk-fb > i { width: 1px; height: 18px; margin: 0 3px; background: rgba(255, 255, 255, .12); flex: none; }
.dk-fb .on { background: rgba(229, 182, 107, .18); color: #F0CF98; }
.hg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* the meeting: a countdown in the closed notch, then the card */
[data-viz="meet"] .ot-presence .count { font-variant-numeric: tabular-nums; }
[data-viz="meet"] .ot-mcard .mb.join.press { transform: scale(.92); }
[data-viz="meet"] .ot-mcard .mb.join { transition: transform .15s; }
[data-viz="meet"] .joined { position: absolute; left: 50%; top: 84px; transform: translate(-50%, 6px); display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 99px; font: 500 13px/1 var(--sys); color: #062616; background: var(--mint); opacity: 0; transition: opacity .4s, transform .5s var(--ease); white-space: nowrap; }
[data-viz="meet"] .joined.on { opacity: 1; transform: translate(-50%, 0); }
[data-viz="meet"] .joined svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
[data-viz="meet"] .upnext { position: absolute; left: 10px; right: 10px; top: 186px; display: grid; gap: 4px; transition: opacity .5s, transform .6s var(--ease); }
[data-viz="meet"] .upnext .ev { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 12px; font: 400 13.5px/1.2 var(--sys); color: #C7C7CC; background: rgb(255 255 255 / .04); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .06); }
[data-viz="meet"] .upnext .ev i { width: 3px; align-self: stretch; border-radius: 2px; background: var(--c); }
[data-viz="meet"] .upnext .ev b { font-weight: 500; color: #F2F2F2; flex: 1; }
[data-viz="meet"] .upnext .ev time { font-size: 12px; color: #8E8E93; font-variant-numeric: tabular-nums; }
[data-viz="meet"] .upnext .h { font: 500 11.5px/1 var(--sys); color: #6E6E73; letter-spacing: .02em; padding: 0 4px 6px; }
[data-viz="meet"].joining .upnext { opacity: 0; transform: translateY(8px); }

/* ---------- 2 · tour: steps with a progress ring, a gradient with the notch on its top edge ---------- */
.tour { display: grid; grid-template-columns: minmax(0, 470px) minmax(0, 1fr); gap: 72px; align-items: start; }
.tour-l p { margin-top: 22px; color: rgb(var(--muted)); max-width: 26em; }
.tour-l .btn { margin-top: 30px; }
.steps { margin-top: 44px; box-shadow: inset 0 -1px 0 rgb(var(--line) / var(--lineA)); }
.step { display: grid; grid-template-columns: 40px 1fr; column-gap: 16px; align-items: center; width: 100%; padding: 22px 0; text-align: left; background: none; border: 0; cursor: pointer; color: rgb(var(--muted)); box-shadow: inset 0 1px 0 rgb(var(--line) / var(--lineA)); }
.ring { position: relative; width: 40px; height: 40px; display: grid; place-items: center; }
.ring .rg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.ring circle { fill: none; stroke: rgb(var(--line) / calc(var(--lineA) * 1.6)); stroke-width: 1.5; }
.ring circle.p { stroke: url(#g-ring); stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--p, 0)); opacity: 0; transition: opacity .3s; }
.step.on .ring circle.p { opacity: 1; }
.step.on .ring { color: rgb(var(--fg)); }
.st-t { font: 500 17px/1.3 var(--sans); letter-spacing: -.01em; transition: color .4s; }
.step.on .st-t { color: rgb(var(--fg)); }
.st-d { grid-column: 2; font-size: 15px; line-height: 1.55; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .6s var(--ease), opacity .5s, margin .6s var(--ease); }
.step.on .st-d { max-height: 120px; opacity: 1; margin-top: 8px; }

.tour-r { position: relative; height: 640px; border-radius: 26px; overflow: hidden; box-shadow: inset 0 0 0 1px rgb(var(--line) / var(--lineA)); background: #120C22; }
.scene { position: absolute; inset: 0; opacity: 0; transition: opacity .9s var(--ease); }
.scene.on { opacity: 1; }
.scene[data-sky="morning"] { background: radial-gradient(90% 60% at 50% 108%, #F7C2E2 0%, #B49EF6 38%, transparent 72%), radial-gradient(60% 40% at 12% 70%, rgba(120, 160, 255, .45), transparent 70%), linear-gradient(180deg, #1A1446 0%, #3F31A6 48%, #7C66EA 100%); }
.scene[data-sky="dusk"] { background: radial-gradient(90% 60% at 34% 110%, #FFD0B5 0%, #F294C1 34%, transparent 70%), radial-gradient(60% 50% at 88% 80%, rgba(124, 92, 255, .55), transparent 70%), linear-gradient(180deg, #170F38 0%, #4E2A83 52%, #A55AA6 100%); }
.scene[data-sky="night"] { background: radial-gradient(70% 50% at 72% 104%, rgba(110, 130, 255, .75) 0%, transparent 70%), radial-gradient(50% 40% at 18% 96%, rgba(200, 120, 220, .4), transparent 70%), linear-gradient(180deg, #07061A 0%, #151146 60%, #2A2475 100%); }
.scene .ui { position: absolute; left: 50%; top: 0; width: min(620px, 94%); transform: translateX(-50%); }
.scene.on .ui { animation: drop .9s var(--ease) both; }
@keyframes drop { from { opacity: 0; transform: translate(-50%, -10px); } }
.keys { display: flex; gap: 12px; }
.keys span { width: 66px; height: 66px; border-radius: 16px; display: grid; place-items: center; font: 400 26px/1 var(--sys); color: #17131F; background: #fff; box-shadow: 0 5px 0 #CFC6E8, 0 14px 26px rgba(20, 10, 50, .3); transition: transform .12s var(--ease), box-shadow .12s; }
.keys span.down { transform: translateY(4px); box-shadow: 0 1px 0 #CFC6E8, 0 4px 10px rgba(20, 10, 50, .2); }
.scene .keys { position: absolute; left: 50%; bottom: 64px; transform: translateX(-50%); }
[data-demo="meeting"] .ot-mcard { margin-top: 14px; }

/* ---------- 3 · notch or floating ---------- */
.seg { position: relative; display: inline-flex; margin-top: 34px; padding: 4px; border-radius: 99px; background: rgb(255 255 255 / .05); box-shadow: inset 0 0 0 1px rgb(var(--line) / var(--lineA)); }
.seg button { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border: 0; background: none; border-radius: 99px; cursor: pointer; font-size: 14.5px; font-weight: 500; color: rgb(var(--muted)); transition: color .4s; }
.seg button[aria-selected="true"] { color: #17131F; }
.seg-pill { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 4px; width: 0; border-radius: 99px; background: #F5F2FC; box-shadow: 0 6px 18px -8px rgba(0, 0, 0, .4); transition: left .5s var(--ease), width .5s var(--ease); }
.seg.small button { padding: 9px 18px; font-size: 14px; }
.mode-stage { margin: 0 auto; max-width: 1120px; }
.mode-screen { position: relative; overflow: hidden; aspect-ratio: 16 / 9.4; border-radius: 22px; background: #1a1247; box-shadow: 0 0 0 10px #0D0B13, 0 0 0 11px rgb(255 255 255 / .07), 0 60px 120px -40px rgba(0, 0, 0, .6); }
.mode-screen .menubar { height: calc(32px * var(--nk, 1)); padding: 0 calc(20px * var(--nk, 1)); font-size: calc(13.5px * var(--nk, 1)); }
.mode-screen .menubar > div { gap: calc(9px * var(--nk, 1)); }
.mode-screen .menubar b { margin-left: calc(10px * var(--nk, 1)); }
.mode-screen .menubar .apple { width: calc(13px * var(--nk, 1)); height: calc(16px * var(--nk, 1)); margin-top: calc(-2px * var(--nk, 1)); }
.hw-notch { position: absolute; z-index: 1; left: 50%; top: 0; width: calc(185px * var(--nk, 1)); height: calc(32px * var(--nk, 1)); transform: translateX(-50%); background: #000; border-radius: 0 0 10px 10px; }
.m-notch, .m-float { position: absolute; z-index: 2; left: 50%; transition: opacity .7s var(--ease), transform .8s var(--ease); }
.m-notch { top: 0; width: min(620px, 60%); transform: translateX(-50%); }
.m-float { top: 50%; width: min(657px, 64%); transform: translate(-50%, -46%) scale(.97); opacity: 0; pointer-events: none; }
.m-float .ot-notch { display: none; }   /* the screen already has its notch */
.mode-stage[data-mode="float"] .m-notch { opacity: 0; transform: translateX(-50%) translateY(-24px) scale(.96); pointer-events: none; }
.mode-stage[data-mode="float"] .m-float { opacity: 1; transform: translate(-50%, -50%); pointer-events: auto; }

/* ---------- 4 · carousel ---------- */
.car { position: relative; }
.car-track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: max(24px, (100vw - var(--wrapw)) / 2); padding: 4px max(24px, (100vw - var(--wrapw)) / 2) 4px; scrollbar-width: none; overscroll-behavior-x: contain; }
.car-track::-webkit-scrollbar { display: none; }
.fc { flex: 0 0 min(390px, 82vw); scroll-snap-align: start; padding: 14px 14px 28px; border-radius: 24px; background: rgb(255 255 255 / .022); box-shadow: inset 0 0 0 1px rgb(var(--line) / var(--lineA)); }
.fc-viz { height: 270px; border-radius: 16px; overflow: hidden; background: radial-gradient(120% 90% at 50% 0%, rgb(124 92 255 / .16), transparent 60%), rgb(255 255 255 / .025); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .05); display: grid; place-items: center; }
.fc h3 { margin: 24px 12px 0; }
.fc p { margin: 8px 12px 0; color: rgb(var(--muted)); font-size: 15px; }
.car-ctl { display: flex; align-items: center; justify-content: space-between; margin-top: 30px; }
.car-dots { display: flex; gap: 6px; }
.car-dots i { width: 34px; height: 2px; border-radius: 2px; background: rgb(var(--fg) / .18); transition: background-color .4s, width .4s var(--ease); }
.car-dots i.on { width: 56px; background: rgb(var(--fg)); }
.car-btns { display: flex; gap: 8px; }
.cbtn { width: 42px; height: 42px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; background: none; color: rgb(var(--fg)); box-shadow: inset 0 0 0 1px rgb(var(--line) / calc(var(--lineA) * 1.8)); transition: background-color .3s, opacity .3s; }
.cbtn:hover { background: rgb(255 255 255 / .06); }
.cbtn:disabled { opacity: .35; cursor: default; }

/* the small mock UIs inside the cards */
.mk { font: 400 13px/1.3 var(--sys); color: #F3F0FA; }
.mk-panel { width: 300px; padding: 10px; border-radius: 18px; background: #000; box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .7), inset 0 0 0 1px rgb(255 255 255 / .06); }
.mk .row { display: flex; align-items: center; gap: 10px; padding: 8px 8px; }
.mk .row b { font-weight: 500; flex: 1; }
.mk .row em { font-style: normal; color: #8C869C; font-size: 12px; }
.mk .row em.tag { margin-left: auto; padding: 2px 6px; border-radius: 5px; background: rgb(255 255 255 / .08); font-size: 10.5px; font-weight: 600; letter-spacing: .04em; }
.mk .row.ind { padding-top: 0; padding-left: 34px; }
.mk .cb { width: 15px; height: 15px; border-radius: 5px; box-shadow: inset 0 0 0 1.5px rgb(143 184 255 / .85); flex: none; position: relative; }
.mk .cb.on { background: rgb(143 184 255); box-shadow: none; }
.mk .cb.on::after { content: ""; position: absolute; left: 5px; top: 2.5px; width: 4px; height: 7px; border: solid #000; border-width: 0 1.6px 1.6px 0; transform: rotate(45deg); }
.mk .sub { margin-left: 15px; padding-left: 10px; box-shadow: inset 1px 0 0 rgb(255 255 255 / .1); }
.mk .row.s { padding: 6px 8px; font-size: 12.5px; color: #CFCBD9; }
.mk .row.s.done span { color: #7F7A8E; text-decoration: line-through; }
.mk .chip { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border-radius: 7px; font-size: 12px; font-weight: 500; }
.mk .chip.link { color: #9CC0FF; background: rgb(156 192 255 / .13); }
.mk .chip.img { color: #E4D8FF; background: rgb(181 165 240 / .16); }
.mk .chip.date { color: #FFD49A; background: rgb(255 196 110 / .13); margin-left: auto; }
.mk-dock { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.mk-dock .dock { display: flex; gap: 4px; padding: 5px; border-radius: 99px; background: #000; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .08), 0 20px 40px -18px rgba(0, 0, 0, .7); }
.mk-dock .sp { display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: 99px; font-size: 12.5px; font-weight: 500; color: #9C97AA; }
.mk-dock .sp::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c); }
.mk-dock .sp.on { color: #fff; background: rgb(255 255 255 / .1); }
.mk-dock .mini-list { display: grid; gap: 8px; width: 240px; }
.mk-dock .mini-list i { height: 10px; border-radius: 6px; background: rgb(255 255 255 / .07); }
.mk-dock .mini-list i:nth-child(2) { width: 80%; } .mk-dock .mini-list i:nth-child(3) { width: 62%; }
.mk-md { width: 310px; border-radius: 13px; overflow: hidden; background: #fff; color: #333; box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .6); }
.mk-md .bar { display: flex; align-items: center; gap: 5px; padding: 10px 12px; border-bottom: 1px solid #eee; font-size: 11px; color: #8A8496; }
.mk-md .bar i { width: 9px; height: 9px; border-radius: 50%; background: #E6E3DD; }
.mk-md .bar span { margin-left: 6px; }
.mk-md pre { margin: 0; padding: 14px 16px 18px; font: 12.5px/1.75 var(--mono); white-space: pre-wrap; }
.mk-md pre b { color: #17131F; } .mk-md pre em { font-style: normal; color: var(--violet); }
.mk-keys { display: flex; gap: 10px; }
.mk-keys span { width: 62px; height: 62px; border-radius: 15px; display: grid; place-items: center; font: 400 24px/1 var(--sys); color: #17131F; background: #fff; box-shadow: 0 5px 0 #CFC6E8, 0 14px 26px rgba(10, 5, 30, .35); }
.fc:hover .mk-keys span { animation: keytap 1.2s var(--ease) both; }
.fc:hover .mk-keys span:nth-child(2) { animation-delay: .12s; } .fc:hover .mk-keys span:nth-child(3) { animation-delay: .24s; }
@keyframes keytap { 20% { transform: translateY(4px); box-shadow: 0 1px 0 #CFC6E8, 0 4px 10px rgba(10, 5, 30, .3); } 45% { transform: none; } }
.mk-set { width: 290px; padding: 18px; border-radius: 16px; background: #1B1824; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .07), 0 24px 50px -20px rgba(0, 0, 0, .6); }
.mk-set .lbl { font-size: 12px; color: #9C97AA; margin-bottom: 10px; }
.mk-set .slider { position: relative; height: 4px; border-radius: 4px; background: rgb(255 255 255 / .12); }
.mk-set .slider i { position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--v) * 100%); border-radius: 4px; background: var(--violet); transition: width 1s var(--ease); }
.mk-set .slider i::after { content: ""; position: absolute; right: -8px; top: -6px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .4); }
.fc:hover .mk-set .slider i { width: 88%; }
.mk-set .ticks { display: flex; justify-content: space-between; margin: 10px 0 18px; font-size: 11px; color: #7F7A8E; }
.mk-set .pills { display: inline-flex; padding: 3px; border-radius: 9px; background: rgb(255 255 255 / .06); }
.mk-set .pills span { padding: 6px 12px; border-radius: 7px; font-size: 12px; color: #9C97AA; }
.mk-set .pills span.on { background: rgb(255 255 255 / .14); color: #fff; }
.mk-update { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.mk-update .toast { display: flex; align-items: center; gap: 12px; width: 300px; padding: 12px 14px; border-radius: 16px; background: rgb(30 27 40 / .92); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .08), 0 20px 40px -18px rgba(0, 0, 0, .7); }
.mk-update .app { width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; background: linear-gradient(160deg, #2A2140, #0F0C17); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .1); }
.mk-update .app .eyes-logo { width: 24px; color: #fff; }
.mk-update .toast div { flex: 1; display: grid; gap: 2px; }
.mk-update .toast b { font-weight: 600; font-size: 13px; }
.mk-update .toast div span { font-size: 12px; color: #9C97AA; }
.mk-update .ok { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; color: #062616; background: var(--mint); }
.mk-update .ver { display: flex; gap: 10px; font-size: 12px; color: #8C869C; }
.mk-update .ver b { color: #F3F0FA; font-weight: 500; }
.eyes-logo { display: inline-block; width: 26px; line-height: 0; }
.eyes-logo svg { width: 100%; height: auto; }

/* ---------- 5 · FAQ ---------- */
.faq { margin-top: 8px; }
.faq-panel { display: none; box-shadow: inset 0 1px 0 rgb(var(--line) / var(--lineA)); }
.faq-panel.on { display: block; animation: fadeUp .6s var(--ease) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } }
.faq details { box-shadow: inset 0 -1px 0 rgb(var(--line) / var(--lineA)); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font: 500 17px/1.4 var(--sans); letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; flex: none; width: 14px; height: 14px; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 0; top: 6.25px; width: 14px; height: 1.5px; border-radius: 2px; background: rgb(var(--muted)); transition: transform .4s var(--ease); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq .ans p { padding: 0 48px 26px 0; color: rgb(var(--muted)); font-size: 16px; }
.faq .ans a { color: var(--lilac); }
.faq details[open] .ans { animation: fadeUp .5s var(--ease) both; }
.ask { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 40px; font-size: 15px; color: rgb(var(--muted)); }
.ask-av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgb(255 255 255 / .08); }
.ask-av .eyes-logo { width: 22px; color: #fff; }
.ask a { color: rgb(var(--fg)); text-underline-offset: 4px; }

/* ---------- 6 · closing call, on the gradient that rises as you arrive ---------- */
.finale { padding: 240px 0 0; min-height: 900px; overflow: hidden; border-radius: 0 0 40px 40px; }
.fin-bg { position: absolute; inset: 0; pointer-events: none; }
.fin-bg { background: linear-gradient(180deg, rgb(var(--bg)) 0%, #161034 30%, #342480 45%, #5E46BA 55%, #9276E0 63%, #C7B0EE 72%, #EAD6EC 81%, #F8EAE6 91%, #FCF6F3 100%); opacity: var(--tv, 0); }
.fin-bg canvas { position: absolute; left: 0; top: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.2s var(--ease); }
.fin-bg canvas.on { opacity: 1; }
.fin-in { position: relative; z-index: 1; text-align: center; display: flex; flex-direction: column; align-items: center; }
.fin-in .app-icon { margin-bottom: 30px; }
.fin-in h2 { color: #fff; }
.fin-in > p { margin-top: 16px; color: rgb(255 255 255 / .74); font-size: 17px; }
.fin-in .btn { margin-top: 34px; }
.fin-in .tip { margin-top: 22px; font-size: 15px; color: rgb(255 255 255 / .6); }
.fin-in .tip a { color: #fff; text-underline-offset: 4px; }

/* ---------- footer, revealed as the page lifts off it ---------- */
.site-footer { position: fixed; z-index: 0; left: 0; right: 0; bottom: 0; overflow: hidden; color: #F4F3F8; background: #08070B; }
.site-footer.static { position: relative; }
.site-footer .wrap { width: min(1160px, 100% - 48px); }
.foot-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 48px; padding: var(--fgap, 96px) 0 0; }
.foot-about { max-width: 26em; display: grid; gap: 10px; font-size: 13.5px; line-height: 1.6; color: #7B788A; }
.foot-cols { display: flex; gap: 96px; padding-right: 8px; }
.foot-cols h4 { margin: 0 0 18px; font-size: 14px; font-weight: 500; color: #6F6D7E; }
.foot-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.foot-cols a { text-decoration: none; font-size: 16px; }
.foot-cols a:hover { text-decoration: underline; text-underline-offset: 4px; }
.mega { width: var(--mw, 100%); margin: var(--fgap, 96px) auto calc(var(--mwpx, 1160px) * -0.17); -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 94%); mask-image: linear-gradient(180deg, #000 30%, transparent 94%); }
.mega svg { width: 100%; height: auto; overflow: visible; }

/* ---------- phones and small tablets ---------- */
@media (max-width: 960px) {
  .split-head { flex-direction: column; align-items: flex-start; gap: 18px; }
  .cards3 { grid-template-columns: 1fr; }
  .c3 + .c3 { box-shadow: inset 0 1px 0 rgb(var(--line) / var(--lineA)); }
  .tour { grid-template-columns: 1fr; gap: 40px; }
  .tour-r { height: 540px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap, .narrow { width: calc(100% - 40px); }
  .nav { top: 10px; padding: 0 12px; }
  .nav .brand, .nav .nav-btn { height: 42px; }
  .nav .brand { padding: 0 15px; }
  .nav .brand svg { height: 17px; }
  .hero-stage { padding-top: 72px; }
  .app-icon { width: 64px; height: 64px; border-radius: 15px; margin-bottom: 22px; }
  .hero-logo { width: 56px; margin-bottom: 20px; }
  .hero .lead { font-size: 16.5px; }
  .product-wrap { margin-top: 56px; }
  .product { width: calc(100% - 24px); }
  .mac { border-radius: 16px; padding: 6px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), 0 30px 50px -24px rgba(10, 4, 40, .6); }
  .mac-screen { border-radius: 10px; }
  .sec { padding: 120px 0 30px; }
  .sec-head { margin-bottom: 40px; }
  .c3 { padding: 24px 22px 28px; }
  .c3 .viz-top { margin-top: -24px; margin-bottom: 24px; }
  .tour-r { height: 460px; border-radius: 22px; }
  .scene .keys { bottom: 40px; }
  .keys span { width: 56px; height: 56px; font-size: 22px; }
  .seg button { padding: 9px 14px; font-size: 13.5px; }
  .mode-screen { aspect-ratio: 4 / 5; border-radius: 16px; }
  .m-notch { width: 92%; }
  .m-float { width: 92%; }
  .fc-viz { height: 240px; }
  .faq summary { font-size: 16px; padding: 20px 0; }
  .faq .ans p { padding-right: 8px; }
  .finale { padding-top: 170px; min-height: 760px; border-radius: 0 0 28px 28px; }
  .foot-top { flex-direction: column; gap: 40px; --fgap: 64px; }
  .mega { --fgap: 64px; }
  .foot-cols { gap: 64px; }
  main { border-radius: 0 0 28px 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .rv, .intro-in { opacity: 1 !important; transform: none !important; filter: none !important; animation: none !important; transition: none !important; }
  .product { transform: none !important; }
  .hero { height: auto !important; }
  .hero-stage { position: relative; height: auto; padding-bottom: 80px; }
  .fin-bg { opacity: 1; }
}
