@font-face {
  font-family: "Inter";
  src: url("/fonts/Inter-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: "Geist Mono";
  src: url("/fonts/GeistMono-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: block;
}

:root {
  --bg: #0a0a0a;
  --bg-2: #0e0e0e;
  --bg-3: #111111;
  --line: #222222;
  --line-2: #2a2a2a;
  --text: #f2f2f2;
  --muted: #8c8c8c;
  --dim: #5c5c5c;
  --faint: #3a3a3a;
  --white: #ffffff;
  --max: 1180px;
  --pad: 64px;
  --nav-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: "Inter", ui-sans-serif, system-ui, sans-serif;
  font-weight: 400;
  font-optical-sizing: auto;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 40;
  opacity: 0.045;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

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

button,
input {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  appearance: none;
  border-radius: 0;
}

button {
  cursor: pointer;
}

img,
svg {
  display: block;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dim);
  line-height: 1;
}

/* ——— Nav + hero as one viewport ——— */
.fold {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.fold::after {
  content: "";
  position: absolute;
  right: 8%;
  top: 18%;
  width: 520px;
  height: 520px;
  pointer-events: none;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.015) 38%, transparent 68%);
  z-index: 0;
}

nav {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
  border-bottom: 1px solid var(--line);
}

nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.wordmark {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1;
  padding-left: 1px;
  margin-right: -0.36em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-links a {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--white);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 18px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-solid {
  background: var(--white);
  color: #0a0a0a;
}

.btn-solid:hover {
  background: #d8d8d8;
}

.btn-ghost {
  height: 36px;
  padding: 0 14px;
  border: 1px solid var(--line-2);
  color: var(--text);
  background: transparent;
}

.btn-ghost:hover {
  border-color: #555;
  color: var(--white);
}

/* ——— Hero ——— */
.hero {
  flex: 1;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
  padding: 64px 0 72px;
}

.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 72px;
  align-items: center;
  width: 100%;
}

.hero-copy {
  max-width: 620px;
}

.hero-kicker {
  margin-bottom: 28px;
}

h1 {
  font-size: 84px;
  font-weight: 450;
  letter-spacing: -0.04em;
  line-height: 0.92;
  color: var(--white);
  font-variation-settings: "opsz" 48, "wght" 450;
  margin-bottom: 32px;
}

.subhead {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--muted);
  max-width: 488px;
  margin-bottom: 40px;
}

.waitlist {
  display: flex;
  align-items: stretch;
  max-width: 440px;
  border: 1px solid var(--line-2);
  background: #0c0c0c;
}

.waitlist input {
  flex: 1;
  min-width: 0;
  height: 48px;
  padding: 0 16px;
  font-size: 14px;
  color: var(--text);
  outline: none;
}

.waitlist input::placeholder {
  color: var(--dim);
}

.waitlist .btn {
  height: 48px;
  padding: 0 20px;
  flex-shrink: 0;
  border-left: 1px solid var(--line-2);
}

/* ——— Rule panel ——— */
.panel-wrap {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 420px;
}

.panel {
  position: relative;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #101010 0%, #0c0c0c 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.02) inset,
    0 24px 80px rgba(0, 0, 0, 0.45),
    0 0 120px rgba(255, 255, 255, 0.045);
}

.panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}

.panel-top-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.panel-title {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dim);
}

.live {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #cfcfcf;
}

.live i {
  width: 5px;
  height: 5px;
  background: #f2f2f2;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.7);
  display: block;
}

.panel-body {
  padding: 8px 0 4px;
}

.rule {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  column-gap: 16px;
  padding: 18px 20px;
}

.rule + .rule {
  border-top: 1px solid var(--line);
}

.rule-name {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
  grid-column: 1;
}

.rule-value {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 22px;
  font-weight: 450;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-top: 8px;
  grid-column: 1;
  line-height: 1;
}

