/* ==========================================================================
   Live Smart Electric & Solar — Direction A: Trust & Utility
   Light, high-contrast, conversion-first design system.
   ========================================================================== */

/* ---------- Fonts (self-hosted) ---------- */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/barlow-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/barlow-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/barlow-800.woff2') format('woff2');
}
@font-face {
  font-family: 'Public Sans';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/public-sans-var.woff2') format('woff2');
}

/* ---------- Tokens ---------- */
:root {
  --blue: #2B6DA8;
  --blue-dark: #235B8E;
  --blue-deeper: #1B4A75;
  --blue-tint: #E9F1F8;
  --navy: #0E2233;
  --navy-2: #14314A;
  --orange: #F79A1E;
  --orange-dark: #E68A06;
  --ink: #132A3E;
  --ink-2: #3E5366;
  --bg: #FFFFFF;
  --bg-2: #F2F6FA;
  --line: #D9E3EB;
  --line-2: #C2D1DC;
  --on-navy: #C3D2DE;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-1: 0 1px 2px rgba(14, 34, 51, .06), 0 2px 8px rgba(14, 34, 51, .05);
  --shadow-2: 0 4px 10px rgba(14, 34, 51, .08), 0 14px 34px rgba(14, 34, 51, .10);
  --font-display: 'Barlow', 'Avenir Next Condensed', 'Helvetica Neue', sans-serif;
  --font-body: 'Public Sans', 'Helvetica Neue', Arial, sans-serif;
  --header-h: 74px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-dark); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.08;
  margin: 0 0 .6em;
  letter-spacing: -.01em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 5.5vw, 4.15rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.7rem); font-weight: 700; }
h3 { font-size: 1.35rem; font-weight: 700; line-height: 1.2; }
h4 { font-size: 1.1rem; font-weight: 700; line-height: 1.25; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.3em; }
strong { font-weight: 700; }
:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
  border-radius: 4px;
}
::selection { background: var(--blue); color: #fff; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

.container {
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2rem);
}
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: .7rem 1.2rem;
  z-index: 100;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: .015em;
  line-height: 1.15;
  padding: .9rem 1.55rem;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, border-color .15s ease;
  text-align: center;
}
.btn:active { transform: translateY(1px); }
.btn-orange {
  background: var(--orange);
  color: var(--navy);
  box-shadow: 0 2px 6px rgba(247, 154, 30, .35);
}
.btn-orange:hover {
  background: var(--orange-dark);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(247, 154, 30, .38);
}
.btn-blue {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 2px 6px rgba(43, 109, 168, .3);
}
.btn-blue:hover {
  background: var(--blue-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(43, 109, 168, .34);
}
.btn-outline {
  background: #fff;
  color: var(--blue-dark);
  border-color: var(--line-2);
}
.btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue-deeper);
  transform: translateY(-2px);
  box-shadow: var(--shadow-1);
}
.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .55);
}
.btn-outline-light:hover { border-color: #fff; color: #fff; transform: translateY(-2px); }
.btn-lg { font-size: 1.15rem; padding: 1.05rem 1.9rem; border-radius: 12px; }
.btn-sm { font-size: .95rem; padding: .62rem 1.1rem; }
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--blue-dark);
  text-decoration: none;
}
.arrow-link::after { content: '\2192'; transition: transform .15s ease; }
.arrow-link:hover::after { transform: translateX(4px); }
.arrow-link:hover { color: var(--blue-deeper); text-decoration: underline; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s ease;
}
.site-header.scrolled { box-shadow: 0 6px 20px rgba(14, 34, 51, .08); }
.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { height: 44px; width: auto; }
.main-nav { margin-left: .5rem; }
.main-nav ul {
  display: flex;
  gap: .25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav a {
  display: block;
  padding: .55rem .85rem;
  font-weight: 600;
  font-size: .97rem;
  color: var(--ink);
  text-decoration: none;
  border-radius: 8px;
}
.main-nav a:hover { background: var(--blue-tint); color: var(--blue-deeper); }
.main-nav a[aria-current='page'] {
  color: var(--blue-deeper);
  box-shadow: inset 0 -3px 0 var(--orange);
  border-radius: 8px 8px 0 0;
}
.header-ctas {
  margin-left: auto;
  display: flex;
  gap: .6rem;
  align-items: center;
}
.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 2px solid var(--line-2);
  border-radius: 8px;
  padding: .5rem .6rem;
  cursor: pointer;
  color: var(--ink);
}
.nav-toggle svg { display: block; }
.nav-panel { display: none; }

