@font-face { font-family: "Barlow"; font-weight: 400; font-display: swap; src: url("/assets/fonts/barlow-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-display: swap; src: url("/assets/fonts/barlow-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 800; font-display: swap; src: url("/assets/fonts/barlow-condensed-latin-800-normal.woff2") format("woff2"); }

:root {
  --void: #06080c;
  --panel: rgba(14, 18, 24, .72);
  --line: #242a33;
  --ink-0: #f3f5f8;
  --ink-1: #b9c0cb;
  --ink-2: #7d8694;
  --gold: #f2c14e;
  --gold-2: #ffd970;
  --red: #db2139;
  --hex: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='98' viewBox='0 0 56 98'%3E%3Cpath d='M28 1 55 17v32L28 65 1 49V17Z M28 65v33 M1 17 0 16 M55 17l1-1' fill='none' stroke='%23f2c14e' stroke-opacity='.07'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { background: var(--void); color-scheme: dark; }

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font: 400 16px/1.55 "Barlow", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink-1);
  background:
    radial-gradient(ellipse 70% 45% at 50% 0%, rgba(242, 193, 78, .14), transparent 70%),
    radial-gradient(ellipse 50% 40% at 85% 100%, rgba(219, 33, 57, .10), transparent 70%),
    var(--hex) center top / 56px 98px,
    var(--void);
}

a { color: var(--gold); text-underline-offset: 3px; }
a:hover { color: var(--gold-2); }
a[href^="mailto:"] { white-space: nowrap; }

.page {
  flex: 1;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: clamp(48px, 10vh, 112px) 16px 48px;
}

.hero { text-align: center; }
.mark { width: clamp(64px, 12vw, 84px); height: auto; filter: drop-shadow(0 0 24px rgba(242, 193, 78, .25)); }

.wordmark {
  margin-top: 18px;
  font: 800 clamp(56px, 13vw, 112px)/.9 "Barlow Condensed", "Arial Narrow", sans-serif;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--ink-0);
}
.gold { color: var(--gold); }

.tagline {
  margin-top: 14px;
  font-weight: 600;
  font-size: clamp(12px, 2.6vw, 15px);
  letter-spacing: .42em;
  text-transform: uppercase;
  color: var(--gold);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  padding: 8px 16px;
  border: 1px solid rgba(242, 193, 78, .35);
  border-radius: 999px;
  background: rgba(242, 193, 78, .06);
  color: var(--ink-0);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 10px var(--red); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .dot { animation: none; } }

.lead {
  max-width: 640px;
  margin: 40px auto 0;
  text-align: center;
  font-size: clamp(17px, 2.4vw, 20px);
  color: var(--ink-0);
}

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 56px;
}
.steps li {
  padding: 22px 20px;
  border: 1px solid var(--line);
  border-top: 2px solid var(--gold);
  border-radius: 10px;
  background: var(--panel);
}
.step-no { font: 800 14px/1 "Barlow Condensed", sans-serif; letter-spacing: .12em; color: var(--gold); }
.steps h2, .note h2 {
  margin: 10px 0 6px;
  font: 800 24px/1.1 "Barlow Condensed", "Arial Narrow", sans-serif;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--ink-0);
}
.steps p { font-size: 15px; }

.note {
  margin-top: 40px;
  padding: 24px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--red);
  border-radius: 10px;
  background: var(--panel);
}
.note h2 { margin-top: 0; }

.footer {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 28px 16px 36px;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 13px;
  color: var(--ink-2);
}
.delvera { display: inline-flex; flex-direction: column; align-items: center; gap: 6px; color: var(--ink-2); text-decoration: none; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.delvera img { width: 96px; height: auto; opacity: .85; }
.delvera:hover { color: var(--ink-1); }
.delvera:hover img { opacity: 1; }
.legal { margin-top: 12px; }

@media (max-width: 720px) {
  .steps { grid-template-columns: 1fr; }
}

/* Legal pages (rendered from docs/legal by scripts/build-legal.mjs) */
.legal-links { margin-bottom: 18px; font-size: 13px; }
.doc-page { max-width: 820px; padding-top: 40px; }
.doc-home { display: inline-flex; align-items: center; gap: 10px; color: var(--ink-0); text-decoration: none; font: 800 22px/1 "Barlow Condensed", "Arial Narrow", sans-serif; letter-spacing: .02em; text-transform: uppercase; }
.doc-home:hover { color: var(--ink-0); }
.doc { margin-top: 28px; color: var(--ink-1); overflow-wrap: anywhere; }
.doc h1 { font: 800 clamp(34px, 6vw, 48px)/1.05 "Barlow Condensed", "Arial Narrow", sans-serif; letter-spacing: .01em; text-transform: uppercase; color: var(--ink-0); }
.doc h2 { margin-top: 40px; padding-top: 16px; border-top: 1px solid var(--line); font: 800 26px/1.15 "Barlow Condensed", "Arial Narrow", sans-serif; letter-spacing: .02em; color: var(--ink-0); }
.doc h3 { margin-top: 26px; font-weight: 600; font-size: 18px; color: var(--ink-0); }
.doc h4 { margin-top: 20px; font-weight: 600; font-size: 16px; color: var(--ink-0); }
.doc p, .doc ul, .doc ol, .doc table, .doc blockquote { margin-top: 12px; }
.doc ul, .doc ol { padding-left: 22px; }
.doc li + li { margin-top: 6px; }
.doc strong { color: var(--ink-0); }
.doc code { font-size: .92em; padding: 1px 5px; border-radius: 4px; background: rgba(255, 255, 255, .06); }
.doc blockquote { padding: 10px 16px; border-left: 2px solid var(--gold); background: var(--panel); border-radius: 6px; }
.doc hr { margin: 28px 0; border: 0; border-top: 1px solid var(--line); }
.doc table { display: block; width: 100%; overflow-x: auto; border-collapse: collapse; font-size: 14px; }
.doc th, .doc td { padding: 8px 10px; border: 1px solid var(--line); text-align: left; vertical-align: top; min-width: 120px; }
.doc th { color: var(--ink-0); background: rgba(242, 193, 78, .06); font-weight: 600; }
.doc > p:nth-of-type(1) { color: var(--ink-2); font-size: 14px; }
.doc hr + h2 { border-top: 0; padding-top: 0; margin-top: 28px; }
