/* limena marketing — shared stylesheet.
   Token-driven. Every page links this. */

:root {
  /* Brand core */
  --paper:        #F4F1EA;
  --evergreen:    #16261C;
  --access-green: #2C7A52;
  --light-green:  #74C79A;

  /* Green scale */
  --green-700: #1E5E3D;
  --green-600: #2C7A52;
  --green-500: #3C9466;
  --green-300: #74C79A;
  --green-100: #D7ECE0;
  --green-050: #ECF5F0;

  /* Warm neutrals (evergreen-tinted, never cold) */
  --ink-900:  #16261C;
  --ink-700:  #34423A;
  --ink-500:  #4F584F;
  --ink-400:  #6E776E;
  --ink-300:  #8A938A;
  --ink-200:  #C3C9C3;
  --ink-100:  #E3E1D9;
  --paper-50: #FBFAF6;
  --white:    #FFFFFF;

  /* Status semantics */
  --pass:           #2C7A52;
  --pass-text:      #1E5E3D;
  --pass-tint:      #E1EFE7;
  --attention:      #B9802A;
  --attention-text: #8A5E16;
  --attention-tint: #F5EAD3;
  --fail:           #B24A33;
  --fail-text:      #97402C;
  --fail-tint:      #F3E0DA;

  /* Borders + shadows (evergreen-tinted) */
  --border-subtle:  rgba(22, 38, 28, 0.10);
  --border-default: var(--ink-200);

  --shadow-sm:    0 1px 2px rgba(22, 38, 28, 0.06);
  --shadow-card:  0 1px 2px rgba(22, 38, 28, 0.04), 0 18px 36px -22px rgba(22, 38, 28, 0.22);
  --shadow-pop:   0 2px 6px rgba(22, 38, 28, 0.08), 0 24px 48px -20px rgba(22, 38, 28, 0.28);
  --shadow-focus: 0 0 0 3px rgba(44, 122, 82, 0.32);

  /* Typography */
  --font-sans:  'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-mono:  'JetBrains Mono', ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;
  --font-serif: Georgia, 'Times New Roman', serif;

  /* Motion */
  --ease-threshold: cubic-bezier(.45, 0, .25, 1);
  --ease-standard:  cubic-bezier(.4, 0, .2, 1);
  --ease-out:       cubic-bezier(.16, 1, .3, 1);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

/* Global root font-size bump. 106.25% of the browser default (16px)
   lands at 17px, so 1rem = 17px and any rem/em-based size cascades
   comfortably. Fixed-px values in individual rules still render at
   their exact size — but they respect user text-zoom regardless. */
html {
  font-size: 106.25%;
}

body {
  font-family: var(--font-sans);
  color: var(--evergreen);
  background: var(--paper);
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; }
button { font-family: inherit; }

/* ---------- NAV --------------------------------------------------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 241, 234, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
}
.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
}
.brand-word {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink-900);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.nav-link {
  padding: 8px 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-500);
  border-radius: 8px;
  transition: color 160ms var(--ease-standard), background 160ms var(--ease-standard);
}
.nav-link:hover {
  color: var(--ink-900);
  background: rgba(22, 38, 28, 0.05);
}
.nav-link.active {
  color: var(--ink-900);
  font-weight: 600;
}
.nav-cta {
  margin-left: 8px;
}

/* ---------- BUTTONS ----------------------------------------------- */

.btn-primary, .btn-secondary, .btn-cream, .btn-cream-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  /* WCAG 1.4.12: min-height + vertical padding so the button can
     grow at custom text-spacing; nowrap also removed so longer
     translated labels don't overflow. */
  padding: 8px 18px;
  min-height: 40px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: background 160ms var(--ease-standard), border-color 160ms var(--ease-standard), transform 160ms var(--ease-standard);
  border: 0;
  font-family: inherit;
}
.btn-primary {
  background: var(--access-green);
  color: var(--paper);
  box-shadow: 0 1px 2px rgba(22, 38, 28, 0.06), 0 14px 28px -18px rgba(44, 122, 82, 0.7);
}
.btn-primary:hover {
  background: var(--green-700);
  color: var(--paper);
}
.btn-secondary {
  background: var(--white);
  color: var(--ink-900);
  border: 1px solid rgba(22, 38, 28, 0.16);
}
.btn-secondary:hover {
  border-color: rgba(22, 38, 28, 0.32);
}
.btn-lg {
  height: 50px;
  padding: 0 26px;
  font-size: 16px;
  border-radius: 12px;
}
.btn-cream {
  height: 50px;
  padding: 0 28px;
  font-size: 16px;
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink-900);
}
.btn-cream:hover {
  transform: translateY(-1px);
}
.btn-cream-outline {
  height: 50px;
  padding: 0 26px;
  font-size: 16px;
  border-radius: 12px;
  background: transparent;
  color: var(--paper);
  border: 1px solid rgba(244, 241, 234, 0.4);
}
.btn-cream-outline:hover {
  background: rgba(244, 241, 234, 0.1);
}

