:root {
  color-scheme: light;
  --bg: #f0fdfa;
  --panel: rgba(255, 255, 255, 0.88);
  --panel-strong: #ffffff;
  --panel-soft: #ecfeff;
  --text: #073b4c;
  --muted: #52727e;
  --line: rgba(8, 145, 178, 0.18);
  --green: #10b981;
  --cyan: #06b6d4;
  --teal: #0f766e;
  --yellow: #f5c451;
  --red: #ef4444;
}

/* Homepage evidence-first information architecture */
.home-outage-strip { order: 3; flex: 1 1 100%; }
.home-decision-panel { order: 4; flex: 1 1 100%; }
.rooms { order: 5; }
.profile { order: 6; }
.diagnosis { order: 7; }
.recommendations { order: 8; }
.checkup-summary { order: 9; }
.sample-report { order: 10; }
.lead-capture { order: 11; }
.action-links { order: 12; }
.buying-quiz { order: 13; }
.local-install-handoff { order: 14; }
.home-netdoctor { order: 20; flex: 1 1 100%; width: 100%; }
.home-service-paths { order: 21; flex: 1 1 100%; width: 100%; }
.home-business-offer { order: 22; flex: 1 1 100%; width: 100%; }
.availability { order: 23; flex: 1 1 100%; }
.home-methodology { order: 24; flex: 1 1 100%; }
.how-it-works { order: 25; flex: 1 1 100%; }
.problem-guides { order: 26; }
.site-footer { order: 30; }

/* Focused Diagnostic homepage */
.hero { order: 1; }
.results { order: 2; }
.home-outage-strip { order: 3; }
.rooms { order: 4; }
.profile { order: 5; }
.diagnosis { order: 6; }
.recommendations { order: 7; }
.checkup-summary { order: 8; }
.sample-report { order: 9; }
.report-outcomes { order: 10; }
.before-after-examples { order: 11; }
.verified-reviews { order: 12; }
.pricing { order: 13; }
.lead-capture { order: 14; }
.action-links { order: 15; }
.buying-quiz { order: 16; }
.local-install-handoff { order: 17; }
.home-flagships { order: 18; }
.how-it-works { order: 19; }
.availability { order: 20; }
.problem-guides { order: 21; }
.home-trust-bar { order: 22; }
.site-footer { order: 23; }

.home-flagships,
.home-trust-bar {
  flex: 1 1 100%;
  width: 100%;
}

.home-quick-nav {
  position: absolute;
  top: 31px;
  right: 28px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 7px;
}

.home-quick-nav a {
  border-radius: 999px;
  padding: 8px 10px;
  color: #416674;
  background: rgba(255, 255, 255, 0.66);
  font-size: 0.72rem;
  font-weight: 900;
  text-decoration: none;
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.home-quick-nav a:hover {
  color: var(--text);
  background: #fff;
  transform: translateY(-1px);
}

.hero {
  min-height: 438px;
  padding: 94px 31px 30px;
  grid-template-columns: minmax(0, 1.5fr) minmax(178px, 0.5fr);
  gap: 22px;
}

.hero h1 {
  max-width: 560px;
  font-size: clamp(2.2rem, 2.85vw, 2.65rem);
  line-height: 1;
  letter-spacing: -0.035em;
}

.hero-title span {
  white-space: normal;
}

.status {
  max-width: 515px;
  font-size: 1rem;
  line-height: 1.55;
}

.meter {
  width: min(100%, 232px);
}

.metric {
  font-size: clamp(2.8rem, 5vw, 4.5rem);
}

.result {
  min-height: 135px;
  padding: 19px;
}

.home-outage-strip {
  grid-template-columns: minmax(0, 1.15fr) minmax(330px, 0.85fr);
  gap: 20px;
  padding: 16px 22px;
  border-radius: 16px;
  box-shadow: 0 15px 38px rgba(8, 55, 72, 0.12);
}

.outage-strip-copy {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 15px;
  align-items: center;
}

.outage-strip-copy .outage-live-label {
  grid-row: 1 / span 2;
  align-self: center;
  max-width: 145px;
}

.home-outage-strip h2 {
  margin: 0;
  font-size: 1.12rem;
}

.home-outage-strip p {
  margin: 4px 0 0;
  font-size: 0.83rem;
}

.home-outage-strip small {
  display: none;
}

.outage-strip-status {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.provider-status-pills {
  gap: 6px;
}

.provider-pill {
  padding: 6px 9px;
  font-size: 0.69rem;
}

.provider-pill:nth-child(n + 5) {
  display: none;
}

.outage-details-link {
  flex: 0 0 auto;
  font-size: 0.76rem;
}

.home-flagships {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(8, 145, 178, 0.18);
  border-radius: 22px;
  padding: 29px;
  background:
    radial-gradient(circle at 92% 8%, rgba(52, 211, 153, 0.13), transparent 24rem),
    linear-gradient(145deg, rgba(255,255,255,.98), rgba(240,253,250,.94));
  box-shadow: 0 22px 58px rgba(8, 55, 72, 0.1);
}

.flagship-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 19px;
}

.flagship-heading h2 {
  max-width: 720px;
  margin: 7px 0 0;
  color: var(--text);
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  letter-spacing: -0.025em;
}

.flagship-heading > a {
  flex: 0 0 auto;
  color: var(--teal);
  font-size: 0.86rem;
  font-weight: 950;
  text-decoration: none;
}

.flagship-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
}

.flagship-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 315px;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(8, 145, 178, 0.18);
  border-radius: 17px;
  padding: 22px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 12px 30px rgba(8, 55, 72, 0.06);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.flagship-card:hover {
  transform: translateY(-5px);
  border-color: rgba(13, 148, 136, 0.46);
  box-shadow: 0 22px 42px rgba(8, 55, 72, 0.13);
}

