:root {
  --night: #100e09;
  --cream: #fdfbee;
  --ink: #15120b;
  --muted: rgb(21 18 11 / 0.62);
  --lime: #d4ff00;
  --lime-1: #56650a;
  --lime-2: #8fae00;
  --font: "Inter Tight", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }
body {
  margin: 0;
  background: var(--night);
  color: var(--cream);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p { margin: 0; }
::selection { background: var(--lime); color: var(--ink); }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }

.skipLink {
  position: absolute;
  top: -48px;
  left: 16px;
  z-index: 400;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink);
}
.skipLink:focus { top: 12px; }

.display {
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.9;
  text-wrap: balance;
}
.eyebrow {
  font-size: 13px;
  font-weight: 600;
  opacity: 0.7;
}
mark { background: none; color: var(--lime); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.01em;
  transition: transform 200ms var(--ease), background 200ms;
}
.btn:hover { transform: translateY(-1px); }
.btnLime { background: var(--lime); color: var(--ink); }
.btnInk { background: var(--ink); color: var(--cream); }
.textLink { font-size: 15px; opacity: 0.66; transition: opacity 200ms; }
.textLink:hover { opacity: 1; }
/* Menu bar + dot nav */
.menu {
  position: sticky;
  top: 0;
  z-index: 400;
  display: flex;
  align-items: center;
  gap: 24px;
  height: 60px;
  padding: 0 clamp(16px, 3vw, 32px);
  border-bottom: 1px solid rgb(253 251 238 / 0.08);
  background: rgb(16 14 9 / 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--cream);
}
.menuLogo { color: var(--lime); font-size: 26px; font-weight: 800; letter-spacing: -0.06em; line-height: 1; }
.menuLogo span { color: var(--cream); }
.menu nav { display: flex; gap: clamp(16px, 2.4vw, 30px); margin-left: auto; font-size: 14px; font-weight: 650; }
.menu nav a { color: rgb(253 251 238 / 0.62); transition: color 200ms; }
.menu nav a:hover, .menu nav a[aria-current="page"] { color: var(--cream); }
.menu nav a[aria-current="page"] { box-shadow: 0 2px 0 var(--lime); }
.menuCta { height: 38px; padding: 0 16px; font-size: 14px; }

.dotNav {
  position: fixed;
  top: 72px;
  left: 50%;
  z-index: 300;
  display: flex;
  align-items: center;
  gap: 4px;
  height: 36px;
  padding: 0 10px;
  border-radius: 999px;
  translate: -50% -70px;
  opacity: 0;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: translate 450ms var(--ease), opacity 300ms, background 300ms, color 300ms;
}
.dotNav[data-visible="true"] { translate: -50% 0; opacity: 1; }
.dotNav[data-tone="dark"] { background: rgb(253 251 238 / 0.12); color: var(--cream); }
.dotNav[data-tone="light"] { background: rgb(21 18 11 / 0.08); color: var(--ink); }
.dotNav button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 14px;
  height: 24px;
  padding: 0 4px;
  border-radius: 999px;
}
.dotNav button::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.55;
}
.dotNav button:hover::before { opacity: 1; }
.dotNav button span {
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 650;
  transition: max-width 400ms var(--ease);
}
.dotNav button[aria-current="true"] { padding: 0 8px; }
.dotNav button[aria-current="true"]::before { display: none; }
.dotNav button[aria-current="true"] span { max-width: 160px; }

/* Dark opening */
.dark { background: var(--night); color: var(--cream); }

.hero {
  padding: clamp(64px, 9vh, 110px) 0 0;
  text-align: center;
}
.heroTitle {
  font-size: min(17vw, 214px);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 0.86;
  animation: rise 1100ms var(--ease) both;
}
.heroTitle span { color: var(--lime); }
.heroCopy {
  width: min(calc(100% - 40px), 560px);
  margin: clamp(28px, 4vh, 44px) auto 0;
  color: rgb(253 251 238 / 0.78);
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.12;
  font-weight: 650;
  text-wrap: pretty;
  animation: rise 1100ms 120ms var(--ease) both;
}
.heroLine { color: var(--cream); font-size: clamp(22px, 2.4vw, 32px); line-height: 1.05; letter-spacing: -0.03em; }
.heroActions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 22px;
  margin-top: 32px;
  padding: 0 20px;
  animation: rise 1100ms 220ms var(--ease) both;
}
@keyframes rise { from { opacity: 0; transform: translateY(28px); } }
.hero .eyebrow { margin-bottom: 24px; animation: rise 1100ms var(--ease) both; }
.heroTitleSm {
  width: min(calc(100% - 40px), 1100px);
  margin: 0 auto;
  font-size: clamp(52px, 8.6vw, 132px);
  line-height: 0.9;
  text-wrap: balance;
}
.heroDemo {
  display: grid;
  justify-items: center;
  margin-top: clamp(56px, 9vh, 96px);
  padding: 0 20px clamp(40px, 8vh, 80px);
  animation: rise 1100ms 320ms var(--ease) both;
}
.heroDemo .artifact { width: min(100%, 600px); text-align: left; }

