/* ==========================================================================
   RAD-C — design system
   Palette derived from the RAD-C logo: petrol navy plate + signal green.
   Voice: clinical, contained, precise. White = clean room, dark = the badge.
   ========================================================================== */

/* ---------- Fonts (self-hosted, latin subsets) ---------- */
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/barlow-600.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/barlow-700.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/inter-400.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/inter-500.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/inter-600.woff2") format("woff2");
}

/* ---------- Tokens ---------- */
:root {
  /* color */
  --petrol-900: #06171f;
  --petrol-850: #0a2230;
  --petrol-800: #0b2836;
  --petrol-700: #14394a;
  --petrol-600: #1d4a5e;
  --green-500: #7bc143;   /* logo green — CTAs, accents on dark */
  --green-600: #59a02c;
  --green-700: #3f7d20;   /* accessible green on white (≥4.5:1) */
  --paper: #ffffff;
  --paper-2: #f2f6f4;
  --line: #d9e2de;
  --line-dark: rgba(255, 255, 255, 0.14);
  --ink: #0e2430;
  --ink-2: #43585f;       /* secondary text on white */
  --ink-inverse: #eef4f1;
  --ink-inverse-2: #a8bcc0;

  /* type */
  --font-display: "Barlow", "Avenir Next Condensed", "Arial Narrow", sans-serif;
  --font-body: "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;

  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-md: 1.125rem;
  --text-lg: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.25rem + 1.1vw, 2.05rem);
  --text-2xl: clamp(1.9rem, 1.5rem + 1.9vw, 2.9rem);
  --text-hero: clamp(2.2rem, 1.7rem + 2.7vw, 3.7rem);

  /* space */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4.5rem;
  --space-9: 6.5rem;

  --radius: 6px;
  --radius-lg: 12px;
  --container: 71rem;
  --container-narrow: 46rem;
  --shadow: 0 1px 2px rgba(6, 23, 31, 0.06), 0 8px 28px rgba(6, 23, 31, 0.07);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  margin: 0;
}
/* The hidden attribute must win over component display rules (.form-grid etc.) */
[hidden] {
  display: none !important;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
}
input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}
a {
  color: var(--green-700);
  text-underline-offset: 3px;
}
a:hover {
  color: var(--petrol-700);
}

/* ---------- Typography ---------- */
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-wrap: balance;
}
h1 {
  font-size: var(--text-2xl);
}
h2 {
  font-size: var(--text-xl);
}
h3 {
  font-size: var(--text-lg);
}
h4 {
  font-size: var(--text-md);
}
p {
  text-wrap: pretty;
}
.lead {
  font-size: var(--text-md);
  color: var(--ink-2);
}
strong {
  font-weight: 600;
}

/* The signature device: a monospace intake-label eyebrow. */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-700);
  margin-bottom: var(--space-3);
}
.eyebrow::before {
  content: "";
  width: 1.4rem;
  height: 2px;
  background: var(--green-500);
}
.on-dark .eyebrow {
  color: var(--green-500);
}

