:root {
  --bg: #0b0f14;
  --surface: #111821;
  --surface-2: #16202c;
  --ink: #e8eef6;
  --muted: #a8b4c3;
  --accent: #6bb8f7;
  --accent-strong: #3d9cf0;
  --border: #29384a;
  --focus: #f5c96a;
  --max: 72rem;
  --measure: 46rem;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 1rem/1.65 ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
}
a { color: var(--accent); text-underline-offset: .18em; }
a:hover { color: #a8d7fc; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
img, svg { display: block; max-width: 100%; }
.skip-link {
  position: fixed; left: 1rem; top: -5rem; z-index: 100;
  background: var(--focus); color: #111; padding: .65rem 1rem; font-weight: 800;
}
.skip-link:focus { top: 1rem; }
.shell { width: min(calc(100% - 2rem), var(--max)); margin-inline: auto; }
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(11, 15, 20, .94);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}
.nav { min-height: 4.6rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.wordmark { color: var(--ink); text-decoration: none; font-weight: 800; letter-spacing: -.025em; }
.nav-links { display: flex; align-items: center; gap: .25rem; }
.nav-links a { color: var(--muted); text-decoration: none; padding: .65rem .72rem; border-radius: .45rem; font-weight: 650; }
.nav-links a:hover { color: var(--ink); background: var(--surface); }
.button {
  display: inline-flex; min-height: 2.9rem; align-items: center; justify-content: center;
  padding: .72rem 1rem; border: 1px solid var(--border); border-radius: .6rem;
  color: var(--ink); background: transparent; text-decoration: none; font: inherit; font-weight: 750; cursor: pointer;
}
.button:hover { color: var(--ink); border-color: #53677f; background: var(--surface); }
.button.primary { color: #041018; background: var(--accent-strong); border-color: var(--accent-strong); }
.button.primary:hover { background: #78c2fb; border-color: #78c2fb; }
.hero { padding: clamp(5rem, 11vw, 9rem) 0 clamp(4rem, 8vw, 7rem); position: relative; background: var(--bg) url('/assets/hero.webp') center/cover no-repeat; }
.hero::before { content: ''; position: absolute; inset: 0; background: var(--bg); opacity: 0.55; pointer-events: none; }
.hero > * { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(17rem, .65fr); gap: clamp(3rem, 8vw, 8rem); align-items: end; }
.eyebrow { margin: 0 0 1.15rem; color: var(--accent); text-transform: uppercase; letter-spacing: .13em; font-size: .77rem; font-weight: 800; }
h1, h2, h3 { margin-top: 0; line-height: 1.08; letter-spacing: -.035em; text-wrap: balance; }
h1 { max-width: 14ch; margin-bottom: 1.5rem; font-size: clamp(2.9rem, 7.5vw, 6.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.55rem); }
.lede { max-width: 42rem; margin: 0; color: var(--muted); font-size: clamp(1.15rem, 2vw, 1.4rem); }
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero-note { border-top: 1px solid var(--border); padding-top: 1rem; color: var(--muted); }
.hero-note strong { display: block; margin-bottom: .45rem; color: var(--ink); }
.section { border-top: 1px solid var(--border); padding: clamp(4rem, 8vw, 7rem) 0; }
.section-grid { display: grid; grid-template-columns: minmax(11rem, .55fr) minmax(0, 1.45fr); gap: clamp(2rem, 7vw, 7rem); }
.section-label { color: var(--accent); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.prose { max-width: var(--measure); }
.prose p:first-child { margin-top: 0; }
.prose p { color: var(--muted); }
.prose strong { color: var(--ink); }
.pillars { margin-top: 2.4rem; border-top: 1px solid var(--border); }
.pillar { display: grid; grid-template-columns: 2rem 1fr; gap: 1rem; padding: 1.35rem 0; border-bottom: 1px solid var(--border); }
.pillar span { color: var(--accent); font: 700 .78rem/1.7 ui-monospace, SFMono-Regular, Menlo, monospace; }
.pillar h3 { margin-bottom: .4rem; }
.pillar p { margin: 0; color: var(--muted); }
.note-empty { border: 1px solid var(--border); background: var(--surface); padding: clamp(1.5rem, 4vw, 2.5rem); }
.note-empty p { max-width: 42rem; color: var(--muted); }
.callout { border: 1px solid var(--border); background: var(--surface); padding: clamp(1.5rem, 4vw, 3rem); }
.callout h2 { max-width: 18ch; }
.site-footer { border-top: 1px solid var(--border); padding: 2.5rem 0 4rem; color: var(--muted); font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 2rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: .5rem 1rem; }
.legal { width: min(calc(100% - 2rem), 48rem); margin-inline: auto; padding: clamp(4rem, 9vw, 7rem) 0; }
.legal h1 { max-width: 16ch; font-size: clamp(2.5rem, 6vw, 4.8rem); }
.legal h2 { margin-top: 2.5rem; font-size: 1.5rem; }
.legal p, .legal li { color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label { display: block; color: var(--ink); font-weight: 700; }
input, textarea, select {
  width: 100%; margin-top: .4rem; padding: .8rem; border: 1px solid var(--border); border-radius: .45rem;
  background: #080d12; color: var(--ink); font: inherit;
}
textarea { min-height: 10rem; resize: vertical; }
.hp { display: none !important; }
.small { font-size: .88rem; color: var(--muted); }
@media (max-width: 760px) {
  .nav { gap: .6rem; }
  .wordmark { white-space: nowrap; font-size: .92rem; }
  .nav-links { min-width: 0; }
  .nav-links a:not(.primary) { display: none; }
  .site-header .button { min-height: 2.55rem; padding: .55rem .7rem; font-size: .8rem; white-space: nowrap; }
  .hero-grid, .section-grid, .footer-grid, .form-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 4.5rem; }
  .hero-note { max-width: 24rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
