/* Automatic Power Backup — site styles
   Layout idea: bright white pages, one cobalt current running through everything,
   a single dark "storm" scene in the hero where the power drama happens. */
:root {
  --white: #ffffff;
  --mist: #f4f7fd;
  --mist-2: #eaf0fb;
  --line: #dde5f3;
  --cobalt: #0047ab;
  --cobalt-deep: #003583;
  --volt: #3d7bff;
  --glow: #8db8ff;
  --ink: #0b1630;
  --mute: #56627c;
  --night: #071233;
  --warm: #ffd27a;
  --ph: #fff4c2;
  --ph-ink: #6b5200;
  --font-display: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(11,22,48,.04), 0 12px 32px -12px rgba(0,53,131,.18);
  --wrap: 1180px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--font-body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: var(--cobalt); text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; letter-spacing: -0.02em; margin: 0; text-wrap: balance; color: var(--ink); }
h1 { font-size: clamp(2.3rem, 5.2vw, 4.1rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.75rem); font-weight: 700; }
h3 { font-size: 1.28rem; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.eyebrow { font-family: var(--font-display); font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--cobalt); display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: linear-gradient(90deg, var(--cobalt), var(--volt)); border-radius: 2px; }
.lede { font-size: 1.16rem; color: var(--mute); max-width: 60ch; }
.mute { color: var(--mute); }
:focus-visible { outline: 3px solid var(--volt); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--cobalt); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 12px; }