/* ---------- HERO -------------------------------------------------- */

.hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 88px 32px 72px;
  display: grid;
  /* minmax(0, …) fixes 1.4.10 reflow at 320 CSS px — bare fr units
     refuse to shrink below child min-content width. */
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 56px;
  align-items: center;
}
.hero-text h1 {
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.04;
  margin: 0 0 22px;
  text-wrap: balance;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--access-green);
  margin-bottom: 24px;
}
.dots {
  display: flex;
  gap: 6px;
}
.dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}
.lede {
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink-500);
  margin: 0 0 34px;
  max-width: 48ch;
  text-wrap: pretty;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-footnote {
  margin-top: 38px;
  font-size: 14px;
  color: var(--ink-500);
  /* WCAG 1.4.10: was overflowing the 320 CSS px viewport by 15px.
     overflow-wrap lets the long phrase wrap; max-width 100% keeps
     it inside the parent column. */
  max-width: 100%;
  overflow-wrap: break-word;
}

/* Hero report visual */
.hero-visual { position: relative; }
.hero-glow {
  position: absolute;
  inset: -18px;
  background: radial-gradient(120% 120% at 70% 0%, rgba(116, 199, 154, 0.20), transparent 60%);
  border-radius: 32px;
}
.report-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  box-shadow: 0 2px 6px rgba(22, 38, 28, 0.05), 0 30px 60px -30px rgba(22, 38, 28, 0.4);
  padding: 26px;
}
.report-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-500);
}
.eyebrow-accent { color: var(--access-green); font-size: 13px; letter-spacing: 0.14em; }
.eyebrow-light  { color: var(--green-300);    font-size: 13px; letter-spacing: 0.14em; }
.report-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-top: 4px;
}
.score-bar {
  display: flex;
  height: 10px;
  border-radius: 999px;
  overflow: hidden;
  background: var(--ink-100);
  margin-bottom: 10px;
}
.score-legend {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: var(--ink-500);
  margin-bottom: 22px;
}
.score-legend strong { color: var(--ink-900); }
.findings { display: flex; flex-direction: column; gap: 10px; }
.finding {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
}
.finding-title {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.finding-meta {
  font-size: 13px;
  color: var(--ink-400);
  margin-top: 2px;
}

/* Status pills */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  /* WCAG 1.4.12 — min-height + vertical padding so the pill grows
     when readers apply 0.12em letter-spacing / 0.16em word-spacing. */
  min-height: 22px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  flex: none;
}
.pill-fail      { background: var(--fail-tint);      color: var(--fail-text); }
.pill-attention { background: var(--attention-tint); color: var(--attention-text); }
.pill-pass      { background: var(--pass-tint);      color: var(--pass-text); }

/* ---------- SECTIONS ---------------------------------------------- */

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 90px 32px;
}
.section-intro {
  max-width: 62ch;
  margin-bottom: 48px;
}
.section h2 {
  font-size: clamp(28px, 3.6vw, 38px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0 0 16px;
  text-wrap: balance;
}
.section-intro .intro,
.section .intro {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-500);
  margin: 0;
}

/* ---------- THREE PILLARS (Crawl / Flag / Explain) --------------- */

.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.card {
  background: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 30px;
  box-shadow: var(--shadow-card);
}
.card-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--green-050);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.card h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 9px;
}
.card p {
  font-size: 15px;
  line-height: 1.58;
  color: var(--ink-500);
  margin: 0;
}

/* ---------- READOUT (dark band) ---------------------------------- */

