/* ==========================================================================
   IT Reserves — main.css
   IT RESERVES LLC · itreserves.com
   Design tokens per developer specification v3.0, Section 05.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  --navy:        #0B1638;
  --blue:        #1769E0;
  --blue-deep:   #0B57D0;
  --cyan:        #42C6E8;
  --grad-from:   #3159E8;
  --grad-to:     #42C6E8;
  --text:        #273449;
  --muted:       #5B6473;
  --surface:     #F5F8FC;
  --border:      #D9E2EF;
  --white:       #FFFFFF;

  --font-display: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --s1: 8px;   --s2: 16px;  --s3: 24px;  --s4: 32px;
  --s5: 40px;  --s6: 56px;  --s7: 72px;  --s8: 88px;

  --wrap: 1200px;
  --measure: 760px;
  --header-h: 76px;
  --utility-h: 36px;

  --radius: 10px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(11, 22, 56, .04), 0 4px 16px rgba(11, 22, 56, .06);
  --shadow-lift: 0 2px 4px rgba(11, 22, 56, .06), 0 12px 32px rgba(11, 22, 56, .10);
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

@media (max-width: 767px) { body { font-size: 16px; } }

img, svg, video { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 var(--s2);
  letter-spacing: -0.015em;
}

h1 { font-size: clamp(38px, 5vw, 60px); font-weight: 700; line-height: 1.1; }
h2 { font-size: clamp(28px, 3.2vw, 38px); font-weight: 700; }
h3 { font-size: clamp(19px, 1.6vw, 22px); font-weight: 600; }
h4 { font-size: 17px; font-weight: 600; }

p { margin: 0 0 var(--s3); }
p:last-child { margin-bottom: 0; }

a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--blue-deep); }

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

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--navy); color: var(--white);
  padding: 12px 20px; text-decoration: none; font-weight: 600;
}
.skip-link:focus { left: 8px; top: 8px; color: var(--white); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--s3); }
.measure { max-width: var(--measure); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* --------------------------------------------------------------------------
   3. Utility bar + header
   -------------------------------------------------------------------------- */
.utility {
  background: var(--navy);
  color: rgba(255,255,255,.72);
  font-size: 13.5px;
  height: var(--utility-h);
  display: flex; align-items: center;
}
.utility .wrap { display: flex; justify-content: flex-end; align-items: center; }
.utility a {
  color: rgba(255,255,255,.86);
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex; align-items: center; gap: 7px;
}
.utility a:hover { color: var(--cyan); }
.utility a .arr { color: var(--cyan); }
@media (max-width: 640px) { .utility { display: none; } }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap {
  height: var(--header-h);
  display: flex; align-items: center; gap: var(--s4);
}
@media (max-width: 900px) { .site-header .wrap { height: 66px; } }

.brand { display: flex; align-items: center; flex-shrink: 0; text-decoration: none; }
.brand img, .brand svg { height: 34px; width: auto; }

.nav { margin-left: auto; display: flex; align-items: center; gap: var(--s1); }

.nav-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; align-items: center; gap: 2px;
}
.nav-list > li { position: relative; }

.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 11px;
  font-size: 15.5px; font-weight: 500;
  color: var(--text); text-decoration: none;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  background: none; border: 0; cursor: pointer;
  font-family: var(--font-body);
}
.nav-link:hover { background: var(--surface); color: var(--navy); }
.nav-link[aria-current="page"] { color: var(--blue-deep); font-weight: 600; }
.nav-link .chev {
  width: 9px; height: 9px; border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor; transform: rotate(45deg) translate(-2px,-2px);
  transition: transform .15s ease; opacity: .55;
}
.nav-link[aria-expanded="true"] .chev { transform: rotate(-135deg) translate(-2px,-2px); }

/* Dropdown — grouped, per spec Section 03 */
.dropdown {
  position: absolute; top: calc(100% + 6px); right: 0;
  min-width: 620px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-lift);
  padding: var(--s3);
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: var(--s4);
}
.dropdown.open { display: grid; }

.dd-group-label {
  font-size: 11.5px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 var(--s2); padding-bottom: 9px;
  border-bottom: 1px solid var(--border);
}
.dd-group.is-delivery .dd-group-label { border-bottom-color: var(--blue); }
.dd-group.is-talent   .dd-group-label { border-bottom-color: var(--cyan); }

.dd-list { list-style: none; margin: 0; padding: 0; }
.dd-list a {
  display: block; padding: 9px 10px;
  border-radius: var(--radius-sm);
  color: var(--navy); text-decoration: none;
  font-size: 15px; font-weight: 500; line-height: 1.4;
}
.dd-list a:hover { background: var(--surface); color: var(--blue-deep); }