/* Placeholder tags: highlighted so none go live by accident */
.ph { background: var(--ph); color: var(--ph-ink); font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: .82em; font-weight: 600; padding: 1px 7px; border-radius: 6px; border: 1px dashed #d9b84a; white-space: nowrap; letter-spacing: 0; }
.ph-block { background: repeating-linear-gradient(-45deg, var(--mist), var(--mist) 12px, var(--mist-2) 12px, var(--mist-2) 24px); border: 1.5px dashed #b9c8e6; border-radius: var(--radius); display: grid; place-items: center; text-align: center; color: var(--mute); font-size: .92rem; padding: 24px; min-height: 220px; }
.ph-block strong { display: block; font-family: var(--font-display); color: var(--cobalt); font-size: 1rem; margin-bottom: 4px; }

/* Buttons with a spark sweep */
.btn { --bg: var(--cobalt); position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 10px; justify-content: center; font-family: var(--font-display); font-weight: 600; font-size: 1rem; padding: 15px 24px; border-radius: 12px; border: 0; background: var(--bg); color: #fff; text-decoration: none; cursor: pointer; transition: transform .2s ease, box-shadow .25s ease, background .2s; box-shadow: 0 10px 24px -10px rgba(0,71,171,.6); }
.btn::after { content: ""; position: absolute; top: -40%; left: -60%; width: 40%; height: 180%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent); transform: skewX(-20deg); transition: left .55s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(61,123,255,.75), 0 0 0 4px rgba(61,123,255,.14); }
.btn:hover::after { left: 130%; }
.btn .bolt-ico { width: 15px; height: 15px; }
.btn-ghost { background: var(--white); color: var(--cobalt); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--volt), 0 10px 24px -14px rgba(0,71,171,.5); }
.btn-ghost::after { background: linear-gradient(100deg, transparent, rgba(61,123,255,.18), transparent); }
.btn-sm { padding: 11px 18px; font-size: .94rem; border-radius: 10px; }

/* Header */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.86); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s; }
.site-head.scrolled { border-color: var(--line); box-shadow: 0 8px 30px -22px rgba(0,53,131,.45); }
.head-row { display: flex; align-items: center; gap: 28px; height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.brand-mark { width: 40px; height: 40px; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; line-height: 1.05; letter-spacing: -0.015em; }
.brand-name small { display: block; font-size: .64rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--cobalt); margin-top: 4px; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { font-size: .95rem; font-weight: 500; color: var(--ink); text-decoration: none; padding: 9px 13px; border-radius: 9px; transition: background .2s, color .2s; }
.nav a:hover { background: var(--mist); color: var(--cobalt); }
.nav a[aria-current="page"] { color: var(--cobalt); background: var(--mist); }
.head-cta { display: flex; align-items: center; gap: 10px; }
.head-phone { font-family: var(--font-display); font-weight: 600; font-size: .95rem; color: var(--ink); text-decoration: none; display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.menu-btn { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--white); cursor: pointer; }
.menu-btn span { display: block; width: 18px; height: 2px; background: var(--ink); margin: 4px auto; border-radius: 2px; transition: transform .25s, opacity .2s; }
.menu-open .menu-btn span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
.menu-open .menu-btn span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* The current rail: a wire down the page that charges as you scroll */
.rail { position: fixed; left: max(18px, calc((100vw - var(--wrap)) / 2 - 64px)); top: 110px; bottom: 40px; width: 2px; background: var(--line); border-radius: 2px; z-index: 5; pointer-events: none; }
.rail-fill { position: absolute; left: 0; top: 0; width: 100%; height: 0; background: linear-gradient(180deg, var(--glow), var(--cobalt)); border-radius: 2px; box-shadow: 0 0 10px rgba(61,123,255,.6); }
.rail-head { position: absolute; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px var(--volt), 0 0 16px 4px rgba(61,123,255,.7); transform: translateY(-5px); }
.rail-node { position: absolute; left: 50%; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: var(--white); border: 2px solid var(--line); transition: border-color .3s, background .3s, box-shadow .3s; }
.rail-node.on { border-color: var(--cobalt); background: var(--volt); box-shadow: 0 0 10px rgba(61,123,255,.8); }
@media (max-width: 1340px) { .rail { display: none; } }

/* Sections */
section { position: relative; }
.sec { padding: clamp(72px, 9vw, 120px) 0; }
.sec-mist { background: var(--mist); }
.sec-head { display: grid; gap: 14px; max-width: 760px; margin-bottom: 48px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.ico-tile { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; background: linear-gradient(145deg, var(--mist-2), #fff); box-shadow: inset 0 0 0 1px var(--line); color: var(--cobalt); margin-bottom: 18px; }
.ico-tile svg { width: 24px; height: 24px; }

/* Hero */
.hero { padding: clamp(36px, 5vw, 64px) 0 clamp(56px, 7vw, 96px); overflow: hidden; background: radial-gradient(1200px 520px at 85% -10%, var(--mist-2), transparent 60%), var(--white); }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(28px, 4.5vw, 64px); align-items: center; }
.hero-copy { display: grid; gap: 22px; }
.hero h1 .hl { background: linear-gradient(100deg, var(--cobalt) 10%, var(--volt) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px 10px; }
.chip { display: inline-flex; align-items: center; gap: 7px; font-size: .86rem; font-weight: 500; color: var(--ink); background: var(--white); border: 1px solid var(--line); padding: 7px 12px; border-radius: 999px; }
.chip svg { width: 15px; height: 15px; color: var(--cobalt); }
.chip-strong { background: var(--cobalt); color: #fff; border-color: var(--cobalt); }
.chip-strong svg { color: #fff; }
.booking { font-size: .92rem; color: var(--mute); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.booking .dot { width: 8px; height: 8px; border-radius: 50%; background: #18b26b; box-shadow: 0 0 0 4px rgba(24,178,107,.16); }

/* Storm scene */
.scene { position: relative; aspect-ratio: 10 / 8.2; border-radius: 26px; overflow: hidden; background: var(--night); box-shadow: 0 40px 80px -40px rgba(0,30,90,.6), 0 0 0 1px rgba(0,71,171,.18); isolation: isolate; }
.scene svg.landscape { position: absolute; inset: 0; width: 100%; height: 100%; }
.scene canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.scene .flash { position: absolute; inset: 0; background: radial-gradient(circle at 40% 10%, rgba(200,220,255,.85), rgba(120,160,255,.25) 50%, transparent 75%); opacity: 0; pointer-events: none; mix-blend-mode: screen; }
.scene .layer { transition: transform .5s cubic-bezier(.2,.7,.2,1); will-change: transform; }
.win { fill: #ffd27a; filter: url(#winGlow); transition: fill .35s ease, opacity .35s ease; }
.scene.out .win { fill: #18244a; filter: none; }
.scene .porch-light { transition: opacity .3s; }
.scene.out .porch-light { opacity: 0; }
.gen-led { fill: #2ee6a0; transition: fill .3s; }
.scene.out .gen-led { fill: #33415f; }
.scene.starting .gen-led { fill: #ffd27a; }
.status { position: absolute; left: 18px; bottom: 18px; right: 18px; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 14px; background: rgba(7,18,51,.66); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(141,184,255,.22); color: #e9f0ff; font-size: .9rem; }
.status-state { display: flex; align-items: center; gap: 9px; font-family: var(--font-display); font-weight: 600; }
.status-state i { width: 9px; height: 9px; border-radius: 50%; background: #2ee6a0; box-shadow: 0 0 10px #2ee6a0; transition: background .3s, box-shadow .3s; }
.scene.out .status-state i { background: #ff6b6b; box-shadow: 0 0 10px #ff6b6b; }
.scene.starting .status-state i { background: #ffd27a; box-shadow: 0 0 10px #ffd27a; }
.status-timer { font-family: var(--font-display); font-variant-numeric: tabular-nums; color: var(--glow); font-weight: 600; }
.scene-tag { position: absolute; top: 16px; left: 16px; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: #b8cbff; font-family: var(--font-display); font-weight: 600; background: rgba(7,18,51,.5); padding: 6px 10px; border-radius: 8px; border: 1px solid rgba(141,184,255,.18); }

/* Proof strip */
.proof { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.proof-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 34px 26px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat-num { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 3.4vw, 2.7rem); color: var(--cobalt); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; line-height: 1; }
.stat-num small { font-size: .45em; font-weight: 600; margin-left: 3px; letter-spacing: 0; }
.stat p { margin-top: 10px; font-size: .94rem; color: var(--mute); }
.proof-note { font-size: .78rem; color: var(--mute); padding: 0 0 14px; }

/* Why section */
.why-list { display: grid; gap: 18px; margin-top: 30px; }
.why-item { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; }
.why-item .ico-tile { margin: 0; }
.why-item h3 { font-size: 1.1rem; margin-bottom: 4px; }
.why-item p { color: var(--mute); font-size: .98rem; }
.photo { border-radius: 24px; overflow: hidden; }

/* Chooser */
.chooser { display: grid; grid-template-columns: 1.15fr 1fr; gap: 22px; align-items: stretch; }
.loads { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.load { position: relative; }
.load input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.load label { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 13px; border: 1.5px solid var(--line); background: var(--white); cursor: pointer; font-weight: 500; font-size: .96rem; transition: border-color .2s, box-shadow .2s, background .2s; }
.load label svg { width: 22px; height: 22px; color: var(--mute); flex-shrink: 0; transition: color .2s; }
.load input:checked + label { border-color: var(--cobalt); background: linear-gradient(145deg, #f3f7ff, #fff); box-shadow: 0 0 0 4px rgba(61,123,255,.12); }
.load input:checked + label svg { color: var(--cobalt); }
.load input:focus-visible + label { outline: 3px solid var(--volt); outline-offset: 2px; }
.result { background: var(--night); color: #e9f0ff; border-radius: var(--radius); padding: 30px; display: grid; gap: 18px; align-content: start; position: relative; overflow: hidden; }
.result::before { content: ""; position: absolute; inset: -40% -20% auto auto; width: 360px; height: 360px; background: radial-gradient(circle, rgba(61,123,255,.38), transparent 65%); pointer-events: none; }
.result h3 { color: #fff; }
.meter { height: 14px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; border: 1px solid rgba(141,184,255,.2); position: relative; }
.meter-fill { height: 100%; width: 12%; border-radius: 99px; background: linear-gradient(90deg, var(--cobalt), var(--volt), var(--glow)); box-shadow: 0 0 18px rgba(61,123,255,.8); transition: width .6s cubic-bezier(.2,.8,.2,1); }
.meter-scale { display: flex; justify-content: space-between; font-size: .74rem; color: #9fb4e6; letter-spacing: .06em; text-transform: uppercase; margin-top: 8px; }
.rec-label { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--glow); font-family: var(--font-display); font-weight: 600; }
.rec-name { font-family: var(--font-display); font-size: 1.9rem; font-weight: 700; color: #fff; letter-spacing: -0.02em; line-height: 1.1; }
.rec-why { color: #c6d4f5; font-size: .96rem; }
.result .btn { justify-self: start; background: #fff; color: var(--cobalt); box-shadow: none; }
.fine { font-size: .82rem; color: #9fb4e6; }

/* Steps / timeline */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; position: relative; counter-reset: s; }
.steps::before { content: ""; position: absolute; top: 25px; left: 10%; right: 10%; height: 2px; background: var(--line); }
.steps .bar { position: absolute; top: 25px; left: 10%; height: 2px; width: 0; background: linear-gradient(90deg, var(--cobalt), var(--volt)); box-shadow: 0 0 10px rgba(61,123,255,.6); transition: width 1.6s cubic-bezier(.3,.7,.2,1); }
.steps li { position: relative; display: grid; gap: 10px; justify-items: center; text-align: center; counter-increment: s; }
.step-dot { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--white); border: 2px solid var(--line); font-family: var(--font-display); font-weight: 700; color: var(--mute); position: relative; z-index: 1; transition: border-color .4s, color .4s, box-shadow .4s, background .4s; }
.steps li.on .step-dot { border-color: var(--cobalt); color: #fff; background: var(--cobalt); box-shadow: 0 0 0 6px rgba(61,123,255,.14), 0 0 22px rgba(61,123,255,.5); }
.steps h3 { font-size: 1.02rem; }
.steps p { font-size: .9rem; color: var(--mute); max-width: 24ch; }

/* Reviews */
.review { display: grid; gap: 16px; }
.stars { display: flex; gap: 3px; color: var(--cobalt); }
.stars svg { width: 18px; height: 18px; }

/* Area band */
.area-band { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; }
.pulse-map { position: relative; aspect-ratio: 1.35; border-radius: 24px; background: radial-gradient(circle at 50% 52%, #fff, var(--mist) 70%); border: 1px solid var(--line); overflow: hidden; }
.pulse-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ring { fill: none; stroke: var(--volt); stroke-width: 1.5; opacity: 0; transform-origin: center; transform-box: fill-box; }
.county-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; border-radius: 28px; background: linear-gradient(120deg, var(--cobalt-deep), var(--cobalt) 55%, #1f5fd0); color: #fff; padding: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: 1.4fr auto; gap: 30px; align-items: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #d7e4ff; margin-top: 12px; max-width: 52ch; }
.cta-band canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; pointer-events: none; }
.cta-band > * { position: relative; }
.cta-band .btn { background: #fff; color: var(--cobalt); }
.cta-band .btn-ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.45); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Page header (inner pages) */
.page-hero { padding: clamp(54px, 7vw, 92px) 0 clamp(40px, 5vw, 64px); background: radial-gradient(900px 400px at 90% -20%, var(--mist-2), transparent 65%), var(--white); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-hero .wrap { display: grid; gap: 18px; }
.page-hero canvas { position: absolute; right: 0; top: 0; width: 46%; height: 100%; opacity: .9; pointer-events: none; }
.page-hero .wrap > * { position: relative; }

/* Product cards */
.group-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin: 0 0 22px; flex-wrap: wrap; }
.group-head p { max-width: 62ch; color: var(--mute); }
.models { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.model { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 26px; display: grid; gap: 16px; align-content: start; position: relative; transition: transform .3s ease, box-shadow .3s ease, border-color .3s; }
.model:hover { transform: translateY(-4px); border-color: #c4d4f1; box-shadow: 0 30px 50px -30px rgba(0,53,131,.4); }
.model-top { display: flex; justify-content: space-between; align-items: start; gap: 10px; }
.model-kw { font-family: var(--font-display); font-size: 2.6rem; font-weight: 700; color: var(--cobalt); letter-spacing: -0.04em; line-height: 1; }
.model-kw small { font-size: .42em; margin-left: 2px; letter-spacing: 0; }
.tag { font-size: .74rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 5px 9px; border-radius: 7px; background: var(--mist); color: var(--cobalt); white-space: nowrap; }
.tag-liquid { background: #0b1630; color: #b8cbff; }
.model h3 { font-size: 1.14rem; }
.model .best { color: var(--mute); font-size: .95rem; }
.model ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: .92rem; }
.model li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; align-items: start; }
.model li svg { width: 16px; height: 16px; color: var(--cobalt); margin-top: 4px; }
.model-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); font-size: .86rem; color: var(--mute); }
.model-foot a { font-family: var(--font-display); font-weight: 600; text-decoration: none; }
.model.popular { border-color: var(--cobalt); box-shadow: 0 0 0 4px rgba(61,123,255,.1), var(--shadow); }
.ribbon { position: absolute; top: -12px; left: 24px; background: var(--cobalt); color: #fff; font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 7px; }
.model.is-ph { background: repeating-linear-gradient(-45deg, #fff, #fff 14px, #fafcff 14px, #fafcff 28px); border-style: dashed; }

/* Lists and prose */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; }
.checks li svg { width: 20px; height: 20px; color: var(--cobalt); margin-top: 3px; }
.prose { max-width: 72ch; }
.prose h2 { font-size: 1.5rem; margin: 40px 0 12px; }
.prose p, .prose ul { margin: 0 0 14px; color: #2b3754; }
.prose ul { padding-left: 22px; }

/* Forms */
.form-shell { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.progress { display: flex; gap: 6px; margin-bottom: 28px; }
.progress span { flex: 1; height: 5px; border-radius: 9px; background: var(--line); transition: background .4s, box-shadow .4s; }
.progress span.on { background: linear-gradient(90deg, var(--cobalt), var(--volt)); box-shadow: 0 0 10px rgba(61,123,255,.5); }
.fstep { display: none; gap: 18px; border: 0; padding: 0; margin: 0; min-width: 0; }
.fstep.active { display: grid; }
.fstep legend { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; margin-bottom: 4px; padding: 0; }
.field { display: grid; gap: 7px; }
.field label, .field .lbl { font-weight: 600; font-size: .94rem; }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; padding: 14px 15px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--white); color: var(--ink); transition: border-color .2s, box-shadow .2s; width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--volt); box-shadow: 0 0 0 4px rgba(61,123,255,.15); }
.field .err { color: #b4232f; font-size: .86rem; display: none; }
.field.bad input, .field.bad select { border-color: #d64553; }
.field.bad .err { display: block; }
.opts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.opt label { display: block; padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--line); cursor: pointer; font-weight: 500; transition: border-color .2s, background .2s, box-shadow .2s; }
.opt input:checked + label { border-color: var(--cobalt); background: #f3f7ff; box-shadow: 0 0 0 4px rgba(61,123,255,.12); }
.opt input:focus-visible + label { outline: 3px solid var(--volt); outline-offset: 2px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 10px; }
.done { display: none; text-align: center; gap: 14px; justify-items: center; padding: 20px 0; }
.done.show { display: grid; }
.done .ok { width: 64px; height: 64px; border-radius: 50%; background: var(--cobalt); color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 8px rgba(61,123,255,.15), 0 0 30px rgba(61,123,255,.5); }
.notice { font-size: .88rem; background: var(--ph); color: var(--ph-ink); border-radius: 10px; padding: 10px 12px; }

/* Footer */
.site-foot { background: var(--night); color: #c9d6f5; padding: 72px 0 34px; margin-top: 0; position: relative; overflow: hidden; }
.site-foot::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--volt), var(--glow), var(--volt), transparent); box-shadow: 0 0 18px var(--volt); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.site-foot h4 { color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.site-foot a { color: #c9d6f5; text-decoration: none; }
.site-foot a:hover { color: #fff; }
.foot-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: .95rem; }
.site-foot .brand { color: #fff; }
.site-foot .brand-name small { color: var(--glow); }
.foot-base { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(141,184,255,.16); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .86rem; color: #8ea3d2; }
.site-foot .ph { background: #3b3410; color: #ffe9a3; border-color: #7a6a24; }

/* Mobile action bar */
.mbar { display: none; }

/* Motion: content is visible at rest; motion only enhances */
.anim .rise { transform: translateY(18px); transition: transform .9s cubic-bezier(.2,.75,.2,1), opacity .9s; opacity: .35; }
.anim .rise.in { transform: none; opacity: 1; }
.bolt-draw { stroke-dasharray: 220; stroke-dashoffset: 0; }
.anim .bolt-draw { animation: boltDraw 1.6s .2s cubic-bezier(.6,.1,.2,1) both; }
@keyframes boltDraw { from { stroke-dashoffset: 220; } to { stroke-dashoffset: 0; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .anim .rise { transform: none; opacity: 1; }
}

/* Responsive */
@media (max-width: 1060px) {
  .nav, .head-cta .head-phone { display: none; }
  .menu-btn { display: block; }
  .head-cta { margin-left: 0; }
  .head-row { gap: 14px; }
  .menu-open .nav { display: grid; position: absolute; top: 78px; left: 0; right: 0; background: #fff; padding: 12px 20px 22px; border-bottom: 1px solid var(--line); box-shadow: 0 30px 40px -30px rgba(0,53,131,.35); gap: 2px; }
  .menu-open .nav a { padding: 14px 12px; font-size: 1.05rem; }
  .hero-grid, .grid-2, .chooser, .area-band, .form-shell { grid-template-columns: 1fr; }
  .models, .grid-3 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps::before, .steps .bar { display: none; }
  .steps li { grid-template-columns: 52px 1fr; justify-items: start; text-align: left; gap: 4px 16px; padding-bottom: 22px; }
  .steps li .step-dot { grid-row: span 2; }
  .steps p { max-width: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .cta-band { grid-template-columns: 1fr; }
  .proof-row { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .page-hero canvas { width: 100%; opacity: .35; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .head-row { height: 66px; }
  .menu-open .nav { top: 66px; }
  .brand-mark { width: 34px; height: 34px; }
  .brand-name { font-size: .95rem; }
  .head-cta .btn { display: none; }
  .models, .grid-3, .loads, .opts, .row-2 { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .stat { padding: 24px 16px; }
  .mbar { display: grid; grid-template-columns: 1fr 1.3fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); }
  .mbar .btn { padding: 13px 10px; font-size: .95rem; }
  body { padding-bottom: 76px; }
  .photo.ph-block { min-height: 260px !important; }
  .status { font-size: .8rem; left: 10px; right: 10px; bottom: 10px; padding: 10px 12px; }
}

/* ---------- Hero layout B: full-screen cinematic (preview toggle) ---------- */
.shade { display: none; }
.scene-media { position: absolute; inset: 0; }
.scene-media video, .scene-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: filter .35s ease; }
.hero-full .hero { position: relative; padding: 0; min-height: min(88vh, 860px); display: flex; align-items: center; background: var(--night); }
.hero-full .hero-grid { grid-template-columns: 1fr; width: min(var(--wrap), 100% - 40px); }
.hero-full .scene { position: absolute; inset: 0; border-radius: 0; aspect-ratio: auto; box-shadow: none; z-index: 0; }
.hero-full .scene .layer { transform: none; }
.hero-full .shade { display: block; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,13,42,.92) 0%, rgba(5,13,42,.74) 34%, rgba(5,13,42,.18) 66%, rgba(5,13,42,0) 100%), linear-gradient(0deg, rgba(5,13,42,.55), transparent 35%); pointer-events: none; }
.hero-full .scene-tag { display: none; }
.hero-full .status { left: auto; right: max(20px, calc((100vw - var(--wrap)) / 2)); bottom: 28px; width: min(380px, 100% - 40px); }
.hero-full .hero-copy { position: relative; z-index: 2; max-width: 620px; padding: 96px 0 120px; }
.hero-full .hero h1 { color: #fff; }
.hero-full .hero h1 .hl { background: linear-gradient(100deg, #8db8ff, #ffffff); -webkit-background-clip: text; background-clip: text; }
.hero-full .hero .lede { color: #d3defa; }
.hero-full .hero .eyebrow { color: #8db8ff; }
.hero-full .hero .eyebrow::before { background: linear-gradient(90deg, #8db8ff, #fff); }
.hero-full .hero .btn-ghost { background: rgba(255,255,255,.08); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.4); }
.hero-full .hero .chip { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.22); color: #eaf0ff; }
.hero-full .hero .chip svg { color: #8db8ff; }
.hero-full .hero .chip-strong { background: var(--cobalt); border-color: var(--volt); }
.hero-full .hero .chip-strong svg { color: #fff; }
.hero-full .hero .booking { color: #c3d1f3; }
@media (max-width: 1060px) {
  .hero-full .shade { background: linear-gradient(180deg, rgba(5,13,42,.9) 0%, rgba(5,13,42,.7) 55%, rgba(5,13,42,.35) 100%); }
  .hero-full .hero-copy { padding: 64px 0 120px; }
  .hero-full .status { left: 20px; right: 20px; width: auto; }
}

/* Preview-only toggle (remove before launch) */
.layout-toggle { position: fixed; left: 20px; bottom: 20px; z-index: 80; display: flex; align-items: center; gap: 4px; padding: 6px 6px 6px 14px; background: #0b1630; color: #c9d6f5; border-radius: 14px; box-shadow: 0 20px 40px -16px rgba(0,0,0,.5); font-size: .8rem; font-family: var(--font-display); }
.layout-toggle span { margin-right: 8px; letter-spacing: .04em; }
.layout-toggle button { font: inherit; font-weight: 600; border: 0; border-radius: 9px; padding: 9px 14px; background: transparent; color: #c9d6f5; cursor: pointer; }
.layout-toggle button[aria-pressed="true"] { background: var(--cobalt); color: #fff; box-shadow: 0 0 14px rgba(61,123,255,.6); }
@media (max-width: 680px) { .layout-toggle { bottom: 84px; left: 10px; right: 10px; justify-content: space-between; } }

/* Tennessee map */
.map-card { background: radial-gradient(ellipse at 45% 50%, #ffffff, var(--mist) 75%); border: 1px solid var(--line); border-radius: 24px; padding: clamp(18px, 3vw, 34px); box-shadow: var(--shadow); }
.tn-map { width: 100%; height: auto; overflow: visible; }
.tn-lbl { font-family: var(--font-display); font-size: 15px; font-weight: 600; fill: #8a98b8; letter-spacing: .08em; text-transform: uppercase; text-anchor: middle; }
.tn-lbl-mid { fill: #ffffff; font-size: 17px; }
.tn-city { font-family: var(--font-display); font-size: 13px; font-weight: 600; fill: #ffffff; }
.map-note { font-size: .86rem; color: var(--mute); margin-top: 14px; }
.tn-map .ring { stroke: #ffffff; stroke-width: 1.5; }
.county-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.county { display: grid; grid-template-columns: 22px 1fr; gap: 10px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.county svg { width: 20px; height: 20px; color: var(--cobalt); margin-top: 2px; }
.county strong { display: block; margin-bottom: 4px; }
.county span { font-size: .9rem; color: var(--mute); }
@media (max-width: 1060px) { .county-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) { .county-grid { grid-template-columns: 1fr; } .tn-lbl { font-size: 20px; } .tn-lbl-mid { font-size: 22px; } }

/* ---------- Stat icons ---------- */
.stat-ico { width: 46px; height: 46px; margin-bottom: 16px; overflow: visible; }
.ico-timer .trk { fill: none; stroke: var(--line); stroke-width: 3; }
.ico-timer .prog { fill: none; stroke: var(--cobalt); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 113; stroke-dashoffset: 0; transform: rotate(-90deg); transform-origin: center; filter: drop-shadow(0 0 3px rgba(61,123,255,.6)); }
.ico-timer .bolt-f { fill: var(--cobalt); }
.ico-shield .sh { fill: var(--mist); stroke: var(--cobalt); stroke-width: 2.4; stroke-linejoin: round; }
.ico-shield .ck { fill: none; stroke: var(--volt); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; stroke-dashoffset: 0; }
.ico-wind .w { fill: none; stroke: var(--cobalt); stroke-width: 2.6; stroke-linecap: round; stroke-dasharray: 10 6; }
.ico-wind .w2 { stroke: var(--volt); }
.ico-gear .gear { fill: var(--cobalt); transform-origin: 24px 24px; }
.ico-gear .hole { fill: #fff; }
.anim .ico-timer .prog { animation: timerSweep 4s cubic-bezier(.5,0,.3,1) infinite; }
.anim .ico-timer .bolt-f { animation: boltBlink 4s ease infinite; }
.anim .ico-shield .ck { animation: checkDraw 4.5s ease infinite; }
.anim .ico-wind .w { animation: windFlow 1.4s linear infinite; }
.anim .ico-wind .w2 { animation-duration: 1.1s; }
.anim .ico-wind .w3 { animation-duration: 1.8s; }
.anim .ico-gear .gear { animation: spin 9s linear infinite; }
@keyframes timerSweep { 0% { stroke-dashoffset: 113; } 55%, 100% { stroke-dashoffset: 0; } }
@keyframes boltBlink { 0%, 50% { fill: #b9c8e6; filter: none; } 56%, 100% { fill: var(--cobalt); filter: drop-shadow(0 0 4px rgba(61,123,255,.9)); } }
@keyframes checkDraw { 0%, 15% { stroke-dashoffset: 24; } 40%, 100% { stroke-dashoffset: 0; } }
@keyframes windFlow { to { stroke-dashoffset: -32; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Electric life (subtle) ---------- */
/* Current flowing down the rail */
.rail-fill::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(180deg, transparent 0 70px, rgba(255,255,255,.95) 70px 76px, transparent 76px 150px); background-size: 100% 150px; mix-blend-mode: screen; }
.anim .rail-fill::after { animation: railFlow 1.8s linear infinite; }
@keyframes railFlow { to { background-position: 0 150px; } }
.anim .rail-head { animation: headFlick 2.6s ease-in-out infinite; }
@keyframes headFlick { 0%, 100% { box-shadow: 0 0 0 3px var(--volt), 0 0 16px 4px rgba(61,123,255,.7); } 47% { box-shadow: 0 0 0 3px var(--volt), 0 0 16px 4px rgba(61,123,255,.7); } 50% { box-shadow: 0 0 0 3px #fff, 0 0 26px 9px rgba(141,184,255,.95); } 53% { box-shadow: 0 0 0 3px var(--volt), 0 0 12px 3px rgba(61,123,255,.6); } }
.rail-node.spark { animation: nodeSpark .7s ease-out; }
@keyframes nodeSpark { 0% { box-shadow: 0 0 0 0 rgba(141,184,255,1), 0 0 20px 6px rgba(61,123,255,.9); transform: scale(1.8); } 100% { box-shadow: 0 0 10px rgba(61,123,255,.8); transform: scale(1); } }

/* Eyebrow wires carry a faint pulse */
.eyebrow::before { background: linear-gradient(90deg, var(--cobalt) 0%, var(--cobalt) 35%, #cfe0ff 50%, var(--volt) 65%, var(--cobalt) 100%); background-size: 300% 100%; background-position: 100% 0; }
.anim .eyebrow::before { animation: wirePulse 3.8s ease-in-out infinite; }
@keyframes wirePulse { 0%, 55% { background-position: 100% 0; } 100% { background-position: 0 0; } }

/* Header gains a live wire once you scroll */
.site-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; opacity: 0; transition: opacity .3s; background: linear-gradient(90deg, transparent, rgba(61,123,255,.0) 30%, rgba(61,123,255,.9) 50%, rgba(61,123,255,0) 70%, transparent); background-size: 200% 100%; }
.site-head.scrolled::after { opacity: 1; }
.anim .site-head.scrolled::after { animation: headerRun 5s linear infinite; }
@keyframes headerRun { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* Footer line keeps a slow current */
.site-foot::before { background-size: 200% 100%; }
.anim .site-foot::before { animation: headerRun 7s linear infinite; }

/* Cards: an electric edge traces the border on hover */
@property --arc { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.card, .model, .county, .load label, .opt label { position: relative; }
.card::before, .model::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px; background: conic-gradient(from var(--arc), transparent 0 72%, rgba(61,123,255,.0) 74%, #3d7bff 86%, #cfe0ff 90%, transparent 94%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .35s; pointer-events: none; }
.card:hover::before, .model:hover::before { opacity: 1; }
.anim .card:hover::before, .anim .model:hover::before { animation: arcRun 2.2s linear infinite; }
@keyframes arcRun { to { --arc: 360deg; } }

/* Logo mark: an occasional faint surge */
.anim .site-head .brand-mark { animation: markSurge 9s ease-in-out 2s infinite; }
@keyframes markSurge { 0%, 92%, 100% { filter: none; } 94% { filter: drop-shadow(0 0 6px rgba(61,123,255,.85)); } 96% { filter: drop-shadow(0 0 2px rgba(61,123,255,.5)); } }

/* Primary buttons: a soft charge glow every few seconds */
.anim .hero .btn:not(.btn-ghost) { animation: btnCharge 5s ease-in-out 1.5s infinite; }
@keyframes btnCharge { 0%, 80%, 100% { box-shadow: 0 10px 24px -10px rgba(0,71,171,.6); } 88% { box-shadow: 0 10px 28px -8px rgba(61,123,255,.85), 0 0 0 5px rgba(61,123,255,.16); } }

.area-band.map-left { grid-template-columns: 1.5fr 1fr; }
.map-left .map-card { padding: 22px 18px; }
@media (max-width: 1060px) { .area-band.map-left { grid-template-columns: 1fr; } }

/* ---------- Photo hero: frames, power panel ---------- */
.scene.has-photo { aspect-ratio: 16 / 11.5; }
.scene .scene-media { position: absolute; inset: 0; transform: scale(1.06); transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.scene .frame { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% 55%; }
.scene .frame-dark { opacity: 0; }
.scene .fake-dark { filter: brightness(.26) saturate(.45) contrast(1.08); }
.scene canvas.rain, .scene canvas.bolts { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hud { position: absolute; left: 16px; right: 16px; bottom: 16px; padding: 14px 16px 13px; border-radius: 16px; background: rgba(6,14,40,.62); backdrop-filter: blur(12px) saturate(140%); -webkit-backdrop-filter: blur(12px) saturate(140%); border: 1px solid rgba(141,184,255,.22); color: #dbe6ff; display: grid; gap: 8px; font-size: .84rem; box-shadow: 0 20px 40px -20px rgba(0,0,0,.6); }
.hud-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.hud-row span { color: #a9bce6; }
.pill { font-family: var(--font-display); font-size: .72rem; font-weight: 700; letter-spacing: .1em; padding: 4px 9px; border-radius: 999px; background: rgba(255,255,255,.08); color: #c3d1f3; border: 1px solid rgba(255,255,255,.14); transition: background .25s, color .25s, box-shadow .25s; }
.pill.ok { background: rgba(46,230,160,.14); color: #6ff0bd; border-color: rgba(46,230,160,.35); }
.pill.bad { background: rgba(255,107,107,.16); color: #ff9a9a; border-color: rgba(255,107,107,.4); }
.pill.warn { background: rgba(255,210,122,.16); color: #ffd98f; border-color: rgba(255,210,122,.45); animation: pillBlink .5s steps(2) infinite; }
.pill.live { background: var(--cobalt); color: #fff; border-color: var(--volt); box-shadow: 0 0 14px rgba(61,123,255,.8); }
@keyframes pillBlink { 50% { opacity: .55; } }
.hud-bar { position: relative; height: 8px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; display: flex; justify-content: space-evenly; margin-top: 2px; }
.hud-bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 99px; background: linear-gradient(90deg, #ffd27a, #3d7bff 70%, #8db8ff); box-shadow: 0 0 12px rgba(61,123,255,.8); }
.hud.restored .hud-bar i { background: linear-gradient(90deg, var(--cobalt), var(--volt), var(--glow)); }
.hud-bar em { position: relative; width: 1px; height: 100%; background: rgba(255,255,255,.14); }
.hud-time { display: flex; align-items: baseline; gap: 10px; }
.hud-time strong { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; min-width: 3.4ch; }
.hud-time span { color: #a9bce6; font-size: .82rem; }
.hud.restored .hud-time strong { color: var(--glow); text-shadow: 0 0 14px rgba(61,123,255,.8); }
.scene .flash { background: radial-gradient(circle at 25% 15%, rgba(210,225,255,.9), rgba(120,160,255,.25) 45%, transparent 72%); }

/* Full-screen layout: photo fills the hero, rain sits behind the copy */
.hero-full .scene.has-photo { aspect-ratio: auto; }
.hero-full .scene .frame { object-position: 70% 55%; }
.hero-full .hud { left: auto; right: max(20px, calc((100vw - var(--wrap)) / 2)); bottom: 28px; width: min(360px, calc(100% - 40px)); }
.hero-full .hero-copy { position: relative; z-index: 3; }
.hero-full .scene canvas.rain { z-index: 1; }
.hero-full .scene .shade { z-index: 0; }
.hero-full .scene .hud, .hero-full .scene .flash { z-index: 2; }
@media (max-width: 1060px) {
  .hero-full .hud { left: 16px; right: 16px; width: auto; bottom: 16px; }
  .hero-full .scene .frame { object-position: 74% 50%; }
}
@media (max-width: 680px) {
  .hud { font-size: .78rem; padding: 11px 12px; gap: 6px; left: 10px; right: 10px; bottom: 10px; }
  .hud-time strong { font-size: 1.25rem; }
}

.cursor-spark { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 95; }

/* Card layout: power panel sits under the photo, outside the frame */
.scene-wrap { display: grid; gap: 14px; }
.scene-wrap > .hud { position: relative; left: auto; right: auto; bottom: auto; background: #0b1630; backdrop-filter: none; -webkit-backdrop-filter: none; border-color: rgba(0,71,171,.35); box-shadow: 0 24px 40px -26px rgba(0,30,90,.55); }
/* Full-screen layout: panel floats over the photo again */
.hero-full .scene-wrap { position: static; display: block; }
.hero-full .scene-wrap > .hud { position: absolute; z-index: 3; left: auto; right: max(20px, calc((100vw - var(--wrap)) / 2)); bottom: 28px; width: min(360px, calc(100% - 40px)); background: rgba(6,14,40,.62); backdrop-filter: blur(12px) saturate(140%); -webkit-backdrop-filter: blur(12px) saturate(140%); }
@media (max-width: 1060px) { .hero-full .scene-wrap > .hud { left: 16px; right: 16px; width: auto; bottom: 16px; } }

/* ---------- Custom cursor: dot + ring ---------- */
html.has-cursor, html.has-cursor body, html.has-cursor a, html.has-cursor button, html.has-cursor label, html.has-cursor .load label, html.has-cursor .opt label { cursor: none; }
html.has-cursor input:not([type="radio"]):not([type="checkbox"]), html.has-cursor textarea, html.has-cursor select { cursor: text; }
html.has-cursor select { cursor: pointer; }
.c-dot, .c-ring { position: fixed; left: 0; top: 0; pointer-events: none; z-index: 96; border-radius: 50%; will-change: transform; }
.c-dot { width: 7px; height: 7px; background: var(--cobalt); box-shadow: 0 0 8px rgba(61,123,255,.8); transition: background .2s, box-shadow .2s, width .2s, height .2s; }
.c-ring { width: 30px; height: 30px; border: 1.5px solid rgba(0,71,171,.75); box-shadow: 0 0 10px rgba(61,123,255,.25), inset 0 0 8px rgba(61,123,255,.15); transition: border-color .2s, box-shadow .2s, opacity .2s; }
html.cursor-light .c-dot { background: #fff; box-shadow: 0 0 10px rgba(141,184,255,.95), 0 0 2px #fff; }
html.cursor-light .c-ring { border-color: rgba(255,255,255,.85); box-shadow: 0 0 12px rgba(141,184,255,.5), inset 0 0 8px rgba(141,184,255,.3); }
html.cursor-hot .c-ring { border-color: var(--volt); }
html.cursor-light.cursor-hot .c-ring { border-color: #fff; }
html.cursor-text .c-dot, html.cursor-text .c-ring, html.cursor-text .cursor-spark, html.cursor-away .c-dot, html.cursor-away .c-ring { opacity: 0; }

.photo-fig { margin: 0; min-height: 520px; box-shadow: var(--shadow); }
.photo-fig img { width: 100%; height: 100%; min-height: 520px; object-fit: cover; display: block; }
@media (max-width: 680px) { .photo-fig, .photo-fig img { min-height: 300px; } }

/* Card layout: slim, light power strip (doesn't compete with the CTAs) */
body:not(.hero-full) .scene-wrap { gap: 10px; }
body:not(.hero-full) .scene-wrap > .hud { display: flex; align-items: center; gap: 14px; padding: 8px 14px; border-radius: 12px; background: var(--mist); border: 1px solid var(--line); color: var(--mute); box-shadow: none; font-size: .76rem; }
body:not(.hero-full) .scene-wrap > .hud .hud-row { gap: 7px; flex: none; }
body:not(.hero-full) .scene-wrap > .hud .hud-row span { color: var(--mute); }
body:not(.hero-full) .scene-wrap > .hud .hud-bar { flex: 1; height: 5px; margin: 0; background: var(--line); min-width: 40px; }
body:not(.hero-full) .scene-wrap > .hud .hud-bar em { background: rgba(11,22,48,.08); }
body:not(.hero-full) .scene-wrap > .hud .hud-time strong { font-size: .95rem; color: var(--ink); min-width: 3.6ch; text-align: right; }
body:not(.hero-full) .scene-wrap > .hud.restored .hud-time strong { color: var(--cobalt); text-shadow: none; }
body:not(.hero-full) .scene-wrap > .hud .hud-time span { display: none; }
body:not(.hero-full) .scene-wrap > .hud .pill { font-size: .64rem; padding: 3px 7px; background: #fff; color: var(--mute); border-color: var(--line); }
body:not(.hero-full) .scene-wrap > .hud .pill.ok { background: rgba(24,178,107,.1); color: #0f7a4f; border-color: rgba(24,178,107,.3); }
body:not(.hero-full) .scene-wrap > .hud .pill.bad { background: rgba(214,69,83,.08); color: #b4232f; border-color: rgba(214,69,83,.3); }
body:not(.hero-full) .scene-wrap > .hud .pill.warn { background: #fff4d6; color: #8a5d00; border-color: #f0d38a; }
body:not(.hero-full) .scene-wrap > .hud .pill.live { background: var(--cobalt); color: #fff; border-color: var(--cobalt); box-shadow: 0 0 10px rgba(61,123,255,.45); }
@media (max-width: 680px) {
  body:not(.hero-full) .scene-wrap > .hud { flex-wrap: wrap; gap: 8px 12px; }
  body:not(.hero-full) .scene-wrap > .hud .hud-bar { flex-basis: 100%; order: 3; }
}

/* Hero frames: hard-ish cuts between lights on / out / generator */
.scene .frame { opacity: 0; transition: opacity .14s linear; }
.scene .frame.on { opacity: 1; }

/* Full-screen layout: same slim strip, dark glass, floating above the house */
.hero-full .scene-wrap > .hud { display: flex; align-items: center; gap: 14px; padding: 8px 14px; border-radius: 12px; top: 34px; bottom: auto; width: min(500px, calc(100% - 40px)); font-size: .76rem; background: rgba(6,14,40,.5); border-color: rgba(141,184,255,.22); box-shadow: 0 14px 30px -18px rgba(0,0,0,.6); }
.hero-full .scene-wrap > .hud .hud-row { gap: 7px; flex: none; }
.hero-full .scene-wrap > .hud .hud-bar { flex: 1; height: 5px; margin: 0; min-width: 40px; }
.hero-full .scene-wrap > .hud .hud-time strong { font-size: .95rem; min-width: 3.6ch; text-align: right; }
.hero-full .scene-wrap > .hud .hud-time span { display: none; }
.hero-full .scene-wrap > .hud .pill { font-size: .64rem; padding: 3px 7px; }
@media (max-width: 1060px) {
  .hero-full .scene-wrap > .hud { top: auto; bottom: 16px; flex-wrap: wrap; gap: 8px 12px; }
  .hero-full .scene-wrap > .hud .hud-bar { flex-basis: 100%; order: 3; }
}

/* Timer meter: electric current fills 0 → 10 s, left to right */
.scene-wrap > .hud .hud-bar { overflow: visible; }
.scene-wrap > .hud .hud-bar em { z-index: 2; }
.scene-wrap > .hud .hud-bar i {
  z-index: 1; border-radius: 99px;
  background:
    repeating-linear-gradient(105deg, rgba(255,255,255,0) 0 7px, rgba(255,255,255,.55) 7px 9px, rgba(255,255,255,0) 9px 16px),
    linear-gradient(90deg, #2a63e8, #4d8bff 55%, #cfe0ff);
  background-size: 32px 100%, 100% 100%;
  box-shadow: 0 0 6px rgba(61,123,255,.9), 0 0 16px rgba(61,123,255,.55);
  animation: meterCurrent .45s linear infinite, meterBuzz .16s steps(2) infinite;
}
.scene-wrap > .hud .hud-bar i::after {
  content: ""; position: absolute; right: -4px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%;
  background: radial-gradient(circle, #fff 0 30%, rgba(141,184,255,.9) 45%, rgba(61,123,255,0) 72%);
  box-shadow: 0 0 10px 3px rgba(141,184,255,.85);
  animation: meterSpark .12s steps(2) infinite;
}
.scene-wrap > .hud .hud-bar i[style*="width: 0%"]::after, .scene-wrap > .hud .hud-bar i:not([style])::after { display: none; }
.scene-wrap > .hud.restored .hud-bar i { animation: meterCurrent .9s linear infinite; }
.scene-wrap > .hud.restored .hud-bar i::after { display: none; }
@keyframes meterCurrent { to { background-position: 32px 0, 0 0; } }
@keyframes meterBuzz { 50% { filter: brightness(1.25); } }
@keyframes meterSpark { 0% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.35) translateX(1px); opacity: .75; } }
body:not(.hero-full) .scene-wrap > .hud .hud-bar i { box-shadow: 0 0 5px rgba(61,123,255,.7); }

/* Full-screen: strip sits lower, centred over the house */
.hero-full .scene-wrap > .hud { top: 104px; right: auto; left: 74%; transform: translateX(-50%); width: min(500px, 46vw); }
@media (max-width: 1060px) { .hero-full .scene-wrap > .hud { top: auto; left: 16px; right: 16px; transform: none; width: auto; } }
@media (prefers-reduced-motion: reduce) { .scene-wrap > .hud .hud-bar i, .scene-wrap > .hud .hud-bar i::after { animation: none; } }

/* Page change: lightning flash */
.page-flash { position: fixed; inset: 0; z-index: 9999; pointer-events: none; opacity: 0; }
.page-flash .pf-glow { position: absolute; inset: 0; background: radial-gradient(120% 90% at var(--fx, 50%) 0%, #ffffff 0%, #dbe8ff 35%, #8db8ff 70%, #3d7bff 100%); }
.page-flash canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
html.flash-in body::before { content: ""; position: fixed; inset: 0; z-index: 9998; background: #eef4ff; }

/* Power panel: fixed pill widths so nothing shifts when the status text changes */
.hud .pill[data-grid], .hud .pill[data-gen] { display: inline-block; text-align: center; box-sizing: border-box; }
.hud .pill[data-grid] { min-width: 4em; }
.hud .pill[data-gen] { min-width: 7.8em; }

/* Card mode: box matches the photos exactly, so nothing is cropped */
body:not(.hero-full) .scene.has-photo { aspect-ratio: 1667 / 943; }
body:not(.hero-full) .scene .scene-media { transform: none !important; }
body:not(.hero-full) .scene .frame { object-fit: fill; object-position: 50% 50%; }

/* Logo: lightning image */
.brand-mark.brand-bolt { width: 118px; height: 36px; object-fit: contain; margin-left: -6px; margin-right: -4px; }
@media (max-width: 720px) { .brand-mark.brand-bolt { width: 92px; height: 28px; } }

/* Card mode: power strip sits inside the photo, low along the bottom */
html body:not(.hero-full) .scene-wrap { position: relative; display: block; }
html body:not(.hero-full) .scene-wrap > .hud { position: absolute; z-index: 3; left: 14px; right: 14px; bottom: 12px; width: auto; padding: 7px 12px; gap: 12px;
  background: rgba(6,14,40,.55); backdrop-filter: blur(10px) saturate(140%); -webkit-backdrop-filter: blur(10px) saturate(140%);
  border: 1px solid rgba(141,184,255,.22); color: #a9bce6; box-shadow: 0 12px 26px -16px rgba(0,0,0,.7); font-size: .72rem; }
html body:not(.hero-full) .scene-wrap > .hud .hud-row span { color: #a9bce6; }
html body:not(.hero-full) .scene-wrap > .hud .hud-bar { background: rgba(255,255,255,.1); }
html body:not(.hero-full) .scene-wrap > .hud .hud-bar em { background: rgba(255,255,255,.14); }
html body:not(.hero-full) .scene-wrap > .hud .hud-time strong { color: #fff; }
html body:not(.hero-full) .scene-wrap > .hud.restored .hud-time strong { color: var(--glow); text-shadow: 0 0 12px rgba(61,123,255,.8); }
html body:not(.hero-full) .scene-wrap > .hud .pill { background: rgba(255,255,255,.08); color: #c3d1f3; border-color: rgba(255,255,255,.18); }
html body:not(.hero-full) .scene-wrap > .hud .pill.ok { background: rgba(46,230,160,.14); color: #6ff0bd; border-color: rgba(46,230,160,.35); }
html body:not(.hero-full) .scene-wrap > .hud .pill.bad { background: rgba(255,107,107,.16); color: #ff9a9a; border-color: rgba(255,107,107,.4); }
html body:not(.hero-full) .scene-wrap > .hud .pill.warn { background: rgba(255,210,122,.16); color: #ffd98f; border-color: rgba(255,210,122,.45); }
html body:not(.hero-full) .scene-wrap > .hud .pill.live { background: var(--cobalt); color: #fff; border-color: var(--volt); box-shadow: 0 0 12px rgba(61,123,255,.8); }
html body:not(.hero-full) .scene-wrap > .hud .hud-bar i { box-shadow: 0 0 6px rgba(61,123,255,.9), 0 0 14px rgba(61,123,255,.5); }
@media (max-width: 560px) {
  html body:not(.hero-full) .scene-wrap > .hud { left: 8px; right: 8px; bottom: 8px; padding: 6px 9px; gap: 6px 10px; font-size: .66rem; }
}
@media (max-width: 1060px) {
  html body:not(.hero-full) .scene-wrap > .hud { flex-wrap: nowrap; }
  html body:not(.hero-full) .scene-wrap > .hud .hud-bar { flex: 1; flex-basis: auto; order: 0; }
}
@media (max-width: 480px) {
  html body:not(.hero-full) .scene-wrap > .hud { gap: 8px; }
  html body:not(.hero-full) .scene-wrap > .hud .hud-bar { display: none; }
  html body:not(.hero-full) .scene-wrap > .hud .hud-time { margin-left: auto; }
  html body:not(.hero-full) .scene-wrap > .hud .pill { padding: 2px 5px; font-size: .58rem; }
}

/* Full-screen power strip: fixed size at every width, placed by script over the roof */
html body.hero-full .scene-wrap > .hud { position: absolute; transform: none; right: auto; bottom: auto; width: 500px; max-width: calc(100% - 32px); flex-wrap: nowrap; gap: 14px; padding: 8px 14px; font-size: .76rem; }
html body.hero-full .scene-wrap > .hud .hud-bar { flex: 1; flex-basis: auto; order: 0; }
html body.hero-full .scene-wrap > .hud .hud-row, html body.hero-full .scene-wrap > .hud .hud-time { flex: none; white-space: nowrap; }

/* Header: never let the menu or the Free Quote button wrap; switch to the menu icon before it gets tight */
.nav a, .head-cta .btn, .head-phone { white-space: nowrap; }
.head-cta .btn { flex-shrink: 0; }
@media (max-width: 1320px) {
  .nav, .head-cta .head-phone { display: none; }
  .menu-btn { display: block; }
  .head-cta { margin-left: auto; }
  .menu-btn { margin-left: 10px; }
  .menu-open .nav { display: grid; position: absolute; top: 78px; left: 0; right: 0; background: #fff; padding: 12px 20px 22px; border-bottom: 1px solid var(--line); box-shadow: 0 30px 40px -30px rgba(0,53,131,.35); }
  .menu-open .nav a { padding: 14px 12px; font-size: 1.05rem; }
}
@media (max-width: 680px) { .menu-open .nav { top: 66px; } }
.anim .hero-full .scene-wrap.rise { transform: none; opacity: 1; }
@media (max-width: 1060px) {
  html body.hero-full .scene-wrap > .hud { top: auto; bottom: 18px; left: 50%; transform: translateX(-50%); }
}

/* Page flash: plain white, no bolt or gradient */
.page-flash { background: #fff; }
.page-flash .pf-glow, .page-flash canvas { display: none; }
html.flash-in body::before { background: #fff; }

/* Boxed hero: the full-screen look inside a rounded card sized to the photo, so the whole image shows */
body.hero-boxed .hero { width: min(1320px, 100% - 40px); margin: 22px auto 10px; aspect-ratio: 1667 / 943; min-height: 0; border-radius: 28px; overflow: hidden; isolation: isolate; box-shadow: 0 40px 80px -40px rgba(0,30,90,.55), 0 0 0 1px rgba(0,71,171,.18); }
body.hero-boxed .hero-grid { width: 100%; padding: 0 clamp(28px, 5vw, 72px); }
body.hero-boxed .hero-copy { padding: 44px 0 52px; }
body.hero-boxed .scene .scene-media { transform: none !important; }
body.hero-boxed .scene .frame { object-fit: cover; object-position: 50% 50%; }
@media (max-width: 1060px) { body.hero-boxed .hero { aspect-ratio: auto; } body.hero-boxed .scene .frame { object-position: 70% 50%; } }
body.hero-boxed .hero { width: min(1260px, 100% - 150px); margin-left: auto; margin-right: max(40px, calc((100% - 1260px) / 2)); }
body.hero-boxed .hero-copy { padding: 38px 0 42px; }
@media (max-width: 1060px) { body.hero-boxed .hero { width: calc(100% - 40px); margin-left: auto; margin-right: auto; } }
body.hero-boxed .hero { overflow: visible; box-shadow: none; border-radius: 0; background: transparent; }
body.hero-boxed .scene { border-radius: 28px; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(0,30,90,.55), 0 0 0 1px rgba(0,71,171,.18); }
body.hero-boxed .hero-copy { padding: 34px 0 40px; }
body.hero-boxed .hero { min-height: auto; }
body.hero-boxed .hero-grid { gap: 0; row-gap: 0; }
body.hero-boxed .hero { margin-bottom: 30px; }

/* Power strip parked top-left above the eyebrow when the roof spot would touch the text */
html body.hero-full .scene-wrap > .hud { bottom: auto; transform: none; }
@media (max-width: 1060px) { html body.hero-full .scene-wrap > .hud { bottom: auto; transform: none; } }
body.hero-boxed.hud-top .hero-copy { padding-top: 96px; }

/* Boxed: wide enough that the rail runs inside the card, same as full-screen; text sits where it does in full-screen */
body.hero-boxed .hero { width: min(1400px, 100% - 48px); margin-left: auto; margin-right: auto; }
body.hero-boxed .hero-grid { width: min(var(--wrap), 100% - 40px); padding: 0; margin: 0 auto; }
@media (max-width: 1060px) { body.hero-boxed .hero { width: calc(100% - 32px); } }

/* Phones: card layout only, photo first, no preview switch */
@media (max-width: 760px) {
  .layout-toggle { display: none !important; }
  body:not(.hero-full) .hero-grid > .scene-wrap { order: -1; }
}

/* Page change: electric ripple canvas */
.page-flash { display: none; }
.page-ripple { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 9999; pointer-events: none; display: none; }
html.flash-in body::before { background: #f4f8ff; }

/* Header: keep the phone number beside Free Quote when the menu collapses (phones use the bottom Call bar) */
@media (max-width: 1320px) and (min-width: 681px) { .head-cta .head-phone { display: flex; } }

/* Page change: electricity only, no wash */
html.flash-in body::before { content: none; display: none; }

/* Generator product shots on model cards */
.model-img { margin: -10px -10px 0; border-radius: 14px; background: #fff; aspect-ratio: 16 / 10; overflow: hidden; display: grid; place-items: center; }
.model-img img { width: 100%; height: 100%; object-fit: contain; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.model:hover .model-img img { transform: scale(1.04); }
.model.popular .ribbon { z-index: 2; }

/* Weather band: full-bleed photo with copy on the left */
.weather-band { position: relative; min-height: clamp(380px, 42vw, 560px); display: flex; align-items: center; overflow: hidden; background: #0b1630; }
.weather-band .wb-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 55%; }
.weather-band::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(7,18,51,.88) 0%, rgba(7,18,51,.62) 38%, rgba(7,18,51,0) 68%); }
.weather-band .wb-inner { position: relative; z-index: 2; width: min(var(--wrap), 100% - 40px); }
.weather-band .wb-copy { max-width: 470px; color: #d3defa; }
.weather-band h2 { color: #fff; }
.weather-band .eyebrow { color: #8db8ff; }
.weather-band .eyebrow::before { background: linear-gradient(90deg, #8db8ff, #fff); }
@media (max-width: 680px) { .weather-band::before { background: linear-gradient(180deg, rgba(7,18,51,.2) 0%, rgba(7,18,51,.85) 70%); } .weather-band { align-items: flex-end; padding-bottom: 36px; } }
/* Weather band v2: dark split, photo shown whole on the right */
.weather-band { min-height: 0; display: block; padding: clamp(56px, 7vw, 96px) 0; background: radial-gradient(900px 420px at 80% 30%, rgba(61,123,255,.22), transparent 60%), var(--night); }
.weather-band::before { content: none; }
.weather-band .wb-inner { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(28px, 5vw, 64px); align-items: center; margin: 0 auto; }
.weather-band .wb-photo { margin: 0; border-radius: 22px; overflow: hidden; aspect-ratio: 3 / 2; box-shadow: 0 30px 60px -30px rgba(0,0,0,.7), 0 0 0 1px rgba(141,184,255,.18); }
.weather-band .wb-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 1060px) { .weather-band .wb-inner { grid-template-columns: 1fr; } }
@media (max-width: 680px) { .weather-band { padding: 48px 0; align-items: initial; } }

/* Logo: square lightning mark */
.brand-mark.brand-bolt { width: 48px; height: 48px; margin: -4px 0 -4px -6px; object-fit: contain; }
@media (max-width: 720px) { .brand-mark.brand-bolt { width: 40px; height: 40px; } }

/* CTA band: storm photo behind, dark fade for legible text, no lightning */
.cta-band { background: #071233; }
.cta-band .cta-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; z-index: 0; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(90deg, rgba(5,12,36,.86) 0%, rgba(5,12,36,.6) 45%, rgba(5,12,36,.42) 70%, rgba(5,12,36,.66) 100%); }
.cta-band > *:not(.cta-bg) { position: relative; z-index: 1; }
.cta-band p { color: #e3ebff; }
@media (max-width: 1060px) { .cta-band::before { background: linear-gradient(180deg, rgba(5,12,36,.78), rgba(5,12,36,.6) 60%, rgba(5,12,36,.8)); } }
.cta-band::before { background: linear-gradient(90deg, rgba(5,12,36,.9) 0%, rgba(5,12,36,.8) 38%, rgba(5,12,36,.5) 60%, rgba(5,12,36,.38) 74%, rgba(5,12,36,.62) 100%); }
.cta-band h2, .cta-band p { text-shadow: 0 2px 14px rgba(0,0,0,.55); }
@media (max-width: 1060px) {
  .cta-band::before { background: linear-gradient(180deg, rgba(5,12,36,.86) 0%, rgba(5,12,36,.78) 55%, rgba(5,12,36,.5) 80%, rgba(5,12,36,.7) 100%); }
  .cta-band .cta-bg { object-position: 50% 80%; }
}
.cta-band p { max-width: 40ch; }
@media (max-width: 1060px) {
  .cta-band .cta-bg { inset: auto 0 0 0; height: 60%; object-position: 50% 70%; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 35%); mask-image: linear-gradient(180deg, transparent 0, #000 35%); }
  .cta-band::before { background: linear-gradient(180deg, rgba(5,12,36,0) 40%, rgba(5,12,36,.35) 75%, rgba(5,12,36,.6) 100%); }
}
/* Dark glass panel behind the CTA copy */
.cta-band .cta-copy { padding: clamp(20px, 2.6vw, 30px) clamp(22px, 2.8vw, 34px); border-radius: 18px; background: rgba(5,12,36,.62); backdrop-filter: blur(8px) saturate(120%); -webkit-backdrop-filter: blur(8px) saturate(120%); border: 1px solid rgba(141,184,255,.16); box-shadow: 0 20px 40px -24px rgba(0,0,0,.7); justify-self: start; }
.cta-band .cta-copy p { max-width: 44ch; }
@media (max-width: 1060px) { .cta-band .cta-copy { justify-self: stretch; } }
/* Glass box fades to nothing on its right edge */
.cta-band .cta-copy { background: none; backdrop-filter: none; -webkit-backdrop-filter: none; border: 0; box-shadow: none; isolation: isolate; }
.cta-band .cta-copy::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: rgba(5,12,36,.62); backdrop-filter: blur(8px) saturate(120%); -webkit-backdrop-filter: blur(8px) saturate(120%);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 55%, transparent 100%); mask-image: linear-gradient(90deg, #000 0%, #000 55%, transparent 100%); }
@media (max-width: 1060px) { .cta-band .cta-copy::before { -webkit-mask-image: none; mask-image: none; } }
[id] { scroll-margin-top: 92px; }

/* Brand: name sits closer to the lightning mark (header + footer) */
.brand { gap: 4px; }
.brand-mark.brand-bolt { margin-right: 0; }

/* Buttons: never wrap; scale font + padding together on small screens */
.btn { white-space: nowrap; flex-shrink: 0; font-size: clamp(.9rem, .82rem + .35vw, 1rem); padding: clamp(12px, 1.1vw + 7px, 15px) clamp(16px, 2vw + 8px, 24px); }
.btn .bolt-ico { width: 1em; height: 1em; }
.btn-sm { font-size: clamp(.86rem, .8rem + .2vw, .94rem); padding: 11px 18px; }

/* CTA box: calmer type on small screens, buttons equal width and stacked cleanly */
.cta-band h2 { font-size: clamp(1.6rem, 1.15rem + 2.2vw, 2.75rem); }
.cta-band p { font-size: clamp(.95rem, .9rem + .25vw, 1.05rem); }
@media (max-width: 1060px) {
  .cta-band .cta-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 10px; }
  .cta-band .cta-actions .btn { width: 100%; }
}
@media (max-width: 480px) {
  .cta-band { padding: 22px; }
  .cta-band .cta-copy { padding: 20px; }
}

/* Hero photo: keep rounded corners clipped while frames cross-fade (Safari drops overflow+radius on compositing) */
.scene { clip-path: inset(0 round 26px); -webkit-mask-image: -webkit-radial-gradient(white, black); transform: translateZ(0); }
.hero-full:not(.hero-boxed) .scene { clip-path: none; -webkit-mask-image: none; }
body.hero-boxed .scene { clip-path: inset(0 round 28px); }
.scene .frame { border-radius: inherit; }

/* Power strip: short labels hidden by default */
.hud .ls { display: none; }
.hud-time strong { white-space: nowrap; font-variant-numeric: tabular-nums; }
.hud-row, .hud-row > span { white-space: nowrap; }

/* Phones: one tidy line that always fits inside the photo */
@media (max-width: 480px) {
  html body:not(.hero-full) .scene-wrap > .hud { gap: 8px; padding: 6px 10px; font-size: .68rem; }
  html body:not(.hero-full) .scene-wrap > .hud .lf { display: none; }
  html body:not(.hero-full) .scene-wrap > .hud .ls { display: inline; }
  html body:not(.hero-full) .scene-wrap > .hud .hud-row { gap: 5px; min-width: 0; }
  html body:not(.hero-full) .scene-wrap > .hud .pill { font-size: .56rem; padding: 2px 5px; letter-spacing: .06em; }
  html body:not(.hero-full) .scene-wrap > .hud .pill[data-grid] { min-width: 3.6em; }
  html body:not(.hero-full) .scene-wrap > .hud .pill[data-gen] { min-width: 7.4em; }
  html body:not(.hero-full) .scene-wrap > .hud .hud-time { margin-left: auto; flex: none; }
  html body:not(.hero-full) .scene-wrap > .hud .hud-time strong { font-size: .82rem; min-width: 4.2ch; text-align: right; display: inline-block; }
}

/* Hidden means hidden, even on elements with their own display (fixes the quote form's extra button) */
[hidden] { display: none !important; }
/* Grid/flex children never force the page wider than the screen */
.form-shell > *, .hero-grid > *, .grid-2 > *, .area-band > *, .chooser > * { min-width: 0; }
.form-nav { flex-wrap: wrap; }
@media (max-width: 480px) { .form-nav .btn { flex: 1 1 auto; justify-content: center; } }

/* Steps on phones/tablets: vertical line through every number, filling as you scroll */
.steps.vline::before { display: block; left: 25px; right: auto; top: var(--vt, 26px); width: 2px; height: var(--vh, 0); }
.steps.vline .bar { display: block; left: 25px; top: var(--vt, 26px); width: 2px !important; height: var(--vf, 0); transition: height .12s linear; background: linear-gradient(180deg, var(--cobalt), var(--volt)); }
.steps.vline .step-dot { position: relative; z-index: 1; transition: background .3s, border-color .3s, box-shadow .3s, color .3s; }

/* Phone power strip: timer meter as a thin line along the bottom of the strip */
@media (max-width: 480px) {
  html body:not(.hero-full) .scene-wrap > .hud { padding-bottom: 11px; }
  html body:not(.hero-full) .scene-wrap > .hud .hud-bar { display: block; position: absolute; left: 10px; right: 10px; bottom: 4px; height: 3px; margin: 0; min-width: 0; flex: none; }
}

/* Service area map: band labels */
.tn-road { font: 700 11px var(--font-display); fill: #fff; letter-spacing: .04em; }
.tn-river { font: 600 10.5px var(--font-body); fill: #0047ab; letter-spacing: .08em; text-transform: uppercase; }
.county-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cchip { display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 99px; background: #fff; border: 1px solid var(--line); font-size: .86rem; font-weight: 500; color: var(--ink); }
.cchip-more { background: var(--mist, #f1f5fd); color: var(--cobalt); }
.county-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px; }
.county-list li { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.county-list svg { width: 18px; height: 18px; color: var(--cobalt); flex: none; }
.model-img-ph { background: repeating-linear-gradient(135deg, #f3f6fd 0 10px, #eaf0fb 10px 20px); }
.model-foot a { white-space: nowrap; }
.tn-river { font-size: 9.5px; fill: #2a5bc7; }

/* ---- Animated service-area map: zooms into the band, then counties pop in ---- */
.tn-map { aspect-ratio: 4 / 3; width: 100%; height: auto; display: block; overflow: hidden; }
.map-card { overflow: hidden; }
.tn-map .z-in { opacity: 0; transition: opacity .6s ease .2s; }
.tn-map .z-out { transition: opacity .5s ease; }
.tn-map.zoomed .z-in { opacity: 1; }
.tn-map.zoomed .z-out { opacity: 0; }
.tn-map .tn-river { font: 600 5px var(--font-body); fill: #2a5bc7; letter-spacing: .12em; text-transform: uppercase; }
.tn-map .tn-road { font: 700 5.6px var(--font-display); fill: #fff; letter-spacing: .04em; }
.tn-map .cdot-c, .tn-map .cdot-pulse { transform-box: fill-box; transform-origin: center; }
.tn-map .cdot-c { transform: scale(0); transition: transform .55s cubic-bezier(.34,1.8,.5,1); transition-delay: calc(var(--i) * 80ms); }
.tn-map .cdot-lbl { opacity: 0; transition: opacity .4s ease; transition-delay: calc(var(--i) * 80ms + .15s); }
.tn-map.dots .cdot-c { transform: scale(1); }
.tn-map.dots .cdot-lbl { opacity: 1; }
.tn-map .cdot-lbl { font: 600 5.2px var(--font-display); fill: #fff; paint-order: stroke; stroke: rgba(0,32,90,.65); stroke-width: 1.6px; stroke-linejoin: round; letter-spacing: .01em; }
.tn-map .cdot-pulse { fill: none; stroke: #ffffff; stroke-width: .5; opacity: 0; }
.tn-map.dots .cdot-pulse { animation: cdotPulse 2.6s ease-out infinite; animation-delay: calc(var(--i) * 75ms + .6s); }
@keyframes cdotPulse { 0% { opacity: .8; transform: scale(1); } 100% { opacity: 0; transform: scale(2.3); } }
.tn-map .nash .ring { stroke: #ffffff; stroke-width: .8; }
@media (prefers-reduced-motion: reduce) { .tn-map .cdot-c, .tn-map .cdot-lbl { transition: none; } .tn-map.dots .cdot-pulse { animation: none; } }
@media (max-width: 680px) { .tn-map .cdot-lbl { font-size: 6.4px; stroke-width: 1.9px; } .tn-map .tn-river { font-size: 5.6px; } }

/* Storm CTA on tablet/phone: extra room under the buttons so the lit house shows below them */
@media (max-width: 1060px) {
  .cta-band { padding-bottom: clamp(170px, 34vw, 300px); }
  .cta-band .cta-bg { inset: auto 0 0 0; height: calc(clamp(170px, 34vw, 300px) + 150px); object-position: 50% 62%;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 42%); mask-image: linear-gradient(180deg, transparent 0, #000 42%); }
  .cta-band::before { background: linear-gradient(180deg, rgba(5,12,36,0) 45%, rgba(5,12,36,.15) 80%, rgba(5,12,36,.35) 100%); }
}
@media (max-width: 480px) {
  .cta-band { padding-bottom: 190px; }
  .cta-band .cta-bg { height: 330px; object-position: 50% 60%; }
}
@media (max-width: 480px) { .cta-band { padding-bottom: 236px; } .cta-band .cta-bg { height: 330px; } }

/* Real-install gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 260px; gap: 14px; margin-top: 28px; }
.g-item { margin: 0; border-radius: 18px; overflow: hidden; background: var(--mist); box-shadow: 0 18px 40px -28px rgba(0,30,90,.45); }
.g-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.g-item:hover img { transform: scale(1.04); }
.g-wide { grid-column: span 2; grid-row: span 2; }
.g-more { margin-top: 22px; }
.fb-link { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 600; color: var(--cobalt); }
.fb-link svg { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: #1877f2; color: #fff; }
.social { display: flex; gap: 10px; }
.soc { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); border: 1px solid rgba(141,184,255,.25); color: #fff; transition: background .25s, transform .25s; }
.soc svg { width: 20px; height: 20px; }
.soc:hover { background: #1877f2; transform: translateY(-2px); }
@media (max-width: 1060px) { .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 220px; } }
@media (max-width: 560px) { .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; gap: 10px; } .g-wide { grid-column: span 2; grid-row: span 1; height: 220px; } }

/* Quote form: branded dark card */
.form-card { background: radial-gradient(120% 80% at 85% 0%, rgba(61,123,255,.22), transparent 55%), linear-gradient(160deg, #0b1a45, #071233 70%); border: 1px solid rgba(141,184,255,.22); color: #dfe8ff; box-shadow: 0 40px 80px -40px rgba(0,20,70,.7), inset 0 1px 0 rgba(255,255,255,.06); }
.form-card .progress span { background: rgba(255,255,255,.12); }
.form-card legend, .form-card h3 { color: #fff; }
.form-card .mute, .form-card p { color: #a9bce6; }
.form-card .field label, .form-card .field .lbl { color: #e8eeff; }
.form-card .field input, .form-card .field select, .form-card .field textarea { background: rgba(255,255,255,.06); border-color: rgba(141,184,255,.25); color: #fff; }
.form-card .field input::placeholder, .form-card .field textarea::placeholder { color: #8396c4; }
.form-card .field select option { background: #0b1a45; color: #fff; }
.form-card .field select { color-scheme: dark; }
.form-card .field input:focus, .form-card .field select:focus, .form-card .field textarea:focus { border-color: var(--glow); box-shadow: 0 0 0 4px rgba(61,123,255,.28); background: rgba(255,255,255,.09); }
.form-card .opt label { border-color: rgba(141,184,255,.25); background: rgba(255,255,255,.04); color: #e8eeff; }
.form-card .opt label:hover { border-color: rgba(141,184,255,.55); background: rgba(255,255,255,.07); }
.form-card .opt input:checked + label { border-color: var(--volt); background: rgba(61,123,255,.22); color: #fff; box-shadow: 0 0 0 4px rgba(61,123,255,.18), 0 0 18px rgba(61,123,255,.35); }
.form-card .field .err { color: #ff9a9a; }
.form-card .field.bad input, .form-card .field.bad select { border-color: #ff7b7b; }
.form-card .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.form-card .btn:not(.btn-ghost) { background: #fff; color: var(--cobalt); box-shadow: 0 14px 30px -14px rgba(61,123,255,.8); }
.form-card .done h3 { color: #fff; }
.form-card a { color: var(--glow); }
.form-card .progress span.on { background: linear-gradient(90deg, var(--volt), var(--glow)); box-shadow: 0 0 12px rgba(61,123,255,.7); }

/* Storm CTA on desktop: more of the photo below the copy, fading up into the navy */
@media (min-width: 1061px) {
  .cta-band { padding-bottom: 300px; align-items: start; }
  .cta-band .cta-bg { inset: auto 0 0 0; width: 100%; height: 520px; right: auto; left: 0; object-position: 50% 62%;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 45%); mask-image: linear-gradient(180deg, transparent 0, #000 45%); }
  .cta-band::before { background: linear-gradient(180deg, rgba(5,12,36,0) 50%, rgba(5,12,36,.25) 100%); }
  .cta-band .cta-copy::before { -webkit-mask-image: none; mask-image: none; background: rgba(5,12,36,.45); }
}
@media (min-width: 1061px) {
  .cta-band { position: relative; }
  .cta-band .cta-actions { position: absolute; right: clamp(28px, 4vw, 56px); bottom: clamp(28px, 3.5vw, 44px); z-index: 2; }
  .cta-band .cta-actions .btn-ghost { background: rgba(5,12,36,.45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
}
@media (min-width: 1061px) { .cta-band { grid-template-columns: minmax(0, 560px); } .cta-band .cta-copy { max-width: 560px; } }

/* Animated icons: warranty / app / repairs cards */
.ia { position: relative; overflow: hidden; }
.ia svg { overflow: visible; }
/* Shield: check draws in, a glint sweeps across */
.ia-shield .ck { stroke-dasharray: 12; stroke-dashoffset: 12; }
.anim .rise.in .ia-shield .ck, .anim .in .ia-shield .ck { animation: iaCheck 4.5s ease-in-out infinite; }
.ia-shield .glint { position: absolute; inset: -40% auto -40% -60%; width: 40%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.85), transparent); transform: skewX(-20deg); }
.anim .in .ia-shield .glint { animation: iaGlint 4.5s ease-in-out infinite; }
.anim .in .ia-shield svg { animation: iaPulse 4.5s ease-in-out infinite; }
@keyframes iaCheck { 0%,8% { stroke-dashoffset: 12; } 28%,85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 12; } }
@keyframes iaGlint { 0%,30% { left: -60%; } 55%,100% { left: 130%; } }
@keyframes iaPulse { 0%,25%,100% { transform: scale(1); } 32% { transform: scale(1.12); } 40% { transform: scale(1); } }
/* Phone: screen lights up, signal waves ripple, notification dot pops */
.ia-phone .scr { opacity: .12; }
.ia-phone .wave { opacity: 0; }
.ia-phone .dot { position: absolute; top: 9px; right: 13px; width: 8px; height: 8px; border-radius: 50%; background: #2ee6a0; box-shadow: 0 0 0 0 rgba(46,230,160,.6); transform: scale(0); }
.anim .in .ia-phone .scr { animation: iaScreen 3.6s ease-in-out infinite; }
.anim .in .ia-phone .w1 { animation: iaWave 3.6s ease-out infinite; }
.anim .in .ia-phone .w2 { animation: iaWave 3.6s ease-out .18s infinite; }
.anim .in .ia-phone .dot { animation: iaDot 3.6s cubic-bezier(.34,1.8,.5,1) infinite; }
@keyframes iaScreen { 0%,10% { opacity: .12; } 22%,70% { opacity: .45; } 90%,100% { opacity: .12; } }
@keyframes iaWave { 0%,15% { opacity: 0; } 30% { opacity: 1; } 55%,100% { opacity: 0; } }
@keyframes iaDot { 0%,20% { transform: scale(0); box-shadow: 0 0 0 0 rgba(46,230,160,.6); } 30% { transform: scale(1); } 50% { box-shadow: 0 0 0 7px rgba(46,230,160,0); } 75% { transform: scale(1); } 90%,100% { transform: scale(0); } }
/* Wrench: turns a bolt twice, small sparks */
.ia-wrench .wr { transform-box: view-box; transform-origin: 5px 19px; }
.ia-wrench .sparks { opacity: 0; color: var(--volt); }
.anim .in .ia-wrench .wr { animation: iaTurn 3.2s ease-in-out infinite; }
.anim .in .ia-wrench .sparks { animation: iaSpark 3.2s ease-out infinite; }
@keyframes iaTurn { 0%,10% { transform: rotate(0); } 22% { transform: rotate(-24deg); } 32% { transform: rotate(0); } 44% { transform: rotate(-24deg); } 54%,100% { transform: rotate(0); } }
@keyframes iaSpark { 0%,28% { opacity: 0; } 32% { opacity: 1; } 40% { opacity: 0; } 50% { opacity: 1; } 58%,100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .ia * { animation: none !important; } .ia-shield .ck { stroke-dashoffset: 0; } .ia-phone .scr { opacity: .35; } }

/* Storm CTA: rain, lightning and flash layers sit over the photo, under the text */
.cta-band .cta-fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.cta-band .cta-flash { background: radial-gradient(70% 60% at 70% 10%, rgba(200,220,255,.9), rgba(141,184,255,.25) 60%, transparent 80%); opacity: 0; mix-blend-mode: screen; }
.cta-band > *:not(.cta-bg):not(.cta-fx) { position: relative; z-index: 1; }
@media (min-width: 1061px) { .cta-band .cta-actions { position: absolute; z-index: 2; } }
@media (min-width: 1061px) { .cta-band > .cta-actions:not(.cta-fx) { position: absolute; z-index: 2; } }

/* Storm CTA: no glass panel behind the copy; text reads on the photo's dark sky */
.cta-band .cta-copy, .cta-band .cta-copy::before { background: none !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; border: 0 !important; box-shadow: none !important; }
.cta-band .cta-copy { padding-left: 0; padding-right: 0; }
.cta-band h2, .cta-band p { text-shadow: 0 2px 16px rgba(0,0,0,.6); }

/* Logo: orbiting current around the bolt */
.logo-orb { position: relative; display: inline-grid; place-items: center; width: 48px; height: 48px; margin: -4px 2px -4px -6px; flex: none; isolation: isolate; }
.logo-orb .brand-mark.brand-bolt { margin: 0; width: 40px; height: 40px; position: relative; z-index: 1; animation: none; filter: drop-shadow(0 0 6px rgba(61,123,255,.45)); }
.logo-orb .orb { position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; pointer-events: none; z-index: 0; }
.site-foot .logo-orb .brand-mark.brand-bolt { filter: drop-shadow(0 0 8px rgba(141,184,255,.6)); }
@media (max-width: 720px) { .logo-orb { width: 42px; height: 42px; } .logo-orb .brand-mark.brand-bolt { width: 34px; height: 34px; } .logo-orb .orb { width: 72px; height: 72px; margin: -36px 0 0 -36px; } }
.logo-orb { width: 60px; height: 60px; margin: -10px 4px -10px -8px; }
.logo-orb .brand-mark.brand-bolt { width: 38px; height: 38px; }
.logo-orb .orb { width: 64px; height: 64px; margin: -32px 0 0 -32px; }
@media (max-width: 720px) { .logo-orb { width: 52px; height: 52px; margin: -8px 2px -8px -6px; } .logo-orb .brand-mark.brand-bolt { width: 32px; height: 32px; } .logo-orb .orb { width: 56px; height: 56px; margin: -28px 0 0 -28px; } }
@media (max-width: 360px) { .logo-orb { width: 44px; height: 44px; margin: -6px 0 -6px -6px; } .logo-orb .brand-mark.brand-bolt { width: 28px; height: 28px; } .logo-orb .orb { width: 48px; height: 48px; margin: -24px 0 0 -24px; } .brand-name { font-size: .95rem; } .brand-name small { font-size: .56rem; letter-spacing: .12em; } }
.soc-g:hover { background: #fff; color: #4285f4; }
/* Google icon hover: white chip with the real four-colour G */
.site-foot .soc.soc-g:hover { background: #fff; border-color: #fff; color: #4285f4; }
.soc-g:hover .gb { fill: #4285f4; opacity: 1; }
.soc-g:hover .gg { fill: #34a853; opacity: 1; }
.soc-g:hover .gy { fill: #fbbc05; opacity: 1; }
.soc-g:hover .gr { fill: #ea4335; opacity: 1; }

/* Gallery on tablet/phone: no fixed row heights, so photos never overlap; odd last photo spans full width */
@media (max-width: 1060px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; }
  .g-item { aspect-ratio: 1 / 1; height: auto; }
  .g-wide { grid-column: span 2; grid-row: auto; aspect-ratio: 16 / 9; height: auto; }
  .gallery .g-item:last-child:nth-child(even) { grid-column: span 2; aspect-ratio: 16 / 9; }
}

/* Designer credit */
.foot-links { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 0; }
.credit { display: inline-flex; align-items: center; gap: 5px; margin-left: 18px; padding-left: 18px; border-left: 1px solid rgba(141,184,255,.18); opacity: .7; transition: opacity .3s, color .3s; }
.credit svg { width: 12px; height: 12px; fill: currentColor; transition: filter .3s, transform .3s; }
.credit:hover { opacity: 1; color: #fff; }
.credit:hover svg { color: var(--glow); filter: drop-shadow(0 0 4px rgba(141,184,255,.9)); transform: scale(1.15); }
@media (max-width: 680px) { .foot-links { flex-direction: column; align-items: flex-start; } .credit { margin: 6px 0 0; padding: 0; border: 0; } }
@media (max-width: 680px) { .foot-links { flex-direction: row; flex-wrap: wrap; } .credit { flex-basis: 100%; } }
.plans-grid { align-items: stretch; }
.plans-grid > .card { margin: 0; transform: none; }

/* Monitoring cards: animated icons */
/* Eye: looks around, blinks */
.ia-eye .lid { transform-box: fill-box; transform-origin: center; }
.ia-eye .pupil { transform-box: view-box; }
.ia-eye .scan { position: absolute; left: 10%; right: 10%; height: 2px; top: 20%; background: linear-gradient(90deg, transparent, rgba(61,123,255,.7), transparent); opacity: 0; }
.anim .in .ia-eye .lid { animation: iaBlink 5s ease-in-out infinite; }
.anim .in .ia-eye .pupil { animation: iaLook 5s ease-in-out infinite; }
.anim .in .ia-eye .scan { animation: iaScan 5s ease-in-out infinite; }
@keyframes iaBlink { 0%,44%,52%,100% { transform: scaleY(1); } 48% { transform: scaleY(.1); } }
@keyframes iaLook { 0%,12% { transform: translate(0,0); } 20%,32% { transform: translate(-2.2px,0); } 40%,60% { transform: translate(2.2px,0); } 70%,100% { transform: translate(0,0); } }
@keyframes iaScan { 0%,62% { top: 20%; opacity: 0; } 66% { opacity: 1; } 82% { top: 78%; opacity: 1; } 88%,100% { top: 78%; opacity: 0; } }
/* Bolt: outline draws, then the bolt charges up and a ring pulses out (fault reset) */
.ia-bolt .bo { stroke-dasharray: 60; stroke-dashoffset: 60; }
.ia-bolt .bf { opacity: 0; }
.ia-bolt .ring { position: absolute; inset: 22%; border-radius: 50%; border: 1.5px solid var(--volt); opacity: 0; }
.anim .in .ia-bolt .bo { animation: iaBoltDraw 3.8s ease-in-out infinite; }
.anim .in .ia-bolt .bf { animation: iaBoltFill 3.8s ease-in-out infinite; }
.anim .in .ia-bolt .ring { animation: iaRing 3.8s ease-out infinite; }
.anim .in .ia-bolt svg { animation: iaBoltGlow 3.8s ease-in-out infinite; }
@keyframes iaBoltDraw { 0% { stroke-dashoffset: 60; } 35%,100% { stroke-dashoffset: 0; } }
@keyframes iaBoltFill { 0%,35% { opacity: 0; } 40% { opacity: .9; } 44% { opacity: .2; } 48%,80% { opacity: .9; } 95%,100% { opacity: 0; } }
@keyframes iaRing { 0%,46% { transform: scale(.6); opacity: 0; } 50% { opacity: .9; } 75%,100% { transform: scale(1.6); opacity: 0; } }
@keyframes iaBoltGlow { 0%,38% { filter: none; } 50% { filter: drop-shadow(0 0 5px rgba(61,123,255,.9)); } 80%,100% { filter: none; } }
/* Diagnose: a signal trace draws across and pings the end point */
.ia-diag .wave { stroke-dasharray: 34; stroke-dashoffset: 34; }
.ia-diag .hit { transform-box: fill-box; transform-origin: center; transform: scale(0); }
.anim .in .ia-diag .wave { animation: iaTrace 3.4s ease-in-out infinite; }
.anim .in .ia-diag .hit { animation: iaHit 3.4s cubic-bezier(.34,1.8,.5,1) infinite; }
@keyframes iaTrace { 0% { stroke-dashoffset: 34; } 45%,80% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -34; } }
@keyframes iaHit { 0%,42% { transform: scale(0); } 50% { transform: scale(1.6); } 58%,78% { transform: scale(1); } 90%,100% { transform: scale(0); } }
@media (prefers-reduced-motion: reduce) { .ia-bolt .bo, .ia-diag .wave { stroke-dashoffset: 0; } .ia-diag .hit { transform: scale(1); } }

/* Service plan icons */
/* Clock: minute hand sweeps a full turn, hour hand creeps, a soft tick on each quarter */
.ia-clock .mh, .ia-clock .hh { transform-box: view-box; transform-origin: 12px 12px; }
.anim .in .ia-clock .mh { animation: iaMin 4s cubic-bezier(.6,0,.4,1) infinite; }
.anim .in .ia-clock .hh { animation: iaHour 16s linear infinite; }
.anim .in .ia-clock .tick { animation: iaTick 4s ease-in-out infinite; }
@keyframes iaMin { to { transform: rotate(360deg); } }
@keyframes iaHour { to { transform: rotate(360deg); } }
@keyframes iaTick { 0%,100% { opacity: .35; } 50% { opacity: 1; } }
/* Shield: an inspection sweep passes over it twice, the check confirms after each pass */
.ia-sweep .ck { stroke-dasharray: 12; stroke-dashoffset: 12; }
.ia-sweep .sweep { position: absolute; inset: 0; background: conic-gradient(from 0deg at 50% 50%, rgba(61,123,255,0) 0deg, rgba(61,123,255,.32) 40deg, rgba(61,123,255,0) 70deg); border-radius: inherit; opacity: 0; }
.anim .in .ia-sweep .sweep { animation: iaRadar 6s linear infinite; }
.anim .in .ia-sweep .ck { animation: iaTwice 6s ease-in-out infinite; }
@keyframes iaRadar { 0% { transform: rotate(0); opacity: 0; } 5% { opacity: 1; } 22% { transform: rotate(360deg); opacity: 1; } 26% { opacity: 0; transform: rotate(360deg); } 50% { opacity: 0; transform: rotate(0); } 55% { opacity: 1; } 72% { transform: rotate(360deg); opacity: 1; } 76%,100% { opacity: 0; transform: rotate(360deg); } }
@keyframes iaTwice { 0%,20% { stroke-dashoffset: 12; } 28%,44% { stroke-dashoffset: 0; } 49%,70% { stroke-dashoffset: 12; } 78%,94% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 12; } }
@media (prefers-reduced-motion: reduce) { .ia-sweep .ck { stroke-dashoffset: 0; } }
.ia-sweep .sweep { inset: 8%; border-radius: 50%; }
