:root {
  --ink: #102331;
  --navy: #1e6091;
  --navy-dark: #184e77;
  --teal: #168aad;
  --teal-2: #34a0a4;
  --mint: #ecfdf6;
  --green: #76c893;
  --green-soft: #99d98c;
  --paper: #fbfefd;
  --mist: #f3faf8;
  --muted: #5f6e7b;
  --line: rgba(16, 35, 49, 0.12);
  --gold: #d8aa3d;
  --shadow: 0 26px 80px rgba(24, 78, 119, 0.16);
  --radius: 8px;
  --hero-photo: url("assets/visual-erp-assessment-daylight.webp");
  --planning-photo: url("assets/visual-erp-stabilization-warroom.webp");
  --finance-photo: url("assets/visual-reporting-close-dashboard.webp");
  --systems-photo: url("assets/visual-bc-orbit-validation-lab.webp");
  --workshop-photo: url("assets/visual-process-requirements-map.webp");
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: white;
  background: var(--navy);
  border-radius: 50%;
  box-shadow: inset 0 0 0 8px rgba(236, 253, 246, 0.26);
  font-size: 13px;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.6vw, 30px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.nav-dropdown {
  position: relative;
}

.nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  color: inherit;
  font: inherit;
  font-weight: inherit;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.nav-trigger::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.nav-menu {
  position: absolute;
  top: 100%;
  left: -18px;
  z-index: 25;
  display: grid;
  min-width: 220px;
  padding: 10px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.nav-menu a {
  padding: 10px 12px;
  border-radius: 6px;
  white-space: nowrap;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  color: var(--navy);
  background: var(--mint);
}

.nav-dropdown:hover .nav-menu,
.nav-dropdown:focus-within .nav-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav a {
  white-space: nowrap;
}

.nav a:hover {
  color: var(--navy);
}

.nav-trigger:hover,
.nav-trigger:focus-visible {
  color: var(--navy);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1.1;
}

/* Consistency pass: the same primary and secondary buttons as styles.css */
.button.primary,
.button-primary {
  color: #12364f;
  background: var(--green);
  border-color: var(--green);
  box-shadow: none;
}

.button.primary:hover,
.button.primary:focus-visible,
.button-primary:hover,
.button-primary:focus-visible {
  color: #fff;
  background: #0a7480;
  border-color: #0a7480;
}

.button.secondary,
.button-secondary {
  color: white;
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
}

.button.secondary:hover,
.button.secondary:focus-visible,
.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.18);
}

/* Secondary outline on light sections */
.button.dark,
.light .button.secondary {
  color: #12364f;
  border-color: #1e6091;
  background: transparent;
}

.button.dark:hover,
.button.dark:focus-visible,
.light .button.secondary:hover,
.light .button.secondary:focus-visible {
  background: rgba(30, 96, 145, 0.08);
}

.section {
  position: relative;
  overflow: hidden;
}

.section-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 0; /* vertical rhythm comes from .section in styles.css (--section-pad) */
  position: relative;
  z-index: 1;
}

.hero {
  color: white;
  background: var(--navy-dark);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(9, 35, 58, 0.96) 0%, rgba(9, 35, 58, 0.76) 48%, rgba(9, 35, 58, 0.42) 100%), var(--hero-photo);
  background-position: center;
  background-size: cover;
}