.readout {
  background: var(--evergreen);
  border-radius: 28px;
  padding: 64px;
  display: grid;
  /* minmax(0, …) instead of bare 1fr so columns can shrink below
     their min-content width — fixes 1.4.10 reflow at 320 CSS px. */
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
  /* WCAG 1.4.12: was overflow:hidden which clipped the .readout-meaning
     span when readers apply custom letter/word/line spacing. Use
     'clip' so the rounded-corner mask still works but content can
     extend upward when sized; supported in all evergreens. */
  overflow: clip;
  position: relative;
}
.readout-h {
  color: var(--paper);
  font-size: clamp(28px, 3.5vw, 36px);
  letter-spacing: -0.025em;
  line-height: 1.12;
  margin: 0 0 18px;
  text-wrap: balance;
}
.readout-p {
  font-size: 17px;
  line-height: 1.62;
  color: #CFE0D5;
  margin: 0 0 28px;
  max-width: 46ch;
}
.readout-p strong { color: var(--white); }
.readout-pills {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.readout-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.readout-meaning {
  color: #9FB1A3;
  font-size: 15px;
}
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  /* WCAG 1.4.12: was a fixed `height: 30px` which clipped content when
     readers apply 0.12em letter-spacing + 0.16em word-spacing.
     min-height lets the pill grow to fit; padding gives it the same
     30 px appearance at default text-spacing. */
  min-height: 30px;
  padding: 4px 13px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
}
.status-pass      { background: var(--access-green); }
/* WCAG 1.4.3: white text on --attention (#B9802A) was 3.5:1.
   --attention-text (#8A5E16) is the contrast-AA-paired amber. */
.status-attention { background: var(--attention-text); }
.status-fail      { background: var(--fail); }

.readout-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- WHITE-LABEL row ------------------------------------- */

.whitelabel {
  display: grid;
  /* minmax(0, …) so columns can shrink past min-content at 320 px. */
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: center;
}
.whitelabel-p {
  font-size: 17px;
  line-height: 1.62;
  color: var(--ink-500);
  margin: 0 0 22px;
  max-width: 46ch;
}
.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.check-list li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 16px;
  color: var(--ink-700);
}
.check-list svg { flex: none; }

.whitelabel-mock {
  display: flex;
  gap: 18px;
}
.mock-card {
  flex: 1;
  background: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 18px 36px -28px rgba(22, 38, 28, 0.3);
}
.mock-purple { margin-top: 24px; }
.mock-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
}
.mock-logo {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: #2A6FDB;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
}
.mock-name {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.mock-eyebrow {
  font-size: 12px;
  color: var(--ink-500);
  margin-bottom: 8px;
}
.mock-bar {
  display: flex;
  height: 7px;
  border-radius: 999px;
  overflow: hidden;
  background: var(--ink-100);
}

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

.cta-band {
  background: linear-gradient(135deg, var(--access-green), var(--green-700));
  border-radius: 24px;
  padding: 60px;
  text-align: center;
}
.cta-band h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0 0 16px;
  color: var(--paper);
}
.cta-band p {
  font-size: 18px;
  line-height: 1.55;
  color: rgba(244, 241, 234, 0.84);
  margin: 0 auto 30px;
  max-width: 44ch;
}
.cta-band-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- FOOTER ---------------------------------------------- */

.footer {
  border-top: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.4);
}
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 48px 32px;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.footer-brand {
  max-width: 320px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-brand p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-500);
  margin: 0;
}
.footer-cols {
  display: flex;
  gap: 64px;
  flex-wrap: wrap;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.footer-h {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-500);
  margin-bottom: 3px;
}
.footer-col a {
  /* WCAG 2.5.8: ensure every interactive target reaches 24×24 CSS px.
     Footer links were 23px tall before; bumped to a 24px min-height
     bounding box via min-height + flex centring. */
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  font-size: 15px;
  color: var(--ink-500);
  transition: color 160ms var(--ease-standard);
}
.footer-col a:hover { color: var(--ink-900); }
.footer-bottom {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px 40px;
  font-size: 13px;
  color: var(--ink-500);
}

