:root {
  --ink: #132520;
  --ink-soft: #40544d;
  --green-950: #0a2f28;
  --green-900: #103d34;
  --green-800: #155847;
  --green-700: #23715b;
  --mint-100: #dceee7;
  --mint-50: #edf7f3;
  --paper: #f7f5ef;
  --white: #fff;
  --coral: #ed6a50;
  --coral-dark: #c44e38;
  --yellow: #e8b44e;
  --line: #ced9d3;
  --shadow: 0 24px 60px rgba(8, 37, 31, 0.16);
  --shell: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
}

body.menu-open { overflow: hidden; }

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

button, input, select { font: inherit; }

button, a { -webkit-tap-highlight-color: transparent; }

img { max-width: 100%; display: block; }

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

h1, h2, h3 {
  font-family: "Manrope", sans-serif;
  letter-spacing: 0;
  line-height: 1.1;
}

h1 { font-size: clamp(2.8rem, 6vw, 5.8rem); }
h2 { font-size: clamp(2rem, 4vw, 3.8rem); }
h3 { font-size: 1.2rem; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -100px;
  z-index: 1000;
  background: var(--white);
  color: var(--green-900);
  padding: 10px 14px;
  border-radius: 4px;
}

.skip-link:focus { top: 16px; }

.section-shell { width: var(--shell); margin-inline: auto; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: rgba(10, 47, 40, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--white);
  backdrop-filter: blur(14px);
}

.nav-shell {
  width: var(--shell);
  height: 72px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 36px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 116px;
}

.brand-logo {
  width: auto;
  height: 42px;
  object-fit: contain;
}

.main-nav { display: flex; justify-content: center; gap: 28px; }

.main-nav a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 160ms ease;
}

.main-nav a:hover, .main-nav a:focus-visible { color: var(--white); }
.main-nav a[aria-current="page"] { color: var(--white); border-bottom: 2px solid var(--coral); }

.menu-toggle { display: none; }

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 5px;
  padding: 0 20px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover { transform: translateY(-2px); }
.button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

.button-small { min-height: 40px; padding: 0 15px; font-size: 0.87rem; background: var(--white); color: var(--green-900); }
.button-primary { background: var(--coral); color: var(--white); }
.button-primary:hover { background: var(--coral-dark); }
.button-coral { background: var(--coral); color: var(--white); }
.button-coral:hover { background: var(--coral-dark); }

.hero {
  min-height: min(860px, 94vh);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background: var(--green-950);
  color: var(--white);
  padding: 150px 0 76px;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background-color: var(--green-900);
  background-image: url("./assets/serket-caf-hero.webp");
  background-position: center right;
  background-size: cover;
}

.hero-shade { position: absolute; inset: 0; background: rgba(5, 34, 28, 0.76); }

.hero-content { position: relative; z-index: 2; }

.eyebrow {
  margin-bottom: 28px;
  color: #a8d8c8;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero h1 { max-width: 960px; margin-bottom: 28px; }

.hero-copy { max-width: 700px; color: rgba(255, 255, 255, 0.82); font-size: 1.18rem; line-height: 1.65; }

.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 34px; }

.text-link { display: inline-flex; align-items: center; gap: 10px; color: var(--green-800); font-weight: 700; }
.text-link span { font-size: 1.35em; transition: transform 160ms ease; }
.text-link:hover span { transform: translateX(4px); }
.text-link-light { color: var(--white); }

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 54px;
}

.hero-proof span {
  padding: 7px 11px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 4px;
  color: rgba(255,255,255,.74);
  font-size: .78rem;
  text-transform: uppercase;
}

.context-band { padding: 104px 0; background: var(--mint-100); }

.context-layout { display: grid; grid-template-columns: 1.2fr .8fr; gap: 90px; align-items: end; }

