:root {
  color-scheme: light;
  --paper: #f6f3eb;
  --surface: #fffcf6;
  --sand: #eee9dd;
  --ink: #242d27;
  --body: #4c544b;
  --muted: #5e655a;
  --line: #d7d1c3;
  --forest: #182a24;
  --cream: #f5f0e4;
  --cobalt: #355cf4;
  --cobalt-dark: #2446cf;
  --display: "Instrument Serif", "Bitstream Charter", Georgia, serif;
  --sans: "Inter", "Segoe UI", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "DejaVu Sans Mono", monospace;
  --gutter: clamp(20px, 5.1vw, 80px);
  --max-width: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.65 var(--sans); }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { line-height: 1.03; text-wrap: balance; }
h1, h2 { font-family: var(--display); font-weight: 400; letter-spacing: -.058em; }
h1 { font-size: clamp(3.45rem, 5.25vw, 4.9rem); }
h2 { font-size: clamp(2.35rem, 4.5vw, 4.15rem); }
h3 { font-size: clamp(1.28rem, 1.7vw, 1.62rem); font-weight: 660; letter-spacing: -.035em; }
p { color: var(--body); }
a { color: inherit; }
button, summary { font: inherit; }
code { font: .9em var(--mono); overflow-wrap: anywhere; }
:focus-visible { outline: 3px solid var(--cobalt-dark); outline-offset: 4px; }
.wrap { width: min(calc(100% - 2 * var(--gutter)), var(--max-width)); margin-inline: auto; }
.section { padding-block: clamp(56px, 8vw, 112px); }
.section-title { margin-top: 10px; }
.section-intro { max-width: 58ch; margin-top: 15px; }
.section-note { font-size: .84rem; color: var(--muted); }
.label {
  color: var(--muted);
  font: 650 .7rem/1.5 var(--mono);
  text-transform: uppercase;
  letter-spacing: .09em;
}
.skip {
  position: absolute; z-index: 10; left: 12px; top: 12px;
  padding: 10px 15px; background: var(--surface); transform: translateY(-150%);
}
.skip:focus { transform: translateY(0); }

