:root {
  color-scheme: dark;
  --bg: #090d15;
  --bg-raised: #121a29;
  --surface: rgba(18, 26, 41, 0.86);
  --surface-strong: #182235;
  --border: #26354b;
  --border-soft: rgba(148, 163, 184, 0.14);
  --text: #f6f8fb;
  --muted: #99a5b7;
  --subtle: #69778c;
  --accent: #f4b45f;
  --accent-strong: #ffc777;
  --accent-soft: rgba(244, 180, 95, 0.1);
  --success: #2bc48a;
  --max-width: 1180px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.3);
  --font-sans: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 12% -8%, rgba(244, 180, 95, 0.09), transparent 30rem),
    radial-gradient(circle at 90% 8%, rgba(90, 118, 165, 0.09), transparent 28rem),
    var(--bg);
  font-family: var(--font-sans);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 76%);
  content: "";
  pointer-events: none;
}

a {
  color: inherit;
}

svg {
  display: block;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  border: 1px solid var(--accent);
  border-radius: var(--radius-sm);
  color: var(--text);
  background: var(--bg-raised);
  transform: translateY(-180%);
  transition: transform 150ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-shell {
  width: min(100% - 40px, var(--max-width));
  margin: 0 auto;
}

.site-header {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid var(--border-soft);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 64px;
  height: 44px;
  flex: 0 0 64px;
  place-items: center;
}

.brand-mark img {
  display: block;
  width: 64px;
  height: 44px;
  object-fit: contain;
  object-position: center;
}

.brand-copy {
  display: grid;
  gap: 1px;
}

.brand-copy strong {
  font-size: 0.94rem;
  letter-spacing: 0.12em;
}

.brand-copy span {
  color: var(--subtle);
  font-size: 0.72rem;
}

.header-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.header-nav a {
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: 9px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 150ms ease, border-color 150ms ease, background-color 150ms ease;
}

.header-nav a:hover,
.header-nav a:focus-visible {
  border-color: var(--border-soft);
  color: var(--text);
  background: rgba(255, 255, 255, 0.025);
}

.header-nav .language-link {
  border-color: var(--border);
  color: var(--accent);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: center;
  min-height: 0;
  padding: clamp(58px, 7vw, 76px) 0 clamp(68px, 8vw, 92px);
}

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

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 11px;
  border: 1px solid rgba(244, 180, 95, 0.24);
  border-radius: 999px;
  color: var(--accent-strong);
  background: var(--accent-soft);
  font-family: var(--font-mono);
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(244, 180, 95, 0.11);
  animation: status-pulse 2.6s ease-in-out infinite;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero .eyebrow {
  margin-top: 26px;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(2.8rem, 5.7vw, 4.7rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.hero-summary {
  max-width: 60ch;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.16rem);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 150ms ease, border-color 150ms ease, background-color 150ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: #17120a;
  background: var(--accent);
  box-shadow: 0 14px 34px rgba(244, 180, 95, 0.14);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--accent-strong);
}

.button-secondary {
  border-color: var(--border);
  color: var(--text);
  background: rgba(18, 26, 41, 0.56);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(244, 180, 95, 0.38);
}

.launch-note {
  max-width: 60ch;
  margin: 22px 0 0;
  color: var(--subtle);
  font-size: 0.78rem;
}

.story-model {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.028), transparent 45%),
    var(--surface);
  box-shadow: var(--shadow);
}

.story-model::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  content: "";
}

.model-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border-soft);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.model-state {
  color: var(--accent);
}

.model-steps {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.model-steps li {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  padding: 24px 22px;
  border-bottom: 1px solid var(--border-soft);
}

.model-steps li:last-child {
  border-bottom: 0;
}

.step-index,
.card-number {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
}

.model-steps strong {
  display: block;
  margin-bottom: 7px;
  font-size: 0.94rem;
}

.model-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.6;
}

.section {
  padding: 104px 0;
  border-top: 1px solid var(--border-soft);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 44px;
}

.section-heading h2,
.privacy-panel h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.section-heading > p:last-child {
  max-width: 68ch;
  margin: 20px 0 0;
  color: var(--muted);
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.principle-card {
  min-height: 246px;
  padding: 26px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  background: rgba(18, 26, 41, 0.5);
}

.principle-card h3 {
  margin: 48px 0 10px;
  font-size: 1rem;
}

.principle-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.interest-section {
  scroll-margin-top: 24px;
}

.interest-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 22px;
  align-items: start;
}

