/* Industrial Waterworks */

:root {
  --navy: #0b2a4a;
  --navy-700: #12385f;
  --blue: #1a73c9;
  --blue-600: #155fa8;
  --sky: #e8f3fd;
  --sky-200: #cfe6fb;
  --ink: #0f172a;
  --text: #334155;
  --muted: #64748b;
  --line: #dbe3ec;
  --bg: #ffffff;
  --tint: #f5f9fd;

  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgb(15 23 42 / .04), 0 8px 24px rgb(15 23 42 / .06);
  --shadow-lg: 0 2px 4px rgb(15 23 42 / .05), 0 18px 40px rgb(11 42 74 / .14);

  --container: 1160px;
  --header-h: 68px;

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 .6em;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); font-weight: 750; }
h3 { font-size: 1.125rem; font-weight: 600; letter-spacing: -0.01em; }

p { margin: 0 0 1em; }

a { color: var(--blue); }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  padding: .6rem 1rem;
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius-sm);
}
.skip-link:focus { top: 1rem; }

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .85rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: background-color .15s, color .15s, border-color .15s, transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 6px 16px rgb(26 115 201 / .25); }
.btn-primary:hover { background: var(--blue-600); }

.btn-ghost { color: var(--navy); border-color: var(--line); background: #fff; }
.btn-ghost:hover { border-color: var(--navy); }

.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--sky); }

.btn-sm { padding: .6rem 1.1rem; font-size: .9375rem; box-shadow: none; }
.btn-block { width: 100%; }

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(255 255 255 / .88);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  color: var(--navy);
  text-decoration: none;
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.brand strong { font-weight: 800; }

.site-nav {
  display: flex;
  gap: 1.75rem;
  margin-left: auto;
}
.site-nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: .9375rem;
}
.site-nav a:hover { color: var(--blue); }

@media (max-width: 1040px) {
  .site-nav { display: none; }
  .header-inner { justify-content: space-between; gap: 1rem; }
  .site-header .brand span { font-size: 1rem; }
}
.label-short { display: none; }
@media (max-width: 480px) {
  .label-long { display: none; }
  .label-short { display: inline; }
  .header-inner .btn { flex: none; white-space: nowrap; }
  .site-header .brand { gap: .45rem; }
  .site-header .brand img { width: 30px; height: 30px; }
  .site-header .brand span { font-size: .9375rem; }
}
@media (max-width: 330px) {
  .site-header .brand span { display: none; }
}

/* Shared section styles */

.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section-tint { background: var(--tint); }

.eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue);
}

.section-head { max-width: 720px; margin-bottom: 3rem; }
.section-head.center { margin-inline: auto; text-align: center; }

.lead { font-size: clamp(1.0625rem, 1.6vw, 1.1875rem); }
.muted { color: var(--muted); }

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(4.5rem, 10vw, 8rem) 0 clamp(4rem, 8vw, 6rem);
  text-align: center;
  background:
    radial-gradient(900px 420px at 50% -10%, var(--sky-200), transparent 70%),
    linear-gradient(180deg, var(--sky) 0%, #fff 75%);
}
.hero::after {
  /* Subtle wave along the bottom edge */
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 80px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0 48c180-32 360-32 540 0s360 32 540 0 270-24 360-8v40H0z' fill='%23ffffff'/%3E%3C/svg%3E") bottom / 100% 100% no-repeat;
  pointer-events: none;
}

.hero-inner { position: relative; z-index: 1; max-width: 900px; }
.hero h1 { margin-bottom: 1.5rem; text-wrap: balance; }
.hero h1 .accent { color: var(--blue); }
.hero .lead { max-width: 720px; margin-inline: auto; }
.hero .lead em { color: var(--muted); }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem;
  margin: 2.25rem 0 2.5rem;
}

.proof {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem 2rem;
}
.proof li {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--navy);
}
.proof li::before {
  content: "";
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat;
  flex: none;
}

/* Step overview cards */

.step-cards {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  counter-reset: none;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.card h3 { font-size: 1.3rem; font-weight: 500; }
.card h3 strong { font-weight: 750; }
.card p, .card li { color: var(--text); }

.step-num {
  display: block;
  margin-bottom: 1rem;
  font-size: 2.25rem;
  font-weight: 300;
  letter-spacing: .08em;
  color: var(--blue);
}

.plain { list-style: none; padding: 0; margin: 0 0 1rem; }
.plain li { padding: .35rem 0; border-bottom: 1px dashed var(--line); }
.plain li:last-child { border-bottom: 0; }

.card-link {
  margin-top: auto;
  padding-top: 1rem;
  font-weight: 600;
  font-size: .9375rem;
  text-decoration: none;
}
.card-link::after { content: " \2192"; }
.card-link:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .step-cards { grid-template-columns: 1fr; }
}

