/* Brand tokens extracted from https://alethium.io/ (inline <style> in the page head).
   See BRAND.md for sources and for every value marked "substitution". */

:root {
  /* ─── Brand colours (live site) ─────────────────────────── */
  --teal:            #0097A7; /* live --navy: logo, gradient start */
  --cornflower:      #1565C0; /* live --cornflower: accents, links, gradient end */
  --cornflower-wash: #F0F4FF; /* tinted section background, icon tiles */
  --slate:           #263238; /* dark sections, footer */
  --charcoal:        #263238; /* headings and primary text */
  --mid-gray:        #78909C; /* live secondary text: decorative use only here (3.35:1 on white) */
  --light-gray:      #CFD8DC; /* secondary button border */
  --border:          #E0E0E0;
  --white:           #FFFFFF;
  --gradient:        linear-gradient(135deg, #0097A7 0%, #1565C0 100%);

  /* ─── Accessible substitutions (not on live site) ───────── */
  --teal-deep:       #00838F; /* 4.52:1 with white; gradient start wherever white text sits on it */
  --gradient-text:   linear-gradient(135deg, #00838F 0%, #1565C0 100%);
  --text-secondary:  #546E7A; /* replaces --mid-gray for body text: 5.40:1 on white, 4.91:1 on wash */
  --text-on-dark:    #FFFFFF;
  --text-on-dark-secondary: #B0BEC5; /* 6.90:1 on slate; replaces mid-gray / 50% white on dark */
  --focus-ring:      #1565C0; /* live site defines no focus style */
  --focus-ring-on-dark: #FFFFFF;
  --todo-bg:         #FFEB3B; /* [TODO: …] placeholders, per build brief */

  /* ─── Status colours (live dashboard mock) ──────────────── */
  --status-positive:      #388E3C;
  --status-positive-wash: #E8F5E9;

  /* ─── Typography ────────────────────────────────────────── */
  --font-head: 'Outfit', system-ui, sans-serif;   /* 400/500/600/700 */
  --font-body: 'DM Sans', system-ui, sans-serif;  /* 400/500/600 */
  --text-h1:      clamp(36px, 4vw, 52px);
  --text-h2:      clamp(28px, 3vw, 40px);
  --text-h2-cta:  clamp(28px, 3.5vw, 46px);
  --text-h3:      18px;
  --text-lead:    17px;
  --text-body:    15px;
  --text-small:   14px;
  --text-caption: 12px;
  --leading-body: 1.65;
  --leading-head: 1.1;
  --weight-head:  600;

  /* ─── Shape, shadow, layout ─────────────────────────────── */
  --radius-sm:  10px; /* buttons, icon tiles */
  --radius-md:  14px; /* cards */
  --radius-lg:  20px; /* product mocks */
  --radius-pill: 100px;
  --shadow-card:  0 1px 3px rgba(0,0,0,0.04), 0 8px 24px rgba(0,0,0,0.06);
  --shadow-hover: 0 4px 12px rgba(0,0,0,0.08), 0 16px 40px rgba(0,0,0,0.1);
  --shadow-btn:   0 2px 8px rgba(0,151,167,0.25);
  --shadow-btn-hover: 0 4px 16px rgba(21,101,192,0.35);
  --max-w:        1200px;
  --gutter:       32px;  /* 20px at <=600px */
  --gutter-sm:    20px;
  --section-pad:  96px;
  --nav-h:        64px;
  --bp-tablet:    900px; /* reference only: custom properties cannot be used in @media */
  --bp-mobile:    600px;

  /* ─── Buttons ───────────────────────────────────────────── */
  --btn-pad:       12px 28px;
  --btn-pad-nav:   9px 20px;
  --btn-font-size: 15px;
  --btn-weight:    600;
  --transition:    150ms ease;
}

/* ─── RESET ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: var(--slate); -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: var(--text-body);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
h1, h2, h3 { font-family: var(--font-head); font-weight: var(--weight-head); overflow-wrap: break-word; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* ─── FOCUS ──────────────────────────────────────────────── */
:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 2px; border-radius: 4px; }
.on-gradient :focus-visible, .on-dark :focus-visible { outline-color: var(--focus-ring-on-dark); }

/* ─── LAYOUT ─────────────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-pad) 0; background: var(--white); }
.section--wash { background: var(--cornflower-wash); }
.section--dark { background: var(--slate); color: var(--text-on-dark); }

.section-header { margin-bottom: 56px; }
.section-header--center { text-align: center; }
.section-header h2, .split-copy h2 { font-size: var(--text-h2); line-height: 1.15; color: var(--charcoal); }
.section--dark .section-header h2 { color: var(--text-on-dark); }
.section-intro { font-size: var(--text-lead); color: var(--text-secondary); line-height: var(--leading-body); max-width: 720px; margin-top: 16px; }
.section-header--center .section-intro { margin-left: auto; margin-right: auto; }
.section--dark .section-intro { color: var(--text-on-dark-secondary); }
.lead { font-size: var(--text-lead); color: var(--text-secondary); line-height: var(--leading-body); margin-top: 20px; }

.eyebrow {
  display: inline-block;
  font-size: var(--text-caption);
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--cornflower);
  background: var(--cornflower-wash);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  margin-bottom: 20px;
}
.on-gradient .eyebrow { color: var(--white); background: transparent; border: 1px solid rgba(255,255,255,0.45); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split-visual { display: flex; justify-content: center; min-width: 0; }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

/* ─── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: var(--btn-pad);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: var(--btn-font-size);
  font-weight: var(--btn-weight);
  line-height: 1.4;
  text-align: center;
  border: 1.5px solid transparent;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), color var(--transition), background var(--transition);
}
.btn-primary { background: var(--gradient-text); color: var(--white); box-shadow: var(--shadow-btn); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: var(--shadow-btn-hover); }
.btn-secondary { background: var(--white); color: var(--charcoal); border-color: var(--light-gray); }
.btn-secondary:hover { border-color: var(--cornflower); color: var(--cornflower); }
.on-gradient .btn-primary { background: var(--white); color: var(--teal-deep); box-shadow: none; }
.on-gradient .btn-primary:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.15); }
.on-gradient .btn-secondary { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.55); }
.on-gradient .btn-secondary:hover { background: rgba(255,255,255,0.12); border-color: var(--white); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.text-link { font-size: var(--text-small); font-weight: 500; color: var(--text-secondary); transition: color var(--transition); }
.text-link:hover { color: var(--charcoal); }

.arrow-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--cornflower); }
.arrow-link .icon { width: 16px; height: 16px; transition: transform var(--transition); }
.arrow-link:hover .icon { transform: translateX(3px); }
.arrow-link:hover { text-decoration: underline; }

/* ─── TODO PLACEHOLDER ───────────────────────────────────── */
.todo {
  background: var(--todo-bg);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-size: 0.85em;
  font-weight: 600;
  padding: 1px 6px;
  border-radius: 4px;
}

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 600px) {
  .container { padding: 0 var(--gutter-sm); }
  .section { padding: 72px 0; }
  .section-header { margin-bottom: 40px; }
}