.badge {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  height: 22px;
  padding: 0 8px;
  border: 1px solid var(--line-2);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #bdbdbd;
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.event {
  margin: 8px 12px 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: #0a0a0a;
}

.event-time {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--dim);
  margin-bottom: 6px;
}

.event-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 4px;
}

.event-rule {
  font-size: 12px;
  color: var(--muted);
}

.panel-caption {
  margin-top: 14px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--faint);
  text-align: right;
}

/* ——— Sections ——— */
section.block {
  position: relative;
  z-index: 1;
  padding: 120px 0;
  border-top: 1px solid var(--line);
}

.section-head {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 64px;
}

.section-head .label {
  flex-shrink: 0;
}

.section-head::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

/* ——— How it works ——— */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--line);
}

.step {
  padding: 36px 32px 40px;
}

.step + .step {
  border-left: 1px solid var(--line);
}

.step-num {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--dim);
  margin-bottom: 28px;
}

.step h3 {
  font-size: 20px;
  font-weight: 450;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 14px;
  font-variation-settings: "opsz" 20, "wght" 450;
}

.step p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 320px;
}

/* ——— Features ——— */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
}

.feature {
  padding: 36px 32px 40px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature:nth-child(3n) {
  border-right: 0;
}

.feature:nth-child(n + 4) {
  border-bottom: 0;
}

.feature h3 {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 14px;
}

.feature p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 300px;
}

/* ——— Deterministic ——— */
.manifesto {
  display: grid;
  grid-template-columns: 420px minmax(0, 1fr);
  gap: 80px;
  align-items: start;
}

.manifesto h2 {
  font-size: 40px;
  font-weight: 450;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: var(--white);
  font-variation-settings: "opsz" 32, "wght" 450;
  max-width: 420px;
}

.statements p {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  color: #b3b3b3;
  max-width: 640px;
  padding: 32px 0;
}

.statements p + p {
  border-top: 1px solid var(--line);
}

.statements p:first-child {
  padding-top: 0;
}

.statements p:last-child {
  padding-bottom: 0;
}

/* ——— FAQ ——— */
.faq-layout {
  display: grid;
  grid-template-columns: minmax(180px, 0.32fr) minmax(0, 1fr);
  gap: 80px;
  align-items: start;
}

.faq-layout h2 {
  font-size: 40px;
  font-weight: 450;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: var(--white);
  font-variation-settings: "opsz" 32, "wght" 450;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
}

.faq-q {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  font-size: 16px;
  font-weight: 500;
  color: var(--white);
  letter-spacing: -0.01em;
}

.faq-icon {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  position: relative;
  margin-top: 3px;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: #6a6a6a;
}

.faq-icon::before {
  top: 7px;
  left: 0;
  width: 16px;
  height: 1px;
}

.faq-icon::after {
  top: 0;
  left: 7px;
  width: 1px;
  height: 16px;
}

.faq-item.open .faq-icon::after {
  display: none;
}

.faq-item.open .faq-icon::before {
  background: #c8c8c8;
}

.faq-a {
  display: none;
  padding: 14px 40px 4px 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 560px;
}

.faq-item.open .faq-a {
  display: block;
}

/* ——— CTA ——— */
.cta {
  text-align: center;
  padding: 140px 0 !important;
}

.cta h2 {
  font-size: 72px;
  font-weight: 450;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--white);
  font-variation-settings: "opsz" 48, "wght" 450;
  margin: 28px 0 40px;
}

.cta .waitlist {
  margin: 0 auto;
}

/* ——— Footer ——— */
footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
  padding: 48px 0 56px;
}

.footer-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0;
  font-size: 12px;
  color: var(--dim);
  letter-spacing: 0.01em;
}

.footer-meta .dot {
  margin: 0 10px;
  color: #5a5a5a;
}

.footer-meta a {
  color: var(--muted);
}

.footer-meta a:hover {
  color: var(--white);
}

.creators {
  font-size: 12px;
  color: var(--dim);
}

.creators a {
  color: var(--muted);
  border-bottom: 1px solid #333;
  padding-bottom: 1px;
  white-space: nowrap;
}

