:root {
  --bg: #0d0d0e;
  --bg-1: #111113;
  --bg-2: #161618;
  --panel: #1a1a1d;
  --line: rgba(255, 255, 255, .07);
  --line-2: rgba(255, 255, 255, .12);
  --text: #ececee;
  --text-2: #a3a3aa;
  --text-3: #6c6c74;
  --amber: #f59e0b;
  --red: #ef4444;
  --green: #22c55e;
  --cyan: #38d4f5;
  --sans: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --spring: cubic-bezier(.34, 1.4, .5, 1);
  --max: 1120px;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: inherit; }
button { font: inherit; color: inherit; }
code, kbd, pre { font-family: var(--mono); }
::selection { background: rgba(56, 212, 245, .28); color: #fff; }

.grain {
  position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Eyes (shared DOM character) ---------- */
.eyes {
  --ew: 8px; --ec: #fff; --pupil: #000; --gx: 0; --gy: 0;
  display: inline-flex; align-items: center; justify-content: center;
  gap: calc(var(--ew) * .95);
  height: calc(var(--ew) * 1.9);
  transform: translate(calc(var(--gx) * var(--ew) * .5), calc(var(--gy) * var(--ew) * .32));
  transition: transform .4s var(--ease);
}
.eyes i {
  position: relative; display: block; flex: none;
  width: var(--ew); height: calc(var(--ew) * 1.4);
  border-radius: 50%; background: var(--ec);
  transition: width .4s var(--spring), height .4s var(--spring), border-radius .3s, background-color .2s;
}
.eyes i::before, .eyes i::after {
  content: ""; position: absolute; opacity: 0; transition: opacity .2s;
}
.eyes[data-mood="idle"] i { animation: eye-blink 4.6s infinite; }
.eyes[data-mood="idle"] i:last-child { animation-delay: .02s; }
.eyes[data-mood="working"] i {
  width: calc(var(--ew) * .9); height: calc(var(--ew) * 1.12);
  animation: eye-scan 1.25s ease-in-out infinite alternate;
}
.eyes[data-mood="needs"] i {
  width: calc(var(--ew) * 1.15); height: calc(var(--ew) * 1.6);
  animation: eye-bounce .74s ease-in-out infinite;
}
.eyes[data-mood="needs"] i::after {
  opacity: 1; width: 52%; height: calc(var(--ew) * .58); left: 24%; bottom: 13%;
  border-radius: 50%; background: var(--pupil);
}
.eyes[data-mood="done"] i {
  background: transparent; width: calc(var(--ew) * 1.2); height: calc(var(--ew) * .72);
  border-radius: 999px 999px 0 0;
  animation: eye-hop .62s ease-in-out infinite;
}
.eyes[data-mood="done"] i::before {
  opacity: 1; inset: 0; border: calc(var(--ew) * .3) solid var(--ec); border-bottom: 0;
  border-radius: 999px 999px 0 0;
}
.eyes[data-mood="error"] i {
  background: transparent; width: var(--ew); height: var(--ew);
  animation: eye-jitter 2.2s infinite;
}
.eyes[data-mood="error"] i::before, .eyes[data-mood="error"] i::after {
  opacity: 1; left: -14%; width: 128%; top: calc(50% - var(--ew) * .15);
  height: calc(var(--ew) * .3); border-radius: 9px; background: var(--ec);
}
.eyes[data-mood="error"] i::before { transform: rotate(45deg); }
.eyes[data-mood="error"] i::after { transform: rotate(-45deg); }

@keyframes eye-blink { 0%, 95%, 100% { transform: scaleY(1); } 97% { transform: scaleY(.12); } }
@keyframes eye-scan { from { translate: calc(var(--ew) * -.55) 0; } to { translate: calc(var(--ew) * .55) 0; } }
@keyframes eye-bounce { 0%, 100% { translate: 0 0; } 50% { translate: 0 calc(var(--ew) * -.22); } }
@keyframes eye-hop { 0%, 100% { translate: 0 0; } 50% { translate: 0 calc(var(--ew) * -.3); } }
@keyframes eye-jitter {
  0%, 22%, 100% { translate: 0 0; }
  3%, 11%, 19% { translate: calc(var(--ew) * -.16) 0; }
  7%, 15% { translate: calc(var(--ew) * .16) 0; }
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; z-index: 50; top: 14px; left: 50%;
  width: min(var(--max), calc(100% - 2 * var(--gutter)));
  translate: -50% 0;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 8px 8px 8px 14px;
  border: 1px solid transparent; border-radius: 14px;
  transition: background-color .4s var(--ease), border-color .4s var(--ease), backdrop-filter .4s, translate .5s var(--ease);
}
.nav.scrolled {
  background: rgba(17, 17, 19, .72);
  border-color: var(--line);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}
.nav.hidden { translate: -50% -140%; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark {
  position: relative; width: 26px; height: 26px; border-radius: 8px;
  background: #111214; border: 1px solid #2a2b2e; overflow: hidden;
}
.brand-mark::before {
  content: ""; position: absolute; left: 5px; right: 5px; top: -1px; height: 13px;
  background: #000; border-radius: 0 0 5px 5px;
}
.brand-mark .eyes { --ew: 3.2px; --ec: var(--cyan); position: absolute; left: 50%; top: 2px; margin-left: -6px; width: 12px; }
.brand-name { font: 600 17px/1 var(--mono); letter-spacing: -.02em; }
.nav-links { display: flex; gap: 4px; }
.nav-links a {
  font-size: 14px; color: var(--text-2); text-decoration: none; padding: 6px 10px; border-radius: 8px;
  transition: color .2s, background-color .2s;
}
.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, .05); }

/* ---------- Buttons ---------- */
.btn {
  --h: 44px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: var(--h); padding: 0 18px; border-radius: 11px;
  font-weight: 500; font-size: 15px; text-decoration: none; white-space: nowrap; cursor: pointer;
  border: 1px solid transparent;
  transition: transform .35s var(--spring), background-color .2s, border-color .2s, color .2s;
}
.btn:active { transform: scale(.97); }
.btn-sm { --h: 34px; padding: 0 12px; font-size: 13.5px; border-radius: 9px; }
.btn-primary { background: #f1f1f2; color: #0d0d0e; }
.btn-primary:hover { background: #fff; transform: translateY(-1px); }
.btn-ghost { background: rgba(255, 255, 255, .04); border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .2); }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: max(700px, min(100svh, 960px));
  display: flex; flex-direction: column; justify-content: center;
  padding: 110px 0 70px;
  overflow: hidden;
}
.hero.hero--row { padding-bottom: 250px; }
.hero-dots {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .085) 1px, transparent 1.3px);
  background-size: 22px 22px; background-position: 50% 0;
  -webkit-mask-image: radial-gradient(ellipse 58% 48% at 50% 26%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 58% 48% at 50% 26%, #000 20%, transparent 75%);
}
.hero-dots--lit {
  background-image: radial-gradient(rgba(255, 255, 255, .5) 1px, transparent 1.3px);
  -webkit-mask-image: radial-gradient(circle 170px at var(--mx, -999px) var(--my, -999px), #000, transparent);
  mask-image: radial-gradient(circle 170px at var(--mx, -999px) var(--my, -999px), #000, transparent);
  opacity: .55;
}
.rays { position: absolute; inset: -120px 0 auto; height: 1100px; z-index: -2; pointer-events: none; overflow: hidden; }
.rays span {
  position: absolute; top: -260px; width: 220px; height: 1300px;
  background: rgba(255, 255, 255, .03); filter: blur(46px);
  transform-origin: 50% 0;
  animation: ray-sway 16s ease-in-out infinite alternate;
}
.rays span:nth-child(1) { left: 6%; rotate: 24deg; width: 300px; animation-duration: 19s; }
.rays span:nth-child(2) { left: 28%; rotate: 12deg; width: 140px; opacity: .8; animation-duration: 14s; animation-delay: -4s; }
.rays span:nth-child(3) { left: 52%; rotate: -6deg; width: 260px; opacity: .7; animation-duration: 21s; animation-delay: -9s; }
.rays span:nth-child(4) { left: 70%; rotate: -18deg; width: 180px; animation-duration: 17s; animation-delay: -2s; }
.rays span:nth-child(5) { left: 88%; rotate: -28deg; width: 320px; opacity: .9; animation-duration: 23s; animation-delay: -12s; }
@keyframes ray-sway { from { transform: rotate(-4deg) scaleX(.9); } to { transform: rotate(4deg) scaleX(1.15); } }

.hero-copy {
  position: relative; z-index: 2;
  width: min(760px, calc(100% - 2 * var(--gutter))); margin: 0 auto; text-align: center;
  pointer-events: none;
}
.hero-copy a, .hero-copy button { pointer-events: auto; }
.headline {
  margin: 0;
  font-weight: 600; font-size: clamp(46px, 7.2vw, 92px); line-height: 1; letter-spacing: -.045em;
}
.headline .line { display: block; overflow: hidden; padding: 0 .06em .08em; margin-bottom: -.08em; }
.headline .line > span { display: inline-block; }
.headline .line:nth-child(2) > span { color: #8e8e95; }
.hl-notch {
  display: inline-flex; align-items: center; justify-content: center; vertical-align: .12em;
  width: .92em; height: .5em; margin-left: .14em;
  background: #000; border-radius: 0 0 .16em .16em;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06), 0 .1em .3em rgba(0, 0, 0, .5);
}
.hl-notch .eyes { --ew: .1em; }

.lede {
  max-width: 600px; margin: 26px auto 0;
  font-size: clamp(16px, 1.6vw, 18px); line-height: 1.6; color: var(--text-2);
}
.cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.meta {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 20px;
  margin: 22px 0 0; padding: 0; list-style: none;
  font: 400 12.5px/1 var(--mono); color: var(--text-3); letter-spacing: .02em;
}
.meta li { display: inline-flex; align-items: center; gap: 8px; }
.meta li + li::before { content: ""; width: 3px; height: 3px; border-radius: 50%; background: var(--text-3); margin-left: -12px; margin-right: 4px; }

/* intro animation */
.intro { opacity: 0; translate: 0 14px; filter: blur(6px); }
.intro-up { translate: 0 105%; }
.ready .intro { animation: intro .9s var(--ease) both; animation-delay: calc(var(--d) * 80ms + 80ms); }
.ready .intro-up { animation: intro-up 1.05s var(--ease) both; animation-delay: calc(var(--d) * 90ms); }
@keyframes intro { to { opacity: 1; translate: 0 0; filter: blur(0); } }
@keyframes intro-up { to { translate: 0 0; } }

/* stage: the 3D characters live behind the copy, around it */
.stage { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.stage-tip {
  position: absolute; left: 0; top: 0; pointer-events: none; white-space: nowrap;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 8px 12px; border-radius: 10px;
  background: rgba(20, 20, 22, .82); border: 1px solid var(--line-2);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  opacity: 0; scale: .9; transition: opacity .25s var(--ease), scale .35s var(--spring);
  will-change: transform;
}
.stage-tip.on { opacity: 1; scale: 1; }
.stage-tip b { font: 500 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .12em; }
.stage-tip span { font-size: 12.5px; color: var(--text-2); }

.moods { position: relative; z-index: 2; display: flex; justify-content: center; margin-top: 38px; }
.moods-track {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; padding: 4px;
  border-radius: 13px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line);
}
.moods-track button {
  position: relative; overflow: hidden; white-space: nowrap; flex: none;
  display: inline-flex; align-items: center; gap: 8px;
  height: 34px; padding: 0 13px; border: 0; border-radius: 9px; background: transparent; cursor: pointer;
  font: 500 12.5px/1 var(--mono); color: var(--text-3);
  transition: color .25s, background-color .25s;
}
.moods-track button:hover { color: var(--text); }
.moods-track button.on { color: var(--text); background: rgba(255, 255, 255, .07); }
.moods-track .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--c); transition: box-shadow .3s; }
.moods-track button.on .dot { box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 22%, transparent); }
.moods-track [data-mood="working"] { --c: #f2f2f2; }
.moods-track [data-mood="needs"] { --c: var(--amber); }
.moods-track [data-mood="done"] { --c: var(--green); }
.moods-track [data-mood="error"] { --c: var(--red); }
.moods-track [data-mood="idle"] { --c: #8b8b92; }
.moods-track .prog { position: absolute; left: 10px; right: 10px; bottom: 3px; height: 1px; background: var(--c); opacity: .5; transform: scaleX(0); transform-origin: left; }
.moods.auto .moods-track button.on .prog { animation: prog var(--dur, 3.4s) linear forwards; }
@keyframes prog { to { transform: scaleX(1); } }
.moods-hint { margin: 0; font-size: 12.5px; color: var(--text-3); text-align: center; }
.moods-hint em { font-style: normal; color: var(--text-2); }
.kbd-ish { font-family: var(--mono); padding: 1px 6px; border-radius: 5px; border: 1px solid var(--line-2); color: var(--text-2); }

/* ---------- Sections ---------- */
.section { position: relative; width: min(var(--max), calc(100% - 2 * var(--gutter))); margin: 0 auto; padding: clamp(96px, 14vw, 168px) 0 0; }
.section-head { max-width: 760px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px;
  font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .14em; color: var(--text-2);
}
.eyebrow span { color: var(--text-3); }
.eyebrow::after { content: ""; width: 36px; height: 1px; background: var(--line-2); }
.eyebrow--sm { font-size: 11px; }
.eyebrow--sm::after { display: none; }
h2 {
  margin: 0; font-weight: 600; font-size: clamp(32px, 4.6vw, 54px); line-height: 1.04; letter-spacing: -.045em;
}
.dim { color: #77777e; }
.section-sub { margin: 18px 0 0; max-width: 620px; color: var(--text-2); font-size: 16px; }
.section-sub a { color: var(--text); text-underline-offset: 3px; text-decoration-color: var(--line-2); }
.section-sub a:hover { text-decoration-color: var(--text); }
kbd {
  font: 500 .82em/1 var(--mono); padding: 2px 6px; border-radius: 5px;
  border: 1px solid var(--line-2); border-bottom-width: 2px; background: var(--bg-2); color: var(--text);
}

.reveal { opacity: 0; translate: 0 26px; filter: blur(4px); transition: opacity 1s var(--ease), translate 1s var(--ease), filter 1s var(--ease); transition-delay: var(--rd, 0ms); }
.reveal.in { opacity: 1; translate: 0 0; filter: blur(0); }

/* ---------- Demo ---------- */
.device {
  margin-top: 52px; padding: 10px; border-radius: 26px;
  background: #050505; border: 1px solid #222225;
  box-shadow: 0 0 0 1px #000, 0 40px 120px -30px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .05);
}
.screen {
  --open-w: 440px;
  position: relative; overflow: hidden; height: clamp(440px, 52vw, 580px); border-radius: 17px;
  background: #1b1b1d;
}
.topo { position: absolute; inset: 0; width: 100%; height: 100%; }
.topo path { fill: none; stroke: rgba(255, 255, 255, .06); stroke-width: 1; }
.topo path:nth-child(5n) { stroke: rgba(255, 255, 255, .11); }
.menubar {
  position: absolute; z-index: 2; inset: 0 0 auto; height: 30px; padding: 0 14px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12.5px; color: rgba(255, 255, 255, .82);
  background: rgba(20, 20, 22, .55); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
.mb-left, .mb-right { display: flex; align-items: center; gap: 16px; }
.mb-left b { font-weight: 600; }
.mb-eyes { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 16px; }
.mb-eyes .eyes { --ew: 3.6px; }

.term {
  position: absolute; z-index: 1; left: 50%; top: 52%; translate: -50% -50%;
  width: min(620px, 82%); border-radius: 12px; overflow: hidden;
  background: rgba(14, 14, 16, .78); border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .8);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  transition: filter .5s var(--ease), opacity .5s;
}
.screen.focus .term { filter: blur(1.5px); opacity: .6; }
.term-bar { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 12px; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.term-bar i { width: 11px; height: 11px; border-radius: 50%; background: #3a3a3e; }
.term-bar span { margin-left: 10px; font: 12px/1 var(--mono); color: var(--text-3); }
.term-body { margin: 0; padding: 16px 18px 20px; min-height: 210px; font-size: 12.5px; line-height: 1.75; color: #c9c9cf; white-space: pre-wrap; }
.term-body .l { display: block; opacity: 0; translate: 0 4px; animation: line-in .45s var(--ease) forwards; }
.term-body .g { color: var(--green); }
.term-body .a { color: var(--amber); }
.term-body .m { color: var(--text-3); }
.term-body .c { color: var(--cyan); }
@keyframes line-in { to { opacity: 1; translate: 0 0; } }

.notch {
  --nw: 196px; --nh: 32px; --nr: 13px;
  position: absolute; z-index: 5; top: 0; left: 50%; translate: -50% 0;
  width: var(--nw); height: var(--nh);
  background: #000; border-radius: 0 0 var(--nr) var(--nr);
  transition: width .62s var(--spring), height .62s var(--spring), border-radius .5s var(--ease), box-shadow .5s;
}
.notch::before, .notch::after {
  content: ""; position: absolute; top: 0; width: 10px; height: 10px;
  background: radial-gradient(circle at 0 100%, transparent 9.5px, #000 10px);
}
.notch::before { left: -10px; transform: scaleX(-1); }
.notch::after { right: -10px; }
.notch[data-open="true"] {
  --nr: 26px;
  width: var(--open-w); height: var(--open-h, 300px);
  box-shadow: 0 30px 70px -10px rgba(0, 0, 0, .75);
}
.notch-clip { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; }
.notch-pill {
  position: absolute; inset: 0 0 auto; height: 32px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  transition: opacity .25s;
}
.notch-pill .eyes { --ew: 5.2px; }
.notch-toast { font: 500 11.5px/1 var(--mono); color: var(--green); max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .5s var(--ease); }
.notch.toasting { --nw: 290px; }
.notch.toasting .notch-toast { max-width: 200px; }
.notch[data-open="true"] .notch-pill { opacity: 0; }
.notch-body {
  position: absolute; top: 0; left: 50%; translate: -50% 0;
  width: var(--open-w); padding: 12px 20px 18px;
  opacity: 0; pointer-events: none;
  transition: opacity .2s;
}
.notch[data-open="true"] .notch-body { opacity: 1; pointer-events: auto; transition: opacity .35s .16s; }
.nb-head { display: flex; justify-content: space-between; align-items: center; height: 22px; font-size: 13px; color: var(--text-2); }
.nb-icons { display: flex; gap: 12px; color: var(--text-2); }
.nb-eyes { display: flex; justify-content: center; padding: 8px 0 12px; }
.nb-eyes .eyes { --ew: 10px; }
.panel[hidden] { display: none; }
.panel { font-size: 13.5px; }
.panel .mono, .mono { font-family: var(--mono); }
.who { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--text-2); font-size: 12.5px; }
.pager { margin-left: auto; color: var(--text-3); }
.panel h4 { margin: 10px 0 12px; font-size: 16px; font-weight: 600; letter-spacing: -.01em; line-height: 1.3; }
.tag { font: 600 10.5px/1 var(--mono); padding: 3px 5px; border-radius: 5px; }
.tag-cc { color: #f0a17a; background: rgba(240, 138, 74, .14); }
.tag-cx { color: #6fe0a4; background: rgba(34, 197, 94, .13); }
.tag-ag { color: #7cc5ff; background: rgba(56, 150, 245, .16); }
.tag-cu { color: #b9c3d6; background: rgba(170, 185, 210, .14); }
.sdot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.sdot.done { background: var(--green); }
.sdot.work { background: #fff; animation: pulse 1.6s ease-in-out infinite; }
.sdot.needs { background: var(--amber); }
@keyframes pulse { 50% { opacity: .35; } }
.risk { margin: 0 0 10px; padding: 9px 12px; border-radius: 10px; border: 1px solid rgba(239, 68, 68, .55); background: rgba(239, 68, 68, .09); color: #f07a7a; font-size: 13px; font-weight: 500; }
.cmd { margin: 0 0 12px; padding: 12px 14px; border-radius: 10px; background: #141416; font-size: 13.5px; color: #e9e9ec; overflow-x: auto; }
.actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.act {
  height: 42px; border-radius: 999px; border: 0; cursor: pointer;
  background: #1f1f22; color: #fff; font-weight: 600; font-size: 14.5px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  transition: transform .3s var(--spring), background-color .2s;
}
.act:hover { background: #29292d; }
.act:active { transform: scale(.96); }
.act kbd { border: 0; background: none; padding: 0; color: var(--text-3); font-size: 11px; }
.act-primary { background: #fff; color: #000; }
.act-primary:hover { background: #e9e9ec; }
.act-primary kbd { color: #777; }
.foot { display: flex; justify-content: space-between; margin: 12px 0 0; font-size: 12.5px; color: var(--text-3); }

.limit-card { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: #121214; }
.limit-card b { display: block; font-size: 13.5px; }
.limit-card span { font-size: 12px; color: var(--text-3); }
.ring { width: 38px; height: 38px; rotate: -90deg; flex: none; }
.ring circle { fill: none; stroke-width: 3.2; }
.ring-bg { stroke: #26262a; }
.ring-fg { stroke: var(--c); stroke-linecap: round; stroke-dasharray: 94.25; stroke-dashoffset: 94.25; transition: stroke-dashoffset 1.2s var(--ease) .3s; }
.notch[data-open="true"] .ring-fg { stroke-dashoffset: calc(94.25 * (1 - var(--p))); }
.sessions { list-style: none; margin: 10px 0 0; padding: 0; }
.sessions li { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; align-items: start; gap: 12px; padding: 8px 4px; border-radius: 10px; transition: background-color .2s; }
.sessions li:hover { background: #111113; }
.sessions .sdot { margin-top: 6px; }
.sessions p { margin: 0; display: flex; align-items: center; gap: 7px; min-width: 0; }
.sessions b { font-size: 14px; }
.sessions .dimtxt { color: var(--text-3); font-size: 12.5px; }
.sessions .sub { color: var(--text-2); font-size: 12.5px; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.sessions time { font: 12px/1 var(--mono); color: var(--text-3); margin-top: 5px; }

.md { padding: 12px 14px; border-radius: 12px; border: 1px solid #26262a; background: #0b0d10; }
.md-h { margin: 0 0 6px; font-weight: 600; color: #67d3f0; }
.md ol { margin: 0; padding-left: 20px; color: #ddd; line-height: 1.7; }
.md li::marker { color: #67d3f0; font-family: var(--mono); }
.md code { font-size: 12px; color: #c9c9cf; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 12px; }
.chip {
  height: 28px; padding: 0 10px; border-radius: 8px; cursor: pointer;
  border: 1px solid rgba(103, 211, 240, .2); background: rgba(103, 211, 240, .07); color: #8adcf2; font-size: 12.5px; font-weight: 500;
  transition: background-color .2s, border-color .2s, transform .3s var(--spring);
}
.chip:hover { background: rgba(103, 211, 240, .12); }
.chip.on { background: rgba(103, 211, 240, .22); border-color: rgba(103, 211, 240, .55); color: #fff; }
.chip:active { transform: scale(.95); }
.options { display: grid; gap: 6px; }
.opt {
  display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 10px; border-radius: 10px; cursor: pointer; text-align: left;
  border: 1px solid #222226; background: #111113; font-size: 13.5px;
  transition: background-color .2s, border-color .2s, transform .3s var(--spring);
}
.opt:hover { border-color: #3a3a3f; background: #17171a; }
.opt.on { border-color: rgba(34, 197, 94, .6); background: rgba(34, 197, 94, .1); }
.opt kbd { font-size: 10.5px; color: var(--text-2); }
.field { margin-top: 8px; height: 38px; display: flex; align-items: center; padding: 0 12px; border-radius: 10px; border: 1px solid #222226; color: var(--text-3); font-size: 13px; }
.limits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding-bottom: 4px; }
.limit { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 6px; border-radius: 14px; background: #111113; text-align: center; }
.limit .ring { width: 56px; height: 56px; margin-bottom: 6px; }
.limit b { font: 600 15px/1 var(--mono); }
.limit span { font-size: 12px; color: var(--text-2); }
.limit em { font-style: normal; font-size: 11px; color: var(--text-3); font-family: var(--mono); }

.demo-tabs {
  display: flex; justify-content: center; gap: 4px; flex-wrap: wrap;
  width: fit-content; margin: 22px auto 0; padding: 4px; border-radius: 13px;
  background: rgba(255, 255, 255, .03); border: 1px solid var(--line);
}
.demo-tabs button {
  position: relative; overflow: hidden; height: 34px; padding: 0 14px; border: 0; border-radius: 9px; cursor: pointer;
  background: transparent; color: var(--text-3); font: 500 12.5px/1 var(--mono);
  transition: color .25s, background-color .25s;
}
.demo-tabs button:hover { color: var(--text); }
.demo-tabs button[aria-selected="true"] { color: var(--text); background: rgba(255, 255, 255, .07); }
.demo-tabs .bar { position: absolute; left: 10px; right: 10px; bottom: 3px; height: 1px; background: var(--text-2); transform: scaleX(0); transform-origin: left; }
.demo-tabs.auto button[aria-selected="true"] .bar { animation: prog var(--dur, 6.5s) linear forwards; }
.demo-caption { text-align: center; margin-top: 26px; min-height: 84px; }
.demo-caption h3 { margin: 0; font-size: clamp(20px, 2.4vw, 26px); font-weight: 600; letter-spacing: -.03em; }
.demo-caption p { margin: 8px auto 0; max-width: 520px; color: var(--text-2); font-size: 15px; }
.demo-caption.swap h3, .demo-caption.swap p { animation: cap-in .6s var(--ease); }
@keyframes cap-in { from { opacity: 0; translate: 0 8px; filter: blur(4px); } }

/* ---------- Faces (2D characters inside the demo notch) ---------- */
.face { --fs: 1; position: relative; display: inline-flex; align-items: center; justify-content: center; height: calc(22px * var(--fs)); }
.face > * { display: none !important; }
.face[data-style="living"] > .eyes { display: inline-flex !important; --ew: calc(5.2px * var(--fs)); }
.face[data-style="blob"] > .fblob { display: flex !important; }
.face[data-style="pixel"] > .fpix { display: block !important; }
.face[data-style="minimal"] > .fdot { display: block !important; }
.face--lg { --fs: 1.9; }
.fblob {
  position: relative; justify-content: center; align-items: flex-start;
  width: calc(26px * var(--fs)); height: calc(22px * var(--fs)); padding-top: calc(7px * var(--fs));
  background: #f08a4a; border-radius: 0 0 calc(13px * var(--fs)) calc(13px * var(--fs));
  align-self: flex-start;
}
.face[data-mood="working"] .fblob { animation: blob-breathe 1.1s ease-in-out infinite; transform-origin: top; }
.face[data-mood="needs"] .fblob { animation: blob-wiggle .55s ease-in-out infinite; transform-origin: top; }
.face[data-mood="done"] .fblob { animation: eye-hop .6s ease-in-out infinite; }
@keyframes blob-breathe { 50% { transform: scaleY(1.06); } }
@keyframes blob-wiggle { 0%, 100% { rotate: -6deg; } 50% { rotate: 6deg; } }
.fblob::before, .fblob::after {
  content: ""; position: absolute; top: 58%; width: 22%; height: 12%; border-radius: 50%; background: rgba(194, 64, 13, .35);
}
.fblob::before { left: 9%; } .fblob::after { right: 9%; }
.fblob .eyes { --ew: calc(3.4px * var(--fs)); --ec: #1f1c17; --pupil: #fff; }
.fpix { width: calc(17px * var(--fs)); height: calc(17px * var(--fs)); overflow: visible; }
.fpix .pe { display: none; }
.face[data-mood="working"] .pe-open, .face[data-mood="idle"] .pe-open,
.face[data-mood="needs"] .pe-needs, .face[data-mood="error"] .pe-error, .face[data-mood="done"] .pe-done { display: inline; }
.face[data-mood="working"] .fpix { animation: pix-bob .8s steps(1) infinite; }
.face[data-mood="working"] .pe-open { animation: pix-look 1.6s steps(1) infinite; }
.face[data-mood="done"] .fpix { animation: pix-hop 1.2s steps(1) infinite; }
.face[data-mood="error"] .fpix { animation: pix-shake 2.2s steps(1) infinite; }
.face[data-mood="idle"] .pe-open { animation: pix-blink 4s steps(1) infinite; transform-origin: 50% 50%; transform-box: fill-box; }
@keyframes pix-bob { 50% { transform: translateY(6%); } }
@keyframes pix-look { 0% { transform: translateX(-.5px); } 50% { transform: translateX(.5px); } }
@keyframes pix-hop { 0% { transform: translateY(-12%); } 33% { transform: none; } }
@keyframes pix-shake { 0% { transform: translateX(-6%); } 8% { transform: translateX(6%); } 16% { transform: translateX(-6%); } 24% { transform: none; } }
@keyframes pix-blink { 0%, 96% { transform: none; } 97% { transform: scaleY(.25); } }
.fdot { width: calc(7px * var(--fs)); height: calc(7px * var(--fs)); border-radius: 50%; background: rgba(255, 255, 255, .35); transition: background-color .3s; }
.face[data-mood="working"] .fdot { background: #fff; animation: pulse 1.4s ease-in-out infinite; }
.face[data-mood="needs"] .fdot { background: var(--amber); animation: dot-ring 1.2s ease-out infinite; }
.face[data-mood="error"] .fdot { background: var(--red); }
.face[data-mood="done"] .fdot { background: var(--green); }
@keyframes dot-ring { 0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, .7); } 100% { box-shadow: 0 0 0 calc(7px * var(--fs)) rgba(245, 158, 11, 0); } }

.panel-hint { margin: 0 0 8px; font-size: 11.5px; color: var(--text-3); text-transform: uppercase; letter-spacing: .1em; }
.sessions--jump li { cursor: pointer; grid-template-columns: 10px minmax(0, 1fr) auto; }
.sessions--jump .go { color: var(--text-3); font-size: 14px; margin-top: 2px; transition: color .2s, translate .3s var(--spring); }
.sessions--jump li:hover .go, .sessions--jump li.on .go { color: var(--text); translate: 2px -2px; }
.sessions--jump li.on { background: #18181b; }
.facecards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.facecard {
  display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 0 0 10px; cursor: pointer;
  border-radius: 12px; border: 1px solid #222226; background: #111113; overflow: hidden;
  transition: border-color .2s, background-color .2s, transform .35s var(--spring);
}
.facecard:hover { border-color: #3a3a3f; }
.facecard:active { transform: scale(.95); }
.facecard.on { border-color: rgba(255, 255, 255, .5); background: #18181b; }
.fc-stage { display: flex; justify-content: center; align-items: flex-start; width: 100%; height: 50px; padding-top: 0; position: relative; }
.fc-stage::before { content: ""; position: absolute; top: 0; left: 50%; translate: -50% 0; width: 70%; height: 30px; background: #000; border-radius: 0 0 10px 10px; }
.fc-stage .face { position: relative; --fs: 1.05; height: 30px; }
.facecard b { font-size: 11.5px; font-weight: 500; color: var(--text-2); }
.facecard.on b { color: var(--text); }

.notch-pill .face { height: 32px; }
.notch-toast { font: 500 11.5px/1 var(--mono); }
.term.jumped { animation: jumped .9s var(--ease); }
@keyframes jumped { 0% { box-shadow: 0 0 0 0 rgba(56, 212, 245, .0); } 30% { box-shadow: 0 0 0 3px rgba(56, 212, 245, .55), 0 30px 80px -20px rgba(0,0,0,.8); } 100% { box-shadow: 0 0 0 0 rgba(56, 212, 245, 0), 0 30px 80px -20px rgba(0,0,0,.8); } }
.screen.jumped .term { filter: none; opacity: 1; }

.fake-cursor {
  position: absolute; z-index: 20; left: 0; top: 0; pointer-events: none;
  opacity: 0; transition: opacity .3s, transform .9s var(--ease);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .5));
}
.fake-cursor.on { opacity: 1; }
.fake-cursor svg { display: block; transition: scale .12s; transform-origin: 2px 2px; }
.fake-cursor.press svg { scale: .82; }
.live-dot { display: inline-block; width: 6px; height: 6px; margin-right: 7px; border-radius: 50%; background: var(--red); vertical-align: 1px; animation: pulse 1.6s ease-in-out infinite; }

/* ---------- Spec list ---------- */
.spec-list { list-style: none; margin: 56px 0 0; padding: 0; border-top: 1px solid var(--line); }
.spec-list li {
  position: relative; display: grid; grid-template-columns: 64px minmax(160px, 260px) 1fr auto; align-items: baseline; gap: 24px;
  padding: 26px 8px; border-bottom: 1px solid var(--line);
  transition: background-color .35s var(--ease);
}
.spec-list li::before {
  content: ""; position: absolute; left: 0; top: -1px; bottom: -1px; width: 1px; background: var(--text);
  transform: scaleY(0); transition: transform .45s var(--ease);
}
.spec-list li:hover { background: rgba(255, 255, 255, .022); }
.spec-list li:hover::before { transform: scaleY(1); }
.spec-n { font: 500 12px/1 var(--mono); color: var(--text-3); }
.spec-list h3 { margin: 0; font-size: 19px; font-weight: 600; letter-spacing: -.02em; transition: translate .45s var(--ease); }
.spec-list li:hover h3 { translate: 6px 0; }
.spec-list p { margin: 0; color: var(--text-2); font-size: 15px; max-width: 560px; }
.spec-list code { font-size: .88em; color: var(--text); }
.spec-tag {
  font: 500 11.5px/1 var(--mono); color: var(--text-3); padding: 6px 9px; border-radius: 7px; border: 1px solid var(--line);
  transition: color .3s, border-color .3s;
}
.spec-list li:hover .spec-tag { color: var(--text); border-color: var(--line-2); }

.flow {
  position: relative; display: flex; align-items: center; flex-wrap: wrap; gap: 0;
  margin-top: 56px; padding: 26px 24px 40px; border-radius: 18px; border: 1px solid var(--line); background: var(--bg-1);
}
.flow-node {
  display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 10px;
  font: 500 13px/1 var(--mono); color: var(--text-2); background: var(--bg-2); border: 1px solid var(--line-2); white-space: nowrap;
}
.flow-node--app { background: #000; color: var(--text); border-color: #2a2a2e; }
.flow-node--app .eyes { --ew: 4.5px; }
.flow-wire { position: relative; flex: 1 1 40px; min-width: 28px; height: 1px; background: var(--line-2); overflow: visible; }
.flow-wire i {
  position: absolute; top: -2px; left: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--cyan);
  box-shadow: 0 0 10px 1px rgba(56, 212, 245, .6);
  animation: packet 3s var(--ease) infinite;
}
.flow-wire:nth-of-type(4) i { animation-delay: .5s; }
.flow-wire:nth-of-type(6) i { animation-delay: 1s; }
@keyframes packet { 0% { left: 0; opacity: 0; } 10% { opacity: 1; } 45% { left: calc(100% - 5px); opacity: 1; } 55%, 100% { left: calc(100% - 5px); opacity: 0; } }
.flow-back { position: absolute; right: 24px; bottom: 14px; font: 12px/1 var(--mono); color: var(--text-3); }

/* ---------- Agents ---------- */
.agent-filter { display: flex; gap: 4px; margin-top: 40px; width: fit-content; padding: 4px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); }
.agent-filter button {
  height: 32px; padding: 0 12px; border: 0; border-radius: 8px; background: transparent; cursor: pointer;
  font: 500 12.5px/1 var(--mono); color: var(--text-3); transition: color .2s, background-color .2s;
}
.agent-filter button span { color: var(--text-3); margin-left: 4px; }
.agent-filter button:hover { color: var(--text); }
.agent-filter button.on { color: var(--text); background: rgba(255, 255, 255, .07); }
.agent-grid {
  list-style: none; margin: 18px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(212px, 1fr)); gap: 0;
  border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
}
.agent-grid li {
  position: relative; display: flex; align-items: center; gap: 10px; height: 54px; padding: 0 16px;
  background: var(--bg); font-size: 14.5px; cursor: default; white-space: nowrap;
  box-shadow: 1px 0 0 var(--line), 0 1px 0 var(--line);
  transition: background-color .25s, opacity .4s var(--ease), color .25s;
}
.agent-grid li:hover { background: var(--bg-2); }
.agent-grid li.off { opacity: .16; }
.agent-grid .st { width: 7px; height: 7px; border-radius: 50%; flex: none; border: 1.5px solid var(--text-3); }
.agent-grid .tested .st { background: var(--green); border-color: var(--green); }
.agent-grid .broken .st { border-color: var(--red); }
.agent-grid .lbl { margin-left: auto; font: 500 10.5px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--text-3); }
.agent-grid .tested .lbl { color: #6ad393; }
.agent-path {
  display: flex; align-items: center; gap: 8px; margin: 14px 0 0; padding: 12px 16px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--bg-1); font: 13px/1.4 var(--mono); color: var(--text-2); min-height: 46px;
  overflow: hidden; white-space: nowrap;
}
.ap-prompt { color: var(--text-3); }
#agent-path-text { overflow: hidden; text-overflow: ellipsis; }
.caret { width: 7px; height: 15px; background: var(--text-2); animation: caret 1.05s steps(1) infinite; flex: none; }
@keyframes caret { 50% { opacity: 0; } }

/* ---------- Keys ---------- */
.keylist { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.keylist li { display: flex; align-items: center; gap: 20px; padding: 18px 20px; border-radius: 16px; border: 1px solid var(--line); background: var(--bg-1); }
.caps { display: flex; align-items: center; gap: 6px; flex: none; min-width: 168px; }
.cap {
  display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; padding: 0 10px;
  font: 500 14px/1 var(--mono); color: var(--text);
  border-radius: 9px; background: #1d1d20; border: 1px solid #2c2c30;
  box-shadow: 0 3px 0 #0a0a0b, 0 4px 10px rgba(0, 0, 0, .4), inset 0 1px 0 rgba(255, 255, 255, .06);
  transition: transform .12s var(--ease), box-shadow .12s var(--ease), color .2s, background-color .2s;
}
.cap.wide { min-width: 72px; font-size: 12.5px; }
.cap.down, .keylist li:hover .cap { transform: translateY(2px); box-shadow: 0 1px 0 #0a0a0b, 0 2px 6px rgba(0, 0, 0, .4), inset 0 1px 0 rgba(255, 255, 255, .06); }
.cap.down { background: #26262a; color: var(--cyan); }
.sep { color: var(--text-3); font-family: var(--mono); }
.kdesc { color: var(--text-2); font-size: 15px; }

/* ---------- Install ---------- */
.install-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 20px; margin-top: 48px; align-items: start; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: s; }
.step-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.step-head h3 { margin: 0; font-size: 16px; font-weight: 600; }
.step-n { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 7px; border: 1px solid var(--line-2); font: 500 12px/1 var(--mono); color: var(--text-2); }
.code { position: relative; border-radius: 14px; border: 1px solid var(--line); background: var(--bg-1); }
.code pre { margin: 0; padding: 16px 18px; overflow-x: auto; font-size: 13px; line-height: 1.7; color: #d9d9de; }
.code--sm pre { padding: 12px 14px; font-size: 12px; }
.copy {
  position: absolute; top: 9px; right: 9px; height: 26px; padding: 0 9px; border-radius: 7px; cursor: pointer;
  border: 1px solid var(--line-2); background: var(--bg-2); color: var(--text-2); font: 500 11.5px/1 var(--mono);
  opacity: 0; transition: opacity .2s, color .2s, border-color .2s;
}
.code:hover .copy, .copy:focus-visible { opacity: 1; }
.copy.ok { color: var(--green); border-color: rgba(34, 197, 94, .4); opacity: 1; }
.firstrun { position: sticky; top: 90px; padding: 22px; border-radius: 18px; border: 1px solid var(--line); background: var(--bg-1); }
.firstrun ol { margin: 0; padding-left: 18px; display: grid; gap: 12px; color: var(--text-2); font-size: 14.5px; }
.firstrun ol li::marker { color: var(--text-3); font-family: var(--mono); font-size: 12px; }
.firstrun b { color: var(--text); font-weight: 500; }
.firstrun em { font-style: normal; color: var(--text); }
.note { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.note p { margin: 0 0 10px; font-size: 13.5px; color: var(--text-2); }
.note b { color: var(--text); }
.note a, .note-more a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); }
.note-more { margin: 14px 0 0 !important; }
.step-sub { margin: 10px 0 0; font-size: 13.5px; color: var(--text-2); }

/* ---------- Footer ---------- */
.footer { width: min(var(--max), calc(100% - 2 * var(--gutter))); margin: clamp(120px, 16vw, 200px) auto 0; padding-bottom: 36px; }
.wordmark {
  display: flex; justify-content: center; align-items: baseline;
  font-weight: 700; font-size: clamp(120px, 26vw, 330px); line-height: .8; letter-spacing: -.07em;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .14);
  user-select: none;
}
.wm-i { position: relative; }
.wm-eyes {
  position: absolute; left: 50%; top: -.06em; translate: -50% 0;
  width: .3em; height: .15em; background: #000; border-radius: 0 0 .05em .05em;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08);
}
.wm-eyes .eyes { --ew: .035em; }
.foot-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--text-3); }
.foot-row p { margin: 0; }
.foot-row nav { display: flex; gap: 18px; flex-wrap: wrap; }
.foot-row a { text-decoration: none; color: var(--text-2); transition: color .2s; }
.foot-row a:hover { color: var(--text); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .install-grid { grid-template-columns: minmax(0, 1fr); }
  .firstrun { position: static; }
  .keylist { grid-template-columns: 1fr; }
  .spec-list li { grid-template-columns: 40px 1fr auto; gap: 8px 16px; }
  .spec-list p { grid-column: 2 / -1; }
  .spec-tag { grid-column: 3; grid-row: 1; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .hide-sm { display: none; }
  .screen { height: 520px; }
  .term { top: auto; bottom: 16px; translate: -50% 0; width: calc(100% - 24px); }
  .term-body { min-height: 150px; font-size: 11.5px; }
  .notch-body { padding: 10px 14px 14px; }
  .flow { padding: 18px; gap: 10px 0; }
  .flow-wire { flex-basis: 20px; }
  .flow-back { position: static; width: 100%; margin-top: 12px; }
  .caps { min-width: 0; }
  .keylist li { flex-direction: column; align-items: flex-start; gap: 12px; }
  .limits { gap: 6px; }
  .agent-grid { grid-template-columns: 1fr 1fr; }
  .agent-grid li { padding: 0 12px; font-size: 13.5px; }
  .agent-grid .lbl { display: none; }
  .moods-track { gap: 2px; flex-wrap: nowrap; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
  .moods-track button { padding: 0 8px; gap: 6px; font-size: 11.5px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .intro, .reveal { opacity: 1; translate: none; filter: none; }
  .intro-up { translate: none; }
  .rays { display: none; }
}