/* ─── HEADER ─────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  min-height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  color: var(--teal);
}
.logo--footer { font-size: 20px; color: var(--white); display: inline-block; margin-bottom: 12px; }

.site-nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex: 1; }
.nav-links { display: flex; align-items: center; gap: 28px; margin: 0 auto; }
.nav-links a, .menu-toggle {
  font-size: var(--text-small);
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition);
  white-space: nowrap;
}
.nav-links a:hover, .menu-toggle:hover, .nav-links a[aria-current="page"] { color: var(--charcoal); }
.menu-toggle { display: inline-flex; align-items: center; gap: 4px; padding: 8px 0; }
.menu-toggle .icon { width: 14px; height: 14px; transition: transform var(--transition); }
.menu-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }

.has-menu { position: relative; }
.menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 180px;
  padding: 8px 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-hover);
  z-index: 200;
}
.menu a { display: block; padding: 9px 18px; font-size: 13px; color: var(--charcoal); }
.menu a:hover { color: var(--cornflower); background: var(--cornflower-wash); }
.menu-toggle[aria-expanded="true"] + .menu { display: block; }
/* Without JS the dropdowns still open on hover and keyboard focus. */
html:not(.js) .has-menu:hover .menu, html:not(.js) .has-menu:focus-within .menu { display: block; }

