:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --surface: #f3f5f8;
  --card-bg: #ffffff;
  --text: #0a0c10;
  --text-2: #5a6878;
  --accent: #3f5a78;
  --accent-ink: #ffffff;
  --line: #dde3ea;
  --cord: #9aa8b8;
  --danger: #b42318;
  --success: #1f6f43;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --radius: 20px;
  --font: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --surface: #0e1116;
    --card-bg: #0e1116;
    --text: #f4f6f9;
    --text-2: #93a1b2;
    --accent: #8fa8c6;
    --accent-ink: #000000;
    --line: #242a33;
    --cord: #6f7f92;
    --danger: #ff8a80;
    --success: #7fd1a3;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 400 15px/1.45 var(--font);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-underline-offset: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { margin: 0 0 12px; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: clamp(34px, 5vw, 52px); line-height: 1.08; font-weight: 700; letter-spacing: -0.03em; }
h2 { font-size: clamp(24px, 3vw, 30px); line-height: 1.2; font-weight: 700; }
h3 { font-size: 17px; font-weight: 600; }
p { margin: 0 0 12px; }

.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(720px, 100% - 40px); }

/* Top bar */
.topbar { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.6) blur(16px); border-bottom: 1px solid var(--line); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.brand { display: inline-flex; align-items: center; gap: 8px; color: var(--text); text-decoration: none; font-weight: 600; font-size: 17px; }
.brand-mark { width: 22px; height: 22px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; }
.brand-mark circle { fill: var(--accent); stroke: none; }

.segmented { display: inline-flex; padding: 3px; gap: 2px; background: var(--surface); border-radius: 999px; }
.segmented button {
  min-width: 44px; min-height: 32px; padding: 0 12px; border: 0; border-radius: 999px;
  font: 600 13px var(--font); color: var(--text-2); background: transparent; cursor: pointer;
  transition: background-color 200ms var(--ease-out), color 200ms var(--ease-out), transform 160ms var(--ease-out);
}
.segmented button[aria-pressed="true"] { background: var(--card-bg); color: var(--text); box-shadow: 0 1px 2px rgb(10 12 16 / 0.08); }
.segmented button:active { transform: scale(0.97); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 72px 0 64px; background: var(--surface); }
.cord { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.cord path {
  fill: none; stroke: var(--cord); stroke-width: 1.5; vector-effect: non-scaling-stroke; opacity: 0.7;
  stroke-dasharray: 1; stroke-dashoffset: 0;
  animation: cord-draw 900ms var(--ease-out) both;
}
@keyframes cord-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero-copy { animation: rise 200ms var(--ease-out) both; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.eyebrow { display: inline-block; margin-bottom: 16px; padding: 4px 10px; border-radius: 999px; background: var(--card-bg); color: var(--accent); font-size: 13px; font-weight: 600; border: 1px solid var(--line); }
.lead { font-size: 18px; color: var(--text-2); max-width: 36em; }
.note { margin-top: 12px; font-size: 13px; color: var(--text-2); }
.hero-shot { min-width: 0; }
.shot-frame { border-radius: var(--radius); background: var(--card-bg); border: 1px solid var(--line); padding: 8px; box-shadow: 0 1px 2px rgb(10 12 16 / 0.04), 0 24px 48px -24px rgb(10 12 16 / 0.18); }
.shot-frame img { display: block; width: 100%; height: auto; aspect-ratio: 1600 / 1000; border-radius: 14px; background: var(--surface); }

/* Form */
.join { margin-top: 24px; max-width: 460px; }
.join-form { display: grid; gap: 12px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 13px; font-weight: 600; }
input[type="email"], select {
  width: 100%; min-height: 44px; padding: 0 14px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--card-bg); color: var(--text); font: 15px var(--font);
}
input[type="email"]::placeholder { color: var(--text-2); }
input[aria-invalid="true"] { border-color: var(--danger); }
.consent { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; font-size: 13px; color: var(--text-2); }
.consent input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--accent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile:empty { display: none; }
.btn-primary {
  min-height: 44px; padding: 0 22px; border: 0; border-radius: 999px; justify-self: start;
  background: var(--accent); color: var(--accent-ink); font: 600 15px var(--font); cursor: pointer;
  transition: transform 160ms var(--ease-out), opacity 200ms var(--ease-out);
}
.btn-primary:active { transform: scale(0.97); }
.btn-primary:disabled { opacity: 0.6; cursor: progress; }
.form-alert { margin: 0; min-height: 1.45em; color: var(--danger); font-size: 13px; font-weight: 600; }
.form-alert:empty { min-height: 0; }
.form-status { margin: 0; font-weight: 600; color: var(--success); }
.form-status:empty { display: none; }

/* Sections */
.band { padding: 64px 0; }
.band + .band { border-top: 1px solid var(--line); }
.card { background: var(--card-bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.steps { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps p, .card p { color: var(--text-2); }
.num { display: inline-grid; place-items: center; width: 28px; height: 28px; margin-bottom: 12px; border-radius: 999px; background: var(--surface); color: var(--accent); font-weight: 700; font-variant-numeric: tabular-nums; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.checks { margin: 0 0 12px; padding: 0; list-style: none; display: grid; gap: 8px; }
.checks li { padding-left: 26px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 14px; height: 8px; border: solid var(--accent); border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.muted { color: var(--text-2); }
details { border-bottom: 1px solid var(--line); padding: 14px 0; }
summary { cursor: pointer; font-weight: 600; min-height: 24px; }
details p { margin: 10px 0 0; color: var(--text-2); }
.cta { background: var(--surface); }
.cta .join { margin-inline: 0; }

.footer { border-top: 1px solid var(--line); padding: 24px 0 40px; font-size: 13px; color: var(--text-2); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; }

@media (max-width: 860px) {
  .hero { padding: 48px 0; }
  .hero-grid, .two, .steps { grid-template-columns: 1fr; }
  .hero-grid { gap: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  .cord path, .hero-copy { animation: none; }
  .segmented button, .btn-primary { transition: none; }
  .segmented button:active, .btn-primary:active { transform: none; }
}