.creators a:hover {
  color: var(--white);
  border-bottom-color: #888;
}

.disclaimer {
  font-size: 11px;
  line-height: 1.7;
  color: #5a5a5a;
  max-width: 720px;
}

/* ——— Mobile ——— */
@media (max-width: 960px) {
  :root {
    --pad: 28px;
  }

  .nav-links {
    display: none;
  }

  h1 {
    font-size: 56px;
  }

  .hero {
    padding: 48px 0 64px;
  }

  .hero .wrap {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .panel-wrap {
    justify-self: stretch;
    max-width: 100%;
  }

  .fold::after {
    width: 280px;
    height: 280px;
    right: 0;
    top: 48%;
  }

  .steps,
  .features {
    grid-template-columns: 1fr;
  }

  .step + .step,
  .feature,
  .feature:nth-child(3n) {
    border-left: 0;
    border-right: 0;
  }

  .step + .step,
  .feature + .feature {
    border-top: 1px solid var(--line);
  }

  .feature,
  .feature:nth-child(n + 4) {
    border-bottom: 0;
  }

  .manifesto,
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .manifesto h2,
  .faq-layout h2 {
    font-size: 32px;
    max-width: none;
  }

  .cta h2 {
    font-size: 44px;
  }

  section.block {
    padding: 88px 0;
  }

  .cta {
    padding: 100px 0 !important;
  }

  .statements p {
    font-size: 17px;
    padding: 24px 0;
  }
}

@media (max-width: 520px) {
  :root {
    --pad: 20px;
    --nav-h: 64px;
  }

  .wordmark {
    letter-spacing: 0.28em;
    font-size: 11px;
  }

  .btn-ghost {
    height: 32px;
    padding: 0 10px;
    font-size: 11px;
  }

  h1 {
    font-size: 42px;
    letter-spacing: -0.035em;
    margin-bottom: 22px;
  }

  .subhead {
    font-size: 15px;
    margin-bottom: 28px;
  }

  .waitlist {
    flex-direction: column;
    max-width: none;
  }

  .waitlist input {
    height: 48px;
  }

  .waitlist .btn {
    height: 48px;
    width: 100%;
    border-left: 0;
    border-top: 1px solid var(--line-2);
  }

  .rule-value {
    font-size: 20px;
  }

  .step,
  .feature {
    padding: 28px 22px 32px;
  }

  .cta h2 {
    font-size: 36px;
    margin: 20px 0 32px;
  }

  .footer-row {
    flex-direction: column;
    gap: 16px;
    margin-bottom: 28px;
  }

  .footer-meta {
    flex-direction: column;
    gap: 8px;
  }

  .footer-meta .dot {
    display: none;
  }
}

/* ——— Waitlist states ——— */
.waitlist {
  position: relative;
}

.waitlist .hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 520px) {
  .waitlist input[type="email"] {
    flex: 0 0 auto;
    height: 52px;
    font-size: 16px;
  }
}

.waitlist input[type="email"]:focus {
  background: #101010;
}

.waitlist.is-busy .btn {
  opacity: 0.6;
  pointer-events: none;
}

.waitlist .done-msg {
  display: none;
}

.waitlist.is-done input,
.waitlist.is-done .btn {
  display: none;
}

.waitlist.is-done .done-msg {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  height: 48px;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.01em;
}

.done-mark {
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  border: 1px solid var(--white);
  transform: rotate(45deg);
}

.cta .waitlist.is-done .done-msg {
  justify-content: center;
}

.form-status {
  height: 0;
  overflow: visible;
  transform: translateY(12px);
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
  letter-spacing: 0.01em;
}

.form-status:empty {
  visibility: hidden;
}

.cta .form-status {
  text-align: center;
}

.faq-q {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.faq-q:focus-visible {
  outline: 1px solid var(--line-2);
  outline-offset: 6px;
}

section.block,
footer {
  scroll-margin-top: 0;
}