.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-actions .btn { padding: var(--btn-pad-nav); font-size: var(--text-small); white-space: nowrap; }
.region-switch .menu-toggle { gap: 6px; padding: 8px 4px; }
.region-switch .icon-globe { width: 16px; height: 16px; }
.region-switch .menu { left: auto; right: 0; transform: none; }
.region-switch .menu a[aria-current="true"] { color: var(--cornflower); font-weight: 600; }
.nav-toggle { display: none; padding: 8px; margin-right: -8px; color: var(--charcoal); border-radius: var(--radius-sm); }

/* Six links plus three actions do not fit much below 1080px, so the menu
   collapses earlier than the live site's 900px. */
@media (max-width: 1080px) {
  .js .nav-toggle { display: inline-flex; }
  .nav-inner { flex-wrap: wrap; }
  .site-nav { flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 8px; padding: 8px 0 24px; }
  .js .site-nav { display: none; }
  .js .site-nav.is-open { display: flex; max-height: calc(100vh - var(--nav-h)); overflow-y: auto; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 0; margin: 0; }
  .nav-links > li { border-bottom: 1px solid var(--border); }
  .nav-links a, .menu-toggle { display: flex; width: 100%; justify-content: space-between; padding: 14px 0; font-size: 15px; }
  .menu { position: static; transform: none; border: none; box-shadow: none; padding: 0 0 8px 16px; min-width: 0; }
  .menu a { padding: 10px 0; font-size: 14px; }
  .menu a:hover { background: none; }
  .nav-actions { flex-wrap: wrap; padding-top: 12px; }
  .nav-actions .text-link { flex-basis: 100%; padding: 8px 0; font-size: 15px; }
  .region-switch { flex-basis: 100%; }
  .region-switch .menu-toggle { justify-content: flex-start; gap: 8px; }
  .region-switch .menu-toggle .icon-chevron { margin-left: auto; }
  .nav-actions .btn { flex: 1 1 140px; padding: 12px 20px; }
}
@media (max-width: 600px) {
  .nav-inner { padding: 0 var(--gutter-sm); }
}

/* ─── FOOTER ─────────────────────────────────────────────── */
.site-footer { background: var(--slate); color: var(--text-on-dark-secondary); padding-top: 72px; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 3fr; gap: 64px; padding-bottom: 56px; }
.footer-brand p { font-size: var(--text-small); line-height: var(--leading-body); max-width: 280px; }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.footer-col h2 {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a, .footer-legal a { font-size: var(--text-small); transition: color var(--transition); }
.footer-col a:hover, .footer-legal a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 24px;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 20px;
  padding-bottom: 28px;
  font-size: 13px;
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-legal a { font-size: 13px; }

@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 400px) {
  .footer-cols { gap: 32px 20px; }
}

/* ─── HERO ───────────────────────────────────────────────── */
.hero {
  background: var(--gradient-text);
  color: var(--white);
  padding: 96px 0 88px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 70% 50%, rgba(21,101,192,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero .container { position: relative; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.hero-single { max-width: 860px; text-align: center; }
.hero-single .btn-row { justify-content: center; }
.hero--compact { padding: 80px 0 72px; }
.hero h1 { font-size: var(--text-h1); line-height: var(--leading-head); margin-bottom: 20px; }
.hero-subhead { font-family: var(--font-head); font-size: 20px; font-weight: 500; line-height: 1.4; margin-bottom: 16px; }
.hero-body { font-size: var(--text-lead); line-height: var(--leading-body); max-width: 520px; margin-bottom: 32px; }
.hero-single .hero-body { max-width: 640px; margin-left: auto; margin-right: auto; margin-bottom: 0; }
.hero-eligibility { font-size: 13px; line-height: 1.55; max-width: 480px; margin-top: 20px; }
.hero-visual { display: flex; justify-content: center; min-width: 0; }

/* ─── PRODUCT MOCKS (static, screenshot-style) ───────────── */
.mock {
  width: 100%;
  max-width: 440px;
  background: var(--white);
  color: var(--charcoal);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0,0,0,0.18);
  padding: 28px;
  text-align: left;
}
.section .mock { box-shadow: var(--shadow-hover); }
.mock-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 12px;
}
.num { font-variant-numeric: tabular-nums; white-space: nowrap; }

.fc-amount { font-family: var(--font-head); font-size: 42px; font-weight: 600; line-height: 1.1; margin-bottom: 20px; }
.fc-bar { height: 8px; border-radius: var(--radius-pill); background: var(--cornflower-wash); overflow: hidden; margin-bottom: 8px; }
.fc-bar span { display: block; height: 100%; border-radius: var(--radius-pill); background: var(--gradient); }
.fc-bar-labels { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; color: var(--text-secondary); margin-bottom: 20px; }
.fc-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--border);
  font-size: 13px;
}
.fc-row:last-child { padding-bottom: 0; }
.fc-row dt { color: var(--text-secondary); }
.fc-row dd { text-align: right; font-weight: 500; }
.fc-row strong { font-weight: 600; margin-left: 8px; }

