:root {
  --navy: #071b31;
  --ink: #09243d;
  --blue: #1266a4;
  --aqua: #5ed1c8;
  --ice: #e7f1f6;
  --paper: #f6f4ef;
  --muted: #53687a;
  --line: rgba(9, 36, 61, 0.15);
  --amber: #f1b857;
}
* {
  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.012em;
}
a {
  color: inherit;
  text-decoration: none;
}
.site,
.app-shell {
  min-height: 100vh;
  overflow: hidden;
}
.site-header,
.hero,
.section,
.statement,
.demo,
.footer,
.app-header,
.app-intro,
.scenario-layout,
.app-footer {
  width: min(1180px, calc(100% - 64px));
  margin-inline: auto;
}
.site-header,
.app-header {
  min-height: 92px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
}
.brand strong,
.footer-brand strong {
  display: block;
  font-size: 0.8rem;
  line-height: 1.1;
  letter-spacing: 0.16em;
}
.brand small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.71rem;
  letter-spacing: 0.065em;
}
.brand-mark {
  display: inline-grid;
  grid-template-columns: repeat(3, 7px);
  align-items: end;
  gap: 3px;
  height: 30px;
}
.brand-mark i {
  display: block;
  height: 21px;
  border-radius: 10px 10px 3px 3px;
  background: var(--blue);
}
.brand-mark i:nth-child(2) {
  height: 30px;
  background: var(--aqua);
}
.brand-mark i:nth-child(3) {
  height: 16px;
  background: var(--amber);
}
.site-header nav {
  display: flex;
  gap: 21px;
  color: var(--muted);
  font-size: 0.8rem;
}
.site-header nav a:hover,
.footer-links a:hover {
  color: var(--blue);
}
.nav-action {
  justify-self: end;
  color: var(--blue);
  font-size: 0.81rem;
  font-weight: 760;
}
.nav-action span {
  color: var(--amber);
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(380px, 0.97fr);
  gap: 78px;
  align-items: center;
  padding: 94px 0 82px;
}
.eyebrow {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 0.71rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.eyebrow span {
  display: inline-block;
  width: 27px;
  height: 2px;
  margin: 0 8px 3px 0;
  background: var(--amber);
}
.hero h1,
.site h2,
.app-shell h1,
.app-shell h2 {
  margin: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.95;
}
.hero h1 {
  max-width: 670px;
  font-size: clamp(3.2rem, 6vw, 5.55rem);
}
.lede {
  max-width: 660px;
  margin: 25px 0 31px;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.72;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.button {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-height: 48px;
  padding: 0 19px;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 780;
  transition:
    transform 0.2s,
    border-color 0.2s;
}
.button:hover {
  transform: translateY(-2px);
}
.primary {
  color: #fff;
  background: var(--navy);
  box-shadow: 0 12px 26px rgba(7, 27, 49, 0.13);
}
.primary span {
  color: var(--aqua);
  font-size: 1.05rem;
}
.quiet {
  color: var(--blue);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.4);
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 19px;
  margin-top: 36px;
  color: var(--muted);
  font-size: 0.72rem;
}
.hero-meta span {
  position: relative;
  padding-left: 11px;
}
.hero-meta span::before {
  position: absolute;
  top: 0.34em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--aqua);
  content: "";
}
.hero-visual {
  position: relative;
  min-height: 476px;
  overflow: hidden;
  border: 1px solid rgba(9, 36, 61, 0.14);
  background: linear-gradient(144deg, #d9eaf0 0%, #b7d9e0 46%, #82b8cb 100%);
}
.map-grid {
  position: absolute;
  inset: 0;
  opacity: 0.45;
  background-image: linear-gradient(rgba(9, 36, 61, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(9, 36, 61, 0.1) 1px, transparent 1px);
  background-size: 36px 36px;
}
.waterline {
  position: absolute;
  left: -12%;
  width: 125%;
  height: 120px;
  border: 1px solid rgba(9, 36, 61, 0.2);
  border-left: 0;
  border-right: 0;
  border-radius: 50%;
  transform: rotate(-11deg);
}
.waterline-one {
  top: 92px;
}
.waterline-two {
  top: 217px;
  opacity: 0.7;
}
.system-point {
  position: absolute;
  z-index: 2;
  width: 113px;
  padding: 13px;
  border: 1px solid rgba(9, 36, 61, 0.15);
  background: rgba(248, 251, 249, 0.86);
  box-shadow: 0 9px 20px rgba(7, 27, 49, 0.08);
}
.system-point small {
  display: block;
  margin-bottom: 9px;
  color: var(--blue);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.09em;
}
.system-point strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.17rem;
  font-weight: 500;
}
.point-rain {
  top: 72px;
  left: 34px;
}
.point-store {
  top: 145px;
  right: 32px;
}
.point-demand {
  bottom: 66px;
  left: 77px;
}
.system-core {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  width: 190px;
  height: 190px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--navy);
  box-shadow: 0 20px 46px rgba(7, 27, 49, 0.24);
  color: #fff;
  text-align: center;
}
.system-core i {
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(94, 209, 200, 0.5);
  border-radius: inherit;
}
.system-core small,
.system-core strong,
.system-core span {
  position: relative;
  display: block;
}
.system-core small {
  margin-top: 54px;
  color: var(--aqua);
  font-size: 0.52rem;
  letter-spacing: 0.1em;
}
.system-core strong {
  margin: 10px 0 7px;
  font-size: 1.6rem;
  letter-spacing: 0.07em;
}
.system-core span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.58rem;
}
.visual-key {
  position: absolute;
  right: 20px;
  bottom: 19px;
  z-index: 2;
  color: rgba(7, 27, 49, 0.7);
  font-size: 0.6rem;
  letter-spacing: 0.05em;
}
.visual-key i {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--blue);
}
.statement {
  padding: 48px 0 70px;
  border-bottom: 1px solid var(--line);
}
.statement p {
  max-width: 920px;
  margin: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.75rem, 3.25vw, 3.05rem);
  letter-spacing: -0.045em;
  line-height: 1.12;
}
.section {
  padding: 106px 0;
}
.section-number {
  margin-bottom: 31px;
  color: var(--amber);
  font-size: 0.71rem;
  font-weight: 820;
  letter-spacing: 0.12em;
}
.split,
.evidence-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.93fr) minmax(330px, 1.07fr);
  gap: 110px;
}
.site h2,
.app-shell h2 {
  font-size: clamp(2.18rem, 3.7vw, 3.7rem);
}
.body-copy,
.heading > p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}
.body-copy p + p {
  margin-top: 20px;
}
.heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 52px;
  margin-bottom: 44px;
}
.heading > div {
  max-width: 690px;
}
.heading > p {
  max-width: 315px;
  margin: 0 0 3px;
  font-size: 0.9rem;
  line-height: 1.58;
}
.intelligence {
  border-bottom: 1px solid var(--line);
}
.layers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
}
.layers article {
  display: flex;
  min-height: 302px;
  padding: 24px 22px 21px;
  flex-direction: column;
  border-right: 1px solid var(--line);
}
.layers article:last-child {
  border-right: 0;
}
.layers article > span {
  color: var(--amber);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.1em;
}
.layers small {
  display: block;
  min-height: 34px;
  margin: 18px 0 8px;
  color: var(--blue);
  font-size: 0.65rem;
  font-weight: 790;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.layers h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.02;
}
.layers p {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.55;
}
.layers b {
  margin-top: auto;
  padding-top: 16px;
  color: var(--blue);
  font-size: 0.64rem;
  line-height: 1.4;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}
