/* 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; }
}


/* V2 production enforcement — deliberately loaded AFTER site.css. */
html body.visual-review-approved .hero::after {
  content: none !important;
  display: none !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
}
html body.visual-review-approved .hero h1 {
  color: #146C43 !important;
}
html body.visual-review-approved .hero {
  background-image: none !important;
}
