:root {
  --ink: #0B1F33;
  --green: #146C43;
  --mint: #DDF5E8;
  --cloud: #F7FAF8;
  --slate: #455568;
  --white: #FFFFFF;
  --line: #D7E1DC;
  --max: 1180px;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 55px rgba(11,31,51,.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "IBM Plex Sans", "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: .6rem;
  z-index: 1000;
  padding: .7rem 1rem;
  background: var(--ink);
  color: var(--white);
  border-radius: 999px;
  transform: translateY(-200%);
}
.skip-link:focus { transform: translateY(0); }

.container { width: min(calc(100% - 2.5rem), var(--max)); margin-inline: auto; }
.section { padding: 5.5rem 0; }
.section--soft { background: var(--cloud); }
.section--ink { background: var(--ink); color: var(--white); }
.section--mint { background: var(--mint); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: .79rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green);
}
.eyebrow::before { content: ""; width: 1.7rem; height: 2px; background: currentColor; }
.section--ink .eyebrow { color: #86D8AD; }

h1, h2, h3 { line-height: 1.08; letter-spacing: -.035em; margin: 0; }
h1 { font-size: clamp(2.7rem, 6vw, 5.7rem); max-width: 1000px; }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); max-width: 900px; }
h3 { font-size: clamp(1.2rem, 2vw, 1.55rem); }
p { margin: 0; }
.lede { margin-top: 1.7rem; max-width: 810px; font-size: clamp(1.08rem, 1.8vw, 1.32rem); color: var(--slate); }
.section--ink .lede { color: #D7E4ED; }
.prose { max-width: 790px; color: var(--slate); font-size: 1.06rem; }
.section--ink .prose { color: #D7E4ED; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid rgba(215,225,220,.9);
  backdrop-filter: blur(16px);
}
.header-row {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.brand-link { display: inline-flex; align-items: center; text-decoration: none; min-width: 260px; line-height: 0; }
.brand-lockup { display: inline-flex; align-items: center; direction: ltr; }
/* IMP-017 governed sizing: full >=768px, compact 360–767px, mark <360px. */
.brand-art { display: none; width: clamp(260px, 28vw, 390px); height: auto; }
.brand-assets-loaded .brand-art { display: block; }
.brand-assets-loaded .brand-fallback { display: none; }
.brand-fallback { display: grid; line-height: 1; }
.brand-name { font-weight: 700; font-size: 1.35rem; letter-spacing: -.035em; }
.brand-signature { margin-top: .28rem; font-size: .69rem; color: var(--slate); letter-spacing: .07em; }

.nav { margin-left: auto; display: flex; align-items: center; gap: .25rem; }
.nav a { text-decoration: none; font-weight: 600; font-size: .91rem; padding: .65rem .67rem; border-radius: 999px; }
.nav a:hover { background: var(--cloud); }
.nav a[aria-current="page"] { color: var(--green); background: var(--mint); }
.nav-cta { background: var(--green)!important; color: var(--white)!important; margin-left: .4rem; padding-inline: 1rem!important; }
.nav-cta:hover { filter: brightness(.94); }
.menu-button { display: none; margin-left: auto; background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: .6rem .8rem; color: var(--ink); }

.hero { padding: 7.5rem 0 5.5rem; overflow: hidden; position: relative; }
.hero::after {
  content: "";
  position: absolute;
  width: 560px;
  height: 560px;
  right: -250px;
  top: 30px;
  border: 1px solid var(--line);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(221,245,232,.36), 0 0 0 140px rgba(247,250,248,.9);
  z-index: -1;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem 1.2rem; align-items: center; margin-top: 2rem; }
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: .76rem 1.15rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
}
.button--primary { background: var(--green); color: var(--white); }
.button--primary:hover { filter: brightness(.94); }
.button--secondary { border-color: var(--line); background: var(--white); color: var(--ink); }
.button--secondary:hover { border-color: var(--green); color: var(--green); }
.text-link { font-weight: 700; color: var(--green); text-underline-offset: .2em; }
.hero-proof { margin-top: 2.4rem; color: var(--slate); font-weight: 600; font-size: .95rem; letter-spacing: .02em; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; margin-top: 2.6rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.3rem; margin-top: 2.6rem; }
.card { border: 1px solid var(--line); background: var(--white); border-radius: var(--radius-md); padding: 1.65rem; }
.card--soft { background: var(--cloud); }
.card--mint { background: var(--mint); border-color: transparent; }
.card-label { display: block; color: var(--green); font-weight: 700; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: .75rem; }
.card p { margin-top: .75rem; color: var(--slate); }
.card .text-link { display: inline-block; margin-top: 1.15rem; }

.flow { display: grid; gap: .85rem; margin-top: 2.5rem; counter-reset: flow; }
.flow-item { display: grid; grid-template-columns: 64px 1fr; align-items: start; gap: 1rem; border-top: 1px solid var(--line); padding-top: 1.15rem; }
.flow-item::before { counter-increment: flow; content: counter(flow, decimal-leading-zero); color: var(--green); font-weight: 700; letter-spacing: .08em; }
.flow-item p { margin-top: .35rem; color: var(--slate); }

.checklist { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: .65rem; }
.checklist li { position: relative; padding-left: 1.7rem; color: var(--slate); }
.checklist li::before { content: ""; position: absolute; left: 0; top: .62em; width: .62rem; height: .62rem; border-radius: 2px; border: 2px solid var(--green); }
.checklist--x li::before { border-radius: 50%; background: transparent; border-color: #82909E; }

.split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr); gap: 4rem; align-items: start; }
.signal-box { padding: 2rem; border-radius: var(--radius-lg); background: var(--ink); color: var(--white); box-shadow: var(--shadow); }
.signal-box strong { display: block; font-size: 1.12rem; }
.signal-box p { margin-top: .55rem; color: #D7E4ED; }
.signal-box .rule { margin: 1.4rem 0; height: 1px; background: rgba(255,255,255,.18); }

.system-strip { margin-top: 2.6rem; display: grid; grid-template-columns: repeat(6, 1fr); border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; background: var(--white); }
.system-strip div { min-height: 128px; padding: 1.25rem; border-right: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; }
.system-strip div:last-child { border-right: 0; }
.system-strip span { color: var(--green); font-size: .78rem; font-weight: 700; }
.system-strip strong { line-height: 1.18; font-size: .96rem; }

.faq { margin-top: 2.6rem; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 1rem 0; }
.faq summary { cursor: pointer; font-size: 1.04rem; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--green); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--slate); max-width: 830px; padding: .8rem 2.2rem .25rem 0; }