.section-number {
  margin-bottom: 18px;
  color: var(--coral-dark);
  font-size: .75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.section-intro h2 { max-width: 760px; margin-bottom: 0; }

.context-lead { margin-bottom: 4px; color: var(--ink-soft); font-size: 1.08rem; }

.context-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 70px; border-top: 1px solid #a9c3b8; }

.context-item { padding: 30px 34px 0 0; }
.context-item + .context-item { border-left: 1px solid #a9c3b8; padding-left: 34px; }
.context-index { color: var(--coral-dark); font-weight: 800; }
.context-item h3 { margin: 22px 0 12px; }
.context-item p { margin-bottom: 0; color: var(--ink-soft); }

.journey { padding: 112px 0; background: var(--paper); }

.section-heading { display: grid; grid-template-columns: 1.35fr .65fr; gap: 80px; align-items: end; margin-bottom: 66px; }
.section-heading h2 { max-width: 760px; margin-bottom: 0; }
.section-heading > p { color: var(--ink-soft); margin-bottom: 6px; }

.journey-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); }
.journey-list li { min-height: 222px; padding: 24px 24px 20px 0; position: relative; border-bottom: 1px solid var(--line); }
.journey-list li + li { border-left: 1px solid var(--line); padding-left: 24px; }
.journey-list li:not(:last-child)::after { content: "→"; position: absolute; right: -13px; top: 22px; z-index: 2; width: 26px; height: 26px; display: grid; place-items: center; background: var(--paper); color: var(--coral-dark); }
.journey-step { color: var(--coral-dark); font-size: .78rem; font-weight: 800; }
.journey-list h3 { margin: 62px 0 10px; }
.journey-list p { color: var(--ink-soft); font-size: .92rem; }

.product-section { padding: 118px 0; background: var(--white); }
.product-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; align-items: center; }
.product-copy h2 { margin-bottom: 26px; }
.product-copy > p:not(.section-number):not(.fine-print) { color: var(--ink-soft); font-size: 1.05rem; }