.pm-head { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 12px 24px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.pm-number { font-family: var(--font-head); font-size: 18px; font-weight: 600; }
.pm-pairs { display: flex; gap: 24px; font-size: 12px; }
.pm-pairs dt { color: var(--text-secondary); font-size: 11px; font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; }
.pm-pairs dd { font-weight: 500; font-size: 13px; }
.pm-meta { padding: 14px 0; border-bottom: 1px solid var(--border); }
.pm-lines li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 13px; }
.pm-total { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0 20px; font-family: var(--font-head); font-size: 18px; font-weight: 600; }
.pm-actions { display: flex; gap: 10px; }
.mock-btn {
  flex: 1 1 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 11px 12px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  border: 1.5px solid transparent;
  cursor: default;
  user-select: none;
}
.mock-btn--primary { flex-grow: 1.6; background: var(--gradient-text); color: var(--white); }
.mock-btn--secondary { background: var(--white); color: var(--charcoal); border-color: var(--light-gray); }
.pm-note { font-size: 12px; line-height: 1.5; color: var(--text-secondary); margin-top: 12px; }
.pm-powered { font-size: 11px; font-weight: 600; color: var(--text-secondary); text-align: right; margin-top: 16px; }

/* ─── STEPS ──────────────────────────────────────────────── */
.steps { display: grid; gap: 24px; grid-template-columns: repeat(4, 1fr); }
.steps--3 { grid-template-columns: repeat(3, 1fr); }
.step { padding: 28px 24px; transition: box-shadow 200ms ease, transform 200ms ease; }
.step:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--cornflower-wash);
  color: var(--cornflower);
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
}
.step h3 { font-size: var(--text-h3); line-height: 1.3; margin-bottom: 10px; }
.step p { font-size: var(--text-small); color: var(--text-secondary); line-height: var(--leading-body); }

/* ─── FEATURE GRID ───────────────────────────────────────── */
.feature-grid { display: grid; gap: 20px; grid-template-columns: repeat(4, 1fr); }
.feature-grid--3 { grid-template-columns: repeat(3, 1fr); }
.feature {
  padding: 28px 22px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  transition: background 200ms ease, border-color 200ms ease;
}
.feature:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.3); }
.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.1);
  color: var(--white);
  margin-bottom: 16px;
}
.feature-icon .icon { width: 20px; height: 20px; }
.feature h3 { font-size: 17px; line-height: 1.3; color: var(--white); margin-bottom: 10px; }
.feature p { font-size: var(--text-small); color: var(--text-on-dark-secondary); line-height: var(--leading-body); }

/* ─── STAT TILES / WORKED EXAMPLE ────────────────────────── */
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.stat-tile { background: var(--cornflower-wash); border-radius: var(--radius-md); padding: 28px 24px; text-align: center; }
.stat-value { font-family: var(--font-head); font-size: 40px; font-weight: 600; line-height: 1.1; color: var(--cornflower); margin-bottom: 8px; }
.stat-label { font-size: var(--text-small); color: var(--text-secondary); line-height: 1.5; }
.footnote { font-size: 13px; color: var(--text-secondary); text-align: center; margin-top: 24px; }

