:root {
  --navy: #0e3151;
  --blue: #1477f8;
  --pale: #ecf5ff;
  --cream: #fcfaf6;
  --ink: #102f4e;
  --muted: #5c7084;
  --line: #e8edf2;
  --radius: 18px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--cream);
  font-family: "DM Sans", sans-serif;
  color: var(--ink);
  font-size: 16px;
}
.site-header {
  height: 72px;
  background: #fff;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 0 max(5vw, 48px);
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid #edf1f5;
}
.brand {
  font:
    800 26px/1 "Manrope",
    sans-serif;
  letter-spacing: -1.6px;
  text-decoration: none;
  color: var(--navy);
}
.brand span {
  color: var(--blue);
}
nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
nav a,
.footer-links a {
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}
.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  border-radius: 9px;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
}
.nav-cta {
  background: var(--blue);
  color: #fff;
  padding: 12px 17px;
  font-size: 14px;
}
.menu-toggle {
  display: none;
}
.section-wrap {
  width: min(1280px, 90vw);
  margin: auto;
}
.hero {
  min-height: 485px;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  background: #fff;
  overflow: hidden;
}
.hero-copy {
  padding: 60px 30px 42px 5vw;
}
.eyebrow {
  color: #476c92;
  font-weight: 700;
  letter-spacing: 1.7px;
  font-size: 11px;
  margin: 0 0 12px;
}
.hero h1,
h2,
h3 {
  font-family: "Manrope", sans-serif;
  letter-spacing: -1.5px;
}
.hero h1 {
  font-size: clamp(42px, 4vw, 66px);
  line-height: 1.04;
  max-width: 600px;
  margin: 0 0 16px;
}
.hero h1 em {
  font-style: normal;
}
.lead {
  line-height: 1.55;
  font-size: 18px;
  color: #466077;
  max-width: 540px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 25px 0 29px;
}
.button.primary {
  background: var(--blue);
  color: #fff;
  padding: 15px 22px;
  box-shadow: 0 8px 18px #1477f840;
}
.text-link {
  font-size: 14px;
  text-decoration: none;
  color: var(--blue);
  font-weight: 700;
}
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 23px;
  color: #45627c;
  font-size: 13px;
}
.washer-scene {
  background: linear-gradient(120deg, #eaf3fa, #d8ebf8);
  position: relative;
  min-height: 450px;
  overflow: hidden;
}
.washer {
  position: absolute;
  width: 255px;
  height: 328px;
  left: 50%;
  top: 56px;
  transform: translateX(-44%);
  background: #f6f8fa;
  border: 1px solid #c8d1d9;
  border-radius: 5px 5px 10px 10px;
  box-shadow: 18px 24px 34px #53728b35;
}
.washer-top {
  height: 72px;
  border-bottom: 1px solid #cbd3da;
  padding: 13px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.washer-top i {
  display: block;
  background: #d9e0e5;
  border-radius: 50%;
  width: 14px;
  height: 14px;
}
.washer-top i:last-child {
  margin-left: auto;
  border-radius: 3px;
  width: 58px;
  height: 25px;
  background: #263e54;
}
.door {
  position: absolute;
  width: 179px;
  height: 179px;
  border-radius: 50%;
  background: #30445a;
  left: 37px;
  top: 104px;
  border: 12px solid #dde4e9;
  box-shadow: inset 0 0 0 8px #182939;
}
.door div {
  position: absolute;
  inset: 20px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 35% 25%,
    #8aa5b5,
    #3c5463 45%,
    #112538 76%
  );
}
.floating-chip {
  position: absolute;
  padding: 12px 16px;
  border: 1px solid #d9e6ef;
  border-radius: 14px;
  background: #fff;
  color: var(--navy);
  font-weight: 700;
  box-shadow: 0 8px 18px #37526722;
}
.chip-a {
  left: 5%;
  top: 75px;
}
.chip-b {
  right: 5%;
  top: 98px;
}
.chip-c {
  left: 12%;
  top: 205px;
}
.chip-d {
  right: 5%;
  top: 246px;
}
.scribble {
  position: absolute;
  right: 8%;
  top: 18px;
  transform: rotate(-8deg);
  font-family: cursive;
  font-size: 19px;
  color: #214f7c;
}
.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 18px;
}
.benefits article {
  background: #fff;
  padding: 24px;
  display: flex;
  gap: 17px;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.benefits span,
.calc-icon {
  height: 48px;
  width: 48px;
  border-radius: 50%;
  background: var(--pale);
  display: grid;
  place-items: center;
  color: var(--blue);
  font-size: 28px;
  flex: 0 0 auto;
}
.benefits h3 {
  margin: 1px 0 7px;
  font-size: 17px;
}
.benefits p,
.problem-grid p,
.mini-calculators p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}
.diagnostic {
  margin-top: 28px;
  background: linear-gradient(110deg, #0b3a61, #102b47);
  border-radius: var(--radius);
  color: #fff;
  padding: 30px 38px;
}
.diag-heading {
  display: flex;
  justify-content: space-between;
  align-items: start;
}
.diag-heading .eyebrow {
  color: #a7d3ff;
}
.diag-heading h2 {
  font-size: 29px;
  margin: 0 0 5px;
}
.diag-heading p:not(.eyebrow) {
  margin: 0;
  color: #d0e0ee;
}
.steps {
  font-size: 12px;
  color: #d9e6f1;
  text-align: right;
}
.steps i {
  display: inline-block;
  width: 44px;
  height: 6px;
  background: #607990;
  border-radius: 9px;
  margin: 12px 3px 0;
}
.steps .active {
  background: var(--blue);
}
.symptom-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 25px;
}
.symptom-grid button {
  background: #fff;
  color: var(--ink);
  text-align: left;
  border: 0;
  border-radius: 10px;
  padding: 17px 20px;
  cursor: pointer;
  transition: 0.2s;
}
.symptom-grid button:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 15px #0003;
}
.symptom-grid b {
  display: block;
  font-size: 15px;
}
.symptom-grid small {
  color: #718093;
  display: block;
  margin-top: 4px;
}
.symptom-grid b::first-letter {
  color: var(--blue);
}
#diagnostic-result {
  display: none;
  background: #eaf5ff;
  color: #153c5e;
  padding: 16px 18px;
  border-radius: 9px;
  margin-top: 15px;
  line-height: 1.5;
}
.diag-actions{display:flex;gap:10px;margin-top:13px}.diag-actions button,.diag-restart{border:1px solid #b8d5ef;background:#fff;color:#143d5f;border-radius:7px;padding:9px 13px;font-weight:700;cursor:pointer}.diag-restart{margin-left:10px}.code-finder{padding:55px 0}.code-finder>p{color:var(--muted);line-height:1.55;max-width:720px}.code-finder h2{margin:0 0 8px;font-size:30px}.code-controls{display:flex;gap:12px;margin:24px 0}.code-controls input,.code-controls select{border:1px solid #cfdde8;border-radius:9px;padding:13px 14px;font:inherit;background:#fff}.code-controls input{flex:1}.code-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.code-grid article{background:#fff;border:1px solid var(--line);border-radius:12px;padding:18px}.code-grid span{font-size:12px;color:var(--blue);font-weight:800;text-transform:uppercase;letter-spacing:.7px}.code-grid h3{font-size:22px;margin:8px 0}.code-grid p{margin:8px 0;color:var(--muted);font-size:14px;line-height:1.45}.code-grid p b{color:var(--ink)}@media(max-width:900px){.code-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:620px){.code-controls,.diag-actions{flex-direction:column}.code-grid{grid-template-columns:1fr}.diag-restart{margin:10px 0 0}}
.content-section {
  padding-top: 66px;
}
.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 20px;
}
.section-title h2 {
  font-size: 31px;
  margin: 0;
}
.problem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.problem-grid article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  padding-bottom: 17px;
}
.problem-grid h3,
.problem-grid p,
.problem-grid a {
  margin-left: 15px;
  margin-right: 15px;
}
.problem-grid h3 {
  font-size: 17px;
  margin-bottom: 6px;
}
.problem-grid a,
.mini-calculators a {
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  display: block;
  margin-top: 14px;
}
.problem-image {
  height: 120px;
  margin: 10px;
  border-radius: 8px;
  background-color: #cbd8e2;
  position: relative;
  overflow: hidden;
}
.drain {
  background: radial-gradient(
    circle at 45% 5%,
    #dde9f0 0 31%,
    #395361 32% 42%,
    #152a39 44% 52%,
    #a8c0cc 54%
  );
}
.spin {
  background: radial-gradient(
    circle at 45% 38%,
    #7ea5b8 0 20%,
    #263d4e 22% 38%,
    #d7e5ea 40% 47%,
    #6b8d9b 48%
  );
}
.leak {
  background: linear-gradient(
    175deg,
    #becbd4 0 55%,
    #9eb2be 56% 63%,
    #c7e3f0 65% 100%
  );
}
.code {
  background: #334555;
  display: grid;
  place-items: center;
}
.code span {
  font-size: 44px;
  color: #ff9b29;
  font-family: monospace;
}
.calculator-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 17px;
}
.calculator-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 27px;
  border-radius: 14px;
  display: grid;
  grid-template-columns: 55px 1fr;
  gap: 14px;
}
.calculator-card h3 {
  margin: 4px 0 6px;
  font-size: 21px;
}
.calculator-card p {
  color: var(--muted);
  margin: 0;
  line-height: 1.45;
}
.calculator-card form {
  grid-column: 1/-1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}