.flagship-card.featured {
  border: 2px solid rgba(16, 185, 129, 0.62);
  background:
    radial-gradient(circle at 100% 0, rgba(45, 212, 191, 0.18), transparent 13rem),
    linear-gradient(145deg, #effdf8, #fff);
}

.flagship-card.network-watch {
  background:
    radial-gradient(circle at 100% 0, rgba(6, 182, 212, 0.12), transparent 13rem),
    linear-gradient(145deg, #f1fafd, #fff);
}

.flagship-index {
  position: absolute;
  top: 12px;
  right: 17px;
  color: rgba(7, 59, 76, 0.09);
  font-size: 2.75rem;
  font-weight: 950;
  line-height: 1;
}

.flagship-badge {
  align-self: flex-start;
  max-width: calc(100% - 48px);
  border-radius: 999px;
  padding: 5px 9px;
  color: #08756e;
  background: #e9faf6;
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.flagship-card h3 {
  max-width: 85%;
  margin: 24px 0 8px;
  color: var(--text);
  font-size: 1.3rem;
}

.flagship-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.flagship-meta {
  display: grid;
  gap: 2px;
  margin-top: auto;
  padding-top: 19px;
}

.flagship-meta strong {
  color: var(--text);
  font-size: 1.25rem;
}

.flagship-meta span {
  color: var(--muted);
  font-size: 0.76rem;
}

.flagship-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 15px;
  border-radius: 11px;
  padding: 11px 13px;
  color: #fff;
  background: var(--text);
  font-size: 0.82rem;
  font-weight: 950;
  text-decoration: none;
}

.flagship-card.featured .flagship-action {
  color: #042e2c;
  background: linear-gradient(135deg, #34d399, #22d3ee);
}

.how-it-works.compact-section,
.availability.compact-section {
  flex: 1 1 calc(50% - 10px);
}

.problem-guides.compact-section {
  flex: 1 1 100%;
}

.how-it-works.compact-section,
.availability.compact-section,
.problem-guides.compact-section {
  box-shadow: 0 12px 34px rgba(8, 55, 72, 0.07);
}

.home-trust-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 17px 20px;
  background: rgba(255,255,255,.78);
}

.home-trust-bar strong {
  display: block;
  margin-top: 4px;
  color: var(--text);
}

.home-trust-bar nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 18px;
}

.home-trust-bar a {
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 900;
}

@media (max-width: 1080px) {
  .home-outage-strip {
    grid-template-columns: 1fr;
  }

  .outage-strip-status {
    justify-content: space-between;
  }
}

@media (max-width: 960px) {
  .hero {
    padding: 92px 23px 26px;
    grid-template-areas:
      "hero-copy"
      "meter";
  }

  .hero-copy {
    text-align: left;
  }

  .hero h1,
  .status {
    margin-right: 0;
    margin-left: 0;
  }

  .actions,
  .trust-strip {
    justify-content: flex-start;
  }

  .meter {
    width: min(42vw, 168px);
    justify-self: center;
  }

  .flagship-grid {
    grid-template-columns: 1fr;
  }

  .flagship-card {
    min-height: 0;
  }
}

@media (max-width: 680px) {
  .hero {
    padding: 88px 18px 22px;
  }

  .hero h1 {
    font-size: clamp(2rem, 10vw, 2.55rem);
  }

  .status {
    margin-top: 12px;
    font-size: 0.94rem;
  }

  .meter {
    width: 142px;
  }

  .home-outage-strip {
    gap: 13px;
    padding: 16px;
  }

  .outage-strip-copy {
    display: block;
  }

  .home-outage-strip h2 {
    margin-top: 8px;
  }

  .outage-strip-status,
  .flagship-heading,
  .home-trust-bar {
    align-items: flex-start;
    flex-direction: column;
  }

  .provider-status-pills {
    width: 100%;
  }

  .provider-pill {
    justify-content: flex-start;
  }

  .home-flagships {
    padding: 20px 16px;
  }

  .flagship-heading {
    gap: 10px;
  }

  .flagship-card {
    padding: 20px;
  }

  .how-it-works.compact-section,
  .availability.compact-section {
    flex-basis: 100%;
  }

  .home-trust-bar nav {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .flagship-card,
  .home-quick-nav a {
    transition: none;
  }
}

.home-outage-strip,
.home-decision-panel,
.home-methodology {
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 20px 52px rgba(8, 55, 72, 0.1);
}

.home-outage-strip {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 24px;
  align-items: center;
  padding: 24px 28px;
  color: #e8f8fb;
  background:
    radial-gradient(circle at 88% 10%, rgba(45, 212, 191, 0.2), transparent 38%),
    linear-gradient(135deg, #08283a, #0b4654);
}

.outage-live-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #8ff3df;
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.outage-live-label i,
.provider-pill i {
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 5px rgba(52, 211, 153, 0.13);
}

.home-outage-strip h2 {
  margin: 9px 0 7px;
  color: #fff;
  font-size: clamp(1.45rem, 2.5vw, 2rem);
}

.home-outage-strip p {
  margin: 0 0 7px;
  color: #d5edf2;
  line-height: 1.5;
}

.home-outage-strip small {
  color: #a8cbd3;
  line-height: 1.45;
}

.outage-strip-status {
  display: grid;
  gap: 14px;
}

.provider-status-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.provider-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 8px 11px;
  color: #eefcfd;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.76rem;
  font-weight: 850;
}

.provider-pill.down i {
  background: #f59e0b;
  box-shadow: 0 0 0 5px rgba(245, 158, 11, 0.14);
}

.provider-pill.checking {
  color: #c4dfe5;
}

.outage-details-link {
  justify-self: start;
  color: #8ff3df;
  font-weight: 950;
  text-decoration: none;
}

.home-decision-panel {
  padding: 26px;
  background: rgba(255, 255, 255, 0.94);
}

.decision-heading {
  max-width: 760px;
}

.decision-heading h2,
.home-methodology h2 {
  margin: 8px 0;
  color: var(--text);
}

.decision-heading p,
.home-methodology > div > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.decision-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.decision-card {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  color: var(--text);
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.decision-card:hover {
  transform: translateY(-4px);
  border-color: rgba(13, 148, 136, 0.42);
  box-shadow: 0 18px 36px rgba(8, 55, 72, 0.12);
}

.diagnosis-route { background: linear-gradient(145deg, #effcff, #f8ffff); }
.outage-route { background: linear-gradient(145deg, #eef6ff, #f9fbff); }
.availability-route { background: linear-gradient(145deg, #f0fdf4, #fbfffc); }

.decision-number {
  position: absolute;
  top: 15px;
  right: 18px;
  color: rgba(15, 42, 63, 0.12);
  font-size: 2.7rem;
  font-weight: 950;
}

.decision-card strong {
  display: block;
  max-width: 82%;
  margin: 14px 0 8px;
  font-size: 1.22rem;
}

.decision-card p {
  color: var(--muted);
  line-height: 1.5;
}

.decision-link {
  display: block;
  margin-top: 18px;
  color: var(--teal);
  font-weight: 950;
}

.service-paths-inner {
  max-width: 1000px;
  margin: 18px auto 0;
  border: 1px solid #cde4e8;
  border-radius: 18px;
  padding: 24px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(15, 42, 63, 0.08);
}

.service-path-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 17px;
}

.service-path-card {
  border: 1px solid;
  border-radius: 15px;
  padding: 20px;
  color: #0f2a3f;
  text-decoration: none;
}

.service-path-card.home-path {
  border-color: #cfe5ec;
  background: #f5fbfd;
}

.service-path-card.business-path {
  border-color: #cfe6d9;
  background: #f3fbf7;
}

.home-methodology {
  padding: 28px;
  background: linear-gradient(135deg, rgba(255,255,255,.96), rgba(240,253,250,.92));
}

.methodology-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.methodology-grid article {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 17px;
  background: rgba(255,255,255,.82);
}

.methodology-grid span {
  color: var(--teal);
  font-size: .75rem;
  font-weight: 950;
  text-transform: uppercase;
}

.methodology-grid strong {
  display: block;
  margin: 9px 0 7px;
  color: var(--text);
}

.methodology-grid p {
  margin: 0;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.5;
}

.methodology-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 18px;
}

.methodology-links a {
  color: var(--teal);
  font-weight: 900;
}

@media (max-width: 960px) {
  .home-outage-strip {
    grid-template-columns: 1fr;
  }

  .decision-grid,
  .methodology-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .decision-grid,
  .methodology-grid,
  .service-path-grid {
    grid-template-columns: 1fr;
  }

  .home-outage-strip,
  .home-decision-panel,
  .home-methodology {
    padding: 20px;
  }

  .decision-card {
    min-height: 0;
  }

  .provider-status-pills {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

.success-journey {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0;
}

.success-journey div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(236, 254, 255, 0.62);
}

.success-journey strong,
.success-journey span {
  display: block;
}

.success-journey span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.success-promise {
  display: grid;
  gap: 5px;
  margin: -4px 0 24px;
  padding: 17px 18px;
  border: 1px solid rgba(16, 185, 129, 0.32);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(240, 253, 244, 0.96), rgba(236, 254, 255, 0.9));
}

.success-promise strong {
  color: var(--teal);
  font-size: 1rem;
}

.success-promise span {
  color: var(--muted);
  line-height: 1.55;
}

@media (max-width: 680px) {
  .success-journey {
    grid-template-columns: 1fr;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 14% 8%, rgba(103, 232, 249, 0.68), transparent 30rem),
    radial-gradient(circle at 86% 14%, rgba(167, 243, 208, 0.82), transparent 28rem),
    radial-gradient(circle at 78% 88%, rgba(186, 230, 253, 0.72), transparent 32rem),
    linear-gradient(135deg, #ecfeff 0%, #f0fdf4 54%, #f8fafc 100%);
  color: var(--text);
}

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

.shell {
  width: min(1180px, calc(100% - 32px));
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  grid-template-areas:
    "hero results"
    "rooms rooms"
    "profile profile"
    "diagnosis recommendations"
    "summary summary"
    "sample sample"
    "lead lead"
    "actions actions"
    "quiz quiz"
    "local local"
    "how availability"
    "problems problems"
    "footer footer";
  gap: 20px;
  align-content: center;
  padding: 34px 0;
}

.hero,
.results,
.diagnosis,
.profile,
.recommendations,
.checkup-summary,
.how-it-works,
.availability,
.action-links,
.buying-quiz,
.rooms,
.sample-report,
.report-outcomes,
.pricing,
.local-install-handoff,
.problem-guides,
.lead-capture,
.site-footer,
.settings {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  box-shadow: 0 24px 70px rgba(15, 118, 110, 0.14);
  backdrop-filter: blur(18px);
}

.hero {
  position: relative;
  grid-area: hero;
  min-height: 520px;
  padding: 104px 34px 34px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(220px, 0.92fr);
  grid-template-areas:
    "hero-copy meter"
    "hero-conversion meter";
  grid-template-rows: auto auto;
  gap: 30px;
  align-items: center;
  justify-content: center;
  text-align: left;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 16px;
  border: 1px solid rgba(16, 185, 129, 0.14);
  pointer-events: none;
}

.brand {
  position: absolute;
  top: 24px;
  left: 28px;
  right: 28px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  max-width: calc(100% - 56px);
  border: 1px solid rgba(8, 145, 178, 0.16);
  border-radius: 18px;
  padding: 8px 12px 8px 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 34px rgba(15, 118, 110, 0.1);
  text-align: left;
  z-index: 2;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  box-shadow: 0 10px 24px rgba(6, 182, 212, 0.16);
}

.brand-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.brand-name {
  color: var(--text);
  font-size: 1.06rem;
  font-weight: 900;
  line-height: 1;
}

.brand-tagline {
  display: block;
  max-width: 258px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1.25;
  overflow-wrap: normal;
}

.meter {
  grid-area: meter;
  width: min(100%, 286px);
  aspect-ratio: 1;
  margin: 0;
  justify-self: center;
}

.meter-context {
  display: none;
}

.ring {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    conic-gradient(var(--cyan) calc(var(--progress) * 1%), rgba(6, 182, 212, 0.14) 0),
    linear-gradient(145deg, #ecfeff, #dcfce7);
  box-shadow: 0 22px 58px rgba(6, 182, 212, 0.22);
  transition: background 180ms ease;
}

.ring::before {
  content: "";
  position: absolute;
  width: 76%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #f8fffc;
  border: 1px solid rgba(6, 182, 212, 0.14);
}

.readout {
  position: relative;
  z-index: 1;
  width: 100%;
  display: grid;
  justify-items: center;
  text-align: center;
}

.metric {
  display: block;
  min-width: 0;
  font-size: clamp(3.2rem, 6vw, 5.4rem);
  line-height: 0.9;
  font-weight: 900;
}

.unit {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-weight: 900;
  text-align: center;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(2.2rem, 6vw, 4.7rem);
  line-height: 1;
  font-weight: 900;
}

.hero-copy {
  grid-area: hero-copy;
  position: relative;
  z-index: 1;
  min-width: 0;
}

.hero-conversion {
  grid-area: hero-conversion;
  position: relative;
  z-index: 1;
  min-width: 0;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 1px solid rgba(6, 182, 212, 0.22);
  border-radius: 999px;
  padding: 0 11px;
  color: var(--teal);
  background: rgba(255, 255, 255, 0.78);
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 560px;
  margin-top: 14px;
  font-size: clamp(2.15rem, 3.25vw, 3rem);
  line-height: 0.98;
}

.hero-title span {
  display: block;
  white-space: nowrap;
}

.status {
  max-width: 560px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.6;
}

.trust-strip {
  max-width: 680px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.trust-strip li {
  border: 1px solid rgba(20, 184, 166, 0.22);
  border-radius: 999px;
  padding: 7px 10px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.76);
  font-size: 0.82rem;
  font-weight: 900;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}

.ookla-button {
  min-height: 54px;
  background: rgba(255, 255, 255, 0.86);
}

.primary-button,
.icon-button {
  min-height: 48px;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  color: #032018;
  background: linear-gradient(135deg, #34d399, #22d3ee);
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(16, 185, 129, 0.22);
}

.primary-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 28px;
  font-size: 1rem;
  white-space: nowrap;
}

.icon-button {
  width: 48px;
  display: grid;
  place-items: center;
  background: var(--panel-strong);
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: none;
}

.primary-button:disabled,
.icon-button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.play-icon {
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid currentColor;
}

.reset-icon {
  width: 18px;
  height: 18px;
  border: 3px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
}

.results {
  grid-area: results;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  background: rgba(6, 182, 212, 0.16);
}

.result {
  min-height: 156px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.88);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.label,
.hint {
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.result strong {
  font-size: clamp(2rem, 5vw, 3.35rem);
  line-height: 1;
}

.diagnosis,
.profile,
.recommendations,
.checkup-summary,
.availability,
.action-links,
.pricing,
.rooms,
.settings {
  padding: 24px;
}

.diagnosis {
  grid-area: diagnosis;
}

.diagnosis h2,
.profile h2,
.recommendations h2,
.checkup-summary h2,
.availability h2,
.pricing h2,
.room-header h2,
.lead-capture h2 {
  margin-top: 8px;
  font-size: 1.6rem;
}

.diagnosis p,
.recommendations p,
.checkup-summary p,
.availability p,
.pricing p,
.settings p,
.lead-capture p {
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.65;
}

.profile {
  grid-area: profile;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.profile-grid label,
.profile-extra-grid label,
.room-form label,
.settings label,
.lead-form label {
  color: var(--teal);
  font-weight: 900;
}

.profile-grid label,
.profile-extra-grid label {
  display: grid;
  gap: 8px;
}

.profile-grid select,
.profile-extra-grid select,
.room-input-row input,
.settings input,
.lead-form input,
.lead-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text);
  background: var(--panel-strong);
  box-shadow: inset 0 1px 0 rgba(6, 182, 212, 0.04);
}

.profile-grid select,
.profile-extra-grid select {
  min-height: 46px;
  padding: 0 10px;
}

.profile-extra {
  grid-column: 1 / -1;
  margin-top: 2px;
}

.profile-extra summary {
  cursor: pointer;
  color: var(--teal);
  font-weight: 900;
}

.profile-extra-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.compact-section {
  padding: 0;
  overflow: hidden;
}

.compact-section details {
  padding: 18px 20px;
}

.compact-section summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.compact-section summary::-webkit-details-marker {
  display: none;
}

.compact-section summary::after {
  content: "+";
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--teal);
  background: rgba(20, 184, 166, 0.12);
  border: 1px solid rgba(20, 184, 166, 0.18);
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1;
}

.compact-section details[open] summary::after {
  content: "-";
}

.compact-section summary span {
  min-width: 0;
}

.compact-section summary strong {
  display: block;
  margin-top: 6px;
  color: var(--text);
  font-size: 1.25rem;
  line-height: 1.18;
}

.compact-section details > p,
.compact-section .affiliate-note {
  margin-top: 14px;
}

.compact-section .flow-header {
  display: block;
  margin-top: 14px;
}

.how-it-works.compact-section,
.problem-guides.compact-section {
  padding: 0;
}

.recommendations {
  grid-area: recommendations;
}

.buying-quiz {
  grid-area: quiz;
  padding: 24px;
}

.checkup-summary {
  grid-area: summary;
}

.summary-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.confidence-pill {
  min-width: 88px;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 14px;
  color: #032018;
  background: #ecfeff;
  border: 1px solid var(--line);
  font-size: 0.84rem;
  font-weight: 900;
}

.confidence-pill[data-level="high"] {
  background: rgba(16, 185, 129, 0.16);
  color: #065f46;
}

.confidence-pill[data-level="medium"] {
  background: rgba(245, 196, 81, 0.22);
  color: #7c5200;
}

.confidence-pill[data-level="low"],
.confidence-pill[data-level="pending"] {
  background: rgba(236, 254, 255, 0.9);
  color: var(--teal);
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.summary-item {
  min-height: 118px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.84);
}

.summary-item strong {
  display: block;
  margin-top: 10px;
  color: var(--text);
  font-size: 1.18rem;
  line-height: 1.25;
}

.availability {
  grid-area: availability;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 0.75fr) minmax(300px, 1fr);
  gap: 18px;
  align-items: start;
}

.availability-form label {
  display: block;
  margin-bottom: 8px;
  color: var(--teal);
  font-weight: 900;
}

.availability-input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.location-button {
  min-height: 38px;
  margin-top: 10px;
  border: 0;
  border-radius: 10px;
  padding: 0 12px;
  color: var(--teal);
  background: rgba(236, 254, 255, 0.9);
  cursor: pointer;
  font-weight: 900;
}

.availability-privacy {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.availability-input-row input {
  min-height: 48px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 12px;
  color: var(--text);
  background: var(--panel-strong);
}

.availability-result {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.82);
}

.availability-result h3 {
  margin: 0;
  font-size: 1.1rem;
}

.availability-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}

.availability-meta span {
  border: 1px solid rgba(15, 118, 110, 0.2);
  border-radius: 999px;
  padding: 6px 9px;
  color: var(--teal);
  background: rgba(236, 254, 255, 0.9);
  font-size: 0.76rem;
  font-weight: 900;
}

.availability-source {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.4;
}

.availability-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 14px;
}

.availability-actions a {
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 900;
}

.action-links {
  grid-area: actions;
}

.action-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.7fr);
  gap: 18px;
  align-items: start;
}

.affiliate-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.action-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.action-card {
  min-height: 190px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(236, 254, 255, 0.7));
  display: flex;
  flex-direction: column;
}

.action-card h3 {
  margin: 8px 0 0;
  font-size: 1.15rem;
}

.action-card p {
  margin: 10px 0 12px;
  color: var(--muted);
  line-height: 1.5;
}

.solution-meta {
  display: grid;
  gap: 8px;
  margin: 0 0 16px;
}

.solution-meta span {
  display: block;
  border: 1px solid rgba(8, 145, 178, 0.16);
  border-radius: 12px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 750;
  line-height: 1.35;
}

.solution-meta b {
  display: block;
  margin-bottom: 3px;
  color: var(--text);
  font-size: 0.75rem;
  text-transform: uppercase;
}

.action-link {
  margin-top: auto;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 0 14px;
  color: #032018;
  background: linear-gradient(135deg, #34d399, #22d3ee);
  font-weight: 900;
  text-decoration: none;
}

.quiz-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.75fr);
  gap: 18px;
  align-items: start;
}

.quiz-header h2 {
  margin-top: 8px;
}

.quiz-header p {
  color: var(--muted);
  line-height: 1.6;
}

.quiz-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.quiz-grid label {
  display: grid;
  gap: 8px;
  color: var(--teal);
  font-weight: 900;
}

.quiz-grid select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 10px;
  color: var(--text);
  background: var(--panel-strong);
}