.header-cta { margin-left: var(--s2); }
@media (max-width: 1100px) { .header-cta { display: none; } }

/* Mobile toggle */
.menu-toggle {
  display: none; margin-left: auto;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: none; border: 1px solid var(--border);
  border-radius: var(--radius-sm); cursor: pointer;
}
.menu-toggle span {
  display: block; position: relative;
  width: 20px; height: 2px; background: var(--navy);
}
.menu-toggle span::before, .menu-toggle span::after {
  content: ""; position: absolute; left: 0;
  width: 20px; height: 2px; background: var(--navy);
}
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after  { top: 6px; }

@media (max-width: 1100px) {
  .menu-toggle { display: flex; }
  .nav { display: none; }
}

/* Mobile menu panel */
.mobile-menu {
  display: none;
  position: fixed; inset: 0; top: 0; z-index: 150;
  background: var(--white);
  overflow-y: auto;
  padding: var(--s3) 0 var(--s7);
}
.mobile-menu.open { display: block; }
body.menu-open { overflow: hidden; }

.mm-head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: var(--s3); margin-bottom: var(--s2);
  border-bottom: 1px solid var(--border);
}
.mm-close {
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  background: none; border: 1px solid var(--border); border-radius: var(--radius-sm);
  cursor: pointer; font-size: 22px; line-height: 1; color: var(--navy);
}
.mm-list { list-style: none; margin: 0; padding: 0; }
.mm-list > li { border-bottom: 1px solid var(--border); }
.mm-list > li > a, .mm-acc-btn {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 15px 4px;
  font-family: var(--font-display); font-size: 17px; font-weight: 600;
  color: var(--navy); text-decoration: none;
  background: none; border: 0; cursor: pointer; text-align: left;
}
.mm-acc-btn .chev {
  width: 9px; height: 9px; border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor; transform: rotate(45deg);
  transition: transform .15s ease; opacity: .5;
}
.mm-acc-btn[aria-expanded="true"] .chev { transform: rotate(-135deg); }
.mm-panel { display: none; padding: 0 0 var(--s2); }
.mm-panel.open { display: block; }
.mm-panel .dd-group-label { margin-top: var(--s2); }
.mm-panel .dd-list a { padding: 11px 10px; }
.mobile-menu .btn { width: 100%; margin-top: var(--s4); }
.mm-util {
  margin-top: var(--s3); padding-top: var(--s3);
  border-top: 1px solid var(--border); font-size: 15px;
}

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 11px 22px;
  font-family: var(--font-body); font-size: 15.5px; font-weight: 600;
  border-radius: var(--radius-sm); border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn-primary { background: var(--blue-deep); color: var(--white); }
.btn-primary:hover { background: var(--navy); color: var(--white); }

.btn-secondary { background: transparent; color: var(--navy); border-color: var(--border); }
.btn-secondary:hover { background: var(--surface); border-color: var(--navy); color: var(--navy); }

.btn-onnavy { background: var(--white); color: var(--navy); }
.btn-onnavy:hover { background: var(--cyan); color: var(--navy); }

.btn-ghost-onnavy { background: transparent; color: var(--white); border-color: rgba(255,255,255,.4); }
.btn-ghost-onnavy:hover { background: rgba(255,255,255,.1); color: var(--white); border-color: var(--white); }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--s2); }

/* --------------------------------------------------------------------------
   5. Sections
   -------------------------------------------------------------------------- */
.section { padding: var(--s8) 0; }
.section--tight { padding: var(--s6) 0; }
.section--surface { background: var(--surface); }
.section--navy { background: var(--navy); color: rgba(255,255,255,.82); }
.section--navy h2, .section--navy h3 { color: var(--white); }

@media (max-width: 991px) {
  .section { padding: var(--s6) 0; }
  .section--tight { padding: var(--s5) 0; }
}
@media (max-width: 767px) {
  .section { padding: var(--s5) 0; }
}

.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--blue);
  margin: 0 0 var(--s2);
}
.section--navy .eyebrow { color: var(--cyan); }

.lede { font-size: 19px; line-height: 1.6; color: var(--muted); }
@media (max-width: 767px) { .lede { font-size: 17px; } }

.section-head { max-width: var(--measure); margin-bottom: var(--s6); }

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hero {
  padding: var(--s8) 0 var(--s7);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: relative;
}
.hero > .wrap { position: relative; z-index: 1; }
.hero h1 { margin-top: var(--s4); max-width: 15ch; }
.hero .lede { max-width: 58ch; margin-top: var(--s3); }
.hero .btn-row { margin-top: var(--s5); }

