@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("/fonts/sora-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Sora Fallback";
  src: local("Arial");
  size-adjust: 105%;
  ascent-override: 92%;
  descent-override: 22%;
  line-gap-override: 0%;
}

:root {
  --bg: #05080f;
  --card: #0c1a26;
  --text: #e8f7f4;
  --muted: #c5ddd8;
  --accent: #5eead4;
  --ink: #041311;
  --line: rgba(94, 234, 212, 0.32);
  --danger: #ffd7d0;
  --header: 5.5rem;
  color-scheme: dark;
}

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

html { scroll-behavior: auto; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(900px 480px at 88% -10%, rgba(45, 212, 191, 0.16), transparent 55%),
    radial-gradient(700px 420px at -10% 12%, rgba(14, 80, 110, 0.35), transparent 50%),
    var(--bg);
  color: var(--text);
  font-family: "Sora", "Sora Fallback", "Segoe UI", sans-serif;
  font-size: 1.25rem;
  line-height: 1.55;
  font-weight: 400;
}

img, svg, canvas { max-width: 100%; }

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

h1, h2, h3 { line-height: 1.15; font-weight: 560; letter-spacing: -0.02em; margin: 0; }
h1 { font-size: clamp(2.35rem, 5.6vw, 4.5rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(2rem, 3.4vw, 2.9rem); }
h3 { font-size: 1.55rem; }

p { margin: 0; }
a { color: var(--accent); text-underline-offset: 0.18em; }
a:hover { color: #e8f7f4; }

:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -6rem;
  z-index: 40;
  background: var(--accent);
  color: var(--ink);
  font-weight: 650;
  padding: 0.8rem 1.1rem;
  border-radius: 999px;
  text-decoration: none;
}

.skip:focus { top: 0.8rem; }

.wrap {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1rem;
  padding: 0.85rem 1.25rem;
  background: rgba(5, 8, 15, 0.94);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.25rem;
  min-height: 3rem;
}

.brand span { color: var(--accent); }
.mark { flex: none; color: var(--text); }

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem;
}

.nav a {
  color: var(--text);
  text-decoration: none;
  padding: 0.75rem 0.8rem;
  min-height: 3rem;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
}

.nav a:hover { color: var(--accent); }