/* ─── PLATFORM / CHECK LIST ──────────────────────────────── */
.check-list { padding: 12px 28px; }
.check-list li { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--border); }
.check-list li:last-child { border-bottom: none; }
.check-icon {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--cornflower-wash);
  color: var(--cornflower);
}
.check-icon .icon { width: 16px; height: 16px; }
.check-list h3 { font-size: 17px; line-height: 1.3; margin-bottom: 4px; }
.check-list p { font-size: var(--text-small); color: var(--text-secondary); line-height: var(--leading-body); }

/* ─── INDUSTRIES STRIP ───────────────────────────────────── */
.industry-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.industry-card { display: flex; flex-direction: column; align-items: flex-start; padding: 32px; transition: box-shadow 200ms ease, transform 200ms ease; }
.industry-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.industry-card h3 { font-size: 22px; line-height: 1.25; margin-bottom: 12px; }
.industry-card p { color: var(--text-secondary); line-height: var(--leading-body); margin-bottom: 24px; }
.industry-card .arrow-link { margin-top: auto; }

/* ─── CTA BAND ───────────────────────────────────────────── */
.cta-band { background: var(--gradient-text); color: var(--white); padding: var(--section-pad) 0; text-align: center; }
.cta-band h2 { font-size: var(--text-h2-cta); line-height: 1.15; max-width: 820px; margin: 0 auto 16px; }
.cta-band p { font-size: 18px; margin-bottom: 36px; }
.cta-band .btn-row { justify-content: center; }

/* Feature grid on a light section (second grid on a page) */
.section:not(.section--dark) .feature { background: var(--white); border-color: var(--border); box-shadow: var(--shadow-card); }
.section:not(.section--dark) .feature:hover { background: var(--white); border-color: var(--border); box-shadow: var(--shadow-hover); }
.section:not(.section--dark) .feature-icon { background: var(--cornflower-wash); color: var(--cornflower); }
.section:not(.section--dark) .feature h3 { color: var(--charcoal); }
.section:not(.section--dark) .feature p { color: var(--text-secondary); }

/* ─── TEXT BLOCK ─────────────────────────────────────────── */
.text-block { max-width: 860px; text-align: center; }
.text-block h2 { font-size: var(--text-h2); line-height: 1.15; }
.text-block .arrow-link { margin-top: 28px; }

/* ─── OFFER (two-column) ─────────────────────────────────── */
.split--top { align-items: start; }
.split--reverse .split-copy { order: 2; }

/* ─── CASE STUDY ─────────────────────────────────────────── */
.section-header h2 { max-width: 860px; }
.section-header--center h2 { margin-left: auto; margin-right: auto; }
.case-body { text-align: center; margin-top: 32px; }

/* ─── PRICING SHELL ──────────────────────────────────────── */
.pricing-shell { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; align-items: stretch; }
.pricing-shell--1 { grid-template-columns: minmax(0, 560px); justify-content: center; }
.pricing-column { display: flex; flex-direction: column; align-items: flex-start; padding: 36px 32px; }
.pricing-column h2 { font-size: 28px; line-height: 1.2; margin-bottom: 8px; }
.pricing-column .check-list { width: 100%; padding: 0; margin-bottom: 8px; }
.pricing-note { font-size: var(--text-small); color: var(--text-secondary); line-height: var(--leading-body); margin-bottom: 24px; }
.pricing-column .btn { margin-top: auto; }
.pricing-column .check-list + .btn { margin-top: auto; }

