:root {
  --navy: #0f2340;
  --navy-2: #102b50;
  --teal: #56c2a7;
  --teal-2: #39ac8f;
  --ink: #172033;
  --muted: #667085;
  --line: #dce8ee;
  --paper: #ffffff;
  --mist: #f5fbfa;
  --slate: #f6f8fb;
  --shadow: 0 24px 70px rgba(15, 35, 64, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, Arial, sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 clamp(20px, 4vw, 56px);
  border-bottom: 1px solid rgba(220, 232, 238, 0.7);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
  transition: box-shadow 0.2s ease, background 0.2s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 40px rgba(15, 35, 64, 0.08);
}

.scroll-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), #92ecd8);
  transition: width 0.08s linear;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  white-space: nowrap;
}

.brand-name {
  font-family: Newsreader, Georgia, serif;
  font-size: 25px;
  line-height: 1;
  color: #111827;
}

.brand-name strong {
  font-weight: 650;
}

.brand-kicker {
  color: var(--teal);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 36px);
  color: #667085;
  font-size: 14px;
  font-weight: 600;
}

.desktop-nav a {
  transition: color 0.2s ease;
}

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

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.header-cta,
.button.primary {
  background: var(--navy);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(15, 35, 64, 0.18);
}

.header-cta:hover,
.button.primary:hover {
  background: var(--navy-2);
  transform: translateY(-1px);
  box-shadow: 0 18px 42px rgba(15, 35, 64, 0.24);
}

.button.secondary {
  background: #ffffff;
  border-color: var(--line);
  color: var(--navy);
}

.button.secondary:hover {
  border-color: var(--teal);
  box-shadow: 0 16px 34px rgba(86, 194, 167, 0.18);
  transform: translateY(-1px);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
}

.menu-button span {
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--navy);
  transition: transform 0.2s ease;
}

.menu-button[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.menu-button[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  inset: 72px 16px auto;
  z-index: 45;
  display: none;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.mobile-nav.open {
  display: grid;
  gap: 12px;
}

.mobile-nav a {
  padding: 10px;
  border-radius: 8px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
}

.mobile-nav a:hover {
  background: var(--mist);
}

main {
  overflow: hidden;
}

.section-grid,
.dark-band,
.leak-scan,
.operating-loop,
.results,
.about,
.contact {
  padding-inline: clamp(20px, 5vw, 72px);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.85fr);
  gap: clamp(40px, 6vw, 92px);
  align-items: center;
  padding-top: 98px;
  padding-bottom: 58px;
  background:
    linear-gradient(90deg, rgba(86, 194, 167, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(86, 194, 167, 0.08) 1px, transparent 1px),
    radial-gradient(circle at 84% 18%, rgba(86, 194, 167, 0.15), transparent 28%),
    #ffffff;
  background-size: 72px 72px, 72px 72px, auto, auto;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 72px 0 0 auto;
  width: min(58vw, 1120px);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.54) 24%, rgba(255, 255, 255, 0.28)),
    url("assets/rcm-hero-command.png") right center / cover no-repeat;
  opacity: 0.52;
  pointer-events: none;
  transform: translate3d(0, 0, 0);
  animation: bannerFloat 16s ease-in-out infinite;
}

.hero-motion {
  position: absolute;
  right: clamp(34px, 8vw, 132px);
  bottom: clamp(74px, 14vh, 160px);
  width: min(41vw, 620px);
  height: 210px;
  z-index: 0;
  pointer-events: none;
}

.motion-track {
  position: absolute;
  inset: 20px 10px 24px;
  border: 1px solid rgba(86, 194, 167, 0.34);
  border-left: 0;
  border-bottom: 0;
  border-radius: 0 8px 0 0;
  opacity: 0.86;
}

.motion-track::before,
.motion-track::after {
  content: "";
  position: absolute;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(86, 194, 167, 0.92), transparent);
  transform-origin: left;
}

.motion-track::before {
  left: -32%;
  right: 8%;
  top: 34%;
  animation: streamSweep 4.4s ease-in-out infinite;
}

.motion-track::after {
  left: -18%;
  right: 22%;
  top: 66%;
  animation: streamSweep 4.4s ease-in-out 1.4s infinite;
}

.motion-signal {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 6px rgba(86, 194, 167, 0.18), 0 0 28px rgba(86, 194, 167, 0.6);
}