/* ---------- Layout ---------- */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--space-5);
}
.container-narrow {
  max-width: var(--container-narrow);
  margin-inline: auto;
  padding-inline: var(--space-5);
}
.section {
  padding-block: var(--space-8);
}
.section-tight {
  padding-block: var(--space-7);
}
.section-alt {
  background: var(--paper-2);
}
.section-dark {
  background: linear-gradient(175deg, var(--petrol-700), var(--petrol-900) 72%);
  color: var(--ink-inverse);
}
.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: #fff;
}
.section-dark p {
  color: var(--ink-inverse-2);
}
.section-dark a {
  color: var(--green-500);
}
.section-head {
  max-width: 48rem;
  margin-bottom: var(--space-6);
}
.section-head > p {
  margin-top: var(--space-3);
  color: var(--ink-2);
}
.section-dark .section-head > p {
  color: var(--ink-inverse-2);
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: var(--space-5);
}
@media (min-width: 640px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 960px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}
.split {
  display: grid;
  gap: var(--space-6);
  align-items: center;
}
@media (min-width: 880px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-7);
  }
  .split-reverse > :first-child {
    order: 2;
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.8rem 1.5rem;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease,
    color 0.15s ease, transform 0.15s ease;
  min-height: 48px;
}
.btn:active {
  transform: translateY(1px);
}
.btn-primary {
  background: var(--green-500);
  border-color: var(--green-500);
  color: var(--petrol-900);
}
.btn-primary:hover {
  background: #8ecf58;
  border-color: #8ecf58;
  color: var(--petrol-900);
}
/* .section-dark a (green links) must not recolor button labels */
.section-dark a.btn-primary,
.section-dark a.btn-primary:hover {
  color: var(--petrol-900);
}
.btn-outline {
  background: transparent;
  border-color: var(--petrol-700);
  color: var(--petrol-800);
}
.btn-outline:hover {
  background: var(--petrol-800);
  color: #fff;
}
.on-dark .btn-outline,
.section-dark .btn-outline {
  border-color: var(--line-dark);
  color: #fff;
}
.on-dark .btn-outline:hover,
.section-dark .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}
.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.12rem;
}

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--petrol-900);
  border-bottom: 1px solid var(--line-dark);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: 4.25rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.brand img {
  height: 2.35rem;
  width: auto;
}
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 0.5rem 0.7rem;
  color: #fff;
  cursor: pointer;
  min-height: 44px;
  min-width: 44px;
}
.site-nav ul {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  list-style: none;
  padding: 0;
}
.site-nav a {
  display: inline-block;
  padding: 0.55rem 0.7rem;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--ink-inverse);
  text-decoration: none;
}
.site-nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}
.site-nav a[aria-current="page"] {
  color: var(--green-500);
}
.site-nav .nav-cta a {
  background: var(--green-500);
  color: var(--petrol-900);
  margin-left: var(--space-2);
  padding-inline: 1rem;
}
.site-nav .nav-cta a:hover {
  background: #8ecf58;
}
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--ink-inverse);
  text-decoration: none;
  white-space: nowrap;
}
.header-phone:hover {
  color: var(--green-500);
}
@media (max-width: 1080px) {
  .header-phone {
    display: none;
  }
}
@media (max-width: 880px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--petrol-850);
    border-bottom: 1px solid var(--line-dark);
    box-shadow: var(--shadow);
  }
  .site-nav.is-open {
    display: block;
  }
  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--space-3) var(--space-5) var(--space-5);
  }
  .site-nav a {
    display: block;
    padding: 0.8rem 0.6rem;
    font-size: 1.05rem;
  }
  .site-nav .nav-cta a {
    margin: var(--space-3) 0 0;
    text-align: center;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(175deg, var(--petrol-700), var(--petrol-900) 78%);
  color: var(--ink-inverse);
  overflow: hidden;
}
.hero-inner {
  position: relative;
  display: grid;
  gap: var(--space-7);
  padding-block: var(--space-7) var(--space-8);
}
@media (min-width: 960px) {
  .hero-inner {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: center;
    padding-block: var(--space-8);
  }
}
.hero h1 {
  font-size: var(--text-hero);
  color: #fff;
}
.hero .lead {
  margin-top: var(--space-4);
  color: var(--ink-inverse-2);
  max-width: 36rem;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-6);
}
.hero-note {
  margin-top: var(--space-4);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--ink-inverse-2);
}
.hero-media {
  position: relative;
}
.hero-media img {
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  width: 100%;
  max-height: 34rem;
  object-fit: cover;
}

/* Containment card — intake label overlapping the media's corner.
   Scoped selector: the card also carries .corner-ticks, whose
   position: relative would otherwise override the absolute here. */
.hero-media .intake-card {
  position: absolute;
  left: -1.25rem;
  bottom: 1.5rem;
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: var(--space-4) var(--space-5);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 2;
  letter-spacing: 0.04em;
}
.intake-card .tick {
  color: var(--green-700);
  font-weight: 700;
}
@media (max-width: 959px) {
  .hero-media .intake-card {
    position: static;
    margin-top: var(--space-4);
    display: inline-block;
  }
}

/* Corner-tick containment marks (crop marks) */
.corner-ticks {
  position: relative;
}
.corner-ticks::before,
.corner-ticks::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: var(--green-500);
  border-style: solid;
}
.corner-ticks::before {
  top: -1px;
  left: -1px;
  border-width: 2px 0 0 2px;
}
.corner-ticks::after {
  bottom: -1px;
  right: -1px;
  border-width: 0 2px 2px 0;
}

/* ---------- Trust bar ---------- */
.trust-bar {
  background: var(--petrol-900);
  border-top: 1px solid var(--line-dark);
}
.trust-bar ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-6);
  padding: var(--space-4) 0;
  margin: 0;
  justify-content: center;
}
.trust-bar li {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-inverse-2);
}
.trust-bar li svg {
  color: var(--green-500);
  flex-shrink: 0;
}

/* ---------- Cards ---------- */
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
}
.card h3 {
  margin-bottom: var(--space-2);
}
.card p {
  color: var(--ink-2);
  font-size: 0.97rem;
}
.card .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius);
  background: var(--paper-2);
  color: var(--green-700);
  margin-bottom: var(--space-4);
}
.section-dark .card {
  background: rgba(255, 255, 255, 0.045);
  border-color: var(--line-dark);
}
.section-dark .card p {
  color: var(--ink-inverse-2);
}
.section-dark .card .icon {
  background: rgba(255, 255, 255, 0.07);
  color: var(--green-500);
}
.card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.card-link:hover {
  border-color: var(--green-600);
  transform: translateY(-2px);
  color: inherit;
}

