:root {
  --ink: #080a10;
  --ink-soft: #101521;
  --ivory: #f0ebdc;
  --ivory-dim: #c9c3b4;
  --lime: #ccff00;
  --blue: #2098ff;
  --cyan: #2ce7f1;
  --violet: #8d5cff;
  --yellow: #d7ee38;
  --rule: rgba(240, 235, 220, 0.17);
  --font-display: "Amatic SC", "Arial Narrow", "Nimbus Sans Narrow", sans-serif;
  --page-pad: clamp(1.25rem, 4vw, 4.5rem);
  --header-h: 4.75rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body {
  margin: 0;
  color: var(--ivory);
  background: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
button, a { font: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { color: inherit; touch-action: manipulation; }
::selection { color: var(--ink); background: var(--lime); }

.skip-link {
  position: fixed;
  z-index: 999;
  top: .5rem;
  left: .5rem;
  padding: .8rem 1rem;
  color: var(--ink);
  background: var(--lime);
  transform: translateY(-140%);
}
.skip-link:focus { transform: none; }

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 var(--page-pad);
  border-bottom: 1px solid var(--rule);
  background: rgba(8, 10, 16, .76);
  backdrop-filter: blur(18px);
  transition: background .25s ease, color .25s ease;
}
.brand {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: .7rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1;
}
.brand-word { display: inline-flex; align-items: baseline; }
.brand-word b, .brand-word i, .brand-word em { font: inherit; }
.brand-word b { color: var(--ivory); }
.brand-word i { color: var(--cyan); font-style: normal; }
.brand-word em { color: var(--violet); font-style: normal; }
.brand-mark {
  position: relative;
  width: 1.55rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: inset -5px -5px 0 rgba(8, 10, 16, .12);
}
.brand-mark::after {
  content: "";
  position: absolute;
  width: 55%;
  height: 2px;
  left: 22%;
  top: 48%;
  background: var(--ink);
  transform: rotate(-22deg);
}
.site-nav { display: flex; gap: clamp(1rem, 2.6vw, 2.7rem); }
.site-nav a {
  position: relative;
  color: var(--ivory-dim);
  font-size: .69rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -.7rem;
  height: 2px;
  background: var(--lime);
  transition: right .22s ease;
}
.site-nav a:hover, .site-nav a.is-active { color: var(--ivory); }
.site-nav a.is-active::after { right: 0; }
.header-action {
  justify-self: end;
  padding: .72rem 1rem;
  border-radius: .55rem;
  color: var(--ink);
  background: var(--lime);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.header-action span { margin-left: .65rem; }
.menu-toggle { display: none; }
.scroll-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; overflow: hidden; pointer-events: none; }
.scroll-progress i { display: block; width: 100%; height: 100%; background: var(--lime); transform: scaleX(var(--scroll-progress, 0)); transform-origin: left; }

.section-anchor { scroll-margin-top: var(--header-h); }
.ink-section, .ivory-section, .finale { position: relative; min-height: 100svh; }
.ink-section, .finale { background: var(--ink); }
.ivory-section { color: var(--ink); background: var(--ivory); }
.eyebrow {
  margin: 0 0 1.35rem;
  color: var(--lime);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.eyebrow.dark { color: rgba(8, 10, 16, .7); }
h1, h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: .012em;
  line-height: .88;
  text-transform: uppercase;
}
h1 em, h2 em { color: var(--lime); font-style: normal; }
.button {
  min-height: 3.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 0 1rem;
  border: 1px solid rgba(240, 235, 220, .38);
  border-radius: .55rem;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: .045em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-lime { color: var(--ink); border-color: var(--lime); background: var(--lime); }
.button-lime:hover { background: var(--ivory); border-color: var(--ivory); }
.button-ghost { color: var(--ivory); background: transparent; }
.button-ghost:hover { color: var(--ink); background: var(--ivory); }
.action-row { display: flex; flex-wrap: wrap; gap: .7rem; }

.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 5rem) var(--page-pad) 7.5rem;
  background: radial-gradient(circle at 73% 42%, rgba(32,152,255,.11), transparent 37%), var(--ink);
  overflow: hidden;
}
.hero-backdrop, .hero-shade { position: absolute; inset: calc(var(--header-h) + 1.25rem) var(--page-pad) 4.5rem; border-radius: clamp(1rem, 2.2vw, 2rem); }
.hero-backdrop { border: 1px solid rgba(72,158,255,.3); background: url("assets/hero-clean.webp") 50% center/cover no-repeat; }
.hero-shade { background: linear-gradient(270deg, rgba(8,10,16,.96) 0%, rgba(8,10,16,.82) 31%, rgba(8,10,16,.17) 68%, rgba(8,10,16,.05)), linear-gradient(0deg, rgba(8,10,16,.68), transparent 35%); }
.hero-copy { position: relative; z-index: 2; max-width: 52rem; margin-left: auto; margin-right: clamp(0rem, 1.5vw, 1.7rem); text-align: right; }
.hero-copy .action-row { justify-content: flex-end; }
.hero h1 { font-size: clamp(5.1rem, 10.7vw, 11rem); }
.hero h1 em {
  color: transparent;
  background: linear-gradient(90deg, var(--blue), var(--cyan) 45%, var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
}
.hero-deck {
  margin: 1.9rem 0 2.1rem;
  color: var(--ivory-dim);
  font-size: clamp(1rem, 1.4vw, 1.24rem);
  line-height: 1.5;
}
.hero-deck strong { color: var(--ivory); font-weight: 750; }
.hero-pair { margin: 0 0 1.35rem; color: var(--blue); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .72rem; font-weight: 900; letter-spacing: .09em; }
.hero-socials, .finale-socials { display: inline-flex; align-items: center; gap: .65rem; min-height: 2.9rem; color: var(--ivory-dim); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.hero-socials i, .finale-socials i { color: var(--violet); font-style: normal; }
.hero-socials a, .finale-socials a { padding: .7rem 0; color: inherit; transition: color .2s ease; }
.hero-socials a:hover, .hero-socials a:focus-visible, .finale-socials a:hover, .finale-socials a:focus-visible { color: var(--lime); }
.hero-visual {
  position: relative;
  width: min(100%, 42rem);
  justify-self: end;
  aspect-ratio: 1;
}
.hero-image-wrap {
  position: absolute;
  inset: 10%;
  overflow: hidden;
  border: 1px solid rgba(62, 153, 255, .5);
  border-radius: 50%;
  background: #0e1636;
  box-shadow: 0 0 6rem rgba(55, 83, 255, .22);
}
.hero-image-wrap img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); }
.orbit { position: absolute; border: 1px solid rgba(68, 143, 255, .27); border-radius: 50%; }
.orbit-one { inset: 2%; animation: orbitSpin 22s linear infinite; }
.orbit-two { inset: 20%; border-style: dashed; animation: orbitSpin 15s linear infinite reverse; }
.orbit::before {
  content: "";
  position: absolute;
  width: .48rem;
  aspect-ratio: 1;
  top: 14%;
  left: 13%;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 1rem var(--lime);
}
.hero-ball {
  position: absolute;
  z-index: 3;
  right: 4%;
  bottom: 14%;
  width: 14%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: inset -12px -12px 18px rgba(65, 78, 0, .24), 0 0 2.2rem rgba(215, 238, 56, .25);
  animation: ballFloat 3s ease-in-out infinite;
}
.hero-ball::before, .hero-ball::after {
  content: "";
  position: absolute;
  inset: 8%;
  border: 2px solid rgba(255,255,255,.7);
  border-radius: 50%;
  clip-path: inset(0 51% 0 0);
}
.hero-ball::after { transform: rotate(180deg); }
.signal-tag {
  position: absolute;
  z-index: 4;
  right: var(--page-pad);
  bottom: 7rem;
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .65rem .8rem;
  border: 1px solid var(--rule);
  color: var(--ivory-dim);
  background: rgba(8, 10, 16, .78);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .62rem;
  text-transform: uppercase;
}
.signal-tag span { width: .46rem; aspect-ratio: 1; border-radius: 50%; background: var(--lime); box-shadow: 0 0 .7rem var(--lime); }
.visual-caption {
  position: absolute;
  right: 1.2rem;
  top: 12%;
  margin: 0;
  color: rgba(240, 235, 220, .44);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .58rem;
  letter-spacing: .11em;
  transform: rotate(90deg) translateX(100%);
  transform-origin: right top;
}
.hero-status {
  position: absolute;
  z-index: 3;
  left: 0;
  bottom: 0;
  width: 100%;
  min-height: 4.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  border-top: 1px solid var(--rule);
}
.hero-status span {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  color: rgba(240,235,220,.42);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .59rem;
  letter-spacing: .12em;
}
.hero-status span + span { border-left: 1px solid var(--rule); }
.hero-status strong { color: var(--ivory); font-weight: 800; }

.ticker {
  position: relative;
  z-index: 6;
  height: 3.25rem;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  color: var(--ink);
  background: var(--lime);
}
.ticker-track { width: max-content; display: flex; align-items: center; flex: none; animation: tickerFlow 25s linear infinite; }
.ticker-track span { padding: 0 2.25rem; font-family: var(--font-display); font-size: 1.38rem; font-weight: 700; letter-spacing: .045em; white-space: nowrap; text-transform: uppercase; }
.ticker-track i { color: var(--violet); font-size: .65rem; font-style: normal; }
.ticker-dark { border-color: var(--rule); color: var(--ivory); background: var(--ink-soft); }
.ticker-dark .ticker-track i { color: var(--lime); }
.ticker-track-reverse { animation-direction: reverse; }

.definition {
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 6rem) var(--page-pad) 5rem;
  overflow: hidden;
}
.definition-grid { position: relative; z-index: 2; width: 100%; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(3rem, 9vw, 10rem); align-items: center; }
.definition h2 { max-width: 8ch; font-size: clamp(5.1rem, 10vw, 10.5rem); }
.definition-copy { padding: clamp(1.5rem, 3vw, 3rem); border: 1px solid rgba(8,10,16,.12); border-radius: clamp(1rem, 2.2vw, 2rem); color: var(--ivory); background: var(--ink); box-shadow: 0 2rem 6rem rgba(18,20,29,.12); }
.definition-copy > p { max-width: 32rem; margin: 0 0 3rem; color: var(--ivory); font-size: clamp(1.28rem, 2.5vw, 2.15rem); line-height: 1.25; letter-spacing: -.025em; }
.definition-facts { border-top: 1px solid var(--rule); }
.definition-facts span { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--rule); font-size: .76rem; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.definition-facts i { color: rgba(240,235,220,.55); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .65rem; font-style: normal; }
.definition-facts strong { color: var(--lime); font-size: .72rem; text-align: right; }
.definition-mantra { position: absolute; z-index: 2; left: 50%; bottom: 2rem; margin: 0; color: rgba(8,10,16,.44); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .61rem; font-weight: 800; letter-spacing: .11em; line-height: 1.55; text-align: center; text-transform: uppercase; transform: translateX(-50%); }
.definition-mantra.is-visible { transform: translateX(-50%); }
.definition-mantra strong { color: var(--ink); }

