/* CogniAccess LLC — website v2
   Hand-built design system: navy, teal, warm paper, clear buyer paths. */

:root {
  --navy: #0B2545;
  --navy-2: #102F57;
  --navy-dark: #071A33;
  --teal: #0E9594;
  --teal-dark: #087F7E;
  --cyan: #35C4D8;
  --ink: #1D2A36;
  --muted: #5A6B78;
  --line: #DCE5E8;
  --paper: #FFFFFF;
  --warm: #F7F5F0;
  --mist: #EEF5F4;
  --gold: #D8A94E;
  --shadow: 0 18px 45px rgba(11, 37, 69, 0.10);
  --shadow-small: 0 8px 24px rgba(11, 37, 69, 0.08);
  --radius: 18px;
  --radius-small: 12px;
  --max: 1180px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 118px;
}

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

img { max-width: 100%; }

a {
  color: var(--teal-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover { color: var(--navy); }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(53, 196, 216, 0.75);
  outline-offset: 3px;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.narrow { max-width: 820px; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--navy);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 10px 10px;
}

.skip-link:focus { top: 0; color: #fff; }

/* Utility bar and header */
.topbar {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.86);
  font-size: 0.83rem;
  line-height: 1.35;
}

.topbar-inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 7px;
  padding-bottom: 7px;
}

.topbar a {
  color: #fff;
  font-weight: 650;
  text-decoration: none;
}

.topbar a:hover { color: var(--cyan); }

.topbar .dot { color: var(--cyan); padding: 0 9px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 3px 18px rgba(11,37,69,0.04);
}

.header-inner {
  min-height: 104px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  width: 308px;
  height: 88px;
  overflow: hidden;
}

.brand img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

.main-nav { margin-left: auto; }

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  display: block;
  color: var(--navy);
  font-size: 0.96rem;
  font-weight: 620;
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 999px;
}

.main-nav a:hover { background: var(--mist); color: var(--teal-dark); }

.main-nav a.current {
  color: var(--teal-dark);
  background: #E6F3F2;
  box-shadow: inset 0 0 0 1px #C9E5E3;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--navy);
  cursor: pointer;
  padding: 11px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: currentColor;
  margin: 5px 0;
}

.header-cta { flex: 0 0 auto; }

/* Buttons and labels */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 13px 21px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 720;
  font-size: 0.97rem;
  line-height: 1.25;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, color 160ms ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 10px 24px rgba(14,149,148,0.24);
}

.btn-primary:hover { background: var(--teal-dark); color: #fff; }

.btn-light {
  background: #fff;
  color: var(--navy);
}

.btn-light:hover { color: var(--teal-dark); }

.btn-outline-light {
  border-color: rgba(255,255,255,0.55);
  color: #fff;
  background: transparent;
}

.btn-outline-light:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,0.08); }

.btn-outline {
  border-color: #BFD1D5;
  color: var(--navy);
  background: #fff;
}

.btn-outline:hover { border-color: var(--teal); color: var(--teal-dark); }

.btn-small {
  min-height: 44px;
  padding: 10px 17px;
  font-size: 0.92rem;
}

.text-link {
  font-weight: 720;
  text-decoration: none;
}

.text-link::after { content: " →"; color: var(--teal); }

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow.light { color: var(--cyan); }

.section-head { max-width: 760px; margin-bottom: 38px; }

.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.section-head p { color: var(--muted); font-size: 1.08rem; }

h1, h2, h3, h4 {
  color: var(--navy);
  line-height: 1.14;
  letter-spacing: -0.025em;
}

h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.55rem, 6vw, 4.65rem);
  font-weight: 500;
  margin: 0 0 24px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 680;
  margin: 0 0 16px;
}

h3 { font-size: 1.28rem; margin: 0 0 10px; }
h4 { font-size: 1.05rem; margin: 0 0 8px; }

p { margin: 0 0 18px; }
.lead { font-size: 1.17rem; }
.muted { color: var(--muted); }
.small { font-size: 0.92rem; }

/* Page heroes */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: #fff;
}

.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(53,196,216,0.18);
  border-radius: 50%;
  right: -190px;
  top: -260px;
}

.hero::after {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 50%;
  left: -170px;
  bottom: -220px;
}

.hero h1, .page-hero h1 { color: #fff; }
.hero p, .page-hero p { color: rgba(255,255,255,0.82); }

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(390px, 0.82fr);
  gap: 58px;
  align-items: center;
  padding: 86px 0 92px;
}