.hero .section-inner {
  min-height: min(640px, calc(100vh - 160px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--navy-dark);
  background: rgba(236, 253, 246, 0.94);
  font-size: 14px;
  font-weight: 900;
}

.hero .eyebrow {
  color: #12364f;
  background: #ecfdf6;
  box-shadow: 0 10px 28px rgba(7, 22, 34, 0.2);
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  max-width: 820px;
  margin-top: 22px;
  color: white;
  font-size: clamp(46px, 6.4vw, 82px);
  line-height: 0.96;
}

h2 {
  max-width: 780px;
  color: var(--ink);
  font-size: clamp(32px, 4.2vw, 56px);
  line-height: 1.02;
}

h3 {
  font-size: clamp(21px, 2vw, 28px);
  line-height: 1.12;
}

.lead {
  max-width: 690px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.52;
}

.lead.dark {
  color: var(--muted);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.signal-panel,
.glass-panel {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
}

.signal {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
}

.signal span,
.number {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--green-soft);
  border-radius: 50%;
  font-weight: 900;
}

.signal strong {
  display: block;
  color: white;
  font-size: 18px;
}

.signal small {
  display: block;
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.4;
}

.split {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(30px, 6vw, 76px);
  align-items: center;
}

.light {
  background: var(--paper);
}

.mint {
  background: var(--mint);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 32px;
}

.section-head .lead {
  max-width: 500px;
  margin: 0;
  font-size: 18px;
}

.list-stack {
  display: grid;
  gap: 14px;
}

.plain-card,
.feature-card,
.article-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 16px 44px rgba(16, 35, 49, 0.06);
}

.plain-card {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  padding: 22px;
}

.plain-card p,
.feature-card p,
.article-card p {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.5;
}

.number.blue {
  color: white;
  background: var(--navy);
}

.number.green {
  background: var(--green);
}

.number.gold {
  background: var(--gold);
}

.feature-grid,
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  min-height: 330px;
  display: grid;
  align-content: space-between;
  padding: 24px;
  color: white;
  background: var(--navy-dark);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image: var(--planning-photo);
  background-position: center;
  background-size: cover;
}

.feature-card:nth-child(2) {
  background: #064a5d;
}

.feature-card:nth-child(2)::before {
  background-image: var(--finance-photo);
}

.feature-card:nth-child(3) {
  background: #354622;
}

.feature-card:nth-child(3)::before {
  background-image: var(--systems-photo);
}

.feature-card > * {
  position: relative;
}

.feature-card p {
  color: #fff;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.tag {
  padding: 7px 10px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.feature-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  font-weight: 900;
}

.tailor {
  color: white;
  background: var(--navy-dark);
}

.tailor::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(9, 35, 58, 0.94), rgba(9, 35, 58, 0.58)), var(--systems-photo);
  background-position: center;
  background-size: cover;
}

.tailor h2 {
  color: white;
}

.tailor-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(30px, 6vw, 76px);
  align-items: center;
}

.tailor-steps {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
}

.tailor-step {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: start;
  padding: 15px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
}

.tailor-step h3 {
  color: white;
  font-size: 20px;
}

.tailor-step p {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.45;
}

.results-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(320px, 1.04fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.visual {
  min-height: 520px;
  border-radius: var(--radius);
  background-image: linear-gradient(0deg, rgba(24, 78, 119, 0.14), rgba(24, 78, 119, 0.14)), var(--finance-photo);
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.visual-card {
  position: absolute;
  right: 24px;
  bottom: 24px;
  width: min(340px, calc(100% - 48px));
  padding: 20px;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(24, 78, 119, 0.82);
  backdrop-filter: blur(12px);
}

.visual-card strong {
  display: block;
  font-size: 30px;
}

.visual-card span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.45;
}

.results-layout .proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
  background: transparent;
}

.results-layout .proof-card {
  min-height: auto;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 16px 44px rgba(16, 35, 49, 0.06);
}

.results-layout .proof-card strong {
  display: block;
  color: var(--navy-dark);
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(20px, 1.8vw, 28px);
  font-weight: 900;
  line-height: 1.1;
}

.results-layout .proof-card span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.44;
}

.guide-band {
  background: white;
}

.guide-band-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.55fr);
  gap: 28px;
  align-items: center;
}

.guide-offer {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--mint);
  box-shadow: 0 16px 44px rgba(16, 35, 49, 0.06);
}

.guide-offer strong {
  display: block;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.15;
}

.guide-offer p {
  margin: 12px 0 20px;
  color: var(--muted);
  line-height: 1.5;
}

.article-card {
  display: grid;
  align-content: space-between;
  min-height: 300px;
  padding: 24px;
  overflow: hidden;
}

.article-card .card-media {
  width: calc(100% + 48px);
  height: 190px;
  margin: -24px -24px 22px;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--navy-dark);
  font-size: 13px;
  font-weight: 900;
}