.quiz-result {
  margin-top: 18px;
  border: 1px solid rgba(20, 184, 166, 0.24);
  border-radius: 16px;
  padding: 18px;
  background: linear-gradient(135deg, rgba(236, 254, 255, 0.92), rgba(240, 253, 244, 0.88));
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
}

.quiz-result h3 {
  margin-top: 8px;
  font-size: 1.35rem;
}

.quiz-result p {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.5;
}

.recommendation-list {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.recommendation-list li {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  background: rgba(236, 254, 255, 0.78);
  color: var(--muted);
  line-height: 1.45;
}

.rooms {
  grid-area: rooms;
}

.room-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.room-form {
  margin-top: 18px;
}

.room-form label {
  display: block;
  margin-bottom: 8px;
}

.room-input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.room-input-row input {
  min-height: 48px;
  padding: 0 12px;
}

.secondary-button {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 18px;
  cursor: pointer;
  color: #075985;
  background: #ecfeff;
  font-weight: 900;
}

.secondary-button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.room-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.room-card,
.empty-room {
  min-height: 126px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.82);
}

.room-source {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
}

.result-import-dialog {
  width: min(680px, calc(100% - 28px));
  max-height: calc(100vh - 28px);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 0;
  color: var(--text);
  background: #ffffff;
  box-shadow: 0 32px 90px rgba(7, 59, 76, 0.28);
  overflow: auto;
}

.result-import-dialog::backdrop {
  background: rgba(7, 59, 76, 0.58);
  backdrop-filter: blur(5px);
}

.result-import-form {
  padding: 26px;
}

.result-import-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.result-import-header h2 {
  margin-top: 7px;
  font-size: 1.65rem;
}

.result-import-form > p {
  margin-top: 13px;
  color: var(--muted);
  line-height: 1.55;
}

.dialog-close-button {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  color: var(--text);
  background: var(--panel-soft);
  font-size: 1.6rem;
  line-height: 1;
}

.result-import-link {
  width: fit-content;
  margin-top: 18px;
  color: #032018;
  text-decoration: none;
}

.result-import-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
  margin-top: 20px;
}

.result-import-grid label {
  display: grid;
  gap: 7px;
  color: var(--teal);
  font-weight: 900;
}

.result-import-grid input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 12px;
  color: var(--text);
  background: #ffffff;
}

.result-import-wide {
  grid-column: 1 / -1;
}

.result-import-actions {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 20px;
}

.result-import-actions .form-status {
  margin: 0;
}

.result-import-disclaimer {
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
}

.empty-room {
  grid-column: 1 / -1;
  color: var(--muted);
  line-height: 1.55;
}

.room-map-panel {
  margin-top: 18px;
  border: 1px solid rgba(20, 184, 166, 0.22);
  border-radius: 16px;
  padding: 18px;
  background: rgba(236, 254, 255, 0.6);
}

.room-map-header {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
}

.room-map-header h3 {
  margin-top: 8px;
  font-size: 1.25rem;
}

.map-mode {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 10px;
  color: var(--teal);
  background: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  font-weight: 900;
}

.room-map {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.map-room {
  border: 1px solid var(--line);
  border-left-width: 8px;
  border-radius: 14px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.84);
}

.map-room.healthy {
  border-left-color: var(--green);
}

.map-room.warning {
  border-left-color: var(--yellow);
}

.map-room.danger {
  border-left-color: var(--red);
}

.map-room-top,
.map-speed-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.map-room-top strong {
  color: var(--text);
  font-size: 1.05rem;
}

.map-room-top span,
.map-speed-row span,
.map-room p {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.signal-bars {
  display: flex;
  align-items: end;
  gap: 4px;
  height: 28px;
  margin: 12px 0;
}

.signal-bars i {
  width: 9px;
  border-radius: 999px;
  background: currentColor;
}

.signal-bars i:nth-child(1) { height: 9px; }
.signal-bars i:nth-child(2) { height: 14px; }
.signal-bars i:nth-child(3) { height: 20px; }
.signal-bars i:nth-child(4) { height: 26px; }

.map-room.healthy .signal-bars {
  color: var(--green);
}

.map-room.warning .signal-bars {
  color: var(--yellow);
}

.map-room.warning .signal-bars i:nth-child(4),
.map-room.danger .signal-bars i:nth-child(3),
.map-room.danger .signal-bars i:nth-child(4) {
  opacity: 0.18;
}

.map-room.danger .signal-bars {
  color: var(--red);
}

.map-bar {
  height: 10px;
  margin-top: 12px;
  border-radius: 999px;
  background: rgba(186, 230, 253, 0.52);
  overflow: hidden;
}

.map-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: currentColor;
}

.map-room.healthy .map-bar {
  color: var(--green);
}

.map-room.warning .map-bar {
  color: var(--yellow);
}

.map-room.danger .map-bar {
  color: var(--red);
}

.map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 900;
}

.map-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.map-legend i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.healthy-dot { background: var(--green); }
.warning-dot { background: var(--yellow); }
.danger-dot { background: var(--red); }

.room-card strong {
  display: block;
  font-size: 1.05rem;
}

