:root {
  --bg: #10151c;
  --panel: #171e28;
  --line: #2a3648;
  --text: #e6eef6;
  --muted: #9badc2;
  --accent: #5cb8c9;
  --accent-bright: #8ae7f6;
  --gold: #e8c36a;
  --ok: #3dd68c;
  --danger: #ff7f8f;
  --display: "Palatino Linotype", Palatino, Georgia, serif;
  --body: "Trebuchet MS", Candara, sans-serif;
}

@property --progress {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 0%;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); line-height: 1.55; }
a { color: inherit; }
.site-header { position: absolute; z-index: 5; inset: 0 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 22px clamp(20px, 5vw, 72px); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: white; font-family: var(--display); font-size: 22px; text-decoration: none; }
.brand-logo { display: block; width: 54px; height: 48px; object-fit: contain; }
.brand-mark { display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid rgba(138, 231, 246, .72); transform: rotate(45deg); color: var(--accent-bright); font-family: var(--body); font-size: 15px; }
.brand-mark::first-letter { transform: rotate(-45deg); }
.header-action { color: white; text-decoration: none; border-bottom: 1px solid var(--accent); padding: 8px 0; }
.hero { position: relative; min-height: 92vh; display: flex; align-items: flex-end; isolation: isolate; background: url("https://images.unsplash.com/photo-1514525253161-7a46d19cd819?auto=format&fit=crop&w=2200&q=88") center 48% / cover; }
.hero-shade { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(8, 13, 19, .92) 0%, rgba(8, 13, 19, .68) 42%, rgba(8, 13, 19, .08) 78%), linear-gradient(0deg, var(--bg), transparent 30%); }
.hero-content { width: min(760px, 92%); margin: 0 0 8vh clamp(20px, 8vw, 120px); }
.eyebrow { margin: 0 0 12px; color: var(--accent-bright); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: 0; line-height: 1.08; }
h1 { margin: 0; font-size: clamp(58px, 9vw, 126px); }
h2 { margin: 0; font-size: clamp(38px, 5vw, 68px); }
h3 { font-size: 28px; }
.hero-copy { max-width: 650px; margin: 18px 0 26px; font-size: 21px; color: #d4e1ec; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 12px 20px; border: 1px solid transparent; border-radius: 4px; font: 700 15px var(--body); text-decoration: none; cursor: pointer; }
.button:disabled { cursor: not-allowed; filter: grayscale(.65); opacity: .48; }
.button.primary { background: linear-gradient(180deg, #8ae7f6 0%, #54bed0 45%, #389ba9 100%); color: #153940; box-shadow: 0 10px 30px rgba(40, 157, 176, .18); }
.button.ghost { border-color: rgba(255, 255, 255, .38); color: white; background: rgba(13, 21, 29, .42); }
.hero-note { margin-top: 32px; color: var(--muted); }
.band { padding: 90px clamp(20px, 8vw, 120px); }
.section-heading { max-width: 740px; margin-bottom: 46px; }
.promise { background: radial-gradient(circle at 80% 20%, rgba(92, 184, 201, .1), transparent 28%), #111922; }
.promise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.promise-grid article { min-height: 240px; padding: 34px; background: #111922; }
.promise-grid span { color: var(--accent); font-variant-numeric: tabular-nums; }
.promise-grid p, .lane p, .join-intro p { color: var(--muted); }
.participation { background: #0d1218; }
.lanes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: 18px; }
.lane { padding: 32px; border: 1px solid var(--line); border-radius: 6px; background: var(--panel); }
.lane.founder { border-color: rgba(232, 195, 106, .68); background: linear-gradient(145deg, rgba(232, 195, 106, .11), transparent 42%), var(--panel); }
.lane-label { color: var(--accent-bright) !important; font-size: 13px; font-weight: 700; text-transform: uppercase; }
.founder .lane-label, .founder strong { color: var(--gold) !important; }
.join { display: grid; grid-template-columns: minmax(260px, .72fr) minmax(520px, 1.28fr); gap: clamp(40px, 7vw, 100px); background: linear-gradient(120deg, #141f2a, #10151c 48%); }
.join-intro { position: sticky; top: 32px; align-self: start; }
.launch-heat { display: flex; align-items: center; gap: 24px; margin-top: 34px; padding: 24px 20px 28px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.launch-heat strong { display: block; margin-bottom: 6px; color: var(--accent-bright); font-family: var(--display); font-size: 24px; font-weight: 400; }
.launch-heat p { margin: 0; font-size: 15px; }
.launch-dial { --progress: 0%; display: grid; flex: 0 0 108px; width: 108px; height: 108px; place-items: center; border-radius: 50%; background: conic-gradient(from -90deg, var(--accent-bright) 0%, var(--gold) var(--progress), rgba(56, 72, 93, .7) var(--progress), rgba(56, 72, 93, .7) 100%); box-shadow: 0 0 32px rgba(92, 184, 201, .12); transition: --progress 900ms ease-out; }
.launch-dial-core { display: grid; width: 86px; height: 86px; place-items: center; border: 1px solid rgba(138, 231, 246, .2); border-radius: 50%; background: radial-gradient(circle at 40% 35%, #172634, #0b1118 72%); }
.launch-dial-core img { width: 58px; height: 52px; object-fit: contain; filter: drop-shadow(0 0 10px rgba(92, 184, 201, .3)); }
form { min-width: 0; padding: clamp(22px, 4vw, 44px); border: 1px solid var(--line); border-radius: 6px; background: rgba(23, 30, 40, .9); box-shadow: 0 28px 70px rgba(0, 0, 0, .24); }
fieldset { margin: 0 0 34px; padding: 0 0 34px; border: 0; border-bottom: 1px solid var(--line); }
legend { margin-bottom: 20px; color: var(--accent-bright); font-family: var(--display); font-size: 25px; }
.field-grid { display: grid; gap: 18px; }
.field-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
label, .field-group { display: grid; gap: 7px; color: #cbd8e4; font-size: 14px; }
input, select { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #38485d; border-radius: 3px; background: #0d141c; color: var(--text); font: 16px var(--body); }
input[readonly] { border-color: #2d3949; background: #111821; color: var(--muted); cursor: not-allowed; }
input:focus, select:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.date-fields, .choice-row { display: flex; flex-wrap: wrap; gap: 12px; }
.date-fields label { flex: 1; }
.field-label { color: #cbd8e4; font-size: 14px; }
small { color: var(--muted); }
.choice-row label, .agreements label { display: flex; align-items: flex-start; gap: 9px; }
.choice-row input, .agreements input { width: 18px; height: 18px; min-height: auto; margin-top: 2px; accent-color: var(--accent); }
.agreements input:disabled { cursor: not-allowed; opacity: .45; }
.agreements { display: grid; gap: 15px; }
.legal-reading { display: grid; gap: 8px; }
.legal-reading > a { width: fit-content; color: var(--accent-bright); font-weight: 700; }
.submit-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
#form-status { margin: 0; color: var(--muted); }
#form-status.error { color: var(--danger); }
#form-status.success { color: var(--ok); }
footer { display: grid; grid-template-columns: auto 1fr; gap: 24px 50px; align-items: center; padding: 42px clamp(20px, 8vw, 120px); border-top: 1px solid var(--line); background: #090d12; color: var(--muted); }
footer nav { display: flex; justify-content: flex-end; gap: 24px; }
footer p { grid-column: 1 / -1; max-width: 860px; margin: 0; font-size: 13px; }

@media (max-width: 860px) {
  .hero { min-height: 86vh; background-position: 62% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(8, 13, 19, .92), rgba(8, 13, 19, .45)), linear-gradient(0deg, var(--bg), transparent 42%); }
  .promise-grid, .lanes, .join { grid-template-columns: 1fr; }
  .join-intro { position: static; }
}

@media (max-width: 590px) {
  .site-header { padding: 18px; }
  .header-action { display: none; }
  .hero-content { width: calc(100% - 36px); margin: 0 18px 42px; }
  h1 { font-size: 36px; }
  .hero-copy { font-size: 18px; }
  .band { padding: 64px 18px; }
  .field-grid.two { grid-template-columns: 1fr; }
  form { padding: 20px; }
  .submit-row { align-items: stretch; flex-direction: column; }
  footer { grid-template-columns: 1fr; padding: 36px 18px; }
  footer nav { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.admin-shell { padding-top: 120px; }
.admin-shell form { max-width: 520px; display: grid; gap: 18px; }
.admin-toolbar { display: flex; align-items: end; gap: 14px; margin: 34px 0 20px; }
.admin-toolbar label { flex: 1; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; background: var(--panel); }
th, td { padding: 13px 15px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
th { color: var(--accent-bright); font-size: 12px; text-transform: uppercase; }