.state {
  width: min(calc(100% - 48px), 1040px);
  margin: 0 auto;
  padding: clamp(110px, 16vh, 180px) 0 clamp(90px, 14vh, 160px);
  text-align: center;
}
.stateBare { padding-top: clamp(30px, 6vh, 60px); }
.stateBare .bars { margin-top: 0; }
.bars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 4vw, 56px);
  margin-top: clamp(64px, 10vh, 110px);
  text-align: left;
}
.barTrack { position: relative; height: clamp(220px, 30vh, 320px); }
.barFill {
  position: absolute;
  inset: auto 0 0;
  height: var(--h);
  min-height: 4px;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 1200ms var(--ease);
}
.bar:nth-child(1) .barFill { background: var(--lime-1); }
.bar:nth-child(2) .barFill { background: var(--lime-2); transition-delay: 120ms; }
.bar:nth-child(3) .barFill { background: var(--lime); transition-delay: 240ms; }
.barFill span {
  position: absolute;
  left: 16px;
  bottom: calc(100% - 64px);
  color: var(--night);
  font-size: clamp(30px, 3.6vw, 48px);
  font-weight: 700;
  letter-spacing: -0.05em;
}
.bar:nth-child(1) .barFill span { bottom: 14px; color: var(--lime); }
.bars .bar .barFill[data-tiny] span { bottom: calc(100% + 12px); color: var(--lime); }
.bars[data-in="true"] .barFill { transform: scaleY(1); }
.bar p {
  margin-top: 16px;
  font-size: clamp(15px, 1.6vw, 21px);
  line-height: 1.08;
  font-weight: 650;
}
.sources {
  margin-top: 26px;
  color: rgb(253 251 238 / 0.4);
  font-size: 12px;
  font-weight: 550;
  line-height: 1.4;
  text-align: left;
}