.room-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.room-stat span {
  display: block;
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.room-stat b {
  display: block;
  margin-top: 4px;
  font-size: 1.15rem;
}

.room-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.report-prompt {
  margin-top: 18px;
  border: 1px solid rgba(20, 184, 166, 0.24);
  border-radius: 20px;
  padding: 20px;
  background:
    radial-gradient(circle at 8% 0%, rgba(45, 212, 191, 0.22), transparent 30%),
    linear-gradient(135deg, rgba(236, 254, 255, 0.96), rgba(240, 253, 244, 0.92)),
    var(--panel-strong);
  box-shadow: 0 24px 55px rgba(14, 165, 233, 0.15);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, auto);
  gap: 20px;
  align-items: center;
}

.report-prompt[hidden] {
  display: none;
}

.report-prompt h3 {
  margin-top: 8px;
  max-width: 780px;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  line-height: 1.08;
}

.report-prompt p {
  margin-top: 8px;
  max-width: 760px;
  color: var(--muted);
  line-height: 1.5;
}

.report-prompt-includes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  align-items: center;
  margin-top: 14px;
}

.report-prompt-includes span {
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 950;
}

.report-prompt-includes ul {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.report-prompt-includes li {
  border: 1px solid rgba(14, 165, 233, 0.18);
  border-radius: 999px;
  padding: 7px 9px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  font-weight: 900;
}

.report-prompt-metrics {
  display: grid;
  grid-template-columns: 0.75fr 1fr 1.15fr;
  gap: 10px;
  margin-top: 16px;
}

.report-prompt-metrics span {
  min-width: 0;
  border: 1px solid rgba(14, 165, 233, 0.16);
  border-radius: 14px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 24px rgba(14, 165, 233, 0.08);
}

.report-prompt-metrics strong,
.report-prompt-metrics small {
  display: block;
}

.report-prompt-metrics strong {
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.2;
}

.report-prompt-metrics small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 900;
}

.mini-proof-list {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mini-proof-list li {
  border: 1px solid rgba(20, 184, 166, 0.22);
  border-radius: 999px;
  padding: 7px 10px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  font-weight: 900;
}

.report-prompt-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  justify-content: center;
  min-width: 190px;
}

.report-prompt-actions .primary-button,
.report-prompt-actions .secondary-link {
  justify-content: center;
  text-align: center;
}

.checkout-reassurance {
  margin: 0;
  border: 1px solid rgba(16, 185, 129, 0.22);
  border-radius: 12px;
  padding: 10px 11px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.82);
  font-size: 0.82rem;
  font-weight: 820;
  line-height: 1.42;
}

.checkout-reassurance a {
  color: var(--teal);
  font-weight: 950;
}

.settings {
  grid-area: settings;
  display: none;
}

.how-it-works {
  grid-area: how;
  padding: 26px;
}

.flow-header {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(280px, 1fr);
  gap: 18px;
  align-items: end;
}

.flow-header h2 {
  margin: 8px 0 0;
  font-size: clamp(1.8rem, 3vw, 2.65rem);
}

.flow-header p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.flow-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.flow-steps article {
  position: relative;
  min-height: 174px;
  border: 1px solid rgba(8, 145, 178, 0.2);
  border-radius: 16px;
  padding: 20px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(236, 254, 255, 0.92));
  overflow: hidden;
}

.flow-steps article::after {
  content: "";
  position: absolute;
  right: -28px;
  bottom: -32px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.12);
}

.flow-steps span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: var(--text);
  color: #ffffff;
  font-weight: 900;
}

.flow-steps h3 {
  margin: 18px 0 8px;
  font-size: 1.25rem;
}

.flow-steps p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.pricing {
  grid-area: pricing;
}

.local-install-handoff {
  grid-area: local;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1fr);
  gap: 18px;
  align-items: stretch;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(236, 254, 255, 0.92)),
    radial-gradient(circle at 95% 5%, rgba(16, 185, 129, 0.18), transparent 18rem);
}

.local-install-handoff h2 {
  margin: 8px 0 0;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  letter-spacing: 0;
}

.local-install-handoff p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.local-install-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  border: 1px solid rgba(16, 185, 129, 0.34);
  border-radius: 16px;
  padding: 18px;
  background:
    linear-gradient(135deg, #ffffff, #f0fdfa),
    radial-gradient(circle at 100% 0%, rgba(6, 182, 212, 0.2), transparent 11rem);
  box-shadow: 0 18px 45px rgba(15, 118, 110, 0.14);
}

.local-install-card span,
.local-service-note {
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.local-install-card h3 {
  margin: 8px 0 0;
  font-size: 1.45rem;
}

.local-install-card p {
  margin: 8px 0 0;
  font-size: 0.95rem;
}

.local-install-list {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.local-install-list li {
  border: 1px solid rgba(8, 145, 178, 0.16);
  border-radius: 13px;
  padding: 12px 13px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--text);
  font-weight: 850;
  line-height: 1.35;
}

.local-service-links {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.local-service-links a {
  border: 1px solid rgba(8, 145, 178, 0.18);
  border-radius: 999px;
  padding: 9px 12px;
  color: var(--teal);
  background: rgba(255, 255, 255, 0.8);
  font-size: 0.86rem;
  font-weight: 950;
  text-decoration: none;
}

.local-service-links a:hover {
  border-color: rgba(15, 118, 110, 0.45);
  background: #ffffff;
}

.local-service-note {
  margin-top: auto;
  padding-top: 14px;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.45;
}

.local-service-note a {
  color: var(--teal);
  font-weight: 950;
}

.install-help-form {
  grid-column: 1 / -1;
  border: 1px solid rgba(8, 145, 178, 0.18);
  border-radius: 16px;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(240, 253, 250, 0.9)),
    radial-gradient(circle at 100% 0%, rgba(245, 196, 81, 0.18), transparent 12rem);
}

.install-form-head {
  max-width: 720px;
}

.install-form-head h3 {
  margin: 8px 0 0;
  font-size: 1.35rem;
}

.install-form-head p {
  margin-top: 8px;
}

.install-form-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.install-form-grid label {
  display: grid;
  gap: 7px;
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 900;
}

.install-form-grid input,
.install-form-grid select,
.install-form-grid textarea {
  width: 100%;
  border: 1px solid rgba(8, 145, 178, 0.2);
  border-radius: 12px;
  padding: 11px 12px;
  color: var(--text);
  background: #ffffff;
  font: inherit;
  font-size: 0.94rem;
}

.install-form-grid input:focus,
.install-form-grid select:focus,
.install-form-grid textarea:focus {
  outline: 3px solid rgba(34, 211, 238, 0.25);
  border-color: rgba(15, 118, 110, 0.46);
}

.install-form-wide {
  grid-column: 1 / -1;
}

.install-notes {
  grid-column: span 2;
}

.install-form-grid textarea {
  resize: vertical;
}

.install-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 14px;
}

.install-form-actions p {
  flex: 1 1 280px;
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.sample-report {
  grid-area: sample;
  padding: 24px;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
  gap: 22px;
  align-items: center;
}

.sample-report-copy h2 {
  margin-top: 8px;
}

.sample-report-card {
  border: 1px solid rgba(20, 184, 166, 0.24);
  border-radius: 16px;
  padding: 18px;
  background: linear-gradient(135deg, rgba(236, 254, 255, 0.94), rgba(255, 255, 255, 0.9));
}

.sample-report-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}

.sample-report-head strong {
  color: var(--text);
}

.sample-report-head span,
.sample-report-card p {
  color: var(--muted);
  font-weight: 800;
}

.sample-room-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-left-width: 8px;
  border-radius: 12px;
  padding: 11px 12px;
  margin-top: 8px;
  background: rgba(255, 255, 255, 0.82);
}

.sample-room-row span,
.sample-room-row b {
  color: var(--text);
  font-weight: 900;
}

.sample-room-row i {
  color: var(--muted);
  font-style: normal;
  font-weight: 800;
}

.sample-room-row.healthy { border-left-color: var(--green); }
.sample-room-row.warning { border-left-color: var(--yellow); }
.sample-room-row.danger { border-left-color: var(--red); }

.sample-report-card p {
  margin-top: 14px;
  line-height: 1.5;
}

.ontario-report-proof {
  grid-column: 1 / -1;
  border: 1px solid rgba(20, 184, 166, 0.28);
  border-radius: 18px;
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(236, 254, 255, 0.98), rgba(255, 255, 255, 0.9)),
    var(--panel-strong);
  box-shadow: 0 18px 38px rgba(15, 118, 110, 0.1);
}

.ontario-report-proof h3 {
  margin: 8px 0 0;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.ontario-report-proof p {
  max-width: 820px;
}

.ontario-report-proof ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.ontario-report-proof li {
  border: 1px solid rgba(14, 165, 233, 0.2);
  border-radius: 14px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.82);
}

.ontario-report-proof strong,
.ontario-report-proof span {
  display: block;
}

.ontario-report-proof strong {
  color: var(--text);
  font-size: 1rem;
}

.ontario-report-proof span {
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.45;
  font-weight: 750;
}

.report-outcomes {
  grid-area: outcomes;
  padding: 24px;
}

.outcomes-header {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 1fr);
  gap: 18px;
  align-items: end;
}

.outcomes-header h2 {
  margin-top: 8px;
  font-size: clamp(1.8rem, 3vw, 2.55rem);
}

.outcomes-header p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.outcome-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.outcome-card {
  min-height: 250px;
  border: 1px solid var(--line);
  border-top: 7px solid var(--cyan);
  border-radius: 16px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 18px 38px rgba(8, 55, 72, 0.08);
  display: flex;
  flex-direction: column;
}

.outcome-card.provider { border-top-color: var(--yellow); }
.outcome-card.coverage { border-top-color: var(--green); }
.outcome-card.value { border-top-color: var(--cyan); }

.outcome-card span {
  align-self: flex-start;
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(236, 254, 255, 0.9);
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.outcome-card h3 {
  margin: 14px 0 0;
  color: var(--text);
  font-size: 1.16rem;
  line-height: 1.25;
}

.outcome-card p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.55;
}

.outcome-card strong {
  margin-top: auto;
  color: var(--text);
  line-height: 1.35;
}

.before-after-examples,
.verified-reviews {
  padding: 24px;
}

.before-after-grid,
.verified-review-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.before-after-grid article,
.verified-review-grid article {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 38px rgba(8, 55, 72, 0.08);
}

.before-after-grid > article > span {
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.comparison-bars {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.comparison-bars div {
  display: grid;
  grid-template-columns: minmax(110px, 0.8fr) minmax(120px, 1.4fr) auto;
  gap: 10px;
  align-items: center;
}

.comparison-bars b,
.comparison-bars strong {
  color: var(--text);
  font-size: 0.86rem;
}

.comparison-bars i {
  position: relative;
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #dff7fb;
}

.comparison-bars i::after {
  content: "";
  display: block;
  width: var(--bar);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), var(--green));
}

