/* Winq website. Design system: brand/BRAND.md + brand/tokens.css (the site
   keeps its own copy of the values below; it doesn't import brand/).
   Dark-first, the marketing default: a floating nav, a lit hero, then
   showcase blocks that each stage one product moment (keycap cards, mode
   cards, a desktop showcase, a blueprint block). Lime (iris) only means
   "gaze": the logo's eye, the focus glow, small dots.
   Motion: everything eases out, nothing bounces, and nothing loops except
   the hero's light (a slow drift) and a live dot. Under
   prefers-reduced-motion every animation shows its end state. */
:root {
  --surface: #08090a; --surface-raised: #101113; --surface-sunken: #050506; --line: #1f2023; --line-strong: #5f6168;
  --line-hover: #2a2c30;
  --ink: #f7f8f8; --ink-muted: #8a8f98; --action: #f7f8f8; --on-action: #08090a;
  --iris: #c8f03c; --iris-soft: #1a2208; --iris-text: #d4f55e; --on-iris: #191919;
  --spark: #ff7a55; --spark-text: #ff9877; --success: #6cb8f5; --danger: #ff8a7a; --focus: var(--iris-text);
  --glass: rgba(16, 17, 19, .72); --line-glass: rgba(255, 255, 255, .08);
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-6: 24px; --space-8: 32px; --space-12: 48px; --space-16: 64px; --space-24: 96px;
  --radius-sm: 6px; --radius-md: 10px; --radius-lg: 18px; --radius-pill: 999px;
  --gutter: 32px;
  /* Motion guide: one easing; UI 150–200 ms; reveals 500 ms. */
  --ease-out: cubic-bezier(.2, .8, .2, 1); --ease-in: cubic-bezier(.4, 0, 1, 1);
  --dur-fast: 150ms; --dur-base: 180ms; --dur-slow: 500ms;
  --shadow-raised: 0 0 0 1px rgba(255, 255, 255, .04), 0 12px 40px rgba(0, 0, 0, .6);
  --shadow-gaze: 0 0 0 2px #c8f03c, 0 0 32px 6px rgba(200, 240, 60, .28);
  --shadow-nav: 0 0 0 1px rgba(255, 255, 255, .02), 0 12px 40px rgba(0, 0, 0, .45);
  --shadow-keycap: inset 0 1px 0 rgba(255, 255, 255, .05), 0 10px 30px rgba(0, 0, 0, .5);
  --glow-iris-soft: 0 0 0 1px rgba(200, 240, 60, .2), 0 0 32px 4px rgba(200, 240, 60, .12);
  --font-display: -apple-system, "SF Pro Display", "Geist", system-ui, sans-serif;
  --font-sans: -apple-system, "SF Pro Text", "Geist", system-ui, sans-serif;
  --font-mono: "SF Mono", "Geist Mono", ui-monospace, Menlo, monospace;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--surface); color: var(--ink); font: 400 15px/24px var(--font-sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
[hidden] { display: none !important; }
img, svg { display: block; max-width: 100%; }
a { color: var(--iris-text); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.i { width: 16px; height: 16px; flex: none; }
/* "Skip to content": off screen until you tab to it. */
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 50; }
.skip-link:focus { left: 8px; }
.wrap { max-width: calc(1180px + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
section { scroll-margin-top: 96px; }
h1, h2, h3 { font-family: var(--font-display); margin: 0; text-wrap: balance; }
p { margin: 0; }
.muted { color: var(--ink-muted); }
.center { text-align: center; }
.display-l { font-size: clamp(36px, 4.6vw, 48px); line-height: 1.05; font-weight: 600; letter-spacing: -.035em; }
/* Section intro: two lines at 22px, the statement in ink, the second muted. */
.intro { font: 500 22px/30px var(--font-sans); letter-spacing: -.01em; }
.intro span { color: var(--ink-muted); }
/* Sentence-case label with an iris dot. */
.label { display: inline-flex; align-items: center; gap: var(--space-2); font: 500 13px/18px var(--font-sans); color: var(--ink-muted); margin: 0 0 var(--space-4); }
.label::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--iris); flex: none; }
.text-link { display: inline-flex; align-items: center; gap: var(--space-2); color: var(--ink); text-decoration: none; font-size: 15px; }
.text-link:hover { color: var(--iris-text); }
.chip { display: inline-flex; align-items: center; font: 400 12px/20px var(--font-sans); padding: 0 8px; border-radius: var(--radius-sm); background: var(--iris-soft); color: var(--iris-text); white-space: nowrap; letter-spacing: 0; vertical-align: middle; }

/* Buttons */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); height: 44px; padding: 0 20px; font: 500 15px/20px var(--font-sans); border-radius: var(--radius-md); border: 1px solid transparent; cursor: pointer; text-decoration: none; white-space: nowrap; color: var(--ink); background: none; transition: background-color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), opacity var(--dur-fast) var(--ease-out); }
.btn-primary { background: var(--action); color: var(--on-action); box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .15), 0 1px 2px rgba(0, 0, 0, .4); }
.btn-primary:hover { color: var(--on-action); opacity: .9; }
.btn-secondary { border-color: var(--line-strong); color: var(--ink); }
.btn-secondary:hover { color: var(--ink); border-color: var(--ink-muted); background: rgba(255, 255, 255, .03); }
.btn-sm { height: 36px; padding: 0 14px; font-size: 14px; }
.btn-hero { height: 48px; padding: 0 20px; gap: 10px; font-size: 16px; border-radius: 12px; box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .15), 0 8px 24px rgba(0, 0, 0, .5); }
.btn-hero .i { width: 18px; height: 18px; }
/* Click: one ring expands once from the button (240 ms, 1 → 4, fades). */
.btn.clicked::after { content: ""; position: absolute; left: var(--cx, 50%); top: var(--cy, 50%); width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; border: 2px solid var(--iris); pointer-events: none; animation: click-ring 240ms var(--ease-out) forwards; }
@keyframes click-ring { from { transform: scale(1); opacity: 1; } to { transform: scale(4); opacity: 0; } }

/* Nav: one floating glass bar, inset from the top, fixed while you scroll. */
.nav { position: fixed; z-index: 30; top: 0; left: 0; right: 0; padding: 24px var(--gutter) 0; pointer-events: none; }
.nav-bar { pointer-events: auto; max-width: 1180px; height: 64px; margin: 0 auto; padding: 0 12px 0 20px; display: flex; align-items: center; gap: var(--space-6); border: 1px solid var(--line-glass); border-radius: 16px; background: var(--glass); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: var(--shadow-nav); }
.brand { display: flex; flex: none; text-decoration: none; }
.brand img { height: 30px; width: auto; }
.nav-links { flex: 1; display: flex; justify-content: center; gap: var(--space-8); }
.nav-links a, .nav-login { color: var(--ink-muted); text-decoration: none; font-size: 14px; line-height: 20px; transition: color var(--dur-fast) var(--ease-out); }
.nav-links a:hover, .nav-login:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-login { margin-left: auto; }
.btn-nav { flex: none; height: 40px; padding: 0 16px; font-size: 14px; }
.nav-menu { display: none; position: relative; }
.nav-menu summary { list-style: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--radius-md); color: var(--ink); cursor: pointer; border: 1px solid var(--line-glass); }
.nav-menu summary::-webkit-details-marker { display: none; }
.nav-menu summary .i { width: 18px; height: 18px; }
.nav-sheet { position: absolute; right: 0; top: 52px; min-width: 200px; padding: var(--space-2); display: flex; flex-direction: column; border: 1px solid var(--line-glass); border-radius: 14px; background: rgba(16, 17, 19, .96); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: var(--shadow-nav); }
.nav-sheet a { padding: 10px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: 15px; }
.nav-sheet a:hover { background: var(--line); color: var(--ink); }

/* Hero: diagonal lime streaks behind the headline, a dark vignette under
   the text so it keeps its contrast, grain, and a fade to the page. */
