:root {
  color-scheme: dark;
  --bg: #060608;
  --card: #0e0e12;
  --card-2: #14141a;
  --line: rgba(255, 255, 255, .07);
  --line-2: rgba(255, 255, 255, .13);
  --text: #f5f5f7;
  --muted: #9a9aa6;
  --dim: #62626d;

  --amber: #ff9f0a;
  --green: #30d158;
  --red: #ff453a;
  --blue: #64b3ff;
  --claude: #d97857;
  --yellow: #fad138;
  --purple: #bf5af2;
  --pink: #ff375f;

  --spring: cubic-bezier(.3, 1.35, .45, 1);
  --out: cubic-bezier(.2, .8, .2, 1);
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, monospace;
  --maxw: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
code { font-family: var(--mono); font-size: .88em; }
p { margin: 0; }
h1, h2, h3 { margin: 0; letter-spacing: -.035em; line-height: 1.04; font-weight: 700; }
::selection { background: rgba(255, 159, 10, .35); }

.mono { font-family: var(--mono); }
.ic { width: 1em; height: 1em; flex: none; }
.muted { color: var(--dim); }

.c-claude { color: var(--claude); }
.c-amber { color: var(--amber); }
.c-green { color: var(--green); }
.c-red { color: var(--red); }
.c-blue, .c-codex { color: var(--blue); }
.c-purple { color: var(--purple); }
.c-yellow { color: var(--yellow); }
.c-pink { color: var(--pink); }
.c-cursor { color: rgba(255, 255, 255, .92); }
.t-dim { color: rgba(255, 255, 255, .45); }
.t-green { color: #7ee787; }
.t-claude { color: var(--claude); }
.t-amber { color: var(--amber); }

.bg-grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .035;
  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='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px max(16px, calc((100vw - var(--maxw)) / 2));
  background: rgba(6, 6, 8, .6);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 650; letter-spacing: -.01em; }
.brand img { border-radius: 7px; }
.nav-links { display: flex; gap: 28px; font-size: 14px; color: var(--muted); }
.nav-links a { transition: color .2s; }
.nav-links a:hover { color: var(--text); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  height: 48px; padding: 0 22px; border-radius: 999px;
  font-weight: 600; font-size: 15px; letter-spacing: -.01em;
  transition: transform .25s var(--spring), background .2s, box-shadow .3s, border-color .2s;
  will-change: transform;
}
.btn:hover { transform: translateY(-1px) scale(1.02); }
.btn:active { transform: scale(.98); }
.btn .ic { width: 17px; height: 17px; }
.btn-primary {
  background: linear-gradient(180deg, #fff, #dedee3);
  color: #0a0a0c;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .5) inset, 0 10px 40px -8px rgba(255, 255, 255, .35);
}
.btn-primary:hover { box-shadow: 0 0 0 1px rgba(255, 255, 255, .6) inset, 0 14px 50px -6px rgba(255, 255, 255, .45); }
.btn-glass {
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--line-2);
  color: var(--text);
}
.btn-glass:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .2); }
.btn-sm { height: 36px; padding: 0 14px; font-size: 13.5px; gap: 7px; }
.btn-sm .ic { width: 15px; height: 15px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 72px 16px 40px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.hero::before {
  content: ""; position: absolute; inset: -80px 0 auto; height: 700px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(40% 50% at 50% 0%, rgba(255, 159, 10, .12), transparent 70%),
    radial-gradient(30% 40% at 30% 20%, rgba(100, 120, 255, .1), transparent 70%),
    radial-gradient(30% 40% at 70% 20%, rgba(255, 55, 95, .08), transparent 70%);
}
.pill-link {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 10px; border-radius: 999px;
  font-size: 13.5px; color: var(--muted);
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--line-2);
  transition: border-color .2s, color .2s, background .2s;
}
.pill-link:hover { color: var(--text); border-color: rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .07); }
.pill-link .arrow { transition: transform .25s var(--spring); }
.pill-link:hover .arrow { transform: translateX(3px); }
.pill-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--amber);
  box-shadow: 0 0 0 0 rgba(255, 159, 10, .6);
  animation: ping 2s infinite;
}
@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(255, 159, 10, .55); }
  70%, 100% { box-shadow: 0 0 0 9px rgba(255, 159, 10, 0); }
}
.hero h1 {
  margin-top: 28px;
  font-size: clamp(52px, 10vw, 118px);
  font-weight: 750;
  letter-spacing: -.055em;
  line-height: .95;
}
.grad {
  background: linear-gradient(100deg, #fff 0%, #ffd9a0 30%, #ff9f0a 55%, #ff5e7a 85%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-bottom: .08em;
}
.lede {
  margin-top: 26px; max-width: 620px;
  font-size: clamp(17px, 2.1vw, 21px); line-height: 1.5;
  color: var(--muted); letter-spacing: -.01em;
}
.cta { margin-top: 34px; display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.meta { margin-top: 18px; font-size: 13.5px; color: var(--dim); }
.meta a { color: var(--muted); border-bottom: 1px solid var(--line-2); }
.meta a:hover { color: var(--text); }

/* ---------- Stage / laptop ---------- */
.stage {
  position: relative;
  width: 100%; max-width: 1100px;
  margin-top: 64px;
}
.stage-glow {
  position: absolute; left: 10%; right: 10%; top: 10%; bottom: 0; z-index: -1;
  background: radial-gradient(50% 50% at 50% 50%, rgba(255, 120, 60, .35), rgba(120, 60, 200, .18) 50%, transparent 75%);
  filter: blur(60px);
}
.laptop { width: 100%; }
.lid {
  position: relative;
  padding: 1.15%;
  border-radius: 2.4% / 3.6%;
  background: linear-gradient(180deg, #1c1c20, #0b0b0d 30%);
  box-shadow:
    0 0 0 1px #2c2c33 inset,
    0 0 0 1px rgba(0, 0, 0, .6),
    0 50px 120px -30px rgba(0, 0, 0, .9);
}
.screen {
  position: relative; overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: 1.3% / 2%;
  container-type: inline-size;
  background: #000;
  isolation: isolate;
  text-align: left;
}
.base {
  position: relative;
  width: 114%; margin-left: -7%;
  aspect-ratio: 100 / 2.4;
  border-radius: 0 0 50% 50% / 0 0 100% 100%;
  background: linear-gradient(180deg, #d4d4da 0%, #8d8d95 35%, #3a3a40 100%);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .9);
}
.base::before {
  content: ""; position: absolute; left: 50%; top: 0; transform: translateX(-50%);
  width: 14%; height: 45%;
  border-radius: 0 0 12px 12px / 0 0 100% 100%;
  background: linear-gradient(180deg, #6c6c74, #9d9da5);
}
.base::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: rgba(255, 255, 255, .5);
}

.wall {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(55% 75% at 15% 105%, #ff7a3d 0%, rgba(255, 122, 61, 0) 60%),
    radial-gradient(50% 70% at 90% 100%, #d42f8f 0%, rgba(212, 47, 143, 0) 60%),
    radial-gradient(60% 60% at 55% 55%, rgba(120, 70, 220, .55) 0%, rgba(120, 70, 220, 0) 70%),
    radial-gradient(80% 90% at 50% -10%, #152a8c 0%, rgba(21, 42, 140, 0) 70%),
    linear-gradient(180deg, #0a0f33 0%, #26174d 55%, #4b1a45 100%);
}
.wall::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 80% at 50% 0%, transparent 50%, rgba(0, 0, 0, .35));
}

.menubar {
  position: absolute; top: 0; left: 0; right: 0; height: 3.3cqw;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1.6cqw;
  font-size: 1.15cqw; color: rgba(255, 255, 255, .92); font-family: var(--sans);
  background: rgba(10, 10, 30, .28);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
.mb-left, .mb-right { display: flex; align-items: center; gap: 1.6cqw; }
.mb-left b { font-weight: 700; }
.mb-ic { width: 1.4cqw; height: 1.4cqw; }
.mb-batt { width: 2.2cqw; height: 1.1cqw; }

.win {
  position: absolute;
  border-radius: 1.1cqw;
  background: rgba(22, 22, 28, .82);
  backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .1) inset, 0 2cqw 5cqw -1cqw rgba(0, 0, 0, .6);
  overflow: hidden;
}
.win-bar {
  position: relative;
  display: flex; align-items: center; gap: .6cqw;
  height: 2.8cqw; padding: 0 1.1cqw;
  font-size: 1cqw; color: rgba(255, 255, 255, .5);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.win-bar i { width: 1cqw; height: 1cqw; border-radius: 50%; background: #ff5f57; }
.win-bar i:nth-child(2) { background: #febc2e; }
.win-bar i:nth-child(3) { background: #28c840; }
.win-bar span { position: absolute; left: 0; right: 0; text-align: center; pointer-events: none; }
.win-term { left: 5%; top: 13%; width: 47%; height: 56%; }
.win-body { padding: 1.4cqw 1.6cqw; font-size: 1.12cqw; line-height: 1.75; color: rgba(255, 255, 255, .88); }
.win-body p { white-space: nowrap; }
.win-editor { right: 5%; top: 21%; width: 38%; height: 50%; background: rgba(28, 24, 38, .78); }
.code-lines p { display: flex; gap: .8cqw; height: 1.95cqw; align-items: center; }
.code-lines p.in { padding-left: 2cqw; }
.code-lines p.in2 { padding-left: 4cqw; }
.code-lines b { display: block; height: .75cqw; width: var(--w); border-radius: 1cqw; background: var(--c); opacity: .75; }

.dock {
  position: absolute; left: 50%; bottom: 1.3cqw; transform: translateX(-50%);
  display: flex; gap: .8cqw; padding: .8cqw;
  border-radius: 1.8cqw;
  background: rgba(255, 255, 255, .14);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .18) inset;
}
.dock i { width: 3.6cqw; height: 3.6cqw; border-radius: .95cqw; background: linear-gradient(160deg, var(--a), var(--b)); box-shadow: 0 .3cqw .8cqw rgba(0, 0, 0, .3); }

.caret {
  display: inline-block; width: .6em; height: 1.1em; vertical-align: -.2em;
  background: currentColor; margin-left: .2em; opacity: .8;
  animation: blink 1.1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* ---------- The notch ---------- */
.notch {
  --w: 17; --h: 3.3; --r: 1.1;
  position: absolute; top: 0; left: 50%; z-index: 5;
  width: calc(var(--w) * 1cqw);
  height: calc(var(--h) * 1cqw);
  transform: translateX(-50%);
  background: #000;
  border-radius: 0 0 calc(var(--r) * 1cqw) calc(var(--r) * 1cqw);
  transition:
    width .7s var(--spring),
    height .7s var(--spring),
    border-radius .7s var(--spring),
    box-shadow .5s var(--out);
  font-size: 1.15cqw; color: #fff;
  cursor: pointer;
}
.notch.open { box-shadow: 0 1.5cqw 4cqw -.5cqw rgba(0, 0, 0, .75); }
.shoulder {
  position: absolute; top: 0; width: .9cqw; height: .9cqw; pointer-events: none;
}
.shoulder.l { left: -.9cqw; background: radial-gradient(circle farthest-side at 0 100%, transparent 96%, #000 100%); }
.shoulder.r { right: -.9cqw; background: radial-gradient(circle farthest-side at 100% 100%, transparent 96%, #000 100%); }

.n-layer {
  position: absolute; inset: 0;
  opacity: 0; filter: blur(.5cqw); transform: scale(.94);
  transition: opacity .25s var(--out), filter .25s var(--out), transform .35s var(--out);
  pointer-events: none;
  overflow: hidden;
  border-radius: inherit;
}
.n-layer.on {
  opacity: 1; filter: blur(0); transform: none;
  transition-delay: .18s;
  transition-duration: .45s, .45s, .6s;
}
.n-split { display: flex; align-items: center; justify-content: space-between; padding: 0 1.25cqw; }
.n-l, .n-r { display: flex; align-items: center; gap: .5cqw; font-weight: 600; white-space: nowrap; }
.n-ic { width: 1.5cqw; height: 1.5cqw; flex: none; }
.n-l .n-ic { width: 1.6cqw; height: 1.6cqw; }
.dot { width: .6cqw; height: .6cqw; border-radius: 50%; background: currentColor; }
.pulse { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }

.art {
  display: block; flex: none;
  background:
    radial-gradient(60% 60% at 30% 30%, #ffb36b, transparent 70%),
    radial-gradient(70% 70% at 80% 80%, #ff3d7f, transparent 70%),
    linear-gradient(135deg, #5a2bd8, #1a0c4a);
}
.art-sm { width: 1.9cqw; height: 1.9cqw; border-radius: .45cqw; }
.art-lg { width: 6.2cqw; height: 6.2cqw; border-radius: 1.2cqw; box-shadow: 0 .4cqw 1.4cqw rgba(255, 90, 110, .35); }

.eq { display: flex; align-items: flex-end; gap: .22cqw; height: 1.5cqw; }
.eq i {
  display: block; width: .3cqw; height: 100%; border-radius: .3cqw;
  background: linear-gradient(180deg, #ff9fb2, #ff375f);
  transform-origin: bottom;
  animation: eq 1s ease-in-out infinite;
}
.eq i:nth-child(2) { animation-duration: .8s; animation-delay: -.3s; }
.eq i:nth-child(3) { animation-duration: 1.2s; animation-delay: -.6s; }
.eq i:nth-child(4) { animation-duration: .9s; animation-delay: -.15s; }
@keyframes eq { 0%, 100% { transform: scaleY(.25); } 50% { transform: scaleY(1); } }
.eq-lg { height: 2cqw; gap: .28cqw; align-self: flex-start; margin-top: .8cqw; }
.eq-lg i { width: .38cqw; }

.nx {
  position: absolute; top: 0; left: 50%;
  width: calc(var(--lw) * 1cqw);
  transform: translateX(-50%);
  padding: 4cqw 2.2cqw 2cqw;
}
.np-row { display: flex; align-items: center; gap: 1.4cqw; }
.np-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .2cqw; }
.np-meta b { font-size: 1.55cqw; letter-spacing: -.01em; }
.np-meta span { font-size: 1.2cqw; color: rgba(255, 255, 255, .55); }
.np-bar { display: flex; align-items: center; gap: 1cqw; margin-top: 1.6cqw; font-size: .95cqw; color: rgba(255, 255, 255, .5); font-variant-numeric: tabular-nums; }
.track { flex: 1; height: .45cqw; border-radius: 1cqw; background: rgba(255, 255, 255, .18); overflow: hidden; }
.fill { width: 30%; height: 100%; background: #fff; border-radius: inherit; animation: progress 24s linear infinite; }
@keyframes progress { from { width: 28%; } to { width: 60%; } }
.np-ctl { display: flex; justify-content: center; align-items: center; gap: 4cqw; margin-top: 1.1cqw; }
.np-ctl svg { width: 2cqw; height: 2cqw; }
.np-ctl svg.big { width: 2.5cqw; height: 2.5cqw; }

.ag-head { display: flex; align-items: center; gap: .7cqw; font-size: 1.25cqw; }
.ag-head .t-dim { font-weight: 500; }
.ag-time { margin-left: auto; font-variant-numeric: tabular-nums; font-weight: 600; }
.ag-q { margin-top: 1cqw; font-size: 1.5cqw; font-weight: 600; letter-spacing: -.01em; }
.ag-q code {
  font-size: .9em; padding: .1cqw .5cqw; border-radius: .4cqw;
  background: rgba(255, 255, 255, .1); color: #ffd9a0;
}
.ag-btns { display: grid; grid-template-columns: 1fr 1fr; gap: .8cqw; margin-top: 1.2cqw; }
.nbtn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 2.6cqw; padding: 0 1.4cqw; border-radius: 99cqw;
  font-size: 1.15cqw; font-weight: 600;
  background: rgba(255, 255, 255, .12);
}
.nbtn-go { background: var(--amber); color: #1a0f00; }
.nbtn-join { background: var(--green); color: #002a0a; }
.ag-rows { margin-top: 1.3cqw; border-top: 1px solid rgba(255, 255, 255, .08); padding-top: .6cqw; }
.ag-row { display: flex; align-items: center; gap: .7cqw; height: 2.3cqw; font-size: 1.1cqw; }
.ag-row > span:nth-of-type(1) { font-weight: 600; }
.ag-row .t-dim { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ag-state { margin-left: auto; display: flex; align-items: center; gap: .3cqw; font-weight: 600; font-variant-numeric: tabular-nums; }
.ag-state .n-ic { width: 1.1cqw; height: 1.1cqw; }

.batt {
  position: relative; display: inline-block;
  width: 2.5cqw; height: 1.2cqw; border-radius: .35cqw;
  border: .12cqw solid rgba(48, 209, 88, .55);
  padding: .14cqw;
}
.batt::after { content: ""; position: absolute; right: -.4cqw; top: 35%; width: .2cqw; height: 30%; border-radius: 0 .2cqw .2cqw 0; background: rgba(48, 209, 88, .55); }
.batt i { display: block; width: 82%; height: 100%; border-radius: .15cqw; background: var(--green); }
.batt-74 i { width: 74%; }

.mt-row { display: flex; align-items: center; gap: 1.2cqw; }
.mt-bar { width: .45cqw; align-self: stretch; border-radius: 1cqw; background: var(--red); }
.mt-meta { flex: 1; display: flex; flex-direction: column; gap: .2cqw; }
.mt-meta b { font-size: 1.55cqw; letter-spacing: -.01em; }
.mt-meta span { font-size: 1.15cqw; color: rgba(255, 255, 255, .55); }

/* Chips */
.chips {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
  margin-top: 40px; max-width: 900px;
}
.chip {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: 8px;
  height: 38px; padding: 0 15px; border-radius: 999px;
  font: 500 14px var(--sans); color: var(--muted);
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--line);
  cursor: pointer;
  transition: color .2s, background .2s, border-color .2s, transform .25s var(--spring);
}
.chip:hover { color: var(--text); border-color: var(--line-2); }
.chip:active { transform: scale(.96); }
.chip .ic { width: 15px; height: 15px; }
.chip[aria-selected="true"] { color: var(--text); background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .18); }
.chip-prog {
  position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, .15), rgba(255, 255, 255, .7));
}
.chip[aria-selected="true"] .chip-prog { animation: chip var(--dur, 5s) linear forwards; }
.chips.paused .chip-prog { animation-play-state: paused; }
@keyframes chip { to { width: 100%; } }
.hint { margin-top: 14px; font-size: 13px; color: var(--dim); }

/* ---------- Sections ---------- */
.section { padding: 120px 16px 0; max-width: calc(var(--maxw) + 32px); margin: 0 auto; }
.section-head { text-align: center; margin-bottom: 56px; }
.kicker {
  font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 16px;
}
.section h2, .final h2 { font-size: clamp(38px, 5.6vw, 64px); letter-spacing: -.045em; }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  border-radius: 28px;
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--line);
  transition: border-color .3s, transform .5s var(--out);
}
.card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, .06), transparent 60%);
  transition: opacity .3s;
}
.card:hover { border-color: var(--line-2); }
.card:hover::before { opacity: 1; }
.card-text { padding: 26px 28px 30px; }
.card-kicker { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; margin-bottom: 10px; }
.card-kicker .ic { width: 14px; height: 14px; }
.card:not([class*="c-"]) .card-kicker:not([class*="c-"]) { color: var(--muted); }
.card h3 { font-size: 23px; letter-spacing: -.025em; line-height: 1.15; margin-bottom: 8px; }
.card p:not(.card-kicker) { font-size: 15px; color: var(--muted); line-height: 1.55; }

.viz {
  position: relative; height: 210px;
  display: grid; place-items: center;
  grid-template-columns: minmax(0, 1fr);
  border-bottom: 1px solid var(--line);
  background: radial-gradient(80% 100% at 50% 0%, rgba(255, 255, 255, .035), transparent 70%);
  overflow: hidden;
}

.card-agents { grid-column: span 2; grid-row: span 2; flex-direction: row; }
.card-agents .card-text { flex: 0 0 40%; display: flex; flex-direction: column; justify-content: center; padding: 40px 36px; }
.card-agents h3 { font-size: 34px; margin-bottom: 14px; }
.card-agents .card-text p:not(.card-kicker) { font-size: 16px; }
.card-agents .viz {
  flex: 1; height: auto; border-bottom: 0; border-left: 1px solid var(--line);
  background:
    radial-gradient(60% 60% at 60% 30%, rgba(217, 120, 87, .16), transparent 70%),
    radial-gradient(60% 60% at 40% 90%, rgba(100, 179, 255, .1), transparent 70%);
  padding: 28px;
}
.glass-notch {
  width: 100%; max-width: 420px;
  padding: 10px;
  border-radius: 26px;
  background: #000;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .07), 0 30px 60px -20px rgba(0, 0, 0, .8);
}
.gn-row {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 12px; border-radius: 16px;
  font-size: 13px;
  transition: background .2s;
}
.gn-row:hover { background: rgba(255, 255, 255, .05); }
.gn-row .n-ic { width: 18px; height: 18px; }
.gn-hot { background: rgba(255, 159, 10, .08); box-shadow: 0 0 0 1px rgba(255, 159, 10, .25) inset; flex-wrap: wrap; }
.gn-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.gn-meta b { font-weight: 600; font-size: 13.5px; }
.gn-meta span { color: rgba(255, 255, 255, .5); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gn-meta code { color: #ffd9a0; font-size: 12px; }
.gn-actions { display: flex; gap: 6px; }
.gn-actions .nbtn, .viz .nbtn { height: 28px; padding: 0 14px; font-size: 12.5px; border-radius: 99px; }
.gn-tag { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
.gn-tag .ic { width: 12px; height: 12px; }

.mini-player {
  display: flex; align-items: center; gap: 14px;
  width: 82%; max-width: 300px; padding: 14px;
  border-radius: 22px; background: #000;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .07), 0 20px 40px -12px rgba(255, 55, 95, .25);
}
.art-card { width: 56px; height: 56px; border-radius: 12px; }
.mp-meta { flex: 1; display: flex; flex-direction: column; font-size: 12.5px; }
.mp-meta b { font-size: 14.5px; }
.mp-meta span { color: rgba(255, 255, 255, .5); }
.mp-meta .track { margin-top: 9px; height: 4px; flex: none; }
.eq-card { height: 20px; gap: 3px; }
.eq-card i { width: 3.5px; }
.viz-player { background: radial-gradient(60% 80% at 50% 40%, rgba(255, 55, 95, .16), transparent 70%); }

.pill-cloud { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 0 20px; }
.lpill {
  display: inline-flex; align-items: center; gap: 7px;
  height: 32px; padding: 0 13px; border-radius: 99px;
  font-size: 12.5px; font-weight: 600;
  background: #000; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08);
  animation: float 6s ease-in-out infinite;
}
.lpill:nth-child(2n) { animation-delay: -2s; }
.lpill:nth-child(3n) { animation-delay: -4s; }
.lpill .ic { width: 13px; height: 13px; }
@keyframes float { 50% { transform: translateY(-4px); } }
.viz-pills { background: radial-gradient(60% 80% at 50% 40%, rgba(48, 209, 88, .1), transparent 70%); }

.meet {
  display: flex; align-items: center; gap: 12px;
  width: 84%; max-width: 310px; padding: 14px 14px 14px 16px;
  border-radius: 22px; background: #000;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .07);
}
.meet .mt-bar { width: 4px; }
.meet .mt-meta b { font-size: 14.5px; }
.meet .mt-meta span { font-size: 12.5px; }
.meet em { font-style: normal; color: var(--text); font-variant-numeric: tabular-nums; }
.viz-meeting { background: radial-gradient(60% 80% at 50% 40%, rgba(255, 69, 58, .12), transparent 70%); }

.viz-shelf { background: radial-gradient(60% 80% at 50% 40%, rgba(100, 179, 255, .12), transparent 70%); }
.shelf {
  display: flex; gap: 12px; align-items: center;
  padding: 16px 18px; border-radius: 22px; background: #000;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .07);
}
.file { position: relative; width: 44px; height: 54px; color: var(--c); }
.file svg { width: 100%; height: 100%; }
.file em {
  position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%);
  font: 700 8.5px var(--sans); font-style: normal; letter-spacing: .04em;
  padding: 1px 4px; border-radius: 3px; background: var(--c); color: #000;
}
.shelf-drop {
  width: 44px; height: 54px; border-radius: 12px;
  display: grid; place-items: center;
  border: 1.5px dashed rgba(255, 255, 255, .2); color: var(--blue);
}
.shelf-drop .ic { width: 20px; height: 20px; }
.file-drag {
  position: absolute; right: 16%; bottom: 14%;
  transform: rotate(12deg);
  filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .6));
  animation: drag 4s var(--out) infinite;
}
@keyframes drag {
  0%, 15% { transform: translate(30px, 40px) rotate(18deg); opacity: 0; }
  30% { opacity: 1; }
  60%, 80% { transform: translate(0, 0) rotate(8deg); opacity: 1; }
  100% { transform: translate(-10px, -18px) rotate(0) scale(.8); opacity: 0; }
}

.viz-layouts { display: flex; gap: 20px; justify-content: center; }
.lay { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.lay small { font-size: 12px; color: var(--muted); }
.lay-screen {
  position: relative; width: 130px; height: 84px; border-radius: 10px;
  background: linear-gradient(160deg, #2a1c5a, #702a60);
  box-shadow: 0 0 0 4px #111, 0 0 0 5px #2a2a30;
}
.lay-notch, .lay-island { position: absolute; left: 50%; transform: translateX(-50%); background: #000; }
.lay-notch { top: 0; width: 40px; height: 9px; border-radius: 0 0 5px 5px; animation: lay-grow 4s var(--spring) infinite; }
.lay-island { top: 6px; width: 40px; height: 11px; border-radius: 99px; animation: lay-grow 4s var(--spring) infinite -2s; }
@keyframes lay-grow { 0%, 40% { width: 40px; } 50%, 90% { width: 76px; } }

.hide-list { list-style: none; margin: 0; padding: 0 28px; width: 100%; display: flex; flex-direction: column; gap: 7px; }
.hide-list li {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 12px; border-radius: 12px;
  font-size: 13.5px; background: rgba(255, 255, 255, .03);
  box-shadow: 0 0 0 1px var(--line);
}
.hide-list .ic { width: 15px; height: 15px; color: var(--muted); }
.hide-list span { margin-left: auto; font-size: 11.5px; color: var(--dim); font-weight: 600; }

.taps { display: flex; gap: 22px; }
.tap { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.tap small { font-size: 12px; color: var(--muted); }
.tap-dots {
  position: relative; display: flex; gap: 5px; align-items: center; justify-content: center;
  width: 64px; height: 64px; border-radius: 50%;
  background: #000; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08);
}
.tap-dots::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 1.5px solid var(--amber); opacity: 0;
  animation: ripple 2.4s var(--out) infinite;
}
.tap:nth-child(2) .tap-dots::before { border-color: var(--green); animation-delay: .8s; }
.tap:nth-child(3) .tap-dots::before { border-color: var(--red); animation-delay: 1.6s; }
.tap-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); }
.tap:nth-child(2) i { background: var(--green); }
.tap:nth-child(3) i { background: var(--red); }
@keyframes ripple { 0% { transform: scale(.9); opacity: .9; } 60%, 100% { transform: scale(1.5); opacity: 0; } }
.viz-haptics { background: radial-gradient(60% 80% at 50% 40%, rgba(255, 159, 10, .09), transparent 70%); }

.stats { display: flex; gap: 10px; padding: 0 20px; }
.stat {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  width: 92px; height: 92px; border-radius: 20px;
  background: #000; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08);
}
.stat b {
  font-size: 24px; letter-spacing: -.03em;
  background: linear-gradient(180deg, #fff, #9a9aa6);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat small { font-size: 11px; color: var(--dim); }

/* Agents split */
.split { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.split .body { margin-top: 22px; font-size: 18px; color: var(--muted); max-width: 520px; }
.hooks { margin-top: 30px; display: flex; flex-direction: column; gap: 8px; max-width: 520px; }
.hook {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 16px; border-radius: 14px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--line);
  font-size: 15px;
}
.hook .n-ic { width: 17px; height: 17px; }
.hook code { margin-left: auto; color: var(--muted); font-size: 12.5px; }
.assurances { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-direction: column; gap: 16px; max-width: 520px; }
.assurances li { display: flex; gap: 14px; font-size: 15px; color: var(--muted); }
.assurances b { color: var(--text); font-weight: 600; }
.assurances .ic {
  width: 34px; height: 34px; padding: 8px; flex: none;
  border-radius: 10px; background: rgba(255, 159, 10, .1); color: var(--amber);
}
.assurances code { color: var(--text); }

.term {
  position: relative;
  border-radius: 18px; overflow: hidden;
  background: rgba(16, 16, 20, .92);
  box-shadow: 0 0 0 1px var(--line-2), 0 40px 80px -30px rgba(0, 0, 0, .9), 0 0 120px -40px rgba(255, 159, 10, .25);
}
.term .win-bar { height: 40px; padding: 0 16px; gap: 8px; font-size: 12.5px; }
.term .win-bar i { width: 12px; height: 12px; }
.term-body { padding: 20px 24px 26px; font-size: 13.5px; line-height: 1.85; color: rgba(255, 255, 255, .9); overflow-x: auto; }
.term-body p { white-space: nowrap; }
.term-notch {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; justify-content: space-between;
  width: 250px; height: 32px; padding: 0 14px;
  background: #000; border-radius: 0 0 14px 14px;
  font-size: 12.5px; font-weight: 600;
  animation: tn 6s var(--spring) infinite;
}
.term-notch .shoulder { width: 10px; height: 10px; }
.term-notch .shoulder.l { left: -10px; }
.term-notch .shoulder.r { right: -10px; }
.term-notch .n-ic { width: 16px; height: 16px; }
.tn-l, .tn-r { transition: opacity .3s; animation: tn-content 6s linear infinite; }
@keyframes tn { 0%, 12% { width: 130px; } 20%, 80% { width: 250px; } 90%, 100% { width: 130px; } }
@keyframes tn-content { 0%, 18% { opacity: 0; } 24%, 76% { opacity: 1; } 82%, 100% { opacity: 0; } }
.cmds { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.cmds code {
  padding: 7px 12px; border-radius: 10px; font-size: 12.5px;
  background: rgba(255, 255, 255, .04); border: 1px solid var(--line); color: var(--muted);
}
.caption { margin-top: 16px; font-size: 14px; color: var(--dim); }
.caption code { color: var(--muted); }

/* Install */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
.step {
  position: relative; padding: 30px 28px;
  border-radius: 24px;
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--line);
}
.step-n {
  display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 11px; margin-bottom: 22px;
  font-weight: 700; font-size: 15px;
  background: #000; box-shadow: 0 0 0 1px var(--line-2);
}
.step h3 { font-size: 21px; letter-spacing: -.02em; margin-bottom: 8px; }
.step p { font-size: 15px; color: var(--muted); }
.step code { color: var(--text); }
.link { display: inline-flex; gap: 6px; margin-top: 16px; font-size: 15px; font-weight: 600; color: var(--amber); }
.link .arrow { transition: transform .25s var(--spring); }
.link:hover .arrow { transform: translateX(3px); }

.note {
  margin-top: 16px; padding: 22px 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  border-radius: 20px; border: 1px dashed var(--line-2);
  font-size: 14.5px; color: var(--muted);
}
.note > p { flex: 1 1 320px; }
.copy {
  display: flex; align-items: center; gap: 4px;
  padding: 5px 5px 5px 16px; border-radius: 12px;
  background: #000; border: 1px solid var(--line-2);
  max-width: 100%;
}
.copy code { font-size: 13.5px; color: var(--text); white-space: nowrap; overflow-x: auto; }
.copy-btn {
  display: inline-flex; align-items: center; gap: 6px; flex: none;
  height: 32px; padding: 0 12px; border-radius: 8px; border: 0;
  font: 600 13px var(--sans); color: var(--text);
  background: rgba(255, 255, 255, .08); cursor: pointer;
  transition: background .2s;
}
.copy-btn:hover { background: rgba(255, 255, 255, .14); }
.copy-btn.done { color: var(--green); }
.copy-btn .ic { width: 14px; height: 14px; }

/* Final */
.final {
  position: relative;
  margin: 140px auto 0; padding: 120px 16px 110px;
  max-width: calc(var(--maxw) + 32px);
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
  overflow: hidden;
}
.final::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 40px;
  background:
    radial-gradient(50% 60% at 50% 0%, rgba(255, 159, 10, .18), transparent 70%),
    radial-gradient(40% 50% at 50% 100%, rgba(191, 90, 242, .12), transparent 70%),
    linear-gradient(180deg, #0d0d11, #08080a);
  border: 1px solid var(--line);
}
.final-notch {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 200px; height: 32px; background: #000; border-radius: 0 0 16px 16px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .06);
}
.final-notch .shoulder { width: 14px; height: 14px; }
.final-notch .shoulder.l { left: -14px; }
.final-notch .shoulder.r { right: -14px; }
.final-icon { border-radius: 22px; margin-bottom: 30px; box-shadow: 0 20px 60px -10px rgba(255, 255, 255, .15); }
.final .cta { margin-top: 36px; }
.final .meta { margin-top: 26px; }

/* Footer */
.footer {
  max-width: calc(var(--maxw) + 32px); margin: 0 auto;
  padding: 44px 16px 56px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  font-size: 14px; color: var(--dim);
}
.footer .brand { color: var(--muted); font-size: 15px; }
.footer .brand img { border-radius: 5px; }
.footer nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer nav a:hover { color: var(--text); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--out), transform .9s var(--out); }
.reveal.in { opacity: 1; transform: none; }
.hero .reveal:nth-child(2) { transition-delay: .06s; }
.hero .reveal:nth-child(3) { transition-delay: .12s; }
.hero .reveal:nth-child(4) { transition-delay: .18s; }
.hero .reveal:nth-child(5) { transition-delay: .22s; }
.hero .reveal:nth-child(6) { transition-delay: .3s; }
.bento .reveal:nth-child(3n+2) { transition-delay: .08s; }
.bento .reveal:nth-child(3n) { transition-delay: .16s; }
.steps .reveal:nth-child(2) { transition-delay: .08s; }
.steps .reveal:nth-child(3) { transition-delay: .16s; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .card-agents { grid-column: span 2; grid-row: auto; flex-direction: column-reverse; }
  .card-agents .card-text { flex: none; }
  .card-agents .viz { border-left: 0; border-bottom: 1px solid var(--line); }
  .split { grid-template-columns: minmax(0, 1fr); gap: 48px; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav-links { display: none; }
  .hero { padding-top: 48px; }
  .stage { margin-top: 44px; overflow: hidden; padding-top: 0; }
  /* Zoom into the top of the screen so the notch stays legible on phones. */
  .laptop { width: 190%; margin-left: -45%; }
  .stage { aspect-ratio: 16 / 8; border-radius: 18px; }
  .stage-glow { display: none; }
  .chips { margin-top: 24px; }
  .chip { height: 34px; padding: 0 12px; font-size: 13px; }
  .section { padding-top: 90px; }
  .bento, .steps { grid-template-columns: 1fr; }
  .card-agents { grid-column: auto; }
  .card-agents .card-text { padding: 26px 24px 30px; }
  .card-agents h3 { font-size: 26px; }
  .card-agents .viz { padding: 20px 14px; }
  .card-text { padding: 24px 24px 28px; }
  .gn-actions { width: 100%; justify-content: flex-end; }
  .hook code { display: none; }
  .final { margin-top: 100px; padding: 100px 16px 80px; }
  .final::before { border-radius: 28px; }
  .footer { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .notch, .n-layer { transition-duration: .2s !important; transition-timing-function: ease !important; }
}