/* ─── FAQ ────────────────────────────────────────────────── */
.faq { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.faq-item { padding: 24px 28px; }
.faq-item h3 { font-size: 17px; line-height: 1.3; margin-bottom: 8px; }
.faq-item p { font-size: var(--text-small); color: var(--text-secondary); line-height: var(--leading-body); }

/* ─── PLACEHOLDER PAGE ───────────────────────────────────── */
.placeholder-page { min-height: 50vh; display: flex; align-items: center; text-align: center; }
.placeholder-page .container { width: 100%; }
.placeholder-page h1 { font-size: var(--text-h1); line-height: var(--leading-head); }

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero { padding: 72px 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .pricing-shell { grid-template-columns: 1fr; }
  .split--reverse .split-copy { order: 0; }
  .steps, .steps--3, .feature-grid, .feature-grid--3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .hero { padding: 56px 0 64px; }
  .steps, .steps--3, .feature-grid, .feature-grid--3, .stat-row, .industry-cards, .faq { grid-template-columns: 1fr; }
  .pricing-column { padding: 28px 22px; }
  .faq-item { padding: 20px 22px; }
  .cta-band { padding: 72px 0; }
  .mock { padding: 20px; }
  .fc-amount { font-size: 36px; }
  .industry-card { padding: 24px; }
  .check-list { padding: 8px 20px; }
  .btn-row .btn { flex: 1 1 auto; }
}

/* ─── FORM PAGES ─────────────────────────────────────────── */
.section--wash .stat-tile { background: var(--white); }

.form-container { max-width: 640px; }
.form-card { padding: 48px 44px; }
.form-card h1 { font-size: var(--text-h2); line-height: 1.15; }
.form-card .lead { margin-top: 12px; margin-bottom: 32px; }

.field { margin-bottom: 20px; border: none; min-width: 0; }
.field label, .field legend { display: block; font-size: var(--text-small); font-weight: 600; color: var(--charcoal); margin-bottom: 6px; }
.field input[type="text"], .field input[type="email"], .field select, .field textarea {
  width: 100%;
  font: inherit;
  font-size: 16px; /* avoids iOS zoom on focus */
  color: var(--charcoal);
  background: var(--white);
  border: 1.5px solid #90A4AE; /* 3:1+ against white for the control boundary */
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.field textarea { resize: vertical; min-height: 112px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--cornflower); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 1px;
  border-color: var(--cornflower);
}

.radio-row { display: flex; flex-wrap: wrap; gap: 12px; }
.field .radio {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 140px;
  margin: 0;
  padding: 11px 14px;
  font-weight: 500;
  border: 1.5px solid #90A4AE;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
}
.radio:hover { border-color: var(--cornflower); }
.radio:has(input:checked) { border-color: var(--cornflower); background: var(--cornflower-wash); }
.radio input { width: 18px; height: 18px; accent-color: var(--cornflower); }

.form-card form .btn { width: 100%; margin-top: 8px; padding: 14px 28px; }
.form-success {
  font-size: var(--text-lead);
  font-weight: 500;
  line-height: var(--leading-body);
  color: var(--charcoal); /* the live green (#388E3C) is under 4.5:1 as text */
  background: var(--status-positive-wash);
  border-left: 4px solid var(--status-positive);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
}

@media (max-width: 600px) {
  .form-card { padding: 32px 22px; }
}

/* ─── COOKIE CONSENT BANNER (ported from the live site) ──── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--charcoal);
  color: var(--text-on-dark-secondary);
  padding: 20px var(--gutter);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.cookie-banner-text { flex: 1 1 400px; font-size: var(--text-small); line-height: 1.5; }
.cookie-banner-text a { color: var(--white); text-decoration: underline; white-space: nowrap; }
.cookie-banner-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-banner .btn { padding: 10px 20px; font-size: var(--text-small); }
.cookie-banner .btn-secondary { background: transparent; color: var(--text-on-dark-secondary); border-color: rgba(255,255,255,0.3); }
.cookie-banner .btn-secondary:hover { color: var(--white); border-color: var(--white); }

@media (max-width: 600px) {
  .cookie-banner { padding: 16px var(--gutter-sm); }
  .cookie-banner-inner { flex-direction: column; align-items: stretch; }
  .cookie-banner-actions { justify-content: stretch; }
  .cookie-banner .btn { flex: 1; }
}

/* ─── PORTED LEGACY PAGES (content/legacy/*.html) ────────────────── */
.article { --navy: var(--teal); --teal-legacy: var(--teal); }
.article h2, .article h3 { color: var(--charcoal); }
.article p { line-height: var(--leading-body); }
.article a:not(.btn) { color: var(--cornflower); }

/* ─── LEGAL DOCUMENTS ─────────────────────────────────────────────── */
/* The fragments keep their original class names; these rules restyle them
   with the site tokens. Scoped under .article so nothing leaks. */
.article .legal-outer, .article .statement-outer {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 56px;
  align-items: start;
}
.article .toc {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  background: var(--cornflower-wash);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 20px;
}
.article .toc-title {
  font-family: var(--font-head);
  font-size: var(--text-caption);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-secondary);
  margin-bottom: 14px;
}
.article .toc ul { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.article .toc li a {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 5px 8px;
  border-radius: 6px;
  line-height: 1.4;
  transition: background var(--transition), color var(--transition);
}
.article .toc li a:hover { background: var(--white); color: var(--cornflower); }
.article .toc-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--teal-deep);
  margin-bottom: 20px;
  padding: 6px 8px;
  border-radius: 6px;
}
.article .toc-back:hover { background: var(--white); }
.article .toc-back svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 2.5; }

