/* ============================================================
   landing/assets/redesign.css
   Component layer for the 2026-05 landing redesign port.

   Load order: AFTER landing/assets/style.css (so the redesign tokens
   defined in style.css :root are already available).

   Gating: every component-shell rule lives under `body.redesign`. Pages
   render identically to today until they get class="redesign" on <body>.
   Once the rollout is complete, the prefix can be dropped via a global
   find/replace and this file folded into style.css.

   Two ungated areas:
     1. Token aliases + extras at the top — additive, harmless on legacy pages.
     2. .aeo-callout + .aeo-callout--hero — used by the migration sweep that
        converts the 134 inline-style Quick-answer callouts into a class
        ahead of the body.redesign rollout. Hue stays at --aeo-accent
        (#2563EB) to preserve the proven AEO CTR signal.
   ============================================================ */

/* ---- Token aliases (handoff CSS uses these names verbatim) ---- */
:root {
  /* Font family aliases — Inter for sans/mono, Georgia italic kept as a
     dedicated family for serif-italic accents in headlines. Aliases let
     the handoff CSS use var(--sans) / var(--serif) / var(--mono) without
     edits. */
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --serif: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --mono:  'Inter', ui-monospace, monospace;

  /* Index.html bespoke HR/policy category-tile palette. The 8 hex values
     below are the existing #1274xx tones used in index.html category tiles
     today; lifted into tokens so the redesign port can recolour or
     normalise them later from one place rather than touching ~40 inline
     hexes. Do not change without an explicit category-palette change ask. */
  --cat-hr:        #127482;
  --cat-finance:   #127468;
  --cat-singapore: #127480;
  --cat-canada:    #127464;
  --cat-australia: #127462;
  --cat-uk:        #127463;
  --cat-switzerland:#127469;
  --cat-eu:        #127466;
}

/* ---- AEO callout (global, ungated) ----
   Replaces the 134 inline-style callouts:
     <p style="background: #F8FAFC; border-left: 4px solid #2563EB;
               padding: 16px 20px; margin: 16px 0;
               font-size: 0.95rem; line-height: 1.6;">…</p>
   becomes:
     <p class="aeo-callout">…</p>

   Hero variant (4 occurrences in tools/iso-27001-gap-check.html,
   tools/gdpr-readiness.html, policies/uk.html, policies/hr.html) uses the
   modifier class to keep the centred 720px layout that sits under hero
   blocks today.
*/
.aeo-callout {
  background: var(--aeo-bg);
  border-left: 4px solid var(--aeo-accent);
  padding: 16px 20px;
  margin: 16px 0;
  font-size: 0.95rem;
  line-height: 1.6;
}
.aeo-callout--hero {
  max-width: 720px;
  margin: 20px auto 0;
  text-align: left;
}

/* ============================================================
   Below this line: every rule is gated under body.redesign.
   ============================================================ */

/* ---- Containers ---- */
body.redesign .wrap        { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
body.redesign .wrap-narrow { max-width: 880px;  margin: 0 auto; padding: 0 32px; }

/* ---- Wordmark ---- */
body.redesign .wm {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1;
  display: inline-flex;
  align-items: center;
}
body.redesign .wm i { font-style: italic; font-weight: 600; }
body.redesign .wm-img    { height: 26px; width: auto; display: block; }
body.redesign .wm-img-lg { height: 36px; width: auto; display: block; }

/* ---- Nav ---- */
body.redesign nav.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  background: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid var(--rule-2);
}
body.redesign .nav-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 40px;
  height: 68px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}
body.redesign .nav-links {
  display: flex; gap: 28px;
  justify-content: center;
  font-size: 14px;
  color: var(--ink-2);
  font-weight: 500;
  list-style: none;
  padding: 0;
  margin: 0;
}
body.redesign .nav-links a         { position: relative; padding: 4px 0; }
body.redesign .nav-links a:hover   { color: var(--blue); }
body.redesign .nav-links a.active  { color: var(--blue); }
body.redesign .nav-cta             { display: flex; align-items: center; gap: 12px; }

body.redesign .pill-currency {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: var(--paper);
  font-size: 13px;
  font-weight: 500;
}

/* ---- Buttons ----
   The redesign reuses the existing class names .btn / .btn-primary /
   .btn-outline / .btn-ghost — body.redesign scopes the new look so
   unported pages keep the legacy button styles from style.css. */
body.redesign .btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 500;
  padding: 9px 16px;
  border-radius: 999px;
  transition: all .15s ease;
  white-space: nowrap;
  border: 0;
  background: transparent;
  color: inherit;
}
body.redesign .btn-ghost                 { color: var(--ink-2); }
body.redesign .btn-ghost:hover           { color: var(--blue); }
body.redesign .btn-outline               { border: 1px solid var(--rule); background: var(--paper); color: var(--ink-2); }
body.redesign .btn-outline:hover         { border-color: var(--ink); }
body.redesign .btn-primary               { background: var(--ink); color: var(--paper); }
body.redesign .btn-primary:hover         { background: var(--blue); }
body.redesign .btn-blue                  { background: var(--blue); color: #fff; }
body.redesign .btn-blue:hover            { background: var(--blue-ink); }
body.redesign .btn-lg                    { padding: 13px 22px; font-size: 15px; }
body.redesign .btn-cta-blue {
  background: var(--blue); color: #fff;
  padding: 14px 24px;
  font-size: 15px;
  border-radius: 999px;
  font-weight: 500;
  display: inline-flex; align-items: center; gap: 8px;
  transition: all .15s ease;
  text-decoration: none;
}
body.redesign .btn-cta-blue:hover        { background: var(--blue-ink); }
body.redesign .btn-cta-ghost {
  background: transparent;
  color: #fff;
  padding: 14px 24px;
  font-size: 15px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.2);
  display: inline-flex; align-items: center; gap: 8px;
  transition: all .15s ease;
  text-decoration: none;
}
body.redesign .btn-cta-ghost:hover       { border-color: #fff; }
/* Defensive: any anchor styled as a redesign button should drop its native
   underline (some legacy a {} rules in style.css override our global reset). */
body.redesign a.btn,
body.redesign a.btn-cta-blue,
body.redesign a.btn-cta-ghost,
body.redesign .juris-card,
body.redesign .more-cell { text-decoration: none; }

/* ---- Section primitives ---- */
body.redesign section.sec {
  padding: 96px 0;
  border-top: 1px solid var(--rule);
}
body.redesign section.sec:first-of-type { border-top: 0; }

body.redesign .sec-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 56px;
}
body.redesign .sec-eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue);
  margin-bottom: 16px;
  display: inline-flex; align-items: center; gap: 8px;
}
body.redesign .sec-eyebrow::before {
  content: ""; width: 24px; height: 1px; background: currentColor;
}
body.redesign .sec-title {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}
body.redesign .sec-title em        { font-style: normal; color: var(--blue); }
body.redesign .sec-lede {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
  max-width: 480px;
  padding-bottom: 8px;
}

/* ---- Page header (non-home) ---- */
body.redesign .page-header {
  padding: 80px 0 56px;
  border-bottom: 1px solid var(--rule);
}
body.redesign .page-header .crumb {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 24px;
  display: flex; align-items: center; gap: 12px;
}
body.redesign .page-header .crumb a       { color: var(--muted); }
body.redesign .page-header .crumb a:hover { color: var(--blue); }
body.redesign .page-header .crumb .sep    { color: var(--muted-2); }
body.redesign .page-header h1 {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(40px, 5.5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
  text-wrap: balance;
}
body.redesign .page-header h1 em        { font-style: normal; color: var(--blue); }
body.redesign .page-header h1 .strike {
  position: relative;
  color: var(--muted-2);
  font-weight: 400;
}
body.redesign .page-header h1 .strike::after {
  content: "";
  position: absolute;
  left: -2%; right: -2%;
  top: 54%;
  height: 5px;
  background: var(--blue);
  border-radius: 2px;
  transform: rotate(-1.2deg);
}
body.redesign .page-header .lede {
  font-size: 18px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 640px;
  margin: 0;
}

/* ---- Footer ---- */
body.redesign footer.site-foot {
  padding: 80px 0 40px;
  border-top: 1px solid var(--rule);
  margin-top: 96px;
  background: var(--bg);
}
body.redesign .foot-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(5, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}
body.redesign .foot-brand .wm   { font-size: 32px; margin-bottom: 16px; }
body.redesign .foot-brand p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
  max-width: 320px;
  margin: 0;
}
body.redesign .foot-col h4 {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-2);
  margin: 0 0 16px;
  font-weight: 500;
}
body.redesign .foot-col ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
}
body.redesign .foot-col a       { font-size: 13px; color: var(--ink-2); text-decoration: none; }
body.redesign .foot-col a:hover { color: var(--blue); text-decoration: none; }
body.redesign .foot-brand a     { text-decoration: none; }
body.redesign .foot-bot a       { text-decoration: none; }
body.redesign .foot-bot {
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--rule-2);
  padding-top: 32px;
  font-size: 12px; color: var(--muted);
}

