/* ============================================================
   SOLSTEAD — engineered daylight
   Palette: sky-paper light base · silicon PV blue · sun gold · busbar copper
   Type: Unbounded (display) · Instrument Sans (body) · IBM Plex Mono (data)
   ============================================================ */

:root {
  --sky:      #EAF2F6;   /* pale cool sky */
  --paper:    #FDFDFB;
  --silicon:  #101B3C;   /* deep PV-cell blue */
  --cell:     #24408E;   /* mid cell blue */
  --gold:     #F6B51E;   /* sun — reserved for daylight visuals */
  --amber:    #E88B1B;
  --copper:   #B4642D;   /* busbar wiring */
  --green:        #43B02A;   /* Doc's Electrical brand green */
  --green-bright: #58CC3C;
  --green-dark:   #2F7F22;
  --ink:      #14213D;
  --muted:    #5A6B85;
  --line:     #D5E0E8;

  --font-display: "Unbounded", system-ui, sans-serif;
  --font-body: "Instrument Sans", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;

  --max: 1160px;
  --r: 14px;
  --shadow: 0 20px 50px -18px rgba(16, 27, 60, .25);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background-color: var(--paper);
  /* engineering grid — color glows live in .ambience and shift with scroll */
  background-image:
    linear-gradient(rgba(16, 27, 60, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 27, 60, .04) 1px, transparent 1px);
  background-size: 44px 44px, 44px 44px;
  background-attachment: fixed;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ---------- scroll-driven ambient color scheme ---------- */
.ambience {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.amb {
  position: absolute;
  inset: 0;
  opacity: 0;
  will-change: opacity;
}
.amb-green {
  opacity: 1;
  background:
    radial-gradient(760px 540px at 86% 12%, rgba(67, 176, 42, .13), transparent 70%),
    radial-gradient(860px 620px at 6% 82%, rgba(36, 64, 142, .10), transparent 70%),
    linear-gradient(180deg, rgba(67, 176, 42, .05), transparent 45%);
}
.amb-gold {
  background:
    radial-gradient(760px 540px at 84% 14%, rgba(246, 181, 30, .16), transparent 70%),
    radial-gradient(860px 620px at 8% 80%, rgba(67, 176, 42, .10), transparent 70%),
    linear-gradient(180deg, rgba(246, 181, 30, .06), transparent 45%);
}
.amb-blue {
  background:
    radial-gradient(760px 540px at 82% 16%, rgba(46, 95, 163, .17), transparent 70%),
    radial-gradient(860px 620px at 10% 82%, rgba(246, 181, 30, .09), transparent 70%),
    linear-gradient(180deg, rgba(46, 95, 163, .06), transparent 45%);
}
.amb-dusk {
  background:
    radial-gradient(760px 540px at 80% 14%, rgba(105, 62, 138, .20), transparent 70%),
    radial-gradient(860px 620px at 10% 84%, rgba(232, 139, 27, .13), transparent 70%),
    linear-gradient(180deg, rgba(85, 51, 110, .08), transparent 50%);
}

/* page content sits above the ambience layer */
main, .nav, .footer { position: relative; z-index: 1; }

.mono { font-family: var(--font-mono); }

h1, h2 {
  font-family: var(--font-display);
  line-height: 1.08;
  letter-spacing: -0.01em;
  font-weight: 600;
}
h1 { font-size: clamp(2.2rem, 5.2vw, 3.9rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.25rem; font-weight: 600; }

a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .85rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:active { transform: scale(.97); }
.btn-gold {
  background: var(--green);
  color: #fff;
  box-shadow: 0 8px 24px -8px rgba(47, 127, 34, .65);
}
.btn-gold:hover { background: var(--green-bright); transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(47,127,34,.75); }
.btn-ghost {
  background: rgba(255,255,255,.14);
  color: #fff;
  border: 1px solid rgba(255,255,255,.5);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: rgba(255,255,255,.26); transform: translateY(-2px); }
.btn-line {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}
.btn-line:hover { border-color: var(--cell); color: var(--cell); transform: translateY(-2px); }
.btn-full { width: 100%; }

/* ---------- scroll-linked power meter ---------- */
.power-line {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  z-index: 80;
  background: linear-gradient(90deg, var(--green-dark), var(--green), var(--green-bright));
  pointer-events: none;
}
.power-tip {
  position: absolute;
  right: -2px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: var(--green-bright);
  box-shadow: 0 0 12px 3px rgba(88, 204, 60, .8);
}

/* ---------- scroll sparks canvas ---------- */
.sparks {
  position: fixed;
  inset: 0;
  z-index: 45;
  pointer-events: none;
}

/* ---------- headline word reveal ---------- */
.section-head h2 .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: .14em;
  margin-bottom: -.14em;
}
.section-head h2 .w i {
  display: inline-block;
  font-style: normal;
  transform: translateY(115%);
  transition: transform .75s cubic-bezier(.2, .7, .2, 1);
  transition-delay: calc(var(--wi) * 70ms);
}
.section-head.in h2 .w i { transform: none; }

/* ---------- nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
  padding: 18px 0;
}
.nav.scrolled {
  background: rgba(253, 253, 251, .88);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line), 0 8px 30px -20px rgba(16,27,60,.3);
  padding: 10px 0;
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  color: #fff;
  transition: color .3s ease;
}
.nav.scrolled .logo { color: var(--ink); }
.logo-mark { width: 26px; height: 26px; }
.nav-links {
  display: flex;
  gap: 1.6rem;
  margin-left: auto;
}
.nav-links a {
  text-decoration: none;
  font-weight: 500;
  font-size: .95rem;
  color: rgba(255,255,255,.85);
  transition: color .3s ease;
  position: relative;
}
.nav.scrolled .nav-links a { color: var(--muted); }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -4px;
  height: 2px;
  background: var(--green);
  transition: right .25s ease;
}
.nav-links a:hover::after { right: 0; }
.nav-links a:hover { color: #fff; }
.nav.scrolled .nav-links a:hover { color: var(--ink); }
.nav-cta { padding: .6rem 1.2rem; font-size: .88rem; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}
.sky {
  position: absolute;
  inset: 0;
  transition: opacity .25s linear;
}
.sky-dawn {
  background: linear-gradient(180deg, #2A2450 0%, #7A4A78 45%, #E88B1B 82%, #F6B51E 100%);
  opacity: 0;
}
.sky-noon {
  background: linear-gradient(180deg, #2E5FA3 0%, #5B8FCB 55%, #A8CBE8 88%, #D8E9F4 100%);
  opacity: 1;
}
.sky-dusk {
  background: linear-gradient(180deg, #1A1740 0%, #55336E 50%, #C4562B 84%, #E88B1B 100%);
  opacity: 0;
}
.stars {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 18%, rgba(255,255,255,.9) 40%, transparent 60%),
    radial-gradient(1px 1px at 34% 8%, rgba(255,255,255,.8) 40%, transparent 60%),
    radial-gradient(1.5px 1.5px at 58% 22%, rgba(255,255,255,.75) 40%, transparent 60%),
    radial-gradient(1px 1px at 76% 12%, rgba(255,255,255,.85) 40%, transparent 60%),
    radial-gradient(1.5px 1.5px at 90% 28%, rgba(255,255,255,.7) 40%, transparent 60%),
    radial-gradient(1px 1px at 22% 34%, rgba(255,255,255,.6) 40%, transparent 60%);
  opacity: 0;
  transition: opacity .25s linear;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  padding: 120px 24px 60px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 3rem;
  align-items: center;
  width: 100%;
}
.eyebrow {
  font-size: .72rem;
  letter-spacing: .14em;
  color: var(--copper);
  margin-bottom: 1rem;
}
.hero .eyebrow { color: rgba(255,255,255,.75); }
.eyebrow.gold { color: var(--green-bright); }
.h1-accent { color: var(--green-bright); }
.hero-sub {
  margin: 1.3rem 0 2rem;
  font-size: 1.1rem;
  max-width: 42ch;
  color: rgba(255,255,255,.88);
}
.hero-ctas { display: flex; gap: .9rem; flex-wrap: wrap; }

/* hero entrance */
.hero-copy > * {
  opacity: 0;
  transform: translateY(22px);
  animation: rise .8s cubic-bezier(.2,.7,.2,1) forwards;
}
.hero-copy > *:nth-child(1) { animation-delay: .15s; }
.hero-copy > *:nth-child(2) { animation-delay: .28s; }
.hero-copy > *:nth-child(3) { animation-delay: .42s; }
.hero-copy > *:nth-child(4) { animation-delay: .55s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- sun scene (signature) ---------- */
.sun-scene {
  position: relative;
  height: 420px;
  user-select: none;
  touch-action: none;
  opacity: 0;
  animation: rise .9s cubic-bezier(.2,.7,.2,1) .5s forwards;
}
.arc-svg {
  position: absolute;
  inset: 0 0 110px 0;
  width: 100%;
  height: calc(100% - 110px);
}
.house-svg {
  position: absolute;
  left: 0; right: 0; bottom: 40px;
  width: 100%;
}
.sun {
  position: absolute;
  width: 64px;
  height: 64px;
  margin: -32px 0 0 -32px;
  cursor: grab;
  z-index: 3;
  display: grid;
  place-items: center;
  border-radius: 50%;
}
.sun:active { cursor: grabbing; }
.sun-core {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #FFE9A8, var(--gold) 55%, var(--amber));
  box-shadow:
    0 0 24px 6px rgba(246, 181, 30, .55),
    0 0 90px 30px rgba(246, 181, 30, .28);
  transition: transform .2s ease;
}
.sun:hover .sun-core, .sun:focus-visible .sun-core { transform: scale(1.12); }
.readout {
  position: absolute;
  right: 6px;
  bottom: 0;
  background: rgba(10, 16, 40, .72);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 12px;
  padding: 14px 18px;
  min-width: 200px;
  font-size: .8rem;
  color: rgba(255,255,255,.9);
}
.readout-row {
  display: flex;
  justify-content: space-between;
  gap: 1.4rem;
  padding: 2px 0;
}
.readout-big { font-size: 1rem; }
.readout-big b { color: var(--gold); font-size: 1.35rem; }
.readout-label { color: rgba(255,255,255,.5); font-size: .68rem; letter-spacing: .1em; align-self: center; }
.readout-bar {
  height: 5px;
  border-radius: 3px;
  background: rgba(255,255,255,.15);
  margin: 8px 0 6px;
  overflow: hidden;
}
.readout-fill {
  height: 100%;
  width: 60%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--amber), var(--gold));
  transition: width .2s ease;
}
.readout-foot { font-size: .65rem; color: rgba(255,255,255,.45); }
.drag-hint {
  position: absolute;
  left: 10px;
  bottom: 4px;
  font-size: .72rem;
  letter-spacing: .12em;
  color: rgba(255,255,255,.65);
  animation: hintPulse 2.2s ease-in-out infinite;
}
@keyframes hintPulse { 0%,100% { opacity: .55; } 50% { opacity: 1; } }

/* ---------- panel showcase (scroll-driven spin) ---------- */
.showcase {
  position: relative;
  height: 340vh;
  background-color: var(--silicon);
  background-image:
    radial-gradient(900px 500px at 50% 42%, rgba(36, 64, 142, .55), transparent 70%),
    linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
  background-size: auto, 44px 44px, 44px 44px;
  color: #fff;
}
.showcase-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: grid;
  place-items: center;
  perspective: 1500px;
}
.sc-eyebrow {
  position: absolute;
  top: 92px;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  letter-spacing: .2em;
  white-space: nowrap;
}
.stage3d {
  position: relative;
  width: min(600px, 82vw);
  aspect-ratio: 1.9 / 1;
}
.panel-halo {
  position: absolute;
  inset: -22%;
  background: radial-gradient(closest-side, rgba(246,181,30,.32), transparent 72%);
  filter: blur(6px);
  opacity: .4;
}
.panel3d {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  will-change: transform;
}
.p3d-face {
  position: absolute;
  inset: 0;
  border-radius: 10px;
  backface-visibility: hidden;
  overflow: hidden;
}
.p3d-front {
  background: linear-gradient(145deg, #1A2C60, #101B3C);
  border: 3px solid #0E1834;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .8);
}
.p3d-front .panel-cells {
  position: absolute;
  inset: 5%;
  width: auto;
  height: auto;
}
.p3d-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.16) 46%, rgba(255,255,255,.05) 52%, transparent 65%);
  pointer-events: none;
}
.p3d-back {
  transform: rotateY(180deg);
  background: linear-gradient(145deg, #202B4E, #141D3C);
  border: 3px solid #0E1834;
  display: grid;
  place-items: center;
}
.p3d-rail {
  position: absolute;
  top: 12%;
  left: 6%;
  right: 6%;
  height: 9%;
  border-radius: 4px;
  background: linear-gradient(180deg, #39466E, #232E52);
}
.p3d-rail2 { top: auto; bottom: 12%; }
.p3d-jbox {
  padding: .5rem .9rem;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 6px;
  font-size: .6rem;
  letter-spacing: .14em;
  color: rgba(255,255,255,.65);
  background: #0E1834;
}
.sc-info {
  position: absolute;
  max-width: 300px;
  opacity: 0;
  will-change: transform, opacity;
}
.sc-info h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.25;
  margin-bottom: .7rem;
}
.sc-left { left: 5%; top: 50%; transform: translateY(-50%) translateY(var(--dy, 0px)); }
.sc-right { right: 5%; top: 50%; transform: translateY(-50%) translateY(var(--dy, 0px)); }
.sc-code { font-size: .7rem; letter-spacing: .16em; color: var(--green-bright); margin-bottom: .6rem; }
.sc-big {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 600;
  color: var(--green-bright);
  line-height: 1;
}
.sc-big small { font-size: .4em; color: rgba(255,255,255,.7); }
.sc-sub { color: rgba(255,255,255,.75); font-size: .95rem; margin-top: .5rem; }
.sc-spec { border-top-color: rgba(255,255,255,.2); font-size: .74rem; min-width: 290px; }
.sc-spec li { border-bottom-color: rgba(255,255,255,.14); gap: 1rem; }
.sc-spec b { text-align: right; white-space: nowrap; }
.sc-spec span { color: rgba(255,255,255,.5); }
.sc-final {
  left: 50%;
  bottom: 7%;
  transform: translateX(-50%) translateY(var(--dy, 0px));
  max-width: 520px;
  text-align: center;
}
.sc-ctas { display: flex; gap: .8rem; justify-content: center; margin-top: 1.2rem; flex-wrap: wrap; }
.sc-hint {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  font-size: .72rem;
  letter-spacing: .16em;
  color: rgba(255,255,255,.6);
  animation: hintPulse 2s ease-in-out infinite;
}
@media (max-width: 960px) {
  .stage3d { width: 88vw; }
  .sc-info { max-width: 250px; }
  .sc-left { top: 14%; left: 5%; transform: translateY(var(--dy, 0px)); }
  .sc-right { top: auto; bottom: 16%; right: 5%; transform: translateY(var(--dy, 0px)); }
  .sc-final { bottom: 5%; width: 92vw; }
  .sc-eyebrow { top: 80px; }
}

/* ---------- stats strip ---------- */
.strip {
  background: var(--silicon);
  color: #fff;
  border-top: 3px solid var(--green);
}
.strip-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 34px 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.stat { text-align: center; }
.stat b {
  display: block;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 600;
  color: var(--green-bright);
}
.stat span { font-size: .85rem; color: rgba(255,255,255,.65); }

/* ---------- sections ---------- */
.section {
  padding: 110px 24px;
  max-width: calc(var(--max) + 48px);
  margin: 0 auto;
}
.section-head { max-width: 640px; margin-bottom: 3.2rem; }
.section-sub { margin-top: 1.1rem; color: var(--muted); font-size: 1.05rem; }
.section.dark {
  max-width: none;
  background-color: var(--silicon);
  background-image:
    radial-gradient(900px 520px at 82% 0%, rgba(67, 176, 42, .12), transparent 65%),
    radial-gradient(700px 500px at 8% 100%, rgba(36, 64, 142, .35), transparent 70%),
    linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
  background-size: auto, auto, 44px 44px, 44px 44px;
  color: #fff;
}
.section.dark .section-sub { color: rgba(255,255,255,.7); }
.section.dark .section-head,
.section.dark .calc,
.section.dark .fine,
.section.dark .quote-grid {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}
.section.dark .section-head { margin-bottom: 3.2rem; }

/* ---------- panel cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  perspective: 1200px;
}
.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .8rem;
  transform-style: preserve-3d;
  transition: transform .15s ease, box-shadow .3s ease, border-color .3s ease;
  will-change: transform;
}
.card:hover { box-shadow: var(--shadow); border-color: transparent; }
.card.featured { border: 2px solid var(--green); }
.card-glow {
  position: absolute;
  inset: 0;
  border-radius: var(--r);
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(67,176,42,.16), transparent 65%);
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}
.card:hover .card-glow { opacity: 1; }
.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.card-code { font-size: .7rem; letter-spacing: .12em; color: var(--copper); }
.chip {
  font-size: .72rem;
  font-weight: 600;
  padding: .25rem .7rem;
  border-radius: 999px;
  background: var(--sky);
  color: var(--muted);
}
.chip-gold { background: var(--green); color: #fff; }
.panel-art {
  height: 130px;
  border-radius: 10px;
  background: linear-gradient(145deg, #1A2C60, #101B3C);
  display: grid;
  place-items: center;
  overflow: hidden;
  transform: translateZ(30px);
}
.panel-cells {
  width: 82%;
  height: 78%;
  background:
    linear-gradient(rgba(234,242,246,.22) 1.5px, transparent 1.5px),
    linear-gradient(90deg, rgba(234,242,246,.22) 1.5px, transparent 1.5px),
    linear-gradient(150deg, rgba(255,255,255,.12), transparent 45%),
    linear-gradient(145deg, #24408E, #16244A);
  background-size: 25% 33.5%, 25% 33.5%, 100% 100%, 100% 100%;
  border: 2px solid #0E1834;
  border-radius: 4px;
  box-shadow: inset 0 0 22px rgba(0,0,0,.5);
}
.card h3 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; }
.card-desc { color: var(--muted); font-size: .93rem; min-height: 3.4em; }
.spec {
  list-style: none;
  border-top: 1px solid var(--line);
  font-size: .78rem;
}
.spec li {
  display: flex;
  justify-content: space-between;
  padding: .5rem 0;
  border-bottom: 1px solid var(--line);
}
.spec span { color: var(--muted); }
.card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: .6rem;
}
.price { font-family: var(--font-display); font-size: 1.45rem; font-weight: 600; }
.price small { font-size: .75rem; color: var(--muted); font-family: var(--font-body); font-weight: 400; }

/* ---------- calculator ---------- */
.calc {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 3rem;
  align-items: start;
}
.ctrl { margin-bottom: 1.7rem; }
.ctrl label {
  display: flex;
  justify-content: space-between;
  font-weight: 500;
  margin-bottom: .6rem;
  font-size: .98rem;
}
.ctrl label b { color: var(--green-bright); font-weight: 600; }
.ctrl-hint { font-size: .78rem; color: rgba(255,255,255,.45); margin-top: .4rem; }
input[type="range"] {
  width: 100%;
  height: 6px;
  appearance: none;
  -webkit-appearance: none;
  background: linear-gradient(90deg, var(--green) var(--fill, 50%), rgba(255,255,255,.18) var(--fill, 50%));
  border-radius: 3px;
  outline-offset: 6px;
  cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #B9F0A8, var(--green) 60%);
  border: 2px solid #fff;
  box-shadow: 0 0 12px rgba(67,176,42,.6);
  transition: transform .15s ease;
}
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.2); }
input[type="range"]::-moz-range-thumb {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--green); border: 2px solid #fff;
}
.calc-results {
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--r);
  padding: .4rem 1.2rem;
  background: rgba(255,255,255,.04);
}
.res {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: .68rem 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
  font-size: .85rem;
}
.res:last-child { border-bottom: none; }
.res span { color: rgba(255,255,255,.55); }
.gold-res b { color: var(--green-bright); }
.res.big b { font-size: 1.5rem; }
.calc-chart {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--r);
  padding: 1.2rem;
}
#chart { width: 100%; height: auto; display: block; }
.chart-note { font-size: .7rem; color: rgba(255,255,255,.5); margin-top: .8rem; text-align: center; }
.fine {
  margin-top: 2.2rem;
  font-size: .72rem;
  color: rgba(255,255,255,.4);
  max-width: 70ch;
}