.hero-copy .lead { max-width: 650px; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 28px;
  color: rgba(255,255,255,0.78);
  font-size: 0.94rem;
}

.hero-points span::before {
  content: "✓";
  color: var(--cyan);
  font-weight: 800;
  margin-right: 7px;
}

.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: #fff;
  padding: 74px 0 78px;
}

.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { max-width: 820px; font-size: clamp(2.5rem, 5vw, 4.2rem); }
.page-hero .lead { max-width: 780px; }

/* Access decision visual */
.access-panel {
  background: #fff;
  color: var(--ink);
  border-radius: 24px;
  box-shadow: 0 30px 70px rgba(0,0,0,0.25);
  padding: 26px;
  border-top: 6px solid var(--teal);
}

.access-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.access-panel-header h2 {
  font-size: 1.28rem;
  letter-spacing: -0.01em;
  margin: 0 0 4px;
}

.access-panel-header p { color: var(--muted); font-size: 0.9rem; margin: 0; }

.status-pill {
  flex: 0 0 auto;
  background: #E7F5F1;
  color: #08705D;
  border: 1px solid #BFE3D8;
  border-radius: 999px;
  padding: 6px 11px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 20px 0;
}

.signal {
  background: var(--warm);
  border: 1px solid #E8E2D7;
  border-radius: 14px;
  padding: 14px 12px;
  text-align: center;
}

.signal svg { width: 28px; height: 28px; stroke: var(--navy); fill: none; stroke-width: 1.7; }
.signal strong { display: block; color: var(--navy); font-size: 0.9rem; line-height: 1.3; }
.signal span { display: block; color: var(--muted); font-size: 0.79rem; line-height: 1.35; margin-top: 3px; }

.flow-arrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  margin: 4px 0 16px;
}

.flow-arrow::before, .flow-arrow::after {
  content: "";
  height: 1px;
  background: #BFDCD9;
  flex: 1;
}

.policy-box {
  border: 1px solid #CBE3E0;
  background: var(--mist);
  border-radius: 16px;
  padding: 18px;
}

.policy-box h3 { font-size: 1rem; margin-bottom: 12px; }

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-list li {
  position: relative;
  padding-left: 31px;
  margin: 0 0 11px;
}

.check-list li:last-child { margin-bottom: 0; }

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 900;
  line-height: 21px;
  text-align: center;
}

.access-result {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 18px;
  background: var(--navy);
  color: #fff;
  border-radius: 16px;
  padding: 17px 18px;
}

.access-result svg { width: 30px; height: 30px; flex: 0 0 auto; fill: none; stroke: var(--cyan); stroke-width: 1.7; }
.access-result strong { display: block; color: #fff; line-height: 1.3; }
.access-result span { display: block; color: rgba(255,255,255,0.75); font-size: 0.88rem; line-height: 1.4; }

/* Sections, cards and bands */
.section { padding: 88px 0; }
.section-tight { padding: 62px 0; }
.section-warm { background: var(--warm); }
.section-mist { background: var(--mist); }
.section-navy { background: var(--navy); color: #fff; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-navy p { color: rgba(255,255,255,0.8); }

.platform-strip {
  border-bottom: 1px solid var(--line);
  background: #fff;
  padding: 24px 0;
}

.platform-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.platform-strip .label {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.platform-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 0;
  color: var(--navy);
  font-weight: 720;
}

.platform-list span { padding: 0 18px; border-right: 1px solid var(--line); }
.platform-list span:last-child { border-right: 0; padding-right: 0; }

/* Standards & frameworks grid */
.standards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.standard-item {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal);
  border-radius: var(--radius-small);
  padding: 17px 19px;
}

.standard-item strong {
  display: block;
  color: var(--navy);
  font-size: 1.03rem;
  line-height: 1.3;
  margin-bottom: 4px;
}

.standard-item span {
  display: block;
  color: var(--muted);
  font-size: 0.89rem;
  line-height: 1.5;
}

.grid { display: grid; gap: 22px; }
.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)); }
.grid-5 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.grid-5 > :nth-child(1) { grid-column: span 2; }
.grid-5 > :nth-child(2) { grid-column: span 2; }
.grid-5 > :nth-child(3) { grid-column: span 2; }
.grid-5 > :nth-child(4) { grid-column: 2 / span 2; }
.grid-5 > :nth-child(5) { grid-column: 4 / span 2; }

.card {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 27px;
  box-shadow: 0 4px 18px rgba(11,37,69,0.035);
}

