:root {
  --paper: #f6faf9;
  --surface: #ffffff;
  --ink: #0f2939;
  --ink-soft: #34515b;
  --teal: #007d73;
  --teal-dark: #00665f;
  --mint: #dff1ed;
  --line: #cbdcd8;
  --dark-text: #f6faf9;
  --dark-muted: #c9ddda;
  --max: 1180px;
  --measure: 70ch;
  --radius: 8px;
  --shadow: 0 20px 50px rgba(15, 41, 57, .10);
  --font: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.62;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: .08em; }
h1, h2, h3, p, li { overflow-wrap: break-word; }
h1, h2, h3 { margin-top: 0; line-height: 1.08; letter-spacing: -.035em; }
h1 { max-width: 14ch; margin-bottom: 24px; font-size: clamp(3.25rem, 5vw, 4rem); font-weight: 800; }
h2 { max-width: 18ch; margin-bottom: 20px; font-size: clamp(2.25rem, 3.5vw, 2.75rem); font-weight: 700; }
h3 { margin-bottom: 10px; font-size: 1.28rem; font-weight: 700; letter-spacing: -.018em; }
p { max-width: var(--measure); margin: 0 0 20px; color: var(--ink-soft); }
ul { padding-left: 1.2em; }
li { margin-bottom: 8px; color: var(--ink-soft); }
:focus-visible { outline: 3px solid #f0b429; outline-offset: 4px; }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 10px;
  padding: 10px 14px;
  background: var(--surface);
  color: var(--ink);
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }

