/* Daylight Solar Co. | demo landing page
   Concept: the page is one day. A fixed sky (scroll-driven) goes dawn to night; ink flips with the light.
   Shape rule: buttons and chips are pills, cards 20px, the hero window and big media 28px, inputs 12px. */

:root {
  --midnight: #0a1430;
  --navy: #13234f;
  --navy-2: #1c2f66;
  --gold: #ffc53d;
  --gold-2: #f0a019;
  --gold-soft: #ffe7a3;
  --sky-white: #f4f8fc;
  --ember: #ff9a4a;

  --font: "Atkinson Hyperlegible Next", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Gabarito", "Atkinson Hyperlegible Next", system-ui, sans-serif;
  --mono: "Atkinson Hyperlegible Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --ease: cubic-bezier(.23, 1, .32, 1);
  --ease-io: cubic-bezier(.77, 0, .175, 1);
  --r-card: 20px;
  --r-big: 28px;
  --r-in: 12px;
  --nav-h: 68px;

  /* light direction, updated by the page sun */
  --shx: 6px;
  --shy: 18px;
  --shc: rgba(13, 27, 62, .16);

  /* z scale */
  --z-sky: -1;
  --z-raise: 2;
  --z-sticky: 20;
  --z-nav: 40;
  --z-ghost: 60;
}

/* ink tokens follow the sky */
html.sky-day {
  --ink: #0d1b3e;
  --ink-2: #33436a;
  --ink-3: #4f5f86;
  --line: rgba(13, 27, 62, .14);
  --surface: #ffffff;
  --surface-2: rgba(255, 255, 255, .62);
  --on: #0d1b3e;
  --on-2: #3d4d74;
  --chip: rgba(13, 27, 62, .06);
  color-scheme: light;
}
html.sky-night {
  --ink: #eef3fb;
  --ink-2: #c3cee8;
  --ink-3: #9fadcf;
  --line: rgba(238, 243, 251, .16);
  --surface: #15234f;
  --surface-2: rgba(21, 35, 79, .62);
  --on: #eef3fb;
  --on-2: #c3cee8;
  --chip: rgba(238, 243, 251, .08);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--midnight); -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 12px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font: 400 1.0625rem/1.6 var(--font);
  color: var(--ink);
  background: transparent;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: color .45s ease;
}
img, video, canvas, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 800; line-height: 1.12; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.mono { font-family: var(--mono); font-feature-settings: "tnum" 1; letter-spacing: -0.01em; }
.ic { width: 1.2em; height: 1.2em; fill: currentColor; flex: none; }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: #0d1b3e; padding: 10px 16px; border-radius: 999px; font-weight: 700; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1200px, calc(100% - 40px)); margin-inline: auto; }
section { position: relative; }