/* ---------- PRICING tiers ---------------------------------------- */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  align-items: start;
}
.tier {
  background: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 1px 2px rgba(22, 38, 28, 0.04), 0 20px 40px -32px rgba(22, 38, 28, 0.3);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.tier-featured {
  background: var(--evergreen);
  color: var(--paper);
  border: 1px solid var(--evergreen);
  box-shadow: 0 2px 6px rgba(22, 38, 28, 0.1), 0 30px 60px -30px rgba(22, 38, 28, 0.6);
  position: relative;
}
.tier-featured h3 { color: var(--paper); }
/* Featured tier sits on --evergreen (#16261c). Reuse the same paper-tinted
   green that .tier-desc / .tier-period already use so contrast clears
   4.5:1 on the dark card. */
.tier-featured h2 { color: var(--paper); }
.tier-featured .tier-desc,
.tier-featured .tier-period,
.tier-featured .tier-price .per,
.tier-featured .tier-price .amount { color: #9FB1A3; }
.tier-featured .tier-price .amount { color: var(--paper); }
.tier-badge {
  position: absolute;
  top: -12px;
  left: 32px;
  display: inline-flex;
  align-items: center;
  /* WCAG 1.4.12 — min-height so the badge can grow at custom text spacing. */
  min-height: 24px;
  padding: 4px 12px;
  background: var(--green-300);
  color: var(--ink-900);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  border-radius: 999px;
  white-space: nowrap;
}
/* Tier name was h3 — broke the page outline (h1 → h3 skips h2).
   Promoted to h2; CSS kept the same selector pair so both render
   the same regardless of whether old markup still uses h3 anywhere. */
.tier h3, .tier h2 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
}
.tier-desc {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-500);
  margin: 0 0 22px;
  min-height: 42px;
}
.tier-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 4px;
}
.tier-price .amount {
  font-size: 46px;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.tier-price .per {
  font-size: 15px;
  color: var(--ink-500);
}
.tier-period {
  font-size: 13px;
  color: var(--ink-500);
  margin-bottom: 24px;
}
.tier-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  /* WCAG 1.4.12 — min-height so 'Start free trial' / 'Talk to us'
     etc. can grow at custom text spacing without clipping. */
  min-height: 46px;
  padding: 10px 18px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 11px;
  margin-bottom: 26px;
  background: var(--white);
  color: var(--ink-900);
  border: 1px solid rgba(22, 38, 28, 0.18);
  transition: background 160ms var(--ease-standard), border-color 160ms var(--ease-standard);
}
.tier-cta:hover { background: var(--paper-50); border-color: rgba(22, 38, 28, 0.34); }
.tier-cta.primary {
  background: var(--access-green);
  color: var(--paper);
  border: 0;
}
.tier-cta.primary:hover { background: var(--green-500); }
.tier-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.tier-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  line-height: 1.4;
}
.tier-featured .tier-features li { color: #CFE0D5; }
.tier-featured .tier-features svg circle { fill: rgba(116, 199, 154, 0.18); }
.tier-featured .tier-features svg path   { stroke: var(--green-300); }

/* ---------- FAQ ------------------------------------------------- */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
details.faq {
  background: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 22px 24px;
}
details.faq summary {
  list-style: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
details.faq summary::after {
  content: '+';
  font-size: 22px;
  color: var(--ink-400);
}
details.faq[open] summary::after { content: '−'; }
details.faq .a {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-500);
}

/* ---------- PROSE (legal pages, about prose) -------------------- */

.prose {
  max-width: 72ch;
  margin: 0 auto;
}
.prose h2 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 40px 0 12px;
}
.prose h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 24px 0 8px;
}
.prose p, .prose li {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-700);
}
.prose ul, .prose ol {
  padding-left: 22px;
  margin: 0 0 16px;
}
.prose strong { color: var(--ink-900); }

/* ---------- RESPONSIVE ------------------------------------------ */

@media (max-width: 900px) {
  .hero,
  .readout,
  .whitelabel {
    grid-template-columns: 1fr;
  }
  .readout { padding: 40px 28px; }
  .cta-band { padding: 40px 28px; }
  .section { padding: 60px 28px; }
  .nav-inner { padding: 14px 24px; }
}

@media (max-width: 600px) {
  .footer-cols { gap: 40px; }
  .mock-purple { margin-top: 0; }
}

/* ---------- 320 px reflow safety net (WCAG 1.4.10) ----------------- */
/* At extremely narrow viewports (320 CSS px is the SC minimum), tighten
   horizontal padding and let long content wrap rather than overflow. */