@media (max-width: 767px) { .hero { padding: var(--s6) 0 var(--s5); } }

.hero--home {
  background: linear-gradient(160deg, #F5F8FC 0%, #EAF1FB 62%, #E4F4FA 100%);
}
.hero--home::after {
  content: ""; position: absolute; right: -120px; top: -80px;
  width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%,
              rgba(66,198,232,.28), rgba(49,89,232,.08) 55%, transparent 70%);
  pointer-events: none;
}
@media (max-width: 900px) { .hero--home::after { display: none; } }

.trust-line {
  margin-top: var(--s6); padding-top: var(--s3);
  border-top: 1px solid var(--border);
  font-size: 14.5px; color: var(--muted);
  display: flex; flex-wrap: wrap; gap: 8px 18px;
}
.trust-line span { display: inline-flex; align-items: center; gap: 18px; }
.trust-line span::after { content: "•"; color: var(--cyan); }
.trust-line span:last-child::after { content: none; }

/* Breadcrumb */
.crumbs { font-size: 14px; color: var(--muted); margin: 0; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs li::after { content: "/"; margin-left: 8px; color: var(--border); }
.crumbs li:last-child::after { content: none; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--blue); text-decoration: underline; }

/* --------------------------------------------------------------------------
   7. Tier system — the structural distinction between delivery and talent
   -------------------------------------------------------------------------- */
.tier-block + .tier-block { margin-top: var(--s7); }

.tier-head {
  display: flex; align-items: baseline; gap: var(--s2);
  padding-bottom: var(--s2); margin-bottom: var(--s4);
  border-bottom: 2px solid var(--border);
}
.tier-block.is-delivery .tier-head { border-bottom-color: var(--blue); }
.tier-block.is-talent   .tier-head { border-bottom-color: var(--cyan); }

.tier-label {
  font-family: var(--font-display);
  font-size: 13px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--navy); margin: 0;
}
.tier-note { font-size: 14.5px; color: var(--muted); margin: 0; }

.tier-tag {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .09em;
  text-transform: uppercase; padding: 5px 11px;
  border-radius: 100px; margin-bottom: var(--s3);
}
.tier-tag::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor;
}
.tier-tag--delivery { background: rgba(23,105,224,.10); color: var(--blue-deep); }
.tier-tag--talent   { background: rgba(66,198,232,.18); color: #0F6C86; }

/* --------------------------------------------------------------------------
   8. Cards & grids
   -------------------------------------------------------------------------- */
.grid { display: grid; gap: var(--s3); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 991px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--s4);
  display: flex; flex-direction: column;
  border-top: 3px solid var(--border);
  transition: box-shadow .18s ease, transform .18s ease, border-top-color .18s ease;
}
.card:hover { box-shadow: var(--shadow-lift); transform: translateY(-2px); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 16px; margin-bottom: var(--s3); }
.card .card-link { margin-top: auto; }

.card--delivery { border-top-color: var(--blue); }
.card--talent   { border-top-color: var(--cyan); }

.card-link {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 15px; font-weight: 600;
  color: var(--blue-deep); text-decoration: none;
}
.card-link:hover { text-decoration: underline; }
.card-link::after {
  content: "→"; transition: transform .15s ease; display: inline-block;
}
.card:hover .card-link::after { transform: translateX(3px); }

.plain-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: var(--s4);
}
.section--surface .plain-card { background: var(--white); }

/* Numbered process — order carries meaning here */
.steps { counter-reset: step; display: grid; gap: var(--s3); }
.step { display: flex; gap: var(--s3); align-items: flex-start; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--font-display); font-size: 14px; font-weight: 700;
  color: var(--cyan); flex-shrink: 0; padding-top: 3px;
  min-width: 30px;
}
.step h4 { margin-bottom: 5px; }
.step p { color: var(--muted); font-size: 16px; margin: 0; }

/* Feature list */
.feat-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s2); }
.feat-list li { position: relative; padding-left: 28px; color: var(--text); }
.feat-list li::before {
  content: ""; position: absolute; left: 4px; top: 10px;
  width: 7px; height: 7px; border-radius: 2px;
  background: var(--cyan);
}
.feat-list.cols { grid-template-columns: 1fr 1fr; gap: var(--s2) var(--s4); }
@media (max-width: 767px) { .feat-list.cols { grid-template-columns: 1fr; } }

.pill-row { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  border: 1px solid var(--border); background: var(--white);
  border-radius: 100px; padding: 7px 15px;
  font-size: 14.5px; color: var(--text);
}