.card p { color: var(--muted); }
.card p:last-child { margin-bottom: 0; }

a.card {
  color: inherit;
  text-decoration: none;
  transition: transform 170ms ease, box-shadow 170ms ease, border-color 170ms ease;
}

a.card:hover {
  transform: translateY(-3px);
  border-color: #AFD5D2;
  box-shadow: var(--shadow-small);
  color: inherit;
}

.card .card-link {
  display: inline-block;
  margin-top: 8px;
  color: var(--teal-dark);
  font-weight: 750;
}

.card .card-link::after { content: " →"; }

.services-overview .span-2 { grid-column: span 2; }
.fisma-card { background: #F3FAF9; border-color: #B9DCD8; }
.service-cta-card { background: var(--navy); border-color: var(--navy); }
.service-cta-card h3 { color: #fff; }
.service-cta-card p { color: rgba(255,255,255,0.8); }
.service-cta-card .card-link { color: var(--cyan); }
a.service-cta-card:hover { border-color: var(--navy); }

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 15px;
  background: #E7F3F2;
  color: var(--teal-dark);
  margin-bottom: 18px;
}

.icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon.navy { background: #E9EEF5; color: var(--navy); }
.icon.gold { background: #FBF1DA; color: #8A6414; }

.problem-card { border-top: 4px solid var(--teal); }
.problem-card:nth-child(2) { border-top-color: var(--cyan); }
.problem-card:nth-child(3) { border-top-color: var(--gold); }
.problem-card:nth-child(4) { border-top-color: var(--navy); }
.problem-card:nth-child(5) { border-top-color: var(--teal-dark); }

.response {
  border-top: 1px solid var(--line);
  padding-top: 15px;
  margin-top: 16px;
  font-size: 0.95rem;
}

.response strong { color: var(--navy); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 58px;
  align-items: start;
}

.split.align-center { align-items: center; }

.deliverable-panel {
  background: var(--navy);
  color: #fff;
  border-radius: 24px;
  padding: 34px;
  box-shadow: var(--shadow);
}

.deliverable-panel h3 { color: #fff; font-size: 1.45rem; }
.deliverable-panel p { color: rgba(255,255,255,0.78); }
.deliverable-panel .check-list li { color: rgba(255,255,255,0.92); }
.deliverable-panel .check-list li::before { background: var(--cyan); color: var(--navy); }

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-small);
}

.process-step {
  padding: 30px 27px;
  border-right: 1px solid var(--line);
  position: relative;
}

.process-step:last-child { border-right: 0; }

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  margin-bottom: 18px;
}

.process-step:nth-child(2) .step-number { background: var(--teal); }
.process-step:nth-child(3) .step-number { background: var(--teal-dark); }
.process-step:nth-child(4) .step-number { background: #53677D; }
.process-step p { color: var(--muted); margin-bottom: 0; }

.audience-panel {
  border-radius: 24px;
  padding: 36px;
  min-height: 100%;
}

.audience-panel.federal { background: var(--navy); color: #fff; }
.audience-panel.federal h3 { color: #fff; }
.audience-panel.federal p, .audience-panel.federal li { color: rgba(255,255,255,0.84); }
.audience-panel.commercial { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-small); }
.audience-panel .check-list li::before { background: var(--cyan); color: var(--navy); }
.audience-panel.commercial .check-list li::before { background: var(--teal); color: #fff; }

.why-grid .card { padding-top: 30px; }

.faq-list { max-width: 900px; margin: 0 auto; }

details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-bottom: 12px;
  overflow: hidden;
}

summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 54px 20px 22px;
  color: var(--navy);
  font-weight: 730;
  position: relative;
}

summary::-webkit-details-marker { display: none; }

summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--teal);
  font-size: 1.45rem;
  font-weight: 500;
}

details[open] summary::after { content: "−"; }
details .faq-body { padding: 0 22px 21px; color: var(--muted); }
details .faq-body p:last-child { margin-bottom: 0; }

.cta-band {
  background: var(--teal-dark);
  color: #fff;
  border-radius: 26px;
  padding: 46px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 34px;
  align-items: center;
  box-shadow: var(--shadow);
}

.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { color: rgba(255,255,255,0.86); margin-bottom: 0; max-width: 700px; }
.cta-actions { display: flex; flex-direction: column; gap: 12px; min-width: 238px; }
.cta-actions .btn-outline-light { text-align: center; }

/* Service pages */
.anchor-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: -8px 0 44px;
}

.anchor-nav a {
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 13px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 680;
}

