/* Aki brand — paper, ink and one red dot. */
:root {
  --paper: #F3EFE6;
  --paper-2: #EAE4D7;
  --surface: #FFFFFF;
  --ink: #141414;
  --ink-2: #5E5A52;
  --ink-3: #8C877C;
  --line: #DDD6C8;
  --red: #FF3B1F;
  --red-press: #E2300F;
  --red-veil: rgba(255, 59, 31, .12);
  --night: #111111;
  --night-2: #1C1C1C;
  --night-line: #2A2A2A;
  --night-ink: #F3EFE6;
  --night-ink-2: #A39E93;
  --display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --radius: 22px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --max: 1180px;
  color-scheme: light;
}
:lang(ja) { --sans: "Geist", "Noto Sans JP", sans-serif; --display: "Bricolage Grotesque", "Noto Sans JP", sans-serif; }
:lang(zh) { --sans: "Geist", "Noto Sans SC", sans-serif; --display: "Bricolage Grotesque", "Noto Sans SC", sans-serif; }
:lang(ko) { --sans: "Geist", "Noto Sans KR", sans-serif; --display: "Bricolage Grotesque", "Noto Sans KR", sans-serif; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body::before { /* paper grain */
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .35; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .5  0 0 0 0 .45  0 0 0 0 .4  0 0 0 .09 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
code { font-family: var(--mono); font-size: .86em; background: var(--paper-2); padding: .1em .4em; border-radius: 6px; }
kbd {
  font-family: var(--sans); font-size: .78em; font-weight: 500;
  display: inline-grid; place-items: center; min-width: 1.8em; height: 1.8em; padding: 0 .4em; margin: 0 .1em;
  border-radius: 7px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 2px 0 var(--line);
  color: var(--ink); vertical-align: .08em;
}
::selection { background: var(--red); color: #fff; }
/* Red marker under highlighted words */
mark {
  color: inherit; background: linear-gradient(var(--red), var(--red)) no-repeat 0 92% / 0% .13em;
  transition: background-size 1s .35s var(--ease); padding: 0 .02em;
}
.in mark, mark.on { background-size: 100% .13em; }
/* Logotype (outlined Bricolage 800 — see site/brand) */
.logo { width: 100%; height: auto; overflow: visible; }
.logo .l { fill: currentColor; }
.logo .pb { fill: var(--red); }
.logo .pd { fill: var(--ink); }
.logo .tittle { transform-box: fill-box; transform-origin: 4% 96%; }
/* Nav */
.nav {
  position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 50;
  width: min(var(--max), calc(100% - 32px));
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 8px 8px 8px 20px; border-radius: 999px;
  background: rgba(243, 239, 230, .72); border: 1px solid transparent;
  backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  transition: border-color .3s, box-shadow .3s;
}
.nav.scrolled { border-color: var(--line); box-shadow: 0 10px 30px -18px rgba(20, 20, 20, .35); }
.brand { display: block; width: 58px; color: var(--ink); }
.brand:hover .tittle { animation: hop .6s var(--spring); }
.nav-links { display: flex; gap: 28px; font-size: 14px; color: var(--ink-2); }
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 8px; }
.lang { position: relative; display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 10px; border-radius: 999px; color: var(--ink-2); cursor: pointer; }
.lang:hover { background: var(--paper-2); color: var(--ink); }
.lang select { appearance: none; -webkit-appearance: none; border: 0; background: transparent; font: 500 13.5px var(--sans); color: inherit; cursor: pointer; outline: none; padding-right: 2px; }
/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 9px; height: 50px; padding: 0 24px; border-radius: 999px;
  font: 600 15px var(--sans); letter-spacing: -.01em; border: 1.5px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .3s var(--spring), background .2s, box-shadow .3s, border-color .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn small { font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; opacity: .65; }
.btn-sm { height: 38px; padding: 0 18px; font-size: 14px; }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 10px 30px -10px rgba(255, 59, 31, .7); }
.btn-red:hover { background: var(--red-press); }
.btn-line { border-color: var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn-line-light { border-color: rgba(243, 239, 230, .4); color: var(--night-ink); }
.btn-line-light:hover { border-color: var(--night-ink); }
.is-soon, .is-soon:hover { cursor: default; transform: none; }
.btn-line.is-soon:hover { background: transparent; color: var(--ink); }
/* ---------- INTRO (scroll-driven) ---------- */
.intro { position: relative; height: 260vh; --a: 0; --b: 0; --t: 0; }
.intro-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.intro-logo {
  --lw: min(72vw, 1000px, 66svh);
  position: absolute; left: 50%; top: 41%; width: var(--lw); color: var(--ink); z-index: 2; cursor: pointer;
  transform: translate(-50%, -50%) translateY(calc(var(--a) * -16vh)) scale(calc(1 - var(--a) * .28));
  opacity: calc(1 - var(--a) * 1.1);
  will-change: transform, opacity;
}
.intro-logo .l { transform-box: fill-box; transform-origin: 50% 100%; }
.intro-logo.boot .l { animation: rise 1.1s var(--ease) both; }
.intro-logo.boot .l2 { animation-delay: .08s; }
.intro-logo.boot .l3 { animation-delay: .16s; }
.intro-logo .tittle-pos { opacity: 0; }
/* the live pin (#aki-pin) sits here instead */
.intro-logo .logo { clip-path: inset(-2% -2% -2% -2%); transition: clip-path 1.1s cubic-bezier(.65,0,.35,1); }
.js .intro-logo.sel-start .logo { clip-path: inset(0 100% 100% 0); }
@keyframes rise { from { transform: translateY(70%) scaleY(1.15); opacity: 0; } }
@keyframes drop {
  0% { transform: translateY(-900%) scale(.9, 1.1); opacity: 0; animation-timing-function: cubic-bezier(.55, 0, 1, .45); }
  10% { opacity: 1; }
  45% { transform: translateY(0) scale(1.35, .62); animation-timing-function: cubic-bezier(0, .55, .45, 1); }
  62% { transform: translateY(-120%) scale(.92, 1.08); animation-timing-function: cubic-bezier(.55, 0, 1, .45); }
  78% { transform: translateY(0) scale(1.15, .85); animation-timing-function: cubic-bezier(0, .55, .45, 1); }
  88% { transform: translateY(-28%) scale(1); animation-timing-function: cubic-bezier(.55, 0, 1, .45); }
  100% { transform: translateY(0) scale(1); }
}
@keyframes hop { 40% { transform: translateY(-55%) scale(.95, 1.08); } 70% { transform: translateY(0) scale(1.12, .9); } }
@keyframes ping { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(3.2); opacity: 0; } }
.intro-under {
  position: absolute; left: 0; right: 0; top: calc(41% + min(72vw, 1000px, 66svh) * .344 + 20px); z-index: 2; text-align: center; padding: 0 16px;
  opacity: calc(1 - var(--a) * 2.2); transform: translateY(calc(var(--a) * -40px));
}
.intro-cta { margin-top: 22px; animation: fade-up 1s 1.4s var(--ease) both; }
@keyframes fade-up { from { opacity: 0; transform: translateY(12px); } }
.scroll-cue {
  position: absolute; left: 50%; bottom: 28px; width: 24px; height: 38px; margin-left: -12px; border: 1.5px solid var(--ink-3); border-radius: 14px;
  opacity: calc(1 - var(--a) * 4); animation: fade-up 1s 1.6s both;
}
.scroll-cue span { position: absolute; left: 50%; top: 7px; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--red); animation: cue 1.8s infinite var(--ease); }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }
.stage-title {
  position: absolute; left: 0; right: 0; top: max(84px, 10vh); margin: 0; text-align: center; z-index: 3; padding: 0 16px;
  font: 800 clamp(26px, 3.3vw, 46px)/1.02 var(--display); letter-spacing: -.045em;
  opacity: var(--t); transform: translateY(calc((1 - var(--t)) * 30px));
}
.stage-title mark { background-size: calc(var(--t) * 100%) .13em; transition: none; }
.live { display: inline-flex; align-items: center; gap: 8px; font: 12px var(--mono); color: var(--night-ink-2); }
@keyframes pulse { 50% { opacity: .3; } }
.stage { position: relative; margin: 10px; border-radius: 14px; overflow: hidden; aspect-ratio: 1120 / 680; background: var(--paper-2); }
.win { position: absolute; border-radius: 12px; overflow: hidden; box-shadow: 0 30px 60px -24px rgba(60, 40, 20, .45), 0 0 0 1px rgba(0, 0, 0, .08); }
.lights { display: inline-flex; gap: 7px; }
.lights i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.lights i:nth-child(2) { background: #febc2e; }
.lights i:nth-child(3) { background: #28c840; }
.browser { left: 48px; top: 58px; width: 700px; height: 560px; background: #fff; }
.site { color: #17161a; padding: 0 34px; font-family: var(--sans); }
.term { right: 96px; top: 262px; width: 350px; height: 250px; background: rgba(17, 17, 17, .96); }
.tl { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; animation: tl-in .35s var(--ease) both; }
.tl.dim { color: #77736a; }
.tl.ok { color: #7fd8a8; }
@keyframes tl-in { from { opacity: 0; transform: translateY(6px); } }
.caret { display: inline-block; width: 7px; height: 1.05em; margin-left: 3px; vertical-align: -2px; background: currentColor; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
/* Aki rail */
.rail { position: absolute; right: 0; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 12px; padding: 14px 10px 14px 12px; background: #000; border-radius: 22px 0 0 22px; box-shadow: -10px 0 30px rgba(0, 0, 0, .25); }
.ring { position: relative; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font: 700 10.5px var(--sans); color: #fff; box-shadow: inset 0 0 0 3px color-mix(in srgb, var(--c, #3a3a3a) 60%, transparent); transition: transform .4s var(--spring), box-shadow .4s; }
.badge { position: absolute; top: -5px; right: -5px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; display: grid; place-items: center; font: 700 10px var(--sans); color: #fff; background: var(--red); box-shadow: 0 0 0 2px #000; transform: scale(0); transition: transform .4s var(--spring); }
.badge.on { transform: scale(1); }
/* Marks */
.marks { position: absolute; inset: 0; pointer-events: none; }
.mark { position: absolute; transition: opacity .5s, transform .7s var(--ease); }
.mark.area::before { content: ""; position: absolute; inset: 0; border-radius: 10px; background: color-mix(in srgb, var(--c, var(--red)) 12%, transparent); border: 2px dashed var(--c, var(--red)); animation: fade-in .3s both; }
@keyframes fade-in { from { opacity: 0; } }
@keyframes pop { from { transform: scale(0); } }
.note { position: absolute; left: calc(100% + 14px); top: -6px; min-width: 180px; max-width: 260px; padding: 9px 12px; border-radius: 12px 12px 12px 4px; font: 13px/1.4 var(--sans); color: var(--paper); background: var(--ink); box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .5); animation: note-in .4s .2s var(--ease) both; }
.note.left { left: auto; right: calc(100% + 14px); border-radius: 12px 12px 4px 12px; }
.note.below { left: -6px; top: calc(100% + 14px); }
.note input { width: 100%; border: 0; outline: 0; background: transparent; color: #fff; font: inherit; padding: 0; }
.note input::placeholder { color: #8c877c; }
@keyframes note-in { from { opacity: 0; transform: translateY(6px) scale(.96); } }
.mark.sent { opacity: 0; transform: translate(var(--fx, 300px), var(--fy, 0)) scale(.2); }
.cursor { position: absolute; left: 0; top: 0; z-index: 5; pointer-events: none; transition: transform .9s var(--ease); }
.cursor.press svg { transform: scale(.85); transition: transform .1s; }
/* ---------- LEDE ---------- */
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }
.hint { margin-top: 22px; font-size: 13.5px; color: var(--ink-3); }
/* ---------- MARQUEE ---------- */
.marquee { padding: 70px 0 20px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; width: max-content; animation: scroll 40s linear infinite; }
.app { display: inline-flex; align-items: center; gap: 12px; font: 700 clamp(20px, 2.2vw, 28px) var(--display); letter-spacing: -.035em; color: var(--ink); white-space: nowrap; transition: color .2s; }
.app:hover { color: var(--red); }
@keyframes scroll { to { transform: translateX(-50%); } }
/* ---------- STATEMENT (scroll fill) ---------- */
.fill { margin: 0; font: 700 clamp(32px, 5.2vw, 72px)/1.08 var(--display); letter-spacing: -.045em; }
.fill .w { opacity: .14; transition: opacity .25s linear; }
.fill .w.on { opacity: 1; }
/* ---------- SECTIONS ---------- */
.section { position: relative; max-width: var(--max); margin: 0 auto; padding: 120px 16px 40px; }
.section-head { max-width: 780px; margin-bottom: 52px; }
.kicker { margin: 0 0 16px; font: 500 12.5px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--red); display: flex; align-items: center; gap: 10px; }
.kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
h2 { margin: 0; font: 800 clamp(38px, 5.6vw, 76px)/1 var(--display); letter-spacing: -.05em; }
h3 { margin: 0 0 8px; font: 700 22px var(--display); letter-spacing: -.03em; }
.section p { color: var(--ink-2); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { position: relative; padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: transform .5s var(--spring); }
.step:hover { transform: translateY(-4px) rotate(-.4deg); }
.step p { margin: 0; font-size: 15px; }
@keyframes breathe { 50% { transform: scale(1.08); } }
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.apps-art { position: relative; height: 210px; }
.mini { position: absolute; width: 46%; height: 128px; border-radius: 12px; background: var(--paper); box-shadow: 0 18px 36px -18px rgba(60, 40, 20, .5), 0 0 0 1px var(--line); padding: 26px 14px 12px; }
.mini .mb { position: absolute; left: 0; right: 0; top: 0; height: 16px; border-radius: 12px 12px 0 0; background: var(--paper-2); }
.mini i { display: block; height: 8px; border-radius: 4px; background: var(--line); margin-bottom: 8px; }
.mini i.s { width: 50%; background: var(--ink); }
/* ---------- BAND (dark) ---------- */
.split { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.works b { color: var(--night-ink); }
/* ---------- OPEN SOURCE ---------- */
.os-card { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; padding: 64px; border-radius: 32px; background: var(--surface); border: 1px solid var(--line); }
.os-copy p:not(.kicker) { margin: 22px 0 28px; font-size: 18px; max-width: 480px; }
.nav-heart span:first-child { color: var(--red); }
.donate { padding: 32px; border-radius: 24px; background: var(--paper); text-align: center; }
.donate-title { margin: 0; font: 800 30px var(--display); letter-spacing: -.04em; color: var(--ink) !important; }
.donate-sub { margin: 6px 0 22px; font-size: 14.5px; }
.donate-note { margin: 14px 0 0; font-size: 12.5px; color: var(--ink-3) !important; }
@media (max-width: 860px) {
.os-card { grid-template-columns: 1fr; padding: 32px 20px; }
}
/* ---------- FAQ ---------- */
.faq { max-width: 880px; }
.faq-list { border-top: 1.5px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; font: 700 20px var(--display); letter-spacing: -.025em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--ink); transition: background .3s, border-color .3s, transform .4s var(--spring); }
.faq details[open] summary::after { background: var(--red); border-color: var(--red); transform: scale(1.2); }
.faq details p { margin: -6px 0 26px; max-width: 720px; font-size: 16px; }
/* ---------- FINAL (dark) ---------- */
.final { position: relative; overflow: hidden; text-align: center; background: var(--night); color: var(--night-ink); padding: 130px 16px 120px; margin-top: 120px; cursor: crosshair; }
.final .kicker { justify-content: center; }
.final-logo { width: min(70vw, 820px, 62svh); margin: 20px auto 0; color: var(--night-ink); }
.final-logo .pb { filter: drop-shadow(0 0 30px rgba(255, 59, 31, .6)); }
.final-logo .pd { fill: var(--night); }
.final-sub { margin: 28px 0 0; font: 700 clamp(24px, 3.2vw, 40px) var(--display); letter-spacing: -.035em; }
.final .actions { cursor: default; }
.final-hint { margin: 30px 0 0; font: 12px var(--mono); color: #6d6960; }
.here { position: absolute; z-index: 3; pointer-events: none; transform: translate(-50%, -50%); }
.here::before { content: ""; position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: var(--red); animation: here-dot 1.6s var(--ease) forwards; }
.here::after { content: ""; position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; border: 2px solid var(--red); animation: ping 1.2s var(--ease) forwards; }
.here span { position: absolute; left: 18px; top: -30px; padding: 5px 11px; border-radius: 10px 10px 10px 2px; font: 700 15px var(--display); white-space: nowrap; background: var(--ink); color: var(--paper); animation: here-tag 1.6s var(--ease) forwards; }
.final .here span { background: var(--night-ink); color: var(--ink); }
@keyframes here-dot { 0% { transform: scale(0); } 15% { transform: scale(1.2); } 25%, 75% { transform: scale(1); opacity: 1; } 100% { transform: scale(.6); opacity: 0; } }
@keyframes here-tag { 0% { opacity: 0; transform: translateY(6px) scale(.9); } 20%, 75% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-8px); } }
/* Footer */
.foot { max-width: var(--max); margin: 0 auto; padding: 34px 16px 50px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; font-size: 13.5px; color: var(--ink-3); }
.foot p { margin: 0; }
.foot .brand { width: 48px; }
.foot-links { display: flex; gap: 20px; }
.foot-links a:hover { color: var(--ink); }
/* Reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
/* Responsive */
@media (max-width: 960px) {
.nav-links { display: none; }
.steps, .bento { grid-template-columns: 1fr; }
.split { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 600px) {
.nav { padding-left: 16px; }
.lang select { width: 0; padding: 0; }
.lang { padding: 0 8px; }
.intro { height: 220vh; }
.intro-logo { --lw: 88vw; top: 36%; }
.intro-under { top: calc(36% + 88vw * .344 + 14px); }
.stage { margin: 6px; border-radius: 10px; }
.btn { height: 46px; padding: 0 20px; }
.section { padding-top: 90px; }
.faq summary { font-size: 17px; }
.foot { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
.reveal { opacity: 1; transform: none; }
}
@keyframes mark-in { from { background-size: 0% .13em; } to { background-size: 100% .13em; } }
/* ---------- The pin (brand mark) ---------- */
.pinmark .pb { fill: var(--red); }
.pinmark .pd { fill: var(--ink); }
/* Nav: try Aki on this page */
.mode-btn {
  display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px 0 10px; border-radius: 999px; cursor: pointer;
  font: 600 13.5px var(--sans); color: var(--ink); background: var(--surface); border: 1px solid var(--line);
  transition: transform .3s var(--spring), border-color .2s;
}
.mode-btn:hover { transform: translateY(-1px); border-color: var(--ink); }
.mode-btn .pinmark { width: 20px; height: 20px; }
.mode-btn kbd { font-size: 10.5px; height: 20px; box-shadow: none; background: var(--paper); }
.aki-mode .mode-btn { background: var(--ink); color: var(--paper); border-color: var(--ink); }
/* Frame + roaming pin (fixed, above everything) */
.aki-ui { position: fixed; inset: 0; pointer-events: none; z-index: 90; }
.aki-frame {
  position: fixed; left: 0; top: 0; width: 0; height: 0; opacity: 0;
  transition: transform .55s var(--ease), width .55s var(--ease), height .55s var(--ease), opacity .3s;
}
.aki-frame.on { opacity: 1; }
.aki-frame.snap { transition: opacity .2s; }
.aki-frame i { position: absolute; width: 16px; height: 16px; border: 3px solid var(--red); }
.aki-frame i:nth-child(1) { left: 0; top: 0; border-right: 0; border-bottom: 0; border-top-left-radius: 6px; }
.aki-frame i:nth-child(2) { right: 0; top: 0; border-left: 0; border-bottom: 0; border-top-right-radius: 6px; }
.aki-frame i:nth-child(3) { left: 0; bottom: 0; border-right: 0; border-top: 0; border-bottom-left-radius: 6px; }
.aki-frame i:nth-child(4) { right: 0; bottom: 0; border-left: 0; border-top: 0; border-bottom-right-radius: 6px; }
.aki-label {
  position: absolute; left: 0; bottom: calc(100% + 8px); white-space: nowrap; padding: 5px 10px; border-radius: 9px 9px 9px 2px;
  font: 600 13px var(--sans); color: var(--paper); background: var(--ink); box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .4);
}
.aki-label code { background: none; padding: 0; color: #ff8a73; font-size: 11.5px; margin-right: 6px; }
.aki-label:empty { display: none; }
.aki-frame.below .aki-label { bottom: auto; top: calc(100% + 8px); border-radius: 2px 9px 9px 9px; }
.aki-pin {
  position: fixed; left: 0; top: 0; width: 46px; height: 47px; opacity: 0; transform-origin: 0 0;
  transition: transform .9s var(--ease), opacity .4s; will-change: transform;
  filter: drop-shadow(0 8px 14px rgba(20, 20, 20, .28));
}
.aki-pin.on { opacity: 1; }
.aki-pin.follow, .aki-pin.glued, .aki-pin.dragging { transition: opacity .2s; }
.aki-pin.grab { pointer-events: auto; cursor: grab; }
.aki-pin.dragging { cursor: grabbing; filter: drop-shadow(0 16px 22px rgba(20, 20, 20, .35)); }
.aki-pin.grab:hover .pinmark { animation: wiggle .6s var(--spring); }
@keyframes wiggle { 30% { transform: rotate(-8deg) scale(1.05); } 60% { transform: rotate(4deg); } }
.aki-ui .here span { background: var(--ink); color: var(--paper); }
.aki-pin .pinmark { width: 100%; height: 100%; overflow: visible; transform-origin: 4% 96%; }
.aki-pin.tap .pinmark { animation: tap .45s var(--spring); }
@keyframes tap { 35% { transform: scale(.82) rotate(-6deg); } }
.aki-ring { position: absolute; left: 50%; top: 49%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; border: 2px solid var(--red); opacity: 0; }
.aki-pin.tap .aki-ring { animation: ping 1s var(--ease); }
/* Visitor mode */
.aki-mode, .aki-mode * { cursor: none !important; }
.aki-mode input, .aki-mode .aki-tray, .aki-mode .aki-tray * { cursor: auto !important; }
.aki-mode .aki-tray button { cursor: pointer !important; }
.aki-marks { position: absolute; left: 0; top: 0; width: 0; height: 0; z-index: 80; }
.aki-mark { position: absolute; }
.aki-mark .n {
  position: absolute; left: -13px; top: -13px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  font: 700 12px var(--sans); color: #fff; background: var(--red); box-shadow: 0 0 0 2.5px #fff, 0 6px 16px rgba(255, 59, 31, .5);
  animation: pop .45s var(--spring) both;
}
.aki-mark .bub {
  position: absolute; left: 20px; top: -8px; width: 250px; padding: 9px 12px; border-radius: 12px 12px 12px 4px;
  font: 13.5px/1.4 var(--sans); color: var(--paper); background: var(--ink); box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .5);
  animation: note-in .35s .1s var(--ease) both;
}
.aki-mark.left .bub { left: auto; right: 20px; border-radius: 12px 12px 4px 12px; }
.aki-mark .bub small { display: block; font: 10.5px var(--mono); color: #8c877c; margin-bottom: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.aki-mark .bub input { width: 100%; border: 0; outline: 0; background: transparent; color: #fff; font: inherit; padding: 0; }
.aki-mark .bub input::placeholder { color: #8c877c; }
.aki-mark.saved .bub { opacity: .92; }
.aki-tray {
  position: fixed; left: 50%; bottom: 20px; z-index: 95; display: flex; align-items: center; gap: 12px;
  padding: 8px 8px 8px 16px; border-radius: 999px; background: var(--ink); color: var(--paper); font: 500 13.5px var(--sans);
  box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .55);
  transform: translate(-50%, 140%); opacity: 0; transition: transform .5s var(--spring), opacity .3s;
}
.aki-mode .aki-tray { transform: translate(-50%, 0); opacity: 1; }
.aki-tray-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--red); animation: pulse 1.6s infinite; }
.aki-tray-hint { color: #8c877c; }
.aki-tray button { font: 600 13px var(--sans); border: 0; border-radius: 999px; height: 34px; padding: 0 14px; cursor: pointer; }
#aki-copy { background: var(--red); color: #fff; }
#aki-copy:disabled { opacity: .4; cursor: default; }
#aki-exit { background: #2a2a2a; color: var(--paper); }
@media (max-width: 760px) {
.mode-btn span, .mode-btn kbd { display: none; }
.aki-tray-hint { display: none; }
}
.aki-frame.fast, .aki-mode .aki-frame { transition: transform .14s var(--ease), width .14s var(--ease), height .14s var(--ease), opacity .2s; }
/* ---------- Demo scenes ---------- */
.scene { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .45s, visibility .45s; }
.scene.on { opacity: 1; visibility: visible; }
/* Safari */
/* Figma */
/* Ghostty */
.gt { left: 48px; top: 70px; width: 640px; height: 470px; background: #16161a; }
/* Simulator */
.phone { position: absolute; left: 230px; top: 40px; width: 300px; height: 610px; border-radius: 52px; background: #111; padding: 12px; box-shadow: 0 30px 60px -24px rgba(60, 40, 20, .5), inset 0 0 0 2px #333; }
.phone h4 { margin: 26px 20px 12px; font-size: 30px; letter-spacing: -.02em; }
/* Finder */
.finder { left: 48px; top: 70px; width: 660px; height: 440px; background: #fff; }
/* A pin that flies in and marks part of a card when it scrolls into view */
.apps-art { position: relative; }
.spot { position: absolute; left: var(--x, 4%); top: var(--y, 6%); width: var(--w, 92%); height: var(--h, 88%); pointer-events: none; z-index: 3; }
.foot-tm { font-size: 11.5px; opacity: .7; }
/* ---------- Demo, closer to the real app ---------- */
.rail { gap: 6px; padding: 12px 8px 12px 10px; align-items: center; }
.ring.working::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 3px solid transparent; border-top-color: var(--c); animation: spin 1.6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.badge { background: var(--c, var(--red)); }
.ring .badge { background: var(--c); }
.queue { position: absolute; right: 96px; bottom: 16px; z-index: 4; width: 230px; padding: 10px; border-radius: 12px; background: rgba(12, 12, 12, .94); border: 1px solid color-mix(in srgb, var(--c, #555) 50%, transparent); color: #fff; font-family: var(--sans); opacity: 0; transform: translateY(14px) scale(.97); transition: opacity .3s, transform .4s var(--spring); }
.queue.on { opacity: 1; transform: none; }
.q-row { display: flex; align-items: center; gap: 7px; padding: 4px 0; font-size: 10.5px; color: #ddd; animation: tl-in .35s var(--ease) both; }
.q-n { width: 16px; height: 16px; border-radius: 50%; flex: none; display: grid; place-items: center; font: 700 9px var(--sans); background: var(--c); }
.q-th { width: 30px; height: 20px; border-radius: 4px; flex: none; background: linear-gradient(135deg, #3a3a3a, #262626); }
.q-send { display: flex; align-items: center; gap: 7px; height: 28px; margin-top: 8px; padding: 0 9px; border-radius: 8px; font: 600 11.5px var(--sans); background: color-mix(in srgb, var(--c, #555) 90%, transparent); transition: transform .15s; }
.q-send kbd { margin-left: auto; font-size: 9px; height: 18px; background: rgba(0, 0, 0, .25); border: 0; box-shadow: none; color: #fff; }
/* ---------- Feature rows: each one assembles itself as it scrolls past (driven by --p, 0 → 1) ---------- */
.rows .section-head { margin-bottom: 30px; }
.row { --p: 0; display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; padding: 70px 0; }
.row:nth-of-type(even) { grid-template-columns: 1.2fr .8fr; }
/* 01 mark */
/* 02 note */
/* 03 queue */
.vq { --c: var(--red); position: absolute; left: 50%; top: 50%; width: 300px; margin: -110px 0 0 -190px; padding: 14px; border-radius: 14px; background: #0c0c0c; color: #fff; font-family: var(--sans); box-shadow: 0 30px 50px -20px rgba(0, 0, 0, .5); }
.vq .q-row { --k: 0; font-size: 12px; animation: none; transform: translate(calc((1 - var(--k)) * var(--sx)), calc((1 - var(--k)) * var(--sy))) rotate(calc((1 - var(--k)) * var(--rot))); opacity: calc(.15 + var(--k)); }
.vq .q-send { opacity: calc(var(--p) * 2 - .6); }
/* 04 route */
/* 05 card */
/* 06 local */
/* Pin cursor (default on desktop) */
.aki-cursor { position: fixed; left: 0; top: 0; z-index: 99; width: 26px; height: 27px; pointer-events: none; opacity: 0; transition: opacity .2s; filter: drop-shadow(0 4px 8px rgba(20, 20, 20, .3)); }
.aki-cursor .pinmark { width: 100%; height: 100%; overflow: visible; transform-origin: 4% 96%; transition: transform .25s var(--spring); }
.pin-cursor .aki-cursor.seen { opacity: 1; }
.pin-cursor, .pin-cursor * { cursor: none !important; }
.pin-cursor input, .pin-cursor select, .pin-cursor textarea { cursor: auto !important; }
.aki-cursor.link .pinmark { transform: scale(1.25) rotate(-8deg); }
.aki-cursor.down .pinmark { transform: scale(.85); }
.aki-mode .aki-cursor { opacity: 0; }
.cur-btn { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; border: 0; background: transparent; color: var(--ink-3); cursor: pointer; }
.cur-btn:hover { background: var(--paper-2); color: var(--ink); }
.cur-btn[aria-pressed="true"] { color: var(--red); }
@media (max-width: 860px) {
.row, .row:nth-of-type(even) { grid-template-columns: 1fr; gap: 26px; padding: 40px 0; }
}
/* ---------- The demo lives on a MacBook: the lid opens as you scroll, the camera zooms on the action ---------- */
.live { padding: 6px 14px; border-radius: 999px; background: var(--ink); }
.intro-apps { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; margin: 26px auto 0; max-width: 620px; color: var(--ink-3); animation: fade-up 1s 1.7s var(--ease) both; }
.intro-apps svg { width: 18px; height: 18px; transition: color .2s, transform .3s var(--spring); }
.intro-apps svg:hover { color: var(--ink); transform: translateY(-2px) scale(1.15); }
.intro-apps span, .intro-apps em { font: 500 11.5px var(--mono); letter-spacing: .06em; text-transform: uppercase; font-style: normal; }
.aki-fly { position: fixed; left: 0; top: 0; z-index: 99; width: 46px; height: 47px; pointer-events: none; transform-origin: 0 0; transition: transform .85s cubic-bezier(.5, 0, .2, 1); filter: drop-shadow(0 8px 14px rgba(20, 20, 20, .3)); }
.aki-fly .pinmark { width: 100%; height: 100%; overflow: visible; }
.aki-cursor .morph-ring { position: absolute; left: 50%; top: 45%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; border: 2px solid var(--red); opacity: 0; }
.aki-cursor.morph .pinmark { animation: morph .6s var(--spring); }
.aki-cursor.morph .morph-ring { animation: ping 1s var(--ease); }
@keyframes morph { 0% { transform: scale(.3) rotate(-30deg); } 60% { transform: scale(1.3) rotate(6deg); } 100% { transform: none; } }
/* ---------- First screen: logotype + what Aki does ---------- */
.intro-hero {
  position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 84px 16px 60px; text-align: center;
  transform: translateY(calc(var(--a) * -14vh)) scale(calc(1 - var(--a) * .18)); opacity: calc(1 - var(--a) * 1.15);
}
.intro-hero .intro-logo { position: relative; left: auto; top: auto; transform: none; opacity: 1; width: min(40vw, 520px, 34svh); --lw: auto; flex: none; }
.intro-hero .intro-under { position: static; transform: none; opacity: 1; padding: 0; margin-top: clamp(14px, 2.6vh, 28px); }
.hero-h1 { margin: 0 auto; max-width: 820px; font: 800 clamp(32px, 4.4vw, 60px)/1 var(--display); letter-spacing: -.045em; animation: fade-up 1s 1.25s var(--ease) both; }
.hero-h1 mark { animation: mark-in 1s 2s var(--ease) both; }
.hero-sub { margin: 16px auto 0; max-width: 680px; font-size: clamp(15px, 1.35vw, 18px); line-height: 1.5; color: var(--ink-2); animation: fade-up 1s 1.4s var(--ease) both; }
.intro-hero .intro-cta { margin-top: 24px; animation-delay: 1.55s; }
.intro-hero .intro-apps { margin-top: 18px; }
@media (max-height: 760px) {
.hero-sub { font-size: 15px; }
.intro-hero .intro-logo { width: min(36vw, 440px, 28svh); }
}
@media (max-width: 600px) {
.intro-hero { padding-top: 80px; }
.intro-hero .intro-logo { width: 58vw; }
.hero-sub { font-size: 15px; }
.intro-apps svg:nth-child(n+11) { display: none; }
}
.scroll-cue { display: none; }
.intro-hero .intro-apps { max-width: 760px; flex-wrap: nowrap; }
@media (max-width: 760px) {
.intro-hero .intro-apps { flex-wrap: wrap; }
}
.intro-hero .intro-logo { width: min(56vw, 760px, 50svh); }
.hero-h1 { margin-top: 4px; }
@media (max-height: 760px) {
.intro-hero .intro-logo { width: min(50vw, 640px, 44svh); }
}
@media (max-width: 600px) {
.intro-hero .intro-logo { width: 72vw; }
}
.aki-mode .aki-cursor, .aki-mode .aki-cursor.seen { opacity: 0 !important; }
.intro-hero .intro-apps { display: flex; flex-wrap: nowrap; align-items: center; gap: 14px; width: min(720px, 92vw); max-width: none; margin: 22px auto 0; }
.ia-label { flex: none; font: 500 11.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.ia-strip { flex: 1; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.ia-track { display: flex; width: max-content; animation: scroll 32s linear infinite; }
.ia-strip:hover .ia-track { animation-play-state: paused; }
.ia-row { display: flex; gap: 22px; padding-right: 22px; }
.ia-row span { display: inline-flex; align-items: center; gap: 7px; font: 600 14px var(--sans); color: var(--ink-2); white-space: nowrap; }
.ia-row svg { width: 16px; height: 16px; color: var(--ink); }
.intro-apps .ia-row span { text-transform: none; letter-spacing: -.01em; font: 600 14px var(--sans); }
/* ---------- How it works: vertical scroll drives a horizontal track ---------- */
/* ---------- Less text, more motion ---------- */
.row { position: relative; isolation: isolate; }
/* route: data packets run along the lines into the rings */
/* card: the agent is thinking */
/* local: packets orbit the Mac and never leave */
/* queue: the send button breathes */
.vq .q-send { animation: breathe 1.8s ease-in-out infinite; }
/* MCP: the JSON types itself, the tools slide in */
/* Panel cameras */
/* ---------- Story inside the Mac ---------- */
.intro { height: calc(260vh + 7 * 75vh); }
.stage-title { font-size: clamp(26px, 3.4vw, 50px); }
@media (max-width: 600px) {
.intro { height: calc(220vh + 7 * 75vh); }
}
/* ---------- Story page: a product site you're building, with three things wrong ---------- */
.halo { height: calc(100% - 34px); background: #fff; color: #1d1d1f; font-family: -apple-system, "SF Pro Display", var(--sans); overflow: hidden; }
.h-nav { display: flex; justify-content: center; align-items: center; gap: 26px; height: 40px; font-size: 11.5px; color: #424245; background: rgba(245, 245, 247, .9); border-bottom: 1px solid #e5e5ea; }
.h-nav b { font-weight: 600; color: #1d1d1f; margin-right: 18px; }
.h-hero { padding: 26px 40px 0; text-align: left; transition: all .6s var(--ease); }
.h-new { display: block; color: #bf4800; font-size: 13px; margin-bottom: 4px; }
.h-tag { margin: 6px 0 14px; font-size: 18px; color: #6e6e73; }
.h-ctas { display: flex; align-items: center; gap: 22px; margin-bottom: 18px; }
#h-buy { padding: 5px 12px; border-radius: 4px; background: #34c759; color: #fff; font-size: 12px; transition: all .6s var(--ease); }
.h-learn { color: #0066cc; font-size: 15px; }
.h-img { position: relative; height: 250px; border-radius: 14px; background: #f2f2f2; display: grid; place-items: center; overflow: hidden; }
/* fixed */
/* ---------- Bigger Mac; the step title is a caption over it ---------- */
/* Near full-screen device, like a product page */
/* ---------- Apple-style stage: the room goes dark as the Mac rises, with a light behind it ---------- */
.intro-sticky { background: color-mix(in srgb, #050505 calc(min(1, var(--b) * 1.3) * 100%), var(--paper)); }
.intro-sticky::before {
  content: ""; position: absolute; left: 50%; top: 42%; width: 120vw; height: 90vh; transform: translate(-50%, -50%); pointer-events: none; z-index: 0;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .16), rgba(255, 59, 31, .05) 45%, transparent 75%);
  opacity: calc(var(--b) * 1.2 - .2);
}
/* ---------- The demo is a film you play: studio backdrop, controls under the Mac ---------- */
.intro { height: 260vh; }
@media (max-width: 600px) {
.intro { height: 220vh; }
}
.intro-sticky {
  background:
    radial-gradient(ellipse 70% 60% at 50% 38%, color-mix(in srgb, #ffffff calc(var(--b) * 100%), var(--paper)) 0%, transparent 70%),
    linear-gradient(color-mix(in srgb, #e4ddcf calc(var(--b) * 100%), var(--paper)), color-mix(in srgb, #d6cdbb calc(var(--b) * 100%), var(--paper)));
}
.intro-sticky::before { display: none; }
/* Black stage again (preferred), bigger Mac, tighter controls */
.intro-sticky {
  background:
    radial-gradient(ellipse 60% 55% at 50% 40%, color-mix(in srgb, #262626 calc(min(1, var(--b) * 1.3) * 100%), var(--paper)) 0%, transparent 72%),
    color-mix(in srgb, #050505 calc(min(1, var(--b) * 1.3) * 100%), var(--paper));
}
html.lenis, html.lenis body { height: auto; }
/* A truer MacBook: thin even bezels, aluminium rim, slim base with a curved front lip */
/* ---------- Film v2: the pain, then Aki ---------- */
.keys { position: absolute; left: 50%; top: 50%; z-index: 9; display: flex; gap: 12px; transform: translate(-50%, -50%) scale(.6); opacity: 0; pointer-events: none; transition: opacity .3s, transform .45s var(--spring); }
.keys.on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.keys kbd { min-width: 92px; height: 92px; font-size: 40px; border-radius: 20px; background: #fff; border: 1px solid #d6d2c8; box-shadow: 0 8px 0 #c9c4b8, 0 30px 50px -20px rgba(0, 0, 0, .5); color: var(--ink); }
/* ---------- Demo variants ---------- */
[data-demo="a"] .intro, [data-demo="b"] .intro { height: 100vh; height: 100svh; }
[data-demo="a"] .intro-hero, [data-demo="b"] .intro-hero { transform: none; opacity: 1; }
[data-demo="a"] .intro-sticky, [data-demo="b"] .intro-sticky { background: var(--paper); }
/* ---------- A · Highlights ---------- */
.hl-track { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 0 max(16px, calc((100vw - var(--max)) / 2)) 10px; scrollbar-width: none; }
.hl-track::-webkit-scrollbar { display: none; }
.hl-card { flex: none; width: min(860px, 78vw); scroll-snap-align: center; }
/* card 1 — hover walks the page, then marks the title */
@keyframes num { 0%, 62% { transform: scale(0); } 67%, 96% { transform: scale(1); } 100% { transform: scale(0); } }
/* card 2 — the note types itself */
@keyframes type { 0%, 10% { clip-path: inset(0 100% 0 0); } 55%, 100% { clip-path: inset(0 0 0 0); } }
@keyframes press { 0%, 70% { transform: none; } 75% { transform: scale(.9); background: #3a3a3a; } 80%, 100% { transform: none; } }
/* card 3 — the queue fills and flies to the ring */
@keyframes qrow { 0% { opacity: 0; transform: translateX(-30px); } 8%, 52% { opacity: 1; transform: none; } 62%, 100% { opacity: 0; transform: translate(280px, -20px) scale(.2); } }
/* card 4 — every agent, every terminal */
@keyframes lit { 0%, 22% { box-shadow: inset 0 0 0 3px var(--c), 0 0 30px color-mix(in srgb, var(--c) 60%, transparent); transform: scale(1.08); } 30%, 100% { box-shadow: inset 0 0 0 3px #333; transform: none; } }
/* card 5 — before / after wipe */
/* ---------- B · Playground ---------- */
.pg-win { position: relative; width: min(1100px, 100%); height: min(620px, 74vh); margin: 0 auto; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px #222; }
/* ---------- v5: cinematic layer (GSAP + Lenis) ---------- */
.preloader { position: fixed; inset: 0; z-index: 200; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px; background: #050505; color: var(--paper); }
.no-gsap .preloader { display: none; }
/* hold the hero until the curtain lifts */
.js:not(.ready) .intro-hero * { animation-play-state: paused !important; }
/* masked word reveal */
.sw-mask { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.sw { display: inline-block; will-change: transform, opacity, filter; }
.hero-h1 { animation: none !important; }
/* ---------- Cine: photo grows from a framed card to full-bleed, with parallax ---------- */
.cine-frame { position: absolute; inset: 0; clip-path: inset(14% 12% round 28px); will-change: clip-path; }
.cine-img { position: absolute; left: 0; top: -12%; width: 100%; height: 124%; object-fit: cover; transform: scale(1.18); will-change: transform; }
.cine-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 5, 5, .15), rgba(5, 5, 5, .55)); }
.cine-sub { margin: 22px 0 0; color: #d6d2c8; font: 500 clamp(18px, 2vw, 26px) var(--display); letter-spacing: -.02em; }
.no-gsap .cine-frame { clip-path: none; }
.no-gsap .cine-img { transform: none; top: 0; height: 100%; }
.final-bg { position: absolute; inset: 0; z-index: 0; }
.final-bg img { width: 100%; height: 120%; object-fit: cover; opacity: .45; transform: translateY(-8%); }
.final-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 40%, rgba(17, 17, 17, .2), #111 80%); }
.final > *:not(.final-bg):not(.here) { position: relative; z-index: 1; }
/* ---------- Z · the big site, zoomed by the scroll (light, huge real screens, short captions) ---------- */
[data-demo="z"] .intro { height: 100vh; height: 100svh; }
[data-demo="z"] .intro-hero { transform: none; opacity: 1; }
[data-demo="z"] .intro-sticky { background: var(--paper); }
.zs-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: radial-gradient(ellipse 70% 60% at 50% 40%, #fbf8f2 0%, #efe9dd 70%, #e7dfd0 100%); }
/* marks, cursor, hover */
/* side panels */
/* caption, Manus-style */
/* Menu hover in our red-orange */
.nav-links a { position: relative; transition: color .2s; }
.nav-links a:hover, .nav-links a:focus-visible { color: var(--red); }
.nav-links a::after { content: ""; position: absolute; left: 50%; bottom: -7px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--red); transform: scale(0); transition: transform .3s var(--spring); }
.nav-links a:hover::after { transform: scale(1); }
.lang:hover { color: var(--red); background: var(--red-veil); }
.mode-btn:hover { border-color: var(--red); color: var(--red); }
.btn-ink:hover { background: var(--red); color: #fff; }
.foot-links a:hover { color: var(--red); }
/* ---------- Shared bits of the zoom scenes ---------- */
/* M · terminal */
/* S · windows + rail */
/* F · the MacBook pull-back */
.zf-logo { width: min(340px, 60vw); color: var(--night-ink); }
/* ---------- Z v2 · the Mac desktop: Dock, Chrome → Safari, then outside the browser ---------- */
/* colour change: dark mode with our orange */
/* desktop mark + results */
/* ---------- Apple launch look: black stage, MacBook, moving wallpaper, macOS chrome ---------- */
/* moving wallpaper, launch-video style (original, not Apple's artwork) */
/* macOS menubar */
/* glass Dock */
/* windows: macOS shadow */
/* caption under the Mac, like a launch-film subtitle; the site nav steps aside during the scene */
.nav { transition: transform .5s var(--ease), opacity .4s; }
/* Dock launch: the macOS bounce */
.foot-by a { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 3px; }
.foot-by a:hover { color: var(--red); }
/* scene cursor: Mac arrow → (shortcut) → Aki pin */
/* Dock hover: neighbours magnify a bit too */
/* the visitor's own pin cursor steps aside inside the scene (it already has one) */
/* panels over the browser window, never under its marks */
/* queue thumbnails: a tiny crop of what was marked */
/* results: the Mac steps back so the numbers read clean */
.os-copy h2 { margin-bottom: 30px; }
/* ===== v10 — storyboard fixes ===== */
/* paper ⇄ black, no hard cut */
/* Dock icons with a macOS feel */
/* bigger Mac arrow and click */
/* the shortcut, keynote style */
/* the Halo site looks finished; its flaws are believable (a stock photo, not a broken box) */
.flash { animation: fix-flash .9s var(--ease); }
@keyframes fix-flash { 0% { box-shadow: 0 0 0 0 rgba(52, 199, 89, 0); } 30% { box-shadow: 0 0 0 10px rgba(52, 199, 89, .35); } 100% { box-shadow: 0 0 0 24px rgba(52, 199, 89, 0); } }
/* mark 1: the pin and the badge no longer pile up */
/* Send to: the same spot as the queue, so the send reads as one gesture */
/* terminal: a real window, readable */
/* desktop mark: badge on the far side of the note */
/* results: big numbers on black, one by one */
/* subtitle band: whatever sits under the caption fades into black, like film subtitles */
/* only the mark being written keeps its note open; earlier ones keep the badge */
/* the terminal grows line by line instead of showing an empty black box */
/* inside the film there is one pointer: the scene's */
/* ===== Site v3: the product section, on paper (scoped to .nx) ===== */
:root {
  --bg: var(--paper); --bg-2: var(--paper-2); --panel: var(--surface); --panel-2: #F7F4EE; --line-2: #CFC6B5;
  --s1: rgb(61, 133, 255); --s2: rgb(255, 140, 26); --s3: rgb(242, 64, 64); --s4: rgb(51, 199, 102);
  --mac: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", var(--sans);
  --rounded: ui-rounded, "SF Pro Rounded", -apple-system, var(--sans);
}
[hidden] { display: none !important; }
.mk { display: inline-block; flex: none; width: 1em; height: 1em; background: currentColor; -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.mk.dl { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v11m0 0-4.5-4.5M12 15l4.5-4.5M5 19h14'/%3E%3C/svg%3E"); }
.nav-ic { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); font: 500 14px var(--sans); }
.nav-ic .mk { font-size: 18px; }
.nav-ic:hover { color: var(--ink); }
.nav-dl { display: inline-flex; align-items: center; gap: 7px; }
.nav-dl .mk { font-size: 15px; }
.nx { --h: var(--red); }
.nx h2 { font-family: var(--display); font-weight: 700; letter-spacing: -.04em; font-size: clamp(32px, 4.4vw, 52px); line-height: 1.02; margin: 0; }
.nx-demo { padding: 40px 16px 0; text-align: center; }
/* icons drawn from the SVG files with a mask, so they take the text colour */
.nx .mk { display: inline-block; flex: none; width: 1em; height: 1em; background: currentColor; -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.nx .mk.dl { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v11m0 0-4.5-4.5M12 15l4.5-4.5M5 19h14'/%3E%3C/svg%3E"); }
/* logo */
.nx .logo { height: 100%; width: auto; overflow: visible; }
.nx .logo .l { fill: var(--ink); }
.nx .logo .pb { fill: var(--red); }
.nx .logo .pd { fill: var(--bg); }
/* buttons */
.nx .btn { display: inline-flex; align-items: center; gap: 9px; height: 46px; padding: 0 20px; border-radius: 12px; font: 600 15px var(--sans); border: 1px solid transparent; transition: background .2s, border-color .2s, transform .2s var(--ease); white-space: nowrap; }
.nx .btn:active { transform: translateY(1px); }
.nx .btn .mk { font-size: 17px; }
.nx .btn-sm { height: 38px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.nx .btn-red { background: var(--red); color: #fff; }
.nx .btn-red:hover { background: var(--red-press); }
.nx .soon { font: 500 10px var(--mono); letter-spacing: .08em; text-transform: uppercase; opacity: .55; }
.nx .is-soon { cursor: default; }
/* nav */
.nx .nav { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 28px; height: 64px; padding: 0 max(16px, calc((100vw - var(--max)) / 2)); background: rgba(12, 12, 12, .72); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.nx .brand { display: block; height: 26px; }
.nx .nav-links { display: flex; gap: 26px; font-size: 14.5px; color: var(--ink-2); }
.nx .nav-links a:hover { color: var(--ink); }
.nx .nav-ic { display: inline-flex; align-items: center; gap: 7px; color: var(--ink-2); font: 500 14px var(--sans); }
.nx .nav-ic .mk { font-size: 19px; }
.nx .nav-ic:hover { color: var(--ink); }
.nx .lang select { appearance: none; background: transparent; border: 0; color: var(--ink-2); font: 500 13.5px var(--sans); cursor: pointer; padding: 6px 2px; }
.nx .lang select:hover { color: var(--ink); }
.nx .lang option { background: #1a1a1a; color: var(--ink); }
/* hero */
.nx .hero { padding: 72px 16px 40px; text-align: center; }
.nx h1, .nx h2 { font-family: var(--display); font-weight: 700; letter-spacing: -.04em; margin: 0; }
.nx h1 { font-size: clamp(42px, 6.6vw, 82px); line-height: .98; }
.nx h2 { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.02; }
.nx .tabs { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 4px; margin: 56px auto 18px; padding: 4px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); }
.nx .tabs button { appearance: none; border: 0; background: transparent; color: var(--ink-2); font: 500 14px var(--sans); padding: 8px 14px; border-radius: 9px; cursor: pointer; position: relative; overflow: hidden; }
.nx .tabs button:hover { color: var(--ink); }
.nx .tabs button.on { background: var(--panel-2); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.nx .tabs button.on::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--red); transform-origin: left; transform: scaleX(var(--prog, 0)); }
.nx .stage-cap { max-width: 720px; margin: 18px auto 0; min-height: 3em; color: var(--ink-2); font-size: 15px; }
/* ===== the stage: a Mac screen drawn at 1280×760 and scaled to fit ===== */
.nx .stage { position: relative; width: min(var(--max), 100%); margin: 0 auto; aspect-ratio: 1280 / 760; border-radius: 16px; overflow: hidden; border: 1px solid var(--line-2); box-shadow: 0 40px 120px -40px rgba(0, 0, 0, .9), 0 0 0 6px rgba(255, 255, 255, .02); background: #0a0a12; text-align: left; }
.nx .screen { position: absolute; left: 0; top: 0; width: 1280px; height: 760px; transform-origin: 0 0; transform: scale(var(--k, 1)); font-family: var(--mac); color: #fff; }
.nx .wall { position: absolute; inset: 0; background: radial-gradient(60% 70% at 15% 95%, rgba(255, 112, 70, .55), transparent 60%), radial-gradient(55% 60% at 90% 0%, rgba(90, 108, 255, .55), transparent 60%), radial-gradient(50% 50% at 55% 55%, rgba(200, 60, 150, .35), transparent 70%), linear-gradient(160deg, #0b1230, #1d1446 50%, #2a0f2e 80%, #0a0815); }
.nx .mb { position: absolute; z-index: 3; left: 0; right: 0; top: 0; height: 26px; display: flex; align-items: center; gap: 18px; padding: 0 16px; font-size: 13px; color: #fff; background: rgba(20, 16, 34, .45); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.nx .mb b { font-weight: 700; }
.nx .mb-apple { width: 13px; height: 15px; background: #fff; -webkit-mask: url(logos/apple.svg) center / contain no-repeat; mask: url(logos/apple.svg) center / contain no-repeat; }
.nx .mb-r { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.nx .mb-sparkles { font-style: normal; font-size: 13px; }
.nx .mb-bat { position: relative; width: 22px; height: 11px; border: 1.5px solid rgba(255, 255, 255, .85); border-radius: 3.5px; }
.nx .mb-bat i { position: absolute; inset: 1.5px 5px 1.5px 1.5px; background: #fff; border-radius: 1.5px; }
.nx .win { position: absolute; z-index: 1; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .7), 0 0 0 .5px rgba(0, 0, 0, .4); transition: opacity .45s var(--ease), transform .55s var(--ease); }
.nx .win.off { opacity: 0; transform: translateY(14px) scale(.97); pointer-events: none; }
.nx .w-bar { position: relative; height: 36px; display: flex; align-items: center; gap: 12px; padding: 0 14px; background: #ececee; border-bottom: 1px solid #dcdce0; color: #333; font-size: 12.5px; }
.nx .lights { display: flex; gap: 7px; }
.nx .lights i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; }
.nx .lights i:nth-child(2) { background: #febc2e; }
.nx .lights i:nth-child(3) { background: #28c840; }
.nx .w-tab { display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 14px; margin-top: 8px; align-self: flex-end; border-radius: 8px 8px 0 0; background: #fff; font-weight: 500; }
.nx .w-tab .mk { color: #1a73e8; font-size: 13px; }
.nx .w-url { position: absolute; left: 50%; transform: translateX(-50%); padding: 3px 120px; border-radius: 7px; background: #fff; color: #555; font: 12px var(--mono); }
.nx .w-title { position: absolute; left: 0; right: 0; text-align: center; font-weight: 600; font-size: 13px; color: #444; pointer-events: none; }
/* the site being built (Halo) */
.nx .browser { left: 64px; top: 50px; width: 880px; height: 610px; }
.nx .halo { position: relative; height: calc(100% - 36px); overflow: hidden; color: #1d1d1f; background: #fff; transition: background .6s; }
.nx .h-nav { display: flex; justify-content: center; gap: 30px; height: 40px; align-items: center; font-size: 12px; color: #444; border-bottom: 1px solid #eee; }
.nx .h-nav b { color: #111; margin-right: 30px; }
.nx .h-hero { padding: 30px 70px 0; text-align: left; transition: all .6s var(--ease); }
.nx .h-new { color: #bf4800; font-size: 13px; }
.nx .h-title { display: inline-block; margin: 2px 0 0 14px; font: 500 30px/1.1 var(--mac); letter-spacing: -.01em; transition: all .6s var(--ease); }
.nx .h-tag { margin: 6px 0 14px; font-size: 17px; color: #6e6e73; }
.nx .h-ctas { display: flex; align-items: center; gap: 22px; transition: all .6s var(--ease); }
.nx .h-buy { padding: 5px 12px; border-radius: 4px; background: #34c759; color: #fff; font-size: 13px; transition: all .6s var(--ease); }
.nx .h-learn { color: #0066cc; font-size: 14px; }
.nx .h-img { position: relative; height: 250px; margin: 22px 70px 0; border-radius: 16px; overflow: hidden; background: #f2f2f2; }
.nx .h-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 14px 70px 0; }
.nx .h-cards div { padding: 12px 14px; border-radius: 12px; background: #f5f5f7; }
.nx .h-cards small { display: block; color: #86868b; font-size: 11px; }
.nx .h-cards b { font-size: 20px; letter-spacing: -.02em; }
/* fixed by the agent */
.nx .flash { animation: nx-flash 1s var(--ease); }
@keyframes nx-flash { 30% { box-shadow: 0 0 0 8px rgba(52, 199, 89, .35); } 100% { box-shadow: 0 0 0 22px rgba(52, 199, 89, 0); } }
/* Finder */
.nx .finder { left: 560px; top: 120px; width: 600px; height: 380px; background: #f6f6f6; }
.nx .f-body { display: flex; height: calc(100% - 36px); }
.nx .f-side { width: 160px; padding: 12px 10px; background: #ebebed; display: flex; flex-direction: column; gap: 6px; color: #333; font-size: 12.5px; }
.nx .f-side small { color: #999; font-size: 11px; font-weight: 600; margin-bottom: 2px; }
.nx .f-side span { padding: 3px 8px; border-radius: 6px; }
.nx .f-side .on { background: rgba(0, 0, 0, .08); }
.nx .f-grid { flex: 1; display: flex; flex-wrap: wrap; align-content: flex-start; gap: 24px 30px; padding: 26px; }
.nx .f-item { display: flex; flex-direction: column; align-items: center; gap: 7px; width: 86px; color: #222; font-size: 12px; }
.nx .f-item i { width: 58px; height: 72px; border-radius: 5px; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .18); }
.nx .f-item .f-img { display: grid; place-items: center; background: var(--paper); }
.nx .f-img b { width: 30px; height: 30px; border-radius: 50% 50% 50% 6px; background: var(--red); }
.nx .f-doc.zip { background: #ddd; }
/* terminal */
.nx .term { left: 770px; top: 60px; width: 490px; height: 630px; background: #101012; }
.nx .term.low { left: 150px; top: 380px; width: 720px; height: 330px; }
.nx .term .w-bar { background: #1e1e21; border-color: #2a2a2e; }
.nx .term .w-title { color: #a1a1a6; }
.nx .t-body { padding: 14px 18px; font: 12.5px/1.62 var(--mono); color: #e4e0d6; white-space: pre-wrap; }
.nx .t-body .tr { color: var(--red); }
.nx .t-body .tg { color: #7fd8a8; }
.nx .t-body .td { color: #8b8b93; }
.nx .t-body .tb { color: #9ec1ff; }
.nx .t-body .tl { display: block; animation: nx-tl .35s var(--ease) both; }
@keyframes nx-tl { from { opacity: 0; transform: translateY(4px); } }
/* ===== Aki overlay, from the app's own measurements ===== */
.nx .ak { position: absolute; inset: 0; z-index: 5; pointer-events: none; --h: var(--s1); }
.nx .ak-frame { position: absolute; inset: 0; border: 2px solid rgba(255, 59, 31, .9); background: rgba(0, 0, 0, .06); opacity: 0; transition: opacity .3s; }
.nx .ak-frame.on { opacity: 1; }
.nx .ak-hover { position: absolute; background: color-mix(in srgb, var(--h) 8%, transparent); border: 2px solid var(--h); opacity: 0; transition: left .25s var(--ease), top .25s var(--ease), width .25s var(--ease), height .25s var(--ease), opacity .2s; }
.nx .ak-hover.on { opacity: 1; }
.nx .ak-hover.line { background: color-mix(in srgb, var(--h) 22%, transparent); border-width: 1.5px; border-radius: 3px; }
.nx .ak-label { position: absolute; left: -2px; top: -24px; display: inline-flex; align-items: center; gap: 6px; padding: 3px 6px; border-radius: 4px; background: var(--h); color: #fff; white-space: nowrap; }
.nx .ak-label code { font: 600 11px var(--mono); }
.nx .ak-ud { font: 700 10px var(--mac); font-style: normal; opacity: .75; }
.nx .ak-drag { position: absolute; background: color-mix(in srgb, var(--h) 12%, transparent); border: 2px dashed var(--h); opacity: 0; }
.nx .ak-drag.on { opacity: 1; }
.nx .mkr { position: absolute; background: color-mix(in srgb, var(--h) 14%, transparent); border: 2px solid var(--h); transition: transform .55s cubic-bezier(.5, 0, .2, 1), opacity .55s cubic-bezier(.5, 0, .2, 1); animation: nx-mk-in .3s var(--ease); }
@keyframes nx-mk-in { from { opacity: 0; transform: scale(1.06); } }
.nx .mkr.done { border-color: #34c759; background: rgba(52, 199, 89, .12); }
.nx .mkr.fly { opacity: .2; }
.nx .pinno { position: absolute; left: -11px; top: -11px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--h); border: 2px solid #fff; color: #fff; font: 700 12px var(--rounded); box-shadow: 0 2px 4px rgba(0, 0, 0, .4); }
.nx .mkr.done .pinno { background: #34c759; font-size: 0; }
.nx .mkr.done .pinno::after { content: "✓"; font-size: 13px; }
.nx .ak-card { position: absolute; width: 340px; padding: 14px; display: flex; flex-direction: column; gap: 10px; border-radius: 16px; background: rgba(0, 0, 0, .94); border: 1px solid color-mix(in srgb, var(--h) 60%, transparent); box-shadow: 0 6px 20px color-mix(in srgb, var(--h) 25%, transparent); color: #fff; font-size: 13px; opacity: 0; transform: translateY(6px) scale(.98); transform-origin: 0 0; transition: opacity .25s, transform .3s var(--ease); }
.nx .ak-card.on { opacity: 1; transform: none; }
.nx .c-head { display: flex; align-items: center; gap: 10px; }
.nx .c-num { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--h); font: 700 12px var(--rounded); }
.nx .c-to small { display: block; font-size: 10px; font-weight: 500; color: rgba(255, 255, 255, .5); }
.nx .c-to b { font-size: 13px; color: var(--h); }
.nx .c-picker { display: flex; align-items: center; gap: 10px; }
.nx .c-mono { position: relative; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--h) 25%, transparent); border: 1px solid color-mix(in srgb, var(--h) 60%, transparent); font: 700 12px var(--rounded); }
.nx .c-mono.on { width: 32px; height: 32px; background: color-mix(in srgb, var(--h) 90%, transparent); box-shadow: 0 0 0 2.5px #000, 0 0 0 5px var(--red), 0 0 10px var(--red); }
.nx .c-mono i { position: absolute; left: -3px; bottom: -3px; width: 13px; height: 13px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #000; font: 700 8px var(--rounded); font-style: normal; }
.nx .c-sel { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.nx .c-sel code { padding: 3px 6px; border-radius: 4px; background: var(--h); font: 600 11px var(--mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 210px; }
.nx .c-sel small { font-size: 9.5px; font-weight: 600; color: rgba(255, 255, 255, .5); white-space: nowrap; }
.nx .c-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.nx .c-tile { position: relative; display: flex; flex-direction: column; gap: 4px; height: 54px; padding: 6px 8px; border-radius: 7px; background: rgba(255, 255, 255, .05); border: 1.5px solid rgba(255, 255, 255, .1); overflow: hidden; }
.nx .c-tile.on { border-color: var(--h); }
.nx .c-tile small { font-size: 9.5px; color: rgba(255, 255, 255, .55); }
.nx .c-tile em { font: 10.5px var(--mono); font-style: normal; color: #eee; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nx .c-crop { flex: 1; border-radius: 4px; background: linear-gradient(135deg, #e9e9ee, #fff); }
.nx .c-chk { position: absolute; right: 6px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--h); }
.nx .c-chk.off { background: none; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .5); }
.nx .c-field { position: relative; min-height: 84px; padding: 12px; border-radius: 9px; background: rgba(255, 255, 255, .06); font-size: 15px; line-height: 1.35; }
.nx .c-ph { position: absolute; left: 12px; top: 12px; color: rgba(255, 255, 255, .35); }
.nx .c-field.typing .c-ph { display: none; }
.nx .caret { display: inline-block; width: 1.5px; height: 1.1em; margin-left: 1px; vertical-align: -3px; background: var(--h); animation: nx-blink 1s steps(1) infinite; }
@keyframes nx-blink { 50% { opacity: 0; } }
.nx .c-row { display: flex; align-items: center; justify-content: space-between; }
.nx .c-dest { height: 26px; display: inline-flex; align-items: center; padding: 0 10px; border-radius: 99px; background: rgba(255, 255, 255, .1); font-size: 11px; }
.nx .c-keys, .nx .c-btns { display: flex; gap: 6px; }
.nx .c-btns { justify-content: flex-end; }
.nx kbd { display: inline-grid; place-items: center; min-width: 17px; height: 15px; padding: 0 4px; border-radius: 3.5px; background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 .6px rgba(255, 255, 255, .18); font: 600 9.5px var(--rounded); color: rgba(255, 255, 255, .9); }
.nx .c-btn { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border-radius: 99px; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09); font-size: 11px; font-weight: 600; transition: background .15s, transform .15s; }
.nx .c-btn.white { background: rgba(255, 255, 255, .96); color: #000; }
.nx .c-btn.white kbd { background: rgba(0, 0, 0, .1); color: #000; }
.nx .c-btn.press { transform: scale(.94); background: rgba(255, 255, 255, .22); }
.nx .c-btn.white.press { background: #fff; }
.nx .ak-queue { position: absolute; width: 230px; padding: 9px; display: flex; flex-direction: column; gap: 6px; border-radius: 12px; background: rgba(0, 0, 0, .92); border: 1px solid color-mix(in srgb, var(--h) 50%, transparent); box-shadow: 0 4px 12px rgba(0, 0, 0, .35); color: #fff; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .35s var(--ease), left .4s var(--ease), top .4s var(--ease); }
.nx .ak-queue.on { opacity: 1; transform: none; }
.nx .q-head { display: flex; align-items: center; gap: 4px; font-size: 11px; }
.nx .q-head span { color: rgba(255, 255, 255, .55); }
.nx .q-x { margin-left: auto; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .12); font-style: normal; font-size: 12px; }
.nx .q-rows { display: flex; flex-direction: column; gap: 4px; }
.nx .q-row { position: relative; display: flex; align-items: center; gap: 6px; padding: 4px; border-radius: 7px; background: rgba(255, 255, 255, .03); font-size: 10.5px; color: rgba(255, 255, 255, .9); animation: nx-mk-in .3s var(--ease); }
.nx .q-row.hov { background: rgba(255, 255, 255, .08); }
.nx .q-n { flex: none; width: 16px; height: 16px; border-radius: 50%; display: grid; place-items: center; background: var(--h); font: 700 9px var(--rounded); }
.nx .q-th { flex: none; width: 30px; height: 20px; border-radius: 4px; border: .5px solid rgba(255, 255, 255, .25); background: #f5f5f7; }
.nx .q-th.img { background: linear-gradient(#9ec9ef 55%, #6f8f86 55%); }
.nx .q-th.btn { background: #f5f5f7 radial-gradient(closest-side, #34c759 60%, transparent 62%) center / 18px 9px no-repeat; }
.nx .q-th.file { background: var(--paper) radial-gradient(circle, var(--red) 40%, transparent 42%) center / 14px 14px no-repeat; }
.nx .q-th.term { background: #111 linear-gradient(transparent 40%, #ff6b5b 40%, #ff6b5b 55%, transparent 55%); }
.nx .q-row em { font-style: normal; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nx .q-ed, .nx .q-rm { flex: none; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .14); font-style: normal; font-size: 11px; }
.nx .q-dest { font-size: 10.5px; color: rgba(255, 255, 255, .6); }
.nx .q-dest span { color: #fff; }
.nx .q-send { display: flex; align-items: center; gap: 7px; height: 28px; padding: 0 9px; border-radius: 8px; background: color-mix(in srgb, var(--h) 90%, transparent); font-size: 11px; transition: transform .15s; }
.nx .q-send .mk { color: #fff; font-size: 12px; }
.nx .q-send kbd { margin-left: auto; font-size: 8px; }
.nx .q-send.press { transform: scale(.95); }
.nx .ak-hint { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); padding: 6px 12px; border-radius: 99px; background: rgba(0, 0, 0, .75); font-size: 11px; color: rgba(255, 255, 255, .75); white-space: nowrap; opacity: 0; transition: opacity .3s; }
.nx .ak-hint.on { opacity: 1; }
/* the rail (bottom edge, centred) */
.nx .ak-bar { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; }
.nx .bar-pill { width: 79px; height: 9.8px; margin-bottom: 4px; border-radius: 99px; background: var(--red); transition: opacity .25s; }
.nx .bar-rings { display: flex; gap: 31px; padding: 14px 26px 6px; border-radius: 30px 30px 0 0; background: rgba(17, 17, 17, .9); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: 0 -10px 30px rgba(0, 0, 0, .35), inset 0 0 0 1px rgba(255, 255, 255, .06); transform: translateY(110%); transition: transform .45s var(--spring); }
.nx .ak-bar.open .bar-rings { transform: none; }
.nx .ak-bar.open .bar-pill { opacity: 0; height: 0; margin: 0; }
.nx .ring { position: relative; width: 44px; height: 44px; margin-bottom: 18px; border-radius: 50%; display: grid; place-items: center; border: 5.8px solid color-mix(in srgb, var(--h) 60%, transparent); transition: transform .3s var(--spring), box-shadow .3s; }
.nx .ring span { font: 700 13px var(--rounded); }
.nx .ring small { position: absolute; top: 46px; left: 50%; transform: translateX(-50%); font: 600 10px var(--mac); color: #a1a1a6; white-space: nowrap; }
.nx .ring .badge { position: absolute; right: -9px; bottom: -9px; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid #000; }
.nx .ring.dest { transform: scale(1.22); box-shadow: 0 0 0 3px #111, 0 0 0 6px var(--red), 0 0 12px var(--red); }
.nx .ring.pend { border-color: var(--red); }
.nx .ring.work::after { content: ""; position: absolute; inset: -5.8px; border-radius: 50%; border: 3px solid transparent; border-top-color: var(--red); border-right-color: var(--red); animation: nx-spin 3.5s linear infinite; }
@keyframes nx-spin { to { transform: rotate(360deg); } }
.nx .cnt { position: absolute; right: -10px; top: -10px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 99px; display: none; place-items: center; background: var(--red); border: 1.5px solid #000; font: 700 8.5px var(--rounded); font-style: normal; color: #fff; }
.nx .ring.pend .cnt { display: grid; }
.nx .badge { background: #fff center / 11px no-repeat; }
.nx .badge.claude { background-color: rgb(217, 120, 87); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='5' fill='white'/%3E%3C/svg%3E"); }
.nx .badge.codex { background-color: #fff; }
.nx .badge.cursor { background-color: #fff; }
.nx .badge.gemini { background-color: rgb(66, 133, 245); }
.nx .bar-card { position: absolute; bottom: calc(100% + 10px); width: 226px; padding: 12px; border-radius: 18.6px; background: rgba(17, 17, 17, .96); box-shadow: 0 20px 40px rgba(0, 0, 0, .5), inset 0 0 0 1px rgba(255, 255, 255, .07); font-size: 11px; color: #ddd; opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .35s var(--ease); }
.nx .bar-card.on { opacity: 1; transform: none; }
.nx .bc-head { display: flex; gap: 9px; align-items: center; padding-bottom: 9px; border-bottom: .94px solid rgba(243, 239, 230, .19); }
.nx .badge.big { position: static; width: 28px; height: 28px; border-radius: 50%; flex: none; background-size: 16px; }
.nx .bc-head b { display: block; font-size: 13.7px; color: #fff; }
.nx .bc-head em { font-style: normal; color: rgb(217, 120, 87); font-weight: 600; }
.nx .bc-head small { display: block; font-size: 9.5px; color: #8c877c; }
.nx .bc-state { display: flex; align-items: center; gap: 6px; padding: 8px 0; border-bottom: .94px solid rgba(243, 239, 230, .19); }
.nx .bc-state i { width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.nx .bc-pend { display: flex; flex-direction: column; gap: 3px; padding: 8px 0; }
.nx .bc-pend b { color: #fff; }
.nx .bc-pend span { padding-left: 11px; position: relative; color: #bbb; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nx .bc-pend span::before { content: ""; position: absolute; left: 0; top: 6px; width: 5px; height: 5px; border-radius: 50%; background: var(--red); }
.nx .bc-go { display: flex; justify-content: space-between; align-items: center; height: 24px; padding: 0 10px; border-radius: 7px; background: var(--s1); color: #fff; font-weight: 600; }
.nx .bc-go em { font-style: normal; opacity: .8; }
/* cursor: the Mac arrow, which turns into the Aki pin while marking */
.nx .ak-cursor { position: absolute; left: 0; top: 0; z-index: 9; width: 26px; height: 27px; transition: transform .7s cubic-bezier(.4, 0, .2, 1); filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .35)); }
.nx .ak-cursor .arrow { position: absolute; left: 0; top: 0; width: 18px; height: 26px; transition: opacity .2s, transform .3s var(--spring); }
.nx .ak-cursor .arrow path { fill: #111; stroke: #fff; stroke-width: 1.6; stroke-linejoin: round; }
.nx .ak-cursor .pin { position: absolute; left: 0; top: -27px; width: 26px; height: 27px; overflow: visible; opacity: 0; transform: scale(.3); transform-origin: 4% 96%; transition: opacity .2s, transform .4s var(--spring); }
.nx .ak-cursor .pin path { fill: var(--red); }
.nx .ak-cursor .pin circle { fill: #111; }
.nx .ak-cursor.pinned .pin { opacity: 1; transform: none; }
.nx .ak-cursor.pinned .arrow { opacity: 0; transform: scale(.4); }
.nx .ak-cursor.tap .pin, .nx .ak-cursor.tap .arrow { animation: nx-tap .35s var(--ease); }
@keyframes nx-tap { 40% { transform: scale(.82); } }
.nx .ak-keys { position: absolute; z-index: 9; display: flex; gap: 5px; opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .3s var(--spring); }
.nx .ak-keys.on { opacity: 1; transform: none; }
.nx .ak-keys kbd { min-width: 34px; height: 34px; padding: 0 8px; border-radius: 8px; font-size: 17px; color: #1d1d1f; background: linear-gradient(#fff, #e9e9ee); box-shadow: 0 2px 0 #b9b9c0, 0 10px 20px rgba(0, 0, 0, .35); }
/* ===== sections ===== */
.nx .works { padding: 40px 16px 20px; text-align: center; }
.nx .label { margin: 0 0 18px; font: 500 12.5px var(--mono); letter-spacing: .04em; color: var(--ink-3); }
.nx .chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 900px; margin: 0 auto 10px; }
.nx .chips span { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 13px; border-radius: 9px; border: 1px solid var(--line); background: var(--bg-2); font-size: 14px; color: var(--ink); }
.nx .chips.dim span { color: var(--ink-2); }
.nx .chips .mk { font-size: 15px; }
.nx .sec { max-width: var(--max); margin: 0 auto; padding: 110px 16px 0; }
.nx .sec > h2 { text-align: center; margin-bottom: 44px; }
.nx .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.nx .step { padding: 18px 18px 24px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); }
.nx .step > b { display: inline-grid; place-items: center; width: 24px; height: 24px; margin-top: 18px; border-radius: 50%; background: var(--s1); font: 700 12px var(--rounded); }
.nx .step h3 { display: inline; margin-left: 8px; font: 600 19px var(--sans); }
.nx .step p { margin: 10px 0 0; color: var(--ink-2); font-size: 15px; }
.nx .s-vis { position: relative; height: 170px; border-radius: 12px; background: radial-gradient(80% 90% at 20% 100%, rgba(255, 112, 70, .25), transparent 60%), radial-gradient(70% 80% at 90% 0%, rgba(90, 108, 255, .3), transparent 60%), #0e0d18; display: grid; place-items: center; overflow: hidden; --h: var(--s1); }
.nx .sv-hover { position: relative; padding: 2px; border: 2px solid var(--h); background: color-mix(in srgb, var(--h) 8%, transparent); }
.nx .sv-hover .ak-label { top: -26px; }
.nx .sv-btn { display: block; padding: 8px 20px; border-radius: 6px; background: #34c759; color: #fff; font: 600 14px var(--mac); }
.nx .sv-keys { position: absolute; right: 14px; bottom: 14px; display: flex; gap: 4px; }
.nx .sv-keys kbd { min-width: 26px; height: 26px; font-size: 13px; color: #111; background: linear-gradient(#fff, #e6e6ea); box-shadow: 0 2px 0 #aaa; }
.nx .sv-queue { width: 240px; padding: 9px; border-radius: 12px; background: rgba(0, 0, 0, .92); border: 1px solid color-mix(in srgb, var(--h) 50%, transparent); display: flex; flex-direction: column; gap: 4px; }
.nx .sv-term { margin: 0; padding: 14px 16px; width: 88%; border-radius: 10px; background: #101012; font-size: 12px; line-height: 1.7; color: #ddd; box-shadow: inset 0 0 0 1px #222; }
.nx .sv-term .tr { color: var(--red); }
.nx .sv-term .tg { color: #7fd8a8; }
.nx .bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.nx .cell { padding: 18px 20px 22px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); transition: border-color .25s, transform .3s var(--ease); }
.nx .cell:hover { border-color: var(--line-2); transform: translateY(-2px); }
.nx .cell.wide { grid-column: span 2; }
.nx .cell h3 { margin: 16px 0 6px; font: 600 17px var(--sans); }
.nx .cell p { margin: 0; color: var(--ink-2); font-size: 14.5px; }
.nx .cv { height: 96px; border-radius: 10px; background: var(--bg-2); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; gap: 14px; padding: 0 14px; overflow: hidden; --h: var(--s1); }
.nx .mini-ring { position: relative; width: 38px; height: 38px; flex: none; border-radius: 50%; display: grid; place-items: center; border: 5px solid color-mix(in srgb, var(--h) 60%, transparent); font: 700 12px var(--rounded); }
.nx .mini-ring.pend { border-color: var(--red); }
.nx .mini-ring em { position: absolute; right: -9px; top: -9px; min-width: 15px; height: 15px; border-radius: 99px; display: grid; place-items: center; background: var(--red); font: 700 8px var(--rounded); font-style: normal; border: 1.5px solid var(--bg-2); }
.nx .mini-ring.work::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 3px solid transparent; border-top-color: var(--red); animation: nx-spin 3.5s linear infinite; }
.nx .mini-ring.wait { border-color: var(--red); animation: nx-breathe 1.1s ease-in-out infinite alternate; }
@keyframes nx-breathe { from { border-color: rgba(255, 59, 31, .5); } to { border-color: var(--red); } }
.nx .cv kbd { min-width: 30px; height: 30px; font-size: 14px; color: var(--ink); background: var(--panel-2); box-shadow: inset 0 0 0 1px var(--line-2), 0 2px 0 #000; }
.nx .os-card { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; padding: 40px; border-radius: 22px; background: var(--panel); border: 1px solid var(--line); }
.nx .os-copy p:not(.eyebrow) { color: var(--ink-2); margin: 16px 0 24px; max-width: 440px; }
.nx .donate { padding: 26px; border-radius: 16px; background: var(--bg-2); border: 1px solid var(--line); text-align: center; }
.nx .donate-title { margin: 0; font: 700 22px var(--display); letter-spacing: -.02em; }
.nx .donate-sub { margin: 4px 0 18px; color: var(--ink-2); font-size: 14px; }
.nx .donate-note { margin: 12px 0 0; font-size: 12.5px; color: var(--ink-3); }
.nx .faq-list { max-width: 780px; margin: 0 auto; border-top: 1px solid var(--line); }
.nx .faq details { border-bottom: 1px solid var(--line); }
.nx .faq summary { list-style: none; cursor: pointer; padding: 20px 4px; font-size: 17px; font-weight: 500; display: flex; justify-content: space-between; gap: 20px; }
.nx .faq summary::-webkit-details-marker { display: none; }
.nx .faq summary::after { content: "+"; color: var(--ink-3); font-size: 22px; line-height: 1; transition: transform .25s; }
.nx .faq details[open] summary::after { transform: rotate(45deg); }
.nx .faq details p { margin: 0 4px 22px; color: var(--ink-2); max-width: 680px; }
.nx .final { padding: 140px 16px 120px; text-align: center; }
.nx .final-logo { height: 70px; margin: 0 auto 30px; display: flex; justify-content: center; }
.nx .final p { color: var(--ink-2); margin: 16px 0 0; }
.nx .foot { max-width: var(--max); margin: 0 auto; padding: 30px 16px 46px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--ink-3); }
.nx .foot p { margin: 0; }
.nx .foot .brand { height: 22px; }
.nx .foot-by a { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 3px; }
.nx .foot-tm { margin-left: auto !important; font-size: 12px; }
/* reveal on scroll */
/* phones */
@media (max-width: 900px) {
.nx .nav-links { display: none; }
.nx .steps, .nx .bento { grid-template-columns: 1fr; }
.nx .cell.wide { grid-column: auto; }
.nx .os-card { grid-template-columns: 1fr; padding: 24px; }
.nx .foot-tm { margin-left: 0 !important; }
}
@media (max-width: 560px) {
.nx .nav { gap: 12px; }
.nx .nav-ic span, .nx .lang { display: none; }
.nx .hero { padding-top: 48px; }
.nx .tabs button { font-size: 12.5px; padding: 7px 10px; }
.nx .stage { border-radius: 10px; }
}
@media (prefers-reduced-motion: reduce) {
.nx *, .nx *::before, .nx *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
/* the marks in our orange */
.nx .ak, .nx .s-vis, .nx .cv { --h: var(--red); }
.nx .bc-go, .nx .step > b { background: var(--red); }
.nx .cv kbd { box-shadow: inset 0 0 0 1px var(--line-2), 0 2px 0 var(--line-2); }
.nx .tabs { margin-top: 10px; }
/* consent banner (only shown when the site loads something non-essential) */
.consent { position: fixed; z-index: 100; left: 16px; right: 16px; bottom: 16px; max-width: 980px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; padding: 20px 22px; border-radius: 16px; background: var(--surface); color: var(--ink); border: 1px solid var(--line); box-shadow: 0 30px 60px -20px rgba(40, 30, 10, .35); }
.ck-copy { flex: 1 1 420px; }
.ck-copy b { font: 600 16px var(--sans); }
.ck-copy p { margin: 6px 0 12px; color: var(--ink-2); font-size: 14px; }
.ck-copy a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.ck-opts { display: flex; flex-wrap: wrap; gap: 18px; font-size: 13.5px; }
.ck-opts label { display: inline-flex; align-items: center; gap: 7px; cursor: pointer; }
.ck-opts input { width: 17px; height: 17px; accent-color: var(--red); }
.ck-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.foot-priv, .foot-ck { color: var(--ink-3); font: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.foot-priv:hover, .foot-ck:hover { color: var(--ink); }
/* legal pages */
.legal { max-width: 760px; margin: 0 auto; padding: 120px 16px 100px; }
.legal h1 { font: 700 clamp(40px, 6vw, 64px)/1 var(--display); letter-spacing: -.04em; margin: 0; }
.legal h2 { font: 700 24px var(--display); letter-spacing: -.02em; margin: 40px 0 10px; }
.legal p, .legal li { color: var(--ink-2); }
.legal li { margin: 8px 0; }
.legal b { color: var(--ink); }
.legal a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.legal code { font-size: .9em; color: var(--ink); }
.upd-at { font: 500 13px var(--mono); }
/* real photos on the Halo page: a stock landscape (the mistake) and the product (the fix) */
.nx .h-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .7s; }
.nx .h-photo { object-position: center 60%; }
.nx .h-prodimg { opacity: 0; object-position: center 45%; }
.nx .h-file { position: absolute; left: 14px; bottom: 10px; z-index: 1; font: 11px var(--mono); font-style: normal; color: rgba(255, 255, 255, .9); text-shadow: 0 1px 3px rgba(0, 0, 0, .5); transition: opacity .5s; }
.nx .q-th.img { background: url(img/halo-photo.jpg) center / cover; }
.nx-label { margin: 0 0 14px; font: 500 12.5px var(--mono); letter-spacing: .04em; color: var(--ink-3); }
.nav-gh { gap: 10px; }
.gh-n { display: inline-flex; align-items: center; gap: 4px; font: 600 13px var(--sans); color: var(--ink-2); }
.gh-n .star { font-style: normal; color: #E3B341; font-size: 14px; }
.gh-n .fork { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.6'%3E%3Ccircle cx='4' cy='3' r='1.6'/%3E%3Ccircle cx='12' cy='3' r='1.6'/%3E%3Ccircle cx='8' cy='13' r='1.6'/%3E%3Cpath d='M4 4.6v1.4a2 2 0 0 0 2 2h4a2 2 0 0 0 2-2V4.6M8 8v3.4'/%3E%3C/svg%3E"); font-size: 13px; }
.gh-n b { font-weight: 600; }
/* agent glyphs inside the ring badges */
.nx .badge { position: absolute; overflow: hidden; }
.nx .badge.big { position: relative; }
.nx .badge::after { content: ""; position: absolute; inset: 22%; background: var(--g, #fff); -webkit-mask: var(--lg) center / contain no-repeat; mask: var(--lg) center / contain no-repeat; }
.nx .badge.claude { background-image: none; --lg: url(logos/claude.svg); --g: #fff; }
.nx .badge.codex { --lg: url(logos/openai.svg); --g: #000; }
.nx .badge.cursor { --lg: url(logos/cursor.svg); --g: #000; }
.nx .badge.gemini { --lg: url(logos/googlegemini.svg); --g: #fff; }
.nx .q-th.txt { position: relative; background: #fff; }
.nx .q-th.txt::after { content: "Aa"; position: absolute; inset: 0; display: grid; place-items: center; font: 700 9px var(--mac); color: #1d1d1f; }
/* video controls */
.nx-ctrl { display: flex; align-items: center; gap: 6px; width: min(var(--max), 100%); margin: 12px auto 0; }
.nx-ctrl button { appearance: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); display: grid; place-items: center; cursor: pointer; color: var(--ink); transition: background .15s, transform .15s; }
.nx-ctrl button:hover { background: var(--paper-2); }
.nx-ctrl button:active { transform: scale(.94); }
.nx-ctrl svg { width: 14px; height: 14px; fill: currentColor; }
#nx-pp .i-play { display: none; }
#nx-pp.is-paused .i-play { display: block; }
#nx-pp.is-paused .i-pause { display: none; }
.nx-track { flex: 1; height: 6px; margin: 0 8px; border-radius: 99px; background: var(--line); overflow: hidden; cursor: pointer; }
.nx-track i { display: block; height: 100%; background: var(--red); transform-origin: left; transform: scaleX(0); }
.nx-hint { display: flex; gap: 4px; }
.nx-hint kbd { min-width: 22px; height: 20px; padding: 0 5px; border-radius: 5px; font: 600 10.5px var(--sans); color: var(--ink-2); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); display: inline-grid; place-items: center; }
.nx-stage.seeking *, .nx .stage.seeking * { transition: none !important; animation-duration: 0s !important; }
.nx .stage.paused * { animation-play-state: paused !important; }
@media (max-width: 560px) {
.nx-hint { display: none; }
}
.nx .ln-bar { display: flex; align-items: center; gap: 10px; height: 34px; padding: 0 12px; border-radius: 9px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), 0 6px 14px -8px rgba(40, 30, 10, .25); font: 500 13.5px var(--mac); }
.nx .ln-bar i { font-style: normal; }
.nx .ln-bar em { margin-left: auto; font-style: normal; color: var(--ink-3); font-size: 12px; }
.nx .cv-theme { gap: 10px; }
.nx .cv-theme span { width: 70px; height: 52px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line); position: relative; }
.nx .cv-theme .th-l { background: #fff; }
.nx .cv-theme .th-d { background: #1c1c1e; }
.nx .cv-theme span::after { content: ""; position: absolute; left: 10px; top: 10px; width: 14px; height: 14px; border-radius: 50%; background: var(--red); box-shadow: 18px 0 0 var(--s1), 36px 0 0 #8e8e93; }
.nx .badge { transform: none; opacity: 1; place-items: unset; }
/* comparison, round 2 */
.nx .cmp-note { margin: 10px 4px 0; font-size: 12.5px; color: var(--ink-3); text-align: left; }
/* ===== features, round 2: dark mini-screens with the real UI, click to see bigger ===== */
.nx .cell { position: relative; padding: 0; overflow: hidden; cursor: pointer; display: flex; flex-direction: column; }
.nx .cell:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.nx .cell .cv { height: 210px; margin: 0; border: 0; border-radius: 0; flex-direction: column; gap: 14px; color: #f3efe6; background: radial-gradient(70% 90% at 15% 110%, rgba(255, 112, 70, .32), transparent 60%), radial-gradient(60% 80% at 95% -10%, rgba(90, 108, 255, .34), transparent 60%), #0f0e17; --h: var(--red); }
.nx .cell-txt { padding: 18px 20px 20px; }
.nx .cell h3 { margin: 0 0 6px; }
.nx .cell-more { position: absolute; right: 14px; top: 14px; padding: 4px 9px; border-radius: 99px; background: rgba(255, 255, 255, .12); color: #f3efe6; font: 500 11px var(--sans); opacity: 0; transform: translateY(-4px); transition: opacity .2s, transform .25s var(--ease); backdrop-filter: blur(6px); }
.nx .cell:hover .cell-more, .nx .cell:focus-visible .cell-more { opacity: 1; transform: none; }
.nx .cell:hover .cv > * { transform: scale(1.03); }
.nx .cv > * { transition: transform .5s var(--ease); }
/* 1 any app */
.nx .v-apps { display: flex; gap: 16px; }
.nx .v-app { position: relative; width: 58px; height: 58px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); animation: v-pick 7.2s var(--d) infinite; }
.nx .v-app .mk { font-size: 28px; color: #f3efe6; }
.nx .v-app b { position: absolute; left: -8px; top: -8px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--red); border: 2px solid #fff; font: 700 10px var(--rounded); opacity: 0; animation: v-pin 7.2s var(--d) infinite; }
@keyframes v-pick { 0%, 14% { box-shadow: inset 0 0 0 2px var(--red); background: rgba(255, 59, 31, .16); } 18%, 100% { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .08); } }
@keyframes v-pin { 0% { opacity: 0; transform: scale(.4); } 4%, 90% { opacity: 1; transform: none; } 100% { opacity: 0; } }
/* 2 browsers */
.nx .v-win { width: 300px; border-radius: 9px; overflow: hidden; background: #fff; box-shadow: 0 16px 30px -12px rgba(0, 0, 0, .6); }
.nx .v-bar { display: flex; align-items: center; gap: 5px; height: 20px; padding: 0 8px; background: #ececee; }
.nx .v-bar i { width: 7px; height: 7px; border-radius: 50%; background: #ff5f57; }
.nx .v-bar i:nth-child(2) { background: #febc2e; }
.nx .v-bar i:nth-child(3) { background: #28c840; }
.nx .v-bar span { margin: 0 auto; font: 9px var(--mono); color: #666; }
.nx .v-page { display: flex; flex-direction: column; gap: 7px; padding: 14px 16px 18px; }
.nx .v-h { width: 60%; height: 12px; border-radius: 3px; background: #1d1d1f; }
.nx .v-p { width: 85%; height: 7px; border-radius: 3px; background: #d2d2d7; }
.nx .v-btn { position: relative; align-self: flex-start; margin-top: 18px; padding: 5px 12px; border-radius: 6px; background: #0071e3; color: #fff; font: 600 11px var(--mac); box-shadow: 0 0 0 2px var(--red); }
.nx .v-lab { position: absolute; left: -2px; bottom: calc(100% + 5px); display: flex; gap: 5px; padding: 2px 6px; border-radius: 4px; background: var(--red); font-style: normal; white-space: nowrap; }
.nx .v-lab code { font: 600 9.5px var(--mono); }
.nx .v-lab i { font-style: normal; font-size: 9px; opacity: .75; }
.nx .v-chips { display: flex; gap: 6px; }
.nx .v-chips span { padding: 3px 8px; border-radius: 99px; background: rgba(255, 255, 255, .1); font: 500 10.5px var(--mono); color: #ddd; }
/* 3 right session */
.nx .v-route { display: flex; align-items: center; gap: 16px; }
.nx .v-route code { padding: 6px 10px; border-radius: 8px; background: rgba(255, 255, 255, .1); font: 500 13px var(--mono); }
.nx .v-arrow { width: 40px; height: 2px; background: linear-gradient(90deg, transparent, var(--red)); position: relative; }
.nx .v-arrow::after { content: ""; position: absolute; right: -2px; top: -4px; border: 5px solid transparent; border-left-color: var(--red); }
.nx .v-rings { display: flex; gap: 14px; }
.nx .v-rings small, .nx .mini-ring small { position: absolute; top: 42px; left: 50%; transform: translateX(-50%); font: 600 9.5px var(--mac); color: #a1a1a6; }
.nx .mini-ring { color: #fff; }
.nx .mini-ring.dest { box-shadow: 0 0 0 3px #0f0e17, 0 0 0 5px var(--red), 0 0 14px var(--red); transform: scale(1.12); }
.nx .mini-ring.dim { opacity: .45; }
/* 4 wakes up */
.nx .v-wake { display: flex; align-items: center; gap: 16px; }
.nx .v-cd { display: inline-flex; align-items: center; gap: 12px; height: 32px; padding: 0 12px; border-radius: 8px; background: var(--red); font: 600 12.5px var(--mac); }
.nx .v-cd em { position: relative; width: 22px; height: 16px; overflow: hidden; font-style: normal; }
.nx .v-cd em b { position: absolute; inset: 0; text-align: center; opacity: 0; animation: v-cd 5s infinite; }
.nx .v-cd em b:nth-child(2) { animation-delay: 1s; }
.nx .v-cd em b:nth-child(3) { animation-delay: 2s; }
.nx .v-cd em b:nth-child(4) { animation-delay: 3s; }
.nx .v-cd em b:nth-child(5) { animation-delay: 4s; }
@keyframes v-cd { 0%, 18% { opacity: 1; } 20%, 100% { opacity: 0; } }
/* 5 devtools */
.nx .v-dom { display: flex; align-items: center; gap: 18px; }
.nx .v-n { position: relative; padding: 18px 10px 8px; border-radius: 6px; border: 1.5px dashed rgba(255, 255, 255, .25); }
.nx .v-n > span { position: absolute; left: 6px; top: 3px; font: 600 9px var(--mono); color: #a1a1a6; }
.nx .v-n.n3 { padding: 8px 18px; background: rgba(255, 255, 255, .06); }
.nx .v-n.n3 > span { position: static; color: #fff; }
.nx .v-n.n1 { animation: v-dom1 4.5s infinite; }
.nx .v-n.n2 { animation: v-dom2 4.5s infinite; }
.nx .v-n.n3 { animation: v-dom3 4.5s infinite; }
@keyframes v-dom1 { 0%, 33% { border: 2px solid var(--red); background: rgba(255, 59, 31, .1); } 34%, 100% { border: 1.5px dashed rgba(255, 255, 255, .25); background: none; } }
@keyframes v-dom2 { 0%, 33%, 67%, 100% { border: 1.5px dashed rgba(255, 255, 255, .25); background: none; } 34%, 66% { border: 2px solid var(--red); background: rgba(255, 59, 31, .1); } }
@keyframes v-dom3 { 0%, 66% { border: 1.5px dashed rgba(255, 255, 255, .25); } 67%, 100% { border: 2px solid var(--red); background: rgba(255, 59, 31, .16); } }
.nx .v-keys { display: grid; grid-template-columns: repeat(2, 26px); gap: 5px; }
.nx .cell .v-keys kbd { min-width: 26px; height: 24px; color: #fff; background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .15); font-size: 12px; }
/* 6 text first */
.nx .v-tiles { display: flex; gap: 10px; }
.nx .v-tiles .c-tile { width: 140px; height: 70px; background: rgba(0, 0, 0, .5); }
.nx .v-tiles .c-tile.on { border-color: var(--red); }
.nx .v-tiles .c-chk { background: var(--red); }
.nx .v-sub { font: 600 11px var(--sans); color: #a1a1a6; }
/* 7 rail */
.nx .v-rail { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.nx .v-card { width: 230px; padding: 10px 12px; border-radius: 14px; background: rgba(17, 17, 17, .92); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); display: flex; flex-direction: column; gap: 5px; font-size: 11px; }
.nx .v-card b { font-size: 13px; }
.nx .v-card em { font-style: normal; color: rgb(217, 120, 87); font-weight: 600; margin-top: -4px; }
.nx .v-u { display: grid; grid-template-columns: 56px 1fr; align-items: center; gap: 8px; }
.nx .v-u small { color: #a1a1a6; font-size: 10px; }
.nx .v-u i { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .12); position: relative; overflow: hidden; }
.nx .v-u i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--red); border-radius: 4px; }
.nx .v-bar2 { display: flex; gap: 26px; padding: 10px 22px 8px; border-radius: 22px 22px 0 0; background: rgba(17, 17, 17, .9); }
.nx .v-bar2 .mini-ring { width: 32px; height: 32px; border-width: 4px; font-size: 11px; }
/* 8 local */
.nx .v-local { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.nx .v-lock { width: 34px; height: 28px; margin-top: 12px; border-radius: 7px; background: var(--red); position: relative; }
.nx .v-lock::before { content: ""; position: absolute; left: 7px; right: 7px; top: -13px; height: 18px; border: 4px solid var(--red); border-bottom: 0; border-radius: 12px 12px 0 0; }
.nx .v-local code { font: 600 18px var(--mono); }
.nx .v-local small { font: 12px var(--mono); color: #a1a1a6; }
/* 9 aki command */
.nx .cell .v-term { margin: 0; width: 82%; padding: 12px 14px; border-radius: 10px; background: #0b0b0d; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); font: 12px/1.7 var(--mono); color: #e4e0d6; white-space: pre; }
.nx .v-term .d { color: #8b8b93; }
.nx .v-term .g { color: #7fd8a8; }
/* 10 history */
.nx .v-hist { position: relative; width: 78%; display: flex; flex-direction: column; gap: 5px; }
.nx .v-hist span { display: flex; align-items: center; gap: 8px; padding: 6px 9px; border-radius: 7px; background: rgba(255, 255, 255, .07); font-size: 11px; }
.nx .v-hist span i { width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.nx .v-hist span.done { opacity: .5; }
.nx .v-hist span.done i { background: #34c759; }
.nx .v-hist em { margin-left: auto; font: 10px var(--mono); font-style: normal; color: #a1a1a6; }
.nx .cell .v-hist kbd { position: absolute; right: 0; top: -26px; color: #fff; background: rgba(255, 255, 255, .12); }
/* 11 launcher */
.nx .v-launch { width: min(420px, 80%); padding: 8px; border-radius: 14px; background: rgba(28, 28, 30, .92); box-shadow: 0 20px 40px -14px rgba(0, 0, 0, .6), inset 0 0 0 1px rgba(255, 255, 255, .08); display: flex; flex-direction: column; gap: 2px; }
.nx .v-launch .ln-bar { display: flex; align-items: center; gap: 10px; height: 34px; padding: 0 10px; border-radius: 9px; background: rgba(255, 255, 255, .1); font: 500 13px var(--mac); color: #fff; box-shadow: none; }
.nx .v-launch .ln-bar em { margin-left: auto; font-style: normal; color: #8e8e93; font-size: 11.5px; }
.nx .cell .v-launch kbd { color: #fff; background: rgba(255, 255, 255, .14); }
.nx .ln-row { display: flex; gap: 10px; align-items: center; height: 28px; padding: 0 10px; font: 12.5px var(--mac); color: #c7c7cc; }
.nx .ln-row i { font-style: normal; width: 16px; text-align: center; }
/* inspector */
.nx-inspect { width: min(860px, 94vw); padding: 0; border: 0; border-radius: 20px; background: var(--surface); color: var(--ink); box-shadow: 0 40px 100px -20px rgba(0, 0, 0, .5); overflow: hidden; }
.nx-inspect::backdrop { background: rgba(20, 16, 10, .55); backdrop-filter: blur(4px); }
.nxi-vis { height: min(420px, 50vh); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; color: #f3efe6; background: radial-gradient(70% 90% at 15% 110%, rgba(255, 112, 70, .32), transparent 60%), radial-gradient(60% 80% at 95% -10%, rgba(90, 108, 255, .34), transparent 60%), #0f0e17; }
.nxi-vis > * { transform: scale(1.6); }
.nx-inspect h3 { margin: 22px 26px 6px; font: 700 26px var(--display); letter-spacing: -.02em; }
.nx-inspect p { margin: 0 26px 26px; color: var(--ink-2); font-size: 16px; }
.nxi-x { position: absolute; right: 14px; top: 14px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .15); color: #fff; font-size: 20px; cursor: pointer; }
@media (max-width: 560px) {
.nxi-vis > * { transform: scale(1.1); }
}
.foot-social { display: inline-flex; gap: 12px; }
.foot-social a { color: var(--ink-3); font-size: 16px; display: inline-flex; }
.foot-social a:hover { color: var(--ink); }
.nx .v-btn { margin-top: 28px; }
.nx .v-tiles .c-chk.off { background: none; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .5); }
.nx .cv-theme { display: flex; gap: 12px; }
.nx .v-local code { background: none; color: #fff; padding: 0; }
.nx .nxi-vis { height: min(460px, 56vh); }
.nx .nxi-vis > * { transform: scale(1.4); }
.nx .nxi-vis .v-keys kbd { min-width: 26px; height: 24px; color: #fff; background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .15); font-size: 12px; }
.nx .nxi-vis .v-term { margin: 0; width: 60%; padding: 12px 14px; border-radius: 10px; background: #0b0b0d; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); font: 12px/1.7 var(--mono); color: #e4e0d6; white-space: pre; }
.nx .nxi-vis .v-hist kbd, .nx .nxi-vis .v-launch kbd { color: #fff; background: rgba(255, 255, 255, .14); }
.nx .nxi-vis .v-hist kbd { position: absolute; right: 0; top: -26px; }
.nx .nxi-vis .v-hist { width: 56%; }
/* ===== "Mark this page": the real queue, the rail and the send, played on the site ===== */
.vk { position: fixed; inset: 0; z-index: 85; pointer-events: none; font-family: var(--sans); color: #fff; }
.kq { position: absolute; right: 24px; bottom: 120px; width: 250px; padding: 9px; display: flex; flex-direction: column; gap: 6px; border-radius: 12px; background: rgba(0, 0, 0, .92); border: 1px solid rgba(255, 59, 31, .5); box-shadow: 0 10px 30px rgba(0, 0, 0, .35); opacity: 0; transform: translateY(10px); transition: opacity .3s, transform .35s var(--ease); pointer-events: none; }
.kq.on { opacity: 1; transform: none; pointer-events: auto; }
.kq-h { display: flex; align-items: center; gap: 4px; font-size: 11.5px; }
.kq-h span { color: rgba(255, 255, 255, .55); }
.kq-x { margin-left: auto; width: 20px; height: 20px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; font-size: 12px; line-height: 1; }
.kq-rows { display: flex; flex-direction: column; gap: 4px; }
.kq-row { display: flex; align-items: center; gap: 6px; padding: 4px; border-radius: 7px; background: rgba(255, 255, 255, .04); font-size: 11px; animation: vq-in .3s var(--ease); }
@keyframes vq-in { from { opacity: 0; transform: translateY(4px); } }
.kq-num { flex: none; width: 16px; height: 16px; border-radius: 50%; display: grid; place-items: center; background: var(--red); font: 700 9px var(--sans); }
.kq-th { flex: none; width: 30px; height: 20px; border-radius: 4px; display: grid; place-items: center; background: var(--paper); color: var(--ink); font: 700 9px var(--sans); font-style: normal; overflow: hidden; }
.kq-row em { font-style: normal; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: rgba(255, 255, 255, .9); }
.kq-dest { font-size: 11px; color: rgba(255, 255, 255, .6); }
.kq-dest b { color: #fff; font-weight: 500; }
.kq-send { display: flex; align-items: center; gap: 7px; height: 30px; padding: 0 10px; border: 0; border-radius: 8px; background: var(--red); color: #fff; font: 600 12px var(--sans); cursor: pointer; transition: transform .15s, background .15s; }
.kq-send:hover { background: var(--red-press); }
.kq-send:active { transform: scale(.96); }
.kq-send kbd { margin-left: auto; font: 600 9px var(--sans); padding: 1px 5px; border-radius: 4px; background: rgba(0, 0, 0, .2); }
.kq-glyph { width: 14px; height: 14px; background: #fff; -webkit-mask: url(logos/claude.svg) center / contain no-repeat; mask: url(logos/claude.svg) center / contain no-repeat; }
.vb { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; opacity: 0; transition: opacity .3s; }
.vb.on { opacity: 1; }
.vb-pill { width: 79px; height: 10px; margin-bottom: 5px; border-radius: 99px; background: var(--red); transition: opacity .25s, height .25s, margin .25s; }
.vb-rings { display: flex; gap: 32px; padding: 14px 28px 6px; border-radius: 30px 30px 0 0; background: rgba(17, 17, 17, .92); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: 0 -10px 30px rgba(0, 0, 0, .3); transform: translateY(115%); transition: transform .45s var(--spring); pointer-events: auto; }
.vb.open .vb-rings { transform: none; }
.vb.open .vb-pill { opacity: 0; height: 0; margin: 0; }
.vb-ring { position: relative; width: 44px; height: 44px; margin-bottom: 18px; border-radius: 50%; display: grid; place-items: center; border: 5.5px solid color-mix(in srgb, var(--h) 60%, transparent); font: 700 13px var(--sans); transition: transform .3s var(--spring), box-shadow .3s, border-color .3s; }
.vb-ring small { position: absolute; top: 46px; left: 50%; transform: translateX(-50%); font: 600 10px var(--sans); color: #a1a1a6; white-space: nowrap; }
.vb-ring em { position: absolute; right: -10px; top: -10px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 99px; display: none; place-items: center; background: var(--red); border: 1.5px solid #000; font: 700 9px var(--sans); font-style: normal; }
.vb-ring.pend { border-color: var(--red); }
.vb-ring.pend em { display: grid; }
.vb-ring.dest { transform: scale(1.22); box-shadow: 0 0 0 3px #111, 0 0 0 6px var(--red), 0 0 14px var(--red); }
.vb-ring.work::after { content: ""; position: absolute; inset: -5.5px; border-radius: 50%; border: 3px solid transparent; border-top-color: var(--red); border-right-color: var(--red); animation: vb-spin 3.5s linear infinite; }
@keyframes vb-spin { to { transform: rotate(360deg); } }
.vb-badge { position: absolute; right: -9px; bottom: -9px; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid #000; background: #fff; }
.vb-badge::after { content: ""; position: absolute; inset: 22%; background: var(--g, #000); -webkit-mask: var(--lg) center / contain no-repeat; mask: var(--lg) center / contain no-repeat; }
.vb-badge.claude { background: rgb(217, 120, 87); --lg: url(logos/claude.svg); --g: #fff; }
.vb-badge.codex { --lg: url(logos/openai.svg); }
.vb-badge.cursor { --lg: url(logos/cursor.svg); }
.vb-card { position: absolute; bottom: calc(100% + 12px); width: 280px; padding: 12px; border-radius: 18px; background: rgba(17, 17, 17, .96); box-shadow: 0 20px 40px rgba(0, 0, 0, .45), inset 0 0 0 1px rgba(255, 255, 255, .07); font-size: 11.5px; color: #ddd; opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .35s var(--ease); pointer-events: none; }
.vb-card.on { opacity: 1; transform: none; pointer-events: auto; }
.vb-head { display: flex; gap: 9px; align-items: center; padding-bottom: 9px; border-bottom: 1px solid rgba(243, 239, 230, .19); }
.kq-glyph.big { width: 28px; height: 28px; flex: none; border-radius: 50%; background: rgb(217, 120, 87); -webkit-mask: none; mask: none; position: relative; }
.kq-glyph.big::after { content: ""; position: absolute; inset: 6px; background: #fff; -webkit-mask: url(logos/claude.svg) center / contain no-repeat; mask: url(logos/claude.svg) center / contain no-repeat; }
.vb-head b { display: block; color: #fff; font-size: 13.5px; }
.vb-head em { font-style: normal; color: rgb(217, 120, 87); font-weight: 600; }
.vb-head small { display: block; color: #8c877c; font-size: 10px; }
.vb-state { display: flex; align-items: center; gap: 6px; padding: 8px 0; border-bottom: 1px solid rgba(243, 239, 230, .19); }
.vb-state i { width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.vb-pend { display: flex; flex-direction: column; gap: 5px; padding: 8px 0; }
.vb-pend b { color: #fff; }
.vb-pend span { display: flex; flex-direction: column; gap: 2px; padding-left: 10px; border-left: 2px solid var(--red); }
.vb-pend code { font: 10px var(--mono); color: #a1a1a6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vb-demo { margin: 4px 0 0; font-size: 10.5px; color: #8c877c; }
@media (max-width: 700px) {
.kq { right: 12px; bottom: 140px; }
}
.aki-mode .aki-tray { left: 24px; transform: none; }
.vb-pend code { background: none; padding: 0; }
/* controls above the screen, small */
.nx-ctrl { margin: 0 auto 8px; gap: 4px; }
.nx-ctrl button { width: 24px; height: 24px; }
.nx-ctrl svg { width: 10px; height: 10px; }
.nx-track { height: 3px; margin: 0 6px; }
.nx-hint kbd { min-width: 18px; height: 16px; font-size: 9.5px; padding: 0 4px; }
.hero-sub { max-width: 640px; }
.hero-sub { max-width: 700px; }
/* nav: X with a hover, GitHub as one star/fork pill (like GitHub's own button) */
.nav-ic { padding: 6px; border-radius: 9px; transition: background .15s, color .15s; }
.nav-ic:hover { background: rgba(20, 20, 20, .07); color: var(--ink); }
.nav-gh { gap: 0; padding: 0; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .55); overflow: hidden; }
.nav-gh > .mk { margin: 0 2px 0 10px; font-size: 16px; }
.nav-gh .gh-n { height: 30px; padding: 0 10px; gap: 5px; }
.nav-gh .gh-n + .gh-n { border-left: 1px solid var(--line); }
.nav-gh:hover { background: var(--surface); border-color: var(--line-2); }
.nav-gh:hover .gh-n { color: var(--ink); }
/* nav never wraps; it sheds the less important bits as the window narrows */
.nav-links a, .nav-cta > *, .mode-btn, .nav-dl, .lang select { white-space: nowrap; }
@media (max-width: 1380px) {
.nav-gh .gh-n.forks { display: none; }
.nav-links { gap: 18px; }
}
@media (max-width: 1260px) {
.nav-heart { display: none !important; }
.lang select { max-width: 92px; }
}
@media (max-width: 1150px) {
.nav-links a[href="#compare"] { display: none; }
.mode-btn kbd { display: none; }
}
@media (max-width: 1040px) {
.nav-links { display: none !important; }
}
/* desktop wallpaper options (photos: Unsplash) */
.nx .screen .wall { background: url(img/wall-a.jpg) center / cover; }
.nav-gh { transition: background .15s, border-color .15s, box-shadow .15s; }
.nav-gh:hover { background: rgba(20, 20, 20, .07); border-color: var(--ink-3); box-shadow: 0 2px 8px -4px rgba(20, 20, 20, .25); }
.nav-gh:hover > .mk { color: var(--ink); }
.nav-gh .gh-n .star { transition: transform .25s var(--spring); }
.nav-gh:hover .gh-n .star { transform: scale(1.2) rotate(-12deg); }
/* ===== comparison table, round 3: logos, a raised Aki column, calmer cells ===== */
.nx .cls { display: flex; justify-content: center; align-items: center; gap: 4px; height: 30px; margin-bottom: 8px; }
.nx .cl { width: 22px; height: 22px; border-radius: 6px; flex: none; }
.nx i.cl { width: 20px; height: 20px; color: var(--ink-2); border-radius: 0; }
/* the Aki column, raised */
/* ===== five comparison layouts (?cmp=1…5) ===== */
.nx .gl { display: grid; place-items: center; font-style: normal; font-size: 16px; color: var(--ink-2); }
/* 1 — scorecards: Aki big and dark, the others small with only what they miss */
/* 2 — Orca style: a dark band, Aki against "everything else" */
/* 3 — the race: time and tokens, side by side */
.nx .nx-race { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; text-align: left; }
.nx .v3-lane { padding: 26px; border-radius: 22px; }
.nx .v3-lane.no { background: repeating-linear-gradient(135deg, #ebe5d9 0 12px, #e6dfd2 12px 24px); color: var(--ink-2); }
.nx .v3-lane.yes { background: var(--red); color: #fff; box-shadow: 0 30px 60px -30px rgba(255, 59, 31, .7); }
.nx .v3-head b { display: block; font: 800 28px var(--display); letter-spacing: -.03em; color: var(--ink); }
.nx .v3-lane.yes .v3-head b { color: #fff; }
.nx .v3-head span { font: 500 13px var(--mono); opacity: .75; }
.nx .v3-steps { display: flex; flex-wrap: wrap; gap: 6px; margin: 20px 0 24px; }
.nx .v3-steps span { padding: 5px 10px; border-radius: 8px; font-size: 13px; background: rgba(20, 20, 20, .07); }
.nx .v3-lane.yes .v3-steps span { background: rgba(255, 255, 255, .2); }
.nx .v3-steps .bad { background: rgba(255, 59, 31, .15); color: var(--red-press); font-weight: 600; }
.nx .v3-steps .ok { background: #fff !important; color: var(--red); font-weight: 600; }
.nx .v3-meter { display: grid; grid-template-columns: 56px 1fr 150px; align-items: center; gap: 12px; margin-top: 12px; font-size: 13px; }
.nx .v3-meter small { font: 500 11px var(--mono); text-transform: uppercase; letter-spacing: .06em; opacity: .7; }
.nx .v3-meter b { font: 700 15px var(--sans); text-align: right; }
.nx .v3-track { height: 10px; border-radius: 99px; background: rgba(20, 20, 20, .1); overflow: hidden; }
.nx .v3-lane.yes .v3-track { background: rgba(255, 255, 255, .25); }
.nx .v3-track i { display: block; height: 100%; width: var(--w); border-radius: 99px; background: var(--ink-2); }
.nx .v3-lane.yes .v3-track i { background: #fff; }
/* 4 — dot matrix, editorial */
.nx .nx-matrix { overflow-x: auto; }
.nx .nx-matrix table { width: 100%; min-width: 900px; border-collapse: collapse; }
.nx .nx-matrix th { padding: 0 6px 14px; vertical-align: bottom; }
.nx .nx-matrix th em { display: block; font: 500 12px var(--sans); font-style: normal; color: var(--ink-2); line-height: 1.25; }
.nx .nx-matrix th:nth-child(2) em { color: var(--red); font-weight: 700; font-size: 14px; }
.nx .nx-matrix td { padding: 12px 6px; text-align: center; border-top: 1px solid var(--line); }
.nx .nx-matrix td:first-child { text-align: left; font-size: 14.5px; color: var(--ink); padding-left: 0; width: 280px; }
.nx .nx-matrix td:nth-child(2) { background: rgba(255, 59, 31, .06); }
.nx .dot { display: inline-block; width: 16px; height: 16px; border-radius: 50%; vertical-align: middle; }
.nx .dot.y { background: var(--ink); }
.nx .dot.p { background: linear-gradient(90deg, var(--ink) 50%, transparent 50%); box-shadow: inset 0 0 0 2px var(--ink); }
.nx .dot.n { box-shadow: inset 0 0 0 2px #cfc6b5; }
.nx .dot.aki { width: 20px; height: 20px; background: var(--red); box-shadow: 0 0 0 4px rgba(255, 59, 31, .15); }
.nx .nx-matrix .tot td { border-top: 2px solid var(--ink); font: 800 22px var(--display); }
.nx .nx-matrix .tot td:first-child { font: 600 13px var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }
.nx .nx-matrix .tot td:nth-child(2) { color: var(--red); }
.nx .v4-key { display: flex; gap: 8px 16px; justify-content: flex-end; align-items: center; margin: 12px 0 0; font-size: 12.5px; color: var(--ink-3); }
.nx .v4-key .dot { width: 12px; height: 12px; margin-right: 4px; }
/* 5 — split screen: a messy before, a clean after */
.nx .nx-race { margin-bottom: 26px; }
.nx .nx-matrix { padding: 22px 26px 18px; border-radius: 22px; background: var(--surface); box-shadow: 0 1px 0 var(--line), 0 30px 60px -40px rgba(40, 30, 10, .35); }
.nx .v4-key > span { display: inline-flex; align-items: center; gap: 4px; }
@media (max-width: 900px) {
.nx .nx-race { grid-template-columns: 1fr; }
}
.nav .brand { flex: none; }
/* the demo is pinned while you scroll through its five tabs */
.nx-demo { height: 560vh; padding-top: 0 !important; }
.nx-pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 76px 16px 10px; box-sizing: border-box; }
.nx-pin .stage, .nx-pin .nx-ctrl { width: min(var(--max), 100%, calc((100svh - 260px) * 1.684)); }
.nx-pin .nx-label { margin-bottom: 8px; }
.nx-pin .tabs { margin: 0 auto 10px; }
.nx-pin .stage-cap { margin-top: 10px; min-height: 2.6em; }
@media (max-width: 700px) {
.nx-demo { height: auto; }
.nx-pin { position: static; height: auto; padding-top: 30px; }
}
/* ===== donation: card, Pix, crypto ===== */
.dn-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 18px 0 14px; }
.dn-tabs button { appearance: none; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 12px 6px 10px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; transition: border-color .15s, box-shadow .15s, transform .15s; }
.dn-tabs button:hover { border-color: var(--line-2); transform: translateY(-1px); }
.dn-tabs button.on { border-color: var(--red); box-shadow: 0 0 0 3px rgba(255, 59, 31, .12); }
.dn-tabs b { font: 600 14px var(--sans); }
.dn-tabs small { font-size: 11px; color: var(--ink-3); }
.dn-ic { width: 28px; height: 28px; display: grid; place-items: center; font-style: normal; font-size: 18px; }
.dn-ic.dn-pix { background: #32BCAD; border-radius: 7px; transform: rotate(45deg) scale(.72); }
.dn-panel { display: none; flex-direction: column; align-items: center; gap: 12px; padding: 4px 0 6px; animation: dn-in .3s var(--ease); }
.dn-panel.on { display: flex; }
@keyframes dn-in { from { opacity: 0; transform: translateY(6px); } }
.dn-panel p { margin: 0; font-size: 13.5px; color: var(--ink-2); text-align: center; }
.dn-go { width: 100%; justify-content: center; }
.dn-qr { width: 156px; height: 156px; padding: 10px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); display: grid; place-items: center; }
.dn-qr svg { width: 100%; height: 100%; }
.dn-qr.empty { background: repeating-linear-gradient(45deg, var(--paper-2) 0 8px, var(--paper) 8px 16px); }
.dn-qr.empty span { padding: 4px 10px; border-radius: 99px; background: var(--surface); font: 500 11px var(--mono); text-transform: uppercase; color: var(--ink-3); }
.dn-copy { display: flex; align-items: center; gap: 6px; width: 100%; padding: 5px 5px 5px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); }
.dn-copy code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; background: none; padding: 0; font: 12.5px var(--mono); color: var(--ink); text-align: left; }
.dn-copy button, .dn-cc { appearance: none; flex: none; padding: 7px 11px; border-radius: 9px; border: 0; background: var(--ink); color: var(--paper); font: 600 12px var(--sans); cursor: pointer; transition: background .15s; }
.dn-cc { width: 100%; padding: 10px; background: #32BCAD; color: #fff; }
.dn-copy button:disabled, .dn-cc:disabled { opacity: .35; cursor: default; }
.dn-copy button.ok, .dn-cc.ok { background: #1f9d55; }
.dn-net { font-size: 13px !important; }
.dn-warn { font-size: 11.5px !important; color: var(--ink-3) !important; }
/* nav: solid enough to read over the dark scenes */
.nav, .nav.scrolled { background: rgba(246, 243, 236, .94) !important; backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px); border: 1px solid rgba(20, 20, 20, .08); box-shadow: 0 10px 30px -12px rgba(30, 20, 10, .28), inset 0 1px 0 rgba(255, 255, 255, .7); }
.nav .nav-links a { color: var(--ink-2); }
.nav .nav-links a:hover { color: var(--red); }
.nav .lang > svg { display: none; } .nav .lang select { max-width: none !important; font-size: 13.5px; }
/* nav: everything inside the pill at any width (it sheds items by its own width), logo optically centred */
.nav { width: min(1280px, calc(100% - 32px)) !important; max-width: none !important; container: nav / inline-size; }
.nav .nav-links { gap: 20px; }
.nav .nav-cta { gap: 10px; flex: none; }
.nav .brand svg { transform: translateY(-3px); }
@container nav (max-width: 1250px) { .nav-links a[href^="/releases"] { display: none; } }
@container nav (max-width: 1200px) { .nav-gh .gh-n.forks { display: none; } }
@container nav (max-width: 1170px) { .nav-heart { display: none !important; } }
@container nav (max-width: 1080px) { .nav-links a[href="#compare"] { display: none; } .mode-btn kbd { display: none; } }
@container nav (max-width: 960px) { .nav-links { display: none !important; } }

/* nav: paper at the top, ink once you scroll — reads over every section */
.nav { transition: background .35s var(--ease), border-color .35s, box-shadow .35s, color .35s; }
.nav.scrolled { background: rgba(20, 20, 20, .9) !important; border-color: rgba(255, 255, 255, .08) !important; box-shadow: 0 14px 34px -14px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .06) !important; color: var(--paper); }
.nav.scrolled .brand .logo .l { fill: var(--paper); }
.nav.scrolled .brand .logo .pd { fill: #141414; }
.nav.scrolled .nav-links a { color: rgba(243, 239, 230, .72); }
.nav.scrolled .nav-links a:hover { color: #fff; }
.nav.scrolled .nav-heart span:first-child { color: var(--red); }
.nav.scrolled .mode-btn { background: rgba(255, 255, 255, .08); color: var(--paper); border-color: rgba(255, 255, 255, .14); box-shadow: none; }
.nav.scrolled .mode-btn:hover { background: rgba(255, 255, 255, .14); }
.nav.scrolled .mode-btn kbd { background: rgba(255, 255, 255, .12); color: var(--paper); }
.nav.scrolled .cur-btn, .nav.scrolled .lang select, .nav.scrolled .nav-ic { color: rgba(243, 239, 230, .75); }
.nav.scrolled .lang option { color: #141414; }
.nav.scrolled .nav-ic:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.nav.scrolled .nav-gh { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .16); }
.nav.scrolled .nav-gh .gh-n + .gh-n { border-left-color: rgba(255, 255, 255, .16); }
.nav.scrolled .nav-gh .gh-n { color: rgba(243, 239, 230, .8); }
.nav.scrolled .nav-gh:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .3); }
.nav.scrolled .nav-gh:hover > .mk, .nav.scrolled .nav-gh:hover .gh-n { color: #fff; }
.nav.scrolled .nav-dl { background: var(--paper); color: #141414; }
.nav.scrolled .nav-dl:hover { background: #fff; }
.intro-cta .btn .mk { font-size: 17px; } .intro-cta .btn .soon-tag { font: 500 10px var(--mono); letter-spacing: .08em; text-transform: uppercase; opacity: .55; }
/* language picker: hugs its label, with a small chevron */
.nav .lang { position: relative; }
.nav .lang select { appearance: none; -webkit-appearance: none; padding: 6px 16px 6px 4px; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%238C877C' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 2px center / 9px 6px; border-radius: 8px; cursor: pointer; }
.nav .lang select:hover { background-color: rgba(20, 20, 20, .06); }
.nav.scrolled .lang select:hover { background-color: rgba(255, 255, 255, .1); }
.lang-meas { position: absolute; visibility: hidden; white-space: pre; pointer-events: none; font: 500 13.5px var(--sans); left: 0; top: 0; }
/* menu links: our orange on hover, on the paper menu and on the dark one */
.nav .nav-links a { transition: color .15s; }
.nav .nav-links a:hover, .nav.scrolled .nav-links a:hover, .nav .nav-links a:focus-visible { color: var(--red) !important; }
/* cursor toggle: a soft hover on both menus (no light disc on the dark one) */
.nav .cur-btn { transition: background .15s, color .15s; }
.nav .cur-btn:hover { background: rgba(20, 20, 20, .07); color: var(--ink); }
.nav.scrolled .cur-btn:hover { background: rgba(255, 255, 255, .12) !important; color: #fff !important; }
.nav.scrolled .cur-btn[aria-pressed="true"] { color: var(--red); }
/* 404 */
.nf { text-align: center; padding-top: 22vh; }
.nf-code { font: 800 120px/1 var(--display); letter-spacing: -.05em; color: var(--red); margin: 0 0 10px; }
.nf .btn { text-decoration: none; color: #fff; margin-top: 10px; }
.nav .lang select { white-space: nowrap; text-overflow: clip; }
.dn-thanks { position: fixed; z-index: 120; left: 50%; top: 86px; display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 99px; background: var(--ink); color: var(--paper); font: 600 14.5px var(--sans); box-shadow: 0 20px 40px -14px rgba(0, 0, 0, .5); transform: translate(-50%, -20px); opacity: 0; transition: opacity .35s, transform .45s var(--spring); }
.dn-thanks span { color: var(--red); }
.dn-thanks.on { opacity: 1; transform: translate(-50%, 0); }
/* Licensing and donation details remain readable alongside payment controls. */
.os-copy p.os-license { max-width: 48ch; color: var(--ink-2); font-size: 15px; line-height: 1.65; }
.donate-legal { margin: 18px 0 8px; font-size: 12px; line-height: 1.6; }
.donate-legal a { text-decoration: underline; text-underline-offset: 3px; }
.dn-tabs img.dn-ic { object-fit: contain; }

/* ---------- Footer: two rows ---------- */
.foot.sf, .nx .foot.sf { display: block; max-width: var(--max); margin: 0 auto; padding: 44px 24px 36px; border-top: 0; font-size: 14px; color: var(--ink-3); }
.sf p { margin: 0; }
.sf-top { display: flex; align-items: center; gap: 24px 40px; flex-wrap: wrap; }
.sf-brand { display: flex; align-items: center; gap: 16px; margin-right: auto; }
.sf .brand { width: 56px; height: auto; flex: none; }
.sf .foot-links { display: flex; gap: 28px; }
.sf .foot-links a, .sf .foot-priv, .sf .foot-ck { color: var(--ink-2, var(--ink)); transition: color .15s; }
.sf .foot-links a:hover, .sf .foot-priv:hover, .sf .foot-ck:hover, .sf .foot-social a:hover { color: var(--red); }
.sf .foot-social { gap: 16px; }
.sf .foot-social a { font-size: 18px; transition: color .15s; }
.sf-bottom { display: flex; align-items: center; gap: 12px 28px; flex-wrap: wrap; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; }
.sf-legal { display: inline-flex; gap: 22px; }
.sf .foot-tm, .nx .sf .foot-tm { margin-left: auto !important; font-size: 12px; opacity: .75; }
@media (max-width: 760px) {
  .sf-top { flex-direction: column; align-items: flex-start; gap: 20px; }
  .sf-brand { flex-direction: column; align-items: flex-start; gap: 12px; }
  .sf-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
  .sf .foot-tm, .nx .sf .foot-tm { margin-left: 0 !important; }
}
/* Language picker: one soft hover on the pill, none on the inner select */
.nav .lang { transition: background-color .15s, color .15s; }
.nav .lang select { transition: color .15s; }
.nav .lang:hover, .nav .lang:focus-within { background: rgba(20, 20, 20, .06); color: var(--ink); }
.nav .lang:hover select, .nav .lang select:hover { background-color: transparent; color: var(--ink); }
.nav.scrolled .lang:hover, .nav.scrolled .lang:focus-within { background: rgba(255, 255, 255, .1); }
.nav.scrolled .lang:hover select { color: #F3EFE6; }

/* ---------- One-line install (shown once the first release exists) ---------- */
.inst { margin: 18px auto 0; max-width: 560px; text-align: center; }
.inst[hidden] { display: none; }
.inst-label { display: block; margin-bottom: 8px; font: 12px var(--mono); color: var(--ink-3); }
.inst-row { display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 14px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255, 255, 255, .55); text-align: left; }
.inst-row code { flex: 1; min-width: 0; overflow-x: auto; white-space: nowrap; font: 12.5px var(--mono); color: var(--ink); scrollbar-width: none; }
.inst-row code::-webkit-scrollbar { display: none; }
.inst-p { color: var(--red); margin-right: 4px; user-select: none; }
.inst-copy { flex: none; height: 30px; padding: 0 12px; border: 0; border-radius: 8px; background: var(--ink); color: var(--paper); font: 500 12.5px var(--sans); cursor: pointer; transition: background-color .15s; }
.inst-copy:hover { background: var(--red); }
.inst-copy.ok { background: #1f8a4c; }
.inst-dark .inst-label { color: #8a857a; }
.inst-dark .inst-row { border-color: rgba(243, 239, 230, .14); background: rgba(243, 239, 230, .06); }
.inst-dark .inst-row code { color: var(--night-ink); }
.inst-dark .inst-copy { background: var(--night-ink); color: var(--night); }
.inst-dark .inst-copy:hover { background: var(--red); color: #fff; }
.final .inst { cursor: default; }
.inst .inst-row code, .nx .inst .inst-row code { background: none; padding: 0; border: 0; border-radius: 0; }
.final .inst-dark .inst-row code { color: var(--night-ink); }
/* The install box grows to show the whole command; only on narrow screens does it scroll sideways. */
.inst { width: fit-content; max-width: 100%; }
.inst-row code { flex: 1 1 auto; }
/* Logo click: the dot leaps — squash, jump with a tilt, land, a small bounce — and sends out a ring. */
@keyframes leap {
  0% { transform: none; }
  16% { transform: translateY(6%) scale(1.18, .8); }
  44% { transform: translateY(-130%) scale(.88, 1.14) rotate(-10deg); }
  66% { transform: translateY(0) scale(1.22, .78); }
  80% { transform: translateY(-30%) scale(.96, 1.05) rotate(3deg); }
  92% { transform: translateY(0) scale(1.06, .94); }
  100% { transform: none; }
}
@keyframes leap-ring { 0% { transform: scale(.6); opacity: .85; } 100% { transform: scale(3.4); opacity: 0; } }
.logo .tittle.leap { animation: leap .95s cubic-bezier(.3, .7, .4, 1) !important; }
.logo .tittle.leap .pd { animation: leap-ring .95s ease-out .55s; transform-box: fill-box; transform-origin: center; }
.brand { -webkit-tap-highlight-color: transparent; }
@media (prefers-reduced-motion: reduce) { .logo .tittle.leap, .logo .tittle.leap .pd { animation: none !important; } }

/* MANY AGENTS: one note, five sessions, it lands in the right one */
.nx .par { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.nx .par .kicker { margin-bottom: 14px; }
.nx .par h2 { text-align: left; margin: 0 0 18px; }
.nx .par-p { margin: 0 0 14px; font-size: 18px; line-height: 1.55; color: var(--ink-2); }
.nx .par-one { margin: 0; font-size: 15px; color: var(--ink-3); }
.nx .par-vis { position: relative; padding: 22px; border-radius: 22px; background: var(--night); color: var(--night-ink); box-shadow: 0 30px 60px -34px rgba(20, 20, 20, .55); }
.nx .par-mark { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; padding: 7px 12px; border-radius: 10px; background: var(--red); color: #fff; font-size: 13px; }
.nx .par-mark code { background: rgba(255, 255, 255, .18); color: #fff; }
.nx .par-mark em { font-style: normal; }
.nx .par-dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; }
.nx .par-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.nx .par-list li { display: grid; grid-template-columns: 18px 1fr auto auto; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; border: 1px solid var(--night-line); font-size: 13.5px; }
.nx .par-list b { font: 500 13.5px var(--mono); color: var(--night-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nx .par-list code { background: none; padding: 0; color: var(--night-ink-2); }
.nx .par-list span { font-size: 12px; color: var(--night-ink-2); white-space: nowrap; }
.nx .par-list .hit { border-color: var(--red); background: rgba(255, 59, 31, .14); }
.nx .par-list .hit span::after { content: " · ✓ 1"; color: var(--red); font-weight: 600; }
.nx .par-ring { display: block; align-self: center; box-sizing: border-box; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--night-line); }
.nx .par-ring.busy { border-color: var(--night-ink-2); border-top-color: var(--night-ink); }
.nx .par-ring.wait { border-color: var(--night-ink); }
.nx .hit .par-ring { border-color: var(--red); }
@media (max-width: 860px) {
  .nx .par { grid-template-columns: 1fr; gap: 28px; }
  .nx .par-list li { grid-template-columns: 18px 1fr auto; }
  .nx .par-list li span { grid-column: 2 / -1; }
}

/* Rings as in Aki 0.4: the AI's symbol in the middle, a quiet ring; a light arc turns while it works,
   red when it waits for you; the destination is framed; the state is written under the name. */
.nx .ring, .nx .mini-ring, .vb-ring { border-color: #3a3a3c; background: #1c1c1e; color: var(--night-ink); }
.nx .ring .ai, .vb-ring .ai { font-size: 17px; }
.nx .mini-ring .ai { font-size: 14px; }
.nx .v-bar2 .mini-ring .ai { font-size: 12px; }
.nx .ring.work::after, .nx .mini-ring.work::after, .vb-ring.work::after { border-top-color: rgba(243, 239, 230, .85); border-right-color: transparent; }
.nx .ring.pend, .nx .mini-ring.pend, .nx .mini-ring.wait, .vb-ring.pend { border-color: var(--red); }
.nx .mini-ring.wait { animation: none; }
.nx .ring.dest, .nx .mini-ring.dest, .vb-ring.dest { transform: none; box-shadow: none; }
.nx .ring.dest::before, .vb-ring.dest::before, .nx .v-rings .mini-ring.dest::before { content: ""; position: absolute; inset: -11px -15px -40px; border: 1.5px solid rgba(243, 239, 230, .9); border-radius: 12px; pointer-events: none; }
.nx .ring.dest small::before, .vb-ring.dest small::before, .nx .v-rings .mini-ring.dest small::before { content: "● destination"; position: absolute; left: 50%; top: -71px; transform: translateX(-50%); padding: 2px 6px; border-radius: 99px; background: var(--night-ink); color: #111; font: 700 7px var(--mono); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.nx .v-rings .mini-ring.dest small::before { top: -64px; }
.nx .ring small, .vb-ring small { text-align: center; color: var(--night-ink); font-weight: 700; }
.nx .ring small::after, .vb-ring small::after { content: "idle"; display: block; margin-top: 1px; font: 600 7.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #8a8a8e; }
.nx .ring.work small::after, .vb-ring.work small::after { content: "working"; }
.nx .ring.pend small::after, .vb-ring.pend small::after { content: "waiting for you"; color: var(--red); }

/* Cards for 0.4: marking keeps the focus of the app below; the crop goes to the clipboard */
.nx .v-focus { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.nx .vf-menu { display: flex; flex-direction: column; min-width: 190px; padding: 6px; border-radius: 10px; background: rgba(40, 40, 44, .96); box-shadow: 0 16px 34px rgba(0, 0, 0, .45), inset 0 0 0 1px rgba(255, 255, 255, .08); font: 500 12.5px var(--sans); color: #e6e3dc; }
.nx .vf-menu span { position: relative; padding: 6px 10px; border-radius: 6px; }
.nx .vf-menu span.on { background: rgba(255, 59, 31, .16); box-shadow: inset 0 0 0 1.5px var(--red); }
.nx .vf-lab { position: absolute; left: calc(100% + 10px); top: 50%; transform: translateY(-50%); padding: 3px 7px; border-radius: 6px; background: var(--red); font-style: normal; white-space: nowrap; }
.nx .vf-lab code { background: none; padding: 0; color: #fff; font-size: 10.5px; }
.nx .v-clip { display: flex; align-items: center; gap: 16px; }
.nx .vc-crop { width: 96px; height: 62px; border-radius: 8px; background: #f3efe6; box-shadow: inset 0 0 0 2px var(--red); display: grid; place-items: center; }
.nx .vc-crop i { width: 46px; height: 16px; border-radius: 99px; background: #2f6bff; }
.nx .vc-crop.sm { width: 74px; height: 48px; }
.nx .vc-crop.sm i { width: 34px; height: 12px; }
.nx .vc-pill { padding: 6px 11px; border-radius: 99px; background: rgba(243, 239, 230, .12); font: 500 12px var(--mono); color: #f3efe6; white-space: nowrap; }
.nx .vc-arrow { width: 34px; height: 2px; background: linear-gradient(90deg, transparent, var(--red)); position: relative; }
.nx .vc-arrow::after { content: ""; position: absolute; right: -2px; top: -4px; border: 5px solid transparent; border-left-color: var(--red); }
.nx .vc-chat { display: flex; flex-direction: column; gap: 6px; padding: 10px 12px; border-radius: 12px; background: rgba(17, 17, 17, .92); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); font-size: 12px; }
.nx .vc-chat small { color: #a1a1a6; font-size: 10.5px; }
.nx .vc-chat em { font-style: normal; color: #e6e3dc; }
@media (max-width: 860px) { .nx .v-clip { gap: 8px; transform: scale(.85); } .nx .vf-lab { display: none; } }