/* ---- Hero stat strip (homepage) ---- */
body.redesign .hero-strip {
  margin-top: 64px;
  padding: 28px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
body.redesign .hs-cell {
  padding: 4px 24px;
  border-right: 1px solid var(--rule);
}
body.redesign .hs-cell:last-child  { border-right: 0; }
body.redesign .hs-cell:first-child { padding-left: 0; }
body.redesign .hs-cell .v {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 44px;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
}
body.redesign .hs-cell .v sup {
  font-size: 18px;
  color: var(--blue);
  margin-left: 2px;
  vertical-align: super;
  font-style: italic;
}
body.redesign .hs-cell .l {
  font-size: 13px;
  color: var(--muted);
  margin-top: 8px;
}

/* ---- Jurisdiction cards ---- */
body.redesign .juris {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
body.redesign .juris-card {
  background: var(--paper);
  border: 1px solid var(--rule-2);
  border-radius: var(--r-md);
  padding: 24px;
  transition: all .2s ease;
  display: flex; flex-direction: column; gap: 8px;
  min-height: 140px;
}
body.redesign .juris-card:hover { border-color: var(--ink); transform: translateY(-2px); }
body.redesign .juris-card .flag { font-size: 24px; }
body.redesign .juris-card .nm {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.01em;
}
body.redesign .juris-card .mt        { font-size: 12px; color: var(--muted); font-family: var(--mono); }
body.redesign .juris-card.global     { background: var(--ink); color: #fff; border-color: var(--ink); }
body.redesign .juris-card.global .mt { color: rgba(255,255,255,0.6); }

/* ---- Card grid ---- */
body.redesign .card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
body.redesign .card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
body.redesign .card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

body.redesign .card {
  background: var(--paper);
  border: 1px solid var(--rule-2);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: all .2s ease;
  display: flex; flex-direction: column;
  text-decoration: none;
  color: inherit;
}
body.redesign .card:hover { border-color: var(--ink); transform: translateY(-2px); }
body.redesign .card .eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--blue);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: flex; align-items: center; gap: 8px;
}
body.redesign .card .eyebrow::before {
  content: ""; width: 6px; height: 6px;
  background: currentColor; border-radius: 999px;
}
body.redesign .card h3 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
  line-height: 1.2;
}
body.redesign .card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}
body.redesign .card .meta {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--rule-2);
  display: flex; align-items: center; gap: 12px;
  font-size: 12px;
  color: var(--muted);
  font-family: var(--mono);
}

/* ---- Editorial prose (legal, blog article, policy guide) ---- */
body.redesign .prose {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-2);
}
body.redesign .prose > * + * { margin-top: 1em; }
body.redesign .prose h2 {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 32px;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 56px 0 16px;
  color: var(--ink);
}
body.redesign .prose h3 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.015em;
  margin: 36px 0 12px;
  color: var(--ink);
}
body.redesign .prose h4 {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue);
  margin: 28px 0 8px;
}
body.redesign .prose p          { margin: 0 0 1em; }
body.redesign .prose a {
  color: var(--blue);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
body.redesign .prose a:hover    { text-decoration-thickness: 2px; }
body.redesign .prose ul,
body.redesign .prose ol         { padding-left: 1.4em; margin: 0 0 1em; }
body.redesign .prose li         { margin-bottom: 0.5em; }
body.redesign .prose strong     { font-weight: 700; color: var(--ink); }
body.redesign .prose blockquote {
  border-left: 3px solid var(--blue);
  padding: 4px 0 4px 24px;
  margin: 32px 0;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  font-style: italic;
  letter-spacing: -0.01em;
  color: var(--ink);
}
body.redesign .prose code {
  font-family: ui-monospace, monospace;
  font-size: 0.9em;
  background: var(--bg-2);
  padding: 2px 6px;
  border-radius: 4px;
}
body.redesign .prose hr         { border: 0; border-top: 1px solid var(--rule); margin: 56px 0; }
body.redesign .prose table {
  border-collapse: collapse;
  width: 100%;
  margin: 32px 0;
  font-size: 14px;
}
body.redesign .prose th,
body.redesign .prose td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--rule);
}
body.redesign .prose th {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 500;
}

/* ---- Layout with sticky sidebar (legal pages, framework detail, etc.) ---- */
body.redesign .doc-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 80px;
  align-items: start;
}
body.redesign .doc-toc {
  position: sticky; top: 100px;
  font-size: 13px;
}
body.redesign .doc-toc h5 {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-2);
  margin: 0 0 14px;
  font-weight: 500;
}
body.redesign .doc-toc ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
}
body.redesign .doc-toc a {
  color: var(--muted);
  border-left: 2px solid transparent;
  padding-left: 12px;
  margin-left: -14px;
  transition: all .12s;
}
body.redesign .doc-toc a:hover,
body.redesign .doc-toc a.active {
  color: var(--blue);
  border-color: var(--blue);
}

/* ---- CTA band (dark accent block on homepage + framework pages) ---- */
body.redesign .cta-band {
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-xl);
  padding: 80px 64px;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: center;
}
body.redesign .cta-band h2 {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 0;
  color: #fff;
}
body.redesign .cta-band h2 em { font-style: normal; color: var(--amber); }
body.redesign .cta-band .bod {
  font-size: 16px;
  color: rgba(255,255,255,0.7);
  margin-top: 24px;
  max-width: 460px;
  line-height: 1.5;
}
body.redesign .cta-band-side {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-lg);
  padding: 32px;
}
body.redesign .cta-checks { display: flex; flex-direction: column; gap: 14px; }
body.redesign .cta-check {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 14px;
}
body.redesign .cta-check .ck {
  width: 18px; height: 18px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  display: grid; place-items: center;
  flex-shrink: 0;
  margin-top: 1px;
}
body.redesign .cta-check .ck svg { width: 10px; height: 10px; }
body.redesign .cta-row {
  margin-top: 32px;
  display: flex; gap: 12px;
  flex-wrap: wrap;
}

/* ---- Tags / chips / pills ---- */
body.redesign .chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  background: var(--bg-2);
  border-radius: 999px;
  font-size: 12px;
  font-family: var(--mono);
  color: var(--ink-2);
  border: 1px solid var(--rule-2);
}
body.redesign .chip.blue  { background: var(--blue-soft);  color: var(--blue-ink); border-color: transparent; }
body.redesign .chip.green { background: var(--green-soft); color: var(--green);    border-color: transparent; }
body.redesign .chip.amber { background: var(--amber-soft); color: var(--amber);    border-color: transparent; }
body.redesign .chip.red   { background: var(--red-soft);   color: var(--red);      border-color: transparent; }

/* ---- Status badges (pip dot for the status page + uptime widgets) ---- */
body.redesign .status-pip {
  width: 8px; height: 8px; border-radius: 999px;
  background: var(--green);
  display: inline-block;
  box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.18);
}
body.redesign .status-pip.amber { background: var(--amber); box-shadow: 0 0 0 4px rgba(217, 119, 6, 0.18); }
body.redesign .status-pip.red   { background: var(--red);   box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.18); }

/* ============================================================
   HOMEPAGE HERO + STAT STRIP
   Phase 4b — homepage body port stage 1.
   Selectors gated under body.redesign so legacy pages stay
   untouched. Specificity is high enough to override the legacy
   .hero and .hero-text rules in style.css.
   ============================================================ */

/* Reset legacy hero box so the redesign grid doesn't fight pre-existing
   padding/background. The handoff hero owns its own padding via .wrap. */
body.redesign section.hero {
  background: var(--bg);
  padding: 56px 0 24px;
  min-height: auto;
  display: block;
}
body.redesign section.hero .hero-text {
  padding: 0;
  max-width: none;
}

body.redesign .hero-eyebrow-row {
  display: flex; align-items: center; gap: 16px;
  font-size: 13px;
  color: var(--muted);
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 36px;
}
body.redesign .hero-eyebrow-row .dot {
  width: 6px; height: 6px; border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.18);
  flex-shrink: 0;
}

body.redesign .hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: end;
}
body.redesign .hero-headline {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(48px, 6vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}
body.redesign .hero-headline em {
  font-style: italic;
  font-weight: 800;
  color: var(--blue);
  font-family: Georgia, 'Times New Roman', serif;
}
body.redesign .hero-headline .strike {
  position: relative;
  color: var(--muted-2);
  font-weight: 400;
}
body.redesign .hero-headline .strike::after {
  content: "";
  position: absolute;
  left: -2%; right: -2%;
  top: 54%;
  height: 5px;
  background: var(--blue);
  border-radius: 2px;
  transform: rotate(-1.2deg);
}

body.redesign .hero-sub {
  font-size: 17px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 480px;
  margin: 28px 0 32px;
}
body.redesign .hero-cta-row {
  display: flex; align-items: center; gap: 16px;
  flex-wrap: wrap;
}
body.redesign .hero-cta-row .meta {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--muted);
}
body.redesign .hero-cta-row .meta svg {
  width: 14px; height: 14px; color: var(--green);
}

