@font-face {
  font-family: Bricolage;
  src: url("/assets/bricolage-grotesque.woff2") format("woff2");
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --background: #111712;
  --panel: #19201a;
  --panel-warm: #20241b;
  --field: #121813;
  --text: #fff3dd;
  --muted: #cdc7b6;
  --accent: #f2cc8a;
  --accent-hover: #ffda9e;
  --on-accent: #281c13;
  --line: #3b4639;
  --field-line: #74796a;
  --error: #ffb5a6;
  --success: #bddcaa;
  --display: Bricolage, "Trebuchet MS", system-ui, sans-serif;
  --body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --gutter: clamp(1.25rem, 5vw, 4rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font: 1rem/1.6 var(--body);
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: 0.22em; }
p, h1, h2, dl, dd, figure { margin: 0; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent-hover); outline-offset: 5px; }
[id] { scroll-margin-top: 1.5rem; }

.container {
  width: min(100% - var(--gutter) * 2, 74rem);
  margin-inline: auto;
}
.section { padding-block: clamp(3.75rem, 8vw, 7rem); }
.eyebrow {
  margin-bottom: 0.85rem;
  color: var(--accent);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  line-height: 1.55;
  text-transform: uppercase;
}
.section-lead {
  max-width: 38ch;
  margin-top: 0.8rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.65;
  overflow-wrap: anywhere;
}
h1, h2, .brand {
  font-family: var(--display);
  font-optical-sizing: auto;
  font-weight: 800;
}
h2 {
  font-size: clamp(2.2rem, 4.1vw, 4.3rem);
  line-height: 1.04;
  letter-spacing: -0.038em;
  text-wrap: balance;
}
.button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.45rem;
  border: 1px solid transparent;
  border-radius: 0.75rem;
  font: 700 1rem/1.25 var(--body);
  text-align: center;
  text-decoration: none;
  text-wrap: balance;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}
.button:active { transform: scale(0.97); }
.button-primary { background: var(--accent); color: var(--on-accent); }
.button-primary:hover { background: var(--accent-hover); }
.button-outline {
  border-color: #77785b;
  background: #181e17;
  color: var(--text);
}
.button-outline:hover { border-color: var(--accent); background: #29291e; }
.button:disabled { opacity: 0.64; cursor: progress; transform: none; }

.skip-link {
  position: absolute;
  top: 0.5rem;
  left: var(--gutter);
  z-index: 10;
  transform: translateY(-160%);
  border-radius: 0.5rem;
  padding: 0.5rem 0.8rem;
  background: var(--accent);
  color: var(--on-accent);
}
.skip-link:focus { transform: translateY(0); }

.site-header { position: relative; z-index: 1; background: #141b15; border-bottom: 1px solid #333b30; }
.header-inner {
  display: grid;
  min-height: 4.75rem;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
}
.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 0.65rem;
  color: var(--text);
  font-size: 1.65rem;
  letter-spacing: -0.045em;
  line-height: 1;
  text-decoration: none;
}
.brand img { border-radius: 0.7rem; }
.site-nav { display: flex; align-items: center; gap: clamp(1.25rem, 3vw, 2.25rem); }
.site-nav a {
  display: grid;
  min-height: 2.75rem;
  place-items: center;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
}
.site-nav a:hover, .site-footer a:hover { color: var(--accent); }
.nav-cta {
  grid-column: 3;
  min-height: 2.75rem;
  justify-self: end;
  padding-inline: 1rem;
  font-size: 0.875rem;
}

.hero {
  position: relative;
  display: grid;
  min-height: clamp(36rem, 45vw, 47rem);
  align-items: center;
  isolation: isolate;
  background: #17201a;
}
.hero-art, .hero-art img, .hero::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-art { z-index: -2; }
.hero-art img { object-fit: cover; object-position: 49% 47%; }
.hero::after {
  z-index: -1;
  content: "";
  background:
    linear-gradient(0deg, var(--background), #11171200 21%),
    linear-gradient(90deg, #10181000 26%, #10181063 47%, #111914db 68%, #111914 100%);
}
.hero-inner { display: grid; grid-template-columns: 48% minmax(0, 1fr); }
.hero-copy { grid-column: 2; padding-block: 4rem 5.6rem; }
.hero h1 {
  max-width: 12ch;
  font-size: clamp(3.65rem, 7vw, 7rem);
  font-weight: 750;
  line-height: 0.91;
  letter-spacing: -0.032em;
}
.hero h1 span { display: block; color: var(--accent); }
.hero-lead {
  max-width: 38ch;
  margin: 1.55rem 0 1.75rem;
  color: var(--text);
  font-size: clamp(1.08rem, 1.65vw, 1.35rem);
  line-height: 1.53;
}
.hero-note { margin-top: 0.72rem; color: var(--muted); font-size: 0.875rem; }

.world { padding-top: clamp(3.25rem, 6vw, 5rem); }
.world-grid, .beta-panel, .questions-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 6vw, 5.75rem);
}
.world-grid { align-items: start; }
.world-figure picture {
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  border: 1px solid var(--line);
  border-radius: 1.125rem;
  background: var(--panel);
}
.world-figure img { width: 100%; height: 100%; object-fit: cover; }
.world-figure figcaption { margin-top: 0.6rem; color: var(--muted); font-size: 0.8125rem; }
.world-details { margin-top: 1.65rem; border-top: 1px solid var(--line); }
.world-details > div { padding-block: 0.77rem; border-bottom: 1px solid var(--line); }
.world-details dt { color: var(--text); font-weight: 700; }
.world-details dd { color: var(--muted); }

.beta { padding-block: clamp(1.3rem, 4vw, 4rem); }
.beta-panel {
  align-items: center;
  gap: clamp(1.75rem, 6vw, 5.75rem);
  padding: clamp(1.5rem, 5vw, 4.5rem);
  border: 1px solid #465041;
  border-radius: 1.375rem;
  background: var(--panel-warm);
}
.beta-panel > :first-child { align-self: start; }
.launch-plan {
  display: grid;
  max-width: 37ch;
  gap: 0.25rem;
  margin-top: 1.5rem;
  padding: 1rem 0 0 1rem;
  border-top: 1px solid var(--line);
  border-left: 2px solid var(--accent);
  color: var(--muted);
  font-size: 0.9375rem;
}
.plan-label { color: var(--accent); font-weight: 650; }
.plan-price {
  color: var(--text);
  font: 800 clamp(1.8rem, 3vw, 2.55rem)/1.1 var(--display);
  letter-spacing: -0.04em;
}
.plan-price span { font: 600 1rem/1.3 var(--body); letter-spacing: normal; }
.beta-form { display: grid; gap: 0.95rem; }
.form-field { display: grid; gap: 0.4rem; }
.form-field label { font-weight: 650; }
.form-field input {
  width: 100%;
  min-height: 3.15rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--field-line);
  border-radius: 0.625rem;
  background: var(--field);
  color: var(--text);
  font: 1rem/1.45 var(--body);
}
.form-field input::placeholder { color: #aaa99b; opacity: 1; }
.form-field input:focus { border-color: var(--accent); }
.form-consent {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.62rem;
  color: var(--muted);
  font-size: 0.9375rem;
}
.form-consent input { width: 1.25rem; height: 1.25rem; margin: 0.18rem 0 0; accent-color: var(--accent); }
.form-consent label { min-height: 2.75rem; }
.optional { color: var(--muted); font-size: 0.875rem; }
.form-status { min-height: 1.5rem; color: var(--muted); font-size: 0.9375rem; }
.form-status[data-kind="success"] { color: var(--success); }
.form-status[data-kind="error"] { color: var(--error); }

.questions-grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
.questions h2 { font-size: clamp(2rem, 3.45vw, 3.5rem); text-wrap: wrap; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  min-height: 3.75rem;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  padding-block: 0.6rem;
  color: var(--text);
  font-weight: 650;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  width: 0.58rem;
  height: 0.58rem;
  flex: none;
  margin-right: 0.2rem;
  transform: translateY(-0.15rem) rotate(45deg);
  border-right: 1.5px solid var(--accent);
  border-bottom: 1.5px solid var(--accent);
  content: "";
}
.faq details[open] summary::after { transform: translateY(0.15rem) rotate(225deg); }
.faq details p { padding: 0 2rem 1.1rem 0; color: var(--muted); }

.site-footer { padding-block: 1.6rem; border-top: 1px solid var(--line); }
.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.875rem;
}
.footer-brand { font-size: 1.3rem; }
.footer-inner > a:last-child { justify-self: end; color: var(--muted); text-underline-offset: 0.25em; }