/* ---------- process flow ---------- */
.flow { margin-bottom: 2.5rem; }
.flow-svg { width: 100%; height: auto; }
.node-c {
  fill: var(--silicon);
  stroke: var(--line);
  stroke-width: 1.5;
}
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.8rem;
  counter-reset: step;
}
.steps li { position: relative; }
.step-n {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--copper);
  color: var(--copper);
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: .8rem;
}
.steps h3 { margin-bottom: .4rem; font-size: 1.05rem; }
.steps p { color: var(--muted); font-size: .92rem; }

/* ---------- testimonials ---------- */
.quotes-band {
  background-color: var(--sky);
  background-image:
    radial-gradient(700px 450px at 90% 20%, rgba(67, 176, 42, .07), transparent 70%),
    linear-gradient(rgba(16, 27, 60, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 27, 60, .045) 1px, transparent 1px);
  background-size: auto, 44px 44px, 44px 44px;
  max-width: none;
}
.quotes-band .section-head,
.quotes {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}
.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
.quote {
  background: #fff;
  border-radius: var(--r);
  padding: 1.6rem;
  border-top: 3px solid var(--green);
  box-shadow: 0 10px 30px -18px rgba(16,27,60,.25);
  transition: transform .25s ease, box-shadow .25s ease;
}
.quote:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.quote blockquote { font-size: .98rem; margin-bottom: 1rem; }
.quote figcaption { font-size: .85rem; }
.quote figcaption .mono { color: var(--muted); font-size: .75rem; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; }
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.3rem 0;
  font-weight: 600;
  font-size: 1.05rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: color .2s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--cell); }