/* ---- Right-side dashboard preview ---- */
body.redesign .hero-preview {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: linear-gradient(180deg, #1A2030 0%, #0B1220 100%);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.06) inset,
    0 30px 60px -20px rgba(11, 18, 32, 0.35),
    0 8px 18px -8px rgba(11, 18, 32, 0.25);
  aspect-ratio: 4 / 3.4;
  padding: 12px;
}
body.redesign .hero-preview-inner {
  border-radius: 14px;
  overflow: hidden;
  height: 100%;
  background: #FAFBFC;
  display: grid;
  grid-template-columns: 168px 1fr;
}
body.redesign .hp-side {
  background: #0B1220;
  color: #fff;
  padding: 16px 14px;
  display: flex; flex-direction: column;
  gap: 14px;
  font-size: 12px;
}
body.redesign .hp-side .wm-mini {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.02em;
  color: #fff;
}
body.redesign .hp-side .wm-mini i { font-weight: 500; font-style: italic; opacity: 0.9; }
body.redesign .hp-org {
  background: rgba(255,255,255,0.06);
  border-radius: 10px;
  padding: 10px;
  display: flex; align-items: center; gap: 10px;
}
body.redesign .hp-org .icon {
  width: 28px; height: 28px; border-radius: 6px;
  background: linear-gradient(135deg, #3B66F5, #1F3CB3);
  display: grid; place-items: center;
  flex-shrink: 0;
}
body.redesign .hp-org .icon svg { width: 14px; height: 14px; color: #fff; }
body.redesign .hp-org .name { font-weight: 600; font-size: 12px; color: #fff; }
body.redesign .hp-org .meta { color: rgba(255,255,255,0.55); font-size: 10px; }

body.redesign .hp-section {
  color: rgba(255,255,255,0.4);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 4px;
}
body.redesign .hp-nav-item {
  display: flex; align-items: center; gap: 9px;
  padding: 7px 9px; border-radius: 7px;
  color: rgba(255,255,255,0.7);
  font-size: 11.5px;
}
body.redesign .hp-nav-item svg { width: 12px; height: 12px; }
body.redesign .hp-nav-item.active { background: var(--blue); color: #fff; }

body.redesign .hp-main { padding: 18px 20px; overflow: hidden; }
body.redesign .hp-search {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 10px;
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: #fff;
  color: var(--muted-2);
  font-size: 11px;
  margin-bottom: 14px;
  width: 200px;
}
body.redesign .hp-search svg { width: 12px; height: 12px; }
body.redesign .hp-h {
  font-size: 17px; font-weight: 600; letter-spacing: -0.01em;
  margin: 0 0 2px; color: var(--ink);
}
body.redesign .hp-sub { font-size: 11px; color: var(--muted); margin: 0 0 12px; }

body.redesign .hp-alert {
  background: var(--amber-soft);
  border-radius: 10px;
  padding: 10px 12px;
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 12px;
}
body.redesign .hp-alert .badge {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--amber);
  display: grid; place-items: center;
  color: #fff; font-weight: 700; font-size: 11px;
  flex-shrink: 0;
}
body.redesign .hp-alert .ttl { font-size: 11.5px; font-weight: 600; color: var(--ink); }
body.redesign .hp-alert .ds { font-size: 10px; color: var(--muted); }

body.redesign .hp-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
}
body.redesign .hp-card {
  background: #fff;
  border-radius: 10px;
  padding: 10px;
  border-left: 3px solid var(--blue);
  position: relative;
}
body.redesign .hp-card.green { border-color: var(--green); }
body.redesign .hp-card.red   { border-color: var(--red); }
body.redesign .hp-card .lbl  { font-size: 9.5px; color: var(--muted); letter-spacing: 0.02em; }
body.redesign .hp-card .val  { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; margin-top: 2px; color: var(--ink); }
body.redesign .hp-card.red .val { color: var(--red); }
body.redesign .hp-card .foot { font-size: 9px; color: var(--muted); margin-top: 2px; }

/* ---- Hero stat strip override (already declared earlier; this stretches
       to override the legacy .hero-stats block in style.css). ---- */
body.redesign section.hero .hero-strip {
  margin-top: 64px;
  padding: 28px 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

/* ============================================================
   HOMEPAGE BODY SECTIONS — Phase 4c
   How-it-works (.steps), Features (.caps + viz), Everything else
   (.more-grid), Compare (.cmp), Testimonials (.quotes), Trusted-by
   row, plus the dist/scan/life vizs that decorate the cap blocks.
   ============================================================ */

/* ---- Trusted-by row (homepage second strip) ---- */
body.redesign .trusted-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 56px;
  align-items: center;
}
body.redesign .trusted-row .label {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  max-width: 200px;
  line-height: 1.55;
}
body.redesign .trusted-row .marks {
  display: flex; gap: 48px; flex-wrap: wrap; align-items: center;
  opacity: 0.85;
}
body.redesign .trusted-row .marks span {
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--ink-2);
}

/* ---- How it works (4-step grid) ---- */
body.redesign .steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
}
body.redesign .step {
  padding: 32px 28px 36px 0;
  border-right: 1px solid var(--rule);
  position: relative;
}
body.redesign .step:last-child { border-right: 0; padding-right: 0; }
body.redesign .step:not(:first-child) { padding-left: 28px; }
body.redesign .step .num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted-2);
  letter-spacing: 0.1em;
  margin-bottom: 28px;
  display: flex; align-items: center; justify-content: space-between;
}
body.redesign .step .num .dot {
  width: 10px; height: 10px; border-radius: 999px;
  background: var(--blue);
}
body.redesign .step h3 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
  color: var(--ink);
}
body.redesign .step h3 em { font-style: normal; color: var(--blue); }
body.redesign .step p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0 0 20px;
}
body.redesign .step .micro {
  border-radius: 8px;
  background: var(--paper);
  border: 1px solid var(--rule-2);
  padding: 12px;
  font-size: 11px;
  color: var(--muted);
  font-family: var(--mono);
  line-height: 1.5;
}

/* ---- Capability grid (5 caps with viz) ---- */
body.redesign .caps {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
body.redesign .cap {
  background: var(--paper);
  border-radius: var(--r-lg);
  padding: 28px;
  border: 1px solid var(--rule-2);
  transition: all .2s ease;
  position: relative;
  overflow: hidden;
}
body.redesign .cap:hover { border-color: var(--ink); transform: translateY(-2px); }
body.redesign .cap.feature { grid-column: span 7; min-height: 320px; }
body.redesign .cap.side    { grid-column: span 5; min-height: 320px; }
body.redesign .cap.third   { grid-column: span 4; }
body.redesign .cap.dark {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
body.redesign .cap.dark h3,
body.redesign .cap.dark .cap-num { color: #fff; }
body.redesign .cap.dark p { color: rgba(255,255,255,0.7); }

body.redesign .cap-num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted-2);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: flex; gap: 12px; align-items: center;
}
body.redesign .cap-num::before {
  content: ""; width: 6px; height: 6px;
  background: var(--blue); border-radius: 999px;
}
body.redesign .cap.dark .cap-num::before { background: var(--amber); }
body.redesign .cap h3 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
  line-height: 1.1;
  color: var(--ink);
}
body.redesign .cap h3 em { font-style: normal; color: var(--blue); }
body.redesign .cap p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}
body.redesign .cap .feature-art {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--rule-2);
}

/* ---- Compliance scanner viz (inside .cap.side) ---- */
body.redesign .scan-viz { display: flex; flex-direction: column; gap: 8px; margin-top: 24px; }
body.redesign .scan-row {
  display: grid;
  grid-template-columns: 90px 1fr 36px;
  gap: 12px;
  align-items: center;
  font-size: 12px;
  font-family: var(--mono);
}
body.redesign .scan-row .name { color: var(--muted); }
body.redesign .scan-bar {
  height: 6px; border-radius: 999px; background: var(--rule-2);
  overflow: hidden; position: relative;
}
body.redesign .scan-bar > span {
  display: block; height: 100%; background: var(--blue);
  border-radius: 999px;
}
body.redesign .scan-bar.warn > span { background: var(--amber); }
body.redesign .scan-row .pct { font-size: 12px; color: var(--ink-2); text-align: right; font-weight: 500; }

/* ---- Lifecycle viz (inside .cap.dark.third) ---- */
body.redesign .life {
  display: flex; flex-direction: column; gap: 10px; margin-top: 24px;
}
body.redesign .life-row {
  display: flex; align-items: center; gap: 12px;
  font-size: 13px;
}
body.redesign .life-row .stage {
  font-family: var(--mono);
  font-size: 11px;
  width: 78px;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
body.redesign .life-row .pip {
  width: 8px; height: 8px; border-radius: 999px;
  background: rgba(255,255,255,0.18);
  box-shadow: 0 0 0 4px rgba(255,255,255,0.04);
  flex-shrink: 0;
}
body.redesign .life-row.done   .pip { background: var(--green); box-shadow: 0 0 0 4px rgba(5,150,105,0.18); }
body.redesign .life-row.active .pip { background: var(--amber); box-shadow: 0 0 0 4px rgba(217,119,6,0.20); }
body.redesign .life-row .lbl  { color: rgba(255,255,255,0.85); }
body.redesign .life-row .meta { margin-left: auto; font-size: 11px; color: rgba(255,255,255,0.5); }

/* ---- Distribution viz (inside .cap.third) ---- */
body.redesign .dist-viz {
  margin-top: 20px;
  display: flex; flex-direction: column; gap: 6px;
}
body.redesign .dist-pill {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px;
  background: var(--bg);
  border-radius: 999px;
  font-size: 12px;
  width: fit-content;
}
body.redesign .dist-pill .ck {
  width: 14px; height: 14px; border-radius: 999px; background: var(--green);
  color: #fff; display: grid; place-items: center; font-size: 9px;
  flex-shrink: 0;
}
body.redesign .dist-pill.pending .ck { background: var(--amber); }

/* ---- Everything else 8-up grid ---- */
body.redesign .more-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-top: 48px;
}
body.redesign .more-cell {
  background: var(--paper);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 220px;
  transition: background 0.2s;
}
body.redesign .more-cell:hover { background: var(--bg-2); }
body.redesign .more-cell .ico {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border-radius: 8px;
  background: var(--blue-soft);
  color: var(--blue);
}
body.redesign .more-cell .ico svg { width: 16px; height: 16px; }
body.redesign .more-cell h4 {
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 4px 0 0;
  color: var(--ink);
  line-height: 1.25;
}
body.redesign .more-cell h4 em { font-style: normal; color: var(--blue); }
body.redesign .more-cell p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
  margin: 0;
}
body.redesign .more-cell .tags {
  margin-top: auto;
  display: flex; flex-wrap: wrap; gap: 4px;
  padding-top: 12px;
}
body.redesign .more-cell .tag {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted-2);
}
body.redesign .more-cell .tag + .tag::before {
  content: "·"; margin-right: 4px; color: var(--rule);
}

