:root {
  --bg: #0b1020;
  --bg-alt: #111831;
  --surface: #161f3d;
  --border: #26315a;
  --text: #e6e9f2;
  --muted: #9aa3c0;
  --accent: #f5c95c;
  --accent-ink: #1a1405;
  --link: #8fb4ff;
  --max: 68rem;
  --radius: 10px;
  --border-ui: #6b7bb5;
  color-scheme: dark;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 6rem; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 1.0625rem;
  min-height: 100vh;
  display: flex; flex-direction: column;
}
main { flex: 1 0 auto; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

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

img { max-width: 100%; height: auto; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }

.skip {
  position: absolute; left: -999px; top: 0;
  background: var(--accent); color: var(--accent-ink); padding: .5rem 1rem;
}
.skip:focus { left: 0; }
.skip:focus-visible { outline-color: var(--accent-ink); outline-offset: -4px; }

/* Header */
.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(11, 16, 32, .92);
  position: sticky; top: 0; z-index: 10;
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 4.25rem; flex-wrap: wrap;
}
.brand {
  display: flex; align-items: center; gap: .6rem;
  color: var(--text); text-decoration: none; font-weight: 700; font-size: 1.15rem;
}
.brand img { height: 2.5rem; width: auto; display: block; }
.nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 500; padding: .4rem 0; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }

/* Hero */
.hero {
  padding: 6rem 0 5rem;
  background:
    radial-gradient(1px 1px at 12% 22%, #fff8 50%, transparent 51%),
    radial-gradient(1px 1px at 78% 14%, #fff8 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 64% 62%, #fffa 50%, transparent 51%),
    radial-gradient(1px 1px at 30% 78%, #fff6 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 90% 70%, #fff9 50%, transparent 51%),
    radial-gradient(ellipse at top, #1b2650 0%, var(--bg) 70%);
}
.eyebrow {
  color: var(--accent); text-transform: uppercase; letter-spacing: .12em;
  font-size: .8rem; font-weight: 700; margin: 0 0 1rem;
}
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); line-height: 1.15; margin: 0 0 1.25rem; max-width: 22ch; }
.hero p.lead { font-size: 1.2rem; color: var(--muted); max-width: 44rem; margin: 0 0 2rem; }

.btn {
  display: inline-block; padding: .8rem 1.4rem; border-radius: var(--radius);
  font-weight: 600; text-decoration: none; border: 1px solid transparent;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { color: var(--accent-ink); filter: brightness(1.08); }
.btn-ghost { border-color: var(--border-ui); color: var(--text); margin-left: .5rem; }
.btn-ghost:hover { border-color: var(--accent); color: var(--text); }

/* Sections */
section { padding: 4.5rem 0; }
section.alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 0 0 .75rem; }
h3 { font-size: 1.2rem; margin: 0 0 .5rem; }
.section-intro { color: var(--muted); max-width: 44rem; margin: 0 0 2.5rem; }

.grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem;
}
.card h2 { font-size: 1.2rem; margin: 0 0 .5rem; }
.card p { color: var(--muted); margin: 0; }
.card ul { color: var(--muted); padding-left: 1.2rem; margin: .75rem 0 0; }

.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: step; position: relative; padding-left: 3rem; margin-bottom: 1.5rem; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0;
  width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink);
  display: grid; place-items: center; font-weight: 700;
}
.steps p { color: var(--muted); margin: .25rem 0 0; }

.cta { text-align: center; }
.cta p { color: var(--muted); margin: 0 auto 2rem; max-width: 36rem; }

.page-head { padding: 4rem 0 2rem; border-bottom: 1px solid var(--border); }
.page-head h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin: 0 0 .75rem; }
.page-head p { color: var(--muted); max-width: 44rem; margin: 0; }

.prose { max-width: 44rem; }
.prose p, .prose li { color: var(--text); }

dl.contact { display: grid; grid-template-columns: max-content 1fr; gap: .75rem 1.5rem; }
dl.contact dt { color: var(--muted); }
dl.contact dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 2.5rem 0; color: var(--muted); font-size: .9rem; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }

@media (max-width: 40rem) {
  .hero { padding: 4rem 0 3rem; }
  .btn-ghost { margin: .75rem 0 0; }
  dl.contact { grid-template-columns: 1fr; gap: .25rem; }
  dl.contact dd { margin-bottom: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