.calculator-card label {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}
.calculator-card input {
  border: 1px solid #d7e1eb;
  border-radius: 7px;
  padding: 9px;
  width: 92px;
  margin: 0 4px;
}
.calculator-card form .button {
  padding: 10px 14px;
  font-size: 13px;
}
.calculator-card output {
  grid-column: 1/-1;
  color: #236092;
  background: #eef7ff;
  padding: 11px;
  border-radius: 7px;
  font-size: 14px;
}
.mini-calculators {
  display: grid;
  gap: 10px;
}
.mini-calculators article {
  background: #fff;
  padding: 17px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  position: relative;
}
.mini-calculators span {
  color: var(--blue);
  font-size: 24px;
  position: absolute;
  right: 18px;
  top: 16px;
}
.mini-calculators h3 {
  margin: 0 0 4px;
  font-size: 16px;
}
.mini-calculators a {
  margin-top: 6px;
}
.maintenance {
  margin-top: 68px;
  background: #dcefff;
  min-height: 160px;
  border-radius: 13px;
  padding: 28px 8%;
  display: flex;
  align-items: center;
  gap: 28px;
  position: relative;
  overflow: hidden;
}
.maintenance-copy {
  max-width: 700px;
}
.maintenance h2 {
  font-size: 25px;
  margin: 0 0 6px;
}
.maintenance p:not(.eyebrow) {
  margin: 0;
  color: #49657d;
}
.maintenance .button {
  margin-left: auto;
  white-space: nowrap;
}
.maintenance-art {
  font-size: 110px;
  color: #91bff3;
  opacity: 0.65;
}
.guide-strip {
  margin-top: 55px;
  padding: 42px max(5vw, 48px);
  background: #102f4e;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.guide-strip .eyebrow {
  color: #91c8ff;
}
.guide-strip h2 {
  margin: 0;
  font-size: 30px;
}
.guide-strip a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}
footer {
  padding: 42px 5vw 26px;
  background: #fff;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
footer > p {
  margin: 6px 0;
  color: var(--muted);
}
.footer-links {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
  align-items: center;
}
.footer-links a {
  font-size: 13px;
  color: #506b82;
}
footer small {
  grid-column: 1/-1;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  color: #7a8c9b;
  font-size: 11px;
}
@media (max-width: 900px) {
  .site-header {
    padding: 0 5vw;
  }
  .site-header nav {
    display: none;
  }
  .nav-cta {
    margin-left: auto;
  }
  .hero {
    grid-template-columns: 1fr;
  }
  .hero-copy {
    padding: 58px 7vw 35px;
  }
  .washer-scene {
    min-height: 350px;
  }
  .washer {
    transform: translateX(-50%) scale(0.85);
    top: 22px;
  }
  .problem-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .calculator-layout {
    grid-template-columns: 1fr;
  }
  .mini-calculators {
    grid-template-columns: repeat(3, 1fr);
  }
  .maintenance {
    padding: 28px;
  }
  .maintenance-art {
    display: none;
  }
}
@media (max-width: 620px) {
  .site-header {
    height: 63px;
  }
  .menu-toggle {
    display: block;
    border: 0;
    background: none;
    font-size: 22px;
  }
  .nav-cta {
    display: none;
  }
  .hero h1 {
    font-size: 43px;
  }
  .trust-row {
    gap: 10px;
  }
  .benefits,
  .symptom-grid {
    grid-template-columns: 1fr;
  }
  .diag-heading {
    display: block;
  }
  .steps {
    text-align: left;
    margin-top: 18px;
  }
  .problem-grid,
  .mini-calculators {
    grid-template-columns: 1fr;
  }
  .section-title {
    align-items: start;
  }
  .section-title .text-link {
    display: none;
  }
  .maintenance {
    display: block;
  }
  .maintenance .button {
    margin-top: 18px;
  }
  .guide-strip {
    display: block;
  }
  .guide-strip a {
    display: block;
    margin-top: 18px;
  }
  footer {
    grid-template-columns: 1fr;
  }
  .footer-links {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  .scribble {
    display: none;
  }
}
.page-hero {
  padding: 78px max(5vw, 48px) 58px;
  background: linear-gradient(130deg, #ecf6ff, #fff);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  font-size: clamp(39px, 5vw, 63px);
  line-height: 1.08;
  margin: 0 0 16px;
  font-family: "Manrope", sans-serif;
  letter-spacing: -2px;
}
.page-hero h1 em {
  font-style: normal;
  color: var(--blue);
}
.page-hero > p:last-child {
  max-width: 625px;
  line-height: 1.6;
  font-size: 18px;
  color: var(--muted);
}
.expanded {
  grid-template-columns: repeat(3, 1fr);
}
.article {
  width: min(820px, 88vw);
  margin: 0 auto;
  padding: 46px 0 72px;
}
.breadcrumbs {
  font-size: 13px;
  color: #73869a;
  margin-bottom: 33px;
}
.breadcrumbs a {
  color: var(--blue);
  text-decoration: none;
}
.article h1 {
  font:
    800 clamp(35px, 4.5vw, 57px)/1.1 "Manrope",
    sans-serif;
  letter-spacing: -2px;
  margin: 0 0 18px;
}
.article h2 {
  font-size: 27px;
  margin-top: 42px;
}
.article p {
  font-size: 17px;
  line-height: 1.7;
  color: #425d73;
}
.article .article-lead {
  font-size: 20px;
}
.safety-box {
  margin: 31px 0;
  background: #fff0db;
  border-left: 5px solid #f5a429;
  padding: 19px 21px;
  border-radius: 0 10px 10px 0;
  line-height: 1.55;
  color: #5b431a;
}
.article-cta {
  margin-top: 45px;
  padding: 30px;
  background: var(--pale);
  border-radius: 16px;
}
.article-cta h2 {
  margin: 0 0 6px;
}
.article-cta p {
  margin-top: 0;
}
@media (max-width: 900px) {
  .expanded {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 620px) {
  .page-hero {
    padding: 58px 7vw 40px;
  }
  .expanded {
    grid-template-columns: 1fr;
  }
  .article {
    padding-top: 32px;
  }
  .article h1 {
    font-size: 40px;
  }
}
