:root {
  --bg: #f5f8fb;
  --bg-2: #e9f0f5;
  --panel: #ffffff;
  --panel-2: #eef3f7;
  --line: rgba(15,23,42,.09);
  --line-2: rgba(15,23,42,.18);
  --text: #0a1f36;
  --muted: #4b5568;
  --dim: #7a8396;
  --gt: linear-gradient(120deg, #00a3ad, #015a86); /* gradient text, darker for light backgrounds */
  --eb: #00808b;
  --shadow: 0 1px 0 rgba(15,23,42,.05), 0 16px 40px rgba(15,23,42,.08);
  --a1: #2ef6ea;
  --a2: #00b3c4;
  --accent: #00aab5;
  --grad: linear-gradient(120deg, var(--a1), var(--a2));
  --cyan: #4fd1ff;
  --green: #3ddc97;
  --ink: #012746;
  --r: 18px;
  --ease: cubic-bezier(.22,1,.36,1);
  --gutter: 16px;
  --head: "Manrope", system-ui, sans-serif;
}
.dark {
  --bg: #011c33; --bg-2: #012746; --panel: #06304f; --panel-2: #0b3a5d;
  --line: rgba(255,255,255,.09); --line-2: rgba(255,255,255,.16);
  --text: #eef5fb; --muted: #a3b8cc; --dim: #7190ab;
  --gt: var(--grad); --eb: #2ef6ea; --shadow: none;
  color: var(--text);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--text); font-family: "Inter", system-ui, -apple-system, sans-serif; font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }

h1, h2, h3 { font-family: var(--head); letter-spacing: -.025em; line-height: 1.08; font-weight: 800; }
h1 { font-size: clamp(40px, 10.5vw, 76px); }
h2 { font-size: clamp(30px, 7.5vw, 52px); }
h3 { font-size: 21px; font-weight: 700; letter-spacing: -.015em; }
.grad-text { background: var(--gt); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--eb); }
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--grad); }
.lead { color: var(--muted); font-size: 17px; max-width: 54ch; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 26px; border-radius: 14px; font-weight: 700; font-size: 16px; white-space: nowrap; line-height: 1; transition: transform .25s var(--ease), box-shadow .25s, background .25s, border-color .25s; }
.btn-grad { background: var(--grad); color: var(--ink); box-shadow: 0 10px 30px rgba(0,200,205,.28); }
.btn-grad:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(0,200,205,.38); }
.btn-ghost { border: 1px solid var(--line-2); background: rgba(127,127,127,.06); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: var(--a1); }
.btn-block { width: 100%; }
.arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Nav ---------- */
.nav-shell { position: fixed; top: 10px; left: 0; right: 0; z-index: 50; padding: 0 10px; }
.nav { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; padding: 0 10px 0 18px; border-radius: 18px; background: rgba(255,255,255,.78); border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(15,23,42,.08); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); transition: background .3s; }
.scrolled .nav { background: rgba(255,255,255,.95); }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark { width: 38px; height: 38px; flex: none; display: block; }
.logo-word { font-family: var(--head); font-weight: 800; font-size: 20px; letter-spacing: .14em; line-height: 1; color: var(--text); }
.logo-word small { display: block; font-size: 9px; letter-spacing: .24em; color: var(--text); font-weight: 600; margin-top: 5px; }
.nav-links { display: none; }
.nav-right { display: flex; align-items: center; gap: 8px; }
.nav-phone { display: none; }
.nav-cta { min-height: 44px; padding: 0 16px; font-size: 14px; border-radius: 12px; }
.burger { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--panel-2); }
.burger span, .burger span::before, .burger span::after { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--text); position: relative; transition: transform .3s var(--ease), background .3s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
.open-menu .burger span { background: transparent; }
.open-menu .burger span::before { transform: translateY(6px) rotate(45deg); }
.open-menu .burger span::after { transform: translateY(-6px) rotate(-45deg); }
.drawer { max-width: 1200px; margin: 8px auto 0; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .45s var(--ease), opacity .3s; pointer-events: none; }
.drawer > div { overflow: hidden; }
.open-menu .drawer { grid-template-rows: 1fr; opacity: 1; pointer-events: auto; }
.drawer a { display: block; padding: 16px 20px; border-bottom: 1px solid var(--line); font-weight: 600; }
.drawer .drawer-actions { padding: 16px; display: grid; gap: 10px; }