@media (max-width: 980px) {
  .main-nav, .header-ctas { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-panel {
    display: block;
    position: absolute;
    inset-inline: 0;
    top: 100%;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px rgba(14, 34, 51, .14);
    padding: .75rem 1.25rem 1.4rem;
    transform-origin: top;
  }
  .nav-panel[hidden] { display: none; }
  .nav-panel ul { list-style: none; margin: 0 0 1rem; padding: 0; }
  .nav-panel li + li { border-top: 1px solid var(--line); }
  .nav-panel a:not(.btn) {
    display: block;
    padding: .85rem .25rem;
    font-weight: 600;
    font-size: 1.08rem;
    color: var(--ink);
    text-decoration: none;
  }
  .nav-panel a[aria-current='page'] { color: var(--blue-deeper); }
  .nav-panel .panel-ctas { display: grid; gap: .6rem; }
}

/* ---------- Section scaffolding ---------- */
.section { padding-block: clamp(3.5rem, 8vw, 6.25rem); }
.section-tight { padding-block: clamp(2.5rem, 6vw, 4.25rem); }
.section-alt { background: var(--bg-2); }
.section-navy { background: var(--navy); color: var(--on-navy); }
.section-navy h2, .section-navy h3 { color: #fff; }
/* Light cards placed on navy sections keep dark-on-light text */
.section-navy .card { color: var(--ink); }
.section-navy .card h2, .section-navy .card h3, .section-navy .card h4 { color: var(--ink); }
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }
.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue-dark);
  margin-bottom: .9rem;
}
.section-navy .eyebrow { color: var(--orange); }
.lede {
  font-size: 1.17rem;
  color: var(--ink-2);
  max-width: 46em;
}
.section-navy .lede { color: var(--on-navy); }
.section-head { max-width: 780px; margin-bottom: clamp(1.8rem, 4vw, 3rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lede { margin-inline: auto; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(3rem, 6vw, 4.5rem);
  background-color: #FBFDFE;
  background-image:
    radial-gradient(1100px 520px at 78% -20%, rgba(43, 109, 168, .12), transparent 62%),
    radial-gradient(700px 420px at -10% 110%, rgba(247, 154, 30, .08), transparent 60%);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
/* Animated blueprint grid paper (compositor-only drift) */
.hero::before {
  content: '';
  position: absolute;
  inset: -48px;
  background-image:
    linear-gradient(rgba(43, 109, 168, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43, 109, 168, .055) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  .hero::before { animation: bp-grid-drift 90s linear infinite; }
}
@keyframes bp-grid-drift { to { transform: translate(44px, 44px); } }
.hero .container { position: relative; z-index: 1; }
.hero-inner { max-width: 980px; }
.hero .eyebrow {
  color: var(--blue-deeper);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .45rem 1rem;
  box-shadow: var(--shadow-1);
  animation: rise .6s ease both;
}
.hero h1 { animation: rise .6s ease .08s both; max-width: 21ch; }
.hero .lede { animation: rise .6s ease .16s both; font-size: clamp(1.1rem, 1.6vw, 1.28rem); }
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin: 1.9rem 0 1.1rem;
  animation: rise .6s ease .24s both;
}
.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.8rem;
  animation: rise .6s ease .3s both;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.trust-strip { background: #fff; border-bottom: 1px solid var(--line); }
.trust-strip ul {
  list-style: none;
  margin: 0;
  padding: 1rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 2.2rem;
  align-items: center;
  justify-content: space-between;
}
.trust-strip li {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .98rem;
  color: var(--ink);
  letter-spacing: .01em;
}
.trust-strip svg { color: var(--blue); flex-shrink: 0; }
@media (max-width: 760px) {
  .trust-strip ul { justify-content: flex-start; gap: .65rem 1.6rem; }
}

/* Page hero (interior pages) */
.page-hero {
  background-color: var(--navy);
  background-image:
    radial-gradient(900px 420px at 85% -30%, rgba(43, 109, 168, .5), transparent 65%),
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: auto, 44px 44px, 44px 44px;
  color: var(--on-navy);
  padding-block: clamp(3.2rem, 7vw, 5.5rem);
}
.page-hero h1 { color: #fff; max-width: 20ch; }
.page-hero .eyebrow { color: var(--orange); }
.page-hero .lede { color: var(--on-navy); }
.page-hero .hero-ctas { margin-bottom: 0; }

/* ---------- Cards / grids ---------- */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
}
.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.service-card {
  display: flex;
  flex-direction: column;
  padding: 1.6rem 1.5rem 1.4rem;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
  border-color: var(--line-2);
}
.icon-tile {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--blue-tint);
  color: var(--blue-deeper);
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
}
.service-card h3 { font-size: 1.22rem; margin-bottom: .45rem; }
.service-card p { color: var(--ink-2); font-size: .98rem; flex-grow: 1; margin-bottom: 1rem; }
.service-card .arrow-link { font-size: .98rem; }

/* ---------- Assessment promo band ---------- */
.score-ring { width: 190px; height: 190px; }
.score-ring .track { stroke: rgba(255, 255, 255, .14); }
.score-ring .meter { stroke: var(--orange); stroke-linecap: round; }
.score-ring text {
  font-family: var(--font-display);
  font-weight: 800;
  fill: #fff;
}
.assess-band { display: grid; grid-template-columns: auto 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.assess-band .ring-wrap { display: grid; place-items: center; }
@media (max-width: 800px) {
  .assess-band { grid-template-columns: 1fr; text-align: center; }
  .assess-band .hero-ctas, .assess-band .checklist-inline { justify-content: center; }
}
.checklist-inline {
  list-style: none;
  padding: 0;
  margin: 0 0 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem .6rem;
}
.checklist-inline li {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  color: #E4EDF3;
  border-radius: 999px;
  padding: .38rem .9rem;
  font-size: .92rem;
  font-weight: 600;
}
.checklist-inline svg { color: var(--orange); }

/* ---------- Plans ---------- */
.plan-card {
  display: flex;
  flex-direction: column;
  padding: 1.8rem 1.6rem 1.6rem;
  position: relative;
  transition: transform .18s ease, box-shadow .18s ease;
}
.plan-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.plan-card .plan-kicker {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--blue-dark);
  margin-bottom: .5rem;
}
.plan-card h3 { font-size: 1.32rem; margin-bottom: .2rem; }
.plan-price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.35rem;
  color: var(--ink);
  letter-spacing: -.02em;
  margin: .35rem 0 .1rem;
}
.plan-price span {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink-2);
  letter-spacing: 0;
  font-family: var(--font-body);
}
.plan-sub { color: var(--ink-2); font-size: .97rem; margin-bottom: 1.1rem; }
.plan-card ul.features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.4rem;
  flex-grow: 1;
}
.plan-card ul.features li {
  display: flex;
  gap: .6rem;
  align-items: flex-start;
  padding: .34rem 0;
  font-size: .96rem;
  color: var(--ink);
}
.plan-card ul.features svg { flex-shrink: 0; color: var(--blue); margin-top: .22rem; }
.plan-featured {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--on-navy);
}
.plan-featured h3, .plan-featured .plan-price { color: #fff; }
.plan-featured .plan-price span { color: var(--on-navy); }
.plan-featured .plan-kicker { color: var(--orange); }
.plan-featured .plan-sub { color: var(--on-navy); }
.plan-featured ul.features li { color: #E4EDF3; }
.plan-featured ul.features svg { color: var(--orange); }
.plan-badge {
  position: absolute;
  top: -14px;
  right: 18px;
  background: var(--orange);
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .32rem .8rem;
  border-radius: 999px;
  box-shadow: 0 4px 10px rgba(247, 154, 30, .4);
}
.savings-note {
  display: inline-block;
  font-weight: 700;
  font-size: .9rem;
  color: var(--blue-deeper);
  background: var(--blue-tint);
  border-radius: 999px;
  padding: .2rem .75rem;
  margin-bottom: .8rem;
}
.plan-featured .savings-note { background: rgba(247, 154, 30, .16); color: var(--orange); }

.callout {
  border: 2px solid var(--orange);
  background: #FFF7EB;
  border-radius: var(--radius);
  padding: 1.6rem 1.7rem;
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
}
.callout .icon-tile { background: var(--orange); color: var(--navy); margin: 0; flex-shrink: 0; }
.callout h3 { margin-bottom: .35rem; }
.callout p:last-child { margin-bottom: 0; }
@media (max-width: 600px) { .callout { flex-direction: column; } }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; counter-reset: step; }
.steps li {
  position: relative;
  padding: 1.4rem 1.4rem 1.3rem 4.4rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  counter-increment: step;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 1.25rem;
  top: 1.35rem;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 10px;
  background: var(--navy);
  color: var(--orange);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  display: grid;
  place-items: center;
}
.steps h3 { font-size: 1.15rem; margin-bottom: .3rem; }
.steps p { margin: 0; color: var(--ink-2); font-size: .98rem; }

/* ---------- Check lists ---------- */
.tick-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.tick-list li { display: flex; gap: .65rem; align-items: flex-start; }
.tick-list svg { flex-shrink: 0; color: var(--blue); margin-top: .28rem; }
.tick-list.on-navy svg { color: var(--orange); }

/* ---------- Split layouts ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--blue-deeper), var(--blue) 55%, #3579B4);
  color: #fff;
  padding-block: clamp(3.2rem, 7vw, 5.25rem);
}
.cta-band h2 { color: #fff; max-width: 22ch; }
.cta-band p { color: #E4EEF6; max-width: 52em; }
.cta-band .hero-ctas { margin-top: 1.6rem; }

/* ---------- Service detail (services page) ---------- */
.service-detail { padding-block: clamp(2.8rem, 6vw, 4.5rem); }
.service-detail + .service-detail { border-top: 1px solid var(--line); }
.service-detail .icon-tile { margin-bottom: 1rem; }
.spec-card { padding: 1.5rem 1.5rem 1.35rem; }
.spec-card h4 {
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--blue-dark);
  margin-bottom: .9rem;
}
.spec-card ul { columns: 2; column-gap: 2rem; list-style: none; padding: 0; margin: 0; }
.spec-card li {
  break-inside: avoid;
  padding: .3rem 0 .3rem 1.35rem;
  position: relative;
  font-size: .96rem;
  color: var(--ink);
}
.spec-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .78em;
  width: .55em;
  height: .55em;
  border-radius: 2px;
  background: var(--orange);
}
@media (max-width: 560px) { .spec-card ul { columns: 1; } }
.pull-quote {
  border-left: 4px solid var(--orange);
  background: var(--bg-2);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1rem 1.3rem;
  font-weight: 600;
  color: var(--ink);
  margin: 1.3rem 0;
}