.header-book { margin-left: auto; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3.5rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-primary { background: var(--accent); color: var(--ink); }
.btn-primary:hover { background: #9cf6ea; color: var(--ink); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--accent); }
.btn-ghost:hover { background: rgba(94, 234, 212, 0.12); color: var(--text); }
button.btn { width: 100%; }
button.btn:disabled { opacity: 0.7; cursor: wait; }

.hero {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 1.25rem auto 0;
  display: grid;
  gap: 1.25rem;
}

.hero-art {
  position: relative;
  height: 220px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 58% 50%, rgba(94, 234, 212, 0.18), transparent 58%),
    #071018;
  overflow: hidden;
}

.hero-still,
.hero-art canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-art canvas { pointer-events: none; }
.hero-art.is-live .hero-still { visibility: hidden; }

.eyebrow {
  color: var(--accent);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

h1 em {
  font-style: normal;
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.12em;
}

.sub {
  margin-top: 1.1rem;
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.3rem;
}

.actions {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.promise {
  margin-top: 3rem;
  padding: 2rem 0;
  border-block: 1px solid var(--line);
  background: rgba(94, 234, 212, 0.05);
}

.promise p {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.3;
  font-weight: 520;
}

.section { padding: 4.5rem 0 0; }

.section h2 { margin-bottom: 1.25rem; }
.lede { color: var(--muted); max-width: 40rem; margin-bottom: 1.5rem; }

.cards {
  display: grid;
  gap: 1rem;
}

.card, .gate, .step, .form-card, .callout {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.35rem 1.3rem 1.45rem;
}

.ba { margin-top: 0.9rem; }
.ba span {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--accent);
  font-size: 1.125rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ba.after { color: var(--text); }

.does { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.75rem; }
.does li {
  padding: 1rem 1.15rem;
  border-left: 3px solid var(--accent);
  background: rgba(12, 26, 38, 0.8);
  border-radius: 0 16px 16px 0;
}

.callout { margin-top: 1rem; font-size: 1.35rem; }

.gates, .steps { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: 1rem; }
.gate h3, .step h3 { margin-bottom: 0.45rem; }
.gate p, .step p { color: var(--muted); }
.founder { max-width: 42rem; margin-bottom: 0.4rem; }

.step-no {
  display: block;
  color: var(--accent);
  font-size: 1.8rem;
  font-weight: 620;
  margin-bottom: 0.35rem;
}

.places {
  font-size: clamp(2.1rem, 5vw, 3.5rem);
  line-height: 1.15;
  font-weight: 560;
  letter-spacing: -0.03em;
}

.form-card { margin-top: 1.25rem; display: grid; gap: 1rem; }
.form-note, .fine, .form-fallback { color: var(--muted); }
.fine a, .form-fallback a { font-weight: 600; }

label { display: grid; gap: 0.4rem; font-weight: 600; }
.req {
  font-weight: 600;
  color: var(--accent);
  font-size: 1.125rem;
}

input, textarea {
  width: 100%;
  font: inherit;
  color: var(--text);
  background: #071018;
  border: 2px solid #24545c;
  border-radius: 14px;
  padding: 0.9rem 1rem;
  min-height: 3.5rem;
}

textarea { min-height: 9rem; resize: vertical; }
input:focus-visible, textarea:focus-visible { border-color: var(--accent); outline-offset: 2px; }
::placeholder { color: #9fb8b4; opacity: 1; }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--danger); }

.check {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  font-weight: 450;
  padding: 0.4rem 0;
}

.check input {
  width: 1.75rem;
  height: 1.75rem;
  min-height: 1.75rem;
  margin-top: 0.2rem;
  accent-color: var(--accent);
  flex: none;
}

.check-title { display: block; font-weight: 650; margin-bottom: 0.25rem; }

.form-status:not(:empty) {
  padding: 1rem 1.1rem;
  border-radius: 14px;
  background: #10262a;
  border: 1px solid var(--line);
}

.form-status a { font-weight: 650; }

.site-footer {
  margin-top: 4.5rem;
  padding: 2.2rem 0 2.8rem;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  gap: 1.2rem;
}

.footer-brand { font-size: 1.4rem; font-weight: 650; }
.footer-brand span { color: var(--accent); }
.site-footer a { color: var(--text); font-weight: 600; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 1rem; }
.copyright { margin-top: 1.4rem; color: var(--muted); }

.page-doc main, .page-result main { padding-top: 2rem; padding-bottom: 3rem; }
.prose { display: grid; gap: 1rem; max-width: 44rem; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-top: 1.2rem; }
.prose ul { margin: 0; padding-left: 1.3rem; display: grid; gap: 0.45rem; }

.result { display: grid; gap: 1.1rem; padding-top: 3rem; max-width: 40rem; }

@media (min-width: 720px) {
  .actions { flex-direction: row; flex-wrap: wrap; }
  .actions .btn { width: auto; }
  button.btn { width: auto; }
  .cards { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.4fr 1fr auto; align-items: start; }
}

@media (min-width: 980px) {
  .hero {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    min-height: calc(100svh - var(--header) - 2rem);
    margin-top: 0.5rem;
  }
  .hero-art { height: min(640px, 70vh); order: 2; }
  .cards { grid-template-columns: 1fr 1fr 1fr; }
  .gates, .steps { grid-template-columns: 1fr 1fr 1fr; }
  .does { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-contrast: more) {
  :root { --muted: #e8f7f4; --line: #5eead4; }
  input, textarea { border-color: #5eead4; }
}