.header { --header-outline: #a39d8e; border-bottom: 1px solid var(--line); }
.nav-link, .module-tab, .nav-mobile summary {
  border-radius: 5px;
  box-shadow: inset 0 0 0 1px transparent;
  transition: background-color 400ms ease, box-shadow 400ms ease;
}
.nav-link:is(:hover, :focus-visible),
.module-tab:is(:hover, :focus-visible),
.nav-mobile summary:is(:hover, :focus-visible),
.nav-mobile[open] summary { box-shadow: inset 0 0 0 1px var(--header-outline); }
.header-inner {
  min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 22px;
}
.brand {
  display: inline-flex; align-items: center; gap: 9px; color: var(--ink);
  font-size: 1.28rem; font-weight: 720; letter-spacing: -.06em; line-height: 1; text-decoration: none;
}
.brand-mark { display: block; width: 29px; height: 24px; flex: 0 0 29px; object-fit: contain; }
.nav { display: flex; align-items: center; gap: clamp(4px, calc(3vw - 16px), 26px); }
.nav-link {
  display: inline-flex; align-items: center; min-height: 44px;
  padding-inline: 8px;
  color: var(--body); font-size: .85rem; font-weight: 580; text-decoration: none; white-space: nowrap;
}
.nav-link:is(:hover, :focus-visible) { color: var(--ink); background: var(--sand); }
.header-actions { display: contents; }
.nav-mobile { display: none; }
.contact-note a {
  font-size: 1rem;
}
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: .62rem;
  min-height: 48px; padding: 10px 17px; border: 1px solid transparent; border-radius: 5px;
  font-size: .88rem; font-weight: 660; text-decoration: none; cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease;
}
.button--primary { background: var(--cobalt); color: #fff; }
.button--primary:hover { background: var(--cobalt-dark); }
.button--secondary { border-color: #a39d8e; color: var(--ink); background: transparent; }
.button--secondary:hover { border-color: var(--ink); background: var(--sand); }
.header .button--primary.button--outline { background: transparent; color: var(--ink); border-color: var(--header-outline); }
.header .button--primary.button--outline:hover { background: var(--sand); border-color: var(--ink); }
.arrow {
  display: inline-block; width: .58em; height: .58em; flex: 0 0 .58em;
  border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
}
.arrow--down { transform: rotate(135deg); margin-top: -.2em; }

.hero { padding-block: clamp(42px, 5.5vw, 76px) clamp(36px, 4vw, 57px); }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr);
  align-items: center; gap: clamp(28px, 5vw, 76px);
}
.hero-copy h1, .module-hero-copy h1 { margin: 16px 0 21px; text-wrap: initial; }
.hero-heading-fixed { display: block; }
.hero-rotator {
  display: grid; overflow: hidden; padding-block: .04em .12em; margin-block: .06em -.12em;
  font-style: italic;
}
.hero-phrase { grid-area: 1 / 1; align-self: start; color: var(--stage-ink); opacity: 0; }
.hero-phrase[data-motion="current"] { opacity: 1; }
.hero-phrase[data-motion="entering"] { animation: hero-phrase-enter 580ms cubic-bezier(.3,.7,.25,1) both; }
.hero-phrase[data-motion="leaving"] { animation: hero-phrase-leave 580ms cubic-bezier(.3,.7,.25,1) both; }
@keyframes hero-phrase-enter {
  from { opacity: 0; transform: translateY(-105%); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes hero-phrase-leave {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(105%); }
}
.hero-intro { max-width: 48ch; font-size: clamp(1rem, 1.3vw, 1.175rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

.preview {
  position: relative; display: flex; justify-content: flex-end; align-items: flex-end;
  min-width: 0; min-height: 444px; padding: clamp(12px, 2vw, 24px);
  border: 1px solid #89958a; border-radius: 10px;
  background-position: center; background-size: cover;
}
.preview--home {
  border-color: #485e52;
  background-color: var(--forest);
  background-image: url("moss.webp");
  background-position: left top;
}
.case {
  width: min(100%, 422px); overflow: hidden; border: 1px solid #d1cdc2; border-radius: 7px;
  text-align: left; background: var(--surface); box-shadow: 0 12px 32px #17251f36;
}
.case-top {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 10px;
  padding: 9px 14px; border-bottom: 1px solid #ddd8ca; background: #f1ede3;
  color: var(--body); font: 620 .66rem/1.45 var(--mono);
}
.case-reference { color: var(--ink); }
.case-heading { display: flex; justify-content: space-between; align-items: start; gap: 8px; padding: 14px 14px 12px; }
.case-heading strong { display: block; font-size: 1.06rem; line-height: 1.25; letter-spacing: -.035em; }
.case-heading p { margin-top: 3px; font-size: .73rem; }
.status {
  display: inline-flex; align-items: center; gap: 4px; flex: 0 0 auto; min-height: 23px;
  padding: 2px 7px; border-radius: 4px; font-size: .67rem; font-weight: 690;
}
.status--risk { color: #a32738; background: #fbe7e9; }
.status--assess { color: #263fb0; background: #e7edff; }
.status--respond { color: #804508; background: #f7ebd2; }
.status--remediate { color: #165e50; background: #e2efe8; }
.case-steps { margin: 0; padding: 0 14px 8px; list-style: none; }
.case-step {
  display: grid; grid-template-columns: 25px minmax(0, 1fr) auto; align-items: center; gap: 8px;
  padding: 8px 0; border-top: 1px solid #e4e0d6;
}
.stage-marker {
  display: grid; place-items: center; width: 25px; height: 25px; border-radius: 4px;
  font: 680 .68rem/1 var(--mono);
}
.case-step strong { display: block; font-size: .79rem; line-height: 1.3; }
.case-step p { margin-top: 2px; font-size: .7rem; line-height: 1.4; }
.case-unknown { padding: 8px 14px; border-top: 1px solid #ddd8ca; background: #f1ede3; font-size: .72rem; }
.case-unknown strong { color: var(--ink); }

.module--assess {
  --stage: #355cf4;
  --stage-ink: #2644bd;
  --stage-pale: #edf0fa;
  --stage-photo: url("assess-mountain.webp");
  --stage-position: center 46%;
}
.module--respond {
  --stage: #d97706;
  --stage-ink: #804507;
  --stage-pale: #f8eddc;
  --stage-photo: url("respond-river.webp");
  --stage-position: center 53%;
}
.module--remediate {
  --stage: #0f8a78;
  --stage-ink: #096457;
  --stage-pale: #e4efe8;
  --stage-photo: url("remediate-fern.webp");
  --stage-position: center 48%;
}
.workflow { padding-top: 0; }
.workflow .wrap { padding-top: clamp(28px, 3vw, 40px); border-top: 1px solid var(--line); }
.workflow .section-intro { max-width: 78ch; }
.modules {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch;
  gap: clamp(12px, 1.6vw, 22px); margin-top: clamp(20px, 2.5vw, 34px);
}
.module {
  --art-height: clamp(134px, 13vw, 184px);
  position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column;
  padding: calc(var(--art-height) - 19px) clamp(16px, 2vw, 27px) 19px;
  border: 1px solid var(--line); border-top: 3px solid var(--stage); border-radius: 8px;
  background: var(--surface);
}
.module::before {
  content: ""; position: absolute; z-index: -1; inset: 0 0 auto; height: var(--art-height);
  background-color: var(--stage-pale);
  background-image: linear-gradient(180deg, transparent 45%, var(--surface) 96%), var(--stage-photo);
  background-position: center, var(--stage-position); background-size: cover;
}
.module > .label {
  position: absolute; top: 12px; left: 13px; padding: 3px 7px; border-radius: 3px;
  background: var(--surface); color: var(--stage-ink);
}
.module-title {
  display: flex; align-self: flex-start; align-items: center; gap: 8px;
  padding: 7px 0 5px; margin-bottom: 12px;
}
.module-title h3 {
  font-family: var(--display); font-size: clamp(1.7rem, 2.55vw, 2.45rem);
  font-weight: 400; letter-spacing: -.055em;
}
.module-title .brand-mark { width: 24px; height: 20px; flex-basis: 24px; }
.module p { font-size: .92rem; }
.module .label { font-size: .7rem; }
.handoff {
  display: block; margin-top: auto; padding-top: 16px;
  color: var(--stage-ink); font-size: .8rem; font-weight: 640;
}
.module-link {
  display: inline-flex; align-self: start; align-items: center; gap: 9px; min-height: 44px;
  margin-top: 8px; color: var(--stage-ink); font-size: .88rem; font-weight: 690; text-underline-offset: 4px;
}
.module-link:hover { text-decoration-thickness: 2px; }
.foundation {
  display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 7px 22px;
  margin-top: 22px; padding: 12px 0; border-top: 1px solid var(--line);
}
.foundation p:last-child { font-size: .86rem; }
.packaging { font-size: .8rem; }

.problem { background: var(--sand); }
.problem-grid, .trust-grid, .faq-grid {
  display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  gap: clamp(24px, 7vw, 108px);
}
.problem-grid { align-items: end; }
.problem-grid h2 { max-width: 14ch; }
.problem-grid p { max-width: 59ch; }
.problem-steps {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 30px 0 0; padding: 0; border-block: 1px solid #beb6a5; list-style: none;
}
.problem-steps li {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 11px 12px; color: var(--ink); font-size: .82rem; font-weight: 650;
}
.problem-steps li:first-child { padding-left: 0; }
.problem-steps span { color: #526d60; }

.example { background: var(--forest); color: var(--cream); }
.example-grid {
  display: grid; grid-template-columns: minmax(0, .76fr) minmax(0, 1.24fr);
  gap: clamp(28px, 6vw, 100px); align-items: start;
}
.example p, .example .label { color: #d0dbce; }
.example .section-title { max-width: 13ch; }
.example-advisory { margin-top: 25px; padding-top: 16px; border-top: 1px solid #54645a; }
.example-advisory strong, .timeline-stage p strong, .timeline-stage code { color: var(--cream); }
.timeline { margin: 0; padding: 0; list-style: none; }
.timeline-stage {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px;
  padding: 16px 0 18px; border-top: 1px solid #54645a;
}
.timeline-stage:last-child { border-bottom: 1px solid #54645a; }
.timeline-stage h3 { font-size: 1.17rem; line-height: 1.3; letter-spacing: -.025em; }
.timeline-stage p { margin-top: 7px; font-size: .9rem; }

.audience-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 5vw, 70px); margin-top: 30px; }
.audience-card { padding-top: 18px; border-top: 1px solid var(--line); }
.audience-card h3 { margin-bottom: 11px; }
.audience-card p { max-width: 54ch; }
.trust { background: var(--sand); }
.trust-list > div { padding: 15px 0; border-top: 1px solid #beb6a5; }
.trust-list > div:last-child { border-bottom: 1px solid #beb6a5; }
.trust-list dt, .metrics dt { font-weight: 680; }
.trust-list dd, .metrics dd { margin-top: 3px; color: var(--body); font-size: .91rem; }

.pilot { padding-bottom: 0; }
.pilot-panel {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .7fr); gap: clamp(24px, 6vw, 80px);
  align-items: center; padding: clamp(24px, 5vw, 66px); border-radius: 10px;
  border: 1px solid #bdc9b5; background: #e7ebde;
}
.pilot-panel h2 { max-width: 13ch; }
.pilot-panel .button { margin-top: 20px; }
.contact-note { margin-top: 9px; }
.metrics { border-left: 1px solid #a9b6a2; padding-left: clamp(18px, 3.2vw, 48px); }
.metrics .label { margin-bottom: 12px; }
.metrics dl > div + div { margin-top: 13px; }

.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px;
  min-height: 56px; padding: 10px 3px; list-style: none; font-weight: 650; cursor: pointer;
}
.faq-list summary::-webkit-details-marker,.nav-mobile summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; width: 8px; height: 8px; margin: 0 6px 4px 0; transform: rotate(45deg);
  border-right: 2px solid #526d60; border-bottom: 2px solid #526d60;
}
.faq-list details[open] summary::after { transform: rotate(225deg); margin-bottom: 0; }
.faq-list p { padding: 0 15px 15px 3px; font-size: .92rem; }

.footer { padding-block: 27px; border-top: 1px solid var(--line); background: var(--sand); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 13px 28px; }
.footer-meta { display: flex; flex-wrap: wrap; gap: 5px 17px; color: var(--muted); font-size: .81rem; }
.dialog {
  width: min(460px, calc(100% - 40px)); padding: 24px; border: 1px solid var(--line);
  border-radius: 8px; background: var(--surface); color: var(--ink); box-shadow: 0 10px 48px #15291f4a;
}
.dialog::backdrop { background: #17251fb5; }
.dialog h2 { font-size: 2.7rem; }
.dialog p { margin-top: 10px; }
.dialog .button { margin-top: 17px; }

.module-nav-band { background: var(--surface); border-top: 1px solid var(--line); }
.module-nav { display: flex; gap: clamp(10px, 3vw, 30px); }
.module-tab {
  display: inline-flex; justify-content: center; align-items: center; gap: 7px;
  min-height: 49px; padding: 7px 11px 5px; border-bottom: 3px solid transparent;
  color: var(--body); font-size: .86rem; font-weight: 620; text-decoration: none;
  border-radius: 0;
}
.module-tab .brand-mark { width: 19px; height: 16px; flex-basis: 19px; }
.module-tab:is(:hover, :focus-visible) { color: var(--stage-ink); background: var(--stage-pale); }
.module-tab[aria-current="page"] { border-color: var(--stage); color: var(--stage-ink); background: var(--stage-pale); }
.module-page .label { color: var(--stage-ink); }
.module-hero { padding-block: clamp(42px, 7vw, 93px); }
.module-hero h1 { max-width: 15ch; }
.record-preview {
  border-color: #989c90; background-color: var(--stage-pale);
  background-image: var(--stage-photo); background-position: var(--stage-position);
}
.record-preview .case { border-top: 3px solid var(--stage); }
.record-subtitle { padding: 12px 14px 9px; font-size: .85rem; font-weight: 630; color: var(--ink); }
.record-rows { margin: 0; padding: 0 14px 10px; list-style: none; }
.record-rows li { padding-block: 10px; border-top: 1px solid #e4e0d6; }
.record-row-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 9px; }
.record-row-heading strong { font-size: .87rem; }
.record-rows p { margin-top: 4px; font-size: .79rem; }
.module-review { background: var(--sand); }
.module-review h2 { max-width: 14ch; }
.module-handoff {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 22px;
  padding: clamp(22px, 4vw, 45px); border: 1px solid var(--line); border-top: 3px solid var(--stage);
  border-radius: 8px; background: var(--stage-pale);
}
.module-handoff h2 { font-size: clamp(2.1rem, 3.65vw, 3.2rem); }

@media (max-width: 900px) {
  .hero-grid, .problem-grid, .trust-grid, .faq-grid, .example-grid { grid-template-columns: 1fr; gap: 23px; }
  .hero-grid { gap: 30px; }
  .module-hero h1 { max-width: 19ch; }
  .preview { min-height: 400px; }
  .example .section-title { max-width: none; }
}
@media (max-width: 680px) {
  h1 { font-size: clamp(3.1rem, 9vw, 4rem); }
  .header-inner { min-height: 65px; gap: 8px; }
  .header .brand { font-size: 1.12rem; gap: 7px; }
  .header .button { min-height: 44px; padding: 7px 9px; font-size: .76rem; white-space: nowrap; }
  .header .button .arrow { display: none; }
  .header-actions { display: flex; align-items: center; gap: 4px; }
  .nav-desktop { display: none; }
  .nav-mobile { display: block; position: relative; }
  .nav-mobile summary {
    display: grid; align-items: center; min-height: 44px; padding-inline: 8px; list-style: none;
    color: var(--ink); font-size: .82rem; font-weight: 640; cursor: pointer;
  }
  .nav-mobile summary:is(:hover, :focus-visible),
  .nav-mobile[open] summary { background: var(--sand); }
  .mobile-links {
    position: absolute; z-index: 3; top: calc(100% + 4px); right: 0; min-width: 172px;
    display: grid; padding: 5px 11px; border: 1px solid var(--line); border-radius: 5px;
    background: var(--surface); box-shadow: 0 8px 20px #263a3226;
  }
  .hero, .module-hero { padding-block: 38px 42px; }
  .hero-rotator { font-size: min(1em, 9.3vw); }
  .hero-actions { margin-top: 18px; gap: 7px; }
  .hero-actions .button { min-height: 44px; padding-inline: 12px; font-size: .82rem; }
  .preview { min-height: auto; padding-top: 96px; }
  .case-heading { flex-wrap: wrap; }
  .modules, .audience-grid, .pilot-panel, .module-handoff { grid-template-columns: 1fr; }
  .module { --art-height: 151px; }
  .foundation { grid-template-columns: 1fr; gap: 3px; }
  .problem-steps { grid-template-columns: 1fr; }
  .problem-steps li { padding: 8px 0; }
  .problem-steps li + li { border-top: 1px solid var(--line); }
  .problem-steps span { transform: rotate(90deg); }
  .metrics { border-left: 0; border-top: 1px solid #a9b6a2; padding: 16px 0 0; }
  .module-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
  .module-tab { padding-inline: 3px; gap: 5px; font-size: .78rem; }
  .module-tab .brand-mark { width: 16px; height: 14px; flex-basis: 16px; }
  .module-handoff { justify-items: start; }
}
@media (max-width: 365px) {
  .header .brand { font-size: 1.02rem; }
  .header .brand-mark { width: 23px; height: 20px; flex-basis: 23px; }
  .header .button { padding-inline: 6px; font-size: .7rem; }
  .nav-mobile summary { padding-inline: 6px; }
  .hero-actions .button { flex: 1 1 100%; }
  .case-top, .case-heading, .case-steps, .case-unknown { padding-inline: 10px; }
  .case-step { gap: 5px; }
  .status { padding-inline: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .nav-link, .module-tab, .nav-mobile summary { transition: none; }
  .hero-phrase { animation: none; }
  .hero-phrase[data-motion="entering"] { opacity: 1; animation: none; }
  .hero-phrase[data-motion="leaving"] { animation: none; }
}
@media (forced-colors: active) {
  .module { padding-top: 20px; }
  .module::before { display: none; }
  .module > .label { position: static; padding: 0; }
}
.module-hero .record-preview {
  min-height: clamp(280px, 36vw, 444px);
  padding: 0;
}

.example-record .case {
  width: 100%;
}