/* Dropdowns */
.dd { position: relative; }
.dd-btn { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--muted); padding: 10px 2px; transition: color .2s; }
.dd-btn:hover, .dd.open .dd-btn { color: var(--text); }
.chev { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.dd.open .chev { transform: rotate(180deg); }
.dd-panel { position: absolute; top: calc(100% + 14px); left: -18px; min-width: 300px; padding: 10px; border-radius: 18px; background: rgba(255,255,255,.98); border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(15,23,42,.16); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s; z-index: 60; }
.dd-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.dd.open .dd-panel { opacity: 1; visibility: visible; transform: none; }
.dd-wide { width: 620px; }
.dd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.dd-item { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 12px; transition: background .2s; }
.dd-item:hover { background: #e6f9f8; }
.dd-item i { flex: none; width: 38px; height: 38px; border-radius: 11px; background: var(--grad); display: grid; place-items: center; }
.dd-item i svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dd-item b { display: block; font-family: var(--head); font-size: 15px; color: var(--text); }
.dd-item small { display: block; font-size: 13px; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.dd-item.plain { padding: 11px 14px; }
.dd-feature { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 8px; padding: 16px 18px; border-radius: 14px; background: #012746; color: #fff; }
.nav-links .dd-feature, .dd-feature b { color: #fff; }
.dd-feature b { font-family: var(--head); font-size: 15px; display: block; }
.dd-feature small { color: #9aa6bd; font-size: 13px; }
.dd-feature em { font-style: normal; font-weight: 700; color: var(--a1); white-space: nowrap; }
.nav-talk { display: none; min-height: 44px; padding: 0 14px; font-size: 14px; border-radius: 12px; }
.nav-talk svg, .drawer-actions svg { width: 16px; height: 16px; fill: none; stroke: var(--eb); stroke-width: 2; }
.dr-group summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); font-weight: 600; }
.dr-group summary::-webkit-details-marker { display: none; }
.dr-group[open] .chev { transform: rotate(180deg); }
.dr-group a { padding: 13px 20px 13px 34px; font-weight: 500; color: var(--muted); background: var(--panel-2); }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; padding: 120px 0 40px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; animation: settle 2.6s var(--ease) both; }
@keyframes settle { from { transform: scale(1.1); opacity: 0; } to { transform: none; opacity: 1; } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(1,22,40,.55) 0%, rgba(1,22,40,.35) 30%, rgba(1,22,40,.72) 60%, rgba(1,22,40,.9) 100%); }
.hero h1 { margin: 16px 0 16px; max-width: 13ch; }
.hero .lead { color: #c6cfdf; }
.hero-ctas { display: grid; gap: 10px; margin-top: 26px; }
.hero-trust { display: grid; gap: 10px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.hero-trust div { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #c6cfdf; }
.hero-trust svg { width: 20px; height: 20px; flex: none; stroke: var(--a1); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hero .anim { animation: up 1s var(--ease) both; }
.hero .anim:nth-child(2) { animation-delay: .08s; } .hero .anim:nth-child(3) { animation-delay: .16s; } .hero .anim:nth-child(4) { animation-delay: .24s; } .hero .anim:nth-child(5) { animation-delay: .32s; }
@keyframes up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Hero rebate card */
.hero-grid { display: grid; gap: 28px; width: 100%; }
.hero-card { border-radius: 22px; padding: 22px; background: rgba(12,17,28,.72); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); box-shadow: 0 30px 60px rgba(0,0,0,.35); }
.hc-label { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--a1); }
.hc-total { font-family: var(--head); font-weight: 800; font-size: clamp(48px, 13vw, 64px); letter-spacing: -.035em; line-height: 1.02; margin: 6px 0 4px; font-variant-numeric: tabular-nums; }
.hc-sub { font-size: 14px; color: #c6cfdf; }
.hc-rows { margin: 16px 0 14px; border-top: 1px solid rgba(255,255,255,.12); }
.hc-rows div { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.12); font-size: 15px; color: #c6cfdf; }
.hc-rows b { color: #fff; font-variant-numeric: tabular-nums; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 8px; vertical-align: 1px; }
.dot.sun { background: var(--a1); } .dot.bat { background: var(--green); }
.hc-drop { font-size: 13px; color: #c6cfdf; margin-bottom: 16px; }
.hc-drop b { color: var(--a1); font-family: var(--head); font-size: 18px; margin-right: 4px; }

/* ---------- Sections ---------- */
section.block { padding: 72px 0; }
.sec-head { max-width: 720px; margin-bottom: 36px; }
.sec-head h2 { margin: 14px 0 14px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.center .eyebrow { justify-content: center; }
.center .lead { margin: 0 auto; }

/* Pillars */
.pillars { display: grid; gap: 16px; }
.pillar { position: relative; border-radius: 22px; overflow: hidden; background: var(--panel); border: 1px solid var(--line); box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .4s var(--ease), border-color .4s; }
.pillar:hover { transform: translateY(-4px); border-color: rgba(0,170,181,.45); }
.pillar-img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.pillar-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.pillar:hover .pillar-img img { transform: scale(1.06); }
.pillar-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(1,24,44,.8)); }
.pillar-tag { position: absolute; left: 18px; bottom: 14px; z-index: 1; color: #fff; display: flex; align-items: center; gap: 10px; font-family: var(--head); font-weight: 800; font-size: 22px; }
.pillar-tag i { width: 36px; height: 36px; border-radius: 10px; background: var(--grad); display: grid; place-items: center; }
.pillar-tag svg { width: 20px; height: 20px; stroke: var(--ink); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pillar-body { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.pillar-body p { color: var(--muted); font-size: 15px; }
.pillar ul { list-style: none; display: grid; gap: 8px; }
.pillar li { position: relative; padding-left: 24px; font-size: 14px; color: var(--muted); }
.pillar li::before { content: ""; position: absolute; left: 0; top: 7px; width: 12px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.pillar .link { margin-top: auto; font-weight: 700; font-size: 15px; color: var(--eb); display: inline-flex; gap: 8px; align-items: center; }

/* System designer */
.designer-band { background: radial-gradient(90% 60% at 50% 0%, #131c33 0%, var(--bg) 70%); }
.designer { display: grid; gap: 18px; }
.house-card { position: relative; border-radius: 24px; background: radial-gradient(120% 90% at 50% 0%, #1a2440 0%, var(--bg-2) 60%); border: 1px solid var(--line); padding: 14px; overflow: hidden; }
.house-card svg { width: 100%; height: auto; display: block; }
.h-off { transition: opacity .6s var(--ease), filter .6s; }
.house-card:not(.solar-on) .p-solar, .house-card:not(.battery-on) .p-battery, .house-card:not(.ev-on) .p-ev, .house-card:not(.ac-on) .p-ac { opacity: .18; filter: grayscale(1); }
.fan { transform-origin: 80px 290px; transform-box: view-box; }
.ac-on .fan { animation: spin 1.4s linear infinite; }
.flow { stroke-dasharray: 6 8; animation: flow 1.2s linear infinite; opacity: 0; transition: opacity .5s; }
@keyframes flow { to { stroke-dashoffset: -28; } }
.solar-on .f-solar, .battery-on.solar-on .f-batt, .battery-on .f-batt-out, .ev-on .f-ev, .ac-on .f-ac { opacity: 1; }
.sun-glow { transition: opacity .6s; opacity: 0; }
.solar-on .sun-glow { opacity: 1; }
.house-legend { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; font-size: 12px; color: var(--muted); padding: 8px 0 4px; }
.house-legend i { display: inline-block; width: 10px; height: 3px; border-radius: 2px; margin-right: 6px; vertical-align: 3px; }
.d-panel { border-radius: 24px; background: var(--panel); border: 1px solid var(--line); padding: 22px; }
.d-label { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.toggles { display: grid; gap: 10px; margin-bottom: 22px; }
.tog { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,.02); transition: border-color .25s, background .25s; }
.tog:hover { border-color: var(--line-2); }
.tog.on { border-color: rgba(0,230,225,.55); background: rgba(0,230,225,.07); }
.tog .sw { margin-left: auto; width: 44px; height: 26px; border-radius: 99px; background: rgba(255,255,255,.12); position: relative; transition: background .3s; flex: none; }
.tog .sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .3s var(--ease); }
.tog.on .sw { background: var(--grad); }
.tog.on .sw::after { transform: translateX(18px); }
.tog b { display: block; font-family: var(--head); font-size: 16px; }
.tog small { color: var(--muted); font-size: 13px; }
.sizes { display: flex; gap: 6px; flex-wrap: wrap; margin: -4px 0 18px; }
.size { padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--muted); transition: all .2s; }
.size.on { color: var(--ink); background: var(--a1); border-color: var(--a1); }
.size-row[hidden] { display: none; }
.d-out { border-top: 1px solid var(--line); padding-top: 18px; }
.d-total { font-family: var(--head); font-size: clamp(40px, 11vw, 54px); font-weight: 800; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.d-rows { margin: 14px 0 18px; }
.d-rows div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.d-rows b { color: var(--text); font-variant-numeric: tabular-nums; }
.note { font-size: 12px; color: var(--dim); margin-top: 12px; }

/* Live readout under the house */
.house-stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 18px; border-top: 1px solid var(--line); }
.house-stats div { padding: 16px 8px 4px; text-align: center; }
.house-stats div + div { border-left: 1px solid var(--line); }
.house-stats span { display: block; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.house-stats b { display: block; font-family: var(--head); font-size: clamp(16px, 4.2vw, 26px); font-weight: 800; letter-spacing: -.02em; margin-top: 4px; font-variant-numeric: tabular-nums; transition: color .3s, opacity .3s; }
.house-stats b.off { opacity: .35; }

/* Designer sliders */
.slider-row { margin: -2px 0 18px; padding: 0 2px; }
.sl-head { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.sl-head b { color: var(--a1); font-family: var(--head); font-size: 15px; font-variant-numeric: tabular-nums; }
.sl-scale { display: flex; justify-content: space-between; font-size: 11px; color: var(--dim); margin-top: 6px; }
.designer input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 99px; outline: none; cursor: pointer;
  background: linear-gradient(90deg, var(--a1), var(--a2) var(--p, 50%), rgba(255,255,255,.1) var(--p, 50%)); }
.designer input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 4px solid var(--a2); box-shadow: 0 0 0 6px rgba(0,200,205,.18), 0 4px 12px rgba(0,0,0,.4); cursor: grab; transition: box-shadow .2s; }
.designer input[type=range]:active::-webkit-slider-thumb { box-shadow: 0 0 0 10px rgba(0,200,205,.22), 0 4px 12px rgba(0,0,0,.4); cursor: grabbing; }
.designer input[type=range]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 4px solid var(--a2); cursor: grab; }
.tiers { display: grid; grid-template-columns: 14fr 14fr 22fr; gap: 6px; margin-top: 14px; }
.tier i { display: block; height: 8px; border-radius: 4px; background: rgba(255,255,255,.08); position: relative; overflow: hidden; }
.tier i::after { content: ""; position: absolute; inset: 0; width: var(--f, 0%); background: var(--grad); transition: width .3s var(--ease); }
.tier:nth-child(2) i::after { opacity: .7; } .tier:nth-child(3) i::after { opacity: .4; }
.tier span { display: block; font-size: 10.5px; color: var(--dim); margin-top: 5px; line-height: 1.3; }
.tier b { color: var(--muted); }
.panel-cell { transition: fill .35s var(--ease), opacity .35s, filter .35s; }
.panel-cell.lit { filter: drop-shadow(0 0 4px rgba(127,166,255,.6)); }
#batt-fill { transition: y .45s var(--ease), height .45s var(--ease); }
.flow { animation-duration: var(--flow, 1.2s); }

/* Process */
.process { position: relative; isolation: isolate; overflow: hidden; }
.process::before { content: ""; position: absolute; inset: 0; z-index: -2; background: url(img/install.jpg) 60% 30% / cover no-repeat; opacity: .12; }
.process::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--bg) 0%, rgba(247,245,240,.82) 30%, rgba(247,245,240,.82) 70%, var(--bg) 100%); }
.steps { list-style: none; display: grid; gap: 14px; counter-reset: s; }
.step { position: relative; border-radius: 20px; background: rgba(255,255,255,.92); box-shadow: var(--shadow); border: 1px solid var(--line); padding: 22px 22px 22px 76px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.step::before { counter-increment: s; content: counter(s, decimal-leading-zero); position: absolute; left: 22px; top: 22px; font-family: var(--head); font-weight: 800; font-size: 22px; background: var(--gt); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step h3 { font-size: 18px; margin-bottom: 4px; }
.step p { color: var(--muted); font-size: 14.5px; }
.step .who { display: inline-block; margin-top: 10px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #0b7fa8; }

/* Rebates */
.rebates { display: grid; gap: 14px; }
.rb { border-radius: 22px; padding: 24px; background: var(--panel); border: 1px solid var(--line); box-shadow: var(--shadow); }
.rb .big { font-family: var(--head); font-size: clamp(34px, 9vw, 46px); font-weight: 800; letter-spacing: -.03em; margin: 8px 0 4px; }
.rb p { color: var(--muted); font-size: 15px; }
.rb.drop { background: linear-gradient(135deg, #dcf6f5, #d5ecf6); border-color: rgba(0,170,181,.35); }
.rb-tag { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--eb); }

/* Promise */
.promise { display: grid; gap: 14px; }
.pr { border-radius: 20px; padding: 22px; background: var(--panel); border: 1px solid var(--line); box-shadow: var(--shadow); transition: border-color .3s, transform .3s var(--ease); }
.pr:hover { border-color: rgba(0,230,225,.35); transform: translateY(-3px); }
.pr-ico { width: 46px; height: 46px; border-radius: 13px; background: #dcf6f5; display: grid; place-items: center; margin-bottom: 16px; }
.pr-ico svg { width: 24px; height: 24px; stroke: #00808b; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pr h3 { font-size: 18px; margin-bottom: 6px; }
.pr p { color: var(--muted); font-size: 14.5px; }

/* Areas */
.areas { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: 860px; margin: 0 auto; }
.area { padding: 12px 18px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); font-weight: 600; font-size: 15px; transition: border-color .25s, background .25s; }
.area:hover { border-color: var(--accent); background: #e6f9f8; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-radius: 16px; border: 1px solid var(--line); background: var(--panel); box-shadow: 0 1px 0 rgba(15,23,42,.04); margin-bottom: 10px; transition: border-color .3s; }
.faq details[open] { border-color: rgba(0,170,181,.5); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 20px; font-family: var(--head); font-weight: 700; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--panel-2); color: var(--eb); font-size: 20px; transition: transform .3s var(--ease), background .3s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--grad); color: var(--ink); }
.faq .ans { padding: 0 20px 20px; color: var(--muted); font-size: 15px; }

/* Final CTA */
.final { position: relative; isolation: isolate; text-align: center; padding: 90px 0; overflow: hidden; background: var(--bg); }
.final::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 55%; width: 900px; height: 500px; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(0,200,205,.28), transparent); filter: blur(20px); }
.final h2 { max-width: 16ch; margin: 14px auto 14px; }
.final .hero-ctas { max-width: 420px; margin: 26px auto 0; }
.final .hero-ctas .btn { min-width: 0; }

footer { background: var(--bg); border-top: 1px solid var(--line); padding: 44px 0 110px; font-size: 13px; color: var(--muted); }
.foot-grid { display: grid; gap: 28px; }
.foot-col h4 { font-family: var(--head); color: var(--text); font-size: 14px; margin-bottom: 10px; }
.foot-col a { display: block; padding: 4px 0; }
.foot-col a:hover { color: var(--a1); }
.foot-col a.logo { display: flex; }
.legal { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); display: grid; gap: 8px; color: var(--dim); }
.ph { color: var(--eb); }

/* Sticky mobile CTA */
.sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px var(--gutter) calc(12px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.94); border-top: 1px solid var(--line); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); display: grid; grid-template-columns: 1fr auto; gap: 10px; transform: translateY(120%); transition: transform .45s var(--ease); }
.sticky.show { transform: none; }
.sticky .btn { min-height: 50px; }

/* Reveal */
.js .reveal { opacity: 0; translate: 0 24px; transition: opacity .9s var(--ease), translate .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; translate: none; }

/* ---------- Quote quiz ---------- */
.quiz { position: fixed; inset: 0; z-index: 80; background: var(--bg); display: flex; opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
.quiz.open { opacity: 1; visibility: visible; }
.q-side { display: none; }
.q-main { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.q-top { display: flex; align-items: center; gap: 12px; padding: 14px var(--gutter); border-bottom: 1px solid var(--line); }
.q-icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-size: 18px; color: var(--muted); background: var(--panel-2); flex: none; }
.q-back[hidden] { visibility: hidden; display: grid; }
.q-bar { flex: 1; height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.q-bar i { display: block; height: 100%; width: 0; background: var(--grad); transition: width .5s var(--ease); }
.q-body { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.q-step { display: none; max-width: 620px; margin: 0 auto; padding: 34px var(--gutter) 48px; }
.q-step.active { display: block; animation: up .55s var(--ease) both; }
.q-step h2 { font-size: clamp(26px, 7vw, 36px); margin-bottom: 8px; }
.q-step .hint { color: var(--muted); margin-bottom: 22px; }
.react { font-family: var(--head); font-weight: 700; font-size: clamp(18px, 5vw, 21px); line-height: 1.35; margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.react:empty { display: none; }
.react small { display: block; font-family: "Inter", sans-serif; font-weight: 500; font-size: 15px; color: var(--muted); margin-top: 4px; }
.opts { display: grid; gap: 10px; }
.opt { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; padding: 16px 18px; min-height: 66px; border-radius: 16px; border: 1px solid var(--line-2); background: var(--panel); font-weight: 600; font-size: 16px; transition: border-color .2s, background .2s, transform .15s; }
.opt:hover { border-color: var(--line-2); }
.opt:active { transform: scale(.985); }
.opt.sel { border-color: var(--accent); background: #e6f9f8; }
.opt small { display: block; font-weight: 400; font-size: 13px; color: var(--muted); }
.opt .chk { margin-left: auto; width: 24px; height: 24px; border-radius: 7px; border: 1.5px solid var(--line-2); flex: none; display: grid; place-items: center; transition: all .2s; }
.opt.sel .chk { background: var(--grad); border-color: transparent; }
.opt.sel .chk::after { content: ""; width: 10px; height: 6px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg) translate(1px, -1px); }
.field { margin-bottom: 14px; }
.field input { width: 100%; height: 58px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--panel); padding: 0 18px; font-size: 18px; outline: none; transition: border-color .2s, box-shadow .2s; }
.field input::placeholder { color: var(--dim); }
.field input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0,200,205,.18); }
.field input.err { border-color: #ff5d5d; }
.field .msg { display: none; color: #c0392b; font-size: 13px; margin-top: 6px; }
.field input.err + .msg { display: block; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; color: var(--muted); margin: 6px 0 18px; }
.consent input { width: 22px; height: 22px; flex: none; margin-top: 1px; accent-color: var(--a1); }
.consent.err { color: #c0392b; }
.consent a { text-decoration: underline; }
.loading { text-align: center; }
.spinner { width: 54px; height: 54px; margin: 10px auto 22px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--accent); animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.checks { list-style: none; max-width: 340px; margin: 20px auto 0; text-align: left; }
.checks li { padding: 8px 0 8px 30px; position: relative; color: var(--dim); transition: color .3s; }
.checks li::before { content: ""; position: absolute; left: 0; top: 11px; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--line-2); transition: all .3s; }
.checks li.done { color: var(--text); }
.checks li.done::before { background: var(--grad); border-color: transparent; }
.result { text-align: center; }
.result .eyebrow { justify-content: center; color: #12a46b; }
.result .eyebrow::before { background: #12a46b; }
.r-big { font-family: var(--head); font-weight: 800; font-size: clamp(48px, 14vw, 72px); letter-spacing: -.035em; line-height: 1; margin: 10px 0 8px; font-variant-numeric: tabular-nums; }
.r-sub { color: var(--muted); max-width: 46ch; margin: 0 auto; font-size: 15px; }
.r-sub b { color: var(--text); }
.breakdown { text-align: left; margin: 20px 0 0; border-top: 1px solid var(--line); }
.breakdown div { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.breakdown b { color: var(--text); }
.ask { text-align: left; margin-top: 24px; }
.ask-q { display: block; font-family: var(--head); font-size: 21px; font-weight: 700; margin-bottom: 12px; }
.fine { font-size: 12px; color: var(--dim); margin-top: 16px; text-align: left; }
.form-error { background: #fdecea; border-left: 3px solid #e5484d; color: #a12d26; padding: 12px 14px; font-size: 14px; border-radius: 8px; margin-bottom: 14px; }
.test-note { background: #e6f6fc; border-left: 3px solid #0b7fa8; color: #0b5a75; padding: 12px 14px; font-size: 13px; border-radius: 8px; margin-top: 14px; }
.btn:disabled { opacity: .6; cursor: wait; }
.pac-container { z-index: 1000 !important; font-family: inherit; border-radius: 12px; margin-top: 4px; border: 0; box-shadow: 0 18px 40px rgba(0,0,0,.4); }

/* ---------- Larger screens ---------- */
@media (min-width: 640px) {
  :root { --gutter: 28px; }
  .hero-ctas { grid-template-columns: auto auto; justify-content: start; }
  .hero-trust { grid-template-columns: repeat(3, auto); justify-content: start; gap: 24px; }
  .opts.two { grid-template-columns: 1fr 1fr; }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .rebates { grid-template-columns: 1fr 1fr; }
  .promise { grid-template-columns: 1fr 1fr; }
  .final .hero-ctas { max-width: none; grid-template-columns: auto auto; justify-content: center; }
}
@media (min-width: 980px) {
  :root { --gutter: 40px; }
  .nav { height: 70px; padding: 0 12px 0 22px; }
  .nav-links { display: flex; gap: 26px; align-items: center; }
  .nav-links a { font-size: 14px; font-weight: 600; color: var(--muted); transition: color .2s; }
  .nav-links a:hover { color: var(--text); }
  .nav-talk { display: inline-flex; }
  .nav-phone svg { width: 16px; height: 16px; stroke: var(--eb); fill: none; stroke-width: 2; }
  .burger, .drawer { display: none !important; }
  .hero { align-items: center; padding: 130px 0 90px; }
  .hero::before { background: linear-gradient(90deg, rgba(1,22,40,.86) 0%, rgba(1,22,40,.62) 42%, rgba(1,22,40,.2) 75%), linear-gradient(180deg, rgba(1,22,40,.3) 0%, transparent 25%, transparent 70%, rgba(1,22,40,.5) 100%); }
  .hero-bg img { object-position: 60% 45%; }
  .hero-grid { grid-template-columns: 1.25fr .85fr; gap: 56px; align-items: center; }
  section.block { padding: 110px 0; }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .designer { grid-template-columns: 1.25fr 1fr; align-items: stretch; }
  .house-card { display: flex; flex-direction: column; justify-content: center; padding: 24px; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .rebates { grid-template-columns: 1fr 1fr 1fr; }
  .promise { grid-template-columns: repeat(4, 1fr); }
  .foot-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
  footer { padding-bottom: 44px; }
  .sticky { display: none; }

  .quiz .q-side { display: flex; flex-direction: column; justify-content: space-between; width: 40%; max-width: 520px; padding: 36px 44px; position: relative; isolation: isolate; background: var(--bg-2) url(img/hero.jpg) 60% 50% / cover no-repeat; }
  .q-side::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(160deg, rgba(1,22,40,.94), rgba(12,17,28,.82)); }
  .q-est { border-radius: 20px; padding: 22px; background: rgba(17,24,39,.85); border: 1px solid var(--line); margin: 14px 0 22px; }
  .q-est span { color: var(--muted); font-size: 14px; }
  .q-est b { display: block; font-family: var(--head); font-size: 50px; font-weight: 800; letter-spacing: -.03em; line-height: 1.05; margin: 4px 0; font-variant-numeric: tabular-nums; }
  .q-est small { color: var(--dim); font-size: 12px; }
  .q-sum { list-style: none; }
  .q-sum li { display: flex; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
  .q-sum li span { color: var(--muted); }
  .q-sum li b { font-weight: 600; color: var(--dim); text-align: right; }
  .q-sum li.done b { color: var(--text); }
  .q-sum li.done span::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--a1); margin-right: 8px; vertical-align: 1px; }
  .q-side-foot { font-size: 13px; color: var(--muted); }
  .q-top { padding: 18px 40px; }
  .q-step { padding: 60px 40px; }
}
@media (min-width: 980px) and (max-width: 1179px) {
  .nav-links > a { display: none; }
}
@media (min-width: 640px) and (max-width: 1179px) {
  .pillars > .pillar:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (min-width: 1180px) {
  .pillars { grid-template-columns: repeat(6, 1fr); }
  .pillars > .pillar { grid-column: span 2; }
  .pillars > .pillar:nth-child(n+4) { grid-column: span 3; }
  .pillar-tag { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ================= Product & inner pages ================= */
.pillar-actions { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pillar-actions .link { margin-top: 0; }
.link-more { font-weight: 600; font-size: 14px; color: var(--muted); border-bottom: 1px solid var(--line-2); padding-bottom: 1px; transition: color .2s, border-color .2s; }
.link-more:hover { color: var(--text); border-color: var(--text); }

.page-hero { min-height: 72vh; min-height: 72svh; }
.page-hero h1 { max-width: 16ch; font-size: clamp(38px, 9vw, 64px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: #c6cfdf; margin-bottom: 18px; }
.crumbs a { color: #c6cfdf; } .crumbs a:hover { color: #fff; }
.crumbs span[aria-current] { color: #fff; font-weight: 600; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.hero-chips span { font-size: 13px; font-weight: 600; padding: 8px 12px; border-radius: 10px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); color: #fff; backdrop-filter: blur(6px); }

.split { display: grid; gap: 28px; align-items: center; }
.split-img { border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.split-img img { width: 100%; height: 100%; object-fit: cover; }
.incl { list-style: none; display: grid; gap: 12px; margin-top: 22px; }
.incl li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; padding: 14px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); }
.incl li i { width: 40px; height: 40px; border-radius: 11px; background: #dcf6f5; display: grid; place-items: center; font-style: normal; font-family: var(--head); font-weight: 800; color: var(--eb); }
.incl b { display: block; font-family: var(--head); font-size: 16px; }
.incl span { font-size: 14.5px; color: var(--muted); }

.mini-calc { display: grid; gap: 22px; border-radius: 24px; padding: 26px; background: var(--panel); border: 1px solid var(--line); }
.mini-calc .mc-big { font-family: var(--head); font-weight: 800; font-size: clamp(44px, 12vw, 64px); letter-spacing: -.035em; line-height: 1; font-variant-numeric: tabular-nums; }
.mini-calc input[type=range], .designer input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 99px; outline: none; cursor: pointer;
  background: linear-gradient(90deg, var(--a1), var(--a2) var(--p, 50%), rgba(255,255,255,.1) var(--p, 50%)); }
.mini-calc input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 4px solid var(--a2); box-shadow: 0 0 0 6px rgba(0,200,205,.18), 0 4px 12px rgba(0,0,0,.4); cursor: grab; }
.mini-calc input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 4px solid var(--a2); cursor: grab; }
.mc-rows { border-top: 1px solid var(--line); }
.mc-rows div { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.mc-rows b { color: var(--text); font-variant-numeric: tabular-nums; }

@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 64px; }
  .split.flip .split-img { order: 2; }
  .mini-calc { grid-template-columns: 1.1fr 1fr; gap: 48px; padding: 40px; align-items: center; }
}

/* Logo mark on dark backgrounds: faint ring so the navy square stays visible */
.dark .logo-mark { border-radius: 8.5px; box-shadow: 0 0 0 1px rgba(255,255,255,.16); }

/* ---------- Legal pages ---------- */
.legal-doc { padding-top: 136px; }
.legal-doc .wrap { max-width: 760px; }
.legal-doc h1 { font-size: clamp(32px, 7vw, 44px); margin: 10px 0 6px; }
.legal-doc .updated { color: var(--dim); font-size: 14px; margin-bottom: 24px; }
.legal-doc h2 { font-size: 21px; margin: 32px 0 10px; letter-spacing: -.01em; }
.legal-doc p, .legal-doc li { color: var(--muted); font-size: 16px; }
.legal-doc p + p { margin-top: 10px; }
.legal-doc ul { padding-left: 20px; margin: 8px 0; display: grid; gap: 6px; }
.legal-doc a { color: var(--eb); text-decoration: underline; }
.legal-doc b { color: var(--text); }

/* ---------- Hero: frosted panel behind the copy so it reads on any part of the photo ---------- */
.hero-copy { background: rgba(1, 28, 51, .55); -webkit-backdrop-filter: blur(14px) saturate(120%); backdrop-filter: blur(14px) saturate(120%); border: 1px solid rgba(255, 255, 255, .12); border-radius: 20px; padding: 24px 20px; box-shadow: 0 20px 50px rgba(0, 0, 0, .25); }
.hero-copy .lead { color: #e3edf7; }
.hero-copy .hero-trust div { color: #dbe6f1; }
.hero-copy .hero-trust { border-top-color: rgba(255, 255, 255, .14); }
@media (min-width: 980px) {
  .hero-copy { padding: 36px 36px 30px; }
  .hero-copy .hero-trust { grid-template-columns: 1fr; gap: 10px; }
}