/* Step detail sections */

.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}
.split-reverse { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.split-reverse .split-media { order: 2; }

.split-media {
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 1;
  max-width: 440px;
  justify-self: center;
  width: 100%;
}
.split-media img { width: 100%; height: 100%; object-fit: cover; }

.split-body h2 { margin-bottom: .75em; }

.callout {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--blue);
  background: var(--sky);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--navy);
  font-weight: 500;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.detail {
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--blue);
  border-radius: var(--radius-sm);
}
.detail h3 { color: var(--navy); margin-bottom: .75rem; }
.detail ul { margin: 0; padding-left: 1.1rem; font-size: .9375rem; }
.detail li { margin-bottom: .4rem; }
.detail li::marker { color: var(--blue); }

@media (max-width: 1000px) {
  .detail-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 800px) {
  .split, .split-reverse { grid-template-columns: 1fr; }
  .split-reverse .split-media { order: 0; }
  .split-media { max-width: 360px; }
}
@media (max-width: 560px) {
  .detail-grid { grid-template-columns: 1fr; }
}

/* Check lists */

.checks { list-style: none; padding: 0; margin: 0 0 1rem; }
.checks li {
  position: relative;
  padding: .3rem 0 .3rem 1.9rem;
}
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55rem;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--sky) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a73c9' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* Pricing */

.pricing { background: linear-gradient(180deg, var(--tint) 0%, #fff 60%); }

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.price-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.price-card.featured {
  border-color: var(--blue);
  box-shadow: var(--shadow-lg);
}

.price-top { padding: 2rem; }
.price-top h3 { font-size: 1.25rem; margin-bottom: .6rem; }
.price-top .muted { font-size: .9375rem; min-height: 4.6em; }

.badge {
  display: inline-block;
  margin: 0 0 .9rem;
  padding: .25rem .7rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue-600);
  background: var(--sky);
  border-radius: 999px;
}

.price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .25rem .9rem;
  margin: 1.25rem 0 1.5rem;
}
.amount {
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--navy);
  line-height: 1;
}
.price-note { font-size: .875rem; color: var(--muted); }

.price-body {
  padding: 1.5rem 2rem 2rem;
  border-top: 1px solid var(--line);
  font-size: .9375rem;
}
.includes { font-weight: 700; color: var(--ink); margin-bottom: .5rem; }

.fine-print {
  margin: 2rem 0 0;
  text-align: center;
  font-size: .875rem;
  color: var(--muted);
}

@media (max-width: 960px) {
  .price-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .price-top .muted { min-height: 0; }
}

/* CTA */

.cta { padding: 0 0 clamp(4rem, 8vw, 6rem); }

.cta-box {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem 2rem;
  padding: clamp(2.5rem, 6vw, 4.5rem);
  border-radius: 20px;
  border-top: 8px solid var(--blue);
  color: #fff;
  background:
    linear-gradient(100deg, rgb(11 42 74 / .95) 0%, rgb(11 42 74 / .82) 55%, rgb(11 42 74 / .6) 100%),
    url("../img/cta.jpg") center / cover no-repeat;
}
.cta-box h2 {
  color: #fff;
  max-width: 620px;
  margin: 0;
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  text-wrap: balance;
}

/* Footer */