.mascot-float, .vault-mascot { position: absolute; z-index: 3; height: auto; pointer-events: none; user-select: none; filter: drop-shadow(0 1rem 1.2rem rgba(8,10,16,.2)); }
.mascot-float { animation: stickerDrift 5.5s ease-in-out infinite; }
.mascot-intelligence-happy { left: -1rem; bottom: -1.2rem; width: clamp(7rem, 10vw, 10.5rem); transform: rotate(5deg); }
.mascot-intelligence-thinking { top: 17%; right: -2.2rem; width: clamp(6.8rem, 9vw, 9.5rem); transform: rotate(-7deg); animation-delay: -2.4s; }
.mascot-compute { right: clamp(1rem, 3vw, 3.5rem); bottom: -.35rem; width: clamp(8rem, 12vw, 13rem); animation-delay: -1.4s; }

.compute { min-height: 104svh; display: grid; grid-template-columns: 1.25fr .75fr; overflow: hidden; }
.compute-image { min-height: 100%; background: linear-gradient(90deg, transparent 74%, var(--ink)), url("assets/geminu-lab.webp") center/cover no-repeat; }
.compute-copy { position: relative; z-index: 2; align-self: center; padding: calc(var(--header-h) + 5rem) var(--page-pad) 5rem clamp(2rem, 4vw, 5rem); }
.compute h2 { max-width: 8ch; font-size: clamp(3.9rem, 6.7vw, 7.2rem); }
.compute-copy > p:not(.eyebrow) { margin: 1.7rem 0 2.8rem; color: var(--ivory-dim); font-size: 1rem; line-height: 1.55; }
.compute-stats { margin: 0; border-top: 1px solid var(--rule); }
.compute-stats div { display: grid; grid-template-columns: 1fr auto; align-items: end; padding: 1rem 0; border-bottom: 1px solid var(--rule); }
.compute-stats dt { color: rgba(240,235,220,.55); font-size: .61rem; letter-spacing: .12em; text-transform: uppercase; }
.compute-stats dd { margin: 0; color: var(--lime); font-family: var(--font-display); font-size: 2rem; font-weight: 700; line-height: .9; }