/* ---------- Process steps ---------- */
.steps {
  list-style: none;
  padding: 0;
  display: grid;
  gap: var(--space-5);
  counter-reset: step;
}
@media (min-width: 700px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1020px) {
  .steps-row {
    grid-template-columns: repeat(4, 1fr);
  }
}
.step {
  counter-increment: step;
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  padding-top: var(--space-6);
}
.step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: -0.9rem;
  left: var(--space-5);
  background: var(--petrol-800);
  color: var(--green-500);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  line-height: 1.4;
  /* .corner-ticks::before shares this pseudo-element (14px bordered crop
     mark); reset its box so the badge sizes to its text. The badge takes
     the top-left corner; the bottom-right tick (::after) still shows. */
  width: auto;
  height: auto;
  border: 0;
}
.step h3 {
  font-size: 1.08rem;
  margin-bottom: var(--space-2);
  color: var(--ink); /* cards stay light even inside .section-dark */
}
.section-dark .step h3 {
  color: var(--ink);
}
.section-dark .step p {
  color: var(--ink-2);
}
.step p {
  color: var(--ink-2);
  font-size: 0.95rem;
}

/* ---------- Spec / data tables ---------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
caption {
  text-align: left;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-2);
  padding: var(--space-3) var(--space-4);
}
th,
td {
  text-align: left;
  padding: var(--space-3) var(--space-4);
  border-top: 1px solid var(--line);
  vertical-align: top;
}
thead th {
  font-family: var(--font-display);
  font-weight: 600;
  background: var(--paper-2);
  border-top: none;
}
td:first-child {
  font-weight: 500;
}
.table-note {
  font-size: var(--text-sm);
  color: var(--ink-2);
  margin-top: var(--space-3);
}

/* ---------- Definition rows (spec sheet) ---------- */
.spec-list {
  display: grid;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.spec-row {
  display: grid;
  grid-template-columns: minmax(9rem, 14rem) 1fr;
  border-top: 1px solid var(--line);
}
.spec-row:first-child {
  border-top: none;
}
.spec-row dt {
  padding: var(--space-3) var(--space-4);
  background: var(--paper-2);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-2);
  display: flex;
  align-items: center;
}
.spec-row dd {
  padding: var(--space-3) var(--space-4);
  margin: 0;
}
@media (max-width: 560px) {
  .spec-row {
    grid-template-columns: 1fr;
  }
  .spec-row dt {
    padding-bottom: 0;
    background: none;
  }
}

/* ---------- FAQ ---------- */
/* Count + expand/collapse-all row above the list, in the intake-label voice. */
.faq-tools {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.faq-count {
  color: var(--ink-2);
}
.faq-toggle-all {
  background: none;
  border: 0;
  padding: var(--space-2) 0;
  color: var(--green-700);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.25em;
  text-decoration-color: transparent;
  transition: text-decoration-color 0.15s ease;
}
.faq-toggle-all:hover {
  text-decoration-color: currentColor;
}
.faq-list {
  display: grid;
  gap: var(--space-3);
}
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
}
.faq-item summary {
  cursor: pointer;
  padding: var(--space-4) var(--space-5);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 1.2rem;
  color: var(--green-700);
  flex-shrink: 0;
}
.faq-item[open] summary::after {
  content: "–";
}
.faq-item .faq-body {
  padding: 0 var(--space-5) var(--space-5);
  color: var(--ink-2);
}
.faq-item .faq-body p + p {
  margin-top: var(--space-3);
}

