:root {
  --ink: #0f2533; --muted: #4b6170; --bg: #f6f9fb; --surface: #ffffff; --line: #dbe5ec;
  --accent: #0e7490; --accent-ink: #ffffff; --deep: #0b2a3a; --warn: #b91c1c; --sand: #fff7e6;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #e6eef2; --muted: #9db2bd; --bg: #0b1820; --surface: #12232d; --line: #20384a;
    --accent: #38bdf8; --accent-ink: #062130; --deep: #071a24; --warn: #f87171; --sand: #2a2412;
  }
}
:root[data-theme="dark"] {
  --ink: #e6eef2; --muted: #9db2bd; --bg: #0b1820; --surface: #12232d; --line: #20384a;
  --accent: #38bdf8; --accent-ink: #062130; --deep: #071a24; --warn: #f87171; --sand: #2a2412;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: var(--accent); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(34px, 5vw, 54px); letter-spacing: -0.02em; }
h2 { font-size: clamp(24px, 3vw, 32px); letter-spacing: -0.01em; }
h3 { font-size: 18px; }
.small { font-size: 14px; color: var(--muted); }

.nav { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 20px; padding: 12px max(16px, calc(50% - 560px));
  background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 19px; color: var(--ink); text-decoration: none; }
.nav nav { display: flex; gap: 18px; margin-left: auto; }
.nav nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
.nav nav a:hover { color: var(--ink); }
.auth-links { display: flex; gap: 8px; }
.signin { border: 1px solid var(--line); padding: 6px 14px; border-radius: 999px; text-decoration: none; font-size: 15px; color: var(--ink); }
.signin.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 700; }

main > section { padding: 64px max(16px, calc(50% - 560px)); }
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding-top: 56px; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, transparent); padding: 4px 10px; border-radius: 999px; margin: 0 0 16px; }
.lede { font-size: 19px; color: var(--muted); max-width: 34em; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0 10px; }
.btn { display: inline-block; padding: 12px 20px; border-radius: 10px; font-weight: 700; text-decoration: none; border: 0; font-size: 16px; cursor: pointer; }
.btn.primary { background: var(--accent); color: var(--accent-ink); }
.btn.ghost { color: var(--ink); border: 1px solid var(--line); background: var(--surface); }
.hero-art { margin: 0; }
.hero-art svg { width: 100%; height: auto; display: block; border-radius: 18px; box-shadow: 0 20px 50px rgb(11 42 58 / .22); }
.hero-art figcaption { font-size: 13px; color: var(--muted); margin-top: 10px; }

.proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding-top: 8px !important; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; display: flex; flex-direction: column; gap: 4px; font-size: 15px; color: var(--muted); }
.stat .n { font-size: 34px; font-weight: 800; color: var(--warn); line-height: 1.1; }

.band { background: var(--deep); color: #e6eef2; }
.band h2 { color: #fff; }
.band p { max-width: 46em; font-size: 18px; color: #c4d6df; }
.pledge { background: var(--sand); color: var(--ink); }
.pledge h2 { color: var(--ink); }
.pledge p { color: var(--muted); }

.steps ol { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 20px; counter-increment: s; position: relative; }
.steps li::before { content: counter(s); position: absolute; top: -14px; left: 18px; width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink); font-weight: 800; display: grid; place-items: center; font-size: 14px; }
.steps p { color: var(--muted); font-size: 15px; margin: 0; }

.two { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.ticks { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.ticks li { padding-left: 30px; position: relative; color: var(--muted); }
.ticks li strong { color: var(--ink); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 5px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' stroke='white' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") center/14px no-repeat; }

.join { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: start; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 14px;
  box-shadow: 0 10px 30px rgb(11 42 58 / .08); }
.card label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: var(--muted); }
.card .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.card input, .card select { font: inherit; font-weight: 400; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--ink); min-width: 0; }
.card input:focus, .card select:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.req { color: var(--warn); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.msg { min-height: 1.4em; margin: 0; font-size: 15px; }
.msg.ok { color: #15803d; font-weight: 600; }
.msg.error { color: var(--warn); }

.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 700; }
.faq p { color: var(--muted); margin: 10px 0 0; }

footer { padding: 32px max(16px, calc(50% - 560px)) 48px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }

@media (max-width: 900px) {
  .hero, .two, .join { grid-template-columns: 1fr; }
  .steps ol { grid-template-columns: 1fr 1fr; }
  .proof { grid-template-columns: 1fr; }
  .nav nav { display: none; }
  .auth-links { margin-left: auto; }
}
@media (max-width: 560px) {
  main > section { padding-top: 44px; padding-bottom: 44px; }
  .steps ol { grid-template-columns: 1fr; gap: 24px; }
  .card .row { grid-template-columns: 1fr; }
}