/* ---- Compare table ---- */
body.redesign .cmp {
  background: var(--paper);
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--rule-2);
}
body.redesign .cmp-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  align-items: center;
  padding: 22px 32px;
  border-bottom: 1px solid var(--rule-2);
}
body.redesign .cmp-row:last-child { border-bottom: 0; }
body.redesign .cmp-row.head {
  background: var(--bg-2);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 14px 32px;
}
body.redesign .cmp-row .col-1 {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
body.redesign .cmp-row.head .col-1 { font-family: var(--mono); font-size: 12px; font-weight: 400; color: var(--muted); }
body.redesign .cmp-old { color: var(--muted); display: flex; align-items: center; gap: 8px; font-size: 14px; }
body.redesign .cmp-new { color: var(--ink);  display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; }
body.redesign .cmp-old .x  { color: var(--red);   font-weight: 600; }
body.redesign .cmp-new .ck { color: var(--green); font-weight: 600; }

/* ---- Testimonials (.quotes) ---- */
body.redesign .quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
body.redesign .quote {
  background: var(--paper);
  border: 1px solid var(--rule-2);
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex; flex-direction: column;
  min-height: 240px;
}
body.redesign .quote .mark {
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-size: 56px; line-height: 0.6;
  color: var(--blue);
  margin-bottom: 8px;
}
body.redesign .quote .body {
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.01em;
  flex: 1;
  color: var(--ink-2);
}
body.redesign .quote .body em { font-style: normal; font-weight: 700; color: var(--ink); }
body.redesign .quote .who {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--rule-2);
  display: flex; align-items: center; gap: 12px;
}
body.redesign .quote .av {
  width: 36px; height: 36px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue);
  display: grid; place-items: center;
  font-size: 13px; font-weight: 600;
  flex-shrink: 0;
}
body.redesign .quote .who .nm   { font-size: 13px; font-weight: 600; color: var(--ink); }
body.redesign .quote .who .role { font-size: 12px; color: var(--muted); }

/* ---- Lead magnet (.lead-magnet — checklist download form) ---- */
body.redesign .lead-magnet section.sec,
body.redesign section.sec.lead-magnet { border-top: 0; }
body.redesign .lead-magnet-card {
  background: var(--bg-2);
  border-radius: var(--r-xl);
  padding: 56px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: center;
}
body.redesign .lead-magnet-title {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  color: var(--ink);
}
body.redesign .lead-magnet-lede {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0 0 24px;
  max-width: 480px;
}
body.redesign .lead-magnet-lede strong { color: var(--ink); }
body.redesign .lead-magnet-tags {
  display: flex; gap: 8px; margin-bottom: 24px; flex-wrap: wrap;
}
body.redesign .lead-magnet-tags span {
  padding: 8px 14px;
  background: var(--paper);
  border-radius: 999px;
  font-size: 12px;
  font-family: var(--mono);
  color: var(--ink-2);
}
body.redesign .lead-magnet-form { display: flex; flex-direction: column; gap: 12px; }
body.redesign .lead-magnet-form-row {
  display: flex; gap: 8px; max-width: 480px;
}
body.redesign .lead-magnet-input {
  flex: 1;
  padding: 14px 18px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 14px;
  background: var(--paper);
  color: var(--ink);
}
body.redesign .lead-magnet-input::placeholder { color: var(--muted); }
body.redesign .lead-magnet-consent {
  display: flex; gap: 8px; font-size: 12px; color: var(--muted);
  align-items: flex-start; max-width: 480px; line-height: 1.4;
}
body.redesign .lead-magnet-consent input { margin-top: 3px; flex-shrink: 0; }
body.redesign .lead-magnet-consent a { color: var(--blue); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
body.redesign .lead-magnet-preview {
  background: var(--paper);
  border-radius: var(--r-md);
  border: 1px solid var(--rule);
  padding: 28px;
  box-shadow: 0 20px 40px -16px rgba(11,18,32,0.18);
  align-self: start;
}
body.redesign .lead-magnet-preview .lm-eyebrow {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
body.redesign .lead-magnet-preview .lm-title {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin-bottom: 18px;
  color: var(--ink);
}
body.redesign .lead-magnet-preview .lm-list { display: flex; flex-direction: column; gap: 8px; }
body.redesign .lead-magnet-preview .lm-row {
  display: flex; align-items: center; gap: 8px; font-size: 12px;
  color: var(--ink-2);
}
body.redesign .lead-magnet-preview .lm-row .ck {
  width: 14px; height: 14px;
  border-radius: 3px;
  background: var(--green);
  color: #fff;
  display: grid; place-items: center;
  font-size: 9px;
  flex-shrink: 0;
}
body.redesign .lead-magnet-preview .lm-row .box {
  width: 14px; height: 14px;
  border: 1.5px solid var(--rule);
  border-radius: 3px;
  flex-shrink: 0;
}
body.redesign .lead-magnet-preview .lm-row.done   { color: var(--ink-2); }
body.redesign .lead-magnet-preview .lm-row:not(.done):not(.more) span:last-child { color: var(--muted); }
body.redesign .lead-magnet-preview .lm-row.more {
  color: var(--muted-2); font-size: 12px;
}

/* ---- Policy Finder (search + filter + table) ---- */
body.redesign .finder-card {
  background: var(--paper);
  border: 1px solid var(--rule-2);
  border-radius: var(--r-xl);
  overflow: hidden;
}
body.redesign .finder-controls {
  padding: 24px 28px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid var(--rule-2);
}
body.redesign .finder-search {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px;
  background: var(--bg);
  border-radius: 999px;
}
body.redesign .finder-search svg { color: var(--muted); flex-shrink: 0; }
body.redesign .finder-search input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink);
}
body.redesign .finder-search input::placeholder { color: var(--muted); }
body.redesign .finder-select {
  padding: 12px 16px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: var(--paper);
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink);
  cursor: pointer;
}
body.redesign .finder-reset { padding: 11px 18px; }

body.redesign .finder-head {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  padding: 14px 28px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-bottom: 1px solid var(--rule-2);
}