.before-after-grid p {
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.review-stars {
  color: #b77900;
  font-size: 1rem;
  letter-spacing: 0;
}

.verified-review-grid blockquote {
  margin: 14px 0;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.6;
}

.verified-review-grid p {
  display: grid;
  gap: 4px;
  margin: 0;
}

.verified-review-grid span {
  color: var(--muted);
  font-size: 0.85rem;
}

.problem-guides {
  grid-area: problems;
  padding: 24px;
}

.how-it-works.compact-section,
.problem-guides.compact-section {
  padding: 0;
}

.pricing-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.75fr);
  gap: 18px;
  align-items: start;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.price-card {
  min-height: 392px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.84);
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  transform: translateY(-8px);
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(220, 252, 231, 0.96)),
    radial-gradient(circle at 90% 0%, rgba(6, 182, 212, 0.2), transparent 15rem);
  border-color: rgba(16, 185, 129, 0.52);
  box-shadow: 0 24px 62px rgba(16, 185, 129, 0.2);
}

.price-card.featured::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 7px;
  background: linear-gradient(90deg, var(--cyan), var(--green), var(--yellow));
}

.price-label {
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.price-card h3 {
  margin: 10px 0 0;
  font-size: 1.15rem;
}

.price-card strong {
  display: block;
  margin-top: 10px;
  color: var(--text);
  font-size: 2.4rem;
  line-height: 1;
}

.price-card p {
  margin: 14px 0 18px;
  color: var(--muted);
  line-height: 1.5;
}

.price-card .trust-note {
  margin: 0 0 16px;
  color: var(--teal);
  font-size: 0.88rem;
  font-weight: 900;
}

.report-card-preview {
  border: 1px solid rgba(6, 182, 212, 0.26);
  border-radius: 16px;
  padding: 12px;
  margin: 0 0 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(236, 254, 255, 0.9)),
    radial-gradient(circle at 100% 0%, rgba(16, 185, 129, 0.18), transparent 8rem);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 14px 28px rgba(8, 145, 178, 0.12);
}

.preview-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  border-bottom: 1px solid rgba(8, 145, 178, 0.16);
  padding-bottom: 10px;
  margin-bottom: 10px;
}

.preview-toolbar span,
.preview-fix span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.preview-toolbar b {
  color: var(--green);
  font-size: 0.78rem;
  white-space: nowrap;
}

.preview-room {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  border: 1px solid rgba(8, 145, 178, 0.15);
  border-left-width: 7px;
  border-radius: 12px;
  padding: 9px 10px;
  margin-top: 8px;
  background: rgba(255, 255, 255, 0.8);
}

.preview-room span {
  min-width: 0;
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.preview-room b {
  font-size: 0.78rem;
  white-space: nowrap;
}

.preview-room.healthy {
  border-left-color: var(--green);
}

.preview-room.healthy b {
  color: var(--green);
}

.preview-room.warning {
  border-left-color: var(--yellow);
}

.preview-room.warning b {
  color: #9a6a00;
}

.preview-room.danger {
  border-left-color: var(--red);
}

.preview-room.danger b {
  color: var(--red);
}

.preview-fix {
  border-radius: 13px;
  padding: 11px 12px;
  margin-top: 10px;
  background: rgba(7, 59, 76, 0.94);
}

.preview-fix span {
  display: block;
  color: rgba(255, 255, 255, 0.68);
}

.preview-fix b {
  display: block;
  margin-top: 4px;
  color: #ffffff;
  font-size: 0.92rem;
  line-height: 1.3;
}

.report-card-preview b {
  color: var(--text);
  line-height: 1.3;
}

.payment-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.payment-trust li {
  border: 1px solid rgba(16, 185, 129, 0.24);
  border-radius: 999px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
}

.payment-trust li::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  margin-right: 7px;
  background: var(--green);
}

.delivery-note,
.independent-note {
  border: 1px solid rgba(14, 165, 233, 0.18);
  border-radius: 12px;
  padding: 11px 12px;
  background: rgba(236, 254, 255, 0.68);
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 760;
  line-height: 1.45;
}

.delivery-note {
  margin: -4px 0 16px;
}

.included-list {
  display: grid;
  gap: 7px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.included-list li {
  position: relative;
  padding-left: 20px;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.35;
}

.included-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
}

.price-card .plan-button {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
}

.settings summary {
  cursor: pointer;
  color: var(--teal);
  font-weight: 900;
}

.settings label {
  display: block;
  margin-top: 16px;
  margin-bottom: 8px;
}

.settings input {
  min-height: 44px;
  padding: 0 12px;
}

.guide-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.75fr);
  gap: 18px;
  align-items: start;
}

.guide-header h2 {
  margin-top: 8px;
}

.guide-header p {
  color: var(--muted);
  line-height: 1.6;
}

.problem-link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.problem-link-grid a {
  min-height: 48px;
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 11px 12px;
  color: var(--teal);
  background: rgba(255, 255, 255, 0.78);
  font-weight: 900;
  line-height: 1.3;
  text-decoration: none;
}

.guide-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 7px 12px;
  align-items: end;
  margin-top: 18px;
}

.guide-search label {
  grid-column: 1 / -1;
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 900;
}

.guide-search input {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(8, 145, 178, 0.28);
  border-radius: 12px;
  padding: 0 14px;
  color: var(--text);
  background: #fff;
  font: inherit;
}

.guide-search input:focus {
  border-color: var(--cyan);
  outline: 3px solid rgba(6, 182, 212, 0.14);
}

.guide-search span {
  min-width: 88px;
  padding-bottom: 12px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  text-align: right;
}

.problem-link-grid a[hidden] {
  display: none;
}

.lead-capture {
  grid-area: lead;
  padding: 24px;
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
  gap: 24px;
  align-items: start;
}

.lead-intro {
  position: sticky;
  top: 18px;
}

.lead-points {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.lead-points li {
  border: 1px solid rgba(20, 184, 166, 0.2);
  border-radius: 12px;
  padding: 10px 12px;
  color: var(--text);
  background: rgba(236, 254, 255, 0.76);
  font-weight: 900;
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field-wide,
.form-actions {
  grid-column: 1 / -1;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  padding: 12px;
  resize: vertical;
}

.lead-form select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text);
  background: var(--panel-strong);
}

.form-status {
  min-height: 1.3em;
  margin: 0;
  color: var(--muted);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.site-footer {
  grid-area: footer;
  padding: 22px 24px;
  display: grid;
  grid-template-columns: minmax(220px, 0.75fr) minmax(0, 1.25fr);
  gap: 24px;
  align-items: start;
}

.site-footer strong {
  display: block;
  color: var(--text);
  font-size: 1.05rem;
}

.site-footer p {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.5;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.footer-nav div {
  display: grid;
  gap: 8px;
  align-content: start;
}

.footer-nav span {
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.footer-nav a {
  width: fit-content;
  line-height: 1.35;
}

.site-footer a,
.legal-page a,
.back-link {
  color: var(--teal);
  font-weight: 900;
}

.legal-shell {
  width: min(900px, calc(100% - 32px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 34px 0;
}

.back-link {
  display: inline-flex;
  margin-bottom: 16px;
  text-decoration: none;
}

.legal-page {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  box-shadow: 0 24px 70px rgba(15, 118, 110, 0.14);
  backdrop-filter: blur(18px);
  padding: 32px;
}

.legal-page h1 {
  margin-top: 8px;
  font-size: clamp(2rem, 5vw, 3.4rem);
}

.legal-page h2 {
  margin: 28px 0 0;
  font-size: 1.25rem;
}

.legal-page p,
.legal-page li {
  color: var(--muted);
  line-height: 1.7;
}

.legal-page p {
  margin-top: 12px;
}

.legal-page ul {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding-left: 20px;
}

.legal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.secondary-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 14px;
  color: var(--teal);
  background: rgba(236, 254, 255, 0.9);
  font-weight: 900;
  text-decoration: none;
}

.gear-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.gear-grid.single-product {
  grid-template-columns: minmax(0, 1fr);
  max-width: 760px;
}

.gear-note {
  display: grid;
  gap: 6px;
  margin: 22px 0;
  border: 1px solid rgba(20, 184, 166, 0.24);
  border-radius: 16px;
  padding: 16px 18px;
  background: linear-gradient(135deg, rgba(236, 254, 255, 0.94), rgba(240, 253, 244, 0.88));
  color: var(--ink);
}

.gear-note strong {
  font-size: 1.02rem;
}

.gear-reviewed {
  color: var(--muted);
  font-size: 0.9rem;
}

.gear-method {
  margin: 18px 0 26px;
  border-left: 4px solid var(--teal);
  border-radius: 0 14px 14px 0;
  padding: 14px 18px;
  background: rgba(248, 250, 252, 0.9);
}

.gear-method strong {
  color: var(--ink);
}

.gear-method p {
  margin: 7px 0 0;
}

.gear-category {
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid rgba(14, 116, 144, 0.14);
}

.gear-category-head {
  max-width: 760px;
}

.gear-category-head h2 {
  margin: 8px 0 8px;
}

.gear-card {
  min-height: 310px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.84);
  display: flex;
  flex-direction: column;
  box-shadow: 0 14px 28px rgba(8, 55, 72, 0.08);
}

.gear-card.recommended {
  border-color: rgba(20, 184, 166, 0.42);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(236, 254, 255, 0.82));
  box-shadow: 0 18px 36px rgba(20, 184, 166, 0.15);
}

.tier-label {
  align-self: flex-start;
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(14, 165, 233, 0.11);
  color: var(--teal-dark);
  font-weight: 900;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.gear-card.recommended .tier-label {
  background: rgba(20, 184, 166, 0.16);
  color: #047857;
}

.gear-card h2,
.gear-card h3 {
  margin: 12px 0 8px;
  color: var(--ink);
}

.gear-card h3 {
  font-size: clamp(1.12rem, 1.7vw, 1.36rem);
}

.gear-fit-list {
  display: grid;
  gap: 7px;
  margin: 12px 0 18px;
  padding-left: 18px;
  color: var(--muted);
  font-weight: 750;
}

.gear-card .action-link {
  margin-top: auto;
}

.page-actions {
  margin: 22px 0 8px;
}

.provider-grid,
.provider-check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.provider-card,
.provider-check-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.84);
}

.provider-card h2,
.provider-check-card h2 {
  margin-top: 10px;
}

.provider-check-card {
  display: flex;
  flex-direction: column;
}

.provider-check-card .action-link {
  margin-top: auto;
}

.article-callout {
  margin-top: 20px;
  border: 1px solid rgba(20, 184, 166, 0.28);
  border-radius: 14px;
  padding: 18px;
  background: rgba(236, 254, 255, 0.76);
}

.article-callout strong {
  color: var(--text);
}

.article-offer {
  margin-top: 28px;
  border: 1px solid rgba(20, 184, 166, 0.28);
  border-radius: 18px;
  padding: 22px;
  background: linear-gradient(135deg, rgba(236, 254, 255, 0.96), rgba(240, 253, 244, 0.9));
  box-shadow: 0 18px 38px rgba(15, 118, 110, 0.12);
}

.article-offer h2 {
  margin-top: 8px;
}

.article-offer p {
  max-width: 720px;
}

.article-offer-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.article-offer-list li {
  border: 1px solid rgba(14, 165, 233, 0.22);
  border-radius: 12px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--text);
  font-weight: 900;
  line-height: 1.35;
}

