:root {
  --paper: #f8f6f0;
  --white: #ffffff;
  --ink: #0d1b2d;
  --navy: #153b59;
  --steel: #4f87a6;
  --sky: #83ccef;
  --sky-soft: #e2f3fb;
  --orange: #dc7b43;
  --orange-soft: #f7e0d0;
  --line: #dbe4e8;
  --muted: #5c6f7b;
  --green: #2f8259;
  --amber: #b7701c;
  --red: #aa4b46;
  --radius: 20px;
  --checker: #63b9dd;
  --shadow: 0 18px 50px rgba(31, 61, 79, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", "Aptos", "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.shell { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }

.site-header {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.site-header nav, .site-footer nav { display: flex; gap: 30px; flex-wrap: wrap; }
.site-header nav a, .site-footer nav a { text-decoration: none; font-weight: 650; font-size: .96rem; }
.site-header nav a:hover { color: var(--steel); }

.brand {
  display: inline-flex;
  align-items: flex-end;
  gap: 8px;
  text-decoration: none;
  line-height: 1;
  color: var(--ink);
  position: relative;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 800;
  font-size: 2rem;
  letter-spacing: -.05em;
}
.brand-indie { position: relative; padding: 0 3px 8px 0; }
.brand-indie::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  border-radius: 999px;
  background: var(--orange);
}
.brand-ip {
  display: inline-grid;
  place-items: center;
  min-width: 50px;
  height: 42px;
  padding: 0 9px;
  border-radius: 9px;
  background: var(--steel);
  color: white;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 800;
  letter-spacing: -.045em;
}

.hero {
  min-height: 555px;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(420px, .88fr);
  gap: 30px;
  align-items: center;
  padding: 28px 0 30px;
}
.hero-copy { max-width: 640px; }
.hero h1 {
  margin: 0 0 28px;
  max-width: 720px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.35rem, 4.7vw, 4.85rem);
  line-height: 1.01;
  letter-spacing: -.052em;
  color: var(--navy);
}
.hero h1 span { color: var(--orange); }
.traffic-line {
  margin: 0 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
  line-height: 1.38;
  font-weight: 750;
}
.traffic-in-word { color: var(--sky); }
.traffic-out-word { color: var(--orange); }
.lede {
  margin: 0;
  max-width: 660px;
  color: #22384a;
  font-size: 1.05rem;
  line-height: 1.75;
}
.hero-visual { min-width: 0; }
.hero-visual svg { display: block; width: 100%; height: auto; overflow: visible; }
.roof-outline { fill: none; stroke: var(--navy); stroke-width: 11; stroke-linecap: round; stroke-linejoin: round; }
.attic-fill { fill: var(--navy); opacity: .97; }
.house-body { fill: #fbfbf7; stroke: var(--navy); stroke-width: 6; }
.floor, .wall { stroke: #cad6da; stroke-width: 3; }
.window { fill: var(--sky-soft); stroke: var(--steel); stroke-width: 3; }
.door-frame { fill: #fbfbf7; stroke: var(--navy); stroke-width: 4; }
.door-leaf { fill: #f1eee6; stroke: var(--navy); stroke-width: 4; stroke-linejoin: round; }
.door-knob { fill: var(--orange); }
.server-rack rect { fill: #173f5b; stroke: var(--sky); stroke-width: 3; }
.server-lights circle { fill: var(--sky); }
.service rect { fill: #f9fbfb; stroke: var(--steel); stroke-width: 2; }
.service line { stroke: var(--steel); stroke-width: 3; stroke-linecap: round; }
.service text { fill: var(--navy); font: 700 13px system-ui, sans-serif; text-anchor: middle; dominant-baseline: middle; }
.tree circle, .bush circle { fill: #aac6a1; }
.tree rect { fill: #7fa278; }
.traffic-path { fill: none; stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.traffic-in { stroke: var(--sky); }
.traffic-out { stroke: var(--orange); }
.traffic-label { font: 800 14px system-ui, sans-serif; letter-spacing: .04em; }
.in-label { fill: var(--sky); }
.out-label { fill: var(--orange); }

.postcode-zone {
  background: var(--checker);
  color: white;
  padding: 54px 0 58px;
}
.checker-inner {
  display: grid;
  grid-template-columns: .8fr 1.3fr;
  gap: 56px;
  align-items: end;
}
.checker-copy h2 {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.25rem, 4vw, 3.7rem);
  letter-spacing: -.04em;
}
.checker-copy p, .postcode-form p { margin: 0; line-height: 1.55; opacity: .95; }
.postcode-form label {
  display: block;
  margin-bottom: 9px;
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.postcode-controls { display: grid; grid-template-columns: 1fr auto; gap: 12px; }
.postcode-controls input {
  width: 100%;
  min-height: 62px;
  border: 0;
  border-radius: 13px;
  padding: 0 20px;
  background: var(--white);
  color: var(--navy);
  font: 750 1.13rem system-ui, sans-serif;
  outline: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.4);
}
.postcode-controls input:focus { box-shadow: 0 0 0 4px rgba(114,191,231,.38); }
.postcode-controls button {
  min-height: 62px;
  border: 0;
  border-radius: 13px;
  padding: 0 24px;
  background: var(--navy);
  color: white;
  font: 800 1rem system-ui, sans-serif;
  cursor: pointer;
}
.postcode-controls button:hover { transform: translateY(-1px); }
.postcode-form p { margin-top: 11px; font-size: .9rem; }

.results { padding: 64px 0 88px; }
.results[hidden] { display: none; }
.results-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 30px;
}
.results-kicker {
  margin: 0 0 8px;
  color: var(--orange);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .13em;
  font-weight: 900;
}
.results-head h2 {
  margin: 0 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 4vw, 4rem);
  letter-spacing: -.045em;
  color: var(--navy);
}
.results-head p:last-child { max-width: 720px; margin: 0; color: var(--muted); line-height: 1.55; }
.text-button { border: 0; background: transparent; color: var(--steel); font-weight: 800; cursor: pointer; padding: 8px 0; }

.results-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(300px, .85fr); gap: 24px; align-items: start; }
.provider-list { display: grid; gap: 16px; }
.provider-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px 22px;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.provider-card:hover, .provider-card.active { transform: translateY(-2px); border-color: #a8c6d5; box-shadow: 0 22px 60px rgba(31,61,79,.12); }
.provider-card-top { display: flex; justify-content: space-between; gap: 18px; align-items: center; margin-bottom: 14px; }
.provider-name { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 1.7rem; color: var(--navy); }
.provider-sub { margin: 4px 0 0; color: var(--muted); font-size: .93rem; }
.verdict {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.verdict.excellent { background: #e4f3ea; color: var(--green); }
.verdict.good { background: #e5f2f8; color: #2f6f91; }
.verdict.limited { background: #fff0db; color: var(--amber); }
.verdict.poor { background: #f9e4e3; color: var(--red); }
.tech-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.tech-chip {
  border: 1px solid var(--line);
  background: #fbfcfc;
  border-radius: 12px;
  padding: 10px 10px 11px;
  min-width: 0;
}
.tech-chip button { appearance: none; border: 0; background: none; padding: 0; color: inherit; width: 100%; text-align: left; cursor: pointer; }
.tech-label { display: block; color: var(--muted); font-size: .7rem; text-transform: uppercase; letter-spacing: .07em; font-weight: 850; margin-bottom: 4px; }
.tech-value { display: block; color: var(--ink); font-size: .92rem; font-weight: 850; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.tech-panel {
  position: sticky;
  top: 24px;
  min-height: 320px;
  background: var(--navy);
  color: white;
  border-radius: 18px;
  padding: 26px;
  box-shadow: var(--shadow);
}
.tech-panel h3 { margin: 8px 0 12px; font-family: Georgia, "Times New Roman", serif; font-size: 2rem; letter-spacing: -.03em; }
.tech-panel p { color: #dce9ef; line-height: 1.65; }
.panel-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--sky); color: var(--navy); font-weight: 900; }
.panel-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.panel-meta span { border: 1px solid rgba(255,255,255,.2); border-radius: 999px; padding: 7px 10px; font-size: .76rem; font-weight: 750; }
.panel-link { display: inline-block; margin-top: 18px; color: var(--sky); font-weight: 800; text-decoration: none; }

.site-footer {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid #e1e4e2;
  color: var(--muted);
}
.site-footer > span { color: var(--navy); font-weight: 900; }

.reference-page { padding: 60px 0 100px; }
.reference-page h1 { font-family: Georgia, "Times New Roman", serif; color: var(--navy); font-size: clamp(3rem,7vw,6rem); letter-spacing: -.05em; margin: 0 0 24px; }
.reference-page h2 { color: var(--navy); margin-top: 48px; font-size: 1.8rem; }
.reference-page p { max-width: 850px; font-size: 1.08rem; line-height: 1.75; }
.eyebrow { color: var(--orange); text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 900; }

@media (max-width: 920px) {
  .site-header { align-items: flex-start; padding-top: 22px; padding-bottom: 22px; }
  .site-header nav { gap: 16px; font-size: .9rem; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 34px; }
  .hero-copy { max-width: none; }
  .hero-visual { max-width: 680px; margin: 0 auto; }
  .checker-inner { grid-template-columns: 1fr; gap: 26px; }
  .results-layout { grid-template-columns: 1fr; }
  .tech-panel { position: static; }
  .tech-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
  .shell { width: min(100% - 28px, 1160px); }
  .site-header { min-height: auto; flex-direction: column; gap: 18px; }
  .site-header nav { width: 100%; justify-content: space-between; gap: 10px; }
  .site-header nav a { font-size: .82rem; }
  .brand { font-size: 1.7rem; }
  .brand-ip { min-width: 45px; height: 38px; }
  .hero { gap: 20px; padding-bottom: 26px; }
  .hero h1 { font-size: clamp(3rem, 15vw, 4.5rem); }
  .lede { font-size: 1rem; }
  .hero-visual svg { margin-inline: -4px; width: calc(100% + 8px); }
  .postcode-zone { padding: 36px 0 40px; }
  .postcode-controls { grid-template-columns: 1fr; }
  .postcode-controls button { width: 100%; }
  .results { padding-top: 44px; }
  .results-head { flex-direction: column; gap: 10px; }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .provider-card { padding: 18px; }
  .provider-card-top { align-items: flex-start; }
  .provider-name { font-size: 1.45rem; }
  .site-footer { flex-direction: column; align-items: flex-start; padding: 26px 0; }
  .site-footer nav { gap: 16px; }
}

.legal-page h2 { margin-bottom: 8px; }
.legal-page a { color: var(--navy); font-weight: 750; }
.site-footer nav a:hover { text-decoration: underline; text-underline-offset: 3px; }

.desktop-break { display: block; }

/* Canonical three-band homepage */
.brand-indie {
  position: relative;
  display: inline-block;
}
.brand-indie::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  border-radius: 999px;
  background: var(--orange);
}

.hero {
  min-height: 500px;
  padding-top: 34px;
  padding-bottom: 28px;
}

.hero-copy-minimal {
  align-self: center;
}

.hero-copy-minimal h1 {
  margin-bottom: 0;
}

.traffic-explainer {
  width: 100%;
  background: #f5f7fa;
  border-top: 1px solid rgba(15, 39, 71, .08);
  border-bottom: 1px solid rgba(15, 39, 71, .08);
}

.traffic-explainer-inner {
  padding-top: 40px;
  padding-bottom: 44px;
}

.traffic-explainer h2 {
  margin: 0 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.85rem, 2.8vw, 2.7rem);
  line-height: 1.05;
  letter-spacing: -.035em;
  color: var(--navy);
}

.traffic-explainer-copy {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  gap: 38px;
  max-width: 1080px;
}

.traffic-explainer-copy p {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.66;
  color: var(--ink);
}

.postcode-zone {
  margin-top: 0 !important;
}

@media (max-width: 900px) {
  .traffic-explainer-copy {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* Exact canonical diagram asset — do not redraw */
.canonical-diagram {
  display: flex;
  align-items: center;
  justify-content: center;
}
.canonical-diagram img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 1000px;
  object-fit: contain;
}

/* Final homepage formatting pass — canonical diagram remains an image asset. */
:root {
  --section-soft: #fbfaf7;
}

body {
  line-height: 1.5;
}

.site-header {
  min-height: 82px;
}

.brand-indie::after {
  height: 2px !important;
  bottom: -3px !important;
}

.hero {
  min-height: 470px !important;
  grid-template-columns: minmax(0, .92fr) minmax(540px, 1.08fr) !important;
  gap: 22px !important;
  padding: 26px 0 20px !important;
}

.hero-copy-minimal {
  max-width: 560px;
}

.hero h1 {
  max-width: 560px !important;
  font-size: clamp(3.25rem, 4.15vw, 4.35rem) !important;
  line-height: 1.01 !important;
  letter-spacing: -.05em !important;
}

.canonical-diagram {
  min-width: 0;
  align-self: center;
}

.canonical-diagram img {
  width: 112% !important;
  max-width: none !important;
  margin-left: -5%;
}

.traffic-explainer {
  background: var(--section-soft) !important;
  border-top: 1px solid rgba(21,59,89,.09);
  border-bottom: 1px solid rgba(21,59,89,.09);
}

.traffic-explainer-inner {
  display: grid;
  grid-template-columns: minmax(250px, .48fr) minmax(0, 1.52fr);
  gap: 58px;
  align-items: start;
  padding-top: 42px !important;
  padding-bottom: 44px !important;
}

.traffic-explainer h2 {
  margin: 2px 0 0 !important;
  font-size: clamp(1.9rem, 2.55vw, 2.55rem) !important;
  line-height: 1.06 !important;
}

.traffic-explainer-copy {
  display: block !important;
  max-width: 820px !important;
}

.traffic-explainer-copy p {
  max-width: 76ch;
  font-size: 1.04rem !important;
  line-height: 1.68 !important;
}

.traffic-summary {
  margin: 0 0 14px !important;
  color: var(--navy) !important;
  font-weight: 720;
  font-size: 1.08rem !important;
}

.traffic-detail {
  margin: 0 !important;
  color: #2a4052 !important;
}

.postcode-zone {
  padding: 50px 0 54px !important;
}

.checker-inner {
  grid-template-columns: minmax(250px, .72fr) minmax(0, 1.28fr) !important;
  gap: 48px !important;
  align-items: center !important;
}

.checker-copy {
  max-width: 390px;
}

.checker-copy h2 {
  font-size: clamp(2.15rem, 3.5vw, 3.35rem) !important;
  line-height: 1.02;
  margin-bottom: 12px !important;
}

.checker-copy p {
  max-width: 34ch;
  font-size: 1rem;
}

.postcode-form {
  max-width: 760px;
}

.postcode-form > p {
  max-width: 70ch;
}

.results {
  padding-top: 58px !important;
}

.results-head {
  margin-bottom: 26px !important;
}

.results-head h2 {
  font-size: clamp(2.2rem, 3.5vw, 3.5rem) !important;
}

.site-footer {
  margin-top: 8px;
  min-height: 72px;
  font-size: .92rem;
}

@media (max-width: 1020px) {
  .hero {
    grid-template-columns: minmax(0, .9fr) minmax(460px, 1.1fr) !important;
  }
  .canonical-diagram img {
    width: 108% !important;
    margin-left: -3%;
  }
}

@media (max-width: 920px) {
  .hero {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
  .hero-copy-minimal {
    max-width: 760px;
  }
  .hero h1 {
    max-width: 760px !important;
  }
  .canonical-diagram img {
    width: 100% !important;
    margin-left: 0;
  }
  .traffic-explainer-inner {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .checker-inner {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  .checker-copy {
    max-width: 600px;
  }
}

@media (max-width: 640px) {
  .hero h1 {
    font-size: clamp(2.75rem, 13vw, 4rem) !important;
  }
  .traffic-explainer-inner {
    padding-top: 32px !important;
    padding-bottom: 34px !important;
  }
  .traffic-explainer-copy p {
    font-size: 1rem !important;
  }
  .postcode-zone {
    padding: 38px 0 42px !important;
  }
}

/* Homepage order: hero → checker/results → traffic comparison */
.postcode-zone {
  border-top: 1px solid rgba(21, 59, 89, .08);
  border-bottom: 1px solid rgba(21, 59, 89, .08);
}

.traffic-compare {
  padding: 66px 0 74px;
  background: var(--paper);
}

.section-label {
  margin: 0 0 26px;
  color: var(--muted);
  font-size: .78rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .13em;
  font-weight: 900;
}

.traffic-cards {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  gap: 22px;
  align-items: stretch;
}

.traffic-card {
  min-height: 390px;
  border-radius: 20px;
  padding: 34px 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: rgba(255,255,255,.5);
}

.traffic-card h3 {
  margin: 0 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3vw, 3.05rem);
  line-height: 1;
  letter-spacing: -.045em;
  color: var(--navy);
}

.traffic-card p {
  margin: 0;
  max-width: 54ch;
  font-size: 1.02rem;
  line-height: 1.65;
  color: #2b4051;
}

.traffic-card-in {
  border: 2px solid rgba(131,204,239,.9);
  background:
    linear-gradient(180deg, rgba(226,243,251,.7), rgba(255,255,255,.45));
}

.traffic-card-in h3 span {
  color: var(--sky);
}

.traffic-card-out {
  border: 2px solid rgba(220,123,67,.8);
  background:
    linear-gradient(180deg, rgba(247,224,208,.5), rgba(255,255,255,.45));
}

.traffic-card-out h3 span {
  color: var(--orange);
}

.traffic-card-graphic {
  min-height: 190px;
  display: grid;
  place-items: center;
  position: relative;
}

.download-arrow {
  position: absolute;
  top: 4px;
  font-size: 5.5rem;
  line-height: 1;
  color: var(--sky);
  font-weight: 300;
}

.speed-gauge {
  width: 170px;
  height: 96px;
  margin-top: 74px;
  border: 10px solid rgba(131,204,239,.55);
  border-bottom: 0;
  border-radius: 170px 170px 0 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding-bottom: 4px;
  color: var(--navy);
  position: relative;
}

.speed-gauge::after {
  content: "";
  width: 58px;
  height: 5px;
  background: var(--navy);
  border-radius: 999px;
  position: absolute;
  left: 78px;
  bottom: 18px;
  transform: rotate(-42deg);
  transform-origin: left center;
}

.speed-gauge .gauge-label {
  font-size: .84rem;
  font-weight: 800;
}

.speed-gauge strong {
  margin-top: 2px;
  font-size: 1.32rem;
  color: var(--sky);
}

.outbound-diagram {
  min-height: 205px;
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 24px;
  align-items: center;
}

.outbound-arrow {
  font-size: 7rem;
  line-height: 1;
  color: var(--orange);
  text-align: center;
  font-weight: 300;
}

.outbound-diagram ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.outbound-diagram li {
  min-height: 46px;
  display: flex;
  align-items: center;
  padding: 9px 13px;
  border: 1px solid rgba(220,123,67,.55);
  border-radius: 11px;
  background: rgba(255,255,255,.65);
  color: var(--navy);
  font-size: .9rem;
  font-weight: 800;
}

@media (max-width: 850px) {
  .traffic-cards {
    grid-template-columns: 1fr;
  }
  .traffic-card {
    min-height: 330px;
  }
}

@media (max-width: 560px) {
  .traffic-compare {
    padding: 46px 0 52px;
  }
  .traffic-card {
    padding: 26px 24px;
  }
  .outbound-diagram {
    grid-template-columns: 72px 1fr;
    gap: 14px;
  }
  .outbound-arrow {
    font-size: 5rem;
  }
  .outbound-diagram ul {
    grid-template-columns: 1fr;
  }
}

/* Postcode → address → UPRN flow */
.postcode-flow {
  min-width: 0;
}

.lookup-status {
  min-height: 1.35em;
  margin-top: 8px !important;
  font-weight: 800;
}

.lookup-status.error {
  color: #7f1d1d;
}

.address-step {
  margin-top: 28px;
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,.38);
}

.address-step[hidden],
.address-selected[hidden] {
  display: none;
}

.address-step-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.address-step-head h3 {
  margin: 4px 0 6px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.8rem;
  line-height: 1.05;
}

.address-step-head p {
  margin: 0;
  max-width: 58ch;
  line-height: 1.55;
}

.step-kicker {
  display: block;
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;
  opacity: .82;
}

.change-postcode {
  border: 1px solid rgba(255,255,255,.58);
  background: rgba(255,255,255,.12);
  color: white;
  border-radius: 999px;
  padding: 8px 13px;
  font-weight: 800;
  cursor: pointer;
}

.address-list {
  display: grid;
  gap: 8px;
}

.address-option {
  width: 100%;
  min-height: 54px;
  display: grid;
  grid-template-columns: 34px 1fr 28px;
  gap: 10px;
  align-items: center;
  text-align: left;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 12px;
  background: rgba(255,255,255,.15);
  color: white;
  padding: 9px 12px;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, transform .15s ease;
}

.address-option:hover,
.address-option.selected {
  background: white;
  color: var(--navy);
  transform: translateY(-1px);
}

.address-number {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(21,59,89,.14);
  font-size: .72rem;
  font-weight: 900;
}

.address-text {
  font-weight: 800;
  line-height: 1.35;
}

.address-arrow {
  text-align: right;
  font-size: 1.15rem;
  font-weight: 900;
}

.address-selected {
  margin-top: 16px;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 16px;
  border-radius: 14px;
  background: white;
  color: var(--navy);
}

.address-selected strong {
  display: block;
  margin: 3px 0;
  font-size: 1rem;
}

.uprn-line {
  display: block;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 750;
}

.uprn-line code {
  font: inherit;
  color: var(--navy);
}

.address-selected button {
  min-height: 48px;
  border: 0;
  border-radius: 11px;
  background: var(--navy);
  color: white;
  padding: 0 18px;
  font-weight: 850;
  cursor: pointer;
  white-space: nowrap;
}

@media (max-width: 700px) {
  .address-step-head {
    flex-direction: column;
    gap: 12px;
  }

  .address-selected {
    flex-direction: column;
    align-items: stretch;
  }

  .address-selected button {
    width: 100%;
  }
}

.location-evidence { margin: 1rem 0 1.5rem; }
.evidence-card { display: grid; gap: .35rem; padding: 1rem 1.1rem; border: 1px solid rgba(17, 34, 51, .16); border-radius: 14px; background: rgba(255,255,255,.55); }
.evidence-card strong { font-weight: 700; }
.evidence-card span, .evidence-card small { line-height: 1.45; }
.evidence-card small { opacity: .72; }
.provider-availability { margin: .3rem 0 0; font-size: .82rem; opacity: .7; }

.build-id { opacity: .55; font-size: .72em; font-weight: 600; margin-left: .35rem; }

/* v15: separate national technical directory from postcode-matched results */
.directory-intro { padding: 1rem 1.1rem; margin-bottom: 1rem; border: 1px solid #d7d7d2; border-radius: 14px; background: #f7f5ef; }
.directory-intro h3 { margin: .2rem 0 .45rem; }
.directory-intro p:last-child { margin-bottom: 0; }


/* v16: factual self-hosting taxonomy; no numerical scoring */
.assessment-block {
  display: grid;
  gap: 9px;
  margin: 12px 0 14px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fbfcfc;
}
.assessment-row {
  display: grid;
  grid-template-columns: minmax(135px, .42fr) 1fr;
  gap: 14px;
  align-items: start;
  font-size: .92rem;
  line-height: 1.45;
}
.assessment-label { color: var(--muted); font-weight: 800; }
.essential-status.met { color: #235c82; }
.essential-status.met-with-workaround { color: #456f61; }
.essential-status.not-met { color: #7a3f3a; }
.desirable-list { display: flex; flex-wrap: wrap; gap: 6px 8px; }
.desirable-item {
  display: inline-flex;
  padding: 3px 8px;
  border-radius: 999px;
  background: #eef3f5;
  color: #405560;
  font-size: .82rem;
  font-weight: 700;
}
.desirable-item.muted { opacity: .7; }
.technical-details { margin-top: 8px; }
.technical-details summary { cursor: pointer; color: var(--steel); font-weight: 800; }
.technical-details[open] summary { margin-bottom: 12px; }
.viability-divider {
  margin: 7px 0 4px;
  padding: 7px 0;
  border-top: 3px double #355f4b;
  border-bottom: 3px double #355f4b;
  color: #355f4b;
  text-align: center;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.panel-assessment { margin: 12px 0; }
.panel-assessment p { margin: 5px 0; }
.results-visible .traffic-compare { display: none; }
@media (max-width: 640px) {
  .assessment-row { grid-template-columns: 1fr; gap: 4px; }
}

/* v23 presentation cleanup */
.tech-panel[hidden] { display: none !important; }
.results-layout:has(.tech-panel[hidden]) { grid-template-columns: minmax(0, 1fr); }
.desirable-list { gap: 7px; }
.desirable-item { white-space: normal; line-height: 1.3; }

/* v24 product-nav + inline technical drawers */
.top-nav {
  display: flex;
  gap: 10px !important;
  align-items: center;
  flex-wrap: wrap;
}
.site-header .top-nav .nav-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 15px;
  border-radius: 999px;
  background: #cfeefa;
  color: var(--navy);
  font-weight: 800;
  text-decoration: none;
  box-shadow: inset 0 0 0 1px rgba(31,61,79,.05);
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.site-header .top-nav .nav-pill:hover,
.site-header .top-nav .nav-pill:focus-visible {
  color: var(--navy);
  background: #b9e4f5;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(31,61,79,.10);
}

.results-layout {
  display: block;
}
.technical-details {
  margin-top: 14px;
  border-radius: 14px;
  overflow: hidden;
}
.technical-details summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border-radius: 999px;
  background: #3f1d63;
  color: #fff;
  font-weight: 850;
  line-height: 1;
  user-select: none;
}
.technical-details summary::-webkit-details-marker { display: none; }
.technical-details summary::after {
  content: '▾';
  font-size: .86em;
  transition: transform .15s ease;
}
.technical-details[open] summary::after { transform: rotate(180deg); }
.technical-details[open] summary { margin-bottom: 0; }
.technical-details-box {
  margin-top: 10px;
  padding: 16px;
  border: 1px solid rgba(63,29,99,.22);
  border-top: 4px solid #3f1d63;
  border-radius: 12px;
  background: #f5effa;
}
.technical-details .tech-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.technical-details .tech-chip {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(63,29,99,.10);
}
.technical-details .tech-label {
  color: #3f1d63;
  font-size: .76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.technical-details .tech-value {
  color: var(--navy);
  font-weight: 700;
  line-height: 1.35;
}
.technical-details-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 14px;
  color: #5f5570;
  font-size: .82rem;
}
.technical-details-link {
  display: inline-block;
  margin-top: 12px;
  color: #3f1d63;
  font-weight: 850;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
@media (max-width: 700px) {
  .site-header .top-nav { justify-content: flex-start; }
  .site-header .top-nav .nav-pill { font-size: .84rem; padding: 8px 12px; }
  .technical-details .tech-grid { grid-template-columns: 1fr; }
}

/* v25: compact confidence state for postcode evidence */
.coverage-confidence {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: .28rem .62rem;
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 750;
  letter-spacing: .01em;
  margin-bottom: .45rem;
}
.coverage-broad { background: #dff2e6; color: #174c2d; }
.coverage-partial { background: #e7f0fb; color: #173f70; }
.coverage-capability { background: #eee8f7; color: #4b286d; }
.coverage-unknown { background: #efefec; color: #575750; }

/* v27 copy-safe desirable-feature rendering */
.desirable-list { align-items: center; column-gap: 8px; row-gap: 7px; }
@media (max-width: 640px) {
  .desirable-list { gap: 7px; }
}


/* US v4 wordmark refinement */
.brand-indie {
  padding-bottom: 2px !important;
}
.brand-indie::after {
  bottom: -2px !important;
  height: 2px !important;
}
.hero-copy h1 {
  text-wrap: balance;
}


/* US v3: master-zone discovery */
.master-zones { padding: 56px 0 72px; }
.master-zones h2 { margin: 0 0 8px; color: var(--navy); font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem,4vw,3.2rem); }
.master-zones > p:not(.results-kicker) { max-width: 700px; color: var(--muted); line-height: 1.6; }
.zone-card { display:flex; flex-direction:column; gap:6px; max-width:760px; margin-top:22px; padding:20px 22px; border-radius:20px; background:#eef8fc; text-decoration:none; box-shadow:0 14px 40px rgba(31,61,79,.08); }
.zone-card strong { color:var(--navy); font-size:1.2rem; }
.zone-card span { color:var(--muted); line-height:1.45; }
.zone-card:hover { transform:translateY(-1px); box-shadow:0 18px 46px rgba(31,61,79,.12); }


/* v8 provider-card hierarchy */
.provider-card {
  position: relative;
}

.provider-card .provider-name {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

.provider-card .provider-name .provider-title {
  min-width: 0;
}

.provider-card .provider-name .provider-inline-sub {
  margin-left: auto;
  max-width: 58%;
  font-size: 0.78em;
  line-height: 1.25;
  font-weight: 500;
  opacity: 0.62;
  text-align: right;
}

.provider-card > .provider-sub {
  display: none;
}

.assessment-label {
  font-weight: 700;
}

.assessment-row-essential .assessment-label {
  text-transform: uppercase;
  letter-spacing: 0.055em;
  font-weight: 800;
  font-size: 0.86rem;
}

.assessment-status {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  font-weight: 800;
  letter-spacing: 0.025em;
}

.assessment-status.met {
  color: #1f7a45;
}

.assessment-status.workaround {
  color: #a35c00;
}

.assessment-status.not-met {
  color: #a62626;
}

.assessment-status.review {
  color: #5f5674;
}

@media (max-width: 680px) {
  .provider-card .provider-name {
    display: block;
  }

  .provider-card .provider-name .provider-inline-sub {
    display: block;
    max-width: none;
    margin: 0.22rem 0 0;
    text-align: left;
  }
}


/* v10: verdict cards — faster scan, less database feel */
.assessment-row-essential {
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
}

.assessment-row-essential .assessment-status {
  white-space: nowrap;
}

.assessment-row:not(.assessment-row-essential) .assessment-label {
  color: rgba(18, 28, 48, 0.72);
}

.provider-inline-sub {
  font-style: normal;
}

.provider-card .assessment-row:last-child strong {
  line-height: 1.45;
}

@media (min-width: 760px) {
  .assessment-row-essential {
    align-items: center;
  }
}


/* v11: live postcode-result card layout */
.provider-card-top .provider-name {
  width: 100%;
  margin-bottom: 0.7rem;
}

.provider-card-top .provider-inline-sub {
  font-size: 0.72em;
  font-weight: 500;
  opacity: 0.62;
  max-width: 62%;
  line-height: 1.25;
}

.assessment-row-essential .assessment-label {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.055em;
}

.assessment-status.met {
  color: #1f7a45;
}

.assessment-status.workaround {
  color: #a35c00;
}

.assessment-status.not-met {
  color: #a62626;
}

.assessment-status.review {
  color: #5f5674;
}

@media (max-width: 680px) {
  .provider-card-top .provider-inline-sub {
    max-width: none;
    margin-top: 0.2rem;
    font-size: 0.72em;
  }
}


/* v12 — provider result architecture */
.results-layout-v12 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 19rem;
  gap: 1.25rem;
  align-items: start;
}

.provider-card-v12 {
  padding: 0;
  overflow: hidden;
  border-radius: 18px;
}

.provider-heading-v12 {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.28rem 1.4rem 0.95rem;
}

.provider-heading-v12 h3 {
  margin: 0;
  font-size: 1.55rem;
}

.provider-network-v12 {
  margin-left: auto;
  max-width: 58%;
  text-align: right;
  font-size: 0.83rem;
  line-height: 1.28;
  font-weight: 500;
  opacity: 0.62;
}

.provider-card-v12 .provider-availability {
  margin: -0.2rem 1.4rem 0.9rem;
}

.provider-grid-v12 {
  display: grid;
  grid-template-columns: 1fr 1.04fr 1.2fr;
  border-top: 1px solid rgba(31, 54, 84, 0.14);
}

.provider-column-v12 {
  min-width: 0;
  padding: 1.05rem 1.2rem 1.2rem;
}

.provider-column-v12 + .provider-column-v12 {
  border-left: 1px solid rgba(31, 54, 84, 0.14);
}

.provider-column-v12 h4 {
  margin: 0 0 0.9rem;
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  font-weight: 800;
}

.essential-list-v12,
.feature-list-v12 {
  display: grid;
}

.essential-line,
.feature-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 2.55rem;
  border-bottom: 1px solid rgba(31, 54, 84, 0.10);
  font-size: 0.91rem;
  line-height: 1.3;
}

.essential-line:last-child,
.feature-line:last-child {
  border-bottom: 0;
}

.essential-line-fail {
  margin-top: 0.55rem;
  padding-top: 0.6rem;
  border-top: 3px double rgba(167, 45, 45, 0.55);
  color: #9c2d2d;
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}

.essential-cross {
  color: #b42e2e;
  font-weight: 800;
  text-decoration: none;
}

.essential-line-review {
  opacity: 0.56;
}

.feature-mark {
  flex: 0 0 auto;
  font-size: 1.05rem;
  font-weight: 800;
}

.feature-mark.yes { color: #328a43; }
.feature-mark.no { color: #ba332c; }
.feature-mark.neutral { color: #80758d; }

.appraisal-v12 {
  display: flex;
  flex-direction: column;
  min-height: 14.5rem;
}

.appraisal-v12 p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.55;
}

.appraisal-verdict-v12 {
  margin-top: auto;
  padding-top: 1rem;
  align-self: flex-end;
}

.verdict-symbol {
  display: inline-block;
  font-size: 3rem;
  line-height: 1;
  font-weight: 700;
}

.verdict-good { color: #328a43; }
.verdict-workaround { color: #a56b35; }
.verdict-bad { color: #b42e2e; }
.verdict-review { color: #766782; }

.commercial-note {
  padding: 0.65rem 1.4rem 0.75rem;
  border-top: 1px solid rgba(31, 54, 84, 0.08);
  font-size: 0.7rem;
  opacity: 0.5;
}

.technical-rail {
  position: sticky;
  top: 1rem;
}

.technical-rail-inner {
  overflow: hidden;
  border: 1px solid rgba(31, 54, 84, 0.14);
  border-radius: 16px;
  background: rgba(249, 251, 253, 0.98);
  box-shadow: 0 8px 24px rgba(20, 38, 65, 0.05);
}

.technical-rail-title {
  padding: 0.9rem 0.95rem;
  background: rgba(217, 233, 250, 0.70);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.technical-rail details {
  padding: 0.67rem 0.9rem;
  border-top: 1px solid rgba(31, 54, 84, 0.09);
}

.technical-rail summary {
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 700;
}

.technical-rail p {
  margin: 0.48rem 0 0;
  font-size: 0.75rem;
  line-height: 1.45;
  opacity: 0.77;
}

.technical-rail-link {
  display: block;
  padding: 0.8rem 0.95rem 0.9rem;
  border-top: 1px solid rgba(31, 54, 84, 0.09);
  font-size: 0.78rem;
  font-weight: 700;
}

@media (max-width: 1050px) {
  .results-layout-v12 {
    grid-template-columns: 1fr;
  }

  .technical-rail {
    position: static;
    order: -1;
  }
}

@media (max-width: 760px) {
  .provider-heading-v12 {
    display: block;
  }

  .provider-network-v12 {
    max-width: none;
    margin-top: 0.28rem;
    text-align: left;
  }

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

  .provider-column-v12 + .provider-column-v12 {
    border-left: 0;
    border-top: 1px solid rgba(31, 54, 84, 0.14);
  }

  .appraisal-v12 {
    min-height: auto;
  }

  .appraisal-verdict-v12 {
    margin-top: 1rem;
  }
}


/* v13 — ensure sticky technical rail wins over legacy results-layout rules */
.results-layout.results-layout-v12 {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 19rem;
  gap: 1.25rem;
  align-items: start;
}

@media (max-width: 1050px) {
  .results-layout.results-layout-v12 {
    display: grid !important;
    grid-template-columns: 1fr;
  }

  .results-layout.results-layout-v12 .technical-rail {
    position: static;
    order: -1;
  }
}


/* v14 — keep Technical details as a true right rail on desktop/laptop widths */
@media (min-width: 821px) {
  .results-layout.results-layout-v12 {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 16.5rem !important;
    gap: 1.15rem !important;
    align-items: start !important;
  }

  .results-layout.results-layout-v12 > .provider-list {
    grid-column: 1 !important;
    grid-row: 1 !important;
    min-width: 0;
  }

  .results-layout.results-layout-v12 > .technical-rail {
    grid-column: 2 !important;
    grid-row: 1 !important;
    position: sticky !important;
    top: 1rem !important;
    order: initial !important;
    align-self: start !important;
  }
}

/* Only collapse the rail on genuinely narrow screens. */
@media (max-width: 820px) {
  .results-layout.results-layout-v12 {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }

  .results-layout.results-layout-v12 > .provider-list {
    grid-column: 1 !important;
    grid-row: 2 !important;
  }

  .results-layout.results-layout-v12 > .technical-rail {
    grid-column: 1 !important;
    grid-row: 1 !important;
    position: static !important;
    order: initial !important;
  }
}


/* v15 — visual hierarchy and essential-requirement corrections */

/* Equal visual strength for every essential requirement */
.essential-line,
.essential-line-review,
.essential-line-workaround,
.essential-line-fail {
  opacity: 1 !important;
  font-weight: 600;
  color: #16243a;
}

.essential-line-workaround {
  margin-top: 0.45rem;
  padding-top: 0.58rem;
  border-top: 3px double rgba(165, 107, 53, 0.48);
  color: #815123;
}

.essential-workaround-mark {
  flex: 0 0 auto;
  font-weight: 800;
  font-size: 1.05rem;
  color: #a56b35;
}

.essential-line-fail {
  color: #9c2d2d;
}

/* Restore the richer IndieIP purple treatment for the reference rail */
.technical-rail-inner {
  background: #33254f !important;
  border-color: rgba(70, 48, 103, 0.65) !important;
  box-shadow: 0 10px 28px rgba(35, 21, 54, 0.16) !important;
}

.technical-rail-title {
  background: #25183d !important;
  color: #ffffff !important;
  letter-spacing: 0.07em;
}

.technical-rail details {
  border-top-color: rgba(255,255,255,0.11) !important;
}

.technical-rail summary {
  color: #ffffff !important;
}

.technical-rail p {
  color: rgba(255,255,255,0.80) !important;
  opacity: 1 !important;
}

.technical-rail-link {
  color: #ffffff !important;
  border-top-color: rgba(255,255,255,0.11) !important;
  background: rgba(255,255,255,0.035);
}

.technical-rail summary::marker {
  color: rgba(255,255,255,0.72);
}

/* Slightly stronger card headings without making the page heavy */
.provider-column-v12 h4 {
  color: #1a2b47;
}

.provider-heading-v12 h3 {
  color: #13233e;
}

.appraisal-v12 p {
  color: #26354c;
}


/* v16 — workaround essentials: conditional, not failed */
.essential-line-workaround {
  text-decoration: none !important;
  color: #16243a !important;
  font-weight: 600 !important;
}

.essential-workaround-mark {
  color: #9b6739 !important;
  font-weight: 800 !important;
  font-size: 1.08rem !important;
  text-decoration: none !important;
}


/* v17 — subtle green structural frame only */
.provider-grid-v12 {
  border-top: 1px solid rgba(62, 128, 85, 0.32) !important;
}

.provider-column-v12 + .provider-column-v12 {
  border-left: 1px solid rgba(62, 128, 85, 0.32) !important;
}


/* v18 — practical usability */
.results-head-actions {
  display: flex;
  gap: .55rem;
  align-items: center;
}

.result-key {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1rem;
  margin: .65rem 0 1rem;
  padding: .68rem .82rem;
  border: 1px solid rgba(31,54,84,.11);
  border-radius: 11px;
  background: rgba(255,255,255,.52);
  font-size: .77rem;
}

.result-key span {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}

.key-symbol { font-size: 1rem; }
.key-good { color:#328a43; }
.key-workaround { color:#9b6739; }
.key-bad { color:#b42e2e; }

.provider-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  padding: .8rem 1.4rem .15rem;
  border-top: 1px solid rgba(31,54,84,.08);
}

.provider-action {
  display: inline-flex;
  align-items: center;
  min-height: 2.15rem;
  padding: .42rem .7rem;
  border-radius: 8px;
  text-decoration: none;
  font-size: .75rem;
  font-weight: 700;
}

.provider-action.primary {
  background: #19345b;
  color: #fff;
}

.provider-action.primary:hover {
  background: #122745;
}

.provider-action.secondary {
  border: 1px solid rgba(31,54,84,.16);
  color: #19345b;
  background: #fff;
}

.provider-action.secondary:hover {
  background: #f5f8fb;
}


/* v19 — sharpen structural green and simplify desirable-feature column */
.provider-grid-v12 {
  border-top-color: rgba(47, 138, 67, 0.46) !important;
}

.provider-column-v12 + .provider-column-v12 {
  border-left-color: rgba(47, 138, 67, 0.46) !important;
}

.provider-column-v12 h4 {
  letter-spacing: 0.065em;
}

.feature-mark.yes {
  color: #2f8a43;
}

.feature-mark.no {
  color: #b23a32;
}


/* v20 — column identity, bonus features, inline evidence */

/* Distinct but restrained header colours */
.provider-grid-v12 .provider-column-v12:nth-child(1) > h4 {
  background: rgba(219, 239, 223, 0.95);
  color: #214c2e;
}

.provider-grid-v12 .provider-column-v12:nth-child(2) > h4 {
  background: rgba(221, 234, 249, 0.95);
  color: #244c73;
}

.provider-grid-v12 .provider-column-v12:nth-child(3) > h4 {
  background: rgba(244, 234, 213, 0.95);
  color: #6d4d1f;
}

.provider-column-v12 > h4 {
  margin: -1.05rem -1.2rem 0.9rem;
  padding: 0.72rem 1.2rem;
}

/* Bonus features are visibly secondary */
.bonus-features {
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(31,54,84,.11);
}

.bonus-heading {
  margin-bottom: 0.35rem;
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  color: rgba(36,76,115,.72);
}

.bonus-line {
  min-height: 2.15rem;
  font-size: 0.82rem;
}

/* Technical rail stays purple when closed, but opened item becomes white/black */
.technical-rail details[open] {
  background: #ffffff !important;
}

.technical-rail details[open] summary {
  color: #111111 !important;
}

.technical-rail details[open] p {
  color: #111111 !important;
}

.technical-rail details[open] summary::marker {
  color: #111111 !important;
}

/* Inline evidence keeps user on IndieIP until they choose to leave */
.evidence-inline {
  position: relative;
}

.evidence-inline > summary {
  list-style: none;
  cursor: pointer;
}

.evidence-inline > summary::-webkit-details-marker {
  display: none;
}

.evidence-panel {
  width: min(34rem, 80vw);
  margin-top: 0.55rem;
  padding: 0.8rem;
  border: 1px solid rgba(31,54,84,.14);
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(23,42,70,.08);
}

.evidence-item + .evidence-item {
  margin-top: 0.7rem;
  padding-top: 0.7rem;
  border-top: 1px solid rgba(31,54,84,.09);
}

.evidence-item strong {
  font-size: 0.78rem;
}

.evidence-item p {
  margin: 0.25rem 0 0.35rem;
  font-size: 0.76rem;
  line-height: 1.45;
  color: #26354c;
}

.evidence-item a {
  font-size: 0.72rem;
  font-weight: 700;
}


/* v21 — make the provenance of every result unmistakable */
.result-basis-card {
  position: relative;
  padding-left: 1rem;
  border-left: 4px solid #7d8796;
}

.result-basis-kicker {
  margin-bottom: .22rem;
  font-size: .64rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .09em;
  color: rgba(24,42,69,.55);
}

.result-basis-card .coverage-confidence {
  margin-bottom: .28rem;
  font-weight: 800;
}

.result-basis-card.basis-local,
.result-basis-card:has(.basis-local) {
  border-left-color: #328a43;
}

.result-basis-card:has(.basis-metro) {
  border-left-color: #4f79a8;
}

.result-basis-card:has(.basis-coverage) {
  border-left-color: #9b6739;
}

.result-basis-card:has(.basis-national) {
  border-left-color: #7d8796;
}

.basis-local { color:#26733a; }
.basis-metro { color:#355f91; }
.basis-coverage { color:#84562f; }
.basis-national { color:#5d6672; }


/* v25 — exact-address journey + independent commercial layer */
.next-step-strip {
  margin-top: .58rem;
  padding-top: .52rem;
  border-top: 1px solid rgba(31,54,84,.09);
  font-size: .76rem;
  line-height: 1.45;
  color: #46546a;
}

.next-step-strip strong {
  color: #22334e;
}

.provider-action.primary {
  font-weight: 800;
}

.commercial-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .3rem;
  margin-top: .5rem;
  font-size: .67rem;
  color: rgba(49,61,79,.66);
}

.commercial-note strong {
  font-weight: 750;
}

.commercial-dot {
  width: .42rem;
  height: .42rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #ba4b40;
}

.commercial-separator {
  opacity: .42;
}

.commercial-disclosure {
  max-width: 72rem;
  margin: 1.4rem auto 0;
  padding: .8rem 1rem;
  border: 1px solid rgba(31,54,84,.11);
  border-radius: 10px;
  background: rgba(255,255,255,.52);
  font-size: .76rem;
}

.commercial-disclosure p {
  margin: .24rem 0 0;
  color: #4a5668;
}


/* v26 — align technical rail with result-card header and prepare outbound conversion tracking */

/* The purple rail cap now has the same vertical rhythm as the provider-name band. */
.technical-rail-title {
  box-sizing: border-box;
  min-height: 4.45rem;
  display: flex;
  align-items: center;
  padding: 1.28rem 0.95rem 0.95rem !important;
}

/* Keep provider headings on the same minimum header height so both columns key together. */
.provider-heading-v12 {
  box-sizing: border-box;
  min-height: 4.45rem;
}

/* External availability is the conversion action; evidence remains secondary. */
.provider-outbound {
  white-space: nowrap;
}

.provider-outbound::after {
  content: " provider site";
  margin-left: .32rem;
  font-size: .62rem;
  font-weight: 650;
  opacity: .56;
}

/* Avoid over-long CTA annotation on narrow screens. */
@media (max-width: 640px) {
  .provider-outbound::after {
    content: "";
    margin: 0;
  }
}


/* v28 — trust and comparison UX */
.compare-intro {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  margin: .2rem 0 .8rem;
  padding: .66rem .82rem;
  border: 1px solid rgba(31,54,84,.10);
  border-radius: 9px;
  background: rgba(255,255,255,.52);
  font-size: .75rem;
}

.compare-intro strong {
  color: #22334e;
}

.compare-intro span {
  color: #59667a;
  text-align: right;
}

.verdict-disclosure {
  margin-top: .7rem;
  padding-top: .58rem;
  border-top: 1px solid rgba(31,54,84,.08);
}

.verdict-disclosure summary {
  cursor: pointer;
  font-size: .71rem;
  font-weight: 800;
  color: #344f72;
}

.verdict-disclosure[open] {
  background: #ffffff;
  border-radius: 7px;
  padding: .58rem .65rem .65rem;
}

.verdict-disclosure ul {
  margin: .5rem 0 0;
  padding-left: 1.05rem;
  font-size: .7rem;
  line-height: 1.45;
  color: #111111;
}

.verdict-disclosure li + li {
  margin-top: .22rem;
}

@media (max-width: 720px) {
  .compare-intro {
    display: block;
  }

  .compare-intro span {
    display: block;
    margin-top: .28rem;
    text-align: left;
  }
}


/* v30 — national fallback UX */
.unknown-provider-fallback {
  margin-top: 1rem;
  border: 1px dashed rgba(31,54,84,.18);
  border-radius: 10px;
  background: rgba(255,255,255,.46);
}

.unknown-provider-fallback summary {
  cursor: pointer;
  padding: .8rem .9rem;
  font-size: .78rem;
  font-weight: 800;
  color: #2f4b70;
}

.unknown-provider-panel {
  padding: 0 .9rem .9rem;
  font-size: .75rem;
  color: #3d4a5e;
}

.unknown-provider-checklist {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: .42rem .8rem;
  margin: .65rem 0;
}

.unknown-provider-checklist span {
  padding-left: .9rem;
  position: relative;
}

.unknown-provider-checklist span::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #3d7a4c;
  font-weight: 900;
}

.unknown-provider-note {
  margin-bottom: 0;
  color: #667184;
}

.national-fallback-explainer {
  max-width: 72rem;
  margin: 1.5rem auto 0;
  padding: 1rem 1.05rem;
  border-radius: 12px;
  background: rgba(227,236,248,.48);
  border: 1px solid rgba(54,87,126,.12);
}

.national-fallback-explainer h2 {
  margin: .1rem 0 .35rem;
}

.national-fallback-explainer p:last-child {
  margin-bottom: 0;
}

@media (max-width: 640px) {
  .unknown-provider-checklist {
    grid-template-columns: 1fr;
  }
}


/* v31 — FCC-backed national fallback */
.basis-local {
  color:#26733a;
}

.fcc-source-note {
  font-size:.69rem;
  color:#59667a;
}