.inline-link {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 760;
}
.inline-link span,
.text-link span {
  color: var(--amber);
}
.flow {
  display: grid;
  grid-template-columns: 1fr 38px 1fr 38px 1fr 38px 1fr;
  align-items: stretch;
}
.flow-node {
  min-height: 170px;
  padding: 22px;
  border: 1px solid var(--line);
  background: #fffdfa;
}
.flow-node small {
  display: block;
  margin-bottom: 28px;
  color: var(--blue);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.flow-node strong {
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.15;
}
.flow-node-dark {
  background: var(--navy);
  border-color: var(--navy);
}
.flow-node-dark small {
  color: var(--aqua);
}
.flow-node-dark strong {
  color: white;
}
.flow > i {
  align-self: center;
  color: var(--amber);
  font-size: 1.3rem;
  font-style: normal;
  text-align: center;
}
.fineprint {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.73rem;
  font-style: italic;
}
.architecture {
  padding: 106px max(32px, calc((100% - 1180px) / 2));
  background: var(--ice);
}
.architecture-inner {
  max-width: 1180px;
  margin: auto;
}
.architecture-grid {
  display: grid;
  grid-template-columns: 1fr 38px 1fr 38px 1fr 38px 1fr;
  align-items: center;
}
.arch-card {
  min-height: 190px;
  padding: 24px;
  border: 1px solid rgba(9, 36, 61, 0.19);
  background: rgba(255, 255, 255, 0.55);
}
.arch-card span {
  display: block;
  margin-bottom: 23px;
  color: var(--blue);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.arch-card strong {
  display: block;
  margin-bottom: 12px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.08;
}
.arch-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.77rem;
  line-height: 1.55;
}
.arch-card-dark {
  background: var(--navy);
  border-color: var(--navy);
}
.arch-card-dark span {
  color: var(--aqua);
}
.arch-card-dark strong {
  color: white;
}
.arch-card-dark p {
  color: rgba(255, 255, 255, 0.7);
}
.arch-arrow {
  color: var(--amber);
  font-size: 1.2rem;
  text-align: center;
}
.demo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  padding: 64px;
  color: white;
  background: var(--navy);
}
.demo > div:first-child {
  max-width: 660px;
}
.demo h2 {
  margin-bottom: 18px;
  color: white;
}
.demo .eyebrow {
  color: var(--aqua);
}
.demo p:not(.eyebrow) {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  line-height: 1.68;
}
.demo-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 17px;
  flex-shrink: 0;
}
.demo .primary {
  color: var(--navy);
  background: var(--aqua);
}
.demo .primary span {
  color: var(--blue);
}
.text-link {
  color: #fff;
  font-size: 0.78rem;
  font-weight: 760;
}
.evidence-layout {
  gap: 92px;
}
.evidence-layout > div > p:not(.eyebrow) {
  max-width: 390px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.68;
}
.evidence-table {
  border-top: 1px solid var(--line);
}
.evidence-table > div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.evidence-table span {
  color: var(--blue);
  font-size: 0.65rem;
  font-weight: 810;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.evidence-table strong {
  color: var(--navy);
  font-size: 0.85rem;
  line-height: 1.5;
}
.documents {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 59px;
}
.documents a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  padding: 15px;
  border: 1px solid var(--line);
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 750;
  transition:
    transform 0.2s,
    border-color 0.2s;
}
.documents a:hover {
  border-color: var(--blue);
  transform: translateY(-2px);
}
.documents a span {
  color: var(--amber);
  font-size: 1.05rem;
}
.team {
  border-top: 1px solid var(--line);
}
.team-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.team-list article {
  min-height: 142px;
  padding: 19px;
  background: #eaf0f1;
}
.team-list span {
  display: block;
  margin-bottom: 32px;
  color: var(--amber);
  font-size: 0.67rem;
  font-weight: 850;
  letter-spacing: 0.1em;
}
.team-list strong {
  display: block;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  font-weight: 500;
  line-height: 1.08;
}
.team-list small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.63rem;
}
.footer {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 45px;
  padding: 48px 0 33px;
  border-top: 1px solid var(--line);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer-brand p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.75rem;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-content: center;
  gap: 12px 20px;
  color: var(--muted);
  font-size: 0.73rem;
}
.footer-note {
  grid-column: 1/-1;
  margin: 0;
  padding-top: 21px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.67rem;
  letter-spacing: 0.04em;
}
/* Application */
.app-body {
  background: #edf2f3;
}
.app-header {
  grid-template-columns: 1fr auto 1fr;
}
.app-state {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 0.72rem;
}
.app-state span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--aqua);
}
.back-link {
  justify-self: end;
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 750;
}
.app-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  padding: 57px 0 35px;
}
.app-intro > div {
  max-width: 700px;
}
.app-intro h1 {
  font-size: clamp(2.6rem, 4.7vw, 4.4rem);
}
.app-intro > div > p:not(.eyebrow) {
  max-width: 620px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.65;
}
.app-intro aside {
  max-width: 255px;
  padding: 18px;
  border-left: 2px solid var(--amber);
  color: var(--muted);
  font-size: 0.77rem;
  line-height: 1.55;
}
.app-intro aside strong {
  display: block;
  margin-bottom: 6px;
  color: var(--navy);
  font-size: 0.76rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.app-intro aside p {
  margin: 0;
}
.scenario-layout {
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: 20px;
  padding-bottom: 65px;
}
.scenario-controls,
.scenario-results {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}
.scenario-controls {
  padding: 25px;
}
.form-heading {
  display: flex;
  gap: 13px;
  margin-bottom: 27px;
}
.form-heading > span {
  color: var(--amber);
  font-size: 0.68rem;
  font-weight: 850;
}
.form-heading h2 {
  font-size: 1.72rem;
}
.form-heading p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.48;
}
.scenario-controls label {
  position: relative;
  display: block;
  margin-top: 20px;
  color: var(--ink);
  font-size: 0.73rem;
  font-weight: 750;
}
.scenario-controls output {
  position: absolute;
  right: 0;
  color: var(--blue);
  font-size: 0.7rem;
}
.scenario-controls select {
  width: 100%;
  margin-top: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}