.article-card a {
  margin-top: 24px;
  color: var(--navy);
  font-weight: 900;
}

.cta {
  color: white;
  background: var(--navy-dark);
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(9, 35, 58, 0.92), rgba(9, 35, 58, 0.6)), var(--planning-photo);
  background-position: center;
  background-size: cover;
}

.cta h2 {
  color: white;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 38px;
}

.phase {
  min-height: 170px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(14px);
}

.phase h3 {
  margin-top: 18px;
  color: white;
  font-size: 20px;
}

.phase p {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.45;
}

.page-hero {
  padding: 92px 0 56px;
  background: var(--mint);
}

.page-hero .section-inner {
  padding: 0;
}

.page-hero h1 {
  color: var(--ink);
}

.page-hero .lead {
  color: var(--muted);
}

.blog-hero {
  position: relative;
  display: grid;
  min-height: 430px;
  align-items: end;
  color: white;
  background:
    linear-gradient(90deg, rgba(9, 35, 58, 0.92) 0%, rgba(9, 35, 58, 0.72) 48%, rgba(9, 35, 58, 0.34) 100%),
    url("assets/visual-erp-assessment-daylight.jpg");
  background-position: center;
  background-size: cover;
}

.blog-hero h1 {
  color: white;
}

.blog-hero .lead {
  max-width: 780px;
  color: rgba(255, 255, 255, 0.88);
}

.blog-hero .eyebrow {
  color: var(--navy-dark);
}

.guide-hero {
  color: white;
  background: var(--navy-dark);
}

.guide-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(9, 35, 58, 0.96) 0%, rgba(9, 35, 58, 0.78) 52%, rgba(9, 35, 58, 0.5) 100%), var(--workshop-photo);
  background-position: center;
  background-size: cover;
}

.guide-hero-grid {
  min-height: min(640px, calc(100vh - 160px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 48px;
  align-items: center;
}

.guide-panel {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.guide-panel span {
  color: var(--green);
  font-size: 14px;
  font-weight: 900;
}

.guide-panel h2 {
  margin-top: 16px;
  color: white;
  font-size: clamp(34px, 4vw, 54px);
}

.guide-panel p {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.5;
}

.guide-layout,
.rescue-frame {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1fr);
  gap: 54px;
  align-items: center;
}

.guide-visual {
  min-height: 620px;
  background-image: linear-gradient(180deg, rgba(9, 35, 58, 0.08), rgba(9, 35, 58, 0.46)), var(--workshop-photo);
}

.timeline.compact {
  grid-template-columns: 1fr;
  margin-top: 28px;
}

.rescue-frame .phase {
  min-height: auto;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 34px rgba(16, 35, 49, 0.06);
  backdrop-filter: none;
}

.rescue-frame .phase h3 {
  color: var(--ink);
}

.rescue-frame .phase p {
  color: var(--muted);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) 300px;
  gap: 56px;
  align-items: start;
}

.article-section {
  overflow: visible;
}

.article-section .section-inner {
  padding-top: clamp(24px, 3vw, 40px);
}

.article-body {
  font-size: 19px;
  line-height: 1.72;
}

.article-body p,
.article-body ul,
.article-body ol {
  color: #344650;
  margin: 18px 0 0;
}

.article-body h1 {
  max-width: 900px;
  margin: 8px 0 0;
  color: var(--ink);
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.98;
}

.article-body h2,
.article-body h3 {
  margin-top: 42px;
}

.article-body h2 {
  font-size: clamp(30px, 4vw, 44px);
}

.article-body h3 {
  font-size: 24px;
}

.article-body .article-date {
  margin-top: 18px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 850;
}

.article-hero-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-top: 28px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 48px rgba(16, 35, 49, 0.1);
}

.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.faq-list section {
  padding: 18px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.faq-list h3 {
  margin-top: 0;
}

.faq-list p {
  margin-bottom: 0;
}

.article-body li + li {
  margin-top: 8px;
}

.sidebar {
  position: sticky;
  top: 110px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 16px 44px rgba(16, 35, 49, 0.06);
}

.sidebar p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.45;
}