.anchor-nav a:hover { border-color: var(--teal); color: var(--teal-dark); }

.service-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 52px;
  padding: 52px 0;
  border-top: 1px solid var(--line);
}

.service-section:first-of-type { border-top: 0; padding-top: 12px; }

.service-intro { position: sticky; top: 132px; }
.service-intro .situation {
  background: var(--warm);
  border-left: 4px solid var(--gold);
  border-radius: 0 12px 12px 0;
  padding: 18px;
  color: #4E5A63;
  margin-top: 22px;
}

.service-intro .situation strong { display: block; color: var(--navy); margin-bottom: 5px; }

.service-detail h3 { margin-top: 28px; }
.service-detail h3:first-child { margin-top: 0; }

.deliverables {
  background: var(--mist);
  border: 1px solid #CFE4E1;
  border-radius: 16px;
  padding: 22px 24px;
  margin-top: 24px;
}

.deliverables h3 { font-size: 1.03rem; margin: 0 0 13px; }
.deliverables ul { columns: 2; column-gap: 34px; margin: 0; padding-left: 20px; }
.deliverables li { break-inside: avoid; margin-bottom: 8px; }

.compact-service {
  background: var(--navy);
  border-radius: 22px;
  color: #fff;
  padding: 36px;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 44px;
  margin: 28px 0 10px;
}

.compact-service h2, .compact-service h3 { color: #fff; }
.compact-service p, .compact-service li { color: rgba(255,255,255,0.84); }
.compact-service .check-list li::before { background: var(--cyan); color: var(--navy); }

.model-card { text-align: left; }
.model-card .model-label { color: var(--teal-dark); font-size: 0.8rem; font-weight: 800; letter-spacing: 0.11em; text-transform: uppercase; }

/* About and company facts */
.principles .card { min-height: 100%; }

.fact-panel, .contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-small);
  padding: 32px;
}

.fact-list { margin: 0; }
.fact-list div {
  display: grid;
  grid-template-columns: 42% 58%;
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.fact-list div:first-child { padding-top: 0; }
.fact-list div:last-child { border-bottom: 0; padding-bottom: 0; }
.fact-list dt { color: var(--muted); font-weight: 650; }
.fact-list dd { margin: 0; color: var(--navy); font-weight: 680; }

.area-panel {
  background: var(--navy);
  color: #fff;
  border-radius: 24px;
  padding: 38px;
}
.area-panel h2, .area-panel h3 { color: #fff; }
.area-panel p, .area-panel li { color: rgba(255,255,255,0.84); }

/* Capability statement */
.capability-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.data-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-small);
}

.data-table th, .data-table td { text-align: left; vertical-align: top; padding: 17px 20px; }
.data-table th { width: 31%; background: var(--warm); color: var(--navy); border-bottom: 1px solid var(--line); }
.data-table td { border-bottom: 1px solid var(--line); }
.data-table tr:last-child th, .data-table tr:last-child td { border-bottom: 0; }

.competency-card h3 { font-size: 1.12rem; }
.competency-card p { font-size: 0.96rem; }

.notice {
  border: 1px solid #EBD9A8;
  background: #FFF8E5;
  color: #5E4C18;
  border-radius: 14px;
  padding: 17px 20px;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.78fr);
  gap: 34px;
  align-items: start;
}

.contact-card { position: sticky; top: 132px; }
.contact-card .email-large {
  display: block;
  color: var(--navy);
  font-size: clamp(1.22rem, 3vw, 1.65rem);
  font-weight: 780;
  line-height: 1.3;
  margin: 12px 0 18px;
  overflow-wrap: anywhere;
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { color: var(--navy); font-weight: 680; font-size: 0.94rem; }
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid #BFCFD4;
  border-radius: 11px;
  padding: 12px 13px;
  font: inherit;
  font-size: 0.97rem;
  background: #fff;
  color: var(--ink);
}
.field textarea { min-height: 142px; resize: vertical; }
.form-note {
  background: var(--warm);
  border: 1px solid #E8E2D7;
  border-radius: 12px;
  padding: 15px 17px;
  color: #59636A;
  font-size: 0.92rem;
}

.steps-list { counter-reset: steps; list-style: none; padding: 0; margin: 0; }
.steps-list li {
  counter-increment: steps;
  position: relative;
  padding: 0 0 24px 58px;
}
.steps-list li::before {
  content: counter(steps);
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}
.steps-list li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 19px;
  top: 48px;
  bottom: 2px;
  width: 2px;
  background: var(--line);
}
.steps-list p { color: var(--muted); margin-bottom: 0; }

