/* ==========================================================================
   BuyBelow Co. — design system
   Navy / charcoal / white, restrained motion, AA contrast.
   ========================================================================== */

@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Sora";
  src: url("/assets/fonts/sora-var.woff2") format("woff2");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #0b2545;
  --navy-deep: #071a32;
  --navy-soft: #12335c;
  --accent: #2f6fed;
  --accent-dark: #1f56c4;
  --accent-soft: #e8f0fe;
  --ink: #1e2937;
  --slate: #5b6b7f;
  --line: #dce3ec;
  --line-soft: #e9eef5;
  --paper: #f7f9fc;
  --white: #fff;
  --ok: #0f7a4d;
  --warn: #8a5a00;
  --danger: #b42318;

  --font-sans: "Inter", ui-sans-serif, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Sora", "Inter", ui-sans-serif, system-ui, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  --container: 1200px;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(7, 26, 50, 0.05);
  --shadow: 0 10px 30px -12px rgba(7, 26, 50, 0.28);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--accent-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy); }
strong { font-weight: 600; color: var(--ink); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  font-weight: 600;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.4rem); letter-spacing: -0.025em; }
h2 { font-size: clamp(1.6rem, 1.15rem + 1.5vw, 2.15rem); }
h3 { font-size: 1.15rem; letter-spacing: -0.01em; }
h4 { font-size: 1rem; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--mono); font-size: 0.92em; letter-spacing: 0.02em; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 6px;
  transition: top 0.15s var(--ease);
}
.skip-link:focus { top: 12px; color: #fff; }

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

/* ---------- header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.header-inner {
  display: flex; align-items: center; gap: 28px;
  height: 74px;
}
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.logo-mark { width: 34px; height: 34px; display: block; }
.logo-word {
  font-family: var(--font-display); font-weight: 700; font-size: 1.06rem;
  letter-spacing: 0.06em; color: var(--navy);
}
.logo-co { color: var(--accent); margin-left: 4px; font-size: 0.72em; letter-spacing: 0.1em; }
.logo--reversed .logo-word { color: #fff; }
.logo--reversed .logo-co { color: #8ab4ff; }

.primary-nav { margin-left: auto; }
.primary-nav > ul { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.primary-nav a, .menu-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 11px; border-radius: 7px;
  font-size: 0.925rem; font-weight: 500; color: #33445a; text-decoration: none;
  background: none; border: 0; font-family: inherit; cursor: pointer;
  transition: background 0.15s var(--ease), color 0.15s var(--ease);
}
.primary-nav a:hover, .menu-toggle:hover { background: var(--paper); color: var(--navy); }
.primary-nav a[aria-current="page"], .menu-toggle[data-active="true"] { color: var(--navy); font-weight: 600; }
.primary-nav a[aria-current="page"]::after {
  content: ""; position: absolute; inset: auto; display: none;
}
.chev { width: 10px; height: 7px; opacity: 0.55; transition: transform 0.18s var(--ease); }
.menu-toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }

.has-menu { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 290px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow); padding: 8px; display: none;
}
.dropdown.open { display: block; animation: dd 0.16s var(--ease); }
@keyframes dd { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.dropdown a {
  display: block; padding: 10px 12px; border-radius: 8px;
  font-size: 0.92rem; color: var(--ink); font-weight: 500;
}
.dropdown a:hover { background: var(--accent-soft); color: var(--navy); }
.dd-title { display: block; }

.header-actions { display: flex; align-items: center; gap: 10px; flex: none; }

.hamburger {
  display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 8px;
  background: #fff; padding: 11px 10px; cursor: pointer;
}
.hamburger span { display: block; height: 2px; background: var(--navy); border-radius: 2px; margin: 4px 0; transition: transform 0.2s var(--ease), opacity 0.2s; }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav {
  border-top: 1px solid var(--line-soft); background: #fff;
  max-height: calc(100vh - 74px); overflow-y: auto;
  box-shadow: 0 24px 40px -24px rgba(7, 26, 50, 0.4);
}
.mobile-nav ul { list-style: none; margin: 0; padding: 8px 24px 24px; }
.mobile-nav > nav > ul > li > a {
  display: block; padding: 13px 4px; font-weight: 600; color: var(--navy);
  text-decoration: none; border-bottom: 1px solid var(--line-soft); font-size: 1.02rem;
}
.mobile-nav ul.sub { padding: 2px 0 8px 12px; }
.mobile-nav ul.sub a { display: block; padding: 9px 4px; color: var(--slate); text-decoration: none; font-size: 0.94rem; }
.mobile-cta { margin-top: 18px; }
.mobile-cta .btn { width: 100%; justify-content: center; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 8px;
  font-family: var(--font-sans); font-size: 0.95rem; font-weight: 600;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: transform 0.12s var(--ease), background 0.15s var(--ease), box-shadow 0.15s var(--ease), color 0.15s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 0.88rem; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 1px 2px rgba(47, 111, 237, 0.35); }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-secondary { background: #fff; color: var(--navy); border-color: var(--line); }
.btn-secondary:hover { border-color: #b9c6d8; color: var(--navy); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-deep); color: #fff; }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: #eef3fb; color: var(--navy); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.6; pointer-events: none; }
.btn-block { width: 100%; }

.link-arrow { font-weight: 600; text-decoration: none; color: var(--accent-dark); display: inline-flex; align-items: center; gap: 6px; }
.link-arrow::after { content: "→"; transition: transform 0.16s var(--ease); }
.link-arrow:hover::after { transform: translateX(3px); }

/* ---------- type helpers ---------- */

.eyebrow {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent-dark); margin: 0 0 14px;
}
.page-hero .eyebrow { color: #8ab4ff; }
.lead { font-size: clamp(1.06rem, 1rem + 0.4vw, 1.22rem); color: #3d4f65; line-height: 1.6; max-width: 62ch; }
.section { padding: clamp(56px, 6vw, 92px) 0; }
.section--paper { background: var(--paper); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.section--tight { padding: clamp(40px, 4vw, 64px) 0; }
.section-head { max-width: 62ch; margin-bottom: clamp(28px, 3vw, 44px); }
.section-head p { color: var(--slate); font-size: 1.03rem; }
.muted { color: var(--slate); }
.small { font-size: 0.88rem; }
.center { text-align: center; }
.measure { max-width: 68ch; }

/* ---------- breadcrumbs ---------- */

.breadcrumbs { border-bottom: 1px solid var(--line-soft); background: #fff; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 12px 0; font-size: 0.82rem; color: var(--slate); }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; color: #b6c1d0; }
.breadcrumbs a { color: var(--slate); text-decoration: none; }
.breadcrumbs a:hover { color: var(--accent-dark); }

/* ---------- hero ---------- */

.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, #0b2545 0%, #0a2240 45%, #071a32 100%);
  color: #fff;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 70% at 70% 0%, #000 40%, transparent 100%);
}
.hero::after {
  content: ""; position: absolute; right: -12%; top: -30%;
  width: 720px; height: 720px; border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 111, 237, 0.34) 0%, transparent 62%);
  pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(32px, 5vw, 72px); align-items: center;
  padding: clamp(64px, 8vw, 112px) 0 clamp(56px, 7vw, 96px);
}
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero .lead { color: #c9d6e8; max-width: 54ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-eyebrow { color: #9dbdf0; }

.hero-aside { position: relative; }
.record-card {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: 22px 24px;
  backdrop-filter: blur(6px);
}
.record-card h2 {
  color: #fff; font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 600; margin: 0 0 14px; color: #9dbdf0;
}
.record-row { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.9rem; }
.record-row:first-of-type { border-top: 0; }
.record-row dt, .record-row .k { color: #a8bad2; }
.record-row dd, .record-row .v { margin: 0; color: #fff; font-weight: 500; text-align: right; }
.record-note { margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.78rem; color: #9fb3cc; line-height: 1.5; }

/* ---------- trust strip ---------- */

.trust {
  background: var(--white); border-bottom: 1px solid var(--line-soft);
}
.trust-inner { display: flex; flex-wrap: wrap; gap: 10px 28px; padding: 16px 0; align-items: center; }
.trust-item { display: inline-flex; align-items: center; gap: 8px; font-size: 0.83rem; color: var(--slate); }
.trust-item .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; }
.trust-item strong { color: var(--navy); font-weight: 600; }

/* ---------- generic page hero ---------- */

.page-hero {
  background: linear-gradient(165deg, #0b2545, #071a32);
  color: #fff; padding: clamp(48px, 6vw, 84px) 0 clamp(44px, 5vw, 72px);
  position: relative; overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; right: -180px; top: -180px; width: 520px; height: 520px;
  border-radius: 50%; background: radial-gradient(circle, rgba(47, 111, 237, 0.28), transparent 65%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; max-width: 20ch; }
.page-hero .lead { color: #c3d2e6; }
.page-hero .hero-actions { margin-top: 28px; }
.hero-meta { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 0.84rem; color: #9fb3cc; }

/* ---------- cards / grids ---------- */

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px; position: relative;
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease), transform 0.18s var(--ease);
}
.card:hover { border-color: #c3d0e2; box-shadow: var(--shadow); transform: translateY(-2px); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--slate); font-size: 0.95rem; }
.card .icon {
  width: 42px; height: 42px; border-radius: 10px; background: var(--accent-soft);
  display: grid; place-items: center; margin-bottom: 16px; color: var(--accent-dark);
}
.card .icon svg { width: 22px; height: 22px; }
.card--link { text-decoration: none; display: block; color: inherit; }
.card--link:hover h3 { color: var(--accent-dark); }

.list-check { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.list-check li { position: relative; padding-left: 30px; color: #3d4f65; }
.list-check li::before {
  content: ""; position: absolute; left: 0; top: 5px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%231f56c4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat;
}
.list-plain { margin: 0; padding-left: 20px; color: #3d4f65; }
.list-plain li { margin-bottom: 8px; }

/* process */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.step { position: relative; padding-top: 26px; border-top: 2px solid var(--line); }
.step::before {
  counter-increment: s; content: "0" counter(s);
  position: absolute; top: -2px; left: 0; transform: translateY(-50%);
  background: #fff; padding-right: 12px;
  font-family: var(--font-display); font-size: 0.8rem; font-weight: 700; color: var(--accent);
  letter-spacing: 0.08em;
}
.step h3 { font-size: 1.02rem; margin-bottom: 6px; }
.step p { color: var(--slate); font-size: 0.92rem; }

/* data table */
.data-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.data-table th, .data-table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table th { width: 34%; font-weight: 500; color: var(--slate); background: var(--paper); }
.data-table td { color: var(--ink); font-weight: 500; }
.data-table tr:last-child th, .data-table tr:last-child td { border-bottom: 0; }
.table-wrap { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 10px; border-radius: 999px; font-size: 0.76rem; font-weight: 600;
  letter-spacing: 0.02em; white-space: nowrap;
}
.badge-pending { background: #fff4e0; color: var(--warn); border: 1px solid #f3d9a8; }
.badge-active { background: #e7f6ee; color: var(--ok); border: 1px solid #bfe6ce; }
.badge-info { background: var(--accent-soft); color: var(--accent-dark); border: 1px solid #cddffb; }
.badge-neutral { background: var(--paper); color: var(--slate); border: 1px solid var(--line); }

/* callout */
.callout {
  border: 1px solid var(--line); border-left: 3px solid var(--accent);
  background: var(--paper); border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 22px; font-size: 0.94rem; color: #3d4f65;
}
.callout strong { color: var(--navy); }
.callout--warn { border-left-color: #d9a227; background: #fffaf0; }
.callout h3 { margin-bottom: 6px; font-size: 1rem; }

/* two-column feature */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.split--wide-left { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; }
.panel .panel-title { font-size: 1.05rem; margin-bottom: 0.45em; }
.panel--paper { background: var(--paper); }

/* ---------- forms ---------- */

.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 36px); box-shadow: var(--shadow-sm);
}
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.88rem; font-weight: 600; color: var(--navy); }
.field .hint { font-size: 0.78rem; color: var(--slate); font-weight: 400; }
.field .req { color: var(--danger); }
input, select, textarea {
  width: 100%; font-family: inherit; font-size: 0.96rem; color: var(--ink);
  background: #fff; border: 1px solid #c9d4e2; border-radius: 8px;
  padding: 12px 13px; min-height: 48px; transition: border-color 0.15s, box-shadow 0.15s;
}
textarea { min-height: 132px; resize: vertical; line-height: 1.55; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%235B6B7F' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 11px; padding-right: 38px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(47, 111, 237, 0.16); }
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.1); }
.error-text { color: var(--danger); font-size: 0.8rem; display: none; }
.error-text.show { display: block; }
.checkbox-field { flex-direction: row; align-items: flex-start; gap: 10px; }
.checkbox-field input { width: 18px; height: 18px; min-height: 0; margin-top: 2px; flex: none; accent-color: var(--accent); }
.checkbox-field label { font-weight: 400; font-size: 0.86rem; color: #3d4f65; line-height: 1.5; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 0.8rem; color: var(--slate); margin-top: 14px; }
.form-status { margin-top: 18px; }
.form-status:empty { display: none; }
.alert { border-radius: 10px; padding: 14px 16px; font-size: 0.92rem; border: 1px solid; }
.alert-success { background: #f0faf4; border-color: #bfe6ce; color: #0d5c3b; }
.alert-error { background: #fef3f2; border-color: #f3c9c4; color: #8f1d14; }
.alert-info { background: var(--accent-soft); border-color: #cddffb; color: #1b4a9c; }

.form-tabs { display: flex; gap: 6px; margin-bottom: 26px; flex-wrap: wrap; }
.form-tab {
  border: 1px solid var(--line); background: #fff; border-radius: 999px;
  padding: 9px 18px; font: inherit; font-size: 0.9rem; font-weight: 600; color: var(--slate);
  cursor: pointer;
}
.form-tab[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ---------- CTA band ---------- */

.cta-band { background: linear-gradient(120deg, #0b2545, #12335c 60%, #0b2545); color: #fff; padding: clamp(40px, 5vw, 64px) 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-inner h2 { color: #fff; margin-bottom: 8px; }
.cta-inner p { color: #c3d2e6; max-width: 58ch; margin: 0; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- prose (legal) ---------- */

.prose { max-width: 74ch; }
.prose h2 { font-size: 1.35rem; margin-top: 2em; }
.prose h3 { margin-top: 1.6em; font-size: 1.05rem; }
.prose ul { padding-left: 22px; color: #3d4f65; }
.prose li { margin-bottom: 8px; }
.prose .updated { font-size: 0.85rem; color: var(--slate); }

/* ---------- footer ---------- */

.site-footer { background: var(--navy-deep); color: #b9c8da; padding: 64px 0 28px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(4, minmax(0, 1fr)); gap: 36px; }
.footer-brand .logo { margin-bottom: 14px; }
.footer-tag { color: #93a8c1; font-size: 0.92rem; margin-bottom: 12px; }
.footer-contact { margin: 0 0 18px; font-size: 0.9rem; }
.footer-contact a { color: #dbe5f0; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.25); padding-bottom: 1px; }
.footer-contact a:hover { color: #fff; border-bottom-color: #fff; }
.footer-ids { display: grid; gap: 8px; margin: 0; font-size: 0.78rem; }
.footer-ids > div { display: flex; gap: 8px; }
.footer-ids dt { color: #7f95ae; min-width: 88px; }
.footer-ids dd { margin: 0; color: #dbe5f0; }
.footer-col h2 { color: #fff; font-family: var(--font-sans); font-size: 0.76rem; letter-spacing: 0.13em; text-transform: uppercase; font-weight: 600; margin-bottom: 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-col a { color: #b9c8da; text-decoration: none; font-size: 0.9rem; }
.footer-col a:hover { color: #fff; }
.footer-legal { border-top: 1px solid rgba(255, 255, 255, 0.1); margin-top: 44px; padding-top: 24px; }
.footer-legal p { font-size: 0.78rem; color: #8ea3bc; line-height: 1.6; max-width: 100ch; }
.footer-legal strong { color: #e6edf6; font-weight: 600; }
.site-footer strong { color: #e6edf6; }
.footer-legal a { color: #b9c8da; }
.footer-meta { margin-top: 14px; }

/* ---------- motion ---------- */

.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ---------- responsive ---------- */

@media (max-width: 980px) {
  .primary-nav { display: none; }
  .hamburger { display: block; }
  .header-actions { margin-left: auto; }
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-aside { max-width: 520px; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .footer-grid { grid-template-columns: 1.4fr repeat(2, minmax(0, 1fr)); row-gap: 32px; }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .split--wide-left { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .header-inner { height: 66px; gap: 12px; }
  .logo-word { font-size: 0.98rem; }
  .header-actions .btn { display: none; }
  .mobile-nav { max-height: calc(100vh - 66px); }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .hero-actions .btn, .page-hero .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .record-row { flex-direction: column; gap: 2px; }
  .record-row dd, .record-row .v { text-align: left; }
  .data-table th, .data-table td { padding: 12px; font-size: 0.9rem; }
  .data-table th { width: 42%; }
}

/* ---------- print (capability statement source) ---------- */
@media print {
  .site-header, .site-footer, .cta-band, .breadcrumbs, .skip-link { display: none !important; }
  body { font-size: 11pt; color: #000; }
  .page-hero { background: #fff !important; color: #000; padding: 0 0 16px; }
  .page-hero h1, .page-hero .lead { color: #000; }
  a { color: #000; text-decoration: none; }
}