body.redesign .finder-table-wrap { overflow-x: auto; }
body.redesign .finder-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
body.redesign .finder-table tbody tr {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  border-bottom: 1px solid var(--rule-2);
}
body.redesign .finder-table tbody tr:last-child { border-bottom: 0; }
body.redesign .finder-table td {
  padding: 18px 28px;
  align-items: center;
  display: flex;
}
body.redesign .finder-table td:first-child {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
body.redesign .finder-table td:nth-child(2) { font-size: 13px; color: var(--muted); }
body.redesign .finder-table td:nth-child(3) { font-size: 14px; font-weight: 500; color: var(--ink); }
body.redesign .finder-table td:nth-child(4) { font-size: 12px; color: var(--blue); font-family: var(--mono); }
body.redesign .finder-table .search-empty {
  grid-column: 1 / -1 !important;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px !important;
  color: var(--muted);
  font-size: 14px;
  gap: 12px;
}
body.redesign .finder-table .search-empty svg { color: var(--muted-2); }
body.redesign .finder-table .policy-placeholder { display: block; }

body.redesign .finder-foot {
  padding: 20px 28px;
  background: var(--bg-2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
  font-family: var(--mono);
  flex-wrap: wrap;
  gap: 12px;
}
body.redesign .finder-pagination { display: flex; gap: 8px; align-items: center; }
body.redesign .finder-pagination .btn { padding: 7px 14px; font-size: 12px; }
body.redesign .finder-pagination span { font-family: var(--mono); font-size: 12px; }

/* ---- Pricing 3-card grid ---- */
body.redesign .price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
body.redesign .price-card {
  background: var(--paper);
  border: 1px solid var(--rule-2);
  border-radius: var(--r-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  position: relative;
}
body.redesign .price-card--featured {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
body.redesign .price-tag {
  position: absolute;
  top: -10px; right: 24px;
  background: var(--amber);
  color: var(--ink);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-family: var(--mono);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
body.redesign .price-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--blue);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
body.redesign .price-eyebrow--accent { color: var(--amber); }
body.redesign .price-amount {
  font-family: var(--sans);
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  color: inherit;
}
body.redesign .price-card--featured .price-amount { color: #fff; }
body.redesign .price-suffix {
  font-size: 18px;
  color: var(--muted);
  font-weight: 500;
}
body.redesign .price-card--featured .price-suffix { color: rgba(255,255,255,0.6); }
body.redesign .price-cadence {
  font-size: 13px;
  color: var(--muted);
  margin-top: 8px;
}
body.redesign .price-card--featured .price-cadence { color: rgba(255,255,255,0.6); }
body.redesign .price-blurb {
  font-size: 14px;
  color: var(--muted);
  margin: 24px 0;
  line-height: 1.5;
}
body.redesign .price-card--featured .price-blurb { color: rgba(255,255,255,0.7); }
body.redesign .price-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-2);
}
body.redesign .price-card--featured .price-list { color: rgba(255,255,255,0.85); }
body.redesign .price-list li {
  position: relative;
  padding-left: 22px;
}
body.redesign .price-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 6px;
  width: 14px; height: 8px;
  border-left: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: rotate(-45deg);
}
body.redesign .price-cta {
  margin-top: auto;
  justify-content: center;
  text-align: center;
}

/* ---- Featured pack cards (3-up follow-up under pricing) ---- */
body.redesign .featured-packs {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--rule-2);
}
body.redesign .featured-packs-head {
  display: flex; justify-content: space-between; align-items: end;
  margin-bottom: 24px;
}
body.redesign .featured-packs-all {
  font-size: 14px;
  color: var(--blue);
  font-weight: 500;
}
body.redesign .featured-packs-all:hover { color: var(--blue-ink); }
body.redesign .featured-packs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
body.redesign .featured-pack-card {
  display: block;
  background: var(--paper);
  border: 1px solid var(--rule-2);
  border-radius: var(--r-lg);
  padding: 24px;
  transition: all .2s ease;
  text-decoration: none;
  color: inherit;
}
body.redesign .featured-pack-card:hover { border-color: var(--ink); transform: translateY(-2px); }
body.redesign .featured-pack-card .fp-icon {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 8px;
  background: var(--blue-soft);
  color: var(--blue);
  margin-bottom: 16px;
}
body.redesign .featured-pack-card h4 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.015em;
  margin: 0 0 8px;
  color: var(--ink);
  line-height: 1.25;
}
body.redesign .featured-pack-card p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
  margin: 0 0 14px;
}
body.redesign .featured-pack-card .fp-price {
  font-size: 12px;
  font-family: var(--mono);
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ============================================================
   JURISDICTION PAGES (.juris-hero — country-tinted full-bleed hero)
   Phase 5f — adopted from handoff policies/<country>.html
   Per-page tint via inline style="background: #hex;" on .juris-hero;
   typography + layout shared here.
   ============================================================ */
body.redesign .juris-hero {
  color: #fff;
  padding: 96px 0 80px;
  position: relative;
  overflow: hidden;
}
body.redesign .juris-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top right, rgba(255,255,255,0.10), transparent 60%);
  pointer-events: none;
}
body.redesign .juris-hero .wrap { position: relative; }
body.redesign .juris-hero .crumb {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 32px;
  display: flex;
  gap: 12px;
  align-items: center;
}
body.redesign .juris-hero .crumb a,
body.redesign .juris-hero .crumb span { color: rgba(255,255,255,0.7); text-decoration: none; }
body.redesign .juris-hero .crumb a:hover { color: #fff; }
body.redesign .juris-hero .crumb .sep { color: rgba(255,255,255,0.4); }
body.redesign .juris-hero .flag-mark {
  font-size: 96px;
  line-height: 1;
  margin-bottom: 24px;
}
body.redesign .juris-hero h1 {
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(48px, 7vw, 96px);
  letter-spacing: -0.03em;
  line-height: 0.95;
  margin: 0 0 24px;
  color: #fff;
}
body.redesign .juris-hero .tagline {
  font-size: 22px;
  color: rgba(255,255,255,0.85);
  max-width: 640px;
  line-height: 1.4;
  margin: 0 0 48px;
}
body.redesign .juris-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.20);
  padding-top: 32px;
  max-width: 720px;
}
body.redesign .juris-stat { padding-right: 24px; }
body.redesign .juris-stat .v {
  font-family: var(--sans);
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1;
  margin-bottom: 8px;
}
body.redesign .juris-stat .l {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.6);
}
@media (max-width: 720px) {
  body.redesign .juris-hero { padding: 64px 0 56px; }
  body.redesign .juris-hero .flag-mark { font-size: 72px; }
  body.redesign .juris-hero .tagline { font-size: 18px; margin-bottom: 32px; }
  body.redesign .juris-stats { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

/* ============================================================
   FRAMEWORK / LIBRARY / GUIDE / INDIVIDUAL PAGES (.content-page-*)
   Phase 5b — page-family upgrade for the 12 framework pages,
   8 library pages, 7 guide pages, and 12 individual policy pages
   (47 pages total) that share a common .content-page-* class system.
   Pure CSS — no markup changes; existing .content-page-hero /
   .content-page-section / .content-page-card / .content-page-grid /
   .content-page-grid-card / .content-page-trust-strip elements get
   the handoff editorial typography and rhythm under body.redesign.
   ============================================================ */

/* Hero / page-header treatment */
body.redesign .content-page-hero {
  padding: 80px 0 56px;
  border-bottom: 1px solid var(--rule);
  background: var(--bg-2);
  text-align: center;
}
body.redesign .content-page-hero .breadcrumb,
body.redesign .content-page-hero nav[aria-label] {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}
body.redesign .content-page-hero .breadcrumb a,
body.redesign .content-page-hero nav[aria-label] a { color: var(--muted); }
body.redesign .content-page-hero .breadcrumb a:hover,
body.redesign .content-page-hero nav[aria-label] a:hover { color: var(--blue); }
body.redesign .content-page-hero h1 {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(40px, 5.5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
  text-wrap: balance;
  color: var(--ink);
}
body.redesign .content-page-hero h1 em {
  font-style: italic;
  font-weight: 800;
  color: var(--blue);
  font-family: Georgia, 'Times New Roman', serif;
}
body.redesign .content-page-hero .lede,
body.redesign .content-page-hero p {
  font-size: 18px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 24px;
}
body.redesign .content-page-hero .meta-tags,
body.redesign .content-page-hero .pack-tags {
  display: inline-flex; gap: 8px; flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
}
body.redesign .content-page-hero .meta-tags > span,
body.redesign .content-page-hero .pack-tags > span,
body.redesign .content-page-hero .pack-tag {
  padding: 6px 14px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 999px;
  font-size: 12px;
  font-family: var(--mono);
  color: var(--ink-2);
  text-transform: none;
  letter-spacing: 0.02em;
}

/* Body wrapper */
body.redesign .content-page-body {
  padding: 64px 0 96px;
}
body.redesign .content-page-body > .content-page-section:first-child { margin-top: 0; }

/* Content section (h2 + body prose) */
body.redesign .content-page-section {
  margin-top: 56px;
}
body.redesign .content-page-section h2 {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(28px, 3.2vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin: 0 0 20px;
  color: var(--ink);
  text-wrap: balance;
}
body.redesign .content-page-section h2 em { font-style: normal; color: var(--blue); }
body.redesign .content-page-section h3 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.015em;
  margin: 24px 0 10px;
  color: var(--ink);
  line-height: 1.25;
}
body.redesign .content-page-section p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-2);
  margin: 0 0 16px;
}
body.redesign .content-page-section a {
  color: var(--blue);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
body.redesign .content-page-section a:hover { text-decoration-thickness: 2px; }
body.redesign .content-page-section ul,
body.redesign .content-page-section ol {
  padding-left: 1.4em;
  margin: 0 0 16px;
}
body.redesign .content-page-section li {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-2);
  margin-bottom: 8px;
}
body.redesign .content-page-section strong { font-weight: 700; color: var(--ink); }

/* Pricing / pack card (in-flow CTA card) */
body.redesign .content-page-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--r-xl);
  padding: 32px !important;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}
body.redesign .content-page-card .pack-eyebrow,
body.redesign .content-page-card .eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue);
  margin-bottom: 12px;
  display: block;
}
body.redesign .content-page-card .pack-headline,
body.redesign .content-page-card .price-line {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--ink);
  margin: 0 0 12px;
}
body.redesign .content-page-card .pack-meta {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 18px;
}
body.redesign .content-page-card .pack-fineprint,
body.redesign .content-page-card .fineprint {
  font-size: 13px;
  color: var(--muted-2);
  margin-top: 14px;
}

/* Trust strip (small framework / standard chips below the pricing card) */
body.redesign .content-page-trust-strip {
  display: flex; flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin: 32px 0;
  padding: 16px 0;
  border-top: 1px solid var(--rule-2);
  border-bottom: 1px solid var(--rule-2);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Policies grid (e.g. "What's in the pack" — list of policy cards) */
body.redesign .content-page-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 24px !important;
}
body.redesign .content-page-grid-card {
  background: var(--paper);
  border: 1px solid var(--rule-2);
  border-radius: var(--r-md);
  padding: 18px 22px;
  transition: all .18s ease;
}
body.redesign .content-page-grid-card:hover { border-color: var(--ink); }
body.redesign .content-page-grid-card h3 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--ink);
  line-height: 1.3;
}
body.redesign .content-page-grid-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  margin: 6px 0 0;
}

/* Long-form list with a leading bullet pip (used in some guides) */
body.redesign .content-page-list {
  list-style: none;
  padding: 0;
  margin: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
body.redesign .content-page-list li {
  position: relative;
  padding-left: 24px;
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.55;
}
body.redesign .content-page-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 8px; height: 8px;
  background: var(--blue);
  border-radius: 999px;
}

/* "Editorial note" aside (used by some library pages) */
body.redesign .content-page-aside,
body.redesign .editorial-aside {
  background: var(--bg-2);
  border-radius: var(--r-md);
  padding: 24px 28px;
  margin: 32px 0;
  border-left: 4px solid var(--ink);
}
body.redesign .content-page-aside .aside-title,
body.redesign .editorial-aside .aside-title {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink);
  margin: 0 0 8px;
  font-weight: 600;
}
body.redesign .content-page-aside p,
body.redesign .editorial-aside p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  line-height: 1.55;
}

/* Mobile: collapse 2-col grid */
@media (max-width: 720px) {
  body.redesign .content-page-grid { grid-template-columns: 1fr; }
}