/* ---------- Values (about) ---------- */
.value-card { padding: 1.7rem 1.6rem 1.5rem; }
.value-card h3 { color: var(--blue-deeper); margin-bottom: .4rem; }
.value-card .value-line { font-weight: 700; margin-bottom: .5rem; }
.value-card p { color: var(--ink-2); font-size: .98rem; margin-bottom: 0; }

.stat-band {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 3rem;
}
.stat-band .stat {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  display: inline-flex;
  gap: .55rem;
  align-items: center;
}
.stat-band svg { color: var(--orange); }

/* ---------- Assessment page ---------- */
.assess-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 2.5rem; align-items: start; }
@media (max-width: 1000px) { .assess-layout { grid-template-columns: 1fr; } }

.q-section { margin-bottom: 1.5rem; overflow: hidden; }
.q-section .q-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 1.4rem;
  background: var(--navy);
}
.q-section .q-head .num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--orange);
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 9px;
  width: 2.3rem;
  height: 2.3rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.q-section .q-head h2 {
  font-size: 1.3rem;
  color: #fff;
  margin: 0;
  flex-grow: 1;
}
.q-live {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
  background: var(--orange);
  border-radius: 999px;
  padding: .28rem .85rem;
  white-space: nowrap;
}
.q-items { padding: .6rem .9rem .9rem; display: grid; gap: .45rem; }
.q-item {
  display: flex;
  gap: .85rem;
  align-items: flex-start;
  padding: .85rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease;
  font-size: 1rem;
}
.q-item:hover { border-color: var(--blue); background: #F7FAFD; }
.q-item input {
  appearance: none;
  -webkit-appearance: none;
  width: 1.45rem;
  height: 1.45rem;
  border: 2px solid var(--line-2);
  border-radius: 6px;
  margin: .1rem 0 0;
  flex-shrink: 0;
  cursor: pointer;
  display: grid;
  place-items: center;
  background: #fff;
  transition: background-color .12s ease, border-color .12s ease;
}
.q-item input:checked { background: var(--blue); border-color: var(--blue); }
.q-item input:checked::after {
  content: '';
  width: .42rem;
  height: .78rem;
  border: solid #fff;
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg) translateY(-1px);
}
.q-item:has(input:checked) { border-color: var(--blue); background: var(--blue-tint); }