.fire-tv-offer .article-offer-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.article-lead {
  max-width: 800px;
  font-size: 1.08rem;
  line-height: 1.65;
}

.seo-answer-box {
  margin: 22px 0;
  border: 1px solid rgba(6, 182, 212, 0.3);
  border-left: 6px solid var(--cyan);
  border-radius: 14px;
  padding: 17px 19px;
  background: rgba(236, 254, 255, 0.82);
}

.seo-answer-box strong {
  display: block;
  margin-bottom: 5px;
  color: var(--text);
  font-size: 1.05rem;
}

.seo-answer-box p {
  margin: 0;
}

.article-jump-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin: 24px 0 30px;
  border-block: 1px solid rgba(14, 116, 144, 0.14);
  padding: 14px 0;
}

.article-jump-links strong {
  margin-right: 4px;
}

.article-jump-links a,
.gear-guide-link {
  color: var(--teal);
  font-weight: 800;
}

.compatibility-grid,
.streaming-app-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0 25px;
}

.compatibility-grid article,
.streaming-app-groups article {
  border: 1px solid rgba(14, 116, 144, 0.16);
  border-radius: 14px;
  padding: 17px;
  background: rgba(248, 250, 252, 0.86);
}

.compatibility-grid article > span {
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.compatibility-grid h3,
.streaming-app-groups h3 {
  margin: 7px 0;
}

.compatibility-grid p,
.streaming-app-groups p {
  margin: 0;
}

.setup-steps {
  display: grid;
  gap: 12px;
  margin: 18px 0 28px;
  padding: 0;
  list-style: none;
  counter-reset: setup-step;
}

.setup-steps li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  column-gap: 12px;
  counter-increment: setup-step;
}

.setup-steps li::before {
  grid-row: span 2;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-weight: 900;
  content: counter(setup-step);
}

.setup-steps strong {
  color: var(--text);
}

.setup-steps span {
  margin-top: 3px;
  color: var(--muted);
}

.diagnosis-table {
  overflow: hidden;
  margin: 18px 0 28px;
  border: 1px solid rgba(14, 116, 144, 0.17);
  border-radius: 14px;
}

.diagnosis-table-row {
  display: grid;
  grid-template-columns: minmax(180px, 0.8fr) minmax(0, 1.4fr);
  border-top: 1px solid rgba(14, 116, 144, 0.12);
}

.diagnosis-table-row:first-child {
  border-top: 0;
}

.diagnosis-table-row span {
  padding: 13px 15px;
}

.diagnosis-table-row span + span {
  border-left: 1px solid rgba(14, 116, 144, 0.12);
}

.diagnosis-table-head {
  background: var(--text);
  color: #fff;
  font-weight: 900;
}

.faq-section details {
  margin-top: 10px;
  border: 1px solid rgba(14, 116, 144, 0.15);
  border-radius: 12px;
  padding: 0 15px;
  background: rgba(248, 250, 252, 0.82);
}

.faq-section summary {
  cursor: pointer;
  padding: 14px 0;
  color: var(--text);
  font-weight: 900;
}

.faq-section details p {
  margin-top: 0;
  padding-bottom: 14px;
}

.article-sources {
  margin-top: 30px;
  border-top: 1px solid rgba(14, 116, 144, 0.14);
  padding-top: 20px;
}

.related-guides {
  margin-top: 28px;
}

.related-guides > div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.related-guides a {
  border: 1px solid rgba(14, 116, 144, 0.17);
  border-radius: 10px;
  padding: 9px 11px;
  color: var(--teal);
  background: #fff;
  font-weight: 800;
  text-decoration: none;
}

.gear-guide-link {
  display: inline-block;
  margin-top: 12px;
}

.ad-landing-page {
  display: grid;
  gap: 18px;
}

.ad-landing-hero {
  border: 1px solid rgba(20, 184, 166, 0.18);
  border-radius: 22px;
  padding: clamp(28px, 5vw, 46px);
  background:
    radial-gradient(circle at 92% 8%, rgba(45, 212, 191, 0.24), transparent 16rem),
    linear-gradient(135deg, rgba(236, 254, 255, 0.96), rgba(240, 253, 244, 0.9));
}

.ad-landing-hero h1 {
  max-width: 820px;
  margin-top: 10px;
  font-size: clamp(2.45rem, 7vw, 4.9rem);
  line-height: 0.98;
}

.ad-landing-hero p {
  max-width: 760px;
  font-size: clamp(1.05rem, 2vw, 1.24rem);
}

.ad-landing-actions,
.ad-trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.ad-trust-list {
  padding: 0;
  list-style: none;
}

.ad-trust-list li {
  border: 1px solid rgba(14, 165, 233, 0.2);
  border-radius: 999px;
  padding: 8px 11px;
  color: var(--teal);
  background: rgba(255, 255, 255, 0.78);
  font-size: 0.84rem;
  font-weight: 900;
}

.landing-steps,
.landing-diagnosis-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.landing-steps article,
.landing-report-card,
.landing-support-note {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.84);
}

.landing-steps span {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--teal), var(--cyan));
  font-weight: 950;
}

.landing-steps h2,
.landing-diagnosis-grid h2,
.landing-report-offer h2 {
  margin-top: 12px;
  font-size: 1.28rem;
}

.landing-report-offer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.42fr);
  gap: 14px;
  align-items: stretch;
  border: 1px solid rgba(16, 185, 129, 0.28);
  border-radius: 20px;
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(220, 252, 231, 0.9)),
    var(--panel-strong);
}

.landing-speed-test {
  border: 1px solid rgba(6, 182, 212, 0.24);
  border-radius: 18px;
  padding: 24px;
  background: linear-gradient(135deg, #ecfeff, #f0fdfa);
  box-shadow: 0 20px 50px rgba(15, 118, 110, 0.12);
}

.landing-test-copy h2 {
  margin-top: 8px;
  font-size: 1.8rem;
}

.landing-test-copy > p {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.55;
}

.landing-test-copy .primary-button {
  margin-top: 18px;
}

.landing-test-results {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.landing-test-results article {
  min-height: 120px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 15px;
  background: #ffffff;
  display: grid;
  align-content: space-between;
}

.landing-test-results span,
.landing-test-results small {
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.landing-test-results strong {
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  line-height: 1;
}

.no-break {
  white-space: nowrap;
}

.landing-test-continue {
  margin-top: 18px;
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 14px;
  padding: 18px;
  background: #ffffff;
}

.landing-test-continue p {
  margin: 7px 0 14px;
  color: var(--muted);
  line-height: 1.5;
}

.landing-report-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.landing-report-card strong {
  color: var(--text);
  font-size: 2.6rem;
  line-height: 1;
}

.landing-report-card span {
  margin-top: 8px;
  color: var(--teal);
  font-weight: 950;
}

.landing-report-card .action-link {
  margin-top: 12px;
  justify-content: center;
}

.landing-support-note {
  font-size: 0.92rem;
}

.analytics-shell {
  width: min(1120px, calc(100% - 32px));
}

.analytics-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
  gap: 24px;
  align-items: start;
}

.analytics-login {
  display: grid;
  gap: 8px;
}

.analytics-login div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.analytics-login input {
  min-height: 46px;
  padding: 0 12px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.metric-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.84);
}

.metric-card span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
}

.metric-card strong {
  display: block;
  margin-top: 8px;
  color: var(--text);
  font-size: 2rem;
  line-height: 1;
}

.analytics-lists {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

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

.analytics-list li {
  min-height: 44px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.76);
}

.analytics-list span {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--text);
  font-weight: 800;
}

.analytics-list small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-weight: 700;
}

.analytics-list strong {
  color: var(--teal);
}

.agent-dashboard {
  margin-top: 24px;
}

.agent-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.agent-toolbar p {
  margin: 6px 0 0;
  color: var(--muted);
  font-weight: 800;
}

.agent-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 22px;
}

.agent-summary-grid article,
.agent-panel,
.agent-card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 38px rgba(8, 36, 61, 0.07);
}

.agent-summary-grid article {
  border-radius: 16px;
  padding: 16px;
}

.agent-summary-grid span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 950;
}

.agent-summary-grid strong {
  display: block;
  margin-top: 8px;
  color: var(--text);
  font-size: 2.2rem;
  line-height: 1;
}

.agent-summary-grid p {
  margin: 6px 0 0;
  color: var(--muted);
  font-weight: 800;
}

.agent-section-grid {
  display: grid;
  gap: 18px;
}

.agent-panel {
  border-radius: 18px;
  padding: 18px;
}

.agent-panel-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.agent-panel-head h3 {
  margin: 5px 0 0;
}

.agent-card-list {
  display: grid;
  gap: 10px;
}

.agent-card {
  border-radius: 14px;
  padding: 14px;
}

.agent-card h4 {
  margin: 0 0 8px;
  color: var(--text);
}

.agent-card p,
.agent-card pre {
  margin: 0;
  color: var(--muted);
  font: inherit;
  line-height: 1.55;
  white-space: pre-wrap;
}

.agent-card pre {
  overflow-wrap: anywhere;
}

.agent-card.empty {
  color: var(--muted);
  font-weight: 850;
}

.agent-raw {
  margin-top: 18px;
}

.agent-raw summary {
  cursor: pointer;
  color: var(--teal);
  font-weight: 950;
}

.agent-report {
  max-height: 72vh;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.9);
  font: 0.92rem/1.55 ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  white-space: pre-wrap;
}

.outreach-panel {
  margin-top: 18px;
}

.outreach-approval-note {
  border: 1px solid rgba(15, 118, 110, 0.28);
  border-radius: 999px;
  padding: 7px 10px;
  color: var(--teal);
  background: rgba(204, 251, 241, 0.62);
  font-size: 0.8rem;
  font-weight: 950;
}

.outreach-intro {
  max-width: 820px;
  color: var(--muted);
  font-weight: 750;
  line-height: 1.55;
}