.document {
  max-width: 46rem;
  padding-block: 4rem;
  overflow-wrap: anywhere;
}
.document h1 { margin-bottom: 0.85rem; font-size: clamp(2.25rem, 5vw, 4.3rem); line-height: 1; letter-spacing: -0.04em; }
.document h2 { margin: 2rem 0 0.5rem; font-size: clamp(1.35rem, 2.2vw, 1.9rem); letter-spacing: -0.025em; }
.document p { max-width: 67ch; color: var(--muted); }
.document .button { margin-top: 2rem; }

@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 44% minmax(0, 1fr); }
  .hero { min-height: 34rem; }
}
@media (max-width: 760px) {
  .header-inner { grid-template-columns: minmax(0, 1fr) auto; gap: 0.65rem; min-height: 4.25rem; }
  .site-nav { display: none; }
  .nav-cta { grid-column: 2; }
  .hero { min-height: 0; background: var(--background); }
  .hero-art img { object-position: 30% 45%; }
  .hero-art, .hero::after { bottom: auto; height: min(27.5rem, 83vw); }
  .hero::after {
    background: linear-gradient(180deg, #1117120a 12%, #11171240 42%, #111712ad 69%, var(--background) 100%);
  }
  .hero-inner { display: block; }
  .hero-copy { padding-block: min(48vw, 16rem) 2.75rem; }
  .hero h1 { font-size: clamp(3.3rem, 9.4vw, 5.75rem); }
  .hero-lead { margin-block: 1.15rem 1.35rem; }
  .world-grid, .beta-panel, .questions-grid { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
  .world-copy { grid-row: 1; }
  .world { padding-top: 1.4rem; }
  .world-details { margin-top: 1.15rem; }
  .beta-panel { padding: clamp(1.15rem, 4.5vw, 2rem); }
  .footer-inner { grid-template-columns: minmax(0, 1fr) auto; column-gap: 0.6rem; }
  .footer-inner p { grid-column: 1; grid-row: 2; }
}
@media (max-width: 365px) {
  .nav-cta { padding-inline: 0.65rem; }
  .brand { font-size: 1.4rem; }
  .brand img { width: 2.25rem; height: 2.25rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