.contact-card { padding: 1.5rem 1.5rem 1.4rem; margin-bottom: 1.5rem; }
.contact-card .fields { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem 1rem; margin-top: .9rem; }
@media (max-width: 640px) { .contact-card .fields { grid-template-columns: 1fr; } }
.field label {
  display: block;
  font-weight: 700;
  font-size: .88rem;
  margin-bottom: .3rem;
  color: var(--ink);
}
.field label .opt { color: var(--ink-2); font-weight: 500; }
.field input, .field select {
  width: 100%;
  font: inherit;
  font-size: .98rem;
  color: var(--ink);
  padding: .68rem .8rem;
  border: 1.5px solid var(--line-2);
  border-radius: 8px;
  background: #fff;
}
.field input:focus, .field select:focus {
  outline: 3px solid rgba(43, 109, 168, .35);
  outline-offset: 0;
  border-color: var(--blue);
}

.sticky-rail { position: sticky; top: calc(var(--header-h) + 20px); }
.rail-card { padding: 1.5rem 1.5rem 1.4rem; }
.rail-card .big-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 3rem;
  line-height: 1;
  color: var(--ink);
}
.rail-card .big-num .of { font-size: 1.2rem; color: var(--ink-2); font-weight: 700; }
.rail-meter {
  height: 10px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  margin: .8rem 0 1.2rem;
}
.rail-meter > div {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--blue), var(--orange));
  border-radius: 999px;
  transition: width .35s ease;
}