/* ---------- the page sky ---------- */
.sky {
  position: fixed; inset: 0; z-index: var(--z-sky); pointer-events: none; overflow: hidden;
  --sk-top: #0a1430; --sk-mid: #1a2558; --sk-bot: #2a3470; --glow: #f6a54a; --glowA: .55; --starA: 1;
  background: linear-gradient(180deg, var(--sk-top) 0%, var(--sk-mid) 58%, var(--sk-bot) 100%);
}
.sky-stars {
  position: absolute; inset: 0; opacity: var(--starA);
  background-image:
    radial-gradient(1.2px 1.2px at 12% 18%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 33% 9%, #fff 50%, transparent 51%),
    radial-gradient(1.4px 1.4px at 58% 22%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 77% 12%, #fff 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 89% 31%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 22% 41%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 47% 36%, #dfe8ff 50%, transparent 51%),
    radial-gradient(1.3px 1.3px at 68% 47%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 8% 62%, #dfe8ff 50%, transparent 51%),
    radial-gradient(1px 1px at 93% 58%, #fff 50%, transparent 51%);
  background-size: 520px 520px;
}
.sky-sun {
  position: absolute; left: 0; top: 0; width: 220px; height: 220px; margin: -110px 0 0 -110px;
  will-change: transform; opacity: 0;
}
.sky-sun::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 214, 120, .38) 0%, rgba(255, 190, 80, .12) 38%, transparent 70%);
}
.sky-sun span {
  position: absolute; left: 50%; top: 50%; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%;
  background: radial-gradient(circle at 40% 38%, #fffbe8 0%, #ffe08a 45%, #ffc53d 100%);
  box-shadow: 0 0 30px 8px rgba(255, 197, 61, .35); opacity: .8;
}
.sky-moon {
  position: absolute; right: 14%; top: 14%; width: 34px; height: 34px; border-radius: 50%;
  box-shadow: inset -9px 3px 0 0 #f4ecd2; opacity: 0; transform: rotate(-20deg);
}
.sky-horizon {
  position: absolute; left: -10%; right: -10%; bottom: -10%; height: 60%;
  background: radial-gradient(60% 70% at var(--hx, 20%) 100%, var(--glow) 0%, transparent 70%);
  opacity: var(--glowA);
}

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-nav); height: var(--nav-h);
  color: var(--ink);
}
.nav::before {
  content: ""; position: absolute; inset: 0;
  background: var(--nav-bg, rgba(10, 20, 48, .7));
  -webkit-backdrop-filter: blur(12px) saturate(140%); backdrop-filter: blur(12px) saturate(140%);
  border-bottom: 1px solid var(--line);
  opacity: var(--nav-a, 0); transition: opacity .3s ease;
}
.nav-in { position: relative; height: 100%; width: min(1320px, calc(100% - 32px)); margin-inline: auto; display: flex; align-items: center; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 1.22rem; letter-spacing: -0.02em; white-space: nowrap; }
.brand-name span { font-weight: 600; opacity: .8; }
.brand-mark {
  display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffe08a, #ffc53d 55%, #f0a019); color: #13234f;
  box-shadow: 0 0 0 3px rgba(255, 197, 61, .18), 0 6px 18px -6px rgba(240, 160, 25, .7);
}
.brand-mark .ic { width: 22px; height: 22px; }
.dial { position: relative; display: flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border-radius: 999px; background: var(--chip); }
.dial-arc { width: 44px; height: 24px; overflow: visible; }
.dial-arc path { fill: none; stroke: currentColor; stroke-opacity: .35; stroke-width: 1.6; stroke-dasharray: 2 3; }
.dial-arc line { stroke: currentColor; stroke-opacity: .45; stroke-width: 1.2; }
.dial-sun { position: absolute; left: 8px; top: 6px; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px 2px rgba(255, 197, 61, .7); will-change: transform; }
.dial-time { font-size: .86rem; min-width: 5.6em; color: var(--ink-2); }
.nav-links { display: flex; gap: 24px; margin-left: auto; }
.nav-links a { text-decoration: none; font-weight: 600; font-size: .98rem; color: var(--ink-2); padding: 8px 0; transition: color .2s ease; }
.nav-links a:hover { color: var(--ink); }
.nav-phone { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; font-weight: 600; font-size: .98rem; white-space: nowrap; }
.nav-menu { display: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--chip); position: relative; }
.nav-menu span { position: absolute; left: 13px; right: 13px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s var(--ease); }
.nav-menu span:first-child { top: 17px; } .nav-menu span:last-child { top: 25px; }
.nav-menu[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-menu[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.mnav {
  position: absolute; top: calc(var(--nav-h) - 4px); left: 12px; right: 12px; padding: 14px; border-radius: var(--r-card);
  background: var(--surface); color: var(--on); box-shadow: 0 24px 60px -20px rgba(5, 10, 30, .5);
  display: grid; gap: 4px;
}
.mnav[hidden] { display: none; }
.mnav a:not(.btn) { padding: 12px 10px; text-decoration: none; font-weight: 600; border-radius: 10px; }
.mnav a:not(.btn):active { background: var(--chip); }
.mnav .btn { margin-top: 8px; justify-content: center; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 50px; padding: 0 24px;
  border-radius: 999px; border: 0; font: 700 1rem/1 var(--font); text-decoration: none; white-space: nowrap;
  transition: transform .16s var(--ease), background-color .2s ease, box-shadow .2s ease, color .2s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.97); }
.btn .ic { width: 1.15em; height: 1.15em; }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: .95rem; }
.btn-gold { background: var(--gold); color: #0d1b3e; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), 0 10px 24px -10px rgba(240, 160, 25, .85); }
.btn-ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px color-mix(in srgb, currentColor 38%, transparent); }
.btn-navy { background: var(--navy); color: #fff; box-shadow: 0 10px 24px -12px rgba(13, 27, 62, .7); }
.btn-quiet { background: rgba(255, 255, 255, .08); color: inherit; }
.btn-block { width: 100%; }
@media (hover: hover) and (pointer: fine) {
  .btn-gold:hover { background: #ffd263; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 14px 30px -10px rgba(240, 160, 25, .95); }
  .btn-ghost:hover { box-shadow: inset 0 0 0 1.5px currentColor; }
  .btn-navy:hover { background: var(--navy-2); }
  .btn-quiet:hover { background: rgba(255, 255, 255, .14); }
}
.chip {
  display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 14px; border-radius: 999px;
  border: 1px solid rgba(13, 27, 62, .16); background: #fff; color: #0d1b3e; font-weight: 600; font-size: .92rem;
  transition: transform .16s var(--ease), background-color .2s ease;
}
.chip:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .chip:hover { background: #f1f5fb; } }

/* ---------- light-direction shadows ---------- */
.cast { box-shadow: var(--shx) var(--shy) 44px -14px var(--shc), 0 1px 2px rgba(10, 20, 48, .08); }

/* ---------- reveal (fail-open) ---------- */
html.rv-on .rv { opacity: 0; transform: translateY(22px); }
html.rv-on .rv.in { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .9s var(--ease); }
@media (prefers-reduced-motion: reduce) {
  html.rv-on .rv { transform: none; }
  html.rv-on .rv.in { transition: opacity .3s ease; }
}

/* ======================= HERO ======================= */
.hero { padding: calc(var(--nav-h) + 2px) 14px 0; }
.hero-win {
  position: relative; isolation: isolate; overflow: hidden; border-radius: var(--r-big);
  min-height: max(640px, calc(100svh - var(--nav-h) - 46px));
  display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.3fr); grid-template-rows: 1fr auto;
  color: var(--h-ink); box-shadow: 0 40px 80px -40px rgba(3, 8, 24, .7), 0 0 0 1px rgba(255, 255, 255, .06);
  --hs-top: #0a1430; --hs-mid: #1a2558; --hs-bot: #3a3f78;
  transition: color .5s ease;
}
.hero-win.is-night { --h-ink: #f3f6fc; --h-ink-2: #c9d4ee; --hud-bg: rgba(8, 16, 42, .55); --hud-line: rgba(255, 255, 255, .12);
  --gz1: #fff8de; --gz2: #ffe08a; --gz3: #ffc12e; --gz4: #f39a12; --gzEdge: rgba(255, 255, 255, .28); --gzShadow: rgba(255, 170, 40, .28); }
.hero-win.is-day { --h-ink: #0d1b3e; --h-ink-2: #33436a; --hud-bg: rgba(255, 255, 255, .62); --hud-line: rgba(13, 27, 62, .12);
  --gz1: #4a68ad; --gz2: #1d3170; --gz3: #0d1b3e; --gz4: #263f86; --gzEdge: rgba(255, 255, 255, .7); --gzShadow: rgba(13, 27, 62, .18); }
.hero-sky { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--hs-top) 0%, var(--hs-mid) 62%, var(--hs-bot) 100%); }
.hero-stars {
  position: absolute; inset: 0; opacity: var(--hs-stars, 1);
  background-image:
    radial-gradient(1.3px 1.3px at 18% 22%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 41% 12%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 63% 28%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 84% 9%, #fff 50%, transparent 51%),
    radial-gradient(1.1px 1.1px at 92% 38%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 6% 48%, #dfe8ff 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 52% 44%, #fff 50%, transparent 51%);
  background-size: 380px 300px;
}
.hero-sun { position: absolute; left: 0; top: 0; width: 260px; height: 260px; margin: -130px 0 0 -130px; will-change: transform; }
.hero-sun::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle, rgba(255, 220, 130, .7) 0%, rgba(255, 190, 80, .2) 36%, transparent 68%); }
.hero-sun span { position: absolute; left: 50%; top: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; background: radial-gradient(circle at 40% 38%, #fffdf0 0%, #ffe390 46%, #ffc53d 100%); box-shadow: 0 0 60px 16px rgba(255, 197, 61, .45); }
.hero-haze { position: absolute; left: -10%; right: -10%; bottom: 0; height: 62%; background: radial-gradient(55% 75% at var(--hx, 60%) 100%, var(--hglow, #f6a54a) 0%, transparent 72%); opacity: var(--hglowA, .5); }

.hero-copy { grid-column: 1; grid-row: 1; align-self: center; padding: 48px 24px 40px clamp(28px, 4.4vw, 68px); position: relative; z-index: var(--z-raise); }
.hero-copy::before { content: ""; position: absolute; left: -12%; right: -18%; top: -6%; bottom: -10%; z-index: -1; pointer-events: none; background: radial-gradient(closest-side, var(--scrim, transparent) 0%, transparent 100%); }
.hero h1 { font-size: clamp(2.8rem, 4.7vw, 4.9rem); line-height: .98; letter-spacing: -0.032em; max-width: 12.5ch; padding-bottom: .06em; }
.glaze {
  position: relative; color: var(--h-ink);
  background: linear-gradient(180deg, var(--gz1) 0%, var(--gz2) 50%, var(--gz3) 51.5%, var(--gz4) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 0 var(--gzEdge)) drop-shadow(0 16px 26px var(--gzShadow));
}
.glaze::after {
  content: attr(data-text); position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(100deg, transparent 0%, transparent 40%, rgba(255, 255, 255, .85) 49%, rgba(255, 255, 255, .0) 58%, transparent 100%);
  background-size: 260% 100%; background-position: 120% 0;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  mix-blend-mode: soft-light;
}
@media (prefers-reduced-motion: no-preference) { html:not(.shot) .glaze::after { animation: sheen 7s var(--ease-io) 1.2s infinite; } }
@keyframes sheen { 0% { background-position: 120% 0; } 45%, 100% { background-position: -40% 0; } }
.hero-sub { margin-top: 22px; font-size: clamp(1.08rem, 1.3vw, 1.24rem); line-height: 1.55; color: var(--h-ink-2); max-width: 31ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.hero-stage { grid-column: 2; grid-row: 1; position: relative; min-height: 420px; }
.hero-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y; }
.stage-fallback { position: absolute; inset: 4% 2% 2% 0; width: 98%; height: 94%; object-fit: contain; object-position: 50% 60%; }
.hero-stage.gl-on .stage-fallback { opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility 0s .6s; }
.stage-hint { position: absolute; right: 22px; top: 18px; display: inline-flex; align-items: center; gap: 8px; font-size: .86rem; font-weight: 600; color: var(--h-ink-2); background: var(--hud-bg); padding: 7px 12px; border-radius: 999px; transition: opacity .5s ease; }
.hero-stage.touched .stage-hint { opacity: 0; }

.hud {
  grid-column: 1 / -1; grid-row: 2; position: relative; z-index: var(--z-raise);
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 28px;
  margin: 0 14px 14px; padding: 14px 18px 14px 14px; border-radius: 22px;
  background: var(--hud-bg); border: 1px solid var(--hud-line);
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
}
.hud-clock { display: flex; align-items: center; gap: 12px; min-width: 196px; }
.hud-play { width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--gold); color: #0d1b3e; display: grid; place-items: center; transition: transform .16s var(--ease); flex: none; }
.hud-play:active { transform: scale(.94); }
.hud-play .ic { width: 20px; height: 20px; grid-area: 1 / 1; }
.hud-play .ic-play { opacity: 0; } .hud-play.paused .ic-play { opacity: 1; } .hud-play.paused .ic-pause { opacity: 0; }
.hud-time { display: block; font-size: 1.5rem; font-weight: 600; line-height: 1.1; }
.hud-phase { display: block; font-size: .85rem; color: var(--h-ink-2); white-space: nowrap; }
.hud-range { position: relative; padding-top: 4px; }
.hud-ticks { display: flex; justify-content: space-between; font-size: .74rem; color: var(--h-ink-2); margin-top: 6px; padding: 0 2px; }
.hud-stats { display: grid; grid-template-columns: repeat(4, auto); gap: 22px; margin: 0; }
.hud-stats div { min-width: 0; }
.hud-stats dt { font-size: .78rem; color: var(--h-ink-2); white-space: nowrap; }
.hud-stats dd { margin: 2px 0 0; font-size: 1.12rem; font-weight: 600; white-space: nowrap; display: flex; align-items: center; gap: 8px; }
.batt { position: relative; width: 34px; height: 16px; border-radius: 4px; box-shadow: inset 0 0 0 1.5px currentColor; padding: 2.5px; flex: none; }
.batt::after { content: ""; position: absolute; right: -4px; top: 5px; width: 2.5px; height: 6px; border-radius: 0 2px 2px 0; background: currentColor; }
.batt i { display: block; height: 100%; width: 30%; border-radius: 2px; background: var(--gold); box-shadow: 0 0 8px rgba(255, 197, 61, .8); transition: width .2s linear; }
.hero-note { width: min(1320px, calc(100% - 8px)); margin: 14px auto 0; font-size: .9rem; color: var(--ink-2); text-align: center; }

/* range input */
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 30px; background: transparent; margin: 0; touch-action: pan-y; }
input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 999px; background: linear-gradient(90deg, var(--gold) 0 var(--p, 0%), var(--trk, rgba(128, 140, 170, .35)) var(--p, 0%) 100%); }
input[type="range"]::-moz-range-track { height: 6px; border-radius: 999px; background: var(--trk, rgba(128, 140, 170, .35)); }
input[type="range"]::-moz-range-progress { height: 6px; border-radius: 999px; background: var(--gold); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -10px; border-radius: 50%; background: radial-gradient(circle at 40% 38%, #fffbe8, #ffd25a 55%, #f0a019); border: 2px solid #fff; box-shadow: 0 0 0 4px rgba(255, 197, 61, .28), 0 4px 10px rgba(10, 20, 48, .35); cursor: grab; }
input[type="range"]::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: #ffc53d; border: 2px solid #fff; box-shadow: 0 0 0 4px rgba(255, 197, 61, .28); cursor: grab; }
input[type="range"]:active::-webkit-slider-thumb { cursor: grabbing; transform: scale(1.06); }

/* ======================= MISMATCH ======================= */
.mismatch { padding: clamp(90px, 11vw, 150px) 0 clamp(48px, 6vw, 80px); }
.mm-head h2, .services h2, .es-head h2, .why h2, .how h2, .cost h2 { font-size: clamp(2.05rem, 3.7vw, 3.5rem); line-height: 1.04; letter-spacing: -0.026em; }
.mm-head h2 { max-width: 17ch; }
.mm-head p { margin-top: 22px; max-width: 62ch; font-size: 1.12rem; color: var(--ink-2); }
.mm-chart { margin: 48px 0 0; padding: 18px 18px 14px; border-radius: var(--r-card); background: var(--surface-2); border: 1px solid var(--line); }
.mm-chart svg { width: 100%; height: auto; overflow: visible; color: var(--ink); }
.mm-legend { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 6px 8px 10px; font-weight: 600; font-size: .95rem; }
.mm-legend span { display: inline-flex; align-items: center; gap: 8px; }
.mm-legend i { display: inline-block; width: 14px; height: 14px; border-radius: 4px; }
.lg-sun { background: #ffc53d; box-shadow: inset 0 0 0 2px #f0a019; }
.lg-home { height: 3px !important; width: 22px !important; border-radius: 2px !important; background: var(--ink); }
.lg-peak { background: rgba(255, 138, 61, .3); }
.mm-chart.narrow text { font-size: 23px; }
.mm-chart.narrow .mm-x text { font-size: 21px; }
.mm-chart figcaption { font-size: .88rem; color: var(--ink-2); padding: 4px 6px 0; }
.mm-grid line { stroke: currentColor; stroke-opacity: .25; }
.mm-solar { fill: none; stroke: #f0a019; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.mm-home { fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.mm-home-l { stroke: var(--ink); stroke-width: 3; stroke-linecap: round; }
.mm-shift { fill: none; stroke: var(--ink); stroke-width: 2; stroke-dasharray: 6 7; color: var(--ink); }
.mm-shift-t, .mm-peak-t, .mm-legend text { fill: var(--ink); font: 600 15px var(--font); }
.mm-peak-t { fill: #b4501a; }
html.sky-night .mm-peak-t { fill: #ffb27a; }
.mm-x text { fill: var(--ink-2); font-size: 13px; font-family: var(--mono); }
html.rv-on .mm-chart:not(.drawn) .mm-solar, html.rv-on .mm-chart:not(.drawn) .mm-home { stroke-dashoffset: var(--len, 0); }
.mm-chart .mm-solar, .mm-chart .mm-home { stroke-dasharray: var(--len, none); transition: stroke-dashoffset 1.8s var(--ease-io); }
.mm-chart .mm-home { transition-delay: .25s; }
html.rv-on .mm-chart:not(.drawn) .mm-solar-a, html.rv-on .mm-chart:not(.drawn) .mm-shift, html.rv-on .mm-chart:not(.drawn) .mm-shift-t { opacity: 0; }
.mm-solar-a, .mm-shift, .mm-shift-t { transition: opacity .8s ease 1.2s; }
.mm-notes { list-style: none; padding: 0; margin: 34px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.mm-notes li { display: flex; gap: 14px; align-items: flex-start; }
.mm-notes .ic { width: 28px; height: 28px; color: var(--ink); padding: 0; flex: none; margin-top: 2px; }
.mm-notes strong { display: block; font-family: var(--display); font-size: 1.2rem; }
.mm-notes span { color: var(--ink-2); }

/* ======================= SERVICES ======================= */
.services { padding: clamp(56px, 7vw, 100px) 0; }
.services h2 { max-width: 16ch; }
.sv-grid { margin-top: 48px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px; }
.sv { position: relative; overflow: hidden; border-radius: var(--r-card); background: var(--surface); color: var(--on); display: flex; flex-direction: column; }
.sv h3 { font-size: 1.45rem; letter-spacing: -0.015em; }
.sv p { color: var(--on-2); margin-top: 8px; }
.sv-body { padding: 24px 26px 26px; }
.sv-when { display: inline-flex; align-items: center; gap: 7px; font-size: .8rem; color: var(--on-2); margin-bottom: 10px; }
.sv-when .ic { width: 15px; height: 15px; color: var(--gold-2); }
.sv img { width: 100%; object-fit: cover; }
.sv-panels { grid-column: 1 / 7; grid-row: 1 / 3; }
.sv-panels img { flex: 1; min-height: 300px; height: 100%; }
.sv-battery { grid-column: 7 / 13; grid-row: 1; flex-direction: row; align-items: center; background: linear-gradient(135deg, #13234f, #0a1430); color: #eef3fb; }
.sv-battery p, .sv-battery .sv-when { color: #c3cee8; }
.sv-gauge { position: relative; flex: none; width: 150px; height: 150px; margin: 22px 0 22px 26px; display: grid; place-items: center; }
.g-ring { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(var(--gold) calc(var(--g, 72) * 1%), rgba(255, 255, 255, .1) 0); -webkit-mask: radial-gradient(circle, transparent 60%, #000 61%); mask: radial-gradient(circle, transparent 60%, #000 61%); filter: drop-shadow(0 0 10px rgba(255, 197, 61, .45)); }
.g-val { position: relative; font: 800 2rem/1 var(--display); text-align: center; }
.g-val small { display: block; font-size: .8rem; color: #c3cee8; margin-top: 4px; }
.sv-ev { grid-column: 7 / 10; grid-row: 2; }
.sv-panel { grid-column: 10 / 13; grid-row: 2; }
.sv-roof { grid-column: 1 / 8; grid-row: 3; flex-direction: row; }
.sv-roof img { width: 46%; flex: none; }
.sv-roof .sv-body { align-self: center; }
.sv-care { grid-column: 8 / 13; grid-row: 3; }
.sv-ic { width: 44px; height: 44px; margin: 24px 26px 0; fill: var(--gold-2); }
.sv-care { background: var(--gold); color: #0d1b3e; }
.sv-care p, .sv-care .sv-when { color: #3b3410; }
.sv-care .sv-ic, .sv-care .sv-when .ic { fill: #0d1b3e; color: #0d1b3e; }

/* ======================= ESTIMATOR ======================= */
.estimate { padding: clamp(64px, 8vw, 110px) 0; }
.es-head h2 { max-width: 15ch; }
.es-head p { margin-top: 18px; max-width: 58ch; font-size: 1.12rem; color: var(--ink-2); }
.es-tool {
  margin-top: 42px; display: grid; grid-template-columns: minmax(0, 1.42fr) minmax(0, 1fr); gap: 0;
  border-radius: var(--r-big); background: #ffffff; color: #0d1b3e; overflow: hidden; border: 1px solid rgba(13, 27, 62, .08);
}
.es-roof { padding: 26px 28px 24px; background: linear-gradient(180deg, #eef4fb, #f8fafd); }
.es-roof-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.es-count { font-size: 1rem; color: #33436a; }
.es-count strong { font-size: 1.3rem; color: #0d1b3e; }
.es-roof-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.roof { position: relative; aspect-ratio: 760 / 540; width: 100%; color: #0d1b3e; user-select: none; -webkit-user-select: none; }
.roof-art { position: absolute; inset: 0; width: 100%; height: 100%; }
.face { stroke: rgba(13, 27, 62, .3); stroke-width: 1.5; }
.face-s, .face-w { fill: #d9e2ee; }
.face-n, .face-e { fill: #e6ebf2; }
.face-hatch { pointer-events: none; }
.ridge { stroke: rgba(13, 27, 62, .45); stroke-width: 2.5; stroke-linecap: round; }
.face-label { font: 700 17px var(--display); fill: #4a5a80; }
.face-sub { font: 500 13px var(--font); fill: #5b6a8e; }
.roof-sunpath { fill: none; stroke: #f0a019; stroke-width: 2; stroke-dasharray: 4 6; opacity: .7; }
.compass circle { fill: #fff; stroke: rgba(13, 27, 62, .2); }
.compass path { fill: #0d1b3e; }
.compass text { font: 700 14px var(--display); fill: #0d1b3e; }
.roof-layer { position: absolute; inset: 0; }
.roof-tag { position: absolute; font: 700 .82rem var(--display); color: #0d1b3e; background: #fff; padding: 4px 10px; border-radius: 999px; box-shadow: 0 2px 8px rgba(13, 27, 62, .12); pointer-events: none; white-space: nowrap; }
.tag-s { left: 64%; top: 69%; transform: translate(-50%, 0); }
.tag-w { left: 2.5%; top: 92.5%; transform: translate(0, -50%); }
.slot {
  position: absolute; padding: 0; border: 1.5px dashed rgba(13, 27, 62, .32); border-radius: 4px; background: rgba(255, 255, 255, .45);
  transition: background-color .2s ease, border-color .2s ease, box-shadow .25s ease, transform .16s var(--ease);
  touch-action: none;
}
.slot::before { content: ""; position: absolute; inset: -5px; }
.slot:hover { background: rgba(255, 197, 61, .25); border-color: rgba(240, 160, 25, .8); }
.slot.hot { background: rgba(255, 197, 61, .45); border-color: #f0a019; border-style: solid; }
.slot.blocked { border: 0; background: repeating-linear-gradient(45deg, #b8c3d4 0 4px, #c8d1de 4px 8px); border-radius: 50%; cursor: not-allowed; }
.roof-note { margin-top: 10px; font-size: .9rem; color: #44547a; }
.slot.on, .tray-panel, .ghost {
  border: 1.5px solid #0a1430; border-radius: 3px;
  background:
    linear-gradient(transparent 0 0),
    repeating-linear-gradient(90deg, transparent 0 calc(100% / 6 - 1px), rgba(255, 210, 110, .45) calc(100% / 6 - 1px) calc(100% / 6)),
    repeating-linear-gradient(0deg, transparent 0 calc(100% / 3 - 1px), rgba(255, 210, 110, .45) calc(100% / 3 - 1px) calc(100% / 3)),
    linear-gradient(160deg, #23376f 0%, #13234f 55%, #0a1430 100%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .5), 0 0 14px rgba(255, 197, 61, .55);
}
.slot.v.on { background:
    repeating-linear-gradient(90deg, transparent 0 calc(100% / 3 - 1px), rgba(255, 210, 110, .45) calc(100% / 3 - 1px) calc(100% / 3)),
    repeating-linear-gradient(0deg, transparent 0 calc(100% / 6 - 1px), rgba(255, 210, 110, .45) calc(100% / 6 - 1px) calc(100% / 6)),
    linear-gradient(160deg, #23376f 0%, #13234f 55%, #0a1430 100%); }
.slot.on { cursor: grab; }
.slot.pop { animation: pop .34s var(--ease); }
@keyframes pop { 0% { transform: scale(.82); } 100% { transform: scale(1); } }
.ghost { position: fixed; left: 0; top: 0; z-index: var(--z-ghost); pointer-events: none; transform: translate(-50%, -50%) rotate(-4deg); opacity: .92; box-shadow: 0 18px 30px -10px rgba(10, 20, 48, .55), 0 0 18px rgba(255, 197, 61, .6); }
.tray { display: flex; align-items: center; gap: 18px; margin-top: 16px; padding: 12px 14px; border-radius: 16px; background: #fff; border: 1px dashed rgba(13, 27, 62, .2); }
.tray-stack { position: relative; width: 92px; height: 58px; flex: none; cursor: grab; touch-action: none; border-radius: 6px; }
.tray-stack:active { cursor: grabbing; }
.tray-panel { position: absolute; width: 84px; height: 50px; left: 0; top: 0; }
.tray-panel:nth-child(2) { left: 4px; top: 4px; } .tray-panel:nth-child(3) { left: 8px; top: 8px; }
.tray.empty .tray-stack { opacity: .35; cursor: not-allowed; }
.tray-txt { font-size: .95rem; color: #33436a; }
.tray-txt strong { color: #0d1b3e; }

.es-side { padding: 28px 28px 26px; display: flex; flex-direction: column; gap: 22px; border-left: 1px solid rgba(13, 27, 62, .08); }
.field { display: grid; gap: 8px; }
.field > label, .lbl { font-weight: 700; font-size: .98rem; }
.es-side .field > label { color: #0d1b3e; }
.bill-row { display: flex; align-items: center; gap: 14px; }
.bill-row input[type="range"] { --trk: #dbe3ee; }
.bill-num { display: flex; align-items: center; gap: 2px; padding: 0 12px; height: 46px; border-radius: var(--r-in); border: 1px solid rgba(13, 27, 62, .2); background: #fff; flex: none; }
.bill-num span { font-weight: 700; color: #33436a; }
.bill-num input { width: 4.2ch; border: 0; outline: 0; font: 600 1.15rem var(--mono); background: transparent; color: #0d1b3e; -moz-appearance: textfield; }
.bill-num:focus-within { outline: 3px solid var(--gold); outline-offset: 2px; }
.bill-num input::-webkit-inner-spin-button { display: none; }
.switch { display: flex; gap: 14px; align-items: flex-start; cursor: pointer; padding: 14px; border-radius: 16px; background: #f4f7fb; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch-ui { position: relative; width: 46px; height: 28px; border-radius: 999px; background: #c5cfdd; flex: none; transition: background-color .2s ease; margin-top: 2px; }
.switch-ui::after { content: ""; position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px rgba(10, 20, 48, .25); transition: transform .22s var(--ease); }
.switch input:checked + .switch-ui { background: var(--navy); }
.switch input:checked + .switch-ui::after { transform: translateX(18px); background: var(--gold); }
.switch input:focus-visible + .switch-ui { outline: 3px solid var(--gold); outline-offset: 2px; }
.switch strong { display: block; font-size: 1rem; }
.switch small { display: block; color: #44547a; font-size: .9rem; line-height: 1.45; margin-top: 2px; }
.es-out { display: grid; gap: 14px; }
.es-big { display: grid; gap: 2px; padding: 16px 18px; border-radius: 16px; background: linear-gradient(135deg, #13234f, #0a1430); color: #fff; position: relative; overflow: hidden; }
.es-big::after { content: ""; position: absolute; right: -40px; top: -60px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 197, 61, .5), transparent 65%); }
.es-k { font-size: .9rem; color: #c3cee8; }
.es-v { font: 800 clamp(2.4rem, 3.6vw, 3.1rem)/1.05 var(--display); letter-spacing: -0.02em; color: var(--gold); font-variant-numeric: tabular-nums; }
.es-v small { font-size: 1rem; color: #c3cee8; font-weight: 400; font-family: var(--font); }
.es-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; margin: 0; }
.es-grid dt { font-size: .84rem; color: #44547a; }
.es-grid dd { margin: 2px 0 0; font: 700 1.22rem/1.25 var(--display); letter-spacing: -0.01em; color: #0d1b3e; font-variant-numeric: tabular-nums; }
.es-price { grid-column: 1 / -1; padding-top: 10px; border-top: 1px solid rgba(13, 27, 62, .1); }
.es-msg { font-size: .95rem; color: #33436a; min-height: 3em; }
.es-assume { margin-top: 22px; padding: 18px 22px; border-radius: var(--r-card); background: var(--surface-2); border: 1px solid var(--line); }
.es-assume summary { display: flex; align-items: center; gap: 10px; font-weight: 700; cursor: pointer; list-style: none; }
.es-assume summary::-webkit-details-marker { display: none; }
.es-assume ul { margin: 12px 0 0; padding-left: 1.2em; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 44px; color: var(--ink-2); font-size: .96rem; }
.es-assume strong { color: var(--ink); font-weight: 700; }

/* ======================= WHY ======================= */
.why { padding: clamp(64px, 8vw, 110px) 0; }
.why-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.why-photo { margin: 0; border-radius: var(--r-big); overflow: hidden; aspect-ratio: 4 / 4.4; }
.why-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 38% 50%; }
.why h2 { max-width: 14ch; }
.promises { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 18px; }
.promises li { display: flex; gap: 14px; align-items: flex-start; color: var(--ink-2); font-size: 1.05rem; }
.promises strong { color: var(--ink); }
.promises .ic { width: 26px; height: 26px; color: var(--ink); margin-top: 1px; padding: 0; }
.crew { margin-top: clamp(48px, 6vw, 80px); display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .8fr) minmax(0, 1.1fr); gap: 18px; align-items: stretch; }
.crew figure { margin: 0; border-radius: var(--r-card); overflow: hidden; }
.crew img { width: 100%; height: 100%; object-fit: cover; }
.crew-a { min-height: 340px; }
.crew-b { margin-top: 48px; }
.quotes { display: grid; gap: 14px; align-content: start; }
.quotes-tag { font-size: .82rem; font-weight: 700; color: var(--ink-3); }
.quotes blockquote { margin: 0; padding: 16px 18px; border-radius: 16px; background: var(--surface); color: var(--on); }
.quotes blockquote p { font-size: 1rem; line-height: 1.5; }
.quotes cite { display: block; margin-top: 8px; font-style: normal; font-size: .88rem; font-weight: 700; color: var(--on-2); }

/* ======================= HOW ======================= */
.how { padding: clamp(64px, 8vw, 110px) 0; }
.how-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); }
.how-sticky { position: sticky; top: calc(var(--nav-h) + 28px); }
.how-video { margin: 0; border-radius: var(--r-big); overflow: hidden; aspect-ratio: 4 / 4.6; background: #13234f; }
.how-video video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.how-meter { margin-top: 16px; height: 4px; border-radius: 999px; background: var(--line); overflow: hidden; }
.how-meter span { display: block; height: 100%; width: 20%; border-radius: inherit; background: var(--gold-2); transition: width .5s var(--ease); }
.how h2 { max-width: 13ch; }
.how-lede { margin-top: 18px; color: var(--ink-2); font-size: 1.1rem; max-width: 46ch; }
.steps { list-style: none; padding: 0; margin: 40px 0 0; }
.step { padding: 26px 0 34px; min-height: 34vh; opacity: .5; transition: opacity .45s ease; }
.step.on { opacity: 1; }
.step + .step { border-top: 1px solid var(--line); }
.step-when { display: inline-block; font-size: .84rem; color: var(--ink-2); padding: 4px 10px; border-radius: 999px; background: var(--chip); }
.step.on .step-when { background: var(--gold); color: #0d1b3e; }
.step h3 { font-size: clamp(1.45rem, 2.2vw, 1.9rem); letter-spacing: -0.02em; margin-top: 14px; }
.step p { margin-top: 10px; color: var(--ink-2); max-width: 44ch; }

/* ======================= COST ======================= */
.cost { padding: clamp(64px, 8vw, 110px) 0; }
.cost h2 { max-width: 14ch; }
.cost-lede { margin-top: 18px; max-width: 58ch; color: var(--ink-2); font-size: 1.1rem; }
.price-rows { margin-top: 40px; display: grid; gap: 14px; }
.price { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) minmax(0, 1.35fr); align-items: center; gap: 28px; padding: 26px 30px; border-radius: var(--r-card); background: var(--surface); color: var(--on); }
.price-name { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.price-name .ic { width: 30px; height: 30px; color: var(--gold-2); }
.price-name h3 { font-size: 1.4rem; }
.price-tag { font-size: .78rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: #0d1b3e; color: var(--gold); }
.price-range { font-size: clamp(1.7rem, 2.6vw, 2.3rem); font-weight: 600; letter-spacing: -0.02em; }
.price-range span { font-family: var(--font); font-size: 1rem; color: var(--on-2); font-weight: 400; padding: 0 .2em; }
.price-what { color: var(--on-2); }
.price-hi { background: linear-gradient(120deg, #ffd666, #ffc53d 60%, #f7b02a); color: #0d1b3e; }
.price-hi .price-what, .price-hi .price-range span { color: #3b3410; }
.price-hi .price-name .ic { color: #0d1b3e; }
.cost-extra { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 14px 36px; }
.cost-extra p { display: flex; align-items: center; gap: 10px; color: var(--ink-2); }
.cost-extra strong { color: var(--ink); margin-right: 6px; }
.cost-extra .ic { width: 22px; height: 22px; color: var(--ink); }

/* ======================= AREA ======================= */
.area { padding: clamp(32px, 5vw, 64px) 0 clamp(48px, 6vw, 80px); }
.area-band { position: relative; margin: 0 14px; height: min(72vh, 680px); min-height: 420px; border-radius: var(--r-big); overflow: hidden; background: #2a2a5e; }
.area-band video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.area-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 20, 48, 0) 35%, rgba(10, 20, 48, .78) 100%), linear-gradient(90deg, rgba(255, 140, 60, .18), transparent 60%); }
.area-copy { position: absolute; left: clamp(22px, 4vw, 56px); bottom: clamp(22px, 4vw, 52px); right: 22px; z-index: 1; color: #fff; max-width: 640px; }
.area-copy h2 { font-size: clamp(2.1rem, 4.4vw, 4rem); line-height: 1.02; letter-spacing: -0.028em; }
.area-copy p { margin-top: 14px; font-size: 1.1rem; color: #e8edf8; max-width: 46ch; }
.towns { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.towns li { padding: 9px 16px; border-radius: 999px; background: rgba(255, 255, 255, .55); border: 1px solid rgba(13, 27, 62, .1); font-weight: 600; font-size: .95rem; }
html.sky-night .towns li { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .28); }

/* ======================= FAQ ======================= */
.faq { padding: clamp(56px, 7vw, 100px) 0; }
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.3fr); gap: clamp(32px, 6vw, 90px); align-items: start; }
.faq-side { position: sticky; top: calc(var(--nav-h) + 32px); }
.faq-side h2 { font-size: clamp(2.1rem, 3.8vw, 3.5rem); letter-spacing: -0.026em; line-height: 1.04; }
.faq-side p { margin-top: 18px; color: var(--ink-2); max-width: 34ch; }
.faq-side a { color: var(--gold); font-weight: 700; text-decoration: none; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 0; cursor: pointer; list-style: none; font-family: var(--display); font-weight: 700; font-size: 1.24rem; line-height: 1.3; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .ic { width: 22px; height: 22px; transition: transform .25s var(--ease); flex: none; color: var(--gold); }
.faq-list details[open] summary .ic { transform: rotate(180deg); }
.faq-list details > div { padding: 0 0 22px; color: var(--ink-2); max-width: 62ch; }

/* ======================= BOOKING ======================= */
.book { padding: clamp(64px, 8vw, 110px) 0; }
.book-grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.25fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.book-side { position: sticky; top: calc(var(--nav-h) + 32px); }
.book-side h2 { font-size: clamp(2.1rem, 3.6vw, 3.3rem); line-height: 1.04; letter-spacing: -0.026em; max-width: 13ch; }
.book-side > p { margin-top: 18px; color: var(--ink-2); max-width: 40ch; }
.book-facts { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.book-facts li { display: flex; gap: 12px; align-items: center; color: var(--ink-2); }
.book-facts .ic { width: 22px; height: 22px; color: var(--gold); }
.book-facts a { color: var(--ink); font-weight: 700; }
.sim-note { margin-top: 26px; display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--ink-2); padding: 12px 14px; border-radius: 14px; background: var(--chip); }
.sim-note .ic { width: 20px; height: 20px; color: var(--gold); margin-top: 1px; }

.bk { position: relative; border-radius: var(--r-big); background: linear-gradient(180deg, #172a5e 0%, #101e48 100%); color: #eef3fb; padding: 22px 30px 26px; border: 1px solid rgba(255, 255, 255, .1); }
.bk-progress { position: relative; width: min(300px, 80%); margin: 0 auto; }
.bk-progress svg { width: 100%; height: auto; overflow: visible; }
.bk-arc, .bk-arc-done { fill: none; stroke-width: 2; stroke-linecap: round; }
.bk-arc { stroke: rgba(255, 255, 255, .18); stroke-dasharray: 3 6; }
.bk-arc-done { stroke: var(--gold); transition: stroke-dashoffset .6s var(--ease); }
.bk-sun { position: absolute; left: 0; top: 0; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: radial-gradient(circle at 40% 38%, #fffbe8, #ffd25a 55%, #f0a019); box-shadow: 0 0 18px 4px rgba(255, 197, 61, .6); transition: transform .6s var(--ease); }
.bk-steps { list-style: none; padding: 0; margin: 4px 0 22px; display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; font-size: .86rem; color: #9fadcf; font-weight: 600; }
.bk-steps li.on { color: #fff; }
.bk-steps li.ok { color: var(--gold); }
.bk-step { border: 0; padding: 0; margin: 0; display: none; gap: 20px; }
.bk-step.on { display: grid; }
@media (prefers-reduced-motion: no-preference) { .bk-step.on { animation: stepIn .4s var(--ease); } }
@keyframes stepIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.bk .lbl { color: #fff; }
.bk .lbl small { font-weight: 500; color: #9fadcf; margin-left: 6px; }
.bk input[type="text"], .bk input[type="tel"], .bk input[type="email"], .bk input:not([type]), .bk input[type="number"] {
  width: 100%; height: 50px; padding: 0 14px; border-radius: var(--r-in); border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .06); color: #fff; font-size: 1.02rem; transition: border-color .2s ease, background-color .2s ease;
}
.bk input::placeholder { color: #8e9cbf; }
.bk input:focus { outline: 0; border-color: var(--gold); background: rgba(255, 255, 255, .1); box-shadow: 0 0 0 3px rgba(255, 197, 61, .25); }
.bk .invalid input, .bk input.invalid { border-color: #ff8f7a; }
.err { color: #ffb4a3; font-size: .9rem; min-height: 0; }
.err:empty { display: none; }
.hint { color: #c3cee8; font-size: .92rem; }
.field-zip { max-width: 220px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.seg label, .chips label { position: relative; cursor: pointer; }
.seg input, .chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg span { display: flex; align-items: center; justify-content: center; gap: 10px; height: 54px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .2); font-weight: 700; transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .16s var(--ease); }
.seg .ic { width: 22px; height: 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2); font-weight: 600; font-size: .95rem; transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .16s var(--ease); }
.seg input:checked + span, .chips input:checked + span { background: var(--gold); border-color: var(--gold); color: #0d1b3e; }
.seg input:focus-visible + span, .chips input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.seg label:active span, .chips label:active span { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .seg label:hover span, .chips label:hover span { border-color: rgba(255, 255, 255, .5); } }
.money { display: flex; align-items: center; gap: 6px; max-width: 200px; }
.money span { font-weight: 700; font-size: 1.1rem; color: #c3cee8; }
.money input { font-family: var(--mono) !important; }
.drop { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 16px; border: 1.5px dashed rgba(255, 255, 255, .3); cursor: pointer; transition: border-color .2s ease, background-color .2s ease; }
.drop:hover, .drop.over { border-color: var(--gold); background: rgba(255, 197, 61, .08); }
.drop:focus-within { outline: 3px solid var(--gold); outline-offset: 2px; }
.drop .ic { width: 34px; height: 34px; color: var(--gold); }
.drop strong { display: block; }
.drop small { display: block; color: #b8c4e2; font-size: .88rem; margin-top: 2px; }
.preview { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 16px; background: rgba(255, 255, 255, .06); }
.preview[hidden] { display: none; }
.preview-thumb { width: 64px; height: 80px; border-radius: 8px; overflow: hidden; background: #fff; display: grid; place-items: center; flex: none; color: #13234f; }
.preview-thumb img { width: 100%; height: 100%; object-fit: cover; }
.preview-thumb .ic { width: 30px; height: 30px; }
.preview-meta { display: grid; gap: 2px; min-width: 0; flex: 1; }
.preview-meta strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.preview-meta small { color: #b8c4e2; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .1); display: grid; place-items: center; flex: none; }
.icon-btn .ic { width: 20px; height: 20px; }
.days { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 10px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.day { scroll-snap-align: start; flex: none; width: 92px; padding: 10px 8px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, .18); background: transparent; display: grid; justify-items: center; gap: 2px; transition: background-color .2s ease, border-color .2s ease, transform .16s var(--ease); }
.day:active { transform: scale(.97); }
.day b { font-size: .8rem; font-weight: 700; color: #b8c4e2; }
.day strong { font-family: var(--display); font-size: 1.5rem; line-height: 1.1; }
.day small { font-size: .74rem; color: #b8c4e2; white-space: nowrap; }
.day[aria-checked="true"] { background: var(--gold); border-color: var(--gold); color: #0d1b3e; }
.day[aria-checked="true"] b, .day[aria-checked="true"] small { color: #3b3410; }
@media (hover: hover) and (pointer: fine) { .day:hover { border-color: rgba(255, 255, 255, .5); } }
.arc-pick { position: relative; aspect-ratio: 400 / 190; width: 100%; max-width: 560px; }
.arc-svg { position: absolute; inset: 0 0 auto 0; width: 100%; height: auto; overflow: visible; }
.arc-svg path { fill: none; stroke: rgba(255, 255, 255, .22); stroke-width: 2; stroke-dasharray: 4 7; }
.arc-svg line { stroke: rgba(255, 255, 255, .25); }
.arc-sun { position: absolute; left: 50%; top: 100%; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; background: radial-gradient(circle at 40% 38%, #fffbe8, #ffd25a 55%, #f0a019); box-shadow: 0 0 30px 8px rgba(255, 197, 61, .5); opacity: 0; transition: left .6s var(--ease), top .6s var(--ease), opacity .3s ease; }
.arc-pick.picked .arc-sun { opacity: 1; }
.arc-pick.compact { aspect-ratio: auto; }
.slots { position: absolute; inset: 0; }
.tslot { position: absolute; transform: translate(-50%, -50%); min-width: 104px; min-height: 44px; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .25); background: #172a5e; color: #fff; font: 600 .95rem var(--mono); display: grid; justify-items: center; line-height: 1.15; transition: background-color .2s ease, border-color .2s ease, transform .16s var(--ease); }
.tslot small { font: 500 .7rem var(--font); color: #b8c4e2; }
.tslot:active { transform: translate(-50%, -50%) scale(.96); }
.tslot[aria-checked="true"] { background: var(--gold); border-color: var(--gold); color: #0d1b3e; }
.tslot[aria-checked="true"] small { color: #3b3410; }
.tslot:disabled { opacity: .45; cursor: not-allowed; text-decoration: line-through; }
@media (hover: hover) and (pointer: fine) { .tslot:not(:disabled):hover { border-color: var(--gold); } }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.check { display: flex; gap: 10px; align-items: center; cursor: pointer; font-size: .96rem; color: #dbe3f5; }
.check input { width: 20px; height: 20px; accent-color: var(--gold); }
.review { display: grid; gap: 6px; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .06); font-size: .94rem; color: #c3cee8; }
.review:empty { display: none; }
.review b { color: #fff; font-weight: 700; }
.bk-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 26px; }
.bk-nav #bkNext { margin-left: auto; }
.bk-sim { margin-top: 14px; display: flex; gap: 8px; align-items: center; justify-content: center; font-size: .84rem; color: #9fadcf; }
.bk-sim .ic { width: 16px; height: 16px; }
.done[hidden] { display: none; }
.done { display: grid; gap: 18px; outline: 0; }
@media (prefers-reduced-motion: no-preference) { .done:not([hidden]) { animation: stepIn .5s var(--ease); } }
.done-head { display: flex; gap: 16px; align-items: center; }
.done-sun { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 40% 38%, #fffbe8, #ffd25a 55%, #f0a019); color: #13234f; box-shadow: 0 0 40px 8px rgba(255, 197, 61, .45); flex: none; }
.done-sun .ic { width: 34px; height: 34px; }
.done-head h3 { font-size: 1.7rem; }
.done-head p { color: #c3cee8; }
.done-head strong { color: var(--gold); }
.done-dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; padding: 16px 18px; border-radius: 16px; background: rgba(255, 255, 255, .06); }
.done-dl dt { color: #9fadcf; font-size: .9rem; }
.done-dl dd { margin: 0; font-weight: 600; }
.done-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.done-note { font-size: .9rem; color: #9fadcf; }
.msgs { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 14px; align-items: start; }
.sms { padding: 14px; border-radius: 18px; background: #0b1636; }
.sms-from, .mail-from { display: flex; gap: 8px; align-items: center; font-size: .8rem; color: #9fadcf; margin-bottom: 10px; }
.sms-from .ic, .mail-from .ic { width: 16px; height: 16px; }
.sms-b { background: #e9edf5; color: #0d1b3e; padding: 12px 14px; border-radius: 18px 18px 18px 6px; font-size: .92rem; line-height: 1.45; }
.mail { padding: 14px; border-radius: 18px; background: #0b1636; min-width: 0; }
.mail-card { border-radius: 14px; overflow: hidden; background: #fff; color: #0d1b3e; }
.mail-top { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: linear-gradient(120deg, #13234f, #0a1430); color: #fff; font: 800 1rem var(--display); }
.mail-top .brand-mark { width: 30px; height: 30px; }
.mail-top .brand-mark .ic { width: 18px; height: 18px; }
.mail-body { padding: 16px; font-size: .9rem; line-height: 1.5; }
.mail-body h4 { margin: 0 0 6px; font: 800 1.15rem var(--display); }
.mail-body p + p { margin-top: 8px; }
.mail-body .mrow { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid #e3e8f1; }
.mail-body .mrow span:first-child { color: #44547a; }
.mail-body .mbtn { display: inline-block; margin-top: 12px; padding: 9px 16px; border-radius: 999px; background: #ffc53d; color: #0d1b3e; font-weight: 700; text-decoration: none; }

/* ======================= FINAL + FOOTER ======================= */
.final { padding: clamp(110px, 14vw, 200px) 0 clamp(90px, 11vw, 150px); text-align: center; }
.final-in { display: grid; justify-items: center; }
.final h2 { font-size: clamp(2.6rem, 6vw, 5.4rem); line-height: 1; letter-spacing: -0.032em; max-width: 12ch; }
.final p { margin-top: 20px; font-size: 1.2rem; color: var(--ink-2); max-width: 40ch; }
.final-ctas { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 32px; }
.foot { padding: 60px 0 40px; border-top: 1px solid var(--line); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.foot h3 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; color: var(--ink); }
.foot p { color: var(--ink-2); font-size: .96rem; }
.foot-brand p { margin-top: 14px; max-width: 30ch; }
.foot a { color: var(--ink); }
.foot-base { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: .88rem; }
.foot-base p { color: var(--ink-3); font-size: .88rem; }
.foot-own { color: var(--ink-2) !important; }

/* ======================= RESPONSIVE ======================= */
@media (max-width: 1180px) {
  .nav-links { display: none; }
  .nav-phone { margin-left: auto; }
  .hud { grid-template-columns: auto minmax(0, 1fr); }
  .hud-stats { grid-column: 1 / -1; grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 1000px) {
  .hero-win { grid-template-columns: 1fr; grid-template-rows: auto auto auto; min-height: 0; }
  .hero-copy { grid-row: 1; padding: 40px 28px 6px; }
  .hero h1 { max-width: 12ch; }
  .hero-sub { max-width: 40ch; }
  .hero-stage { grid-column: 1; grid-row: 2; min-height: 0; height: clamp(320px, 62vw, 520px); }
  .hud { grid-row: 3; }
  .sv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sv-panels { grid-column: 1 / -1; grid-row: auto; }
  .sv-panels img { max-height: 420px; }
  .sv-battery { grid-column: 1 / -1; grid-row: auto; }
  .sv-ev, .sv-panel { grid-column: auto; grid-row: auto; }
  .sv-roof { grid-column: 1 / -1; grid-row: auto; }
  .sv-care { grid-column: 1 / -1; grid-row: auto; }
  .es-tool { grid-template-columns: 1fr; }
  .es-side { border-left: 0; border-top: 1px solid rgba(13, 27, 62, .08); }
  .why-grid { grid-template-columns: 1fr; }
  .why-photo { aspect-ratio: 16 / 11; }
  .crew { grid-template-columns: 1fr 1fr; }
  .quotes { grid-column: 1 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .quotes-tag { grid-column: 1 / -1; }
  .crew-b { margin-top: 0; }
  .how-grid { grid-template-columns: 1fr; }
  .how-media { order: 2; }
  .how-sticky { position: relative; top: 0; }
  .how-video { aspect-ratio: 16 / 10; }
  .how-meter { display: none; }
  .step { min-height: 0; opacity: 1; }
  .price { grid-template-columns: 1fr 1fr; }
  .price-what { grid-column: 1 / -1; }
  .faq-grid, .book-grid { grid-template-columns: 1fr; }
  .faq-side, .book-side { position: static; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  :root { --nav-h: 62px; }
  .wrap { width: calc(100% - 32px); }
  .nav-in { gap: 10px; width: calc(100% - 24px); }
  .nav-phone, .nav-cta { display: none; }
  .nav-menu { display: block; margin-left: auto; }
  .brand { font-size: 1.08rem; gap: 8px; }
  .brand-mark { width: 34px; height: 34px; }
  .brand-name span { display: none; }
  .dial { padding: 5px 10px 5px 6px; gap: 6px; }
  .dial-arc { width: 34px; height: 19px; }
  .dial-time { font-size: .8rem; min-width: 5.2em; }
  .hero { padding: calc(var(--nav-h) + 2px) 8px 0; }
  .hero-win { border-radius: 22px; }
  .hero-copy { padding: 30px 20px 0; }
  .hero h1 { font-size: clamp(2.6rem, 12.4vw, 3.6rem); }
  .hero-sub { margin-top: 16px; font-size: 1.04rem; }
  .hero-ctas { margin-top: 22px; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .hero-stage { height: 340px; }
  .stage-hint { display: none; }
  .hud { grid-template-columns: 1fr; gap: 12px; margin: 0 8px 8px; padding: 12px; border-radius: 18px; }
  .hud-clock { min-width: 0; }
  .hud-stats { grid-template-columns: 1fr 1fr; gap: 10px 14px; }
  .hud-ticks span:nth-child(2n) { visibility: hidden; }
  .hero-note { padding: 0 12px; font-size: .84rem; }
  .mismatch { padding-top: 84px; }
  .mm-chart { padding: 10px 8px 10px; margin-top: 32px; }
  .mm-chart svg { min-height: 0; }
  .mm-notes { grid-template-columns: 1fr; gap: 16px; }
  .es-assume ul { grid-template-columns: 1fr; }
  .sv-grid { grid-template-columns: 1fr; gap: 14px; }
  .sv-roof { flex-direction: column; }
  .sv-roof img { width: 100%; height: 220px; }
  .sv-battery { flex-direction: column; align-items: flex-start; }
  .sv-gauge { width: 120px; height: 120px; margin: 24px 0 0 24px; }
  .sv-body { padding: 20px 20px 22px; }
  .es-roof { padding: 18px 14px 16px; }
  .es-side { padding: 22px 18px; }
  .tray { gap: 12px; }
  .face-label { font-size: 22px; } .face-sub { font-size: 17px; }
  .crew { grid-template-columns: 1fr; }
  .crew-a { min-height: 240px; }
  .crew-b { display: none; }
  .quotes { grid-template-columns: 1fr; }
  .price { grid-template-columns: 1fr; gap: 10px; padding: 22px 20px; }
  .area-band { margin: 0 8px; height: 70vh; max-height: 560px; }
  .faq-list summary { font-size: 1.1rem; }
  .bk { padding: 18px 16px 20px; border-radius: 22px; }
  .bk-steps { font-size: .76rem; }
  .row2 { grid-template-columns: 1fr; }
  .msgs { grid-template-columns: 1fr; }
  .tslot { min-width: 88px; font-size: .86rem; padding: 4px 8px; }
  .foot-grid { grid-template-columns: 1fr; gap: 26px; }
}
@media (max-width: 380px) {
  .dial { display: none; }
}

/* reduced motion: keep fades, drop movement */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  .bk-sun, .arc-sun, .how-meter span { transition-duration: .2s; }
}
html.shot *, html.shot *::before, html.shot *::after { transition: none !important; animation: none !important; }