.signal-one {
  left: 6%;
  top: 46%;
  animation: signalRunOne 5.2s cubic-bezier(0.45, 0, 0.2, 1) infinite;
}

.signal-two {
  left: 28%;
  top: 72%;
  animation: signalRunTwo 6s cubic-bezier(0.45, 0, 0.2, 1) 0.7s infinite;
}

.signal-three {
  left: 64%;
  top: 22%;
  animation: signalRunThree 5.6s cubic-bezier(0.45, 0, 0.2, 1) 1.2s infinite;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--teal-2);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 24px;
  color: var(--navy);
  font-family: Newsreader, Georgia, serif;
  font-size: clamp(48px, 6.1vw, 82px);
  font-weight: 650;
  line-height: 0.96;
  letter-spacing: 0;
}

h1 span {
  display: block;
}

.hero-lede {
  max-width: 680px;
  margin-bottom: 34px;
  color: #556173;
  font-size: clamp(17px, 1.55vw, 21px);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-panel {
  position: relative;
  z-index: 1;
  padding: 22px;
  border: 1px solid rgba(15, 35, 64, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: -10px -10px auto auto;
  width: 160px;
  height: 160px;
  border-top: 2px solid var(--teal);
  border-right: 2px solid var(--teal);
  opacity: 0.7;
  pointer-events: none;
}

.panel-topline,
.metric-label {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: #7a8798;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.meter-card {
  margin-top: 0;
  padding: 26px;
  border-radius: 8px;
  background: var(--navy);
  color: #ffffff;
}

.meter-card strong {
  display: block;
  margin-top: 10px;
  color: var(--teal);
  font-size: 76px;
  line-height: 0.9;
  letter-spacing: 0;
}

.meter {
  height: 10px;
  margin-top: 24px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.16);
}

.meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), #8ff4dc);
  transform-origin: left;
  animation: meterFill 1.1s ease-out both;
}

.metric-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}

.metric-row article,
.workflow-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.metric-row article {
  padding: 18px;
}

.metric-row span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.metric-row strong {
  display: block;
  margin-top: 10px;
  color: var(--navy);
  font-size: 34px;
  line-height: 1;
}

.metric-row small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.workflow-card {
  display: grid;
  gap: 11px;
  margin-top: 12px;
  padding: 18px;
}

.workflow-line {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #667085;
  font-size: 14px;
  font-weight: 700;
}

.workflow-line span {
  width: 11px;
  height: 11px;
  border: 2px solid #cbd5df;
  border-radius: 50%;
}

.workflow-line.active span {
  border-color: var(--teal);
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(86, 194, 167, 0.14);
  animation: softPulse 2.8s ease-in-out infinite;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

.proof-strip div {
  min-height: 170px;
  padding: 34px clamp(20px, 4vw, 56px);
  border-right: 1px solid var(--line);
}

.proof-strip div:last-child {
  border-right: 0;
}

.proof-strip strong {
  display: block;
  color: var(--teal-2);
  font-size: clamp(38px, 4.7vw, 68px);
  line-height: 0.9;
}

.proof-strip div:nth-child(3) strong {
  max-width: 420px;
  font-size: clamp(32px, 3.5vw, 52px);
  line-height: 1;
}

.proof-strip span {
  display: block;
  max-width: 280px;
  margin-top: 16px;
  color: #647083;
  font-size: 15px;
  line-height: 1.55;
}

.leak-scan {
  padding-top: 112px;
  padding-bottom: 112px;
  background:
    linear-gradient(180deg, #ffffff, #f8fcfb),
    var(--paper);
}

.leak-calculator {
  max-width: 1120px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.8fr);
  gap: 18px;
  margin: 0 auto;
}

.calculator-controls,
.calculator-result {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 52px rgba(15, 35, 64, 0.08);
}

.calculator-controls {
  display: grid;
  gap: 18px;
  padding: 28px;
}

.calc-group {
  display: grid;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(86, 194, 167, 0.08), transparent 48%),
    #ffffff;
}

.calc-group h3 {
  margin-bottom: 0;
  color: var(--navy);
  font-size: 20px;
  line-height: 1.2;
}

.calculator-controls label {
  display: grid;
  gap: 10px;
}

.calculator-controls label > span,
.calculator-result > span {
  color: #667085;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.calculator-controls strong {
  color: var(--navy);
  font-size: 28px;
  line-height: 1;
}