/* Results */
.results-card { overflow: hidden; }
.results-hero {
  background: var(--navy);
  color: var(--on-navy);
  padding: 2.2rem 1.8rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: center;
}
@media (max-width: 700px) { .results-hero { grid-template-columns: 1fr; justify-items: center; text-align: center; } }
.results-hero .score-ring { width: 170px; height: 170px; }
.results-hero h2 { color: #fff; }
.tier-chip {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.45rem;
  color: var(--orange);
  letter-spacing: .01em;
}
.results-hero h2 { font-size: 1.6rem; margin-bottom: .3rem; }
.results-hero p { margin-bottom: 0; }
.results-body { padding: 1.8rem; }
.section-scores { list-style: none; margin: 0 0 1.6rem; padding: 0; display: grid; gap: .7rem; }
.section-scores li { display: grid; grid-template-columns: 1fr auto; gap: .35rem 1rem; align-items: center; }
.section-scores .label { font-weight: 600; font-size: .97rem; }
.section-scores .bar {
  grid-column: 1 / -1;
  height: 8px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}
.section-scores .bar > span {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--blue);
  border-radius: 999px;
  transition: width .5s ease;
}
.section-score {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--ink);
  white-space: nowrap;
}
.next-step {
  border: 1px solid var(--line);
  border-left: 4px solid var(--orange);
  background: var(--bg-2);
  border-radius: var(--radius-sm);
  padding: 1.2rem 1.4rem;
  margin-bottom: 1.4rem;
}
.next-step h3 { font-size: 1.1rem; margin-bottom: .35rem; }
.next-step p { margin-bottom: 0; color: var(--ink-2); }

.ring-stack { position: relative; width: 170px; height: 170px; }
.ring-stack svg { width: 100%; height: 100%; display: block; }
.ring-label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .05rem;
}
.ring-label .num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.9rem;
  line-height: 1;
  color: #fff;
}
.ring-label .den { font-size: .92rem; font-weight: 600; color: var(--on-navy); }

/* Report pricing */
.price-card { padding: 1.7rem 1.6rem 1.5rem; display: flex; flex-direction: column; }
.price-card .plan-price { font-size: 2rem; }
.price-card ul { flex-grow: 1; }

/* FAQ */
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  margin-bottom: .7rem;
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.05rem 1.3rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--blue);
  line-height: 1;
  transition: transform .15s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 1.3rem 1.15rem; color: var(--ink-2); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: var(--on-navy);
  padding-top: clamp(3rem, 6vw, 4.5rem);
  font-size: .97rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 2.75rem;
}
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 {
  color: #fff;
  font-size: .88rem;
  text-transform: uppercase;
  letter-spacing: .13em;
  margin-bottom: 1rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.site-footer a { color: var(--on-navy); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-brand img {
  width: 132px;
  margin-bottom: 1.1rem;
  background: #fff;
  padding: .8rem;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
}
.footer-tagline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--orange);
  margin-bottom: .8rem;
}
.footer-badges {
  border-top: 1px solid rgba(255, 255, 255, .14);
  padding-block: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 2rem;
}
.footer-badges span {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .92rem;
  color: #E4EDF3;
}
.footer-badges svg { color: var(--orange); }
.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, .14);
  padding-block: 1.3rem;
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 2rem;
  justify-content: space-between;
  font-size: .9rem;
  color: #A9BCCB;
}

/* ---------- Misc ---------- */
.flyer-frame {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-2);
  max-width: 420px;
}
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* ==========================================================================
   9. The Living Blueprint — signature experience layer
   Decorative layers are aria-hidden + pointer-events:none; all motion is
   CSS-driven, gated behind prefers-reduced-motion where it is purely
   decorative, and pausable via .bp-paused (set by js/blueprint.js).
   ========================================================================== */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Hero layout: copy + blueprint panel ---------- */
.hero-inner {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}
.hero h1 { font-size: clamp(2.35rem, 3.6vw, 3.3rem); max-width: 17ch; }
.hero .lede { font-size: clamp(1.05rem, 1.4vw, 1.18rem); }
.bp-wrap { animation: rise .6s ease .2s both; min-width: 0; }
@media (max-width: 1020px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero h1 { max-width: 21ch; }
}