.site-footer {
  background: var(--navy);
  color: rgb(255 255 255 / .75);
  padding: 2.5rem 0;
  font-size: .9375rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
}
.brand-footer { color: #fff; font-size: 1rem; }
.brand-footer img { background: #fff; border-radius: 6px; padding: 2px; }
.site-footer nav { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.site-footer nav a { color: rgb(255 255 255 / .8); text-decoration: none; }
.site-footer nav a:hover { color: #fff; text-decoration: underline; }
.copyright { margin: 0; }

/* Who it's for */

.trigger-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.trigger {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.trigger h3 {
  display: flex;
  gap: .6rem;
  align-items: flex-start;
  font-size: 1.0625rem;
  color: var(--navy);
}
.trigger h3::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  margin-top: .45em;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 4px var(--sky);
}
.trigger p { margin: 0; font-size: .9375rem; color: var(--muted); }

.industries {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem 1rem;
  margin-top: 2.5rem;
}
.industries p { margin: 0; font-weight: 600; color: var(--ink); }
.industries ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.industries li {
  padding: .35rem .9rem;
  border-radius: 999px;
  background: var(--sky);
  color: var(--navy);
  font-size: .875rem;
  font-weight: 500;
}

@media (max-width: 1000px) {
  .trigger-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .trigger-grid { grid-template-columns: 1fr; }
}

/* Independence */

.independence {
  padding: clamp(4rem, 8vw, 6rem) 0;
  background: var(--navy);
  color: rgb(255 255 255 / .82);
}

.independence-inner {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.independence .eyebrow { color: #7cc0f5; }
.independence h2 { color: #fff; text-wrap: balance; }
.independence-head p:last-child { margin: 0; font-size: 1.125rem; }

.independence-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}
.independence-points li {
  position: relative;
  padding: 1.25rem 1.5rem 1.25rem 4rem;
  border: 1px solid rgb(255 255 255 / .12);
  border-radius: var(--radius);
  background: rgb(255 255 255 / .04);
}
.independence-points li::before {
  /* Crossed-out circle: "no" marker */
  content: "";
  position: absolute;
  left: 1.4rem;
  top: 1.35rem;
  width: 24px;
  height: 24px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237cc0f5' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9.5'/%3E%3Cpath d='M5.5 5.5l13 13'/%3E%3C/svg%3E") center / contain no-repeat;
}
.independence-points h3 { color: #fff; margin-bottom: .3rem; }
.independence-points p { margin: 0; font-size: .9375rem; }

@media (max-width: 860px) {
  .independence-inner { grid-template-columns: 1fr; }
}

/* Checklist lead form */

.checklist {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.checklist-pitch { padding-top: 1rem; }

.lead-form {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--blue);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.lead-form h3 { font-size: 1.375rem; margin-bottom: 1.25rem; }
.lead-form h3 + .muted { margin-top: -.85rem; font-size: .9375rem; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1rem;
}

.field { margin-bottom: 1rem; }
.field label {
  display: block;
  margin-bottom: .35rem;
  font-size: .875rem;
  font-weight: 600;
  color: var(--ink);
}
.optional { font-weight: 400; color: var(--muted); }

.field input,
.field select {
  width: 100%;
  padding: .7rem .85rem;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid #c3cfdc;
  border-radius: var(--radius-sm);
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgb(26 115 201 / .18);
}

.lead-form button { margin-top: .5rem; cursor: pointer; }
.lead-form button:disabled { opacity: .7; cursor: wait; transform: none; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.form-status { margin: .75rem 0 0; font-size: .9375rem; }
.form-status:empty { display: none; }
.form-status.is-error { color: #b42318; }

.form-note { margin: .9rem 0 0; font-size: .8125rem; color: var(--muted); }

@media (max-width: 860px) {
  .checklist { grid-template-columns: 1fr; }
  .checklist-pitch { padding-top: 0; }
}
@media (max-width: 480px) {
  .form-row { grid-template-columns: 1fr; }
}

/* FAQ */

.faq { max-width: 860px; }

.faq-group { margin-bottom: 2.5rem; }
.faq-group:last-child { margin-bottom: 0; }

.faq-group-title {
  margin-bottom: .75rem;
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

.faq details {
  border-bottom: 1px solid var(--line);
}
.faq details:first-of-type { border-top: 1px solid var(--line); }

.faq summary {
  position: relative;
  padding: 1.1rem 2.5rem 1.1rem 0;
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--blue); }
.faq summary::after {
  content: "";
  position: absolute;
  right: .25rem;
  top: 50%;
  width: 12px;
  height: 12px;
  margin-top: -9px;
  border-right: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: rotate(45deg);
  transition: transform .2s, margin-top .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }

.faq-body { padding: 0 2.5rem 1.25rem 0; }
.faq-body p:last-child { margin-bottom: 0; }
.faq-body ul { margin: 0 0 1em; padding-left: 1.2rem; }
.faq-body li { margin-bottom: .35rem; }
.faq-body li::marker { color: var(--blue); }

/* Simple pages (thank-you, privacy) */

.page-simple { padding: clamp(4rem, 9vw, 7rem) 0; }
.page-simple .container { max-width: 760px; }
.page-simple h2 { font-size: 1.375rem; margin-top: 2rem; }
.page-simple ul { padding-left: 1.2rem; }

.download-card {
  margin: 2rem 0 2.5rem;
  padding: 2rem;
  border: 1px solid var(--line);
  border-top: 4px solid var(--blue);
  border-radius: var(--radius);
  background: var(--tint);
}
.download-card p { margin-bottom: 1.25rem; }