input[type="range"] {
  width: 100%;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--teal), #dbe7ee);
  accent-color: var(--teal);
}

.calculator-result {
  display: grid;
  align-content: center;
  gap: 16px;
  padding: 30px;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(86, 194, 167, 0.2), transparent 42%),
    var(--navy);
}

.result-card {
  position: relative;
  padding: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.result-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent, rgba(255, 255, 255, 0.12), transparent);
  transform: translateX(-120%);
  animation: resultSheen 5s ease-in-out infinite;
}

.calculator-result .button {
  position: relative;
  z-index: 1;
}

.result-card > span {
  color: #aebdca;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.result-card strong {
  display: block;
  margin: 14px 0 12px;
  color: var(--teal);
  font-size: clamp(42px, 5vw, 64px);
  line-height: 0.95;
}

.result-card p {
  position: relative;
  z-index: 1;
  margin-bottom: 0;
  color: #d7e2ec;
  font-size: 15px;
  line-height: 1.6;
}

.dark-band {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    var(--navy);
  background-size: 86px 86px;
  color: #ffffff;
}

.section-heading {
  max-width: 820px;
  margin: 0 auto 56px;
  text-align: center;
}

.dark-band .section-heading {
  text-align: left;
  margin-left: 0;
}

.section-heading h2,
.about h2,
.contact h2 {
  margin-bottom: 18px;
  font-family: Newsreader, Georgia, serif;
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 650;
  line-height: 1;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow),
.about-copy p,
.contact-copy p {
  color: #647083;
  font-size: 17px;
  line-height: 1.7;
}

.dark-band .section-heading p:not(.eyebrow),
.about-copy p {
  color: #c8d3df;
}

.process {
  padding-top: 118px;
  padding-bottom: 118px;
}

.process-list {
  display: grid;
  max-width: 1080px;
  margin: 0 auto;
  gap: 18px;
}

.process-card {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.step-number {
  width: 104px;
  height: 104px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(86, 194, 167, 0.6);
  border-radius: 50%;
  color: var(--teal);
  background: rgba(255, 255, 255, 0.05);
  font-family: Newsreader, Georgia, serif;
  font-size: 42px;
  font-weight: 650;
}

.process-card h3 {
  margin-bottom: 10px;
  color: #ffffff;
  font-size: 24px;
  line-height: 1.2;
}

.process-card p {
  margin-bottom: 0;
  color: #c8d3df;
  font-size: 16px;
  line-height: 1.65;
}

.operating-loop {
  padding-top: 112px;
  padding-bottom: 70px;
  background:
    radial-gradient(circle at 88% 16%, rgba(86, 194, 167, 0.14), transparent 28%),
    #ffffff;
}

.loop-grid {
  position: relative;
  max-width: 1120px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 0 auto;
}

.loop-grid::before {
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  top: 38px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
  opacity: 0.52;
}

.loop-card {
  position: relative;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 42px rgba(15, 35, 64, 0.07);
  color: inherit;
  cursor: pointer;
  text-align: left;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.loop-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(86, 194, 167, 0.16), transparent 46%);
  opacity: 0;
  transition: opacity 0.22s ease;
}

.loop-card:hover,
.loop-card.is-active {
  border-color: rgba(86, 194, 167, 0.58);
  box-shadow: 0 22px 54px rgba(15, 35, 64, 0.12);
  transform: translateY(-6px);
}

.loop-card:focus-visible {
  outline: 3px solid rgba(86, 194, 167, 0.42);
  outline-offset: 3px;
}

.loop-card.is-active {
  background: #f7fffd;
}

.loop-card:hover::after,
.loop-card.is-active::after {
  opacity: 1;
}

.loop-card span {
  position: relative;
  z-index: 1;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  margin-bottom: 26px;
  border-radius: 50%;
  color: var(--navy);
  background: var(--teal);
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 0 0 8px rgba(86, 194, 167, 0.16);
}

.loop-card h3 {
  position: relative;
  z-index: 1;
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 22px;
}

.loop-card p {
  position: relative;
  z-index: 1;
  margin-bottom: 0;
  color: #596679;
  font-size: 15px;
  line-height: 1.6;
}