.article .legal-doc, .article .statement-doc { min-width: 0; }
/* GDPR statement: single column, "Back to Trust Center" link, prose body */
.article .statement-outer { display: block; max-width: 820px; }
.article .back-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--teal-deep); margin-bottom: 24px; }
.article .back-link:hover { text-decoration: underline; }
.article .back-link svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 2.5; }
.article .statement-body { font-size: var(--text-body); line-height: 1.75; color: var(--text-secondary); }
.article .statement-body p { margin-bottom: 14px; }
.article .statement-body h2 { font-size: 19px; color: var(--charcoal); margin: 28px 0 10px; }
.article .statement-body strong { color: var(--charcoal); }
.article .legal-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 14px 20px;
  background: var(--cornflower-wash);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 40px;
}
.article .legal-meta-item { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--text-secondary); }
.article .legal-meta-item svg { width: 14px; height: 14px; stroke: var(--cornflower); fill: none; stroke-width: 2; flex-shrink: 0; }
.article .legal-meta-item strong { color: var(--charcoal); font-weight: 600; }

.article .legal-intro {
  font-size: var(--text-body);
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border);
}
.article .legal-intro p + p { margin-top: 12px; }
.article .agree-note {
  margin-top: 16px;
  padding: 14px 18px;
  background: var(--cornflower-wash);
  border-left: 3px solid var(--cornflower);
  border-radius: 0 8px 8px 0;
  font-size: var(--text-small);
  font-weight: 500;
  color: var(--charcoal);
}