/* --------------------------------------------------------------------------
   9. Disclosure blocks
   -------------------------------------------------------------------------- */
.disclosure {
  border-left: 3px solid var(--cyan);
  background: var(--surface);
  padding: var(--s3) var(--s4);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 16px; color: var(--text);
}
.disclosure strong { color: var(--navy); }

.disclaimer {
  font-size: 15px; color: var(--muted);
  border-top: 1px solid var(--border);
  padding-top: var(--s3); margin-top: var(--s3);
  max-width: var(--measure);
}

/* Experience list — text only, no logos (spec Section 06) */
.exp-names {
  display: flex; flex-wrap: wrap; gap: 10px 12px;
  margin: var(--s4) 0 0; padding: 0; list-style: none;
}
.exp-names li {
  font-family: var(--font-display);
  font-size: clamp(17px, 2vw, 21px); font-weight: 600;
  color: var(--navy);
  padding: 10px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
}

/* --------------------------------------------------------------------------
   10. CTA panel
   -------------------------------------------------------------------------- */
.cta-panel {
  background: var(--navy);
  border-radius: 14px;
  padding: var(--s6);
  color: rgba(255,255,255,.82);
  position: relative; overflow: hidden;
}
.cta-panel::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 45%, rgba(66,198,232,.16) 100%);
  pointer-events: none;
}
.cta-panel > * { position: relative; }
.cta-panel h2 { color: var(--white); max-width: 22ch; }
.cta-panel p { max-width: 62ch; }
.cta-panel .btn-row { margin-top: var(--s4); }
@media (max-width: 767px) { .cta-panel { padding: var(--s5) var(--s3); } }

/* Cross-brand band */
.crossbrand {
  border: 1px solid var(--border);
  border-left: 4px solid var(--cyan);
  border-radius: var(--radius);
  background: var(--white);
  padding: var(--s5);
  display: grid; grid-template-columns: 1fr auto;
  gap: var(--s4); align-items: center;
}
.crossbrand h2 { font-size: clamp(22px, 2.4vw, 28px); margin-bottom: 10px; }
.crossbrand p { color: var(--muted); margin: 0; max-width: 62ch; font-size: 16px; }
@media (max-width: 860px) {
  .crossbrand { grid-template-columns: 1fr; padding: var(--s4); }
}

/* --------------------------------------------------------------------------
   11. Forms
   -------------------------------------------------------------------------- */
.form-note { font-size: 15px; color: var(--muted); margin-bottom: var(--s4); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 767px) { .form-grid { grid-template-columns: 1fr; } }

.field label {
  display: block; font-size: 14.5px; font-weight: 600;
  color: var(--navy); margin-bottom: 7px;
}
.field .req { color: var(--blue-deep); }
.field .hint { display: block; font-weight: 400; color: var(--muted); font-size: 13.5px; margin-top: 3px; }