.scenario-controls input {
  display: block;
  width: 100%;
  margin-top: 10px;
  accent-color: var(--blue);
}
.scenario-controls button {
  width: 100%;
  justify-content: space-between;
  margin-top: 31px;
}
.scenario-results {
  padding: 29px;
}
.results-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
}
.results-head h2 {
  font-size: 2.25rem;
}
.data-chip {
  padding: 7px 9px;
  color: var(--blue);
  border: 1px solid rgba(18, 102, 164, 0.25);
  background: #e7f4f7;
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}
.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 30px;
}
.water-command-map { margin-top: 26px; padding: 15px; border: 1px solid rgba(9,36,61,.15); background: #f7faf9; }
.map-topline { display:flex; align-items:flex-end; justify-content:space-between; gap:18px; margin:0 2px 12px; }
.map-topline span { display:block; color:var(--blue); font-size:.62rem; font-weight:850; letter-spacing:.11em; text-transform:uppercase; }
.map-topline strong { display:block; margin-top:4px; color:var(--navy); font:500 1.08rem Georgia,serif; }
.map-topline small { color:var(--muted); font-size:.65rem; }
.water-command-map svg { display:block; width:100%; height:auto; box-shadow:0 18px 38px rgba(7,27,49,.14); }
.city-grid path { fill:none; stroke:rgba(255,255,255,.05); stroke-width:1; }
.network-lines path { fill:none; stroke:#5ed1c8; stroke-width:3; stroke-linecap:round; stroke-dasharray:8 9; animation:waterFlow 4s linear infinite; }
.network-node circle,.network-node rect { fill:#0d2f49; stroke:#5ed1c8; stroke-width:2; }
.network-node text { fill:#e9ffff; font:800 10px Inter,sans-serif; text-anchor:middle; letter-spacing:.06em; }
.treatment-node rect { fill:#f1b857; stroke:#ffe4a3; }.treatment-node text { fill:#071b31; }.sector-node circle { fill:#123d55; }
.map-legend { display:flex; flex-wrap:wrap; gap:10px 20px; padding:11px 2px 0; color:var(--muted); font-size:.62rem; }
.map-legend span { display:flex; align-items:center; gap:6px; }.map-legend i { width:18px; height:2px; background:var(--aqua); }
.water-command-map[data-state="pressure"] .network-lines path { stroke:var(--amber); }
@keyframes waterFlow { to { stroke-dashoffset:-68; } }
.metric-grid article {
  min-height: 137px;
  padding: 19px;
  border: 1px solid var(--line);
  background: #f9fbfa;
}
.metric-grid span {
  display: block;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.055em;
}
.metric-grid strong {
  display: block;
  margin: 21px 0 5px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.2rem;
  font-weight: 500;
  letter-spacing: -0.055em;
}
.metric-grid small {
  color: var(--muted);
  font-size: 0.62rem;
}
.balance-card {
  background: var(--navy) !important;
  border-color: var(--navy) !important;
}
.balance-card span,
.balance-card small {
  color: rgba(255, 255, 255, 0.72) !important;
}
.balance-card strong {
  color: var(--aqua) !important;
}
.allocation,
.reservoirs {
  margin-top: 30px;
  padding-top: 23px;
  border-top: 1px solid var(--line);
}
.allocation-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: baseline;
}
.allocation-heading h3 {
  margin: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.34rem;
  font-weight: 500;
}
.allocation-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 0.71rem;
}
.allocation-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}
.allocation-row {
  display: grid;
  grid-template-columns: 100px 1fr 75px;
  align-items: center;
  gap: 12px;
}
.allocation-row strong {
  font-size: 0.75rem;
  text-transform: capitalize;
}
.allocation-track,
.reservoir-bar {
  height: 7px;
  overflow: hidden;
  background: #e0e9e9;
}
.allocation-track i,
.reservoir-bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--aqua));
}
.allocation-row small {
  color: var(--muted);
  font-size: 0.65rem;
  text-align: right;
}
.reservoir-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
}
.reservoir {
  padding: 14px;
  background: #f4f8f7;
}
.reservoir strong {
  display: block;
  margin-bottom: 13px;
  font-size: 0.75rem;
}
.reservoir span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.65rem;
}
.model-note {
  margin: 29px 0 0;
  padding: 14px;
  color: var(--muted);
  border-left: 2px solid var(--amber);
  font-size: 0.72rem;
  line-height: 1.55;
}
.app-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 0 31px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 0.67rem;
}
.app-footer a {
  color: var(--blue);
  font-weight: 750;
}
@media (max-width: 960px) {
  .site-header,
  .hero,
  .section,
  .statement,
  .demo,
  .footer,
  .app-header,
  .app-intro,
  .scenario-layout,
  .app-footer {
    width: min(100% - 42px, 720px);
  }
  .site-header {
    grid-template-columns: 1fr auto;
  }
  .site-header nav {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 44px;
    padding-top: 68px;
  }
  .hero-visual {
    min-height: 455px;
  }
  .split,
  .evidence-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }
  .layers {
    grid-template-columns: repeat(2, 1fr);
  }
  .layers article:nth-child(2) {
    border-right: 0;
  }
  .layers article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
  .flow,
  .architecture-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .flow > i,
  .arch-arrow {
    display: none;
  }
  .flow-node {
    min-height: auto;
  }
  .architecture {
    padding-inline: 21px;
  }
  .demo {
    align-items: flex-start;
    flex-direction: column;
    padding: 43px;
  }
  .documents {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-links {
    justify-content: flex-start;
  }
  .app-header {
    grid-template-columns: 1fr auto;
  }
  .app-state {
    display: none;
  }
  .scenario-layout {
    grid-template-columns: 1fr;
  }
  .scenario-controls {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 22px;
  }
  .form-heading,
  .scenario-controls button {
    grid-column: 1/-1;
  }
  .app-intro {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }
  .app-intro aside {
    max-width: 500px;
  }
  .scenario-controls label {
    margin-top: 14px;
  }
}
@media (max-width: 580px) {
  .site-header,
  .hero,
  .section,
  .statement,
  .demo,
  .footer,
  .app-header,
  .app-intro,
  .scenario-layout,
  .app-footer {
    width: min(100% - 32px, 520px);
  }
  .site-header,
  .app-header {
    min-height: 76px;
  }
  .nav-action,
  .back-link {
    font-size: 0.68rem;
  }
  .hero {
    padding: 52px 0 55px;
  }
  .hero h1 {
    font-size: clamp(2.95rem, 14.5vw, 4.15rem);
  }
  .lede {
    font-size: 0.94rem;
  }
  .hero-visual {
    min-height: 390px;
  }
  .system-point {
    width: 102px;
    padding: 10px;
  }
  .point-rain {
    top: 41px;
    left: 17px;
  }
  .point-store {
    top: 84px;
    right: 17px;
  }
  .point-demand {
    bottom: 36px;
    left: 28px;
  }
  .section {
    padding: 70px 0;
  }
  .statement {
    padding: 38px 0 49px;
  }
  .layers,
  .documents,
  .team-list,
  .metric-grid,
  .reservoir-list {
    grid-template-columns: 1fr;
  }
  .layers article {
    min-height: 240px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .layers article:last-child {
    border-bottom: 0;
  }
  .demo {
    padding: 32px 25px;
  }
  .evidence-table > div {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .footer {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .footer-links {
    flex-direction: column;
  }
  .scenario-controls {
    display: block;
  }
  .scenario-controls button {
    display: flex;
  }
  .scenario-results {
    padding: 21px;
  }
  .results-head {
    align-items: flex-start;
  }
  .metric-grid article {
    min-height: 112px;
  }
  .metric-grid strong {
    margin-top: 14px;
  }
  .allocation-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }
  .allocation-row {
    grid-template-columns: 84px 1fr 60px;
  }
  .app-footer {
    flex-direction: column;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