/* Centred byline in centred hero (used on guide index, compare hubs) */
body.redesign .content-page-hero .cmp-byline {
  justify-content: center;
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

/* ============================================================
   BLOG (.blog-hero / .blog-grid / .blog-card / .blog-post-*)
   Phase 5c — blog index, category pages, and individual posts.
   ============================================================ */

/* Blog index hero */
body.redesign .blog-hero {
  padding: 80px 0 56px;
  border-bottom: 1px solid var(--rule);
  background: var(--bg-2);
  text-align: center;
}
body.redesign .blog-hero h1 {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(40px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
  color: var(--ink);
  text-wrap: balance;
}
body.redesign .blog-hero h1 em {
  font-style: italic;
  font-weight: 800;
  color: var(--blue);
  font-family: Georgia, 'Times New Roman', serif;
}
body.redesign .blog-hero p,
body.redesign .blog-hero .blog-hero-lede {
  font-size: 18px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto;
}

/* Category nav */
body.redesign .blog-categories {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 32px;
}
body.redesign .blog-category-btn {
  padding: 8px 16px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: var(--paper);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  transition: all .15s ease;
}
body.redesign .blog-category-btn:hover { border-color: var(--ink); }
body.redesign .blog-category-btn.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

/* Blog grid */
body.redesign .blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 64px 32px 96px;
}

body.redesign .blog-card {
  background: var(--paper);
  border: 1px solid var(--rule-2);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all .2s ease;
}
body.redesign .blog-card:hover { border-color: var(--ink); transform: translateY(-2px); }
body.redesign .blog-card-image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-2);
}
body.redesign .blog-card-image img,
body.redesign .blog-card-thumbnail {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
}
body.redesign .blog-card-body {
  padding: 24px 24px 28px;
  display: flex; flex-direction: column;
  flex: 1;
  gap: 12px;
}
body.redesign .blog-card-meta {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}
body.redesign .blog-card-category {
  color: var(--blue);
  font-weight: 600;
}
body.redesign .blog-card-date { color: var(--muted-2); }
body.redesign .blog-card-title {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.015em;
  line-height: 1.25;
  margin: 0;
  color: var(--ink);
}
body.redesign .blog-card-title a { color: inherit; text-decoration: none; }
body.redesign .blog-card-title a:hover { color: var(--blue); }
body.redesign .blog-card-excerpt {
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
}
body.redesign .blog-card .blog-card-link,
body.redesign .blog-card .blog-card-cta {
  margin-top: auto;
  font-size: 13px;
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue);
  text-decoration: none;
}

/* Featured post card on blog index */
body.redesign .blog-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 32px;
  background: var(--paper);
  border: 1px solid var(--rule-2);
  border-radius: var(--r-xl);
  margin: 0 auto 48px;
  max-width: 1200px;
  align-items: center;
  text-decoration: none;
  color: inherit;
  transition: border-color .2s ease, transform .2s ease;
}
body.redesign .blog-featured:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}
body.redesign .blog-featured-image {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--ink) 0%, var(--blue-ink) 100%);
  border-radius: var(--r-md);
  overflow: hidden;
  display: block;
}
body.redesign .blog-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
body.redesign .blog-featured-title {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 36px;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 12px 0 16px;
  color: var(--ink);
  text-wrap: balance;
}
body.redesign .blog-featured-excerpt {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0 0 24px;
}
body.redesign .blog-featured-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--muted);
  font-family: var(--mono);
}
@media (max-width: 880px) {
  body.redesign .blog-featured {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 20px;
  }
  body.redesign .blog-featured-title { font-size: 28px; }
}

/* Newsletter signup band on blog index */
body.redesign .blog-newsletter,
body.redesign .newsletter-signup {
  background: var(--bg-2);
  border-radius: var(--r-xl);
  padding: 40px;
  margin: 64px auto 0;
  max-width: 1200px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  text-align: left;
}
body.redesign .blog-newsletter h3 {
  margin: 0 0 4px;
  font-family: var(--sans);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
body.redesign .blog-newsletter p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
body.redesign .blog-newsletter form {
  display: flex;
  gap: 8px;
}
body.redesign .blog-newsletter input[type="email"] {
  padding: 12px 18px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  font-size: 14px;
  background: var(--paper);
  width: 280px;
  font-family: inherit;
  color: var(--ink);
}
body.redesign .blog-newsletter input[type="email"]:focus {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
  border-color: var(--blue);
}
@media (max-width: 720px) {
  body.redesign .blog-newsletter,
  body.redesign .newsletter-signup {
    grid-template-columns: 1fr;
    padding: 24px;
    gap: 20px;
  }
  body.redesign .blog-newsletter form { flex-direction: column; }
  body.redesign .blog-newsletter input[type="email"] { width: 100%; }
}

/* ---- Single blog post ---- */
body.redesign .blog-post-container {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 32px 96px;
}
body.redesign .blog-post-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 32px;
  text-decoration: none;
}
body.redesign .blog-post-back:hover { color: var(--blue); }
body.redesign .blog-post-article > .blog-post-meta {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 24px;
}
body.redesign .blog-post-tag {
  padding: 4px 12px;
  background: var(--blue-soft);
  color: var(--blue-ink);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: none;
}
body.redesign .blog-post-article h1,
body.redesign .blog-post-title {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(36px, 4.5vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 16px 0 24px;
  text-wrap: balance;
}
body.redesign .blog-post-article h1 em {
  font-style: italic;
  font-weight: 800;
  color: var(--blue);
  font-family: Georgia, 'Times New Roman', serif;
}
body.redesign .blog-post-hero {
  width: 100%;
  height: auto;
  border-radius: var(--r-lg);
  margin: 24px 0 40px;
  display: block;
}
body.redesign .blog-post-article h2 {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 56px 0 16px;
  color: var(--ink);
}
body.redesign .blog-post-article h3 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.015em;
  margin: 36px 0 12px;
  color: var(--ink);
  line-height: 1.25;
}
body.redesign .blog-post-article p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-2);
  margin: 0 0 20px;
}
body.redesign .blog-post-article a {
  color: var(--blue);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
body.redesign .blog-post-article a:hover { text-decoration-thickness: 2px; }
body.redesign .blog-post-article ul,
body.redesign .blog-post-article ol { padding-left: 1.4em; margin: 0 0 20px; }
body.redesign .blog-post-article li {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 8px;
  color: var(--ink-2);
}
body.redesign .blog-post-article strong { font-weight: 700; color: var(--ink); }
body.redesign .blog-post-article blockquote {
  border-left: 3px solid var(--blue);
  padding: 4px 0 4px 24px;
  margin: 32px 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
}
body.redesign .blog-post-highlight {
  background: var(--bg-2);
  border-left: 4px solid var(--blue);
  border-radius: var(--r-md);
  padding: 20px 24px;
  margin: 24px 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
}
body.redesign .blog-post-cta {
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-lg);
  padding: 40px;
  margin: 48px 0;
  text-align: center;
}
body.redesign .blog-post-cta h3,
body.redesign .blog-post-cta h2 {
  color: #fff;
  margin: 0 0 12px;
}
body.redesign .blog-post-cta p { color: rgba(255,255,255,0.8); }

/* Framework detail — sticky pack sidebar layout
   The legacy single-column .content-page-body keeps its inner styling; we
   wrap it in .fw-detail-layout (a 2-col grid) and append a sticky aside. */
body.redesign .fw-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 64px;
  align-items: start;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}
body.redesign .fw-detail-layout > .content-page-body {
  max-width: 860px;
  margin: 0;
  padding: 0;
}
body.redesign .fw-pack-sidebar {
  position: sticky;
  top: 96px;
  align-self: start;
}
body.redesign .fw-pack-sidebar-card {
  background: var(--bg-2);
  border: 1px solid var(--rule-2);
  border-radius: var(--r-lg);
  padding: 28px;
}
body.redesign .fw-pack-sidebar-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue);
  font-weight: 600;
  margin-bottom: 8px;
}
body.redesign .fw-pack-sidebar-buyer {
  margin: 0 0 20px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.5;
  font-weight: 500;
}
body.redesign .fw-pack-sidebar-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  padding: 14px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin-bottom: 20px;
}
body.redesign .fw-pack-sidebar-count,
body.redesign .fw-pack-sidebar-amount {
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}
body.redesign .fw-pack-sidebar-price-sep,
body.redesign .fw-pack-sidebar-once {
  font-size: 13px;
  color: var(--muted);
  font-family: var(--mono);
}
body.redesign .fw-pack-sidebar-cta {
  width: 100%;
  justify-content: center;
  margin-bottom: 20px;
}
body.redesign .fw-pack-sidebar-spec {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
}
body.redesign .fw-pack-sidebar-spec li {
  display: flex;
  justify-content: space-between;
  padding: 7px 0;
  font-size: 13px;
  color: var(--muted);
  font-family: var(--mono);
  border-bottom: 1px solid var(--rule);
}
body.redesign .fw-pack-sidebar-spec li:last-child { border-bottom: 0; }
body.redesign .fw-pack-sidebar-spec li span:last-child {
  color: var(--ink);
  font-weight: 600;
}
body.redesign .fw-pack-sidebar-detail-link {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue);
  text-decoration: none;
  font-weight: 600;
}
body.redesign .fw-pack-sidebar-detail-link:hover { text-decoration: underline; }

/* On narrow viewports, drop to single column and let the sidebar flow with content. */
@media (max-width: 1080px) {
  body.redesign .fw-detail-layout {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 0 24px;
  }
  body.redesign .fw-pack-sidebar {
    position: static;
    max-width: 480px;
  }
}