.interest-form,
.waitlist-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.025), transparent 42%),
    rgba(18, 26, 41, 0.72);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.18);
}

.interest-form {
  position: relative;
  display: grid;
  overflow: hidden;
  gap: 20px;
  padding: clamp(22px, 3vw, 32px);
  border-color: rgba(244, 180, 95, 0.24);
  background:
    radial-gradient(circle at 0 0, rgba(244, 180, 95, 0.09), transparent 24rem),
    linear-gradient(160deg, rgba(24, 34, 53, 0.94), rgba(13, 20, 32, 0.9));
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.22);
}

.interest-form::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  content: "";
}

.waitlist-card {
  position: sticky;
  top: 24px;
  padding: clamp(24px, 4vw, 34px);
}

.form-heading {
  display: grid;
  gap: 6px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-soft);
}

.form-kicker {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.form-heading h3,
.waitlist-card h3 {
  margin: 0;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.waitlist-card > p:not(.eyebrow) {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.interest-form fieldset {
  min-width: 0;
  margin: 0;
  padding: 18px;
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  background: rgba(9, 13, 21, 0.34);
}

.interest-form legend {
  max-width: 68ch;
  margin-bottom: 14px;
  padding: 0 6px;
  color: var(--text);
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1.5;
}

.field-help {
  margin: -8px 0 14px;
  color: var(--subtle);
  font-size: 0.74rem;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.choice-grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.choice-card {
  position: relative;
  display: flex;
  min-height: 48px;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 11px;
  color: var(--muted);
  background: rgba(7, 11, 18, 0.5);
  cursor: pointer;
  font-size: 0.79rem;
  line-height: 1.4;
  transition: transform 150ms ease, border-color 150ms ease, color 150ms ease, background-color 150ms ease, box-shadow 150ms ease;
}

.choice-card::before {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  border: 1px solid #43516a;
  border-radius: 5px;
  background: #0c1320;
  box-shadow: inset 0 0 0 3px #0c1320;
  content: "";
  transition: border-color 150ms ease, background-color 150ms ease, box-shadow 150ms ease;
}

.choice-card:has(input[type="radio"])::before {
  border-radius: 50%;
}

.choice-card:hover {
  transform: translateY(-1px);
  border-color: rgba(244, 180, 95, 0.36);
  color: var(--text);
  background: rgba(18, 26, 41, 0.76);
}

.choice-card:has(input:checked) {
  border-color: rgba(244, 180, 95, 0.62);
  color: var(--text);
  background: linear-gradient(145deg, rgba(244, 180, 95, 0.14), rgba(244, 180, 95, 0.06));
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.14);
}

.choice-card:has(input:checked)::before {
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: inset 0 0 0 4px #111927;
}

.choice-card:has(input[type="checkbox"]:checked)::before {
  box-shadow: none;
}

.choice-card:has(input[type="checkbox"]:checked)::after {
  position: absolute;
  top: 50%;
  left: 18px;
  width: 5px;
  height: 9px;
  border-right: 2px solid #17120a;
  border-bottom: 2px solid #17120a;
  content: "";
  transform: translateY(-60%) rotate(45deg);
}

.choice-card:has(input:focus-visible) {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.choice-card input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.consent-row input {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  margin: 0;
  accent-color: var(--accent);
}

.select-field {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  background: rgba(9, 13, 21, 0.34);
}

.field-label {
  display: block;
  margin: 0;
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 800;
}

.field-label span {
  color: var(--subtle);
  font-weight: 500;
}

.interest-form select,
.waitlist-form input[type="email"] {
  width: 100%;
  min-height: 48px;
  padding: 0 13px;
  border: 1px solid var(--border);
  border-radius: 11px;
  color: var(--text);
  background: #0d1420;
  font: inherit;
  transition: border-color 150ms ease, background-color 150ms ease, box-shadow 150ms ease;
}

.interest-form select:hover,
.waitlist-form input[type="email"]:hover {
  border-color: rgba(244, 180, 95, 0.34);
  background: #101927;
}

.interest-form select:focus-visible,
.waitlist-form input[type="email"]:focus-visible {
  border-color: var(--accent);
  outline: 2px solid rgba(244, 180, 95, 0.18);
  outline-offset: 2px;
}

.waitlist-form {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.waitlist-form .field-label {
  margin-bottom: -10px;
}

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.74rem;
  line-height: 1.55;
}

.consent-row input {
  margin-top: 3px;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.interest-form button,
.waitlist-form button {
  cursor: pointer;
  font-family: inherit;
}

.interest-form button:disabled,
.waitlist-form button:disabled {
  cursor: wait;
  opacity: 0.64;
  transform: none;
}

.form-status {
  min-height: 1.5em;
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
}

.form-status[data-state="success"] {
  color: var(--success);
}

.form-status[data-state="error"] {
  color: #ff9c9c;
}

.form-trap {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.status-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(420px, 1.2fr);
  gap: clamp(48px, 8vw, 96px);
}

.status-section .section-heading {
  margin-bottom: 0;
}

.status-list {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(18, 26, 41, 0.55);
}

.status-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 22px;
  border-bottom: 1px solid var(--border-soft);
}

.status-row:last-child {
  border-bottom: 0;
}

.status-row strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.9rem;
}

.status-row p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.status-icon {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--subtle);
  font-size: 0.72rem;
}

.status-icon.complete {
  border-color: rgba(43, 196, 138, 0.34);
  color: var(--success);
  background: rgba(43, 196, 138, 0.08);
}

.status-icon.active::after,
.status-icon.next::after {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.status-icon.active {
  border-color: rgba(244, 180, 95, 0.34);
  color: var(--accent);
  background: var(--accent-soft);
}

.status-label {
  padding: 6px 8px;
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  color: var(--subtle);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.active-label {
  border-color: rgba(244, 180, 95, 0.24);
  color: var(--accent);
  background: var(--accent-soft);
}

.privacy-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
  gap: clamp(38px, 7vw, 86px);
  align-items: end;
  margin: 24px 0 92px;
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid rgba(244, 180, 95, 0.22);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(125deg, rgba(244, 180, 95, 0.065), transparent 58%),
    rgba(18, 26, 41, 0.68);
}

.privacy-panel > p {
  margin: 0;
  color: var(--muted);
}

.site-footer {
  display: flex;
  min-height: 110px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--border-soft);
  color: var(--subtle);
  font-size: 0.72rem;
}

.site-footer div {
  display: grid;
  gap: 2px;
}

.site-footer strong {
  color: var(--text);
  letter-spacing: 0.1em;
}

.site-footer p {
  margin: 0;
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

@keyframes status-pulse {
  0%, 100% { opacity: 0.62; transform: scale(0.92); }
  50% { opacity: 1; transform: scale(1.08); }
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 20px 0;
  }

  .header-nav {
    width: 100%;
    justify-content: flex-start;
  }

  .hero,
  .interest-layout,
  .status-section,
  .privacy-panel {
    grid-template-columns: 1fr;
  }

  .waitlist-card {
    position: static;
  }

  .hero {
    min-height: 0;
    padding: 52px 0 68px;
  }

  .principle-grid {
    grid-template-columns: 1fr;
  }

  .principle-card {
    min-height: 0;
  }

  .principle-card h3 {
    margin-top: 28px;
  }
}

@media (max-width: 620px) {
  .site-shell {
    width: min(100% - 24px, var(--max-width));
  }

  .brand-copy span {
    display: none;
  }

  .header-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .header-nav a {
    text-align: center;
  }

  h1 {
    font-size: clamp(2.4rem, 11vw, 3.5rem);
  }

  .hero-actions {
    display: grid;
  }

  .choice-grid,
  .choice-grid-three {
    grid-template-columns: 1fr;
  }

  .interest-form {
    padding: 18px;
  }

  .interest-form fieldset,
  .select-field {
    padding: 14px;
  }

  .form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .form-actions .button {
    width: 100%;
  }

  .story-model {
    border-radius: var(--radius-md);
  }

  .section {
    padding: 76px 0;
  }

  .status-row {
    grid-template-columns: 28px minmax(0, 1fr);
  }

  .status-label {
    grid-column: 2;
    width: max-content;
  }

  .privacy-panel {
    margin-bottom: 68px;
    padding: 26px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 28px 0;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  :root {
    color-scheme: light;
  }

  body {
    color: #111827;
    background: #ffffff;
  }

  body::before,
  .header-nav,
  .hero-actions,
  .interest-section,
  .status-badge {
    display: none;
  }

  .site-shell {
    width: 100%;
  }

  .site-header,
  .section,
  .site-footer {
    border-color: #d1d5db;
  }

  .story-model,
  .principle-card,
  .interest-form,
  .waitlist-card,
  .status-list,
  .privacy-panel {
    color: #111827;
    background: #ffffff;
    box-shadow: none;
  }
}