.hero { position: relative; overflow: hidden; min-height: 1000px; display: flex; justify-content: center; }
.hero-light { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.streaks { position: absolute; inset: 0; transform: translate3d(0, var(--parallax, 0px), 0); }
.streak { position: absolute; width: 220px; height: 1400px; border-radius: 999px; transform: rotate(-40deg); filter: blur(18px); background: linear-gradient(180deg, rgba(200, 240, 60, 0) 0%, rgba(200, 240, 60, .55) 35%, rgba(200, 240, 60, .75) 55%, rgba(200, 240, 60, 0) 100%); animation: drift 12s ease-in-out infinite alternate; }
.streak:nth-child(2) { animation-delay: -3s; } .streak:nth-child(3) { animation-delay: -6s; } .streak:nth-child(4) { animation-delay: -9s; } .streak:nth-child(5) { animation-delay: -4.5s; }
@keyframes drift { from { translate: -30px 0; } to { translate: 30px 0; } }
.hero-vignette { position: absolute; inset: 0; background: radial-gradient(ellipse 46% 30% at 50% 52%, rgba(8, 9, 10, .92) 0%, rgba(8, 9, 10, .55) 55%, rgba(8, 9, 10, 0) 100%); }
.hero-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 360px; background: linear-gradient(180deg, rgba(8, 9, 10, 0) 0%, var(--surface) 85%); }
.grain { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; opacity: .18; mix-blend-mode: overlay; }
.hero-inner { position: relative; z-index: 1; max-width: 1120px; padding: 348px var(--gutter) 120px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-title { font: 600 88px/1 var(--font-display); letter-spacing: -.045em; text-shadow: 0 2px 24px rgba(0, 0, 0, .6); }
.hero-lead { margin-top: 24px; max-width: 30em; font-size: 19px; line-height: 29px; letter-spacing: -.01em; text-shadow: 0 1px 12px rgba(0, 0, 0, .8); }
.hero .btn-hero { margin-top: 40px; }
.meta { margin-top: 20px; font: 400 13px/21px var(--font-mono); color: var(--ink-muted); }
.meta-links { margin-top: 4px; color: var(--ink); }
.meta-links a { color: var(--ink); text-decoration: none; }
.meta-links a:hover { color: var(--iris-text); }
.meta-links span { color: var(--line-strong); }
.beta-pill { margin-top: 40px; display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 16px; border-radius: var(--radius-pill); border: 1px solid rgba(200, 240, 60, .35); background: rgba(26, 34, 8, .6); color: var(--ink); font-size: 15px; text-decoration: none; box-shadow: 0 0 24px rgba(200, 240, 60, .12); transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out); }
.beta-pill:hover { color: var(--ink); border-color: rgba(200, 240, 60, .6); box-shadow: var(--glow-iris-soft); }
.beta-pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--iris); }