.faq-x {
  position: relative;
  width: 18px;
  height: 18px;
  flex: none;
}
.faq-x::before, .faq-x::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 0;
  width: 100%;
  height: 2px;
  margin-top: -1px;
  background: var(--copper);
  transition: transform .3s ease;
}
.faq-x::after { transform: rotate(90deg); }
.faq-item[open] .faq-x::after { transform: rotate(0deg); }
.faq-item[open] .faq-x::before { transform: rotate(180deg); }
.faq-item p {
  padding: 0 2.4rem 1.4rem 0;
  color: var(--muted);
  max-width: 62ch;
}

/* ---------- quote section ---------- */
.quote-section { padding-top: 110px; padding-bottom: 110px; }
.quote-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.assure {
  list-style: none;
  margin-top: 1.6rem;
  font-size: .82rem;
  color: rgba(255,255,255,.75);
}
.assure li { padding: .3rem 0; }
.contact-links {
  list-style: none;
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255,255,255,.14);
  font-size: .82rem;
  display: grid;
  gap: .45rem;
}
.contact-links a {
  color: var(--green-bright);
  text-decoration: none;
  transition: color .2s ease;
}
.contact-links a:hover { color: #7DE55F; text-decoration: underline; }
.install-note {
  margin-top: 1.3rem;
  font-size: .92rem;
  color: rgba(255,255,255,.85);
  max-width: 44ch;
}
.install-note a { color: var(--green-bright); text-decoration: none; }
.install-note a:hover { text-decoration: underline; }
.footer-brand p a { color: var(--green-bright); text-decoration: none; }
.footer-brand p a:hover { text-decoration: underline; }
.quote-form {
  background: #fff;
  color: var(--ink);
  border-radius: var(--r);
  padding: 2rem;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.5);
}
.field { margin-bottom: 1.1rem; flex: 1; }
.field-row { display: flex; gap: 1rem; }
.field label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  margin-bottom: .35rem;
}
.field input {
  width: 100%;
  padding: .75rem .9rem;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  font: inherit;
  font-size: .95rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(67,176,42,.25);
}
.form-ok { color: #2E7D32; font-size: .8rem; margin-top: .9rem; }
.form-err { color: #C62828; font-size: .8rem; margin-top: .9rem; }

/* ---------- footer ---------- */
.footer {
  background: #0A1128;
  color: rgba(255,255,255,.75);
  padding: 60px 24px 30px;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer .logo { color: #fff; font-size: 1rem; }
.footer-brand p { margin-top: .8rem; font-size: .72rem; color: rgba(255,255,255,.45); }
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; align-items: center; }
.footer-links a {
  text-decoration: none;
  font-size: .88rem;
  color: rgba(255,255,255,.65);
  transition: color .2s ease;
}
.footer-links a:hover { color: var(--green-bright); }
.footer-fine {
  max-width: var(--max);
  margin: 1.6rem auto 0;
  font-size: .68rem;
  color: rgba(255,255,255,.35);
}

/* ---------- footer contact + WhatsApp fab ---------- */
.footer-contact { margin-top: .5rem; }
.footer-contact a {
  color: rgba(255,255,255,.7);
  text-decoration: none;
  transition: color .2s ease;
}
.footer-contact a:hover { color: var(--green-bright); }
.faq-item p a { color: var(--green-dark); }
.wa-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px -6px rgba(18, 140, 78, .65);
  transition: transform .2s ease, box-shadow .2s ease;
}
.wa-fab:hover {
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 16px 36px -8px rgba(18, 140, 78, .75);
}

/* ---------- scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1);
}
.reveal.in { opacity: 1; transform: none; }
.cards .reveal:nth-child(2), .quotes .reveal:nth-child(2), .steps .reveal:nth-child(2) { transition-delay: .1s; }
.cards .reveal:nth-child(3), .quotes .reveal:nth-child(3), .steps .reveal:nth-child(3) { transition-delay: .2s; }
.steps .reveal:nth-child(4) { transition-delay: .3s; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 110px; gap: 1.5rem; }
  .sun-scene { height: 360px; }
  .cards, .quotes { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .steps { grid-template-columns: 1fr 1fr; }
  .calc { grid-template-columns: 1fr; }
  .quote-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .strip-inner { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .section { padding: 70px 20px; }
  .field-row { flex-direction: column; gap: 0; }
  .sun-scene { height: 320px; }
  .readout { min-width: 170px; padding: 10px 14px; }
}

/* Reduced-motion override intentionally removed at owner's request —
   animations always play on this site. */