/* Footer */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.78);
  padding: 64px 0 28px;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr 0.8fr 0.9fr;
  gap: 42px;
  padding-bottom: 42px;
  border-bottom: 1px solid rgba(255,255,255,0.13);
}

.footer-brand { max-width: 360px; }
.footer-brand .brand { background: #fff; border-radius: 14px; padding: 6px 10px; width: 288px; height: 82px; margin-bottom: 20px; }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 15px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: rgba(255,255,255,0.82); text-decoration: none; }
.site-footer a:hover { color: var(--cyan); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 24px;
  font-size: 0.9rem;
}

.footer-bottom a { color: #fff; font-weight: 650; }

/* Responsive behavior */
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr 0.9fr; gap: 38px; }
  .standards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-step:nth-child(2) { border-right: 0; }
  .process-step:nth-child(1), .process-step:nth-child(2) { border-bottom: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 880px) {
  html { scroll-padding-top: 96px; }
  .topbar .optional { display: none; }
  .topbar-inner { justify-content: center; text-align: center; }
  .header-inner { min-height: 88px; gap: 14px; }
  .brand { width: 238px; height: 68px; }
  .nav-toggle { display: block; }
  .header-cta { display: none; }
  .main-nav {
    display: none;
    position: absolute;
    left: 20px;
    right: 20px;
    top: 76px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 12px;
  }
  .main-nav.open { display: block; }
  .main-nav ul { display: block; }
  .main-nav a { padding: 13px 14px; border-radius: 10px; }
  .hero-grid { grid-template-columns: 1fr; padding: 64px 0 70px; }
  .hero-copy { max-width: 720px; }
  .access-panel { max-width: 650px; }
  .platform-strip-inner { display: block; }
  .platform-strip .label { display: block; margin-bottom: 12px; }
  .platform-list { justify-content: flex-start; }
  .platform-list span:first-child { padding-left: 0; }
  .split, .service-section, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .service-intro, .contact-card { position: static; }
  .compact-service { grid-template-columns: 1fr; gap: 24px; }
  .cta-band { grid-template-columns: 1fr; padding: 36px; }
  .cta-actions { flex-direction: row; flex-wrap: wrap; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { width: min(var(--max), calc(100% - 28px)); }
  .section { padding: 64px 0; }
  .section-tight { padding: 48px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .standards-grid { grid-template-columns: 1fr; }
  .grid-5 { grid-template-columns: 1fr; }
  .grid-5 > * { grid-column: auto !important; }
  .services-overview .span-2 { grid-column: auto; }
  .process-grid { grid-template-columns: 1fr; }
  .process-step { border-right: 0; border-bottom: 1px solid var(--line); }
  .process-step:last-child { border-bottom: 0; }
  .signal-grid { grid-template-columns: 1fr; }
  .signal { display: grid; grid-template-columns: 38px 1fr; text-align: left; align-items: center; column-gap: 10px; }
  .signal svg { grid-row: span 2; }
  .signal strong, .signal span { margin: 0; }
  .hero-actions .btn, .capability-actions .btn { width: 100%; }
  .access-panel { padding: 21px; }
  .access-panel-header { display: block; }
  .status-pill { display: inline-block; margin-top: 12px; }
  .platform-list span { padding: 0 10px; }
  .platform-list span:first-child { padding-left: 0; }
  .deliverables ul { columns: 1; }
  .fact-list div { grid-template-columns: 1fr; gap: 3px; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .data-table th, .data-table td { display: block; width: 100%; }
  .data-table th { border-bottom: 0; padding-bottom: 5px; }
  .data-table td { padding-top: 3px; }
  .cta-actions { flex-direction: column; }
}

/* Print — especially for the capability statement */
@media print {
  @page { margin: 0.65in; }
  body { font-size: 11pt; line-height: 1.45; background: #fff; }
  .topbar, .site-header, .site-footer, .capability-actions, .no-print { display: none !important; }
  .page-hero { background: #fff; color: var(--navy); padding: 0 0 22px; }
  .page-hero::before { display: none; }
  .page-hero h1 { color: var(--navy); font-size: 28pt; }
  .page-hero p { color: #333; }
  .section, .section-tight { padding: 22px 0; }
  .section-warm, .section-mist { background: #fff; }
  .container { width: 100%; }
  .card, .data-table, .fact-panel { box-shadow: none; break-inside: avoid; }
  a { color: var(--navy); text-decoration: none; }
}