/* Gaze focus: feature points as keys on a faded keyboard. */
.focus-wrap { max-width: calc(1180px + 2 * var(--gutter)); margin: 0 auto; padding: 160px var(--gutter); display: flex; align-items: center; gap: 64px; }
.focus-copy { flex: 0 0 320px; }
.focus-copy .btn { margin-top: 32px; }
.kb { flex: 1; min-width: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; -webkit-mask-image: radial-gradient(ellipse 70% 75% at 45% 50%, #000 55%, transparent 100%); mask-image: radial-gradient(ellipse 70% 75% at 45% 50%, #000 55%, transparent 100%); }
.k { height: 104px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .035); background: rgba(255, 255, 255, .012); display: flex; align-items: center; justify-content: center; font-size: 28px; color: var(--line); user-select: none; }
.kc { grid-column: span 2; height: 104px; border-radius: 12px; border: 1px solid var(--line); background: linear-gradient(180deg, #121316 0%, #0d0e10 100%); box-shadow: var(--shadow-keycap); padding: 16px; display: flex; flex-direction: column; justify-content: space-between; color: var(--ink-muted); transition: transform 200ms var(--ease-out), border-color 200ms var(--ease-out), box-shadow 200ms var(--ease-out); }
.kc .i { width: 20px; height: 20px; }
.kc.on .i { color: var(--iris); }
.kc p { font-size: 15px; line-height: 20px; color: var(--ink-muted); }
.kc b { color: var(--ink); font-weight: 600; }
.kc.on { border-color: rgba(200, 240, 60, .5); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), var(--glow-iris-soft); }
/* Keycap press: down 90 ms (4px), back up in 200 ms, iris border at 50%. */
.kc:hover, .kc.pressed { transform: translateY(4px); border-color: rgba(200, 240, 60, .5); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 4px 12px rgba(0, 0, 0, .5); transition-duration: 90ms; }

/* Modes: filter tabs and cards. */
.modes .wrap { padding-top: 140px; padding-bottom: 120px; display: flex; flex-direction: column; align-items: center; }
.tabs { margin-top: 40px; display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 4px; padding: 4px; border-radius: 12px; border: 1px solid var(--line-glass); background: var(--glass); }
.tab { height: 34px; padding: 0 14px; border: 0; border-radius: 8px; background: transparent; color: var(--ink-muted); font: 400 14px/20px var(--font-sans); cursor: pointer; transition: color var(--dur-fast) var(--ease-out), background-color var(--dur-fast) var(--ease-out); }
.tab:hover { color: var(--ink); }
.tab[aria-pressed="true"] { background: var(--line); color: var(--ink); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06); }
.mode-grid { list-style: none; margin: 40px 0 0; padding: 0; width: 100%; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.mode { position: relative; display: flex; gap: 16px; align-items: flex-start; padding: 20px; border-radius: 16px; border: 1px solid var(--line); background: linear-gradient(180deg, #111214 0%, #0c0d0f 100%); color: var(--ink); transition: transform var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out); }
.mode::after { content: ""; position: absolute; inset: -1px; border-radius: 16px; pointer-events: none; box-shadow: 0 0 0 1px transparent; transition: box-shadow 600ms var(--ease-out); }
/* Hover lift: rise 2px, the border brightens, the shadow deepens. */
.mode:hover { transform: translateY(-2px); border-color: var(--line-hover); box-shadow: 0 12px 32px rgba(0, 0, 0, .5); }
.mode:hover .tile { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), var(--glow-iris-soft); }
.mode h3 { font: 600 15px/22px var(--font-sans); }
.mode p { margin-top: 2px; font-size: 13px; line-height: 20px; color: var(--ink-muted); }
.mode-body { min-width: 0; padding-right: 18px; }
.tile { flex: none; width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: linear-gradient(180deg, #1c1d21 0%, #121316 100%); border: 1px solid rgba(255, 255, 255, .06); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08); color: var(--ink); transition: box-shadow var(--dur-base) var(--ease-out); }
.tile .i { width: 22px; height: 22px; }
.meta-tag { display: block; margin-top: 10px; font: 400 11px/16px var(--font-mono); letter-spacing: .04em; color: var(--ink-muted); }
.meta-tag.paid { color: var(--iris-text); }
/* Dwell: a ring fills while you look (350 ms linear), then the card lights
   (glow in 150 ms, out 600 ms). The first card does it once when it comes
   into view; any card does it while the pointer rests on it. */
.ring { position: absolute; top: 14px; right: 14px; width: 22px; height: 22px; opacity: 0; transition: opacity var(--dur-fast) var(--ease-out); }
.ring circle { fill: none; stroke: var(--line); stroke-width: 2; }
.ring circle.f { stroke: var(--iris); stroke-linecap: round; stroke-dasharray: 57; stroke-dashoffset: 57; }
.mode.dwelling .ring, .mode.looked .ring { opacity: 1; }
.mode.dwelling .ring circle.f { transition: stroke-dashoffset 350ms linear; stroke-dashoffset: 0; }
.mode.looked .ring circle.f { stroke-dashoffset: 0; }
.mode.looked { border-color: transparent; }
.mode.looked::after { box-shadow: var(--shadow-gaze); transition-duration: 150ms; }
.modes .center { margin-top: 40px; }

/* Winq Intelligence: a framed Mac desktop. */
.intel .wrap { padding-top: 120px; padding-bottom: 120px; }
.desk { margin-top: 48px; position: relative; border-radius: var(--radius-lg); border: 1px solid var(--line); padding: 6px; background: #0b0c0e; box-shadow: 0 0 0 1px rgba(255, 255, 255, .02), 0 30px 80px rgba(0, 0, 0, .6); }
.desk-screen { position: relative; border-radius: 14px; overflow: hidden; height: 720px; background: radial-gradient(ellipse 60% 50% at 50% 100%, rgba(200, 240, 60, .22) 0%, rgba(200, 240, 60, 0) 70%), #060607; font-size: 13px; line-height: 18px; }
.menubar { height: 36px; padding: 0 20px; display: flex; align-items: center; gap: 18px; background: rgba(16, 17, 19, .6); border-bottom: 1px solid rgba(255, 255, 255, .04); color: var(--ink-muted); white-space: nowrap; }
.menubar b { color: var(--ink); font-weight: 600; }
.menubar-right { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.live { display: inline-flex; align-items: center; gap: 6px; }
.live i, .win-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--spark); flex: none; }
/* The one other loop: the live camera dot. */
.live i { animation: live 1.6s ease-in-out infinite; }
@keyframes live { 50% { opacity: .35; } }
.call { position: absolute; left: 24px; right: 24px; top: 60px; bottom: 120px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; opacity: .25; transition: opacity 320ms var(--ease-out); }
.call i { background: #101113; border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.call i::before { content: ""; width: 72px; height: 72px; border-radius: 50%; background: var(--line); }
.call i.talking { box-shadow: inset 0 0 0 2px var(--iris); }
.call i.talking::before { background: var(--line-hover); }
.views { position: absolute; left: 20px; top: 52px; z-index: 4; display: flex; gap: 4px; padding: 4px; border-radius: 10px; border: 1px solid var(--line-glass); background: var(--glass); }
.views button { padding: 4px 8px; border: 0; border-radius: 6px; background: transparent; color: var(--ink-muted); font: 400 11px/16px var(--font-mono); letter-spacing: .04em; text-transform: uppercase; cursor: pointer; transition: background-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out); }
.views button:hover { color: var(--ink); }
.views button[aria-pressed="true"] { background: var(--line); color: var(--ink); }
.win { position: absolute; z-index: 2; left: 50%; top: 72px; width: 880px; max-width: calc(100% - 48px); height: 500px; display: flex; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); box-shadow: 0 0 0 1px rgba(255, 255, 255, .04), 0 24px 60px rgba(0, 0, 0, .6); overflow: hidden; transform: translateX(-50%); transition: opacity 320ms var(--ease-out), transform 320ms var(--ease-out); }
.win-side { width: 200px; flex: none; background: var(--surface-sunken); border-right: 1px solid var(--line); padding: 14px 10px; display: flex; flex-direction: column; gap: 2px; }
.lights { display: flex; gap: 8px; padding: 0 8px 18px; }
.lights i { width: 12px; height: 12px; border-radius: 50%; background: var(--line-hover); }
.it { display: flex; align-items: center; gap: 10px; height: 30px; padding: 0 10px; border-radius: 8px; color: var(--ink-muted); white-space: nowrap; transition: background-color var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out); }
.it.on { background: var(--line); color: var(--ink); }
.win-status { margin-top: auto; padding: 12px 10px 0; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 8px; color: var(--ink-muted); }
.win-main { flex: 1; min-width: 0; padding: 40px 32px 24px; display: flex; flex-direction: column; gap: 16px; }
.win-title { display: flex; align-items: center; gap: 10px; font: 600 24px/30px var(--font-display); letter-spacing: -.02em; }
.card-live { padding: 16px; display: flex; flex-direction: column; gap: 10px; border-radius: 12px; background: var(--surface-raised); box-shadow: var(--glow-iris-soft); }
.card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.card-title { font-size: 15px; line-height: 22px; font-weight: 600; }
.dots { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.dots li { display: flex; gap: 10px; font-size: 13px; line-height: 20px; }
.dots li::before { content: ""; flex: none; width: 5px; height: 5px; margin-top: 8px; border-radius: 50%; background: var(--ink-muted); }
.rows > div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: 12px; line-height: 16px; border-top: 1px solid var(--line); }
.rows span:first-child { color: var(--ink-muted); }
.card-actions, .panel-actions { display: flex; gap: 8px; justify-content: flex-end; }
.mini-btn { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line-strong); color: var(--ink); }
.mini-btn.on { background: var(--action); color: var(--on-action); border-color: var(--action); }
.small-head { font-weight: 500; }
.hist { border-radius: 12px; background: var(--surface-raised); border: 1px solid var(--line); }
.hist > div { display: flex; align-items: center; gap: 10px; padding: 10px 14px; }
.hist > div + div { border-top: 1px solid var(--line); }
.hist i { width: 6px; height: 6px; border-radius: 50%; background: var(--line-hover); flex: none; }
.hist span { margin-left: auto; color: var(--ink-muted); }
.card-live > *, .panel > * { transition: opacity var(--dur-base) var(--ease-out); }
.desk.swapping .card-live > *, .desk.swapping .panel > *:not(.panel-head), .desk.swapping .win-title span:first-child { opacity: 0; transition-duration: 90ms; }
/* Side panel: slides in from the edge of the screen you look at (in 320 ms
   ease-out, out 240 ms ease-in). */
.panel { position: absolute; z-index: 3; top: 48px; right: 12px; bottom: 120px; width: 340px; max-width: calc(100% - 24px); border-radius: 16px; border: 1px solid var(--line-glass); background: rgba(16, 17, 19, .92); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: 0 0 0 1px rgba(200, 240, 60, .18), 0 24px 60px rgba(0, 0, 0, .6), 0 0 40px rgba(200, 240, 60, .1); padding: 18px; display: flex; flex-direction: column; gap: 14px; transform: translateX(110%); transition: transform 240ms var(--ease-in); }
.panel-head { display: flex; align-items: center; gap: 10px; }
.panel-head .chip { margin-left: auto; }
.panel-icon { width: 28px; height: 28px; margin: -4px; }
.panel-title { font: 600 20px/26px var(--font-display); letter-spacing: -.02em; }
.panel-note { padding: 10px 12px; border-radius: 10px; background: var(--surface-sunken); border: 1px solid var(--line); color: var(--ink-muted); }
.panel-actions { margin-top: auto; }
.panel-foot { font: 400 11px/16px var(--font-mono); color: var(--ink-muted); }
.desk[data-view="panel"] .panel { transform: none; transition: transform 320ms var(--ease-out); }
.desk[data-view="panel"] .win { opacity: 0; transform: translateX(-50%) translateY(16px) scale(.96); pointer-events: none; }
.desk[data-view="panel"] .call { opacity: .7; }
.dock-wrap { position: absolute; z-index: 4; left: 50%; bottom: 28px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; }
.dock-tip { padding: 4px 10px; border-radius: 8px; background: #16171a; border: 1px solid var(--line); font-size: 13px; line-height: 18px; white-space: nowrap; transition: opacity var(--dur-fast) var(--ease-out) 80ms; }
.dock-tip.fading { opacity: 0; transition-delay: 0ms; transition-duration: 0ms; }
.dock { display: flex; align-items: flex-end; gap: 10px; padding: 8px; border-radius: 18px; background: rgba(16, 17, 19, .7); border: 1px solid rgba(255, 255, 255, .06); }
/* Dock magnify: the active tool grows and glows (200 ms). */
.dock-btn { width: 52px; height: 52px; padding: 0; display: flex; align-items: center; justify-content: center; border-radius: 14px; border: 1px solid var(--line); background: var(--surface-raised); color: var(--ink-muted); cursor: pointer; transition: width 200ms var(--ease-out), height 200ms var(--ease-out), border-color 200ms var(--ease-out), box-shadow 200ms var(--ease-out), color 200ms var(--ease-out); }
.dock-btn .i { width: 20px; height: 20px; }
.dock-btn:hover { color: var(--ink); border-color: var(--line-hover); }
.dock-btn[aria-pressed="true"] { width: 60px; height: 60px; color: var(--ink); border-color: rgba(200, 240, 60, .5); box-shadow: 0 0 24px rgba(200, 240, 60, .2); }
.dock-btn[aria-pressed="true"] .i { width: 22px; height: 22px; }
.intel-caption { margin: 32px auto 0; max-width: 880px; text-align: center; font-size: 15px; }
.intel-caption b { font-weight: 600; }
.intel-caption span { color: var(--ink-muted); }

/* Privacy: a blueprint block of 1px cells on a dot grid. */
.privacy { padding: 64px var(--gutter) 120px; }
.bp-wrap { max-width: 1060px; margin: 0 auto; border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
.bp { display: grid; margin: 0; padding: 0; list-style: none; }
.cell { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.bp-top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bp-top .cell { height: 72px; }
.bp-main { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
.bp-copy { display: flex; flex-direction: column; }
.bp-head { padding: 32px 24px; border-bottom: 1px solid var(--line); }
.bp-head h2 { font: 500 56px/1.05 var(--font-display); letter-spacing: -.035em; }
.bp-body { flex: 1; padding: 32px 24px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.mono-p { font: 400 13px/22px var(--font-mono); color: var(--ink-muted); }
.mono-link { display: inline-flex; align-items: center; gap: 6px; font: 400 13px/22px var(--font-mono); color: var(--ink); text-decoration: none; }
.mono-link .i { width: 14px; height: 14px; }
.fig { position: absolute; top: 14px; left: 14px; font: 400 11px/14px var(--font-mono); letter-spacing: .04em; color: var(--ink-muted); }
.dotgrid, .fig-main, .mini { background-image: radial-gradient(var(--line) 1px, transparent 1px); background-size: 16px 16px; }
.fig-main { position: relative; min-height: 520px; overflow: hidden; }
.fig-stage { position: absolute; inset: 0; }
.lay { position: absolute; left: 50%; width: 320px; height: 210px; margin-left: -160px; border-radius: 14px; transform: rotateX(58deg) rotateZ(-38deg); }
.lay i, .sl i { position: absolute; display: block; }
.lay-frame { top: 250px; border: 1px dashed var(--line-hover); }
.lay-face { top: 175px; border: 1px solid var(--line-hover); background: rgba(16, 17, 19, .9); }
.eye { width: 10px; height: 10px; top: 38%; border-radius: 50%; border: 1.5px solid var(--ink-muted); }
.eye.l { left: 40%; } .eye.r { left: 58%; }
.nose { left: 50%; top: 58%; width: 6px; height: 6px; border-radius: 50%; background: var(--line-strong); }
.mouth { left: 44%; top: 74%; width: 18%; height: 2px; background: var(--line-strong); }
.lay-nums { top: 100px; border: 1px solid var(--iris); background: rgba(26, 34, 8, .85); box-shadow: 0 0 40px rgba(200, 240, 60, .15); }
.lay-nums .b1 { left: 10%; top: 18%; width: 80%; height: 16px; border-radius: 8px; background: var(--iris); }
.lay-nums .b2, .lay-nums .b3, .lay-nums .b4 { left: 10%; height: 8px; border-radius: 4px; background: rgba(200, 240, 60, .35); }
.lay-nums .b2 { top: 42%; width: 56%; } .lay-nums .b3 { top: 58%; width: 66%; } .lay-nums .b4 { top: 74%; width: 44%; }
.tag { position: absolute; font: 400 11px/14px var(--font-mono); letter-spacing: .06em; color: var(--ink-muted); white-space: nowrap; }
.lead { position: absolute; width: 1px; background: var(--line-hover); }
.t1 { left: 62%; top: 52px; } .l1 { left: 66%; top: 70px; height: 90px; }
.t2 { left: 12%; top: 210px; } .l2 { left: 18%; top: 228px; height: 60px; }
.t3 { left: 46%; top: 470px; } .l3 { left: 52%; top: 400px; height: 64px; }
.bp-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.step { display: flex; flex-direction: column; }
.mini { position: relative; height: 180px; overflow: hidden; border-bottom: 1px solid var(--line); }
.mini .fig { top: 10px; left: 10px; }
.mini .tag { left: 12px; bottom: 10px; }
.step.lit .mini { background-color: rgba(26, 34, 8, .25); }
.step.lit .fig, .step.lit .tag { color: var(--iris-text); }
.sl { position: absolute; left: 50%; top: 62px; width: 130px; height: 86px; margin-left: -65px; border-radius: 8px; transform: rotateX(58deg) rotateZ(-38deg); }
.sl-cam { border: 1px dashed var(--line-hover); background: rgba(16, 17, 19, .6); }
.sl-cam i:first-child { left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; border: 1.5px solid var(--ink-muted); }
.sl-cam i:last-child { left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: var(--line-strong); }
.sl-face { border: 1px solid var(--line-hover); background: rgba(16, 17, 19, .9); }
.sl-face .eye { width: 8px; height: 8px; top: 36%; } .sl-face .eye.l { left: 36%; } .sl-face .eye.r { left: 58%; }
.sl-face .nose { left: 48%; top: 56%; width: 5px; height: 5px; } .sl-face .mouth { left: 40%; top: 72%; width: 22%; }
.sl-nums { border: 1px solid var(--iris); background: rgba(26, 34, 8, .85); box-shadow: 0 0 24px rgba(200, 240, 60, .15); }
.sl-nums .b1 { left: 10%; top: 18%; width: 80%; height: 10px; border-radius: 5px; background: var(--iris); }
.sl-nums .b2 { left: 10%; top: 46%; width: 56%; height: 6px; border-radius: 3px; background: rgba(200, 240, 60, .35); }
.sl-nums .b3 { left: 10%; top: 66%; width: 70%; height: 6px; border-radius: 3px; background: rgba(200, 240, 60, .35); }
.sl-back { top: 74px; border: 1px solid var(--line-hover); background: rgba(16, 17, 19, .6); }
.sl-win { top: 50px; border: 1px solid var(--ink); background: var(--surface-raised); box-shadow: 0 0 0 1px rgba(200, 240, 60, .4), 0 0 24px rgba(200, 240, 60, .2); }
.sl-win i { left: 10%; height: 6px; border-radius: 3px; background: var(--line-hover); }
.sl-win i:first-child { top: 20%; width: 50%; } .sl-win i:last-child { top: 42%; width: 70%; }
.st { padding: 20px; }
.st h3 { font: 500 22px/28px var(--font-display); letter-spacing: -.02em; }
.st p { margin-top: 10px; font: 400 12px/20px var(--font-mono); color: var(--ink-muted); }

/* Pricing */
.pricing { border-top: 1px solid var(--line); }
.pricing .wrap, .faq .wrap { max-width: calc(1120px + 2 * var(--gutter)); }
.pricing .wrap { padding-top: 96px; }
.plans { margin-top: 48px; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.plan { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; display: flex; flex-direction: column; gap: 24px; background: var(--surface); transition: transform var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out); }
.plan:hover { transform: translateY(-2px); border-color: var(--line-hover); box-shadow: 0 12px 32px rgba(0, 0, 0, .5); }
.plan.main { background: var(--surface-raised); }
.plan-name { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font: 600 17px/24px var(--font-sans); }
.price-line { margin-top: 12px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.price { font: 600 48px/1 var(--font-display); letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.was { font: 500 20px/1 var(--font-display); color: var(--ink-muted); }
.was:empty { display: none; }
.per { color: var(--ink-muted); }
.yearly { flex-basis: 100%; font-size: 13px; line-height: 18px; color: var(--ink-muted); }
.yearly:empty { display: none; }
.plan-desc { margin-top: 12px; color: var(--ink-muted); }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks .i { margin-top: 4px; color: var(--ink-muted); }
.plan.main .ticks .i { color: var(--iris); }
.after { margin-top: auto; font-size: 13px; line-height: 18px; color: var(--ink-muted); }
.after a, .plans-note a { color: var(--ink); }
.after a:hover, .plans-note a:hover { color: var(--iris-text); }
.plans-note { margin-top: 16px; font-size: 13px; line-height: 18px; color: var(--ink-muted); }

/* FAQ */
.faq-grid { padding-top: 96px; padding-bottom: 96px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 48px; }
.faq-list { border-top: 1px solid var(--line); min-width: 0; }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; font: 600 17px/24px var(--font-sans); letter-spacing: -.01em; border-radius: 4px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { color: var(--ink-muted); transition: transform 200ms var(--ease-out); }
.faq details[open] summary .i { transform: rotate(45deg); }
.faq details p { margin-top: 12px; max-width: 60ch; color: var(--ink-muted); }

/* Final CTA */
.final { border-top: 1px solid var(--line); }
.final .wrap { padding-top: 96px; padding-bottom: 96px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.app-icon { width: 128px; height: 128px; }
.final h2 { margin-top: 24px; }
.final-lead { margin-top: 16px; font-size: 19px; line-height: 29px; color: var(--ink-muted); }
.final .btn { margin-top: 32px; }

/* Footer */
.site-foot { border-top: 1px solid var(--line); font-size: 13px; line-height: 18px; }
.foot-grid { padding-top: 48px; padding-bottom: 48px; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 32px; }
.foot-brand img { height: 34px; width: auto; }
.foot-brand p { margin-top: 16px; color: var(--ink-muted); }
.foot-social { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; color: var(--ink-muted); text-decoration: none; }
.foot-social:hover { color: var(--ink); }
.foot-social .i { width: 14px; height: 14px; }
.site-foot nav { display: flex; flex-direction: column; gap: 8px; }
.site-foot .fh { margin: 0 0 4px; font-weight: 500; color: var(--ink); }
.site-foot nav a { color: var(--ink-muted); text-decoration: none; width: fit-content; }
.site-foot nav a:hover { color: var(--ink); }
.featured-row { grid-column: 1 / -1; display: flex; align-items: center; gap: var(--space-3); flex-wrap: wrap; }
.featured img { height: 40px; width: auto; }
.featured-sm img { height: 30px; }

/* Other pages: changelog, support, privacy, thanks, welcome. */
.page { padding: 160px 0 var(--space-24); }
.page .wrap { max-width: calc(760px + 2 * var(--gutter)); }
.page .label { margin-bottom: var(--space-4); }
.page h1 { font: 600 clamp(36px, 5vw, 48px)/1.05 var(--font-display); letter-spacing: -.035em; margin: 0 0 var(--space-6); }
.page h2 { font: 600 24px/30px var(--font-display); letter-spacing: -.02em; margin: var(--space-12) 0 var(--space-3); }
.page h3 { font: 600 17px/24px var(--font-sans); letter-spacing: -.01em; margin: var(--space-6) 0 var(--space-2); }
.page p { margin: 0 0 var(--space-4); }
.page p, .page li { color: var(--ink-muted); }
.page ul, .page ol { padding-left: 1.2em; }
.page li { margin: 6px 0; }
.page b, .page strong { color: var(--ink); }
/* Legal pages: the date under the title, and the owner's blanks to fill. */
.page .updated { margin: calc(-1 * var(--space-3)) 0 var(--space-8); font-size: 13px; line-height: 18px; }
.page mark { background: var(--surface-raised); color: var(--ink); border: 1px dashed var(--line-strong); border-radius: 4px; padding: 0 4px; }
code { font: 400 12.5px/1 var(--font-mono); padding: 3px 6px; border-radius: 5px; background: var(--surface-sunken); border: 1px solid var(--line); color: var(--ink); overflow-wrap: anywhere; }
.callout { padding: var(--space-6); border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--surface-raised); margin: var(--space-6) 0; color: var(--ink-muted); }
.big-steps { counter-reset: s; list-style: none; padding: 0 !important; margin: var(--space-8) 0; display: grid; gap: var(--space-3); }
.big-steps li { counter-increment: s; display: flex; gap: var(--space-4); padding: var(--space-6); border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--surface-raised); color: var(--ink); margin: 0; }
.big-steps li::before { content: counter(s); flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; background: var(--action); color: var(--on-action); }
.big-steps p { margin: 4px 0 12px; }
.big-steps li > div { min-width: 0; flex: 1; }
.big-steps .btn { height: 40px; }
.big-steps .btn:not(.btn-primary) { border-color: var(--line-strong); }
.grad { color: var(--ink); }

/* Hero intro, once on load. CSS only, so it runs before any script (the
   CSP allows no inline script): the page starts dark with "Look." lit in
   the light's own lime; at 1.15 s it's pressed like a key, a click ring
   leaves its full stop and it turns ink, "Done." arrives, and the light
   fades up from dark behind them. Then the rest rises in, 80 ms apart.
   Every animation fills backwards only, so once it's over the normal
   styles (hovers included) are back in charge. Reduced motion: none of
   it, the end state. */
.hero-light { animation: hero-light-in 2400ms var(--ease-out) 1150ms backwards; }
@keyframes hero-light-in { from { opacity: 0; transform: scale(1.05); } }
.hero-title > span { display: inline-block; position: relative; }
.ht-look { animation: ht-in 700ms var(--ease-out) 150ms backwards, ht-press 340ms var(--ease-out) 1150ms backwards, ht-ink 900ms var(--ease-out) 1150ms backwards; }
@keyframes ht-in { from { opacity: 0; translate: 0 10px; filter: blur(12px); } }
@keyframes ht-press { from { scale: 1; } 30% { scale: .955; } to { scale: 1; } }
@keyframes ht-ink { from { color: var(--iris); text-shadow: 0 0 2px rgba(200, 240, 60, .5), 0 0 40px rgba(200, 240, 60, .55), 0 0 90px rgba(200, 240, 60, .3); } }
/* The click: a lime ring from the full stop, and a soft flash behind it. */
.ht-look::after, .ht-look::before { content: ""; position: absolute; pointer-events: none; border-radius: 50%; opacity: 0; }
.ht-look::after { left: calc(100% - .12em); top: .76em; width: 26px; height: 26px; margin: -13px 0 0 -13px; border: 2px solid var(--iris); animation: ht-ring 900ms var(--ease-out) 1150ms; }
.ht-look::before { left: calc(100% - .12em); top: .76em; width: 420px; height: 420px; margin: -210px 0 0 -210px; z-index: -1; background: radial-gradient(circle, rgba(200, 240, 60, .35) 0%, rgba(200, 240, 60, .08) 35%, rgba(200, 240, 60, 0) 65%); animation: ht-flash 1400ms var(--ease-out) 1150ms; }
@keyframes ht-ring { from { opacity: 1; transform: scale(.6); } to { opacity: 0; transform: scale(5); } }
@keyframes ht-flash { from { opacity: 0; transform: scale(.4); } 18% { opacity: 1; } to { opacity: 0; transform: scale(1.3); } }
.ht-done { animation: ht-done 800ms var(--ease-out) 1300ms backwards; }
@keyframes ht-done { from { opacity: 0; translate: 0 12px; filter: blur(14px); } }
.hero-lead, .hero .btn-hero, .hero .meta, .hero .beta-pill { animation: hero-rise 700ms var(--ease-out) 1650ms backwards; }
.hero .btn-hero { animation-delay: 1730ms; }
.hero .meta { animation-delay: 1810ms; }
.hero .meta-links { animation-delay: 1890ms; }
.hero .beta-pill { animation-delay: 1970ms; }
@keyframes hero-rise { from { opacity: 0; translate: 0 8px; } }

/* Smooth scrolling (Lenis, site.js) moves the page itself. */
html.lenis { scroll-behavior: auto; }

/* Seen: the showcase right under the hero. A centred head, then a stage
   with the reads you kept behind the Seen panel; one search plays after
   another (site.js), with the scene buttons and a caption under it. */
.seen .wrap { padding-top: 24px; padding-bottom: 120px; }
.seen-head { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; text-align: center; }
.seen-head .label .chip { margin-left: 4px; }
.seen-head h2 span { color: var(--ink-muted); }
.seen-lead { margin-top: 20px; max-width: 34em; font-size: 17px; line-height: 28px; color: var(--ink-muted); }
.seen kbd { display: inline-flex; align-items: center; justify-content: center; min-width: 24px; height: 24px; padding: 0 6px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface-raised); box-shadow: 0 1px 0 var(--line); font: 500 12px/1 var(--font-sans); color: var(--ink-muted); }
.kbd-row { display: inline-flex; gap: 3px; vertical-align: 2px; }
.kbd-row kbd { color: var(--ink); }

.seen-stage { margin-top: 56px; position: relative; border-radius: var(--radius-lg); border: 1px solid var(--line); padding: 6px; background: #0b0c0e; box-shadow: 0 0 0 1px rgba(255, 255, 255, .02), 0 30px 80px rgba(0, 0, 0, .6); }
.seen-screen { position: relative; height: 600px; border-radius: 14px; overflow: hidden; background: radial-gradient(ellipse 70% 55% at 50% 112%, rgba(200, 240, 60, .2) 0%, rgba(200, 240, 60, 0) 70%), #060607; font-size: 13px; line-height: 18px; isolation: isolate; }
.seen-screen::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px) 0 0 / 18px 18px; -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 45%, #000, transparent); mask-image: radial-gradient(ellipse 60% 60% at 50% 45%, #000, transparent); }

/* The reads behind the panel: dim cards, a few light up as the scan
   passes over them. */
.corpus { position: absolute; inset: 20px; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); grid-auto-rows: 78px; gap: 10px; overflow: hidden; -webkit-mask-image: radial-gradient(ellipse 75% 80% at 50% 50%, rgba(0, 0, 0, .9) 30%, transparent 100%); mask-image: radial-gradient(ellipse 75% 80% at 50% 50%, rgba(0, 0, 0, .9) 30%, transparent 100%); }
.ct { position: relative; padding: 12px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .045); background: rgba(255, 255, 255, .018); display: flex; flex-direction: column; gap: 7px; transition: border-color 500ms var(--ease-out), background-color 500ms var(--ease-out), box-shadow 500ms var(--ease-out), opacity 500ms var(--ease-out); }
.ct .ci { width: 14px; height: 14px; border-radius: 4px; background: rgba(255, 255, 255, .08); }
.ct .cl { height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .06); }
.ct.hit { border-color: rgba(200, 240, 60, .5); background: rgba(200, 240, 60, .06); box-shadow: 0 0 22px rgba(200, 240, 60, .16); transition-duration: 160ms; }
.ct.hit .ci { background: var(--iris); }
.ct.hit .cl { background: rgba(200, 240, 60, .3); }
.seen-stage[data-phase="results"] .ct:not(.hit), .seen-stage[data-phase="picking"] .ct:not(.hit) { opacity: .55; }
.scan { position: absolute; top: 0; bottom: 0; left: 0; width: 38%; z-index: 0; pointer-events: none; opacity: 0; transform: translateX(-100%); background: linear-gradient(90deg, rgba(200, 240, 60, 0) 0%, rgba(200, 240, 60, .05) 55%, rgba(200, 240, 60, .16) 92%, rgba(212, 245, 94, .5) 99.4%, rgba(200, 240, 60, 0) 100%); }
.seen-stage[data-phase="searching"] .scan { animation: seen-scan 1150ms cubic-bezier(.65, 0, .35, 1) forwards; }
@keyframes seen-scan { 0% { opacity: 0; transform: translateX(-100%); } 12% { opacity: 1; } 88% { opacity: 1; } 100% { opacity: 0; transform: translateX(265%); } }

/* ⌃⌥S, pressed one key after another. */
.hotkey { position: absolute; z-index: 3; left: 50%; top: 50%; display: flex; gap: 12px; opacity: 0; transform: translate(-50%, -50%) scale(.96); transition: opacity 240ms var(--ease-in), transform 240ms var(--ease-in); pointer-events: none; }
.seen .hotkey kbd { width: 72px; height: 72px; border-radius: 16px; font-size: 28px; color: var(--ink); border-color: var(--line); background: linear-gradient(180deg, #17181b 0%, #0e0f11 100%); box-shadow: var(--shadow-keycap); transition: transform 200ms var(--ease-out), border-color 200ms var(--ease-out), box-shadow 200ms var(--ease-out), color 200ms var(--ease-out); }
.seen .hotkey kbd.down { transform: translateY(4px); border-color: rgba(200, 240, 60, .55); color: var(--iris-text); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 0 28px rgba(200, 240, 60, .22); transition-duration: 90ms; }
.seen-stage[data-phase="hotkey"] .hotkey { opacity: 1; transform: translate(-50%, -50%); transition: opacity 320ms var(--ease-out), transform 320ms var(--ease-out); }

/* The Seen panel. */
.sp { position: absolute; z-index: 2; left: 50%; top: 56px; width: 660px; max-width: calc(100% - 32px); display: flex; flex-direction: column; border-radius: 16px; border: 1px solid rgba(255, 255, 255, .09); background: rgba(16, 17, 19, .84); -webkit-backdrop-filter: blur(22px) saturate(1.2); backdrop-filter: blur(22px) saturate(1.2); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 0 0 1px rgba(0, 0, 0, .5), 0 32px 90px rgba(0, 0, 0, .7); transform: translateX(-50%); transition: opacity 240ms var(--ease-in), transform 240ms var(--ease-in), box-shadow 400ms var(--ease-out), border-color 400ms var(--ease-out); }
.seen-stage[data-phase="idle"] .sp, .seen-stage[data-phase="hotkey"] .sp, .seen-stage[data-phase="jump"] .sp { opacity: 0; transform: translateX(-50%) translateY(10px) scale(.97); }
.seen-stage[data-phase="typing"] .sp, .seen-stage[data-phase="searching"] .sp { transition: opacity 320ms var(--ease-out), transform 320ms var(--ease-out), box-shadow 400ms var(--ease-out), border-color 400ms var(--ease-out); }
.seen-stage[data-phase="searching"] .sp { border-color: rgba(200, 240, 60, .3); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 0 0 1px rgba(0, 0, 0, .5), 0 0 48px rgba(200, 240, 60, .14), 0 32px 90px rgba(0, 0, 0, .7); }
.sp-search { height: 60px; padding: 0 14px 0 18px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.sp-glass { width: 20px; height: 20px; color: var(--ink-muted); }
.sp-q { flex: 1; min-width: 0; height: 28px; display: flex; justify-content: flex-end; overflow: hidden; font: 400 18px/28px var(--font-sans); letter-spacing: -.01em; color: var(--ink); white-space: pre; }
.sp-qi { flex: none; min-width: 100%; display: flex; align-items: center; }
.sp-q.empty .sp-qi::before { content: "Describe what you read…"; color: #4a4d53; order: 2; }
.sp-chip { display: inline-flex; align-items: center; height: 26px; border-radius: 7px; transition: background-color 360ms var(--ease-out), color 360ms var(--ease-out), padding 360ms var(--ease-out), margin 360ms var(--ease-out), box-shadow 360ms var(--ease-out); }
.sp-chip:empty { display: none; }
.sp-chip.is-chip { padding: 0 9px; margin-left: 2px; background: var(--iris-soft); color: var(--iris-text); box-shadow: inset 0 0 0 1px rgba(200, 240, 60, .28); font-size: 15px; }
.caret { width: 2px; height: 22px; margin-left: 2px; border-radius: 1px; background: var(--iris); flex: none; order: 1; animation: caret 1s steps(1) infinite; }
.seen-stage[data-phase="results"] .caret, .seen-stage[data-phase="picking"] .caret, .seen-stage[data-phase="searching"] .caret { opacity: 0; animation: none; }
@keyframes caret { 50% { opacity: 0; } }
.sp-enter { flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; border: 1px solid var(--line); background: var(--surface-raised); box-shadow: 0 1px 0 var(--line); color: var(--ink-muted); transition: transform 200ms var(--ease-out), border-color 200ms var(--ease-out), color 200ms var(--ease-out), box-shadow 200ms var(--ease-out); }
.sp-enter .i { width: 15px; height: 15px; }
.sp-enter.down { transform: translateY(2px); border-color: rgba(200, 240, 60, .55); color: var(--iris-text); box-shadow: 0 0 18px rgba(200, 240, 60, .25); transition-duration: 90ms; }

.sp-line { height: 44px; padding: 0 18px; display: flex; align-items: center; gap: 10px; color: var(--ink); font-size: 13px; border-bottom: 1px solid rgba(255, 255, 255, .04); }
.sp-line > .i { width: 15px; height: 15px; color: var(--iris); flex: none; }
.sp-line-text { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: opacity 150ms var(--ease-out); }
.sp-line.swap .sp-line-text { opacity: 0; transition-duration: 90ms; }
.sp-count { flex: none; font: 400 11px/16px var(--font-mono); letter-spacing: .02em; color: var(--ink-muted); font-variant-numeric: tabular-nums; }
.seen-stage[data-phase="typing"] .sp-line-text { color: var(--ink-muted); }
.seen-stage[data-phase="searching"] .sp-line-text { background: linear-gradient(90deg, var(--ink-muted) 0%, var(--ink-muted) 35%, var(--iris-text) 50%, var(--ink-muted) 65%, var(--ink-muted) 100%) 0 0 / 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 1.2s linear infinite; }
.seen-stage[data-phase="searching"] .sp-line > .i { animation: spark 1.2s var(--ease-out) infinite; }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: 0 0; } }
@keyframes spark { 50% { opacity: .35; transform: scale(.85) rotate(20deg); } }

.sp-body { position: relative; height: 264px; padding: 8px; }
.sp-results { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.sr { position: relative; display: flex; align-items: flex-start; gap: 14px; padding: 12px 14px; border-radius: 12px; transition: background-color 200ms var(--ease-out), box-shadow 200ms var(--ease-out); }
.seen-stage.anim .sr { opacity: 0; transform: translateY(10px); filter: blur(4px); }
.seen-stage.anim .sr.in { opacity: 1; transform: none; filter: none; transition: opacity 500ms var(--ease-out) var(--d, 0ms), transform 500ms var(--ease-out) var(--d, 0ms), filter 500ms var(--ease-out) var(--d, 0ms), background-color 200ms var(--ease-out), box-shadow 200ms var(--ease-out); }
.sr.sel { background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(200, 240, 60, .38), 0 0 26px rgba(200, 240, 60, .08); }
.sr-icon { flex: none; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .06); background: linear-gradient(180deg, #1c1d21 0%, #121316 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08); color: var(--ink); }
.sr-icon .i { width: 18px; height: 18px; }
.sr-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.sr-body b { font: 500 14px/20px var(--font-sans); color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sr-meta { font-size: 12px; line-height: 18px; color: var(--ink-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sr-why { margin-top: 4px; display: flex; align-items: center; gap: 8px; font-size: 12px; line-height: 18px; color: #c4c8cf; overflow: hidden; white-space: nowrap; }
.sr-why::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--iris); flex: none; }
.sr mark { color: inherit; border-radius: 3px; padding: 0 1px; background: linear-gradient(rgba(200, 240, 60, .26), rgba(200, 240, 60, .26)) no-repeat 0 0 / 100% 100%; }
.seen-stage.anim .sr mark { background-size: 0% 100%; }
.seen-stage.anim .sr.in mark { background-size: 100% 100%; transition: background-size 600ms var(--ease-out) calc(var(--d, 0ms) + 350ms); }
.sr-go { flex: none; align-self: center; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 7px; border: 1px solid var(--line); color: var(--ink-muted); opacity: 0; transition: opacity 200ms var(--ease-out); }
.sr-go .i { width: 13px; height: 13px; }
.sr.sel .sr-go { opacity: 1; }
.sr.clicked::after { content: ""; position: absolute; right: 27px; top: 50%; width: 14px; height: 14px; margin: -7px -7px 0 0; border-radius: 50%; border: 2px solid var(--iris); animation: click-ring 360ms var(--ease-out) forwards; }
/* While it looks, three placeholder rows breathe where the results go. */
.sp-skel { position: absolute; inset: 8px; display: flex; flex-direction: column; gap: 4px; opacity: 0; pointer-events: none; transition: opacity 200ms var(--ease-out); }
.sp-skel i { height: 76px; border-radius: 12px; background: linear-gradient(90deg, rgba(255, 255, 255, .02) 0%, rgba(255, 255, 255, .055) 50%, rgba(255, 255, 255, .02) 100%) 0 0 / 200% 100%; }
.seen-stage[data-phase="searching"] .sp-skel { opacity: 1; }
.seen-stage[data-phase="searching"] .sp-skel i { animation: skel 1.1s linear infinite; }
.seen-stage[data-phase="searching"] .sp-skel i:nth-child(2) { animation-delay: .12s; }
.seen-stage[data-phase="searching"] .sp-skel i:nth-child(3) { animation-delay: .24s; }
@keyframes skel { from { background-position: 100% 0; } to { background-position: -100% 0; } }

.sp-foot { height: 42px; padding: 0 16px; display: flex; align-items: center; gap: 16px; border-top: 1px solid rgba(255, 255, 255, .06); font-size: 12px; color: var(--ink-muted); white-space: nowrap; }
.sp-foot span { display: inline-flex; align-items: center; gap: 6px; }
.seen .sp-foot kbd { height: 20px; min-width: 20px; padding: 0 5px; font-size: 11px; border-radius: 5px; }
.sp-scope { margin-left: auto; font: 400 11px/16px var(--font-mono); letter-spacing: .02em; }
.sp-scope i { width: 6px; height: 6px; border-radius: 50%; background: var(--iris); }

/* ↩: back on the page, on the sentence you left. */
.jump { position: absolute; z-index: 2; left: 50%; top: 64px; width: 620px; max-width: calc(100% - 32px); border-radius: 14px; border: 1px solid var(--line); background: var(--surface); box-shadow: 0 0 0 1px rgba(255, 255, 255, .04), 0 32px 90px rgba(0, 0, 0, .7); overflow: hidden; opacity: 0; transform: translateX(-50%) translateY(14px) scale(.97); transition: opacity 240ms var(--ease-in), transform 240ms var(--ease-in); pointer-events: none; }
.seen-stage[data-phase="jump"] .jump { opacity: 1; transform: translateX(-50%); transition: opacity 360ms var(--ease-out) 120ms, transform 360ms var(--ease-out) 120ms; }
.jump-bar { height: 40px; padding: 0 14px; display: flex; align-items: center; gap: 7px; background: #0e0f11; border-bottom: 1px solid var(--line); }
.jump-bar > i { width: 10px; height: 10px; border-radius: 50%; background: #2a2c30; }
.jump-url { margin: 0 auto; padding: 3px 14px; border-radius: 7px; background: rgba(255, 255, 255, .05); font: 400 12px/16px var(--font-mono); color: var(--ink-muted); }
.jump-page { padding: 32px 40px 28px; display: flex; flex-direction: column; gap: 12px; }
.jl { display: block; height: 9px; border-radius: 5px; background: rgba(255, 255, 255, .06); }
.w90 { width: 90%; } .w85 { width: 85%; } .w80 { width: 80%; } .w75 { width: 75%; } .w70 { width: 70%; } .w60 { width: 60%; } .w40 { width: 40%; }
.jump-hit { margin: 8px 0; font: 500 21px/31px var(--font-display); letter-spacing: -.015em; color: var(--ink); }
.jump-hit mark { color: inherit; padding: 1px 2px; border-radius: 4px; -webkit-box-decoration-break: clone; box-decoration-break: clone; background: linear-gradient(rgba(200, 240, 60, .24), rgba(200, 240, 60, .24)) no-repeat 0 0 / 100% 100%; }
.seen-stage.anim .jump-hit mark { background-size: 0% 100%; }
.seen-stage.anim[data-phase="jump"] .jump-hit mark { background-size: 100% 100%; transition: background-size 900ms var(--ease-out) 500ms; }
.jump-badge { margin: 0 40px 28px; display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; height: 32px; padding: 0 12px; border-radius: var(--radius-pill); border: 1px solid rgba(200, 240, 60, .35); background: rgba(26, 34, 8, .6); color: var(--ink); font-size: 13px; box-shadow: 0 0 24px rgba(200, 240, 60, .12); }
.jump-badge .i { width: 14px; height: 14px; color: var(--iris); }
.jump { display: flex; flex-direction: column; }
.seen-stage.anim[data-phase="jump"] .jump-badge { animation: hero-rise 500ms var(--ease-out) 900ms backwards; }

/* Scene buttons: each fills its bar while its search plays. */
.seen-scenes { display: flex; justify-content: center; gap: 4px; padding: 10px 8px 6px; }
.seen-scenes button { flex: 0 1 220px; min-width: 0; padding: 0 12px 6px; border: 0; background: transparent; color: var(--ink-muted); font: 400 14px/20px var(--font-sans); text-align: left; cursor: pointer; border-radius: 8px; transition: color var(--dur-fast) var(--ease-out); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.seen-scenes button:hover, .seen-scenes button[aria-pressed="true"] { color: var(--ink); }
.seen-scenes .bar { display: block; height: 2px; margin: 4px 0 10px; border-radius: 2px; background: var(--line); overflow: hidden; }
.seen-scenes .bar i { display: block; height: 100%; width: 0; background: var(--iris); }
.seen-scenes button[aria-pressed="true"] .bar i { width: 100%; }
.seen-scenes button.playing .bar i { animation: seen-bar var(--dur, 10s) linear forwards; }
@keyframes seen-bar { from { width: 0; } to { width: 100%; } }
.seen-caption { margin: 32px auto 0; max-width: 760px; text-align: center; font-size: 15px; transition: opacity var(--dur-base) var(--ease-out); }
.seen-caption.swap { opacity: 0; transition-duration: 90ms; }
.seen-caption b { font-weight: 600; }
.seen-caption span { color: var(--ink-muted); }

.seen-points { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.seen-points li { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border-radius: 16px; border: 1px solid var(--line); background: linear-gradient(180deg, #111214 0%, #0c0d0f 100%); }
.seen-points .tile .i { color: var(--ink); }
.seen-points li:first-child .tile { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), var(--glow-iris-soft); }
.seen-points h3 { font: 600 15px/22px var(--font-sans); }
.seen-points p { margin-top: 2px; font-size: 13px; line-height: 20px; color: var(--ink-muted); }
.seen-plan { margin-top: 24px; text-align: center; font-size: 13px; line-height: 20px; color: var(--ink-muted); }
.seen-plan .meta-tag { display: inline; margin: 0 8px 0 0; }

@media (max-width: 960px) {
  .corpus { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .seen-points { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .seen .wrap { padding-top: 16px; padding-bottom: 64px; }
  .seen-lead { font-size: 16px; line-height: 26px; }
  .seen-stage { margin-top: 32px; padding: 4px; }
  .seen-screen { height: 580px; }
  .corpus { inset: 12px; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 70px; }
  .sp, .jump { top: 16px; max-width: calc(100% - 20px); }
  .sp-search { height: 52px; padding: 0 10px 0 14px; gap: 10px; }
  .sp-q { font-size: 16px; }
  .sp-chip.is-chip { font-size: 13px; padding: 0 7px; }
  .sp-line { padding: 0 14px; }
  .sp-count { display: none; }
  .sp-body { height: 348px; padding: 6px; }
  .sr-why { white-space: normal; align-items: flex-start; }
  .sr-why::before { margin-top: 7px; }
  .sr { gap: 10px; padding: 10px; }
  .sr-icon { width: 32px; height: 32px; }
  .sr-body b { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .sp-skel i { height: 108px; }
  .sp-foot span:nth-child(n+2):not(.sp-scope) { display: none; }
  .seen .hotkey kbd { width: 56px; height: 56px; font-size: 22px; border-radius: 13px; }
  .jump-page { padding: 24px 20px 20px; }
  .jump-hit { font-size: 18px; line-height: 27px; }
  .jump-badge { margin: 0 20px 20px; }
  .seen-scenes { gap: 2px; padding: 8px 4px 4px; }
  .seen-scenes button { padding: 0 6px 6px; font-size: 13px; white-space: normal; line-height: 18px; }
  .seen-points { margin-top: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  .seen-stage .sr, .seen-stage .sr mark { opacity: 1; transform: none; filter: none; background-size: 100% 100%; }
}

/* Scroll reveal: sections fade up 8px as they enter (500 ms), grids one
   item after another (40 ms apart), once, at 20% in view. */
.reveal { opacity: 0; transform: translateY(8px); }
.reveal.in { opacity: 1; transform: none; transition: opacity var(--dur-slow) var(--ease-out) var(--d, 0ms), transform var(--dur-slow) var(--ease-out) var(--d, 0ms); }

@media (max-width: 1100px) {
  .nav-links { gap: var(--space-6); }
}
@media (max-width: 960px) {
  .nav-links, .nav-login { display: none; }
  .nav-bar { justify-content: space-between; gap: var(--space-3); }
  .btn-nav { margin-left: auto; }
  .nav-menu { display: block; }
  .focus-wrap { flex-direction: column; align-items: stretch; gap: 40px; padding-top: 120px; padding-bottom: 120px; }
  .focus-copy { flex: none; }
  .kb { grid-template-columns: repeat(2, minmax(0, 1fr)); -webkit-mask-image: none; mask-image: none; }
  .k { display: none; }
  .kc { grid-column: auto; height: auto; min-height: 104px; gap: 16px; }
  .win-side, .menubar-right { display: none; }
  .win { width: 92%; max-width: none; }
  .panel { width: 80%; }
  .bp-top, .bp-main { grid-template-columns: minmax(0, 1fr); }
  .bp-top .cell:not(:first-child) { display: none; }
  .bp-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .nav { padding-top: 12px; }
  .nav-bar { height: 56px; padding: 0 8px 0 14px; }
  .brand img { height: 26px; }
  .hero { min-height: 0; }
  .hero-inner { padding: 160px var(--gutter) 96px; }
  .hero-title { font-size: 56px; }
  .hero-lead { font-size: 17px; line-height: 26px; }
  .streak { filter: blur(14px); }
  .focus-wrap { padding-top: 64px; padding-bottom: 64px; }
  .kb { grid-template-columns: minmax(0, 1fr); }
  .modes .wrap, .intel .wrap { padding-top: 64px; padding-bottom: 64px; }
  .tabs { margin-top: 32px; }
  .tab { padding: 0 10px; }
  .desk { margin-top: 32px; padding: 4px; }
  .desk-screen { height: 620px; }
  .menubar { gap: 12px; padding: 0 12px; }
  .menubar span:nth-child(n+4) { display: none; }
  .views { left: 12px; }
  .win { top: 88px; width: calc(100% - 24px); height: 400px; }
  .win-main { padding: 20px 16px; gap: 12px; }
  .win-title { font-size: 20px; line-height: 26px; }
  .hist { display: none; }
  .small-head { display: none; }
  .call { left: 12px; right: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .call i::before { width: 44px; height: 44px; }
  .panel { top: 88px; width: calc(100% - 24px); bottom: 116px; }
  .dock { gap: 6px; padding: 6px; }
  .dock-btn { width: 44px; height: 44px; border-radius: 12px; }
  .dock-btn[aria-pressed="true"] { width: 52px; height: 52px; }
  .dock-wrap { bottom: 16px; }
  .privacy { padding: 32px var(--gutter) 64px; }
  .bp-head { padding: 24px 16px; }
  .bp-head h2 { font-size: 40px; }
  .bp-body { padding: 24px 16px; }
  .fig-main { min-height: 310px; }
  /* The desktop drawing, scaled to half: its labels keep their places. */
  .fig-stage { left: 50%; right: auto; top: 24px; bottom: auto; width: 700px; height: 520px; margin-left: -350px; transform: scale(.5); transform-origin: 50% 0; }
  .fig-stage .tag { font-size: 18px; line-height: 22px; }
  .fig-stage .t1 { left: 42%; } .fig-stage .l1 { left: 58%; }
  .bp-steps { grid-template-columns: minmax(0, 1fr); }
  .pricing .wrap { padding-top: 64px; }
  .plans { grid-template-columns: minmax(0, 1fr); }
  .plan { padding: 24px; }
  .faq-grid { padding-top: 64px; padding-bottom: 64px; }
  .final .wrap { padding-top: 64px; padding-bottom: 64px; }
  .app-icon { width: 96px; height: 96px; }
  .final-lead { font-size: 17px; line-height: 26px; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
  .page { padding-top: 112px; }
  .big-steps li { padding: var(--space-4); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .streaks { transform: none; }
  .mode:hover, .plan:hover, .kc:hover { transform: none; }
}