/* ---------- Blueprint panel (the drafting sheet) ---------- */
.bp-panel {
  background-color: #0B1D2C;
  background-image:
    radial-gradient(620px 420px at 72% -10%, rgba(43, 109, 168, .28), transparent 65%),
    linear-gradient(rgba(140, 190, 230, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140, 190, 230, .07) 1px, transparent 1px);
  background-size: auto, 34px 34px, 34px 34px;
  border: 1px solid #2E5578;
  border-radius: 18px;
  box-shadow: 0 30px 60px rgba(14, 34, 51, .35), inset 0 1px 0 rgba(255, 255, 255, .06);
  padding: .85rem .9rem 1rem;
  color: #DCE9F2;
}
.bp-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .8rem 1.2rem;
  padding: .15rem .25rem .8rem;
  border-bottom: 1px dashed rgba(140, 190, 230, .25);
  margin-bottom: .35rem;
}
.bp-status {
  margin: 0;
  flex: 1 1 240px;
  font-size: .88rem;
  line-height: 1.45;
  color: #A9C2D6;
}
.bp-status strong { color: var(--orange); font-weight: 700; }
.bp-legend {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  padding-top: .8rem;
  border-top: 1px dashed rgba(140, 190, 230, .25);
  margin-top: .35rem;
}
.bp-chip {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: #DCE9F2;
  text-decoration: none;
  border: 1px solid rgba(140, 190, 230, .35);
  border-radius: 999px;
  padding: .32rem .8rem;
  background: rgba(255, 255, 255, .04);
  transition: border-color .15s ease, background-color .15s ease, color .15s ease;
}
.bp-chip::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--orange);
  box-shadow: 0 0 6px rgba(247, 154, 30, .7);
  flex-shrink: 0;
}
.bp-chip:hover, .bp-chip:focus-visible { border-color: var(--orange); color: #fff; background: rgba(247, 154, 30, .13); }

/* ---------- The GRID switch (breaker-style control) ---------- */
.grid-switch {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  background: #0F2B41;
  border: 1.5px solid #3D6C99;
  border-radius: 10px;
  padding: .5rem .85rem;
  cursor: pointer;
  font-family: var(--font-display);
  color: #DCE9F2;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.grid-switch:hover { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(247, 154, 30, .18); }
.gs-label {
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.gs-track {
  position: relative;
  width: 56px;
  height: 26px;
  border-radius: 999px;
  border: 2px solid #3D6C99;
  background: #122F47;
  flex-shrink: 0;
}
.gs-lever {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 10px rgba(247, 154, 30, .8);
  transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease;
}
.grid-switch[aria-checked='false'] .gs-lever {
  transform: translateX(30px);
  background: #5A7285;
  box-shadow: none;
}
.gs-state { font-weight: 800; font-size: .85rem; letter-spacing: .08em; min-width: 2.2em; text-align: left; }
.grid-switch[aria-checked='true'] .gs-state::before { content: 'ON'; color: var(--orange); }
.grid-switch[aria-checked='false'] .gs-state::before { content: 'OFF'; color: #8FA5B5; }

/* ---------- Blueprint SVG scene ---------- */
.bp { display: block; width: 100%; height: auto; }
.bp text {
  font-family: var(--font-display);
  font-weight: 700;
  fill: #7FA3BF;
  letter-spacing: .13em;
}
.bp .lbl-in { fill: #BFD9EA; letter-spacing: .08em; }
.bp .frame rect, .bp .titleblock rect { fill: none; stroke: #2C5578; stroke-width: 1.5; }
.bp .titleblock line { stroke: #2C5578; stroke-width: 1.5; }
.bp .titleblock text { letter-spacing: .06em; }
.bp .reg { stroke: #2C5578; stroke-width: 1.5; }
.bp .st { stroke: #9FBED6; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.bp .st-heavy { stroke-width: 2.6; }
.bp .st-dim { stroke: #54788F; stroke-width: 1.6; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.bp .detail { stroke: #7FA3BF; stroke-width: 1.4; fill: none; stroke-linecap: round; }
.bp .lbl-line { stroke: #4A708E; stroke-width: 1; stroke-dasharray: 3 4; fill: none; }
.bp .box { fill: #0F2B41; stroke: #BFD9EA; stroke-width: 2; }
.bp .meter { fill: #0F2B41; stroke: #BFD9EA; stroke-width: 1.8; }
.bp .win, .bp .nwin {
  fill: rgba(247, 154, 30, .45);
  stroke: #E9A94F;
  stroke-width: 1.2;
  transition: fill .45s ease, stroke .45s ease;
}
.bp .lamp { fill: rgba(247, 154, 30, .55); stroke: #E9A94F; stroke-width: 1.2; }
.bp .lightrays { stroke: #E9A94F; stroke-width: 1.4; fill: none; stroke-linecap: round; }
.bp .sun-core { fill: rgba(247, 154, 30, .08); stroke: #EBAD52; stroke-width: 1.6; stroke-dasharray: 4 5; }
.bp .sun-rays path { stroke: #EBAD52; stroke-width: 1.6; stroke-linecap: round; }
.bp .pv rect { fill: #14344E; stroke: #8FC9F5; stroke-width: 1.6; }
.bp .bcell { fill: #F79A1E; }
.bp .ev-dot { fill: #8FC9F5; }
.bp .node { fill: #F79A1E; }
.bp .drop { stroke: #7B99B0; stroke-width: 1.5; fill: none; transition: stroke .45s ease; }
.bp .pole .st, .bp .pole .detail { transition: stroke .45s ease; }
.bp .trace { stroke: #3D6C99; stroke-width: 2.4; fill: none; stroke-linejoin: round; transition: stroke .45s ease; }
.bp .flow {
  fill: none;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-dasharray: 7 11;
  opacity: .95;
}
.bp .c-utility .flow { stroke: #8FC9F5; }
.bp .c-loads .flow { stroke: #8FC9F5; }
.bp .sys-ev .flow { stroke: #8FC9F5; }
.bp .sys-solar .flow, .bp .sys-batt .flow, .bp .sys-gen .flow { stroke: #F79A1E; }
.bp .sys-gen .flow { display: none; }
.bp .sys-gen .trace { opacity: .55; }
.bp .badge { display: none; }
.bp .badge rect { fill: rgba(247, 154, 30, .12); stroke: #F79A1E; stroke-width: 1.5; }
.bp .badge text { fill: #F7A63C; letter-spacing: .22em; }

@media (prefers-reduced-motion: no-preference) {
  .bp .flow { animation: bp-flow 1.3s linear infinite; }
  .bp .c-utility .flow { animation-duration: 1.15s; }
  .bp .sys-solar .flow { animation-duration: 1.9s; }
  .bp .sys-gen .flow { animation-duration: .85s; }
  .bp .sys-batt .flow { animation-direction: reverse; }
  .bp.grid-off .sys-batt .flow { animation-direction: normal; }
  .bp .node { animation: bp-node 2.6s ease-in-out infinite; }
  .bp .sun-rays { transform-box: view-box; transform-origin: 84px 76px; animation: bp-sun 40s linear infinite; }
  .bp:not(.grid-off) .bcell { animation: bp-charge 1.7s ease-in-out infinite; }
  .bp:not(.grid-off) .bcell + .bcell { animation-delay: .85s; }
  .bp.grid-off .badge { animation: bp-blink 1.5s ease-in-out infinite; }
}
@keyframes bp-flow { to { stroke-dashoffset: -36; } }
@keyframes bp-node { 50% { opacity: .35; } }
@keyframes bp-sun { to { transform: rotate(360deg); } }
@keyframes bp-charge { 50% { opacity: .35; } }
@keyframes bp-blink { 50% { opacity: .4; } }

/* Outage state: utility dies, neighborhood goes dark, backup carries the home */
.bp.grid-off .c-utility .flow { display: none; }
.bp.grid-off .c-utility .trace { stroke: #41525F; stroke-dasharray: 3 7; }
.bp.grid-off .meter { stroke: #5A7285; }
.bp.grid-off .drop { stroke: #41525F; }
.bp.grid-off .nwin { fill: #122B3B; stroke: #33475A; }
.bp.grid-off .sys-gen .flow { display: inline; }
.bp.grid-off .sys-gen .trace { opacity: 1; }
.bp.grid-off .sys-gen .gen-body {
  stroke: #F79A1E;
  filter: drop-shadow(0 0 6px rgba(247, 154, 30, .55));
}
.bp.grid-off .c-loads .flow, .bp.grid-off .sys-ev .flow { stroke: #F79A1E; }
.bp.grid-off .ev-dot { fill: #F79A1E; }
.bp.grid-off .badge { display: inline; }
.bp.grid-off .bcell { opacity: .55; }
.bp.grid-off .bcell:first-of-type { opacity: .9; }

/* Transfer moment: brief flicker as the home re-routes (decorative) */
@media (prefers-reduced-motion: no-preference) {
  .bp.transfer .win, .bp.transfer .lamp, .bp.transfer .lightrays {
    animation: bp-flicker .85s steps(1, end) 1 both;
  }
}
@keyframes bp-flicker {
  0% { opacity: 1; }
  18% { opacity: .2; }
  32% { opacity: 1; }
  48% { opacity: .25; }
  62% { opacity: 1; }
  74% { opacity: .45; }
  100% { opacity: 1; }
}

/* Legend hover/focus: trace one system, dim the rest */
.bp > g { transition: opacity .22s ease; }
.bp.has-hl > g { opacity: .22; }
.bp.has-hl > g.frame { opacity: .55; }
.bp.has-hl > g.sys-active { opacity: 1; }
.bp .sys-active { filter: drop-shadow(0 0 5px rgba(247, 154, 30, .45)); }
.bp .sys-active .trace { stroke: #5E93C4; }

/* Pause everything when offscreen or tab hidden */
.bp-paused .bp, .bp-paused .bp * { animation-play-state: paused !important; }

/* Hide fine drafting text at small sizes (decorative) */
@media (max-width: 660px) {
  .bp .titleblock, .bp text:not(.lbl-in), .bp .lbl-line { display: none; }
  .bp-panel { padding: .6rem .6rem .75rem; }
}

/* ---------- Circuit-trace section dividers ---------- */
.circuit-divider { margin: 0 0 clamp(1.7rem, 3.5vw, 2.6rem); overflow: hidden; }
.circuit-divider svg { display: block; width: 100%; height: 36px; }
.cd-line { stroke: var(--line-2); stroke-width: 2; }
.cd-stub { stroke: var(--line-2); stroke-width: 1.6; }
.cd-node { fill: var(--blue); opacity: .55; }
.cd-ring { stroke: var(--orange); stroke-width: 2; fill: none; }
.cd-bolt { fill: var(--orange); }
.cd-flow { stroke: var(--orange); stroke-width: 2; stroke-dasharray: 4 18; opacity: .8; fill: none; }
@media (prefers-reduced-motion: no-preference) {
  .cd-flow { animation: bp-flow 2.8s linear infinite; }
}

/* ---------- Schematic icons carry current on hover ---------- */
.icon-tile { transition: background-color .2s ease, color .2s ease, box-shadow .2s ease; }
.service-card:hover .icon-tile,
.service-card:focus-within .icon-tile,
.icon-tile:hover {
  background: var(--navy);
  color: var(--orange);
  box-shadow: 0 0 0 1px rgba(247, 154, 30, .4), 0 6px 16px rgba(14, 34, 51, .18);
}
@media (prefers-reduced-motion: no-preference) {
  .service-card:hover .icon-tile svg *,
  .service-card:focus-within .icon-tile svg *,
  .icon-tile:hover svg * {
    stroke-dasharray: 3 2.4;
    animation: bp-current .7s linear infinite;
  }
}
@keyframes bp-current { to { stroke-dashoffset: -10.8; } }

/* ---------- Blueprint registration corners on plan/value cards ---------- */
.plan-card, .value-card { position: relative; }
.plan-card::before, .plan-card::after,
.value-card::before, .value-card::after {
  content: '';
  position: absolute;
  width: 15px;
  height: 15px;
  border: 2px solid var(--line);
  pointer-events: none;
  transition: border-color .2s ease;
}
.plan-card::before, .value-card::before {
  top: 9px; left: 9px;
  border-right: none; border-bottom: none;
  border-top-left-radius: 5px;
}
.plan-card::after, .value-card::after {
  bottom: 9px; right: 9px;
  border-left: none; border-top: none;
  border-bottom-right-radius: 5px;
}
.plan-card:hover::before, .plan-card:hover::after,
.value-card:hover::before, .value-card:hover::after { border-color: var(--orange); }
.plan-featured::before, .plan-featured::after { border-color: rgba(255, 255, 255, .28); }

/* ---------- Interior page heroes: live service line ---------- */
.page-hero { position: relative; overflow: hidden; }
.page-hero::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: repeating-linear-gradient(90deg,
    rgba(247, 154, 30, .55) 0 10px, transparent 10px 26px);
  pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  .page-hero::after { animation: bp-dashline 16s linear infinite; }
}
@keyframes bp-dashline { to { background-position: 520px 0; } }

/* ---------- Breaker-panel gauges (score rings) ---------- */
.assess-band .ring-wrap, .results-hero .ring-stack {
  background: #14314A;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 20px;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, .35), 0 10px 28px rgba(0, 0, 0, .22);
  outline: 1px dashed rgba(255, 255, 255, .14);
  outline-offset: -8px;
  padding: 16px;
}
.results-hero .ring-stack { width: 198px; height: 198px; }
.gauge-ticks line { stroke: rgba(255, 255, 255, .28); stroke-width: 2; }

/* ---------- Assessment: progress rail as a filling circuit ---------- */
.rail-circuit { position: relative; overflow: visible; }
.rail-circuit #rail-bar, .rail-circuit > div { border-radius: 999px; }
.rm-node {
  position: absolute;
  top: 50%;
  width: 11px;
  height: 11px;
  box-sizing: border-box;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--line-2);
  transform: translate(-50%, -50%);
  transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.rm-node.on {
  background: var(--orange);
  border-color: var(--orange-dark);
  box-shadow: 0 0 8px rgba(247, 154, 30, .65);
}
.q-section .q-head .num { transition: background-color .25s ease, color .25s ease; }
.q-section.complete .q-head .num {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--navy);
}
.q-section.complete .q-live { box-shadow: 0 0 10px rgba(247, 154, 30, .55); }

/* ---------- Blueprint grid paper carried onto dark bands ---------- */
.section-navy {
  background-image:
    linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
  background-size: 44px 44px;
}
.cta-band {
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(120deg, var(--blue-deeper), var(--blue) 55%, #3579B4);
  background-size: 44px 44px, 44px 44px, auto;
}