.cta-panel { border-radius: var(--radius-lg); padding: clamp(2rem, 6vw, 4.4rem); background: var(--ink); color: var(--white); }
.cta-panel p { color: #D7E4ED; max-width: 760px; margin-top: 1rem; font-size: 1.1rem; }
.cta-panel .hero-actions { margin-top: 1.6rem; }
.cta-panel .button--secondary { background: transparent; color: var(--white); border-color: rgba(255,255,255,.35); }

.site-footer { background: var(--cloud); border-top: 1px solid var(--line); padding: 3.6rem 0 2.4rem; }
.footer-grid { display: grid; grid-template-columns: 1.35fr repeat(4, 1fr); gap: 2rem; }
.footer-brand p { margin-top: .85rem; max-width: 320px; color: var(--slate); font-size: .92rem; }
.footer-col strong { display: block; margin-bottom: .7rem; font-size: .86rem; text-transform: uppercase; letter-spacing: .08em; }
.footer-col a { display: block; text-decoration: none; color: var(--slate); margin: .38rem 0; font-size: .92rem; }
.footer-col a:hover { color: var(--green); }
.footer-bottom { margin-top: 2.6rem; padding-top: 1.2rem; border-top: 1px solid var(--line); color: var(--slate); font-size: .83rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

.notice { margin-top: 1.2rem; padding: .9rem 1rem; border-left: 3px solid var(--green); background: var(--mint); color: var(--ink); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: .92rem; }

@media (max-width: 1000px) {
  .nav { display: none; position: absolute; top: calc(100% + 1px); left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--line); padding: .8rem 1.25rem 1.25rem; flex-direction: column; align-items: stretch; }
  .nav.is-open { display: flex; }
  .nav a { padding: .75rem .8rem; }
  .nav-cta { margin-left: 0; margin-top: .3rem; text-align: center; }
  .menu-button { display: inline-flex; }
  .grid-3 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 2.4rem; }
  .system-strip { grid-template-columns: repeat(3, 1fr); }
  .system-strip div:nth-child(3) { border-right: 0; }
  .system-strip div:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

@media (max-width: 700px) {
  .container { width: min(calc(100% - 1.5rem), var(--max)); }
  .header-row { min-height: 70px; }
  .brand-link { min-width: 155px; }
  .brand-signature { display: none; }
  .hero { padding: 5rem 0 4rem; }
  .hero::after { width: 380px; height: 380px; right: -260px; }
  .section { padding: 4.2rem 0; }
  .grid-2 { grid-template-columns: 1fr; }
  .system-strip { grid-template-columns: 1fr 1fr; }
  .system-strip div { border-bottom: 1px solid var(--line); }
  .system-strip div:nth-child(2n) { border-right: 0; }
  .system-strip div:nth-last-child(-n+2) { border-bottom: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 380px) {
  .brand-fallback .brand-name { font-size: 1.15rem; }
  .brand-link { min-width: auto; }
  .system-strip { grid-template-columns: 1fr; }
  .system-strip div { border-right: 0; border-bottom: 1px solid var(--line)!important; }
  .system-strip div:last-child { border-bottom: 0!important; }
  .footer-grid { grid-template-columns: 1fr; }
}

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


/* Batch 2 components */
.hero--compact { padding-bottom: 4.8rem; }
.transfer-grid .card { min-height: 240px; }
.failure-stack { display: grid; gap: 1rem; }
.failure-stack article { display: grid; grid-template-columns: 52px 1fr; gap: 1rem; padding: 1rem 0; border-top: 1px solid rgba(255,255,255,.18); }
.failure-stack article:first-child { border-top: 0; }
.failure-stack span { color: #86D8AD; font-weight: 700; letter-spacing: .08em; }
.failure-stack strong { display:block; font-size:1.05rem; }
.failure-stack p { margin-top:.3rem; color:#D7E4ED; }
.system-strip--7 { grid-template-columns: repeat(7, 1fr); }
.language-panel { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius-lg); padding: 1.7rem; }
.language-panel > div:not(.language-divider) { padding: .35rem 0; }
.language-panel strong { display:block; margin-top:.7rem; font-size:1.08rem; }
.language-panel p { color:#D7E4ED; margin-top:.35rem; }
.language-divider { height:1px; background:rgba(255,255,255,.18); margin:1.35rem 0; }
.lang-tag { display:inline-flex; min-width:38px; justify-content:center; border:1px solid rgba(255,255,255,.28); border-radius:999px; padding:.25rem .55rem; font-size:.72rem; font-weight:700; letter-spacing:.08em; }
.rtl-sample { font-family: "IBM Plex Sans Arabic", "Segoe UI", Arial, sans-serif; text-align:right; }
.rtl-diagram { min-height: 240px; border-radius: var(--radius-lg); background: var(--cloud); border: 1px solid var(--line); padding:2rem; display:flex; flex-direction:column; align-items:flex-end; justify-content:center; gap:.7rem; }
.rtl-line { height:14px; background:var(--mint); border-right:4px solid var(--green); border-radius:3px 0 0 3px; }
.rtl-line.long { width:90%; }.rtl-line.medium { width:72%; }.rtl-line.short { width:52%; }
.rtl-diagram span { margin-top:1rem; color:var(--slate); font-size:.85rem; text-align:right; }
.principle-grid { display:grid; grid-template-columns:repeat(3, 1fr); gap:1px; background:var(--line); border:1px solid var(--line); border-radius:var(--radius-md); overflow:hidden; margin-top:2.6rem; }
.principle-grid article { background:var(--white); padding:1.55rem; min-height:200px; }
.principle-grid span { color:var(--green); font-size:.78rem; font-weight:700; }
.principle-grid h3 { margin-top:1.8rem; }
.principle-grid p { margin-top:.6rem; color:var(--slate); }
.tool-cloud { display:flex; flex-wrap:wrap; gap:.65rem; align-content:flex-start; }
.tool-cloud span { display:inline-flex; border:1px solid rgba(20,108,67,.18); background:var(--white); border-radius:999px; padding:.65rem .9rem; font-weight:700; color:var(--ink); }
.signal-box--light { background:rgba(255,255,255,.08); box-shadow:none; border:1px solid rgba(255,255,255,.16); }
@media (max-width:1000px){ .system-strip--7 { grid-template-columns:repeat(4,1fr); } .system-strip--7 div:nth-child(3){border-right:1px solid var(--line);} .system-strip--7 div:nth-child(4){border-right:0;} .system-strip--7 div:nth-child(-n+4){border-bottom:1px solid var(--line);} .principle-grid{grid-template-columns:repeat(2,1fr);} }
@media (max-width:700px){ .system-strip--7{grid-template-columns:1fr 1fr;} .system-strip--7 div:nth-child(4){border-right:0;} .system-strip--7 div:nth-child(odd){border-right:1px solid var(--line);} .system-strip--7 div:nth-child(even){border-right:0;} .system-strip--7 div{border-bottom:1px solid var(--line)!important;} .system-strip--7 div:last-child{border-bottom:0!important;} .principle-grid{grid-template-columns:1fr;} }
@media (max-width:380px){ .system-strip--7{grid-template-columns:1fr;} .system-strip--7 div{border-right:0!important;} }

/* Batch 3 components */
.form-shell { border: 1px solid var(--line); background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.form-shell__head { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; padding: 1rem 1.15rem; border-bottom: 1px solid var(--line); background: var(--white); }
.form-shell__head strong { font-size: 1rem; }
.form-shell__head span { color: var(--slate); font-size: .8rem; }
.form-frame { display: block; width: 100%; min-height: 760px; border: 0; background: var(--cloud); }
.form-fallback { padding: 1rem 1.15rem 1.25rem; border-top: 1px solid var(--line); }
.form-fallback p { color: var(--slate); font-size: .9rem; margin-bottom: .8rem; }
.form-note { margin-top: 1.4rem; }
.flow--dark .flow-item { border-top-color: rgba(255,255,255,.16); }
.flow--dark .flow-item::before { color: #86D8AD; }
.flow--dark .flow-item p { color: #D7E4ED; }
.notice--dark { background: rgba(255,255,255,.08); color: #D7E4ED; border-left-color: #86D8AD; }
.fit-grid h2 { font-size: clamp(1.5rem, 2.5vw, 2.3rem); }
.topic-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; margin-top: 2.6rem; }
.article-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem; margin-top: 2.6rem; }
.article-card { position: relative; display: flex; min-height: 260px; flex-direction: column; padding: 1.55rem; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); }
.article-card h3 { margin-top: 1.2rem; }
.article-card p { margin-top: .75rem; color: var(--slate); }
.topic-chip { align-self: flex-start; display: inline-flex; padding: .35rem .55rem; border-radius: 999px; background: var(--mint); color: var(--green); font-weight: 700; font-size: .72rem; letter-spacing: .04em; }
.article-status { margin-top: auto; padding-top: 1.4rem; color: var(--slate); font-size: .82rem; font-weight: 600; }
.insight-queue { margin: 0; padding-left: 1.3rem; color: var(--slate); display: grid; gap: .75rem; }
@media (max-width: 1000px) { .topic-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) { .topic-grid, .article-grid { grid-template-columns: 1fr; } .form-frame { min-height: 840px; } .form-shell__head { align-items: flex-start; flex-direction: column; gap: .15rem; } }

/* Batch 4 — legal, 404 and release controls */
:focus-visible { outline: 3px solid var(--green); outline-offset: 4px; }
.legal-status { margin-top: 2rem; max-width: 860px; padding: 1rem 1.1rem; border-radius: var(--radius-sm); display: grid; gap: .25rem; }
.legal-status--blocked { border: 1px solid #D6B86A; background: #FFF8E6; color: var(--ink); }
.legal-status span { color: var(--slate); font-size: .92rem; }
.legal-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 3.5rem; align-items: start; }
.legal-copy { max-width: 820px; }
.legal-copy h2 { font-size: clamp(1.55rem, 2.6vw, 2.25rem); margin-top: 2.5rem; }
.legal-copy h2:first-child { margin-top: 0; }
.legal-copy h3 { margin-top: 1.7rem; font-size: 1.18rem; }
.legal-copy p { margin-top: .75rem; color: var(--slate); }
.legal-list { margin: 1rem 0 0; padding-left: 1.25rem; color: var(--slate); display: grid; gap: .5rem; }
.legal-aside { position: sticky; top: 108px; padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); }
.legal-aside > strong { display: block; font-size: 1rem; }
.legal-aside > p { margin-top: .85rem; }
.fact-list { margin: 1rem 0 0; display: grid; gap: 0; }
.fact-list div { display: grid; grid-template-columns: 1fr; gap: .15rem; padding: .75rem 0; border-top: 1px solid var(--line); }
.fact-list dt { color: var(--slate); font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.fact-list dd { margin: 0; font-weight: 600; }
.error-hero h1 { max-width: 900px; }
.error-card-title { font-size: clamp(1.35rem, 2vw, 1.8rem); }
@media (max-width: 900px) { .legal-layout { grid-template-columns: 1fr; gap: 2rem; } .legal-aside { position: static; } }


/* IMP-017 exact responsive logo controls — inserted from governed production package. */
@media (min-width: 360px) and (max-width: 767px) {
  .brand-link { min-width: 180px; }
  .brand-art { width: clamp(180px, 52vw, 260px); height: auto; }
}
@media (max-width: 359px) {
  .brand-link { min-width: 32px; }
  .brand-art { width: 32px; height: 32px; }
}

/* LEADSLEAN PRODUCTION VISUAL RECONCILIATION — 2026-08-31
   Reconciles the approved full-site visual review into the current v5 production baseline.
   Presentation only; routes, metadata, canonicals, claims and governed brand assets remain unchanged. */

/* Global rhythm and hero hierarchy */
body.visual-review-approved main > .section {
  position: relative;
  padding-top: 50px;
  padding-bottom: 50px;
  border-top: 1px solid rgba(11,31,51,.055);
}
body.visual-review-approved .hero {
  padding-top: 66px;
  padding-bottom: 48px;
  background: #FFFFFF;
}
body.visual-review-approved .hero::after { display: none !important; }
body.visual-review-approved .hero > .container {
  width: min(1500px, calc(100% - 72px));
  max-width: none;
}
body.visual-review-approved .hero h1 {
  color: #146C43;
  max-width: none;
  width: 100%;
  font-size: clamp(3.25rem, 5.5vw, 6rem);
  line-height: 1.01;
  letter-spacing: -.048em;
  text-wrap: balance;
}
body.visual-review-approved .hero .lede {
  color: #0B1F33;
  max-width: 1080px;
  width: 100%;
  margin-top: 22px;
  font-size: clamp(1.05rem, 1.45vw, 1.22rem);
}
body.visual-review-approved .hero-proof {
  max-width: none;
  width: 100%;
  text-align: center;
  color: #0B1F33;
}
body.visual-review-approved .nav-cta { white-space: nowrap; }

/* Reviewed section palette: white / Cloud / subtle ink tint / soft mint. */
body.visual-review-approved .section--soft { background: #F7F9F8; }
body.visual-review-approved .section--mint { background: #F3FAF6; }
body.visual-review-approved .section--ink {
  background: #F1F5F7;
  color: #0B1F33;
}
body.visual-review-approved .section--ink .eyebrow { color: #146C43; }
body.visual-review-approved .section--ink .lede,
body.visual-review-approved .section--ink .prose,
body.visual-review-approved .section--ink .flow-item p,
body.visual-review-approved .section--ink .failure-stack p,
body.visual-review-approved .section--ink .language-panel p { color: #455568; }
body.visual-review-approved .section--ink .flow-item { border-top-color: rgba(11,31,51,.12); }
body.visual-review-approved .section--ink .flow-item::before,
body.visual-review-approved .section--ink .failure-stack span { color: #146C43; }
body.visual-review-approved .section--ink .failure-stack article { border-top-color: rgba(11,31,51,.12); }
body.visual-review-approved .section--ink .language-panel,
body.visual-review-approved .section--ink .signal-box--light {
  background: rgba(255,255,255,.72);
  border-color: rgba(11,31,51,.10);
  color: #0B1F33;
}
body.visual-review-approved .section--ink .language-divider { background: rgba(11,31,51,.12); }
body.visual-review-approved .section--ink .lang-tag { border-color: rgba(20,108,67,.28); color: #146C43; }
body.visual-review-approved .section--ink .notice--dark {
  background: #DDF5E8;
  color: #0B1F33;
  border-left-color: #146C43;
}

/* Section-level Lean Green rails; conservative legal/error pages stay unrailed. */
body.visual-review-approved:not(.page-legal):not(.page-error) main > .section > .container {
  position: relative;
  padding-left: 34px;
}
body.visual-review-approved:not(.page-legal):not(.page-error) main > .section > .container::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  bottom: 3px;
  width: 3px;
  border-radius: 999px;
  background: #146C43;
  opacity: .78;
}

/* Open hero: the section rail never appears in the hero. */
body.visual-review-approved .hero > .container { padding-left: 0; }
body.visual-review-approved .hero > .container::before { display: none !important; }

/* Two-column rhythm and reviewed cards. */
body.visual-review-approved .grid-2,
body.visual-review-approved .article-grid { gap: 18px; margin-top: 26px; }
body.visual-review-approved .grid-3,
body.visual-review-approved .topic-grid { gap: 18px; margin-top: 26px; }
body.visual-review-approved .card,
body.visual-review-approved .article-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(11,31,51,.08);
  border-radius: 18px;
  background: rgba(255,255,255,.88);
  box-shadow: none;
  padding: 26px 28px 29px 33px;
}
body.visual-review-approved .card::after,
body.visual-review-approved .article-card::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 58%;
  height: 58%;
  border-left: 4px solid #146C43;
  border-bottom: 4px solid #146C43;
  border-bottom-left-radius: 26px;
  pointer-events: none;
}
body.visual-review-approved .card > *,
body.visual-review-approved .article-card > * { position: relative; z-index: 1; }
body.visual-review-approved .card--mint { background: #F3FAF6; }
body.visual-review-approved .card--soft { background: #F9FBFA; }

/* Reviewed Build / Repair / Diagnose composition. */
body.page-home .grid-3,
body.page-sprint .grid-3 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
}
body.page-home .grid-3 > :nth-child(3),
body.page-sprint .grid-3 > :nth-child(3) { grid-column: 1 / -1; }

/* Convert long 6/7-column strips into readable decision blocks. */
body.visual-review-approved .system-strip,
body.visual-review-approved .system-strip--7 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 12px;
  border: 0;
  border-radius: 0;
  overflow: visible;
  background: transparent;
  margin-top: 26px;
}
body.visual-review-approved .system-strip div,
body.visual-review-approved .system-strip--7 div {
  min-height: 78px;
  position: relative;
  display: grid;
  grid-template-columns: 46px minmax(0,1fr);
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid rgba(11,31,51,.09) !important;
  border-radius: 14px;
  background: rgba(255,255,255,.82);
}
body.visual-review-approved .system-strip div span,
body.visual-review-approved .system-strip--7 div span {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 46px;
  color: #146C43;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
}
body.visual-review-approved .system-strip div strong,
body.visual-review-approved .system-strip--7 div strong { font-size: 1rem; }

/* Timelines / operating-flow alignment. */
body.visual-review-approved .flow {
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 12px;
  margin-top: 26px;
}
body.visual-review-approved .flow-item {
  min-height: 104px;
  grid-template-columns: 48px minmax(0,1fr);
  align-items: center;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(11,31,51,.10);
  border-radius: 14px;
  background: rgba(255,255,255,.78);
}
body.visual-review-approved .flow-item::before {
  display: flex;
  align-items: center;
  height: 100%;
  color: #146C43;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
}

/* Split blocks stay two-column but become less boxed and more deliberate. */
body.visual-review-approved .split { gap: 30px; }
body.visual-review-approved .signal-box {
  box-shadow: none;
  border-radius: 18px;
}

/* Final CTA remains the deliberate high-contrast Midnight Ink moment. */
body.visual-review-approved .cta-panel {
  background: #0B1F33;
  color: #FFFFFF;
  box-shadow: none;
}
body.visual-review-approved .cta-panel h2 { color: #FFFFFF; }
body.visual-review-approved .cta-panel p { color: #D7E4ED; }
body.visual-review-approved .cta-panel .eyebrow { color: #86D8AD; }
body.visual-review-approved .cta-panel .button--primary {
  background: #146C43;
  color: #FFFFFF;
  border-color: #146C43;
}
body.visual-review-approved .cta-panel .button--secondary {
  background: transparent;
  color: #FFFFFF;
  border-color: rgba(255,255,255,.72);
}

/* Home hero actions were centered in the accepted review direction. */
body.page-home .hero .hero-actions {
  width: 100%;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
}
body.page-home .hero .hero-proof { margin-top: 22px; }

/* Fit Check: production uses the working governed direct form route, not a broken iframe. */
body.page-fit .form-shell--direct {
  box-shadow: none;
  background: #FFFFFF;
}
body.page-fit .fit-direct-card {
  padding: clamp(2rem, 4vw, 3.2rem);
  background: #F3FAF6;
}
body.page-fit .fit-direct-card h3 {
  color: #0B1F33;
  font-size: clamp(1.5rem, 2.7vw, 2.25rem);
}
body.page-fit .fit-direct-card p {
  margin-top: .85rem;
  color: #455568;
  max-width: 36rem;
}
body.page-fit .fit-direct-card .button { margin-top: 1.4rem; }

/* Legal pages remain conservative and scan-first. */
body.page-legal .hero h1 { font-size: clamp(2.8rem, 4.8vw, 4.9rem); }
body.page-legal main > .section { padding-top: 46px; padding-bottom: 58px; }
body.page-legal .legal-aside { box-shadow: none; }

@media (max-width: 1100px) {
  body.visual-review-approved .hero > .container { width: min(100% - 48px, 1120px); }
  body.visual-review-approved .hero h1 { font-size: clamp(3rem, 7vw, 5.2rem); }
}
@media (max-width: 1000px) {
  body.visual-review-approved .grid-3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  body.visual-review-approved .topic-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 900px) {
  body.visual-review-approved .hero > .container { width: min(100% - 40px, 1120px); }
  body.visual-review-approved .flow { grid-template-columns: 1fr; }
  body.visual-review-approved .system-strip,
  body.visual-review-approved .system-strip--7 { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  body.visual-review-approved .hero > .container { width: min(100% - 28px, 1120px); }
  body.visual-review-approved .hero h1 {
    font-size: clamp(2.45rem, 12vw, 3.7rem);
    text-wrap: pretty;
  }
  body.visual-review-approved main > .section { padding-top: 38px; padding-bottom: 38px; }
  body.visual-review-approved:not(.page-legal):not(.page-error) main > .section > .container { padding-left: 0; }
  body.visual-review-approved:not(.page-legal):not(.page-error) main > .section > .container::before { display: none; }
  body.visual-review-approved .grid-2,
  body.visual-review-approved .grid-3,
  body.visual-review-approved .topic-grid,
  body.visual-review-approved .article-grid { grid-template-columns: 1fr; }
  body.page-home .grid-3 > :nth-child(3),
  body.page-sprint .grid-3 > :nth-child(3) { grid-column: auto; }
  body.visual-review-approved .card,
  body.visual-review-approved .article-card { padding: 22px 22px 25px 27px; }
  body.visual-review-approved .card::after,
  body.visual-review-approved .article-card::after {
    border-left-width: 3px;
    border-bottom-width: 3px;
    border-bottom-left-radius: 22px;
  }
  body.page-home .hero .hero-actions { flex-direction: column; align-items: stretch; }
  body.page-home .hero .hero-proof { text-align: center; font-size: .92rem; line-height: 1.55; }
}