.outreach-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.outreach-form label,
.outreach-draft label {
  display: grid;
  gap: 7px;
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 900;
}

.outreach-form input,
.outreach-form textarea,
.outreach-draft input,
.outreach-draft textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 12px;
  color: var(--text);
  background: #ffffff;
  font: inherit;
  line-height: 1.45;
}

.outreach-form input {
  min-height: 46px;
}

.outreach-consent {
  grid-template-columns: auto minmax(0, 1fr) !important;
  align-items: start;
}

.outreach-consent input {
  width: 20px;
  min-height: 20px;
  margin-top: 1px;
}

.outreach-wide {
  grid-column: 1 / -1;
}

.outreach-form-actions,
.outreach-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.outreach-form-actions .form-status {
  flex: 1 1 280px;
}

.outreach-draft-list {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.outreach-draft {
  display: grid;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.9);
}

.outreach-draft-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.outreach-draft-head h4 {
  margin: 8px 0 4px;
  color: var(--text);
  font-size: 1.15rem;
}

.outreach-draft-head p,
.outreach-record p,
.outreach-dates {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.5;
}

.outreach-dates {
  display: grid;
  align-content: start;
  gap: 3px;
  text-align: right;
}

.outreach-status {
  display: inline-block;
  border-radius: 999px;
  padding: 5px 9px;
  color: #475569;
  background: #e2e8f0;
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.outreach-status.approved { color: #065f46; background: #d1fae5; }
.outreach-status.sent { color: #075985; background: #e0f2fe; }
.outreach-status.rejected,
.outreach-status.failed { color: #991b1b; background: #fee2e2; }

.outreach-record {
  border-left: 4px solid var(--cyan);
  padding: 10px 12px;
  background: #f0fdfa;
}

.outreach-record a {
  color: var(--teal);
  font-weight: 900;
}

.outreach-record p {
  margin-top: 6px;
}

.outreach-error {
  margin: 0;
  color: #b91c1c;
  font-weight: 850;
}

.outreach-policy-note {
  margin: 0;
  border-left: 4px solid #f59e0b;
  padding: 9px 11px;
  color: #854d0e;
  background: #fffbeb;
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.5;
}

@media (max-width: 720px) {
  .outreach-form {
    grid-template-columns: 1fr;
  }

  .outreach-wide {
    grid-column: auto;
  }

  .outreach-draft-head {
    display: grid;
  }

  .outreach-dates {
    text-align: left;
  }
}

.results {
  align-self: stretch;
}

.shell {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  align-content: flex-start;
}

.hero {
  order: 1;
  flex: 1 1 calc(68% - 10px);
}

.results {
  order: 2;
  flex: 1 1 calc(32% - 10px);
}

.rooms { order: 3; flex: 1 1 100%; }
.profile { order: 4; flex: 1 1 100%; }
.diagnosis { order: 5; flex: 1 1 calc(50% - 10px); }
.recommendations { order: 6; flex: 1 1 calc(50% - 10px); }
.checkup-summary { order: 7; flex: 1 1 100%; }
.sample-report { order: 8; flex: 1 1 100%; }
.lead-capture { order: 9; flex: 1 1 100%; }
.action-links { order: 10; flex: 1 1 100%; }
.buying-quiz { order: 11; flex: 1 1 100%; }
.local-install-handoff { order: 12; flex: 1 1 100%; }
.how-it-works { order: 13; flex: 1 1 calc(50% - 10px); }
.availability { order: 14; flex: 1 1 calc(50% - 10px); }
.problem-guides { order: 15; flex: 1 1 100%; }
.site-footer { order: 16; flex: 1 1 100%; }

.availability.compact-section {
  display: block;
}

.room-step-note,
.profile-intro {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.focused-report-offer {
  align-items: stretch;
}

.focused-report-offer .sample-report-copy,
.focused-report-offer .sample-report-card {
  align-self: center;
}

.report-offer-purchase {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 0.38fr);
  gap: 20px;
  align-items: center;
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 16px;
  padding: 20px;
  background: linear-gradient(135deg, rgba(240, 253, 244, 0.96), rgba(236, 254, 255, 0.94));
}

.report-offer-purchase h3 {
  margin: 8px 0 0;
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
}

.report-outcome-list {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.report-outcome-list li {
  position: relative;
  padding-left: 24px;
  color: var(--text);
  font-weight: 820;
  line-height: 1.45;
}

.report-outcome-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.48em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  color: var(--green);
}

.report-offer-actions {
  display: grid;
  gap: 9px;
  text-align: center;
}

.report-offer-actions .primary-button {
  justify-content: center;
}

.report-offer-actions > span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 850;
}

.report-price {
  color: var(--text);
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  line-height: 1;
}

.more-help {
  grid-column: 1 / -1;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.more-help summary,
.compact-install-request summary {
  cursor: pointer;
  color: var(--teal);
  font-weight: 950;
}

.more-help-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.more-help-grid article {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.78);
}

.more-help-grid h3 {
  margin: 8px 0 0;
}

.more-help-grid p {
  margin: 8px 0 14px;
  color: var(--muted);
  line-height: 1.5;
}

.compact-local-referral {
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
  padding: 22px;
}

.compact-local-referral .local-install-card {
  grid-template-columns: minmax(0, 1fr);
}

.compact-local-referral .local-install-card .primary-button {
  justify-content: center;
}

.compact-install-request {
  grid-column: 1 / -1;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.compact-install-request .install-help-form {
  margin-top: 14px;
  padding: 14px;
}

.compact-install-request .install-form-grid {
  margin-top: 0;
}

.offer-page {
  background:
    linear-gradient(180deg, #ecfeff 0, #f8fafc 42%, #f0fdfa 100%);
}

.offer-shell {
  width: min(1120px, calc(100% - 28px));
}

.offer-hero,
.offer-form-section {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 24px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(24px, 5vw, 48px);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 22px 55px rgba(8, 55, 72, 0.1);
}

.offer-hero h1 {
  margin: 10px 0 12px;
  color: var(--text);
  font-size: clamp(2.3rem, 6vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.offer-hero > div > p,
.offer-form-section > div > p {
  color: var(--muted);
  line-height: 1.65;
}

.offer-price-card {
  border: 1px solid rgba(16, 185, 129, 0.34);
  border-radius: 18px;
  padding: 22px;
  background: linear-gradient(135deg, #f0fdfa, #ecfeff);
}

.offer-price-card span {
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 950;
  text-transform: uppercase;
}

.offer-price-card strong {
  display: block;
  margin-top: 12px;
  color: var(--text);
  font-size: 3.6rem;
  line-height: 1;
}

.offer-price-card p {
  color: var(--muted);
}

.offer-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0;
}

.offer-proof article,
.offer-note {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.86);
}

.offer-proof span {
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.offer-proof h2,
.offer-note h2 {
  margin: 10px 0 8px;
  color: var(--text);
  font-size: 1.2rem;
}

.offer-proof p,
.offer-note p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.offer-form-section {
  align-items: start;
  grid-template-columns: minmax(240px, 0.65fr) minmax(0, 1.35fr);
}

.offer-form-section > *,
.bill-review-form,
.bill-review-form .form-field {
  min-width: 0;
}

.bill-review-form {
  margin: 0;
}

.bill-review-form .primary-button {
  width: 100%;
  max-width: 100%;
  white-space: normal;
}

.offer-note {
  margin-top: 18px;
}

@media (max-width: 960px) {
  .shell {
    grid-template-columns: 1fr;
    grid-template-areas:
      "hero"
      "results"
      "rooms"
      "diagnosis"
      "profile"
      "recommendations"
      "summary"
      "sample"
      "lead"
      "actions"
      "quiz"
      "local"
      "how"
      "availability"
      "problems"
      "footer";
    align-content: start;
  }

  .hero {
    flex-basis: 100%;
    min-height: 0;
    padding: 94px 22px 26px;
    grid-template-columns: 1fr;
    grid-template-areas:
      "meter"
      "hero-copy";
    gap: 18px;
    align-items: start;
  }

  .brand {
    top: 18px;
    left: 20px;
    right: 20px;
    max-width: calc(100% - 40px);
    padding-right: 10px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  .brand-tagline {
    max-width: 230px;
    font-size: 0.68rem;
  }

  .meter {
    width: min(48vw, 184px);
    margin: 0;
  }

  .hero-copy {
    width: 100%;
    text-align: center;
  }

  .hero h1 {
    max-width: 640px;
    margin-right: auto;
    margin-left: auto;
    font-size: clamp(2.35rem, 7vw, 3.25rem);
  }

  .status {
    margin-right: auto;
    margin-left: auto;
  }

  .actions,
  .trust-strip {
    justify-content: center;
  }

  .results {
    flex-basis: 100%;
    grid-template-columns: 1fr 1fr;
  }

  .diagnosis,
  .recommendations,
  .how-it-works,
  .availability {
    flex-basis: 100%;
  }

  .room-list,
  .room-map {
    grid-template-columns: 1fr;
  }

  .room-map-header {
    display: grid;
  }

  .report-prompt {
    grid-template-columns: 1fr;
  }

  .report-prompt-metrics {
    grid-template-columns: 1fr;
  }

  .report-prompt-includes,
  .report-prompt-includes ul {
    display: grid;
  }

  .report-prompt-actions {
    align-items: stretch;
    justify-content: flex-start;
  }

  .lead-capture,
  .lead-form {
    grid-template-columns: minmax(0, 1fr);
  }

  .lead-intro {
    position: static;
  }

  .profile-grid,
  .profile-extra-grid {
    grid-template-columns: 1fr;
  }

  .availability {
    grid-template-columns: 1fr;
  }

  .action-header,
  .action-card-grid,
  .flow-header,
  .flow-steps,
  .quiz-header,
  .quiz-grid,
  .quiz-result,
  .summary-grid,
  .sample-report,
  .local-install-handoff,
  .local-install-card,
  .local-install-list,
  .install-form-grid,
  .outcomes-header,
  .outcome-grid,
  .guide-header,
  .problem-link-grid,
  .pricing-header,
  .pricing-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .ontario-report-proof ul {
    grid-template-columns: 1fr;
  }

  .footer-nav {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .gear-grid {
    grid-template-columns: 1fr;
  }

  .provider-grid,
  .provider-check-grid {
    grid-template-columns: 1fr;
  }

  .landing-steps,
  .landing-diagnosis-grid,
  .landing-report-offer {
    grid-template-columns: 1fr;
  }

  .landing-test-results {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .report-offer-purchase,
  .more-help-grid,
  .before-after-grid,
  .verified-review-grid,
  .offer-hero,
  .offer-form-section,
  .offer-proof {
    grid-template-columns: 1fr;
  }

  .article-offer-list {
    grid-template-columns: 1fr;
  }

  .fire-tv-offer .article-offer-list {
    grid-template-columns: 1fr;
  }

  .compatibility-grid,
  .streaming-app-groups,
  .diagnosis-table-row {
    grid-template-columns: 1fr;
  }

  .diagnosis-table-row span + span {
    border-top: 1px solid rgba(14, 116, 144, 0.12);
    border-left: 0;
  }

.analytics-header,
.analytics-lists,
.metric-grid {
    grid-template-columns: 1fr;
  }
}

.analytics-traffic-controls {
  margin: 18px 0 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  background: var(--panel-soft);
}

.analytics-traffic-controls p {
  margin-top: 7px;
  color: var(--muted);
  line-height: 1.5;
}

.analytics-traffic-controls > div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

@media (max-width: 520px) {
  .ad-landing-actions a {
    width: 100%;
    padding-inline: 10px;
    font-size: 0.88rem;
    white-space: nowrap;
  }

  .shell {
    width: min(100% - 20px, 1180px);
    gap: 10px;
    padding: 10px 0;
  }

  .hero {
    min-height: 0;
    padding: 90px 20px 22px;
    gap: 14px;
  }

  .hero h1 {
    margin-top: 10px;
    font-size: clamp(1.95rem, 9.4vw, 2.45rem);
    line-height: 1;
  }

  .status {
    margin-top: 12px;
    font-size: 0.96rem;
    line-height: 1.42;
  }

  .meter {
    width: min(43vw, 168px);
  }

  .metric {
    font-size: clamp(2.65rem, 13vw, 3.4rem);
  }

  .unit {
    margin-top: 7px;
    font-size: 0.9rem;
  }

  .actions {
    margin-top: 18px;
  }

  .actions .primary-button,
  .actions .ookla-button {
    justify-content: center;
    width: 100%;
  }

  .result-import-form {
    padding: 18px;
  }

  .result-import-header h2 {
    font-size: 1.45rem;
  }

  .result-import-link {
    justify-content: center;
    width: 100%;
    padding: 0 12px;
    text-align: center;
    white-space: normal;
  }

  .result-import-grid {
    grid-template-columns: 1fr;
  }

  .result-import-wide {
    grid-column: auto;
  }

  .result-import-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .result-import-actions .primary-button {
    justify-content: center;
    width: 100%;
    padding: 0 12px;
    text-align: center;
    white-space: normal;
  }

  .trust-strip {
    gap: 6px;
    margin-top: 16px;
  }

  .trust-strip li {
    padding: 6px 9px;
    font-size: 0.76rem;
  }

  .results {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .result {
    min-height: 108px;
    padding: 16px;
  }

  .room-input-row {
    grid-template-columns: 1fr;
  }

  .availability-input-row {
    grid-template-columns: 1fr;
  }
}

/* Keep the focused homepage sequence after legacy layout rules. */
.hero { order: 1; }
.results { order: 2; }
.home-outage-strip { order: 3; flex: 1 1 100%; }
.rooms { order: 4; }
.profile { order: 5; }
.diagnosis { order: 6; }
.recommendations { order: 7; }
.checkup-summary { order: 8; }
.sample-report { order: 9; }
.report-outcomes { order: 10; }
.before-after-examples { order: 11; }
.verified-reviews { order: 12; }
.pricing { order: 13; }
.lead-capture { order: 14; }
.action-links { order: 15; }
.buying-quiz { order: 16; }
.local-install-handoff { order: 17; }
.home-flagships { order: 18; flex: 1 1 100%; width: 100%; }
.how-it-works { order: 19; flex: 1 1 calc(50% - 10px); }
.availability { order: 20; flex: 1 1 calc(50% - 10px); }
.problem-guides { order: 21; flex: 1 1 100%; }
.home-trust-bar { order: 22; flex: 1 1 100%; width: 100%; }
.site-footer { order: 23; }

.hero {
  min-height: 464px;
  padding: 94px 31px 30px;
  grid-template-columns: minmax(0, 1.38fr) minmax(190px, 0.62fr);
  gap: 22px;
}

.hero h1 {
  max-width: 520px;
  font-size: clamp(2.2rem, 3.1vw, 2.85rem);
  line-height: 1;
  letter-spacing: -0.035em;
}

.hero-title span { white-space: normal; }
.status { max-width: 515px; font-size: 1rem; line-height: 1.55; }
.meter { width: min(100%, 205px); }
.metric { font-size: clamp(2.8rem, 5vw, 4.5rem); }
.result { min-height: 135px; padding: 19px; }

.home-outage-strip {
  grid-template-columns: minmax(0, 1.15fr) minmax(330px, 0.85fr);
  gap: 20px;
  padding: 16px 22px;
  border-radius: 16px;
  box-shadow: 0 15px 38px rgba(8, 55, 72, 0.12);
}

.outage-strip-copy {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 15px;
  align-items: center;
}

.outage-strip-copy .outage-live-label {
  grid-row: 1 / span 2;
  align-self: center;
  max-width: 145px;
}

.home-outage-strip h2 { margin: 0; font-size: 1.12rem; }
.home-outage-strip p { margin: 4px 0 0; font-size: 0.83rem; }
.home-outage-strip small { display: none; }

.outage-strip-status {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.provider-status-pills { gap: 6px; }
.provider-pill { padding: 6px 9px; font-size: 0.69rem; }
.provider-pill:nth-child(n + 5) { display: none; }
.outage-details-link { flex: 0 0 auto; font-size: 0.76rem; }

@media (max-width: 1080px) {
  .home-quick-nav {
    top: 86px;
    right: 28px;
    left: 28px;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 3px;
    scrollbar-width: none;
  }
  .home-quick-nav::-webkit-scrollbar { display: none; }
  .home-quick-nav a {
    flex: 0 0 auto;
    border: 1px solid rgba(8, 145, 178, 0.16);
    background: rgba(255, 255, 255, 0.88);
  }
  .home-outage-strip { grid-template-columns: 1fr; }
  .outage-strip-status { justify-content: space-between; }
}

@media (max-width: 960px) {
  .hero {
    padding: 136px 23px 26px;
    grid-template-columns: 1fr;
    grid-template-areas:
      "hero-copy"
      "meter"
      "hero-conversion";
    grid-template-rows: auto auto auto;
  }

  .hero-copy,
  .hero-conversion { text-align: left; }

  .hero h1,
  .status { margin-right: 0; margin-left: 0; }
  .actions,
  .trust-strip { justify-content: flex-start; }
  .meter { width: min(42vw, 168px); justify-self: center; }
  .how-it-works,
  .availability { flex-basis: 100%; }
}

@media (max-width: 680px) {
  .hero {
    padding: 126px 16px 18px;
    gap: 15px;
    border-radius: 24px;
  }

  .hero::before {
    inset: 9px;
    border-radius: 18px;
  }

  .brand {
    top: 14px;
    right: 14px;
    left: 14px;
    max-width: none;
    min-height: 54px;
    padding: 7px 10px 7px 7px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.93);
    box-shadow: 0 12px 28px rgba(8, 55, 72, 0.1);
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .brand-name {
    font-size: 1.12rem;
  }

  .brand-tagline {
    max-width: none;
    font-size: 0.66rem;
  }

  .home-quick-nav {
    top: 76px;
    right: 14px;
    left: 14px;
    gap: 6px;
    padding-bottom: 0;
  }

  .home-quick-nav a {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    padding: 7px 10px;
    border-radius: 999px;
    font-size: 0.72rem;
  }

  .hero-kicker {
    min-height: 27px;
    padding: 0 9px;
    font-size: 0.68rem;
  }

  .hero h1 {
    margin-top: 10px;
    font-size: clamp(1.92rem, 9.1vw, 2.4rem);
    line-height: 0.97;
    letter-spacing: -0.04em;
  }

  .status {
    margin-top: 11px;
    font-size: 0.91rem;
    line-height: 1.46;
  }

  .meter {
    width: 100%;
    aspect-ratio: auto;
    margin-top: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 104px;
    gap: 12px;
    align-items: center;
    border: 1px solid rgba(8, 145, 178, 0.16);
    border-radius: 20px;
    padding: 12px 13px;
    background:
      radial-gradient(circle at 92% 18%, rgba(34, 211, 238, 0.16), transparent 38%),
      rgba(255, 255, 255, 0.82);
    box-shadow: 0 14px 34px rgba(8, 55, 72, 0.1);
  }

  .meter-context {
    display: grid;
    gap: 4px;
    min-width: 0;
  }

  .meter-context span {
    color: var(--teal);
    font-size: 0.68rem;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .meter-context strong {
    color: var(--text);
    font-size: 1rem;
    line-height: 1.2;
  }

  .meter-context small {
    color: var(--muted);
    font-size: 0.72rem;
    line-height: 1.3;
  }

  .ring {
    width: 104px;
    height: 104px;
    justify-self: end;
    box-shadow: 0 14px 34px rgba(6, 182, 212, 0.2);
  }

  .metric {
    font-size: 2.2rem;
  }

  .unit {
    margin-top: 5px;
    font-size: 0.78rem;
  }

  .hero-conversion {
    display: grid;
    gap: 11px;
  }

  .trust-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    width: 100%;
  }

  .trust-strip li {
    display: flex;
    align-items: center;
    min-height: 34px;
    border-radius: 11px;
    padding: 6px 8px;
    font-size: 0.69rem;
    line-height: 1.15;
  }

  .trust-strip li:last-child {
    grid-column: 1 / -1;
  }

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

  .actions .primary-button {
    width: 100%;
    min-height: 56px;
    justify-content: center;
    border-radius: 15px;
    font-size: 1.02rem;
  }

  .actions .ookla-button {
    width: auto;
    min-height: 38px;
    justify-self: center;
    border: 0;
    padding: 0 12px;
    color: var(--teal);
    background: transparent;
    box-shadow: none;
    font-size: 0.82rem;
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  .actions .icon-button {
    justify-self: center;
  }

  .guide-search { grid-template-columns: 1fr; }
  .guide-search span { min-width: 0; padding: 0; text-align: left; }
  .home-outage-strip { gap: 13px; padding: 16px; }
  .outage-strip-copy { display: block; }
  .home-outage-strip h2 { margin-top: 8px; }
  .outage-strip-status { align-items: flex-start; flex-direction: column; }

  .flagship-grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 2px 18px 12px 0;
    scroll-padding-left: 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .flagship-grid::-webkit-scrollbar {
    display: none;
  }

  .flagship-card {
    flex: 0 0 86%;
    scroll-snap-align: start;
  }
}