.field input, .field select, .field textarea {
  width: 100%; padding: 11px 13px;
  font-family: var(--font-body); font-size: 16px; color: var(--text);
  background: var(--white);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  min-height: 44px;
}
.field textarea { min-height: 130px; resize: vertical; line-height: 1.55; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--blue); outline: 2px solid rgba(23,105,224,.25); outline-offset: 0;
}
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] {
  border-color: #C0392B; background: #FEF7F6;
}
.field-error { display: none; color: #A93226; font-size: 14px; margin-top: 6px; font-weight: 500; }
.field-error.show { display: block; }

.checkbox-field { display: flex; gap: 11px; align-items: flex-start; }
.checkbox-field input { width: 20px; height: 20px; min-height: 20px; margin-top: 2px; flex-shrink: 0; }
.checkbox-field label { font-weight: 400; font-size: 15px; color: var(--text); margin: 0; }

.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.form-alert {
  display: none; padding: var(--s3) var(--s4);
  border-radius: var(--radius-sm); margin-bottom: var(--s4);
  font-size: 16px;
}
.form-alert.show { display: block; }
.form-alert--error { background: #FEF3F2; border: 1px solid #F3C4BE; color: #A93226; }
.form-alert--success { background: #EEF8F1; border: 1px solid #BFE3CB; color: #1E6B3A; }
.form-alert ul { margin: 10px 0 0; padding-left: 20px; }
.form-alert a { color: inherit; }

.contact-direct { display: grid; gap: var(--s3); }
.contact-direct dt {
  font-size: 12px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 4px;
}
.contact-direct dd {
  margin: 0 0 var(--s2); font-family: var(--font-display);
  font-size: 18px; font-weight: 600; color: var(--navy);
}
.contact-direct dd a { color: var(--navy); text-decoration: none; }
.contact-direct dd a:hover { color: var(--blue-deep); text-decoration: underline; }

/* Careers */
.job-list { display: grid; gap: var(--s3); }
.job-card {
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: var(--s4); background: var(--white);
}
.job-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 14.5px; color: var(--muted); margin-bottom: var(--s2); }
.empty-state {
  border: 1px dashed var(--border); border-radius: var(--radius);
  padding: var(--s5); text-align: center; background: var(--surface);
}
.empty-state p { color: var(--muted); max-width: 46ch; margin: 0 auto var(--s3); }

/* Prose (legal pages) */
.prose { max-width: var(--measure); }
.prose h2 { margin-top: var(--s6); font-size: clamp(22px, 2.4vw, 27px); }
.prose h3 { margin-top: var(--s4); }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 var(--s3); }
.prose li { margin-bottom: 9px; }

/* --------------------------------------------------------------------------
   12. Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,.66); padding: var(--s7) 0 var(--s4); font-size: 15px; }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.1fr;
  gap: var(--s5) var(--s4);
}
@media (max-width: 1100px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 700px)  { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px)  { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand img, .footer-brand svg { height: 32px; width: auto; margin-bottom: var(--s3); }
.footer-brand p { color: rgba(255,255,255,.58); font-size: 15px; max-width: 34ch; }

.site-footer h3 {
  font-size: 12px; font-weight: 700; letter-spacing: .11em;
  text-transform: uppercase; color: var(--white);
  margin-bottom: var(--s2);
}
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list li { margin-bottom: 10px; }
.footer-list a, .site-footer address a {
  color: rgba(255,255,255,.72); text-decoration: none;
}
.footer-list a:hover, .site-footer address a:hover { color: var(--cyan); }
.site-footer address { font-style: normal; line-height: 1.9; color: rgba(255,255,255,.72); }

.footer-cross {
  margin-top: var(--s6); padding-top: var(--s4);
  border-top: 1px solid rgba(255,255,255,.14);
}
.footer-cross a { color: var(--cyan); text-decoration: none; font-weight: 600; }
.footer-cross a:hover { text-decoration: underline; }

.footer-bottom {
  margin-top: var(--s4); padding-top: var(--s3);
  border-top: 1px solid rgba(255,255,255,.14);
  display: flex; flex-wrap: wrap; gap: 10px var(--s3);
  justify-content: space-between; align-items: center;
  font-size: 14px; color: rgba(255,255,255,.5);
}
.footer-bottom nav { display: flex; gap: var(--s3); }
.footer-bottom a { color: rgba(255,255,255,.6); text-decoration: none; }
.footer-bottom a:hover { color: var(--cyan); }

/* 404 */
.err-code {
  font-family: var(--font-display); font-size: clamp(64px, 12vw, 130px);
  font-weight: 700; line-height: 1; color: var(--border); margin: 0 0 var(--s2);
}

/* --------------------------------------------------------------------------
   13. Government contracting page
   -------------------------------------------------------------------------- */
.gov-fact { display: flex; flex-direction: column; justify-content: center; }
.gov-label {
  font-size: 11.5px; font-weight: 700; letter-spacing: .11em;
  text-transform: uppercase; color: var(--muted); margin: 0 0 8px;
}
.gov-value {
  font-family: var(--font-display); font-size: 24px; font-weight: 700;
  color: var(--navy); margin: 0; letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums; word-break: break-word;
}
.gov-value.sm { font-size: 18px; }
@media (max-width: 640px) { .gov-value { font-size: 21px; } }

.code-head {
  font-size: 12px; font-weight: 700; letter-spacing: .11em;
  text-transform: uppercase; color: var(--blue);
  padding-bottom: 10px; margin-bottom: 0;
  border-bottom: 2px solid var(--blue);
}
.code-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.code-table td { padding: 13px 0; border-bottom: 1px solid var(--border); vertical-align: top; }
.code-table td.code {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;
  font-weight: 600; color: var(--navy); white-space: nowrap;
  width: 92px; padding-right: 18px;
  font-variant-numeric: tabular-nums;
}
.code-table td:last-child { color: var(--muted); }

/* Reference number inside the success banner */
.form-alert code[data-reference] {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;
  font-size: 15px; font-weight: 600; letter-spacing: .02em;
  background: rgba(255,255,255,.7); border: 1px solid rgba(30,107,58,.25);
  border-radius: 4px; padding: 1px 6px; white-space: nowrap;
}
.form-alert--success a { color: inherit; font-weight: 600; }
.form-alert p:first-of-type { margin-top: 10px; }