/* Byline pill (avatar + name) on individual blog posts */
body.redesign .blog-post-byline {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px;
  padding: 12px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
body.redesign .blog-post-byline-avatar {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue);
  display: grid;
  place-items: center;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.02em;
  flex: 0 0 auto;
}
body.redesign .blog-post-byline-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
body.redesign .blog-post-byline-name {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
}
body.redesign .blog-post-byline-role {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Keep reading — 3-card grid at end of blog post */
body.redesign .blog-post-keep-reading {
  margin: 80px 0 0;
  padding-top: 48px;
  border-top: 1px solid var(--rule);
}
body.redesign .blog-post-keep-reading .kr-heading {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-2);
  margin: 0 0 24px;
  font-weight: 500;
}
body.redesign .blog-post-keep-reading .kr-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
body.redesign .blog-post-keep-reading .kr-card {
  display: block;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--rule-2);
  border-radius: var(--r-lg);
  text-decoration: none;
  color: inherit;
  transition: border-color .2s ease, transform .2s ease;
}
body.redesign .blog-post-keep-reading .kr-card:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}
body.redesign .blog-post-keep-reading .kr-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue);
  margin-bottom: 10px;
  font-weight: 600;
}
body.redesign .blog-post-keep-reading .kr-title {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: var(--ink);
  margin: 0 0 8px;
}
body.redesign .blog-post-keep-reading .kr-excerpt {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}
@media (max-width: 880px) {
  body.redesign .blog-post-keep-reading .kr-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   CONTACT (.contact-hero / .contact-grid / .contact-card / .contact-form)
   ============================================================ */
body.redesign .contact-hero {
  padding: 80px 0 56px;
  border-bottom: 1px solid var(--rule);
  background: var(--bg-2);
  text-align: center;
}
body.redesign .contact-hero h1 {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(40px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
  color: var(--ink);
}
body.redesign .contact-hero h1 em { font-style: italic; font-weight: 800; color: var(--blue); font-family: Georgia, 'Times New Roman', serif; }
body.redesign .contact-hero p,
body.redesign .contact-hero .contact-hero-lede {
  font-size: 18px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto 16px;
}
body.redesign .contact-email-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all .15s ease;
}
body.redesign .contact-email-link:hover { border-color: var(--ink); color: var(--blue); }

body.redesign .contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 64px 32px 0;
}
body.redesign .contact-card {
  background: var(--paper);
  border: 1px solid var(--rule-2);
  border-radius: var(--r-lg);
  padding: 28px;
  cursor: pointer;
  transition: all .2s ease;
  display: flex; flex-direction: column; gap: 12px;
}
body.redesign .contact-card:hover { border-color: var(--ink); transform: translateY(-2px); }
body.redesign .contact-card-icon {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 8px;
  background: var(--blue-soft);
  color: var(--blue);
}
body.redesign .contact-card-icon svg { width: 18px; height: 18px; }
body.redesign .contact-card h3 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--ink);
  line-height: 1.25;
}
body.redesign .contact-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

body.redesign .contact-form-section {
  max-width: 760px;
  margin: 64px auto 96px;
  padding: 0 32px;
}
body.redesign .contact-form-section h2 {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(28px, 3vw, 36px);
  letter-spacing: -0.02em;
  margin: 0 0 24px;
  color: var(--ink);
}
body.redesign .contact-form {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
body.redesign .contact-form label {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 6px;
  font-weight: 500;
}
body.redesign .contact-form input,
body.redesign .contact-form select,
body.redesign .contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--rule);
  border-radius: 12px;
  font-family: var(--sans);
  font-size: 14px;
  background: var(--paper);
  color: var(--ink);
  transition: border-color .15s ease;
}
body.redesign .contact-form input:focus,
body.redesign .contact-form select:focus,
body.redesign .contact-form textarea:focus {
  outline: 0;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-soft);
}
body.redesign .contact-form textarea { min-height: 140px; resize: vertical; }
body.redesign .contact-form button[type="submit"] {
  align-self: flex-start;
  margin-top: 8px;
}

/* ============================================================
   TOOLS (.tool-hero / .tool-body / .tool-recs / .tool-rec-card)
   ============================================================ */
body.redesign .tool-hero {
  padding: 80px 0 56px;
  border-bottom: 1px solid var(--rule);
  background: var(--bg-2);
  text-align: center;
}
body.redesign .tool-hero h1 {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(40px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
  color: var(--ink);
}
body.redesign .tool-hero h1 em { font-style: italic; font-weight: 800; color: var(--blue); font-family: Georgia, 'Times New Roman', serif; }
body.redesign .tool-hero p,
body.redesign .tool-hero .tool-lede {
  font-size: 18px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 24px;
}
body.redesign .tool-meta {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

body.redesign .tool-body {
  max-width: 1280px;
  margin: 0 auto;
  padding: 64px 32px 96px;
}
body.redesign .tool-body h2 {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(28px, 3vw, 36px);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 16px;
  color: var(--ink);
}
body.redesign .tool-body h2 em { font-style: normal; color: var(--blue); }

body.redesign .tool-recs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px !important;
}
body.redesign .tool-rec-card {
  background: var(--paper);
  border: 1px solid var(--rule-2);
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex; flex-direction: column;
  transition: all .2s ease;
}
body.redesign .tool-rec-card:hover { border-color: var(--ink); transform: translateY(-2px); }
body.redesign .tool-rec-card.featured {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
body.redesign .tool-rec-card-header h3,
body.redesign .tool-rec-card h3 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.015em;
  margin: 0 0 8px;
  color: var(--ink);
  line-height: 1.25;
}
body.redesign .tool-rec-card.featured h3 { color: #fff; }
body.redesign .tool-rec-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0 0 16px;
}
body.redesign .tool-rec-card.featured p { color: rgba(255,255,255,0.7); }
body.redesign .tool-rec-price {
  font-family: var(--mono);
  font-size: 13px !important;
  letter-spacing: 0.04em;
  color: var(--blue) !important;
  font-weight: 600 !important;
  margin-bottom: 8px;
}
body.redesign .tool-rec-card.featured .tool-rec-price { color: var(--amber) !important; }
body.redesign .tool-rec-frameworks {
  display: flex; flex-wrap: wrap; gap: 4px;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted-2);
  margin-top: auto;
  margin-bottom: 16px;
}
body.redesign .tool-rec-card.featured .tool-rec-frameworks { color: rgba(255,255,255,0.5); }

/* Tool quiz / question UI */
body.redesign .tool-question,
body.redesign .quiz-question {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  padding: 32px;
  margin-bottom: 16px;
}
body.redesign .tool-options,
body.redesign .quiz-options {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-top: 16px;
}
body.redesign .tool-option-btn,
body.redesign .quiz-option {
  padding: 10px 18px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: var(--paper);
  font-family: var(--sans);
  font-size: 14px;
  cursor: pointer;
  transition: all .15s ease;
}
body.redesign .tool-option-btn:hover,
body.redesign .quiz-option:hover { border-color: var(--ink); }
body.redesign .tool-option-btn.selected,
body.redesign .quiz-option.selected {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

/* ============================================================
   ERROR PAGES (.error-page / .error-code / .error-title)
   ============================================================ */
body.redesign .error-page {
  max-width: 640px;
  margin: 0 auto;
  padding: 96px 32px;
  text-align: center;
}
body.redesign .error-code {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(96px, 14vw, 168px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--blue);
  margin-bottom: 16px;
}
body.redesign .error-title {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(28px, 3.5vw, 40px);
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  color: var(--ink);
}
body.redesign .error-page > p {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.55;
  max-width: 480px;
  margin: 0 auto 32px;
}
body.redesign .error-actions {
  display: inline-flex; gap: 12px; flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 32px;
}
body.redesign .error-links {
  display: flex; gap: 16px; flex-wrap: wrap;
  justify-content: center;
  font-size: 13px;
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}
body.redesign .error-links a { color: var(--muted); }
body.redesign .error-links a:hover { color: var(--blue); }

/* ============================================================
   HELP CENTRE (.help-hub-search / .help-category-grid / .help-category-card)
   ============================================================ */
body.redesign .help-hub-search {
  max-width: 600px;
  margin: 32px auto 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 999px;
}
body.redesign .help-hub-search svg { color: var(--muted); }
body.redesign .help-hub-search input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink);
}
body.redesign .help-hub-search input::placeholder { color: var(--muted); }

body.redesign .help-category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 880px;
  margin: 64px auto 0;
  padding: 0 32px;
}
body.redesign .help-category-card {
  background: var(--paper);
  border: 1px solid var(--rule-2);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: all .2s ease;
}
body.redesign .help-category-card:hover { border-color: var(--ink); transform: translateY(-2px); }
body.redesign .help-category-icon {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 8px;
  background: var(--blue-soft);
  color: var(--blue);
  margin-bottom: 16px;
}
body.redesign .help-category-icon svg { width: 18px; height: 18px; }
body.redesign .help-category-card h3 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.015em;
  margin: 0 0 8px;
  color: var(--ink);
}
body.redesign .help-category-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}
body.redesign .help-category-card h2 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.015em;
  margin: 0 0 8px;
  color: var(--ink);
  line-height: 1.25;
}
body.redesign .help-category-links {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
body.redesign .help-category-links a {
  font-size: 13px;
  color: var(--blue);
  text-decoration: none;
  line-height: 1.4;
}
body.redesign .help-category-links a:hover { text-decoration: underline; }
body.redesign .help-category-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-decoration: none;
}
body.redesign .help-category-all:hover { color: var(--blue); }

/* Full article index (below category cards) */
body.redesign .help-full-index {
  max-width: 1100px;
  margin: 80px auto 0;
  padding: 0 32px;
}
body.redesign .help-full-index-section {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
}
body.redesign .help-full-index-section:first-child { border-top: 0; padding-top: 0; }
body.redesign .help-full-index-section h3 {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  color: var(--ink);
}
body.redesign .help-article-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  border: 1px solid var(--rule-2);
  border-radius: var(--r-md);
  margin-bottom: 8px;
  background: var(--paper);
  transition: all .15s ease;
}
body.redesign .help-article-item:hover { border-color: var(--ink); }
body.redesign .help-article-item a {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  flex: 1;
}
body.redesign .help-article-item a:hover { color: var(--blue); }
body.redesign .help-article-tag {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-2);
  padding: 4px 10px;
  background: var(--bg-2);
  border-radius: 999px;
  flex-shrink: 0;
}