/* ---------- Forms ---------- */
.form-grid {
  display: grid;
  gap: var(--space-4);
}
@media (min-width: 640px) {
  .form-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .form-grid .form-field-full {
    grid-column: 1 / -1;
  }
}
.form-field label {
  display: block;
  font-weight: 500;
  font-size: 0.95rem;
  margin-bottom: var(--space-1);
}
.form-field .optional {
  color: var(--ink-2);
  font-weight: 400;
  font-size: 0.85rem;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  min-height: 48px;
}
.form-field textarea {
  min-height: 8rem;
  resize: vertical;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid var(--green-600);
  outline-offset: 1px;
  border-color: var(--green-600);
}
.form-field input[aria-invalid="true"],
.form-field select[aria-invalid="true"],
.form-field textarea[aria-invalid="true"] {
  border-color: #b3261e;
}
.field-error {
  color: #b3261e;
  font-size: var(--text-sm);
  margin-top: var(--space-1);
}
.form-status {
  border-radius: var(--radius);
  padding: var(--space-4);
  font-weight: 500;
}
.form-status.is-success {
  background: #eaf6e2;
  border: 1px solid var(--green-600);
  color: #23531a;
}
.form-status.is-error {
  background: #fdeceb;
  border: 1px solid #b3261e;
  color: #8c1d18;
}
/* Honeypot — visually removed, still in the form for bots */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- Contact panel ---------- */
.contact-direct {
  display: grid;
  gap: var(--space-4);
}
.contact-direct a.contact-line {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-family: var(--font-display);
  font-size: 1.1rem;
  transition: border-color 0.15s ease;
}
.contact-direct a.contact-line:hover {
  border-color: var(--green-600);
}
.contact-direct .contact-line svg {
  color: var(--green-700);
  flex-shrink: 0;
}
.contact-direct .contact-line .sub {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--ink-2);
}

/* ---------- Prose (markdown articles) ---------- */
.prose {
  max-width: var(--container-narrow);
}
.prose h2 {
  margin-top: var(--space-7);
  margin-bottom: var(--space-4);
}
.prose h3 {
  margin-top: var(--space-6);
  margin-bottom: var(--space-3);
}
.prose p,
.prose ul,
.prose ol {
  margin-bottom: var(--space-4);
}
.prose ul,
.prose ol {
  padding-left: 1.4rem;
}
.prose li + li {
  margin-top: var(--space-2);
}
.prose blockquote {
  border-left: 3px solid var(--green-500);
  padding-left: var(--space-4);
  color: var(--ink-2);
  margin-bottom: var(--space-4);
}
.prose table {
  margin-bottom: var(--space-4);
}
.prose .article-meta {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: var(--space-5);
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(175deg, var(--petrol-700), var(--petrol-900) 80%);
  color: var(--ink-inverse);
}
.cta-band-inner {
  padding-block: var(--space-8);
  display: grid;
  gap: var(--space-5);
  text-align: center;
  justify-items: center;
}
.cta-band h2 {
  color: #fff;
  max-width: 34rem;
}
.cta-band p {
  color: var(--ink-inverse-2);
  max-width: 38rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--petrol-900);
  color: var(--ink-inverse-2);
  font-size: 0.95rem;
}
.footer-inner {
  padding-block: var(--space-7) var(--space-6);
  display: grid;
  gap: var(--space-6);
}
@media (min-width: 880px) {
  .footer-inner {
    grid-template-columns: 2fr 1fr 1fr 1.4fr;
  }
}
.site-footer .footer-heading {
  color: #fff;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: var(--space-3);
}
.site-footer ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: var(--space-2);
}
.site-footer a {
  color: var(--ink-inverse-2);
  text-decoration: none;
}
.site-footer a:hover {
  color: var(--green-500);
  text-decoration: underline;
}
.footer-brand img {
  height: 2.1rem;
  width: auto;
  margin-bottom: var(--space-3);
}
.footer-brand p {
  max-width: 24rem;
}
.footer-legal {
  border-top: 1px solid var(--line-dark);
  padding-block: var(--space-4);
  font-size: 0.82rem;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-5);
  justify-content: space-between;
}

/* ---------- Sticky mobile CTA ---------- */
.mobile-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 60;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--petrol-900);
  border-top: 1px solid var(--line-dark);
  padding: 0.5rem;
  padding-bottom: max(0.5rem, env(safe-area-inset-bottom));
}
.mobile-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 48px;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
}
.mobile-cta .cta-call {
  background: transparent;
  border: 1px solid var(--line-dark);
  color: #fff;
}
.mobile-cta .cta-quote {
  background: var(--green-500);
  color: var(--petrol-900);
}
@media (max-width: 720px) {
  body.show-mobile-cta .mobile-cta {
    display: grid;
  }
  body.show-mobile-cta {
    padding-bottom: 4.2rem;
  }
}

/* ---------- Utilities ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--green-500);
  color: var(--petrol-900);
  padding: var(--space-3) var(--space-4);
  font-weight: 600;
  z-index: 100;
}
.skip-link:focus {
  left: 0;
}
:focus-visible {
  outline: 3px solid var(--green-600);
  outline-offset: 2px;
}
.section-dark :focus-visible,
.hero :focus-visible,
.site-header :focus-visible {
  outline-color: var(--green-500);
}
.text-center {
  text-align: center;
}
.mt-4 {
  margin-top: var(--space-4);
}
.mt-6 {
  margin-top: var(--space-6);
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.badge-note {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0.2rem 0.55rem;
  color: var(--ink-2);
}