.site-header {
  position: relative;
  z-index: 100;
  min-height: 76px;
  border-bottom: 1px solid var(--line);
  background: rgba(246, 250, 249, .97);
}
.header-inner {
  width: min(var(--max), calc(100% - 48px));
  min-height: 76px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand { display: inline-flex; min-width: 154px; min-height: 44px; align-items: center; margin-right: auto; }
.brand img { width: 154px; height: 43px; }
.primary-nav { display: flex; align-items: center; gap: 25px; }
.primary-nav a, .nav-toggle {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .84rem;
  font-weight: 700;
  text-decoration: none;
}
.primary-nav a:not(.button):hover { text-decoration: underline; }
.nav-toggle { display: none; border: 1px solid var(--line); border-radius: var(--radius); background: transparent; color: var(--ink); }
.nav-toggle .menu-icon, .nav-toggle .menu-icon::after {
  width: 18px;
  height: 2px;
  display: block;
  background: currentColor;
}
.nav-toggle .menu-icon::after { content: ""; transform: translateY(-6px); }

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border: 2px solid var(--teal-dark);
  border-radius: var(--radius);
  background: var(--teal-dark);
  color: #fff;
  font-size: .88rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
}
.button:hover { border-color: var(--ink); background: var(--ink); }
.button-secondary {
  background: transparent;
  color: var(--ink);
}
.button-secondary:hover { color: #fff; }
.text-link { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; font-weight: 700; }
main a:not(.button), .site-footer a {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.text-link::after { content: "→"; margin-left: 8px; }
.action-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 30px; }

.section { padding: 88px 24px; border-bottom: 1px solid var(--line); }
.section-inner { width: min(var(--max), 100%); margin: auto; }
.eyebrow {
  margin-bottom: 12px;
  color: var(--teal-dark);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.lede { max-width: 66ch; color: var(--ink-soft); font-size: 1.12rem; line-height: 1.58; }
.hero { padding-top: 82px; padding-bottom: 76px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.28fr) minmax(300px, .72fr); gap: 72px; align-items: end; }
.hero h1 span { display: block; color: var(--teal-dark); }
.hero-note { padding: 26px; border-left: 4px solid var(--teal); background: var(--surface); box-shadow: var(--shadow); }
.hero-note strong { display: block; margin-bottom: 8px; font-size: 1rem; }
.hero-note p { margin: 0; font-size: .88rem; }

.router { background: var(--surface); }
.router-head { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; margin-bottom: 42px; }
.router-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.route-card { min-width: 0; padding: 28px 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.route-card p { font-size: .9rem; }
.route-card .shape { margin-top: 18px; color: var(--ink); font-size: .78rem; font-weight: 700; }

.accountability { background: var(--ink); color: var(--dark-text); }
.accountability .eyebrow { color: #79d8ce; }
.accountability p, .accountability li { color: var(--dark-muted); }
.accountability-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 76px; }
.principal { padding: 28px; border: 1px solid rgba(255,255,255,.28); }
.principal h3 { color: #fff; font-size: 1.55rem; }
.accountability .text-link { color: #fff; }
.evidence-list { margin: 0; padding: 0; list-style: none; }
.evidence-list li { padding: 16px 0; border-top: 1px solid rgba(255,255,255,.22); }
.evidence-list strong { color: #fff; }

.product { background: var(--mint); }
.product-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 64px; align-items: center; }
.product-proof { margin: 0; padding: 12px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); }
.product-proof img { width: 100%; border: 1px solid #dce6e4; }
.product-proof figcaption { padding: 14px 6px 3px; color: var(--ink-soft); font-size: .76rem; line-height: 1.45; }
.product-proof figcaption strong { color: var(--ink); }

.process { background: var(--surface); }
.process-head { display: grid; grid-template-columns: .75fr 1.25fr; gap: 64px; margin-bottom: 38px; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--ink); }
.process-step { padding: 28px 24px 0 0; }
.step-number { display: block; margin-bottom: 20px; color: var(--teal-dark); font-size: .72rem; font-weight: 800; letter-spacing: .1em; }
.process-step p { font-size: .9rem; }

.handoff { background: var(--ink); color: var(--dark-text); }
.handoff .eyebrow { color: #79d8ce; }
.handoff h2 { max-width: 20ch; }
.handoff p, .handoff li { color: var(--dark-muted); }
.handoff-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 72px; }
.handoff .button { border-color: #b9f3e9; background: #b9f3e9; color: var(--ink); }
.handoff .button:hover { border-color: #fff; background: #fff; }
.handoff .text-link { color: #fff; }
.bring-list { margin: 0; padding-left: 1.2em; }
.boundary { margin-top: 24px; padding: 18px; border: 1px solid rgba(255,255,255,.28); font-size: .84rem; }

/* Homepage: compact editorial rhythm with real product evidence in the first viewport. */
.page-home h2 { font-size: clamp(2.1rem, 3vw, 2.55rem); }
.page-home .section { padding-top: 72px; padding-bottom: 72px; }
.page-home .hero {
  position: relative;
  overflow: hidden;
  padding-top: 54px;
  padding-bottom: 62px;
  background:
    radial-gradient(circle at 92% 14%, rgba(0, 125, 115, .09), transparent 28%),
    linear-gradient(180deg, #f6faf9 0%, #eef7f5 100%);
}
.page-home .hero::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 52%;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(90deg, transparent 49px, rgba(0, 102, 95, .055) 50px);
  background-size: 50px 100%;
  mask-image: linear-gradient(to bottom, #000, transparent 78%);
}
.page-home .hero .section-inner { position: relative; z-index: 1; }
.page-home .hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(500px, 1.18fr);
  gap: 48px;
  align-items: center;
}
.page-home .hero h1 {
  max-width: 13ch;
  margin-bottom: 20px;
  font-size: clamp(2.75rem, 3.6vw, 3.25rem);
  line-height: 1.01;
  letter-spacing: -.045em;
}
.page-home .hero h1 span { display: inline; color: var(--teal-dark); }
.page-home .hero .lede { max-width: 52ch; font-size: 1rem; line-height: 1.55; }
.hero-expectation {
  max-width: 49ch;
  margin: 28px 0 0;
  padding-top: 17px;
  border-top: 1px solid var(--line);
  font-size: .78rem;
  line-height: 1.5;
}
.hero-expectation strong { color: var(--ink); }
.hero-stage { min-width: 0; }
.hero-proof {
  position: relative;
  margin: 0;
  padding: 9px 9px 0;
  border: 1px solid #b8ceca;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 28px 70px rgba(15, 41, 57, .15);
}
.proof-bar {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px;
  border-bottom: 1px solid #dce6e4;
  color: var(--ink-soft);
  font-size: .67rem;
  font-weight: 700;
  letter-spacing: .02em;
}
.proof-bar span:last-child { color: var(--teal-dark); }
.hero-proof img { width: 100%; aspect-ratio: 1.85 / 1; object-fit: cover; object-position: left top; }
.hero-proof figcaption {
  padding: 12px 10px 15px;
  color: var(--ink-soft);
  font-size: .7rem;
  line-height: 1.45;
}
.hero-proof figcaption strong { color: var(--ink); }
.hero-routes {
  position: relative;
  z-index: 2;
  width: calc(100% - 42px);
  margin: -9px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-radius: 0 0 9px 9px;
  background: var(--ink);
  box-shadow: 0 15px 35px rgba(15, 41, 57, .18);
}
.hero-routes a {
  min-width: 0;
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  border-right: 1px solid rgba(255,255,255,.16);
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  text-decoration: none;
}
.hero-routes a:last-child { border-right: 0; }
.hero-routes a:hover { background: rgba(121, 216, 206, .12); text-decoration: underline; }
.hero-routes span { color: #79d8ce; font-size: .62rem; letter-spacing: .08em; }

.page-home .router { background: #fff; }
.page-home .router-head { align-items: end; margin-bottom: 30px; }
.page-home .router-head > p { max-width: 52ch; margin-bottom: 4px; }
.page-home .router-grid {
  grid-template-columns: repeat(2, 1fr);
  border: 0;
  border-top: 1px solid var(--ink);
}
.page-home .route-card {
  min-height: 210px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-content: start;
  column-gap: 26px;
  padding: 26px 34px 28px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
}
.page-home .route-card:nth-child(odd) { margin-right: 34px; border-right: 1px solid var(--line); }
.page-home .route-card h3,
.page-home .route-card p { grid-column: 1; }
.page-home .route-card .text-link { grid-column: 2; grid-row: 1 / span 3; align-self: end; white-space: nowrap; font-size: .82rem; }
.page-home .route-card p { max-width: 40ch; margin-bottom: 9px; }
.page-home .route-card .shape { margin-top: 7px; }

.page-home .accountability { padding-top: 64px; padding-bottom: 64px; }
.page-home .accountability-grid {
  grid-template-columns: 1.05fr .95fr .9fr;
  gap: 44px;
  align-items: start;
}
.accountability-title p:last-child { max-width: 40ch; margin-bottom: 0; }
.page-home .principal { min-height: 100%; padding: 26px; border-color: rgba(255,255,255,.32); }
.principal-role { color: #79d8ce !important; font-size: .7rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.page-home .principal h3 { font-size: 1.35rem; }
.page-home .evidence-list li { display: grid; grid-template-columns: 30px 1fr; padding: 14px 0; font-size: .84rem; line-height: 1.5; }
.page-home .evidence-list li span { grid-row: 1 / span 2; color: #79d8ce; font-size: .65rem; font-weight: 800; letter-spacing: .08em; }

.page-home .product { padding-top: 62px; padding-bottom: 62px; background: var(--mint); }
.page-home .product-grid { grid-template-columns: .95fr 1.05fr; gap: 80px; align-items: start; }
.page-home .product-heading h2 { max-width: 17ch; margin-bottom: 0; }
.product-lede { max-width: 48ch; color: var(--ink); font-size: 1.12rem; line-height: 1.5; }
.product-facts { margin: 28px 0 0; border-top: 1px solid #a9c7c1; }
.product-facts div { display: grid; grid-template-columns: 130px 1fr; gap: 20px; padding: 13px 0; border-bottom: 1px solid #a9c7c1; }
.product-facts dt { color: var(--teal-dark); font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.product-facts dd { margin: 0; color: var(--ink-soft); font-size: .86rem; }

.page-home .process { padding-top: 64px; padding-bottom: 68px; }
.page-home .process-head { align-items: end; margin-bottom: 24px; }
.page-home .process-head > p { margin-bottom: 4px; }
.page-home .process-grid { position: relative; border-top: 1px solid var(--ink); }
.page-home .process-step { position: relative; padding-top: 24px; }
.page-home .process-step::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--teal); }
.page-home .step-number { margin-bottom: 14px; }

.page-home .handoff { padding-top: 64px; padding-bottom: 64px; }
.page-home .handoff-grid { align-items: start; }

.page-hero { padding-top: 72px; padding-bottom: 62px; }
.page-hero h1 { max-width: 16ch; }
.split { display: grid; grid-template-columns: .72fr 1.28fr; gap: 68px; }
.service-list { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-item { padding: 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.service-item p { font-size: .9rem; }
.service-page .section:nth-of-type(even), .standard-page .section:nth-of-type(even) { background: var(--surface); }
.simple-list { margin: 0; padding: 0; list-style: none; }
.simple-list li { padding: 14px 0; border-top: 1px solid var(--line); }
.notice { padding: 20px; border-left: 4px solid var(--teal); background: var(--mint); }

.resource-sheet { width: min(820px, calc(100% - 32px)); margin: 48px auto 80px; padding: 54px; border-top: 6px solid var(--teal); background: var(--surface); box-shadow: var(--shadow); }
.resource-sheet h1 { max-width: 18ch; }
.resource-sheet h2 { margin-top: 38px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 1.7rem; }
.resource-sheet li { min-height: 44px; }

.site-footer { padding: 58px 24px 24px; background: #091f2c; color: var(--dark-text); }
.footer-inner { width: min(var(--max), 100%); margin: auto; }
.footer-top { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; padding-bottom: 38px; }
.footer-top p { color: var(--dark-muted); font-size: .88rem; }
.footer-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-nav h2 { margin-bottom: 10px; color: #79d8ce; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.footer-nav a { min-height: 44px; display: flex; align-items: center; color: #fff; font-size: .8rem; text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; }
.footer-meta { margin: 0; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.2); color: #9db5b5; font-size: .7rem; }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; width: 48px; gap: 10px; }
  .primary-nav { display: none; position: absolute; top: 76px; left: 0; right: 0; padding: 16px 24px 24px; border-bottom: 1px solid var(--line); background: var(--paper); box-shadow: var(--shadow); }
  .nav-open .primary-nav { display: block; }
  .primary-nav a { width: 100%; min-height: 48px; justify-content: flex-start; border-bottom: 1px solid var(--line); }
  .primary-nav .button { margin-top: 12px; justify-content: center; }
  .hero-grid, .router-head, .accountability-grid, .product-grid, .process-head, .handoff-grid, .split, .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .page-home .accountability-grid { grid-template-columns: minmax(0, 1fr); }
  .router-grid, .process-grid { grid-template-columns: repeat(2, 1fr); }
  .service-list { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  h1 { max-width: none; font-size: clamp(2.25rem, 10vw, 2.5rem); }
  h2 { max-width: none; font-size: clamp(1.8rem, 8vw, 2.1rem); }
  .site-header, .header-inner { min-height: 70px; }
  .header-inner { width: calc(100% - 28px); }
  .nav-toggle { width: auto; padding-inline: 12px; }
  .brand, .brand img { width: 146px; }
  .primary-nav { top: 70px; }
  .section { padding: 56px 16px; }
  .hero, .page-hero { padding-top: 44px; padding-bottom: 52px; }
  .hero-grid { gap: 26px; }
  .hero-note { padding: 18px; }
  .lede { font-size: 1rem; }
  .action-row { display: grid; gap: 10px; margin-top: 24px; }
  .button, .text-link { width: 100%; }
  .router-grid, .process-grid { grid-template-columns: 1fr; border-left: 0; }
  .route-card { padding: 22px 4px; border-right: 0; }
  .route-card .desktop-detail, .process-step .desktop-detail { display: none; }
  .principal { padding: 22px; }
  .product-grid { display: flex; flex-direction: column; }
  .product-proof { order: -1; margin: 0 -8px; padding: 7px; }
  .product-proof img { min-height: 250px; object-fit: cover; object-position: left top; }
  .process-step { padding: 24px 0; border-bottom: 1px solid var(--line); }
  .process-step p { margin-bottom: 0; }
  .handoff-grid { gap: 30px; }
  .footer-nav { grid-template-columns: 1fr 1fr; }
  .footer-nav section:nth-child(3) { grid-column: 1 / -1; }
  .resource-sheet { width: 100%; margin: 0; padding: 42px 18px 64px; box-shadow: none; }

  /* Keep the long-form homepage readable without turning mobile into a stacked desktop page. */
  .page-home .section { padding-top: 42px; padding-bottom: 42px; }
  .page-home .hero { padding-top: 36px; padding-bottom: 40px; }
  .page-home p { margin-bottom: 14px; }
  .page-home h1 { margin-bottom: 18px; }
  .page-home h2 { margin-bottom: 14px; }
  .page-home h3 { margin-bottom: 6px; }
  .page-home .hero-grid,
  .page-home .accountability-grid,
  .page-home .product-grid,
  .page-home .process-head { gap: 24px; }
  .page-home .route-card { padding-top: 16px; padding-bottom: 16px; }
  .page-home .principal { padding: 18px; }
  .page-home .evidence-list li { padding: 12px 0; }
  .page-home .product-proof img { min-height: 210px; }
  .page-home .process-step { padding: 18px 0; }
  .page-home .step-number { margin-bottom: 12px; }
  .page-home .handoff-grid { gap: 24px; }
  .page-home .boundary { margin-top: 18px; padding: 14px; }
  .page-home .site-footer { padding-top: 42px; padding-bottom: 16px; }
  .page-home .site-footer .footer-top { gap: 24px; padding-bottom: 26px; }
  .page-home .site-footer .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; }
  .page-home .site-footer .footer-nav > section { min-width: 0; }
  .page-home .site-footer .footer-nav a { min-width: 0; overflow-wrap: anywhere; }
  .page-home .site-footer .footer-nav h2 { font-size: .72rem; letter-spacing: .1em; }
  .page-home .site-footer .footer-nav section:nth-child(3) { grid-column: 1 / -1; }

  .page-home h2 { font-size: clamp(1.8rem, 8vw, 2rem); }
  .page-home .hero::after { display: none; }
  .page-home .hero-grid { display: grid; grid-template-columns: 1fr; gap: 30px; }
  .page-home .hero h1 { max-width: 14ch; font-size: clamp(2.25rem, 9.7vw, 2.4rem); }
  .page-home .hero .action-row { grid-template-columns: 1fr auto; align-items: center; }
  .page-home .hero .text-link { width: auto; padding-inline: 4px; }
  .hero-expectation { margin-top: 18px; padding-top: 13px; }
  .hero-proof { margin-inline: -5px; padding: 6px 6px 0; border-radius: 9px; }
  .proof-bar { min-height: 30px; }
  .hero-proof figcaption { padding: 10px 8px 13px; }
  .hero-routes { width: calc(100% - 12px); grid-template-columns: repeat(2, 1fr); }
  .hero-routes a { min-height: 52px; }
  .hero-routes a:nth-child(2) { border-right: 0; }
  .hero-routes a:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.16); }

  .page-home .router-head { gap: 14px; margin-bottom: 18px; }
  .page-home .route-card,
  .page-home .route-card:nth-child(odd) {
    min-height: 0;
    display: block;
    margin-right: 0;
    padding: 20px 4px;
    border-right: 0;
  }
  .page-home .route-card .text-link { width: auto; margin-top: 5px; white-space: normal; }

  .page-home .accountability-grid { gap: 24px; }
  .page-home .principal { min-height: 0; }
  .page-home .evidence-list li { grid-template-columns: 28px 1fr; }

  .page-home .product-grid { gap: 24px; }
  .product-lede { font-size: 1rem; }
  .product-facts { margin-top: 20px; }
  .product-facts div { grid-template-columns: 96px 1fr; gap: 14px; }

  .page-home .process-step::before { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media print {
  .site-header, .site-footer, .skip-link { display: none; }
  .resource-sheet { width: 100%; margin: 0; padding: 0; border: 0; box-shadow: none; }
}
