:root {
  --bg: #07080d;
  --ink: #f4f7fb;
  --muted: #a7b0c2;
  --faint: #7c8698;
  --line: rgba(244, 247, 251, 0.1);
  --line-strong: rgba(244, 247, 251, 0.16);
  --card: #10131b;
  --card-2: #0c0f16;
  --mint: #7dffc3;
  --mint-ink: #d8ffee;
  --sans: "Geist", system-ui, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }

.atmosphere {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(720px 340px at 82% -8%, rgba(109, 92, 255, 0.32), transparent 68%),
    radial-gradient(560px 300px at 12% -10%, rgba(36, 72, 150, 0.28), transparent 70%),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: auto, auto, 72px 72px, 72px 72px;
  mask-image: linear-gradient(#000 0%, #000 42%, transparent 78%);
}

.nav, main, .foot { position: relative; z-index: 1; }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 28px;
  position: sticky;
  top: 0;
  background: #07080d;
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: -0.04em;
  font-size: 18px;
}

.brand .mark { width: 62px; height: 17px; display: block; flex: none; }

.nav-mail {
  color: var(--muted);
  font-size: 14px;
}

.nav-mail:hover,
.mail:hover,
.foot a:hover { color: var(--ink); }

.brand:focus-visible,
.ef:focus-visible,
.nav-mail:focus-visible,
.mail:focus-visible,
.foot a:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 4px;
}

.ef {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 5px 6px 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(150, 140, 255, 0.45);
  background: rgba(22, 18, 48, 0.78);
  box-shadow: 0 0 28px rgba(90, 70, 220, 0.2);
  color: #eceaff;
  font-size: 13px;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.ef-mark {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #6d4dff;
  color: white;
  font-size: 10px;
  font-weight: 600;
}

.hero {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
  padding: 84px 0 8px;
  text-align: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.kicker i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 4px rgba(125, 255, 195, 0.12);
}

h1 {
  margin: 0;
  font-size: clamp(52px, 7vw, 92px);
  font-weight: 500;
  letter-spacing: -0.058em;
  line-height: 0.94;
}

.lede {
  max-width: 640px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.reads {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.reads li {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: #d7deea;
  font-size: 13.5px;
}

.stage {
  width: min(1080px, calc(100% - 40px));
  margin: 56px auto 0;
}

.panel {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 120px),
    var(--card);
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  box-shadow:
    0 40px 90px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  padding: 8px;
}

.prompt { padding: 18px 18px 16px; }

.prompt-label,
.path-top,
.split header span,
.rank,
.run time,
.who small,
.fine,
.draft span {
  color: var(--faint);
  font-size: 12px;
}

.prompt-label,
.path-top,
.split header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.prompt-label {
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.prompt p {
  margin: 12px 0 0;
  max-width: 22em;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.18;
}

.caret {
  display: inline-block;
  width: 1px;
  height: 0.85em;
  margin-left: 3px;
  background: var(--mint);
  vertical-align: -2px;
  animation: blink 1.05s steps(1) infinite;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 0 10px;
}

.metrics div {
  padding: 14px 16px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
}

.metrics dt { margin: 0; color: var(--faint); font-size: 12px; }

.metrics dd {
  margin: 8px 0 0;
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 8px;
  margin: 8px;
}

.split section {
  padding: 16px 16px 8px;
  border-radius: 16px;
  background: var(--card-2);
  border: 1px solid var(--line);
}

.split h2 { margin: 0; font-size: 15px; font-weight: 600; }

.split ol { list-style: none; margin: 8px 0 0; padding: 0; }

.split li {
  display: grid;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.split section:first-child li { grid-template-columns: 28px 1fr auto; }
.run li { grid-template-columns: 8px 1fr auto; }

.who { display: flex; flex-direction: column; min-width: 0; }
.who strong { font-weight: 600; font-size: 15px; }
.who small { margin-top: 2px; }

.split b {
  font-weight: 600;
  color: var(--mint-ink);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4d5568;
}

.dot.done { background: var(--mint); }
.dot.live { background: #e7edf6; box-shadow: 0 0 0 4px rgba(231, 237, 246, 0.1); }

.path { margin-top: 4px; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, 0.06); }
.path svg { display: block; width: 100%; height: 64px; margin-top: 6px; }

.draft {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 12px 0 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 14.5px;
}

.draft span {
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fine { margin: 14px 4px 0; text-align: center; }

.passes, .contact {
  width: min(1080px, calc(100% - 40px));
  margin: 88px auto 0;
}

.passes header { max-width: 16em; }

.passes h2, .contact h2 {
  margin: 0;
  font-size: clamp(36px, 4.4vw, 56px);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.passes ol {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
}

.passes li {
  padding: 22px 20px 24px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}

.passes li span {
  display: block;
  margin-bottom: 28px;
  color: var(--mint);
  font-size: 13px;
  letter-spacing: 0.08em;
}

.passes h3 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.passes li p, .contact > p:last-child {
  margin: 0;
  color: var(--muted);
}

.contact {
  padding: 36px 0 8px;
  border-top: 1px solid var(--line);
}

.contact h2 { font-size: clamp(48px, 6vw, 76px); }

.mail {
  display: inline-block;
  margin: 14px 0 12px;
  font-size: clamp(22px, 3vw, 32px);
  letter-spacing: -0.04em;
  border-bottom: 1px solid rgba(125, 255, 195, 0.55);
  color: var(--mint-ink);
}

.contact > p:last-child { max-width: 36em; }

.foot {
  width: min(1080px, calc(100% - 40px));
  margin: 36px auto 0;
  padding: 20px 0 32px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px 24px;
  color: var(--faint);
  font-size: 14px;
}

.foot p { margin: 0; }
.foot .brand { color: var(--ink); }
.foot a:not(.brand) { color: var(--muted); }

@media (max-width: 900px) {
  .passes ol, .split { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .nav { padding: 14px 16px; }
  .nav-mail { display: none; }
  .hero, .stage, .passes, .contact, .foot { width: min(1080px, calc(100% - 28px)); }
  .hero { padding-top: 56px; }
  h1 { font-size: 46px; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .foot { flex-wrap: wrap; }
  .ef span:first-child { display: none; }
  .ef::before { content: "Backed by"; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .caret { animation: none; }
}

@keyframes blink {
  50% { opacity: 0; }
}
