:root {
  --navy: #0b1c2c;
  --navy-2: #12263a;
  --navy-3: #1a3348;
  --ink: #14202c;
  --muted: #5c6b78;
  --line: #d7dee6;
  --line-dark: #2a4258;
  --paper: #f6f7f9;
  --white: #ffffff;
  --brass: #b08d4a;
  --brass-2: #c9a45c;
  --ok: #2c6a4e;
  --warn: #8a5a1f;
  --focus: #3d7ea6;
  --shadow: 0 10px 30px rgba(11, 28, 44, 0.08);
  --radius: 10px;
  --max: 1120px;
  --header-h: 72px;
  --font: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  font-size: 17px;
}
img { max-width: 100%; display: block; }
a { color: #1d4f73; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy); }
.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--brass);
  color: var(--navy);
  padding: 8px 12px;
  z-index: 1000;
}
.skip:focus { left: 8px; top: 8px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy);
  color: #e8eef3;
  border-bottom: 3px solid var(--brass);
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
  min-width: 0;
}
.brand-mark {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  border-radius: 50%;
  background: #d9e2ea;
  object-fit: cover;
}
.logo-hero {
  width: min(280px, 70vw);
  height: auto;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: block;
  background: #d9e2ea;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 14px;
  text-transform: uppercase;
}
.brand-sub {
  font-size: 12px;
  color: #b7c4d0;
  letter-spacing: 0.02em;
}
.nav {
  display: flex;
  gap: 4px;
  align-items: center;
}
.nav a {
  color: #d5dee6;
  text-decoration: none;
  font-size: 14px;
  padding: 8px 10px;
  border-radius: 6px;
}
.nav a:hover, .nav a[aria-current="page"] {
  color: #fff;
  background: rgba(255,255,255,0.08);
}
.nav a[aria-current="page"] {
  box-shadow: inset 0 -2px 0 var(--brass);
  border-radius: 6px 6px 0 0;
}
.nav-toggle {
  display: none;
  background: transparent;
  color: #fff;
  border: 1px solid var(--line-dark);
  border-radius: 6px;
  padding: 8px 10px;
  font: inherit;
  cursor: pointer;
}

/* Hero */
.hero {
  background:
    linear-gradient(180deg, rgba(11,28,44,0.08), rgba(11,28,44,0.02)),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 39px,
      rgba(11,28,44,0.035) 40px
    ),
    var(--paper);
  border-bottom: 1px solid var(--line);
}
.hero-inner, .wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 48px 20px;
}
.kicker {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 500;
  margin: 0 0 10px;
}
.hero h1 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  margin: 0 0 14px;
  letter-spacing: -0.02em;
  max-width: 18ch;
}
.lede {
  font-size: 18px;
  color: var(--muted);
  max-width: 58ch;
  margin: 0 0 24px;
}
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 16px;
  border-radius: 8px;
  border: 1px solid transparent;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.btn-primary {
  background: var(--navy);
  color: #fff;
}
.btn-primary:hover { background: var(--navy-2); color: #fff; }
.btn-ghost {
  background: #fff;
  color: var(--navy);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn-brass {
  background: var(--brass);
  color: var(--navy);
}
.btn-brass:hover { background: var(--brass-2); color: var(--navy); }

/* Layout */
.section { padding: 56px 0; }
.section-alt { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
h2 {
  font-size: 28px;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}
h3 { font-size: 18px; margin: 0 0 8px; }
.subhead { color: var(--muted); margin: 0 0 28px; max-width: 62ch; }
.grid-3, .grid-2, .grid-4 {
  display: grid;
  gap: 16px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}
.card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }
.stat {
  border-left: 3px solid var(--brass);
  padding-left: 14px;
}
.stat b { display: block; font-size: 15px; }
.stat span { color: var(--muted); font-size: 14px; }

.note, .callout {
  border: 1px solid var(--line);
  border-left: 4px solid var(--brass);
  background: #fffdf7;
  padding: 14px 16px;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.callout-navy {
  background: var(--navy);
  color: #e8eef3;
  border: 0;
  border-radius: var(--radius);
  padding: 22px;
}
.callout-navy a { color: var(--brass-2); }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.mono { font-family: var(--mono); font-size: 13px; }

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
th, td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
th {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }

/* Forms */
form label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 6px;
}
form .field { margin-bottom: 14px; }
input, select, textarea {
  width: 100%;
  font: inherit;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--focus);
  outline-offset: 1px;
  border-color: var(--focus);
}
textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-status {
  display: none;
  margin-top: 12px;
  padding: 12px;
  border-radius: 8px;
  background: #e8f4ee;
  color: var(--ok);
}
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li {
  display: flex;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.checklist li:last-child { border-bottom: 0; }
.box {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  border: 1.5px solid var(--navy);
  border-radius: 3px;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: #c5d0da;
  padding: 36px 20px 24px;
  font-size: 14px;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
}
.site-footer a { color: #e8eef3; }
.site-footer h3 {
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.legal {
  max-width: var(--max);
  margin: 24px auto 0;
  padding-top: 16px;
  border-top: 1px solid var(--line-dark);
  color: #8fa0ae;
  font-size: 12px;
}

.page-title { padding: 36px 0 8px; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.crumbs a { color: var(--muted); }

@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--navy-2);
    flex-direction: column;
    padding: 8px 12px 16px;
    border-bottom: 1px solid var(--line-dark);
  }
  .nav.open { display: flex; }
  .grid-3, .grid-2, .grid-4, .form-row, .footer-inner {
    grid-template-columns: 1fr;
  }
  .hero-inner, .wrap { padding: 32px 16px; }
}

@media print {
  .site-header, .site-footer, .actions, .nav-toggle, .no-print { display: none !important; }
  body { background: #fff; font-size: 12pt; }
  .card, .callout, .note { box-shadow: none; }
  a { color: inherit; text-decoration: none; }
}