.article .legal-section { margin-bottom: 44px; scroll-margin-top: calc(var(--nav-h) + 24px); }
.article .legal-section-heading {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.article .section-num {
  font-family: var(--font-head);
  font-size: var(--text-caption);
  font-weight: 700;
  color: var(--cornflower);
  letter-spacing: 0.06em;
  flex-shrink: 0;
}
.article .legal-section-heading h2 { font-size: 19px; line-height: 1.3; color: var(--charcoal); }
.article .legal-section h3 { font-size: 16px; margin: 20px 0 8px; }
.article .legal-section p { font-size: var(--text-body); line-height: 1.75; color: var(--text-secondary); margin-bottom: 12px; }

.article .clause {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 0 4px;
  margin-bottom: 12px;
  font-size: var(--text-body);
  line-height: 1.75;
  color: var(--text-secondary);
}
.article .clause-num { font-weight: 600; color: var(--text-secondary); font-size: var(--text-small); padding-top: 1px; white-space: nowrap; }
.article .clause-body strong, .article .legal-doc strong { color: var(--charcoal); font-weight: 600; }
.article .clause-body ul:not(.check-list), .article .clause-body ol { padding-left: 20px; margin: 8px 0; list-style: disc; }
.article .clause-body ol { list-style: decimal; }
.article .clause-body a, .article .legal-section a { color: var(--cornflower); text-decoration: underline; }

/* The legal check-list is plain text with a tick, unlike the site-wide .check-list component. */
.article .check-list { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-direction: column; gap: 10px; background: none; border: none; box-shadow: none; }
.article .check-list li { display: flex; align-items: flex-start; gap: 11px; padding: 0; border: none; font-size: var(--text-small); line-height: 1.7; color: var(--text-secondary); }
.article .check-list li::before {
  content: '';
  width: 18px; height: 18px; min-width: 18px;
  border-radius: 50%;
  margin-top: 3px;
  background-color: var(--teal);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 11px;
}

.article table { width: 100%; border-collapse: collapse; font-size: var(--text-small); margin: 12px 0 20px; }
.article th, .article td { text-align: left; vertical-align: top; padding: 10px 12px; border: 1px solid var(--border); line-height: 1.55; }
.article th { background: var(--cornflower-wash); font-weight: 600; color: var(--charcoal); }
.article td { color: var(--text-secondary); }

.article .legal-end-note {
  margin-top: 48px;
  padding: 24px 28px;
  background: var(--cornflower-wash);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: var(--text-small);
  color: var(--text-secondary);
  line-height: 1.65;
}
.article .legal-end-note p + p { margin-top: 8px; }
.article .legal-end-note strong { color: var(--charcoal); }
.article .legal-end-note a { color: var(--cornflower); text-decoration: underline; }

@media (max-width: 900px) {
  .article .legal-outer, .article .statement-outer { grid-template-columns: 1fr; gap: 32px; }
  .article .toc { position: static; }
}
@media (max-width: 600px) {
  .article .legal-meta { flex-direction: column; align-items: flex-start; gap: 8px; }
  .article .clause { grid-template-columns: 36px 1fr; }
  .article table { display: block; overflow-x: auto; }
}

/* ─── NEWSLETTER STRIP (top of footer; ported from the legacy site) ── */
.newsletter { border-bottom: 1px solid rgba(255,255,255,0.12); padding-bottom: 48px; margin-bottom: 56px; }
.newsletter-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.newsletter-copy h2 { font-size: 22px; line-height: 1.25; color: var(--white); margin-bottom: 6px; }
.newsletter-copy p { font-size: var(--text-small); line-height: var(--leading-body); }
.newsletter-form { display: flex; gap: 10px; flex: 0 1 440px; min-width: 0; }
.newsletter-input {
  flex: 1 1 200px;
  min-width: 0;
  font: inherit;
  font-size: 16px;
  color: var(--white);
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(255,255,255,0.3);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  transition: border-color var(--transition), background var(--transition);
}
.newsletter-input::placeholder { color: rgba(255,255,255,0.55); }
.newsletter-input:hover { border-color: rgba(255,255,255,0.55); }
.newsletter-input:focus-visible { outline: 3px solid var(--focus-ring-on-dark); outline-offset: 1px; border-color: var(--white); background: rgba(255,255,255,0.12); }
.newsletter-form .btn { padding: 11px 22px; white-space: nowrap; }
.newsletter-success { display: flex; align-items: center; gap: 10px; color: var(--white); font-weight: 500; }
.newsletter-success[hidden] { display: none; }
.newsletter-success .icon { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--status-positive); color: var(--white); flex: none; }

.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@media (max-width: 900px) {
  .newsletter-inner { flex-direction: column; align-items: stretch; }
  .newsletter-form { flex-basis: auto; }
}
@media (max-width: 600px) {
  .newsletter-form { flex-direction: column; }
}

/* ─── LINK-IN-BIO PAGE (/links) ─────────────────────────────── */
.site-header--minimal .nav-inner { justify-content: center; }
.links-page {
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px var(--gutter-sm);
  background: var(--gradient-text);
  color: var(--white);
}
.links-card {
  width: 100%;
  max-width: 440px;
  background: var(--white);
  color: var(--charcoal);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0,0,0,0.18);
  padding: 40px 28px 32px;
  text-align: center;
}
.logo--links { display: block; font-size: 28px; color: var(--teal); margin-bottom: 12px; }
.links-intro { font-size: var(--text-body); line-height: var(--leading-body); color: var(--text-secondary); margin-bottom: 28px; }
.link-list { display: flex; flex-direction: column; gap: 12px; }
.link-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 16px 20px;
  border: 1.5px solid var(--light-gray);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--charcoal);
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 600;
  text-align: left;
  transition: border-color var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.link-btn .icon { width: 18px; height: 18px; color: var(--cornflower); flex: none; transition: transform var(--transition); }
.link-btn:hover { border-color: var(--cornflower); color: var(--cornflower); transform: translateY(-1px); box-shadow: var(--shadow-card); }
.link-btn:hover .icon { transform: translateX(3px); }
.site-footer--minimal { padding-top: 0; }
.site-footer--minimal .footer-bottom { border-top: none; }

@media (max-width: 400px) {
  .links-card { padding: 32px 20px 24px; }
  .link-btn { padding: 14px 16px; font-size: 16px; }
}