.exhibit {
  display: grid;
  place-items: center;
  padding: clamp(40px, 8vh, 80px) 24px clamp(120px, 18vh, 200px);
}
.artifact {
  width: min(100%, 520px);
  border-radius: 14px;
  background: #f5f4ef;
  color: #2b2a26;
  box-shadow: 0 30px 80px rgb(0 0 0 / 0.45);
  overflow: hidden;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  letter-spacing: 0;
}
.artifactBar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 14px;
  background: #e8e6de;
  font-size: 11px;
  color: #77746a;
}
.artifactBar i { width: 9px; height: 9px; border-radius: 50%; background: #c9c6bb; }
.artifactBar span { margin-left: 12px; }
.artifactChat { display: grid; gap: 22px; padding: 30px 26px 34px; }
.artifactAsk {
  justify-self: end;
  max-width: 78%;
  padding: 11px 15px;
  border-radius: 18px;
  background: #e6e4dc;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 450;
}
.artifactThinking {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
}
.shimmer {
  background: linear-gradient(90deg, #9b988c 0%, #9b988c 35%, #2b2a26 50%, #9b988c 65%, #9b988c 100%);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 2.2s linear infinite;
}
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: 0 0; } }
.artifactClock { color: #a6a397; font-size: 12px; font-variant-numeric: tabular-nums; }
.artifactStage { display: grid; min-height: 362px; }
.artifactStage > * { grid-area: 1 / 1; align-self: start; transition: opacity 450ms, translate 600ms var(--ease); }
.artifactWait { display: grid; gap: 16px; }
.demoAd { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 700ms var(--ease), opacity 400ms; opacity: 0; }
.demoAdInner { min-height: 0; overflow: hidden; }
.demoAdTop {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  color: #77746a;
  font-size: 11px;
  font-weight: 550;
}
.demoAdTop b { color: var(--ink); font-weight: 800; letter-spacing: -0.03em; }
.demoAdVideo {
  position: relative;
  aspect-ratio: 1.8;
  border-radius: 12px;
  overflow: hidden;
  background: #1b1f1d;
  color: #fff;
  font-family: var(--font);
}
.demoAdVideo video { display: block; width: 100%; height: 100%; object-fit: cover; }
.demoAdTime {
  position: absolute;
  z-index: 1;
  top: 10px;
  left: 10px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgb(0 0 0 / 0.45);
  font-size: 10px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}
.demoAdProgress { height: 4px; margin-top: 10px; border-radius: 4px; background: #e6e4dc; overflow: hidden; }
.demoAdProgress i { display: block; height: 100%; width: calc(var(--p, 0) * 100%); background: var(--lime-2); }
.artifactAnswer { display: grid; gap: 12px; font-size: 15px; line-height: 1.45; }
.artifactQuote { padding-left: 14px; border-left: 3px solid #d8d5ca; color: #46443d; }
.artifact[data-state="ad"] .demoAd { grid-template-rows: 1fr; opacity: 1; }
.artifact:not([data-state="done"]) .artifactAnswer { opacity: 0; translate: 0 12px; pointer-events: none; }
.artifact[data-state="done"] .artifactWait { opacity: 0; translate: 0 -8px; }
.demoNote {
  margin-top: 18px;
  color: rgb(253 251 238 / 0.5);
  font-size: 13px;
  font-weight: 600;
}
.demoNote b { color: var(--lime); font-weight: 700; }

.fix { position: relative; height: 300vh; }
.fixSticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 40px;
  padding: 0 24px;
  text-align: center;
}
.fixCopy {
  max-width: 1000px;
  font-size: clamp(26px, 3.6vw, 52px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.fixCopy .word {
  display: inline-block;
  white-space: pre;
  will-change: filter, opacity;
}

/* Cream */
.cream { background: var(--cream); color: var(--ink); }


.slogan {
  display: grid;
  justify-items: center;
  padding: clamp(120px, 20vh, 220px) 24px;
  background: var(--night);
  color: var(--cream);
  text-align: center;
}
.slogan h2 { font-size: clamp(44px, 9.5vw, 150px); letter-spacing: -0.06em; line-height: 0.86; }

.elsewhere {
  width: min(calc(100% - 48px), 1180px);
  margin: 0 auto;
  padding: clamp(80px, 12vh, 130px) 0;
}
.elsewhere h2 {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  letter-spacing: -0.045em;
}
.elsewhereLinks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 22px;
}
.elsewhereLinks a {
  display: grid;
  gap: 10px;
  padding: clamp(22px, 3vw, 34px);
  border-radius: 22px;
  background: var(--night);
  color: var(--cream);
  transition: transform 250ms var(--ease);
}
.elsewhereLinks a:hover { transform: translateY(-3px); }
.elsewhereLinks span { color: var(--lime); font-size: 13px; font-weight: 650; }
.elsewhereLinks strong { font-size: clamp(24px, 2.6vw, 36px); font-weight: 700; line-height: 1; letter-spacing: -0.045em; }
.elsewhereLinks small { color: rgb(253 251 238 / 0.62); font-size: 15px; font-weight: 600; }
.elsewhereLinks b { display: inline-block; color: var(--lime); transition: translate 200ms var(--ease); }
.elsewhereLinks a:hover b { translate: 4px 0; }

.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 28px;
  padding: 22px clamp(20px, 4vw, 48px);
  border-top: 1px solid rgb(253 251 238 / 0.1);
  background: var(--night);
  color: rgb(253 251 238 / 0.6);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer a:hover { color: var(--cream); }

@media (max-width: 640px) {
  .menu { gap: 16px; height: 56px; }
  .menuLogo { font-size: 24px; }
  .menuCta { display: none; }
  .dotNav { top: 66px; }
  .dotNav button:not([aria-current="true"]) { display: none; }
  .artifactStage { min-height: 300px; }
  .bars { gap: 10px; }
  .barTrack { height: 200px; }
  .barFill span { left: 8px; font-size: 24px; bottom: calc(100% - 40px); }
  .bar:nth-child(1) .barFill span { bottom: 10px; }
  .bar p { font-size: 13px; }
  .fix { height: 240vh; }
  .elsewhereLinks { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .heroTitle, .heroCopy, .heroActions, .heroDemo, .hero .eyebrow { animation: none; }
  .shimmer { animation: none; color: #77746a; background: none; }
  .barFill { transform: none; transition: none; }
  .fix { height: auto; }
  .fixSticky { position: relative; height: auto; padding: 120px 24px; }
}