.pair { min-height: auto; display: grid; grid-template-columns: minmax(26rem, .88fr) minmax(0, 1.12fr); align-items: start; gap: clamp(3rem, 6vw, 6rem); padding: calc(var(--header-h) + 6rem) var(--page-pad) 6rem; overflow: hidden; }
.pair-copy { position: relative; z-index: 2; }
.pair h2 { display: flex; flex-direction: column; margin-top: 1.1rem; font-size: clamp(4rem, 6.7vw, 7.2rem); }
.pair h2 span:first-child { color: var(--blue); }
.pair h2 span:last-child { color: var(--ivory); }
.pair h2 i { margin: -.08em 0; color: var(--violet); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .36em; font-style: normal; }
.pair-thesis { margin: 1.5rem 0; color: var(--ivory); font-size: clamp(1.25rem, 2vw, 1.8rem); line-height: 1.25; }
.pair-deck { margin: 0 0 1rem; color: var(--ivory-dim); line-height: 1.55; }
.pair-deck strong { color: var(--ivory); }
.pair-rally { margin: 1.5rem 0 1.7rem; color: var(--ivory); font-family: var(--font-display); font-size: clamp(2rem, 3.2vw, 3rem); font-weight: 700; line-height: .92; letter-spacing: .025em; text-transform: uppercase; }
.pair-rally strong { color: var(--lime); }
.vault-flow { width: min(100%, 31rem); display: flex; flex-direction: column; align-items: flex-start; margin: 0 0 1.3rem; padding: .25rem 0 .25rem 1.15rem; border-left: 2px solid var(--blue); }
.vault-flow strong { color: var(--ivory); font-family: var(--font-display); font-size: 1.75rem; letter-spacing: .04em; line-height: 1; text-transform: uppercase; }
.vault-flow strong:last-child { color: var(--lime); }
.vault-flow i { height: 1.05rem; color: var(--violet); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .7rem; font-style: normal; line-height: 1.05rem; }
.vault-flow span { color: rgba(240,235,220,.52); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .58rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.vault-status { position: relative; width: min(100%, 31rem); margin-bottom: .9rem; padding-right: 7.7rem; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); background: linear-gradient(90deg, rgba(32,152,255,.08), transparent); }
.vault-status > div { min-height: 3.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.vault-status > div + div { border-top: 1px solid var(--rule); }
.vault-status span { color: rgba(240,235,220,.5); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; }
.vault-status strong { display: inline-flex; align-items: center; gap: .45rem; color: var(--lime); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .61rem; letter-spacing: .1em; text-transform: uppercase; }
.vault-status strong > i { width: .46rem; aspect-ratio: 1; border-radius: 50%; background: var(--lime); box-shadow: 0 0 .75rem rgba(204,255,0,.7); }
.vault-status .coming-soon { color: var(--ivory); }
.vault-mascot { right: -.65rem; bottom: -.4rem; width: 7.5rem; filter: drop-shadow(0 .65rem 1rem rgba(8,10,16,.32)); }
.vault-upgrade { width: min(100%, 31rem); margin: 0 0 1.5rem; color: rgba(240,235,220,.48); font-size: .66rem; line-height: 1.5; }
.pair-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin: 0 0 1.35rem; }
.pair-actions .button { min-height: 2.9rem; gap: 1.2rem; font-size: 1rem; }
.pair-disclosure { width: min(100%, 31rem); margin: 0 0 1.3rem; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.pair-disclosure summary { min-height: 3.2rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; color: var(--ivory); font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; letter-spacing: .06em; list-style: none; text-transform: uppercase; cursor: pointer; }
.pair-disclosure summary::-webkit-details-marker { display: none; }
.pair-disclosure summary span { color: var(--lime); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; transition: transform .2s ease; }
.pair-disclosure[open] summary span { transform: rotate(45deg); }
.pair-disclosure > div { padding: 0 0 1.15rem; color: var(--ivory-dim); font-size: .78rem; line-height: 1.55; }
.pair-disclosure p { margin: 0; }
.pair-disclosure p + p { margin-top: .8rem; color: var(--ivory); }
.contract-controls { width: min(100%, 31rem); border-top: 1px solid var(--rule); }
.contract-controls > span { display: grid; grid-template-columns: 1fr auto; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--rule); }
.contract-controls i { color: rgba(240,235,220,.48); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .58rem; font-style: normal; letter-spacing: .08em; text-transform: uppercase; }
.contract-controls strong { color: var(--ivory-dim); font-size: .62rem; letter-spacing: .05em; text-align: right; text-transform: uppercase; }
.copy-pair { width: min(100%, 28rem); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem; padding: 1rem; border: 1px solid var(--rule); color: var(--ivory); background: transparent; cursor: pointer; text-align: left; }
.copy-pair span, .copy-pair i { color: rgba(240,235,220,.47); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .58rem; font-style: normal; text-transform: uppercase; }
.copy-pair strong { font-size: .72rem; letter-spacing: .06em; }
.copy-pair:hover { border-color: var(--lime); }
.launch-note { color: rgba(240,235,220,.37); font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; }
.pair-visual {
  position: sticky;
  top: calc(var(--header-h) + 2rem);
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(44, 231, 241, .3);
  border-radius: clamp(1rem, 2.2vw, 2rem);
  background: #071a3d;
  box-shadow: 0 2rem 7rem rgba(24, 91, 255, .14);
}
.pair-visual::after, .benchmark-visual::after {
  content: "";
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(transparent, rgba(3, 8, 21, .82));
  pointer-events: none;
}
.pair-visual img, .benchmark-visual img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .7s cubic-bezier(.16,1,.3,1); }
.pair-visual:hover img, .benchmark-visual:hover img { transform: scale(1.025); }
.pair-visual figcaption, .benchmark-visual figcaption {
  position: absolute;
  z-index: 2;
  left: 1.1rem;
  right: 1.1rem;
  bottom: 1rem;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  color: var(--ivory);
}
.pair-visual figcaption span, .benchmark-visual figcaption span {
  color: rgba(240,235,220,.58);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .56rem;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.pair-visual figcaption strong, .benchmark-visual figcaption strong {
  font-size: .7rem;
  letter-spacing: .08em;
  text-align: right;
  text-transform: uppercase;
}

.benchmarks { padding: calc(var(--header-h) + 7rem) var(--page-pad) 6rem; overflow: hidden; }
.benchmarks-head { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: end; margin-bottom: 4rem; }
.benchmarks h2 { font-size: clamp(4.7rem, 9.5vw, 9.5rem); }
.benchmarks h2 em { color: var(--blue); }
.benchmarks-head > p { margin: 0 0 .5rem; color: rgba(8,10,16,.62); font-size: 1rem; line-height: 1.5; }
.benchmarks-body { display: grid; grid-template-columns: minmax(20rem, .9fr) minmax(32rem, 1.1fr); gap: clamp(2.5rem, 5vw, 5rem); align-items: start; }
.benchmark-visual { position: sticky; top: calc(var(--header-h) + 2rem); min-width: 0; margin: 0; overflow: hidden; border-radius: clamp(1rem, 2.2vw, 2rem); background: #071a3d; }
.benchmark-visual img { aspect-ratio: 16 / 11; }
.test-rig { border-top: 3px solid var(--ink); }
.test-topline { min-height: 4rem; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(8,10,16,.22); color: rgba(8,10,16,.55); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .61rem; letter-spacing: .11em; }
.run-tests { display: inline-flex; align-items: center; gap: .6rem; padding: .75rem .85rem; border: 0; color: var(--ink); background: transparent; font-weight: 900; text-transform: uppercase; cursor: pointer; }
.run-tests i { width: .55rem; aspect-ratio: 1; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 5px rgba(204,255,0,.18); }
.test-rig.is-running .run-tests i { animation: blink .5s linear infinite; }
.benchmark-row { min-height: 5.8rem; display: grid; grid-template-columns: minmax(14rem, 1fr) minmax(10rem, 1.4fr) auto; align-items: center; gap: 2rem; border-bottom: 1px solid rgba(8,10,16,.22); }
.benchmark-row > div:first-child { display: flex; align-items: center; gap: 1.2rem; }
.benchmark-row span { color: rgba(8,10,16,.42); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .63rem; }
.benchmark-row strong { font-size: clamp(.8rem, 1.5vw, 1.1rem); letter-spacing: .02em; text-transform: uppercase; }
.benchmark-row b { min-width: 4.1rem; color: #3a5200; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .64rem; letter-spacing: .12em; }
.meter { height: .36rem; background: rgba(8,10,16,.12); overflow: hidden; }
.meter i { display: block; height: 100%; width: calc(var(--score, 0) * 1%); background: linear-gradient(90deg, var(--blue), var(--violet)); transform-origin: left; transition: width 1s cubic-bezier(.16,1,.3,1); }
.test-rig.is-running .meter i { width: 0 !important; transition-duration: .18s; }
.test-rig.is-running .benchmark-row b { color: rgba(8,10,16,.35); }
.test-result { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2rem; min-height: 8.5rem; padding: 2rem 7.5rem 2rem 0; overflow: hidden; }
.test-result > div:first-child { display: flex; flex-direction: column; gap: .45rem; }
.test-result span { color: rgba(8,10,16,.48); font-size: .61rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.test-result strong { font-size: clamp(1.25rem, 2.5vw, 2.2rem); letter-spacing: -.03em; }
.mascot-benchmark { right: .3rem; bottom: -1.3rem; width: 7rem; transform: rotate(4deg); animation-delay: -3.1s; }
.score-ring { width: 6.1rem; aspect-ratio: 1; display: flex; align-items: baseline; justify-content: center; padding-top: 1.8rem; border: .45rem solid var(--lime); border-radius: 50%; }
.score-ring span { color: var(--ink); font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; }
.score-ring small { color: rgba(8,10,16,.45); font-size: .6rem; }

.agent { min-height: 106svh; display: flex; align-items: center; padding: calc(var(--header-h) + 6rem) var(--page-pad) 7rem; overflow: hidden; }
.agent-backdrop, .agent-shade { position: absolute; inset: 0; }
.agent-backdrop { background: url("assets/agent-factory.webp") center/cover no-repeat; transform: scale(1.03); transition: transform 4s cubic-bezier(.16,1,.3,1), filter .5s ease; }
.agent-shade { background: linear-gradient(90deg, rgba(8,10,16,.96) 0%, rgba(8,10,16,.72) 39%, rgba(8,10,16,.13) 78%), linear-gradient(0deg, rgba(8,10,16,.75), transparent 42%); }
.agent-copy { position: relative; z-index: 3; max-width: 47rem; }
.agent h2 { max-width: 10ch; font-size: clamp(4rem, 7.1vw, 7.3rem); }
.agent h2 em { color: var(--lime); }
.agent-deck { margin: 1.5rem 0 0; color: var(--ivory-dim); font-size: 1rem; line-height: 1.55; }
.agent-deck strong { color: var(--ivory); }
.agent-process { display: grid; grid-template-columns: repeat(4, 1fr); margin: 2.2rem 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.agent-process span { display: flex; flex-direction: column; gap: .5rem; padding: 1rem; color: rgba(240,235,220,.55); font-size: .68rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; transition: color .25s ease, background .25s ease; }
.agent-process span + span { border-left: 1px solid var(--rule); }
.agent-process i { color: var(--lime); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .57rem; font-style: normal; }
.agent-process span.is-active { color: var(--ink); background: var(--lime); }
.agent-process span.is-active i { color: var(--ink); }
.activate-agent { border: 0; }
.agent-note { margin: 1rem 0 0; color: rgba(240,235,220,.48); font-size: .64rem; letter-spacing: .08em; text-transform: uppercase; }
.agent-console { position: absolute; z-index: 4; right: var(--page-pad); bottom: 2.5rem; min-width: 17rem; display: flex; flex-direction: column; gap: .5rem; padding: 1rem; border: 1px solid var(--rule); background: rgba(8,10,16,.76); backdrop-filter: blur(10px); }
.agent-console span { color: var(--lime); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .58rem; letter-spacing: .1em; }
.agent-console strong { font-size: .75rem; font-weight: 600; }
.agent.is-active .agent-backdrop { transform: scale(1.1); filter: saturate(1.22); }
.agent.is-active::after { content: ""; position: absolute; z-index: 2; inset: 0; background: repeating-linear-gradient(0deg, transparent 0 7px, rgba(204,255,0,.025) 8px); pointer-events: none; }

.memes { min-height: 100svh; display: grid; grid-template-columns: .78fr 1.22fr; grid-template-areas: "head wall"; align-items: center; gap: 6vw; padding: calc(var(--header-h) + 7rem) var(--page-pad) 7rem; }
.meme-head { grid-area: head; align-self: center; }
.memes h2 { font-size: clamp(5.2rem, 10vw, 10rem); }
.meme-head > p:not(.eyebrow) { margin: 1.7rem 0 2rem; color: var(--ivory-dim); line-height: 1.55; }
.meme-head > p.meme-moods { margin: 0 0 1.5rem; color: var(--ivory); font-weight: 800; }
.meme-head > p.meme-note { margin: 1rem 0 0; color: rgba(240,235,220,.4); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .58rem; letter-spacing: .1em; text-transform: uppercase; }
.sticker-wall { grid-area: wall; align-self: center; position: relative; padding: 1.25rem; overflow: hidden; border: 1px solid var(--rule); border-radius: clamp(1rem, 2.2vw, 2rem); background: radial-gradient(circle at 50% 45%, rgba(50,132,255,.18), transparent 56%), #0c111d; }
.sticker-wall::before { content: "OPEN SOURCE DOG / REACTION PACK"; position: absolute; z-index: 2; top: .9rem; right: 1rem; color: rgba(240,235,220,.38); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .75rem; letter-spacing: .12em; }
.sticker-wall img { width: 100%; filter: drop-shadow(0 1rem 3rem rgba(31,92,255,.12)); transform: rotate(1deg); transition: opacity .2s ease, transform .35s cubic-bezier(.16,1,.3,1); }
.sticker-wall img.is-changing { opacity: .3; transform: scale(.97) rotate(-1deg); }
.pack-switcher { position: relative; z-index: 3; width: fit-content; display: flex; margin: 0 0 1.2rem auto; border: 1px solid var(--rule); }
.pack-switcher button { min-width: 6.4rem; padding: .7rem 1rem; border: 0; color: rgba(240,235,220,.55); background: transparent; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .58rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.pack-switcher button + button { border-left: 1px solid var(--rule); }
.pack-switcher button:hover, .pack-switcher button.is-active { color: var(--ink); background: var(--lime); }

.finale { min-height: 108svh; display: flex; align-items: flex-start; padding: calc(var(--header-h) + 7rem) var(--page-pad) 7rem; overflow: hidden; }
.finale-image, .finale-shade { position: absolute; inset: 0; }
.finale-image { background: url("assets/meadow.webp") center/cover no-repeat; transform: scale(1.04); transition: transform .2s ease-out; }
.finale-shade { background: linear-gradient(90deg, rgba(7,13,14,.72), rgba(7,13,14,.1) 65%), linear-gradient(0deg, rgba(8,10,16,.64), transparent 45%); }
.finale-copy { position: relative; z-index: 3; max-width: 58rem; }
.finale h2 { max-width: 9ch; color: white; font-size: clamp(4.4rem, 8.4vw, 8.4rem); text-shadow: 0 .2rem 2rem rgba(7,13,14,.2); }
.finale-story { margin: 2rem 0; color: rgba(255,255,255,.8); font-size: 1rem; line-height: 1.6; }
.finale-answer { display: flex; flex-direction: column; gap: .15rem; margin: -1rem 0 2rem; color: white; }
.finale-answer span { font-size: .86rem; }
.finale-answer strong { font-family: var(--font-display); font-size: clamp(2.3rem, 4.4vw, 4.2rem); font-weight: 700; letter-spacing: .025em; line-height: .95; text-transform: uppercase; }
.finale-identity { display: flex; flex-direction: column; gap: .4rem; margin: 0 0 1.3rem; }
.finale-identity span { color: var(--lime); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .67rem; font-weight: 900; letter-spacing: .1em; }
.finale-identity strong { color: white; font-size: clamp(1.25rem, 2.2vw, 1.9rem); }
.site-footer { position: absolute; z-index: 3; left: var(--page-pad); right: var(--page-pad); bottom: 0; min-height: 4.5rem; display: grid; grid-template-columns: 1fr auto; align-items: center; border-top: 1px solid rgba(255,255,255,.3); color: rgba(255,255,255,.72); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .57rem; letter-spacing: .08em; text-transform: uppercase; }
.site-footer span:last-child { text-align: right; }

.reveal { opacity: 0; transform: translateY(1.5rem); transition: opacity .7s ease, transform .7s cubic-bezier(.16,1,.3,1); }
.reveal.is-visible { opacity: 1; transform: none; }

@keyframes orbitSpin { to { transform: rotate(360deg); } }
@keyframes ballFloat { 50% { transform: translateY(-.8rem) rotate(9deg); } }
@keyframes blink { 50% { opacity: .25; } }
@keyframes tickerFlow { to { transform: translateX(-50%); } }
@keyframes peekFloat { 50% { translate: 0 -.55rem; } }
@keyframes stickerDrift { 50% { translate: 0 -.45rem; } }

@media (max-width: 1000px) {
  .site-header { grid-template-columns: 1fr auto auto; }
  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    padding: 0 var(--page-pad);
    border-bottom: 1px solid var(--rule);
    background: rgba(8,10,16,.97);
    transform: translateY(-140%);
    transition: transform .3s cubic-bezier(.16,1,.3,1);
  }
  .site-nav.is-open { transform: none; }
  .site-nav a { padding: 1.1rem 0; border-bottom: 1px solid var(--rule); }
  .site-nav a:last-child { border-bottom: 0; }
  .site-nav a::after { display: none; }
  .menu-toggle { display: flex; align-items: center; gap: .7rem; margin-right: 1rem; padding: .7rem; border: 0; color: var(--ivory); background: transparent; font-size: .62rem; font-weight: 900; letter-spacing: .1em; cursor: pointer; }
  .menu-toggle i { position: relative; width: 1.1rem; height: 8px; border-top: 1px solid currentColor; border-bottom: 1px solid currentColor; }
  .hero h1 { font-size: clamp(5rem, 11vw, 8rem); }
  .hero-backdrop { background-position: center; }
  .compute { grid-template-columns: 1fr; }
  .compute-image { position: absolute; inset: 0; opacity: .65; background: linear-gradient(90deg, transparent, var(--ink)), linear-gradient(0deg, var(--ink), transparent 40%, var(--ink)), url("assets/geminu-lab.webp") center/cover no-repeat; }
  .compute-copy { max-width: 42rem; padding-left: var(--page-pad); }
  .pair { grid-template-columns: 1fr; gap: 2rem; }
  .pair-visual { position: relative; top: auto; width: min(100%, 52rem); }
  .benchmarks-body { grid-template-columns: minmax(15rem, .75fr) minmax(22rem, 1.25fr); gap: 2rem; }
  .memes { grid-template-columns: 1fr 1fr; gap: 3rem; }
}

@media (max-width: 700px) {
  :root { --header-h: 4.15rem; }
  .site-header { grid-template-columns: 1fr auto; }
  .header-action { display: none; }
  .menu-toggle { min-height: 2.75rem; margin-right: -.7rem; }
  .hero {
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding-top: calc(var(--header-h) + 5.4rem);
    padding-bottom: 0;
  }
  .hero h1 { font-size: clamp(4.15rem, 19vw, 5.6rem); }
  .hero-backdrop {
    position: relative;
    inset: auto;
    order: 2;
    width: 100%;
    aspect-ratio: 16 / 10;
    margin: 2.2rem 0 0;
    border: 1px solid rgba(72,158,255,.3);
    border-radius: 1.1rem;
    background-position: center;
    transform: none;
  }
  .hero-shade { display: none; }
  .hero-copy { order: 1; max-width: none; margin-right: 0; text-align: left; }
  .hero-copy .action-row { justify-content: flex-start; }
  .hero-deck { margin: 1.4rem 0 1.6rem; }
  .hero-status { grid-template-columns: 1fr; position: relative; order: 3; margin: 0 calc(var(--page-pad) * -1); width: calc(100% + var(--page-pad) * 2); }
  .hero-status span { min-height: 2.65rem; justify-content: space-between; padding: 0 var(--page-pad); border-top: 1px solid var(--rule); }
  .hero-status span + span { border-left: 0; }
  .visual-caption { display: none; }
  .signal-tag { display: none; }
  .ticker { height: 3rem; }
  .ticker-track span { padding: 0 1.25rem; font-size: 1.2rem; }
  .definition { min-height: auto; flex-direction: column; align-items: stretch; padding-top: calc(var(--header-h) + 6.5rem); padding-bottom: 8rem; }
  .definition-grid { grid-template-columns: 1fr; gap: 2.4rem; }
  .definition h2 { font-size: clamp(4.4rem, 20vw, 6.5rem); }
  .definition-copy { padding: 1.4rem; border-radius: 1.1rem; }
  .definition-copy > p { font-size: 1.35rem; }
  .definition-mantra { position: relative; left: auto; bottom: auto; margin: 2.5rem auto 0; transform: none; }
  .definition-mantra.is-visible { transform: none; }
  .mascot-intelligence-happy { left: -2.3rem; bottom: -1.3rem; width: 7.5rem; }
  .mascot-intelligence-thinking { top: 28%; right: -2.1rem; width: 6.4rem; opacity: .9; }
  .compute { min-height: auto; display: flex; flex-direction: column; gap: 2rem; padding: calc(var(--header-h) + 5.5rem) var(--page-pad) 4rem; }
  .compute-image { position: relative; inset: auto; order: 1; width: 100%; min-height: 0; aspect-ratio: 16 / 10; border: 1px solid rgba(72,158,255,.3); border-radius: 1.1rem; opacity: 1; background: url("assets/geminu-lab.webp") center/cover no-repeat; }
  .compute-copy { order: 2; align-self: auto; padding: 0; }
  .compute h2 { max-width: 10ch; font-size: clamp(3.8rem, 16vw, 6rem); }
  .mascot-compute { right: .9rem; bottom: -.3rem; width: 7.6rem; }
  .pair { min-height: auto; display: flex; flex-direction: column; align-items: stretch; gap: 2.1rem; padding-top: calc(var(--header-h) + 6.5rem); padding-bottom: 4rem; }
  .pair-copy { order: 1; }
  .pair h2 { font-size: clamp(4.2rem, 20vw, 6.5rem); }
  .pair-deck { margin-bottom: 1.6rem; }
  .pair-rally { font-size: 2.35rem; }
  .vault-status { padding-right: 5.5rem; }
  .vault-status > div { min-height: 3.8rem; }
  .vault-status > div { flex-direction: column; align-items: flex-start; justify-content: center; gap: .35rem; }
  .vault-mascot { right: -.6rem; bottom: -.25rem; width: 5.8rem; }
  .pair-actions { display: grid; }
  .pair-actions .button { width: 100%; }
  .copy-pair { min-height: 3.2rem; }
  .pair-visual { order: 2; width: 100%; margin: 0; border-radius: 1.1rem; }
  .pair-visual img { aspect-ratio: 16 / 10; object-position: center; }
  .benchmarks { padding-top: calc(var(--header-h) + 6.5rem); }
  .benchmarks-head { grid-template-columns: 1fr; margin-bottom: 2.5rem; }
  .benchmarks h2 { font-size: clamp(4.2rem, 18vw, 6.3rem); }
  .benchmarks-body { display: flex; flex-direction: column; align-items: stretch; gap: 2rem; }
  .benchmark-visual { position: relative; top: auto; order: 1; width: 100%; margin: 0; border-radius: 1.1rem; }
  .benchmark-visual img { aspect-ratio: 16 / 10; }
  .test-rig { order: 2; }
  .benchmark-row { grid-template-columns: 1fr auto; gap: .8rem; padding: 1rem 0; }
  .benchmark-row .meter { grid-column: 1 / -1; grid-row: 2; }
  .test-result { grid-template-columns: 1fr; }
  .test-result { min-height: 8rem; padding-right: 6.3rem; }
  .mascot-benchmark { right: -.1rem; width: 5.9rem; }
  .score-ring { display: none; }
  .agent { min-height: auto; display: flex; flex-direction: column; align-items: stretch; gap: 2rem; padding: calc(var(--header-h) + 5.5rem) var(--page-pad) 4rem; }
  .agent-backdrop { position: relative; inset: auto; order: 1; width: 100%; aspect-ratio: 4 / 3; border: 1px solid rgba(72,158,255,.3); border-radius: 1.1rem; background-position: 58% center; transform: none; }
  .agent-shade { display: none; }
  .agent-copy { order: 2; }
  .agent h2 { max-width: 10ch; font-size: clamp(3.8rem, 16vw, 6rem); }
  .agent-process { grid-template-columns: repeat(2, 1fr); }
  .agent-process span { padding: .8rem .5rem; font-size: .58rem; }
  .agent-process span:nth-child(3) { border-left: 0; border-top: 1px solid var(--rule); }
  .agent-process span:nth-child(4) { border-top: 1px solid var(--rule); }
  .agent-console { position: relative; left: auto; right: auto; bottom: auto; order: 3; min-width: 0; flex-direction: row; justify-content: space-between; }
  .agent.is-active .agent-backdrop { transform: none; }
  .memes { display: flex; flex-direction: column; gap: 3rem; padding-top: calc(var(--header-h) + 6.5rem); }
  .memes h2 { font-size: clamp(4.7rem, 20vw, 6.7rem); }
  .sticker-wall { margin: 0; padding: 1rem; border-radius: 1.1rem; }
  .sticker-wall::before { top: .7rem; right: .8rem; }
  .pack-switcher { width: 100%; margin: 0 0 1rem; }
  .pack-switcher button { flex: 1; min-height: 2.75rem; }
  .finale { min-height: max(100svh, 58rem); align-items: flex-start; padding-top: calc(var(--header-h) + 7rem); }
  .finale-image { background-position: 62% center; }
  .finale-shade { background: linear-gradient(0deg, rgba(7,13,14,.67), rgba(7,13,14,.05) 65%); }
  .finale h2 { font-size: clamp(3.8rem, 16vw, 5.6rem); }
}

@media (max-width: 420px) {
  .action-row { display: grid; }
  .button { width: 100%; }
  .copy-pair { grid-template-columns: auto 1fr; }
  .copy-pair i { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .001ms !important; }
  .ticker-track { animation: none !important; transform: none !important; }
}