.sidebar .eyebrow {
  margin-top: 0;
  color: var(--navy-dark);
}

.site-footer {
  padding: 40px clamp(20px, 4vw, 54px);
  color: rgba(255, 255, 255, 0.76);
  background: var(--navy-dark);
}

.footer-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.footer-inner strong {
  color: white;
}

@media (max-width: 940px) {
  .nav {
    width: 100%;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .nav a,
  .nav-trigger {
    white-space: nowrap;
  }

  .nav-dropdown {
    display: inline-flex;
    align-items: center;
  }

  .nav-menu {
    position: static;
    display: inline-flex;
    min-width: 0;
    padding: 0;
    gap: 14px;
    color: inherit;
    background: transparent;
    border: 0;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .nav-menu a {
    padding: 0;
  }

  .hero .section-inner,
  .split,
  .tailor-grid,
  .results-layout,
  .guide-hero-grid,
  .guide-band-inner,
  .guide-layout,
  .rescue-frame,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .article-grid,
  .timeline,
  .proof-grid {
    grid-template-columns: 1fr;
  }

  .section-head {
    display: block;
  }

  .section-head .lead {
    margin-top: 16px;
  }

  .signal-panel,
  .tailor-steps {
    max-width: 560px;
  }

  .visual {
    min-height: 420px;
  }

  .sidebar {
    position: static;
  }
}

@media (max-width: 560px) {
  .brand span:last-child {
    display: none;
  }

  .section-inner {
    width: min(100% - 32px, 680px);
    padding: 0;
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 32px;
  }

  .button-row,
  .footer-inner {
    align-items: stretch;
    flex-direction: column;
  }

  .button-row .button {
    width: 100%;
  }

  .plain-card,
  .tailor-step {
    grid-template-columns: 1fr;
  }
}

.feature-footer a {
  color: inherit;
}

@media (min-width: 1101px) {
  .feature-grid.four-up {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) and (min-width: 721px) {
  .feature-grid.four-up {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Every page uses the standard navy header from styles.css. The hero
   rules below still apply only to pages marked body.chrome-standard. */
.site-header,
.chrome-standard .page-hero,
.chrome-standard .site-footer {
  --navy-dark: #12364f;
  --ink: #162631;
  --muted: #657686;
  --line: #d9e7eb;
}

.site-header {
  position: fixed;
  z-index: 15;
  gap: 0;
  padding: 18px clamp(20px, 4vw, 64px);
  color: #fff;
  font-weight: 400;
  border-bottom: 0;
  backdrop-filter: none;
  background: #0e2a3d;
  box-shadow: 0 12px 32px rgba(12, 32, 45, 0.2);
}

.brand {
  color: #fff;
  font-weight: 400;
}

.brand img {
  width: 166px;
}

.site-header .nav-toggle {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}

.chrome-standard .page-hero {
  padding: 142px 0 72px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(18, 54, 79, 0.98), rgba(22, 138, 173, 0.86)),
    #12364f;
}

.chrome-standard .page-hero .section-inner {
  position: static;
  width: min(1160px, calc(100% - 40px));
}

.chrome-standard .page-hero h1 {
  max-width: 900px;
  margin-top: 0;
  color: #fff;
  font-family: Urbanist, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(2.55rem, 4.8vw, 4.8rem);
  font-weight: 850;
  line-height: 1.02;
}

.chrome-standard .page-hero .eyebrow {
  display: block;
  max-width: none;
  padding: 0;
  margin: 0 0 14px;
  border-radius: 0;
  color: #bff4e4;
  background: transparent;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.chrome-standard .page-hero p:not(.eyebrow) {
  line-height: 1.6;
}

/* Pages without a hero band clear the fixed header (A-14 token rule) */
.site-header {
  min-height: var(--header-h);
}

/* Home and guide: the header is fixed now, so clear it */
body:not(.chrome-standard) > main {
  padding-top: var(--header-h);
}

.chrome-standard .article-section {
  padding-top: 0;
}

.article-body > .eyebrow {
  margin-top: 0;
}

.chrome-standard .article-section .section-inner {
  padding-top: calc(var(--header-h) + clamp(24px, 3vw, 40px));
}

@media (max-width: 1180px) {
  .site-header {
    flex-wrap: nowrap;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 14px 18px;
  }

  .brand img {
    width: 140px;
  }

  .chrome-standard .page-hero .section-inner {
    width: min(100% - 32px, 1160px);
  }
}

/* Same narrow-phone header as styles.css */
@media (max-width: 360px) {
  .site-header {
    padding-inline: 14px;
  }

  .brand img {
    width: 112px;
  }
}

/* Home page design plan (PR 16, H items) */
.article-meta span {
  color: #0a7480;
}

.section {
  scroll-margin-top: 100px;
}

@media (min-width: 1181px) {
  .nav > a {
    padding: 11px 0;
  }
}

.feature-footer a,
.article-card > a,
.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.site-header .nav-toggle {
  width: 44px;
  height: 44px;
}

.button:focus-visible,
.nav a:focus-visible,
.nav-trigger:focus-visible,
.nav-toggle:focus-visible,
.brand:focus-visible,
.feature-footer a:focus-visible,
.article-card a:focus-visible,
.footer-links a:focus-visible,
.footer-logo:focus-visible,
.footer-contact a:focus-visible,
.visual-card a:focus-visible,
.section-head a:focus-visible {
  outline: 3px solid #184e77;
  outline-offset: 2px;
  box-shadow: 0 0 0 6px #fff;
}

.section-head h2 {
  font-size: clamp(32px, 3.4vw, 48px);
  text-wrap: balance;
}

.article-card h3 {
  text-wrap: balance;
}

.hero.section,
.hero .section-inner {
  min-height: 0;
}

.hero .section-inner {
  grid-template-columns: minmax(0, 760px);
}

.visual {
  background-color: var(--navy);
}

/* Below-fold photos load when their section nears the viewport (flat tint until then) */
.photo-deferred {
  --planning-photo: none;
  --finance-photo: none;
  --systems-photo: none;
}

.visual-card a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 6px;
  color: #fff;
  font-weight: 900;
}

.cta-note {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.82);
}

.section-head .all-articles {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 8px;
  color: var(--navy);
  font-weight: 900;
}

@media (max-width: 560px) {
  .hero.section {
    padding-top: 24px;
  }

  .hero h1 {
    margin-top: 10px;
  }

  .hero .button-row {
    margin-top: 20px;
  }
}

@media (max-height: 520px) {
  .hero.section {
    padding-top: 16px;
  }

  .hero h1 {
    font-size: clamp(32px, 8vw, 40px);
    margin-top: 10px;
  }
}

/* Home design amendment (PR 16 comment 6435946283): F-32 phone hero overlay, F-36 skip link */
@media (max-width: 760px), (max-height: 520px) {
  .hero::before {
    background-image: linear-gradient(180deg, rgba(9, 35, 58, 0.94) 0%, rgba(9, 35, 58, 0.88) 70%, rgba(9, 35, 58, 0.74) 100%), var(--hero-photo);
  }

  .hero .lead {
    color: #fff;
  }
}

.skip-link {
  z-index: 1000;
}

main:focus {
  outline: none;
}

/* Final pages review, page 16 (Home) */
@media (max-width: 480px) {
  .results-layout .proof-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .results-layout .visual {
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 160px 16px 16px;
  }

  .results-layout .visual-card {
    position: static;
    width: auto;
  }
}

@media (max-width: 940px) {
  .results-layout .visual {
    order: 2;
  }
}

body.page-home main h2,
body.page-home .feature-card h3,
body.page-home .plain-card h3,
body.page-home .results-layout .proof-card strong,
body.page-home .visual-card strong,
body.page-home .guide-offer strong,
body.page-home .button,
body.page-home .footer-links a {
  text-wrap: balance;
}

body.page-home .hero .lead {
  text-wrap: pretty;
}

#warning-signs h2,
#results h2,
#erp-guide h2,
#risk-check h2 {
  font-size: clamp(32px, 3.4vw, 48px);
}

/* Final pages review, page 20 (guide) */
@media (max-width: 560px) {
  .guide-hero.section {
    padding-top: 24px;
  }

  .guide-hero h1 {
    margin-top: 10px;
  }

  .guide-hero .button-row {
    margin-top: 20px;
  }
}

@media (max-height: 520px) {
  .guide-hero.section {
    padding-top: 16px;
  }

  .guide-hero h1 {
    font-size: clamp(32px, 8vw, 40px);
    margin-top: 10px;
  }
}

.guide-hero .lead {
  text-wrap: pretty;
}

@media (max-width: 760px), (max-height: 520px) {
  .guide-hero::before {
    background-image: linear-gradient(180deg, rgba(9, 35, 58, 0.94) 0%, rgba(9, 35, 58, 0.88) 70%, rgba(9, 35, 58, 0.74) 100%), var(--workshop-photo);
  }

  .guide-hero .lead {
    color: #fff;
  }
}

.guide-panel {
  background: rgba(9, 35, 58, 0.72);
}

.guide-panel p {
  color: #fff;
}

.guide-layout h2,
.rescue-frame h2,
#request-guide h2 {
  font-size: clamp(32px, 3.4vw, 48px);
  text-wrap: balance;
}

.guide-panel h2,
.guide-layout .plain-card h3 {
  text-wrap: balance;
}

@media (max-width: 940px) {
  .rescue-frame .guide-visual {
    display: none;
  }
}

/* Final pages review, pages 22 to 27 (articles) */
.article-body h1 {
  font-size: clamp(28px, 9.2vw, 54px);
  text-wrap: balance;
}

.article-body h2 {
  font-size: clamp(26px, 7vw, 44px);
}

.article-body h2,
.article-body h3,
.sidebar h3 {
  text-wrap: balance;
}

.article-body p {
  text-wrap: pretty;
}

.article-date span {
  white-space: nowrap;
}

.article-hero-image {
  height: auto;
}

.sidebar .button {
  text-align: center;
  line-height: 1.2;
}

/* Final pages review, page 21 (Blog) */
.chrome-standard .page-hero p:not(.eyebrow) {
  color: #fff;
  text-wrap: pretty;
}

.chrome-standard .page-hero h1 {
  font-size: clamp(1.9rem, 4.4vw, 4.2rem);
  text-wrap: balance;
}

.chrome-standard .page-hero {
  padding-bottom: 32px;
}

.chrome-standard .page-hero + .section {
  padding-top: 32px;
}

@media (max-width: 760px) {
  .chrome-standard .page-hero {
    padding-top: 100px;
  }
}

.article-card > a:focus-visible {
  outline: 3px solid #184e77;
  outline-offset: 2px;
  box-shadow: 0 0 0 6px #fff;
}

.article-card h2 {
  font-size: clamp(1.45rem, 1.95vw, 1.75rem);
  text-wrap: balance;
}

.article-card p {
  text-wrap: pretty;
}

.chrome-standard .guide-band h2 {
  font-size: clamp(32px, 3.4vw, 48px);
  text-wrap: balance;
}

.chrome-standard .guide-offer strong {
  text-wrap: balance;
}

.chrome-standard .guide-offer .button {
  text-align: center;
  line-height: 1.2;
}

/* Inline article links in body copy (link-value audit) */
.inline-link {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: #0a7480;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.inline-link:hover,
.inline-link:focus-visible {
  color: #0a7480;
}

.warning-signs-more {
  margin-top: 18px;
}

#early-warning-signs {
  scroll-margin-top: 104px;
}

/* Guide page: embedded HubSpot "Get the Guide" form */
.guide-form-hubspot {
  position: relative;
  max-width: 680px;
  min-height: 420px;
  margin-top: 28px;
  padding: 24px;
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
}

.guide-form-hubspot .hs-form-frame {
  width: 100%;
}

.guide-form-hubspot noscript a {
  color: #0a7480;
  text-decoration: underline;
}

@media (max-width: 420px) {
  .guide-form-hubspot {
    padding: 16px;
  }
}
