:root {
  --navy: #0b1b3a;
  --navy-2: #12285a;
  --accent: #19a7ce;
  --accent-dark: #0f86a8;
  --ink: #16213a;
  --muted: #5b6784;
  --bg: #ffffff;
  --alt: #f3f6fb;
  --line: #dde4f0;
  --ok: #0d7a4e;
  --err: #b42318;
  --radius: 12px;
  --maxw: 1080px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font: 16px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
}
img { max-width: 100%; height: auto; }
a { color: var(--accent-dark); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; color: var(--navy); letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 680px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--navy); font-weight: 700; font-size: 1.2rem; }
.brand-mark { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: var(--navy); color: var(--accent); font: 700 .8rem ui-monospace, Consolas, monospace; }
.nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: .25rem; padding: 12px 16px 18px; background: #fff; border-bottom: 1px solid var(--line); }
.nav.open { display: flex; }
.nav a { padding: .6rem .4rem; text-decoration: none; color: var(--ink); font-weight: 500; }
.nav a[aria-current="page"] { color: var(--accent-dark); }
.nav .btn { color: #fff; text-align: center; margin-top: .4rem; }
.nav-toggle { background: none; border: 1px solid var(--line); border-radius: 8px; width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer; }
.burger, .burger::before, .burger::after { display: block; width: 20px; height: 2px; background: var(--navy); content: ""; position: relative; }
.burger::before { position: absolute; top: -6px; }
.burger::after { position: absolute; top: 6px; }

/* Buttons */
.btn { display: inline-block; padding: .8rem 1.4rem; border-radius: 10px; background: var(--accent-dark); color: #fff; text-decoration: none; font-weight: 600; border: 2px solid var(--accent-dark); cursor: pointer; font-size: 1rem; transition: background .15s, transform .15s; }
.btn:hover { background: var(--navy); border-color: var(--navy); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-sm { padding: .5rem 1rem; font-size: .95rem; }

/* Hero */
.hero { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%); color: #e7eefc; padding: 72px 0 80px; }
.hero h1 { color: #fff; max-width: 18ch; }
.hero .lead { max-width: 56ch; color: #c9d6f2; font-size: 1.15rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; color: var(--accent); font-weight: 700; margin-bottom: 1rem; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }

/* Sections */
.section { padding: 56px 0; }
.section.alt { background: var(--alt); }
.page-head { background: var(--alt); padding: 52px 0 40px; border-bottom: 1px solid var(--line); }
.page-head .lead { color: var(--muted); font-size: 1.1rem; margin: 0; }
.cta { background: var(--navy); color: #d3def5; text-align: center; }
.cta h2 { color: #fff; }

.grid { display: grid; gap: 18px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h2, .card h3 { margin-bottom: .4em; }
.card p { margin: 0; color: var(--muted); }
.notice { text-align: center; padding: 40px 24px; }
.notice p { margin-bottom: 1.2em; }

.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.steps li { counter-increment: s; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px 16px 62px; position: relative; }
.steps li::before { content: counter(s); position: absolute; left: 16px; top: 14px; width: 32px; height: 32px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 700; }

.prose { max-width: 70ch; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }

/* Form */
.form .field { margin-bottom: 18px; }
label { display: block; font-weight: 600; margin-bottom: 6px; }
input[type=text], input[type=email], textarea { width: 100%; padding: .75rem .9rem; border: 1px solid #b8c3da; border-radius: 10px; font: inherit; color: var(--ink); background: #fff; }
textarea { resize: vertical; }
input:focus, textarea:focus { border-color: var(--accent-dark); }
.error { color: var(--err); margin: 6px 0 0; font-size: .92rem; }
.alert { padding: 14px 16px; border-radius: 10px; margin-bottom: 20px; font-weight: 500; }
.alert.ok { background: #e7f6ee; color: var(--ok); border: 1px solid #b6e3cb; }
.alert.err { background: #fdecea; color: var(--err); border: 1px solid #f5c2bd; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
.site-footer { background: #08142c; color: #b6c3e0; padding: 40px 0 0; }
.site-footer .brand-name { color: #fff; font-weight: 700; font-size: 1.2rem; margin-bottom: .4rem; }
.footer-grid { display: grid; gap: 28px; padding-bottom: 28px; }
.footer-grid nav a { display: block; color: #b6c3e0; text-decoration: none; padding: .2rem 0; }
.footer-grid nav a:hover { color: #fff; }
.foot-title { color: #fff; font-weight: 600; margin-bottom: .5rem; }
.legal { border-top: 1px solid rgba(255,255,255,.1); padding-top: 16px; padding-bottom: 16px; font-size: .9rem; }
.legal p { margin: 0; }

@media (min-width: 720px) {
  .nav-toggle { display: none; }
  .nav { display: flex; position: static; flex-direction: row; align-items: center; gap: 1.2rem; padding: 0; border: 0; background: none; }
  .nav .btn { margin: 0; }
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr; }
  .section { padding: 72px 0; }
  .hero { padding: 104px 0 112px; }
}

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