/* Hide the no-results message and old contact strip styling defaults */
body.redesign .help-contact-strip { display: none; }

/* ============================================================
   STATUS PAGE (.status-banner / .services-section / .uptime-section /
   .incidents-section / .subscribe-section)
   ============================================================ */
/* Status page has its own /status/styles.css that defines .nav / .nav-cta
   etc. as the LEGACY chrome. With body.redesign on, the partial markup
   is in place but the local styles still bleed; force-reset. */
body.redesign[data-page="status"] .nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(180%) blur(14px);
  background: rgba(255, 255, 255, 0.78) !important;
  border-bottom: 1px solid var(--rule-2) !important;
  padding: 0 !important;
  display: block !important;
}
body.redesign[data-page="status"] .nav-cta {
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
  color: inherit !important;
  display: flex !important;
  gap: 12px !important;
  align-items: center !important;
}
body.redesign[data-page="status"] .nav-cta:hover { background: transparent !important; }
body.redesign[data-page="status"] .nav-cta a.btn-ghost  { color: var(--ink-2) !important; background: transparent !important; }
body.redesign[data-page="status"] .nav-cta a.btn-blue   { color: #fff !important; background: var(--blue) !important; }
body.redesign[data-page="status"] .nav-links {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

body.redesign[data-page="status"] main.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 64px 32px 96px;
}
body.redesign[data-page="status"] header.header {
  text-align: center;
  margin-bottom: 48px;
}
body.redesign[data-page="status"] header.header h1 {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(40px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 12px;
  color: var(--ink);
}
body.redesign[data-page="status"] header.header .subtitle {
  font-size: 17px;
  color: var(--muted);
  margin: 0;
}
body.redesign[data-page="status"] section {
  margin-bottom: 32px;
}
body.redesign[data-page="status"] section h2 {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  color: var(--ink);
}
body.redesign[data-page="status"] .status-banner {
  background: var(--paper);
  border: 1px solid var(--rule-2);
  border-radius: var(--r-lg);
  padding: 24px 28px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
body.redesign[data-page="status"] .status-indicator {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
}
body.redesign[data-page="status"] .status-dot {
  width: 10px; height: 10px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.18);
}
body.redesign[data-page="status"] .last-updated {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

/* ============================================================
   TRUST CENTER (custom .hero / .container / .status-badge / sections)
   The page has its own 502-line internal <style>; we override the
   chrome with the standard partials and lift body typography to match
   the editorial aesthetic. Tier-1 page so this is the most defensive
   selector set.
   ============================================================ */
body.redesign[data-page="trust"] section.hero {
  padding: 80px 0 56px;
  border-bottom: 1px solid var(--rule);
  background: var(--bg-2);
  text-align: center;
}
body.redesign[data-page="trust"] section.hero h1 {
  font-family: var(--sans) !important;
  font-weight: 800 !important;
  font-size: clamp(40px, 5vw, 56px) !important;
  line-height: 1.05 !important;
  letter-spacing: -0.03em !important;
  margin: 0 0 16px !important;
  color: var(--ink) !important;
}
body.redesign[data-page="trust"] section.hero p {
  font-size: 18px !important;
  line-height: 1.55 !important;
  color: var(--muted) !important;
  max-width: 600px !important;
  margin: 0 auto 16px !important;
}
body.redesign[data-page="trust"] section.hero .status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: var(--paper);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
}
body.redesign[data-page="trust"] section.hero .status-dot {
  width: 8px; height: 8px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.18);
}
body.redesign[data-page="trust"] main > section:not(.hero):not(.contact-section) {
  padding: 56px 0;
  border-top: 1px solid var(--rule);
}
body.redesign[data-page="trust"] main > section:not(.hero) h2 {
  font-family: var(--sans) !important;
  font-weight: 800 !important;
  font-size: clamp(28px, 3vw, 36px) !important;
  letter-spacing: -0.02em !important;
  line-height: 1.15 !important;
  margin: 0 0 24px !important;
  color: var(--ink) !important;
}
body.redesign[data-page="trust"] main > section:not(.hero) h3 {
  font-family: var(--sans) !important;
  font-weight: 700 !important;
  font-size: 20px !important;
  letter-spacing: -0.015em !important;
  margin: 0 0 8px !important;
  color: var(--ink) !important;
  line-height: 1.25 !important;
}
body.redesign[data-page="trust"] main > section:not(.hero) p {
  font-size: 16px !important;
  line-height: 1.7 !important;
  color: var(--ink-2) !important;
}
body.redesign[data-page="trust"] main > section:not(.hero) a {
  color: var(--blue) !important;
}
body.redesign[data-page="trust"] section.contact-section {
  background: var(--ink) !important;
  color: #fff !important;
  padding: 64px 0 !important;
  border-radius: var(--r-xl);
  margin: 64px 0 !important;
}
body.redesign[data-page="trust"] section.contact-section h2 {
  color: #fff !important;
}
body.redesign[data-page="trust"] section.contact-section p {
  color: rgba(255,255,255,0.7) !important;
}

/* Mobile responsive for these one-offs */
@media (max-width: 980px) {
  body.redesign .contact-grid          { grid-template-columns: repeat(2, 1fr); }
  body.redesign .tool-recs             { grid-template-columns: 1fr; }
  body.redesign .help-category-grid    { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  body.redesign .contact-grid          { grid-template-columns: 1fr; padding: 48px 20px 0; }
  body.redesign .contact-form          { padding: 28px 20px; }
}

/* Blog responsive */
@media (max-width: 980px) {
  body.redesign .blog-grid { grid-template-columns: repeat(2, 1fr); padding: 48px 24px 64px; }
  body.redesign .blog-post-cta { padding: 32px 24px; }
}
@media (max-width: 600px) {
  body.redesign .blog-grid { grid-template-columns: 1fr; }
  body.redesign .blog-post-container { padding: 32px 20px 64px; }
}

/* ---- Pricing grid mobile responsive ---- */
body.redesign .pricing-cards-grid,
body.redesign .pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* ---- Responsive (mobile breakpoint matches handoff at 980px) ---- */
@media (max-width: 980px) {
  body.redesign .nav-links             { display: none; }
  body.redesign .sec-head              { grid-template-columns: 1fr; gap: 24px; }
  body.redesign .juris                 { grid-template-columns: repeat(2, 1fr); }
  body.redesign .card-grid,
  body.redesign .card-grid.cols-4      { grid-template-columns: 1fr; }
  body.redesign .card-grid.cols-2      { grid-template-columns: 1fr; }
  body.redesign .cta-band              { grid-template-columns: 1fr; padding: 40px 28px; }
  body.redesign .foot-grid             { grid-template-columns: 1fr 1fr; }
  body.redesign .doc-grid              { grid-template-columns: 1fr; gap: 32px; }
  body.redesign .doc-toc               { position: static; }
  body.redesign .hero-strip            { grid-template-columns: repeat(2, 1fr); }
  body.redesign .hs-cell               { border-right: 0; padding: 16px 0; border-bottom: 1px solid var(--rule); }

  /* Homepage hero responsive */
  body.redesign .hero-grid             { grid-template-columns: 1fr; gap: 40px; }
  body.redesign .hero-headline         { font-size: clamp(40px, 9vw, 56px); }
  body.redesign .hero-cta-row          { gap: 12px; }
  body.redesign .hero-eyebrow-row      { font-size: 11px; gap: 12px; flex-wrap: wrap; }

  /* Homepage body responsive */
  body.redesign .trusted-row           { grid-template-columns: 1fr; gap: 20px; }
  body.redesign .steps                 { grid-template-columns: 1fr 1fr; }
  body.redesign .step                  { border-right: 0; border-bottom: 1px solid var(--rule); padding-right: 0; padding-left: 0 !important; }
  body.redesign .step:nth-child(odd)   { border-right: 1px solid var(--rule); padding-right: 16px; }
  body.redesign .step:nth-child(even)  { padding-left: 16px !important; }
  body.redesign .cap.feature,
  body.redesign .cap.side,
  body.redesign .cap.third             { grid-column: span 12; min-height: auto; }
  body.redesign .more-grid             { grid-template-columns: repeat(2, 1fr); }
  body.redesign .quotes                { grid-template-columns: 1fr; }
  body.redesign .cmp-row               { grid-template-columns: 1.2fr 1fr; padding: 18px 20px; }
  body.redesign .cmp-row > div:nth-child(2) { display: none; }
  body.redesign .pricing-cards-grid,
  body.redesign .pricing-grid          { grid-template-columns: 1fr; }

  /* Lead magnet + Policy Finder + Pricing mobile */
  body.redesign .lead-magnet-card      { grid-template-columns: 1fr; padding: 32px 24px; gap: 32px; }
  body.redesign .finder-controls       { grid-template-columns: 1fr; }
  body.redesign .finder-head           { display: none; }
  body.redesign .finder-table tbody tr { grid-template-columns: 1fr; gap: 4px; padding: 16px 20px; }
  body.redesign .finder-table td       { padding: 4px 0 !important; }
  body.redesign .finder-foot           { flex-direction: column; align-items: stretch; }
  body.redesign .price-grid            { grid-template-columns: 1fr; }
  body.redesign .featured-packs-grid   { grid-template-columns: 1fr; }
  body.redesign .featured-packs-head   { flex-direction: column; align-items: flex-start; gap: 8px; }
}
@media (max-width: 600px) {
  body.redesign .more-grid             { grid-template-columns: 1fr; }
}