.feature-list { margin: 30px 0 34px; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.feature-list li { position: relative; padding: 13px 0 13px 26px; border-bottom: 1px solid var(--line); }
.feature-list li::before { content: ""; position: absolute; left: 2px; top: 22px; width: 8px; height: 8px; background: var(--coral); border-radius: 50%; }

.product-surface {
  border-radius: 8px;
  background: var(--green-950);
  color: var(--white);
  box-shadow: var(--shadow);
  padding: 26px;
  overflow: hidden;
}

.surface-topline, .risk-titlebar { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.surface-topline { padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,.16); }
.status-tag { padding: 5px 9px; border: 1px solid #70a994; color: #a8d8c8; border-radius: 4px; font-size: .75rem; }
.metric-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin: 18px 0 28px; }
.metric-row div { background: rgba(255,255,255,.07); padding: 22px 17px; }
.metric-row strong { display: block; font: 800 1.8rem/1.2 "Manrope", sans-serif; }
.metric-row span { color: rgba(255,255,255,.58); font-size: .75rem; }
.table-head, .table-row { display: grid; grid-template-columns: 1.5fr .5fr .8fr; gap: 16px; align-items: center; }
.table-head { padding: 0 12px 10px; color: rgba(255,255,255,.48); font-size: .68rem; text-transform: uppercase; }
.table-row { min-height: 62px; padding: 0 12px; border-top: 1px solid rgba(255,255,255,.12); font-size: .86rem; }
.pill { justify-self: start; padding: 4px 7px; border-radius: 3px; font-size: .7rem; }
.pill-good { background: #2e7059; color: #c5f2df; }
.pill-warn { background: #704d33; color: #ffd6b4; }
.pill-neutral { background: #314943; color: #d4dfdb; }
.surface-foot { display: flex; justify-content: space-between; align-items: center; padding-top: 26px; color: rgba(255,255,255,.5); font-size: .72rem; }
.mini-bars { height: 30px; display: flex; gap: 5px; align-items: end; }
.mini-bars i { display: block; width: 8px; background: var(--coral); }
.mini-bars i:nth-child(1) { height: 35%; }.mini-bars i:nth-child(2) { height: 60%; }.mini-bars i:nth-child(3) { height: 45%; }.mini-bars i:nth-child(4) { height: 80%; }.mini-bars i:nth-child(5) { height: 67%; }.mini-bars i:nth-child(6) { height: 96%; }

.risk-section { padding: 118px 0; background: var(--green-900); color: var(--white); }
.risk-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 90px; align-items: center; }
.risk-dashboard { border: 1px solid rgba(255,255,255,.19); border-radius: 8px; padding: 26px; background: #0b322b; box-shadow: 0 26px 70px rgba(0,0,0,.25); }
.risk-titlebar strong { display: block; margin-top: 3px; }
.dashboard-label { color: #8fb9aa; font-size: .72rem; text-transform: uppercase; }
.risk-titlebar > span { border: 1px solid rgba(255,255,255,.2); padding: 5px 10px; border-radius: 4px; font-size: .78rem; }
.chart { height: 240px; position: relative; margin: 30px 0; overflow: hidden; border-bottom: 1px solid rgba(255,255,255,.2); background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px); background-size: 100% 48px; }
.chart-line { position: absolute; left: 0; right: 0; height: 4px; border-radius: 4px; transform-origin: left; }
.line-one { top: 82px; background: var(--coral); clip-path: polygon(0 80%, 14% 58%, 26% 70%, 39% 22%, 54% 50%, 68% 35%, 82% 50%, 100% 5%, 100% 25%, 82% 70%, 68% 55%, 54% 70%, 39% 42%, 26% 90%, 14% 78%, 0 100%); height: 110px; }
.line-two { top: 115px; background: #80c8ad; clip-path: polygon(0 70%, 14% 75%, 26% 40%, 39% 62%, 54% 25%, 68% 45%, 82% 18%, 100% 36%, 100% 52%, 82% 34%, 68% 61%, 54% 41%, 39% 78%, 26% 56%, 14% 91%, 0 86%); height: 90px; opacity: .9; }
.chart-months { position: absolute; inset: auto 0 8px; display: flex; justify-content: space-between; color: rgba(255,255,255,.4); font-size: .64rem; }
.risk-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.risk-cards > div { min-height: 78px; padding: 14px; background: rgba(255,255,255,.06); display: grid; grid-template-columns: auto 1fr; column-gap: 9px; align-items: center; }
.risk-cards strong { font-size: .8rem; }
.risk-cards small { grid-column: 2; color: rgba(255,255,255,.48); font-size: .68rem; }
.risk-dot { width: 8px; height: 8px; border-radius: 50%; }
.coral { background: var(--coral); }.red { background: #d44848; }.yellow { background: var(--yellow); }.gray { background: #90a49c; }
.section-number-light { color: #ffac98; }
.risk-copy > p:not(.section-number):not(.fine-print) { color: rgba(255,255,255,.7); }
.source-flow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 30px 0 20px; }
.source-flow span, .source-flow strong { padding: 8px 10px; border: 1px solid rgba(255,255,255,.2); border-radius: 4px; font-size: .78rem; }
.source-flow strong { background: var(--coral); border-color: var(--coral); }
.fine-print { color: rgba(255,255,255,.48); font-size: .8rem; }

.audience-section { padding: 112px 0; background: var(--paper); }
.compact-heading { grid-template-columns: 1fr; margin-bottom: 56px; }
.audience-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.audience-grid article { min-height: 270px; padding: 28px 28px 20px 0; }
.audience-grid article + article { border-left: 1px solid var(--line); padding-left: 28px; }
.audience-role { color: var(--coral-dark); font-size: .72rem; font-weight: 800; text-transform: uppercase; }
.audience-grid h3 { margin: 70px 0 12px; }
.audience-grid p { color: var(--ink-soft); font-size: .9rem; }

.demo-section { padding: 112px 0; background: #172f3a; color: var(--white); }
.demo-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; align-items: start; }
.demo-copy h2 { margin-bottom: 24px; }
.demo-copy > p:not(.section-number) { color: rgba(255,255,255,.68); font-size: 1.03rem; }
.demo-notes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.demo-notes span { border: 1px solid rgba(255,255,255,.2); padding: 6px 9px; border-radius: 4px; color: rgba(255,255,255,.68); font-size: .75rem; }
.demo-form { padding: 32px; background: var(--white); border-radius: 8px; color: var(--ink); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.demo-form label > span { display: block; margin-bottom: 7px; font-size: .82rem; font-weight: 700; }
.form-full { grid-column: 1 / -1; }
.demo-form input:not([type="checkbox"]), .demo-form select { width: 100%; height: 48px; border: 1px solid #b6c5bf; border-radius: 4px; background: #fbfcfb; color: var(--ink); padding: 0 12px; }
.demo-form input[aria-invalid="true"], .demo-form select[aria-invalid="true"] { border-color: var(--coral-dark); }
.consent-row { display: flex; align-items: flex-start; gap: 9px; margin: 22px 0; }
.consent-row input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--green-800); }
.consent-row span { margin: 0 !important; color: var(--ink-soft); font-weight: 500 !important; }
.form-submit { width: 100%; }
.form-status { min-height: 24px; margin: 14px 0 0; color: var(--green-800); font-size: .82rem; text-align: center; }

.site-footer { padding: 48px 0; background: #0d211d; color: var(--white); }
.footer-layout { display: grid; grid-template-columns: 1fr auto auto; gap: 60px; align-items: end; }
.brand-footer { margin-bottom: 13px; }
.brand-footer .brand-logo { height: 50px; }
.footer-layout p { margin-bottom: 0; color: rgba(255,255,255,.48); font-size: .82rem; }
.footer-links { display: grid; grid-template-columns: repeat(2, auto); gap: 7px 26px; font-size: .82rem; color: rgba(255,255,255,.68); }
.footer-note { white-space: nowrap; }

.inner-hero {
  padding: 154px 0 92px;
  color: var(--white);
}

.inner-hero-green { background: var(--green-900); }
.inner-hero-blue { background: #172f3a; }
.inner-hero-coral { background: #713c32; }

.inner-hero-layout {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 90px;
  align-items: end;
}

.breadcrumb {
  display: flex;
  gap: 10px;
  margin-bottom: 46px;
  color: rgba(255,255,255,.6);
  font-size: .8rem;
}

.breadcrumb a { color: var(--white); }
.inner-hero h1 { max-width: 820px; margin-bottom: 28px; font-size: clamp(2.8rem, 5.4vw, 5.3rem); }
.inner-hero-copy { max-width: 700px; margin-bottom: 32px; color: rgba(255,255,255,.76); font-size: 1.08rem; }

.hero-data-panel {
  border-top: 1px solid rgba(255,255,255,.32);
  border-bottom: 1px solid rgba(255,255,255,.32);
}

.data-panel-label {
  display: block;
  padding: 14px 0;
  color: rgba(255,255,255,.55);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.hero-data-panel > div {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
  align-items: center;
  min-height: 66px;
  border-top: 1px solid rgba(255,255,255,.18);
}

.hero-data-panel strong { color: #ffaf9b; font: 800 1.1rem/1 "Manrope", sans-serif; }
.hero-data-panel span { color: rgba(255,255,255,.8); font-size: .88rem; }
.risk-panel strong { color: #82ceb2; }
.governance-panel strong { color: #ffd0c5; }

.module-section { padding: 112px 0; background: var(--paper); }
.module-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.module-grid article { min-height: 270px; padding: 28px 28px 26px 0; border-bottom: 1px solid var(--line); }
.module-grid article:not(:nth-child(3n+1)) { border-left: 1px solid var(--line); padding-left: 28px; }
.module-code { color: var(--coral-dark); font-size: .75rem; font-weight: 800; }
.module-grid h3 { margin: 70px 0 12px; }
.module-grid p { color: var(--ink-soft); font-size: .92rem; }

.process-band { padding: 112px 0; background: var(--green-900); color: var(--white); }
.process-band h2 { max-width: 780px; }
.process-list { margin: 64px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid rgba(255,255,255,.22); }
.process-list li { min-height: 240px; padding: 26px 24px 20px 0; }
.process-list li + li { border-left: 1px solid rgba(255,255,255,.22); padding-left: 24px; }
.process-list > li > span { color: #ffaf9b; font-weight: 800; }
.process-list h3 { margin: 78px 0 10px; }
.process-list p { color: rgba(255,255,255,.62); font-size: .88rem; }

.decision-section { padding: 112px 0; background: var(--white); }
.decision-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; }
.decision-layout h2 { margin-bottom: 0; }
.decision-list article { padding: 24px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: .65fr 1.35fr; gap: 30px; }
.decision-list article:last-child { border-bottom: 1px solid var(--line); }
.decision-list h3, .decision-list p { margin-bottom: 0; }
.decision-list p { color: var(--ink-soft); }

.page-cta { padding: 82px 0; background: #172f3a; color: var(--white); }
.page-cta-layout { display: grid; grid-template-columns: 1fr auto; gap: 60px; align-items: end; }
.page-cta h2 { max-width: 760px; margin-bottom: 0; }

.flow-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.flow-grid article { min-height: 250px; padding: 26px 24px 22px 0; }
.flow-grid article + article { border-left: 1px solid var(--line); padding-left: 24px; }
.flow-grid > article > span { color: var(--coral-dark); font-weight: 800; }
.flow-grid h3 { margin: 74px 0 10px; }
.flow-grid p { color: var(--ink-soft); font-size: .9rem; }

.risk-matrix-section { padding: 112px 0; background: #172f3a; color: var(--white); }
.risk-matrix-section h2 { max-width: 760px; }
.risk-matrix { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: 54px; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.18); }
.risk-matrix article { min-height: 250px; padding: 30px; background: #1d3a46; }
.matrix-tag { display: inline-flex; padding: 5px 8px; border-radius: 3px; font-size: .75rem; font-weight: 700; }
.risk-operational .matrix-tag { background: #704d33; color: #ffd6b4; }
.risk-shortage .matrix-tag { background: #6e3030; color: #ffd0d0; }
.risk-unsat .matrix-tag { background: #675825; color: #ffe8a0; }
.risk-unlinked .matrix-tag { background: #374f59; color: #d8e5e9; }
.risk-matrix p { max-width: 500px; margin: 62px 0 18px; color: rgba(255,255,255,.68); }
.risk-matrix strong { color: var(--white); }
.matrix-note { margin: 22px 0 0; color: rgba(255,255,255,.55); font-size: .82rem; }

.dashboard-section { padding: 112px 0; background: var(--mint-100); }
.dashboard-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; }
.dashboard-layout > div:first-child > p:not(.section-number) { color: var(--ink-soft); }
.dashboard-feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: #aac6ba; border: 1px solid #aac6ba; }
.dashboard-feature-list article { min-height: 230px; padding: 25px; background: var(--mint-50); }
.dashboard-feature-list span { color: var(--coral-dark); font-size: .72rem; font-weight: 800; text-transform: uppercase; }
.dashboard-feature-list h3 { margin: 54px 0 10px; }
.dashboard-feature-list p { color: var(--ink-soft); font-size: .88rem; }

.management-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.management-grid article { min-height: 250px; padding: 28px 34px 24px 0; border-bottom: 1px solid var(--line); }
.management-grid article:nth-child(even) { border-left: 1px solid var(--line); padding-left: 34px; }
.management-grid span { color: var(--coral-dark); font-size: .72rem; font-weight: 800; text-transform: uppercase; }
.management-grid h3 { margin: 62px 0 10px; }
.management-grid p { color: var(--ink-soft); }

.governance-band { padding: 112px 0; background: #713c32; color: var(--white); }
.governance-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; }
.governance-layout > div > p:not(.section-number) { color: rgba(255,255,255,.66); }
.governance-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.24); }
.governance-list li { display: grid; grid-template-columns: 52px 1fr; align-items: center; min-height: 65px; border-bottom: 1px solid rgba(255,255,255,.24); }
.governance-list span { color: #ffd0c5; font-weight: 800; }

.question-list article { display: grid; grid-template-columns: 48px 1fr; gap: 18px; align-items: center; min-height: 88px; border-top: 1px solid var(--line); }
.question-list article:last-child { border-bottom: 1px solid var(--line); }
.question-list span { color: var(--coral-dark); font-weight: 800; }
.question-list p { margin-bottom: 0; font-size: 1.02rem; }

@media (max-width: 960px) {
  :root { --shell: min(calc(100% - 32px), 760px); }
  .main-nav, .header-cta { display: none; }
  .nav-shell { grid-template-columns: 1fr auto; }
  .menu-toggle { display: grid !important; place-items: center; width: 42px; height: 42px; padding: 0; border: 1px solid rgba(255,255,255,.28); border-radius: 4px; background: transparent; color: var(--white); }
  .menu-lines, .menu-lines::before, .menu-lines::after { display: block; width: 18px; height: 2px; background: currentColor; content: ""; transition: transform 160ms ease; }
  .menu-lines { position: relative; }
  .menu-lines::before { position: absolute; top: -6px; }
  .menu-lines::after { position: absolute; top: 6px; }
  .menu-toggle[aria-expanded="true"] .menu-lines { background: transparent; }
  .menu-toggle[aria-expanded="true"] .menu-lines::before { top: 0; transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-lines::after { top: 0; transform: rotate(-45deg); }
  .main-nav.is-open { display: flex; position: fixed; inset: 72px 0 0; background: var(--green-950); flex-direction: column; justify-content: flex-start; align-items: stretch; padding: 32px 24px; gap: 0; }
  .main-nav.is-open a { padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.15); font-size: 1.05rem; }
  .context-layout, .section-heading, .product-grid, .risk-grid, .demo-layout { grid-template-columns: 1fr; gap: 46px; }
  .inner-hero-layout, .decision-layout, .dashboard-layout, .governance-layout { grid-template-columns: 1fr; gap: 54px; }
  .module-grid { grid-template-columns: repeat(2, 1fr); }
  .module-grid article:not(:nth-child(3n+1)) { border-left: 0; padding-left: 0; }
  .module-grid article:nth-child(even) { border-left: 1px solid var(--line); padding-left: 28px; }
  .process-list { grid-template-columns: repeat(2, 1fr); }
  .process-list li + li { border-left: 0; padding-left: 0; }
  .process-list li:nth-child(even) { border-left: 1px solid rgba(255,255,255,.22); padding-left: 24px; }
  .flow-grid { grid-template-columns: repeat(2, 1fr); }
  .flow-grid article + article { border-left: 0; padding-left: 0; }
  .flow-grid article:nth-child(even) { border-left: 1px solid var(--line); padding-left: 24px; }
  .context-grid { grid-template-columns: 1fr; }
  .context-item { padding: 25px 0; border-bottom: 1px solid #a9c3b8; }
  .context-item + .context-item { border-left: 0; padding-left: 0; }
  .journey-list { grid-template-columns: 1fr 1fr; }
  .journey-list li + li { border-left: 0; padding-left: 0; }
  .journey-list li:nth-child(even) { border-left: 1px solid var(--line); padding-left: 24px; }
  .journey-list li::after { display: none !important; }
  .journey-list h3 { margin-top: 42px; }
  .audience-grid { grid-template-columns: repeat(2, 1fr); }
  .audience-grid article:nth-child(3) { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .audience-grid article:nth-child(4) { border-top: 1px solid var(--line); }
  .footer-layout { grid-template-columns: 1fr auto; }
  .footer-note { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  :root { --shell: calc(100% - 28px); }
  h1 { font-size: 2.5rem; overflow-wrap: break-word; }
  h2 { font-size: clamp(1.9rem, 9vw, 2.7rem); }
  .hero { min-height: 790px; padding: 126px 0 46px; }
  .hero h1 { margin-bottom: 22px; }
  .hero-copy { font-size: 1.04rem; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 18px; }
  .button-primary { width: 100%; }
  .hero-proof { margin-top: 34px; }
  .context-band, .journey, .product-section, .risk-section, .audience-section, .demo-section { padding: 78px 0; }
  .inner-hero { padding: 126px 0 72px; }
  .inner-hero h1 { font-size: 2.5rem; overflow-wrap: break-word; }
  .module-section, .process-band, .decision-section, .risk-matrix-section, .dashboard-section, .governance-band { padding: 78px 0; }
  .module-grid, .process-list, .flow-grid, .risk-matrix, .dashboard-feature-list, .management-grid { grid-template-columns: 1fr; }
  .module-grid article, .module-grid article:nth-child(even), .module-grid article:not(:nth-child(3n+1)), .process-list li, .process-list li:nth-child(even), .flow-grid article, .flow-grid article:nth-child(even), .management-grid article, .management-grid article:nth-child(even) { min-height: 210px; padding: 25px 0; border-left: 0; }
  .module-grid h3, .process-list h3, .flow-grid h3, .management-grid h3 { margin-top: 42px; }
  .risk-matrix article { min-height: 220px; padding: 24px 20px; }
  .risk-matrix p { margin-top: 44px; }
  .dashboard-feature-list article { min-height: 210px; }
  .decision-list article { grid-template-columns: 1fr; gap: 8px; }
  .page-cta-layout { grid-template-columns: 1fr; align-items: start; }
  .page-cta .button { width: 100%; }
  .context-grid { margin-top: 44px; }
  .journey-list { grid-template-columns: 1fr; }
  .journey-list li:nth-child(even) { border-left: 0; padding-left: 0; }
  .journey-list li { min-height: 170px; }
  .product-surface, .risk-dashboard { padding: 16px; }
  .metric-row { grid-template-columns: 1fr; }
  .metric-row div { display: flex; justify-content: space-between; align-items: end; }
  .table-head { display: none; }
  .table-row { grid-template-columns: 1fr auto; padding: 12px 4px; }
  .table-row .pill { grid-column: 1 / -1; }
  .chart { height: 205px; }
  .risk-cards { grid-template-columns: 1fr; }
  .audience-grid { grid-template-columns: 1fr; }
  .audience-grid article, .audience-grid article + article, .audience-grid article:nth-child(3), .audience-grid article:nth-child(4) { min-height: 220px; padding: 25px 0; border-left: 0; border-top: 1px solid var(--line); }
  .audience-grid article:first-child { border-top: 0; }
  .audience-grid h3 { margin-top: 42px; }
  .demo-form { padding: 22px 16px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-full { grid-column: auto; }
  .footer-layout { grid-template-columns: 1fr; gap: 28px; }
  .footer-note { grid-column: auto; }
  .footer-links { grid-template-columns: 1fr; }
}

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