.loop-detail {
  max-width: 1120px;
  margin: 22px auto 0;
  padding: 24px 28px;
  overflow: hidden;
  border: 1px solid rgba(86, 194, 167, 0.34);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(86, 194, 167, 0.12), transparent 58%),
    var(--navy);
  color: #ffffff;
  box-shadow: 0 24px 58px rgba(15, 35, 64, 0.14);
}

.loop-detail.is-changing {
  animation: detailChange 0.44s ease;
}

.loop-detail span {
  display: block;
  margin-bottom: 10px;
  color: var(--teal);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.loop-detail h3 {
  margin-bottom: 8px;
  color: #ffffff;
  font-size: clamp(22px, 2.5vw, 32px);
  line-height: 1.15;
}

.loop-detail p {
  max-width: 760px;
  margin-bottom: 0;
  color: #d5e4ee;
  font-size: 16px;
  line-height: 1.6;
}

.results {
  padding-top: 76px;
  padding-bottom: 118px;
  background: var(--paper);
}

.comparison-card {
  max-width: 1120px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.comparison-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  padding: 26px 28px;
  border-bottom: 1px solid var(--line);
}

.comparison-title span {
  color: var(--teal-2);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.comparison-title h3 {
  margin: 0;
  color: var(--navy);
  font-size: 24px;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
}

th,
td {
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: #667085;
  background: #f8fbfc;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

td {
  color: #4e5b6c;
  font-size: 15px;
  line-height: 1.45;
}

td:first-child {
  color: var(--navy);
  font-weight: 800;
}

td:last-child,
th:last-child {
  background: var(--mist);
  color: var(--teal-2);
  font-weight: 800;
}

tr:last-child td {
  border-bottom: 0;
}

.impact-grid {
  max-width: 1120px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 28px auto 0;
}

.impact-grid article {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfc;
}

.impact-grid article.after {
  border-color: rgba(86, 194, 167, 0.35);
  background: var(--mist);
}

.impact-grid h3 {
  margin-bottom: 18px;
  color: var(--navy);
  font-size: 22px;
}

.impact-grid ul {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.impact-grid li {
  position: relative;
  padding-left: 26px;
  color: #536174;
  font-size: 15px;
  line-height: 1.5;
}

.impact-grid li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d66b6b;
}

.impact-grid .after li::before {
  background: var(--teal);
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1fr);
  gap: clamp(36px, 6vw, 92px);
  align-items: start;
  padding-top: 118px;
  padding-bottom: 118px;
}

.about h2,
.contact h2 {
  color: inherit;
}

.about-copy {
  max-width: 620px;
}

.capability-grid {
  display: grid;
  gap: 12px;
}

.capability-grid article {
  min-height: 112px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.capability-grid span {
  display: block;
  margin-bottom: 12px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.capability-grid strong {
  display: block;
  color: #ffffff;
  font-size: 18px;
  line-height: 1.45;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(480px, 1fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: start;
  padding-top: 118px;
  padding-bottom: 118px;
  background:
    radial-gradient(circle at 20% 10%, rgba(86, 194, 167, 0.13), transparent 30%),
    var(--paper);
}

.contact-copy {
  max-width: 560px;
}

.contact-note {
  margin-top: 28px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--slate);
}

.contact-note strong {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
}

.contact-note a {
  color: var(--teal-2);
  font-weight: 800;
}

.contact-form {
  padding: 28px;
  border: 1px solid rgba(15, 35, 64, 0.18);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.netlify-honeypot {
  display: none;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.contact-form span {
  color: #445064;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  outline: 0;
  padding: 13px 14px;
  font-size: 15px;
  font-weight: 500;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(86, 194, 167, 0.16);
}

.form-submit {
  width: 100%;
  margin-top: 4px;
}

.form-status {
  min-height: 20px;
  margin: 14px 0 0;
  color: var(--teal-2);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.site-footer {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: #ffffff;
}

.site-footer p {
  margin: 0;
  color: #8a95a5;
  font-size: 14px;
}

.thank-you-main {
  min-height: calc(100vh - 88px);
  display: grid;
  place-items: center;
  padding: 132px 20px 72px;
  background:
    linear-gradient(90deg, rgba(86, 194, 167, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(86, 194, 167, 0.08) 1px, transparent 1px),
    radial-gradient(circle at 82% 20%, rgba(86, 194, 167, 0.15), transparent 28%),
    #ffffff;
  background-size: 72px 72px, 72px 72px, auto, auto;
}

.thank-you-card {
  width: min(100%, 720px);
  padding: clamp(28px, 6vw, 58px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.thank-you-card h1 {
  margin-bottom: 16px;
  font-size: clamp(42px, 7vw, 72px);
}

.thank-you-card p {
  color: #556173;
  font-size: 18px;
  line-height: 1.65;
}

.thank-you-card .button {
  margin-top: 12px;
}

.sticky-cta {
  position: fixed;
  right: 22px;
  bottom: 20px;
  z-index: 42;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: min(460px, calc(100vw - 40px));
  padding: 12px 12px 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(15, 35, 64, 0.92);
  color: #ffffff;
  box-shadow: 0 18px 52px rgba(15, 35, 64, 0.24);
  backdrop-filter: blur(12px);
  opacity: 0;
  transform: translateY(18px);
  pointer-events: none;
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.sticky-cta.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.sticky-cta span {
  font-size: 13px;
  font-weight: 700;
}

.sticky-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 13px;
  border-radius: 999px;
  background: var(--teal);
  color: var(--navy);
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes meterFill {
  from {
    transform: scaleX(0.08);
  }
  to {
    transform: scaleX(1);
  }
}

@keyframes softPulse {
  0%,
  100% {
    box-shadow: 0 0 0 4px rgba(86, 194, 167, 0.14);
  }
  50% {
    box-shadow: 0 0 0 7px rgba(86, 194, 167, 0.08);
  }
}

@keyframes bannerFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(8px, -8px, 0) scale(1.01);
  }
}

@keyframes streamSweep {
  0% {
    opacity: 0;
    transform: scaleX(0.1);
  }
  28%,
  72% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: scaleX(1);
  }
}

@keyframes signalRunOne {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
    opacity: 0;
  }
  16%,
  78% {
    opacity: 1;
  }
  50% {
    transform: translate3d(240px, -42px, 0);
  }
  82% {
    transform: translate3d(410px, -18px, 0);
    opacity: 0;
  }
}

@keyframes signalRunTwo {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
    opacity: 0;
  }
  14%,
  80% {
    opacity: 1;
  }
  52% {
    transform: translate3d(170px, -74px, 0);
  }
  84% {
    transform: translate3d(340px, -90px, 0);
    opacity: 0;
  }
}

@keyframes signalRunThree {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
    opacity: 0;
  }
  18%,
  74% {
    opacity: 1;
  }
  54% {
    transform: translate3d(-160px, 82px, 0);
  }
  82% {
    transform: translate3d(-310px, 104px, 0);
    opacity: 0;
  }
}

@keyframes resultSheen {
  0%,
  58% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(120%);
  }
}

@keyframes detailChange {
  0% {
    transform: translateY(0) scale(1);
  }
  45% {
    transform: translateY(-4px) scale(1.01);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1040px) {
  .desktop-nav,
  .header-cta {
    display: none;
  }

  .menu-button {
    display: inline-flex;
  }

  .hero,
  .about,
  .contact {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: 760px;
    font-size: clamp(46px, 8.2vw, 66px);
    line-height: 0.98;
  }

  .hero {
    align-items: start;
  }

  .hero::after {
    width: 100%;
    inset: 66px 0 auto auto;
    height: 52vh;
    opacity: 0.28;
  }

  .hero-motion {
    right: 6vw;
    width: 72vw;
    opacity: 0.55;
  }

  .hero-panel {
    width: min(100%, 680px);
    max-width: 680px;
  }

  .proof-strip {
    grid-template-columns: 1fr;
  }

  .leak-calculator,
  .loop-grid {
    grid-template-columns: 1fr;
  }

  .loop-grid::before {
    display: none;
  }

  .proof-strip div {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .proof-strip div:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 760px) {
  .section-grid,
  .dark-band,
  .leak-scan,
  .operating-loop,
  .results,
  .about,
  .contact {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    padding-inline: 20px;
  }

  .site-header {
    left: 0;
    right: 0;
    height: 66px;
    padding-left: 16px;
    padding-right: 24px;
    width: auto;
    max-width: 100%;
    gap: 12px;
  }

  .menu-button {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    margin-left: auto;
  }

  .brand {
    max-width: calc(100% - 58px);
  }

  .mobile-nav {
    inset: 66px 16px auto;
  }

  .brand-name {
    font-size: 22px;
  }

  .brand-kicker {
    font-size: 10px;
  }

  .hero {
    display: block;
    min-height: auto;
    max-width: 100vw;
    padding-top: 78px;
    padding-bottom: 24px;
    overflow: hidden;
  }

  .hero::after {
    right: 0;
    left: auto;
    width: 100%;
    max-width: 100vw;
    height: 320px;
    opacity: 0.12;
  }

  .hero-motion {
    display: none;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(29px, 8.2vw, 34px);
    line-height: 1;
    overflow-wrap: break-word;
    margin-bottom: 12px;
  }

  .hero-lede {
    margin-bottom: 16px;
    font-size: 13px;
    line-height: 1.48;
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .hero-copy,
  .hero-panel,
  .hero-lede,
  .hero-actions,
  .proof-strip div,
  .proof-strip span,
  .leak-calculator,
  .section-heading {
    width: calc(100vw - 40px);
    max-width: calc(100vw - 40px);
    min-width: 0;
  }

  .meter-card,
  .workflow-card,
  .calculator-controls,
  .calculator-result,
  .proof-strip {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .metric-row,
  .form-grid,
  .impact-grid,
  .loop-grid,
  .process-list,
  .comparison-card,
  .contact-form {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .hero-actions,
  .metric-row,
  .impact-grid,
  .form-grid,
  .leak-calculator {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .hero-actions .primary {
    grid-column: 1 / -1;
  }

  .hero-panel {
    width: 100%;
    max-width: 100%;
    margin-top: 20px;
    padding: 10px;
  }

  .hero-panel::before {
    width: 72px;
    height: 72px;
    inset: -6px -6px auto auto;
  }

  .panel-topline {
    display: grid;
    grid-template-columns: 1fr;
    font-size: 10px;
    line-height: 1.4;
  }

  .meter-card {
    padding: 16px;
  }

  .button {
    width: 100%;
    min-height: 34px;
    padding: 10px 14px;
    white-space: normal;
    text-align: center;
    font-size: 13px;
  }

  .meter-card strong {
    font-size: 42px;
  }

  .metric-label,
  .metric-row span {
    font-size: 10px;
  }

  .meter {
    height: 8px;
    margin-top: 16px;
  }

  .metric-row {
    gap: 8px;
    margin-top: 8px;
  }

  .metric-row article {
    padding: 13px;
  }

  .metric-row strong {
    margin-top: 7px;
    font-size: 28px;
  }

  .metric-row small {
    margin-top: 5px;
    font-size: 11px;
  }

  .workflow-card {
    gap: 8px;
    margin-top: 8px;
    padding: 12px;
  }

  .workflow-line {
    gap: 8px;
    font-size: 12px;
  }

  .workflow-line span {
    width: 9px;
    height: 9px;
  }

  .proof-strip strong,
  .result-card strong {
    overflow-wrap: anywhere;
  }

  .proof-strip {
    grid-template-columns: 1fr 1fr;
  }

  .proof-strip div:nth-child(3) {
    grid-column: 1 / -1;
  }

  .proof-strip div {
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .proof-strip strong {
    font-size: 30px;
  }

  .proof-strip div:nth-child(3) strong {
    font-size: 26px;
  }

  .proof-strip span {
    margin-top: 7px;
    font-size: 12px;
    line-height: 1.35;
    overflow-wrap: break-word;
  }

  .process,
  .leak-scan,
  .operating-loop,
  .results,
  .about,
  .contact {
    padding-top: 42px;
    padding-bottom: 42px;
  }

  .section-heading {
    margin-bottom: 18px;
    text-align: left;
  }

  .eyebrow {
    margin-bottom: 10px;
    font-size: 10px;
    letter-spacing: 0.2em;
  }

  .section-heading h2,
  .about h2,
  .contact h2 {
    margin-bottom: 10px;
    font-size: clamp(28px, 7.4vw, 34px);
  }

  .section-heading p:not(.eyebrow),
  .about-copy p,
  .contact-copy p {
    font-size: 14px;
    line-height: 1.55;
  }

  .process-card {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 16px;
  }

  .step-number {
    width: 50px;
    height: 50px;
    font-size: 22px;
  }

  .process-card h3 {
    margin-bottom: 8px;
    font-size: 20px;
  }

  .process-card p {
    font-size: 13px;
    line-height: 1.45;
  }

  .comparison-title {
    display: grid;
    align-items: start;
  }

  th,
  td {
    padding: 12px;
  }

  .comparison-card {
    overflow: visible;
  }

  .comparison-title {
    padding: 18px;
  }

  .table-wrap {
    padding: 12px;
    overflow: visible;
    background: #f8fbfc;
  }

  table,
  tbody,
  tr,
  td {
    display: block;
    width: 100%;
    min-width: 0;
  }

  table {
    border-collapse: separate;
    border-spacing: 0;
  }

  thead {
    display: none;
  }

  tbody {
    display: grid;
    gap: 10px;
  }

  tr {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
  }

  td {
    display: grid;
    grid-template-columns: minmax(104px, 0.38fr) minmax(0, 1fr);
    gap: 8px;
    align-items: start;
    border-bottom: 1px solid var(--line);
    color: #536174;
    font-size: 13px;
  }

  td::before {
    content: attr(data-label);
    color: #667085;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  td:first-child {
    grid-template-columns: 1fr;
    background: var(--navy);
    color: #ffffff;
    font-size: 16px;
  }

  td:first-child::before {
    color: var(--teal);
  }

  td:last-child {
    border-bottom: 0;
    background: var(--mist);
  }

  .contact-form {
    padding: 16px;
  }

  .calculator-controls,
  .calculator-result {
    padding: 14px;
  }

  .calculator-controls {
    gap: 12px;
  }

  .calc-group {
    gap: 12px;
    padding: 14px;
  }

  .calc-group h3 {
    font-size: 17px;
  }

  .calculator-controls label {
    gap: 7px;
  }

  .calculator-controls label > span,
  .result-card > span {
    font-size: 10px;
  }

  .calculator-controls strong {
    font-size: 24px;
  }

  input[type="range"] {
    height: 7px;
  }

  .calculator-result {
    gap: 10px;
  }

  .result-card strong {
    margin: 9px 0 8px;
    font-size: 32px;
  }

  .result-card {
    padding: 12px;
  }

  .result-card p {
    font-size: 12px;
    line-height: 1.38;
  }

  .loop-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .loop-card {
    padding: 13px;
  }

  .loop-card span {
    width: 26px;
    height: 26px;
    margin-bottom: 12px;
    box-shadow: 0 0 0 6px rgba(86, 194, 167, 0.16);
  }

  .loop-card h3 {
    margin-bottom: 6px;
    font-size: 16px;
  }

  .loop-card p {
    font-size: 11px;
    line-height: 1.38;
  }

  .loop-detail {
    margin-top: 14px;
    padding: 18px;
  }

  .loop-detail h3 {
    font-size: 20px;
  }

  .loop-detail p {
    font-size: 14px;
    line-height: 1.5;
  }

  .sticky-cta {
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-width: none;
    border-radius: 8px;
    justify-content: space-between;
  }

  .sticky-cta span {
    font-size: 12px;
    min-width: 0;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .brand {
    min-width: 0;
  }

  .site-header {
    padding-right: 16px;
  }

  .menu-button {
    margin-right: 34px;
  }

  h1 {
    font-size: clamp(28px, 7.8vw, 32px);
  }

  .hero-lede {
    font-size: 12.5px;
  }

  .hero-copy,
  .hero-panel,
  .hero-lede,
  .hero-actions,
  .leak-calculator,
  .section-heading,
  .process-list,
  .loop-grid,
  .impact-grid,
  .comparison-card,
  .about-copy,
  .capability-grid,
  .contact-copy,
  .contact-form {
    width: calc(100vw - 40px);
    max-width: calc(100vw - 40px);
    margin-left: auto;
    margin-right: auto;
  }

  .meter-card,
  .workflow-card,
  .calculator-controls,
  .calculator-result {
    width: 100%;
    max-width: 100%;
  }

  .meter-card strong {
    font-size: 40px;
  }

  .proof-strip {
    width: 100%;
    max-width: 100%;
  }

  .proof-strip div,
  .proof-strip span {
    width: auto;
    max-width: 100%;
  }

  .proof-strip div {
    padding-inline: 20px;
  }

  td {
    grid-template-columns: 1fr;
  }

  .proof-strip strong {
    font-size: 30px;
  }

  .proof-strip div:nth-child(3) strong {
    font-size: 26px;
  }

  .sticky-cta span {
    display: none;
  }

  .sticky-cta a {
    width: 100%;
  }
}
