:root {
  --navy: #0b1f33;
  --navy-2: #12304d;
  --ink: #1b2733;
  --muted: #5b6b7b;
  --line: #dde4ea;
  --bg-alt: #f4f7f9;
  --accent: #2f8f83;
  --accent-ink: #1f6d63;
  --radius: 10px;
  --max: 1080px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent-ink); }

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

.skip {
  position: absolute; left: -9999px; top: 0;
  background: #fff; color: var(--navy); padding: 8px 12px; z-index: 10;
}
.skip:focus { left: 12px; top: 12px; }

/* Header */
.site-header {
  background: var(--navy);
  color: #fff;
  position: sticky; top: 0; z-index: 5;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 650; letter-spacing: .2px; }
.mark { width: 40px; height: 34px; color: #7fd1c6; display: block; }
nav { display: flex; gap: 22px; align-items: center; }
nav a { color: #d7e2ec; text-decoration: none; font-size: 15px; }
nav a:hover { color: #fff; }
.nav-cta { border: 1px solid rgba(255,255,255,.35); padding: 6px 14px; border-radius: 999px; }

/* Hero */
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 70%, #17405f 100%);
  color: #fff;
  padding: 96px 0 104px;
}
.eyebrow { text-transform: uppercase; letter-spacing: 1.6px; font-size: 13px; color: #7fd1c6; margin: 0 0 14px; font-weight: 600; }
.hero h1 { font-size: clamp(34px, 4.6vw, 54px); line-height: 1.1; margin: 0 0 22px; max-width: 18ch; letter-spacing: -.5px; }
.lede { font-size: 19px; color: #c9d6e2; max-width: 60ch; margin: 0 0 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Hero animation (inline SVG, plays once; static mark for reduced motion) */
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.hero-art { width: 100%; }
.hero-art svg { display: block; width: 100%; height: auto; }
.hero-static { display: none !important; max-width: 300px; margin: 0 auto; }

.btn {
  display: inline-block; padding: 12px 22px; border-radius: var(--radius);
  text-decoration: none; font-weight: 600; font-size: 16px; transition: background .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-ink); }
.btn-ghost { color: #fff; border: 1px solid rgba(255,255,255,.4); }
.btn-ghost:hover { border-color: #fff; }

/* Sections */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
h2 { font-size: 30px; margin: 0 0 28px; color: var(--navy); letter-spacing: -.3px; }
h3 { font-size: 19px; margin: 0 0 12px; color: var(--navy); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  border-top: 3px solid var(--accent); background: #fff;
}
.card ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 16px; }
.card li + li { margin-top: 6px; }

.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.split p { color: var(--muted); margin-top: 0; }

.data { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.data > div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.data > div:last-child { border-bottom: 0; }
.data dt { font-weight: 600; color: var(--navy); font-size: 15px; }
.data dd { margin: 0; font-size: 15px; }
.code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-weight: 600; color: var(--accent-ink); margin-right: 6px; }

.contact { text-align: center; }
.contact-line { font-size: 22px; font-weight: 600; margin: 8px 0; }
.muted { color: var(--muted); }

.site-footer { background: var(--navy); color: #9fb2c4; font-size: 14px; padding: 22px 0; }
.site-footer p { margin: 0; }

/* 404 */
.notfound { min-height: 60vh; display: flex; align-items: center; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-art { max-width: 420px; margin: 0 auto; }
  .cards { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 28px; }
  nav a:not(.nav-cta) { display: none; }
  .hero { padding: 72px 0 80px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-anim { display: none !important; }
  .hero-static { display: block !important; }
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