@media (max-width: 400px) {
  .hero      { padding-left: 16px; padding-right: 16px; }
  .section   { padding-left: 16px; padding-right: 16px; }
  .readout   { padding: 32px 18px; }
  .cta-band  { padding: 32px 18px; }

  /* The hero report-card mock contains tight finding-meta strings
     that overflowed the 320 px viewport; wrap them. */
  .report-card    { padding: 18px; }
  .finding-meta,
  .finding-title,
  .readout-p,
  .whitelabel-p,
  .lede           { overflow-wrap: break-word; word-break: normal; }

  /* Long fr-grid headlines also use generous letter-spacing; this
     lets a single long word break rather than force a wider column. */
  h1, h2, h3 { overflow-wrap: break-word; }
}

/* Skip link — visually hidden until focused, then pinned top-left.
   One per page, first focusable element, targets <main id="main">. */
.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 1000;
  background: var(--access-green);
  color: var(--white);
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: var(--shadow-pop);
  transition: top 120ms var(--ease-out);
}
.skip-link:focus { top: 12px; outline: 3px solid var(--ink-900); outline-offset: 2px; }

/* ============================================================
   Marketing band system — full-bleed alternating sections.
   Section blocks that carry a background run edge to edge; an
   inner .band-inner holds the max-width column. Never a rounded
   box on the page. Added for the operations-positioning rebuild.
   ============================================================ */
.band { width: 100%; }
.band-paper { background: var(--paper); }
.band-sand  { background: #EDEAE0; }
.band-dark  { background: var(--evergreen); color: var(--paper); }
.band-green { background: var(--access-green); color: var(--paper); }
.band-inner { max-width: 1180px; margin: 0 auto; padding: 96px 32px; }
.band-inner.narrow { max-width: 940px; }
@media (max-width: 720px) { .band-inner { padding: 68px 20px; } }

.band-dark .eyebrow, .band-green .eyebrow { color: var(--green-300); }
.band-dark a { color: var(--green-300); }

.band-head { max-width: 660px; }
.band-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.band-head h2 { font-size: clamp(28px, 3.9vw, 44px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; margin: 14px 0 0; text-wrap: balance; }
.band-head p { font-size: 18px; line-height: 1.6; color: var(--ink-500); margin: 16px 0 0; text-wrap: pretty; }
.band-dark .band-head h2 { color: var(--paper); }
.band-dark .band-head p { color: #AEBBAF; }

/* Hero pill (dark hero) */
.hero-pill { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green-300); background: rgba(116,199,154,0.12); border: 1px solid rgba(116,199,154,0.28); border-radius: 999px; padding: 7px 14px; }
.hero-pill .d { width: 7px; height: 7px; border-radius: 50%; background: var(--green-300); }

/* Backlink (spokes) */
.backlink { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; color: var(--green-300); }

/* ---- Use-case spoke primitives ---- */
.spoke-hero h1 { font-size: clamp(34px,5vw,56px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; color: var(--paper); margin: 16px 0 0; max-width: 18ch; text-wrap: balance; }
.spoke-hero .sub { font-size: clamp(17px,2vw,20px); line-height: 1.6; color: #AEBBAF; margin: 20px 0 0; max-width: 58ch; text-wrap: pretty; }
.situation { max-width: 62ch; }
.situation p { font-size: 17px; line-height: 1.65; color: var(--ink-500); margin: 0 0 16px; }
.uc-timeline { margin-top: 20px; }
.tl-row { display: grid; grid-template-columns: 190px 1fr; gap: 28px; padding: 26px 0; border-top: 1px solid var(--border-subtle); align-items: start; }
.tl-row .tl-k { font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--access-green); padding-top: 3px; }
.tl-row h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; margin: 0 0 8px; color: var(--evergreen); }
.tl-row p { font-size: 15.5px; line-height: 1.6; color: var(--ink-500); margin: 0; max-width: 56ch; }
.rollup { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--border-subtle); border-radius: 14px; overflow: hidden; }
.rollup th, .rollup td { padding: 13px 16px; text-align: left; font-size: 14px; }
.rollup thead th { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-400); border-bottom: 1px solid var(--border-default); font-weight: 600; }
.rollup tbody tr { border-top: 1px solid var(--border-subtle); }
.rollup tbody td:first-child { font-weight: 600; color: var(--evergreen); }
.rollup .score { font-family: var(--font-mono); font-weight: 600; }
@media (max-width: 720px) { .tl-row { grid-template-columns: 1fr; gap: 8px; } }
