/* ============================================================
   ClearSky brand layer — v6 global rollout.
   Loaded AFTER styles.css; non-destructive (remove <link> to revert).

   Tokens (ClearSky_Brand_Package/guides/BRAND_LANGUAGE.md):
     brand blue  #3a9df6   pressed #1f7fd9   light #72c4ff
     accent gold #ffc72c   ink #1f2e3b        surface #ffffff

   Scope: [class^="native-"] catches every canvas div.
     · Cover (slide 1) and Closing (slide 12) are photo heroes — excluded
       from the blue treatment via :not() guards.
     · Slide 6 (cost-of-nsp) has additional layout overrides at the bottom.
   ============================================================ */


/* ═══════════════════════════════════════════════════════════
   TYPOGRAPHY → Montserrat (brand face), Inter fallback.
   Fonts embedded as base64 woff2 via brand-fonts.css (loaded in <head>).
   The deck defines --font-* per canvas in styles.css; !important on these
   custom-property declarations wins the cascade regardless of the higher
   selector specificity of those per-canvas defs. Applies to EVERY slide
   (cover + closing included) so the whole deck reads in the brand face.
   ═══════════════════════════════════════════════════════════ */
[class^="native-"] {
  --font-display: "Montserrat", "Inter", -apple-system, BlinkMacSystemFont, system-ui, sans-serif !important;
  --font-rounded: "Montserrat", "Inter", -apple-system, BlinkMacSystemFont, system-ui, sans-serif !important;
  --font-text: "Montserrat", "Inter", -apple-system, BlinkMacSystemFont, system-ui, sans-serif !important;
}

/* Cover text now uses the --font-* tokens (resolved to Montserrat by the brand
   override above), so the old blanket cover font-family patch is no longer needed. */

/* Cover photo: kill the heavy vignette (was 0.30 top / 0.50 bottom black) so the
   shot reads BRIGHT. Keep only a whisper of darkening at the very top + bottom so
   the headline and the prepared-for/by footer stay legible; the headline already
   carries its own text-shadow. */
.native-cover-canvas .cover-photo::after {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.10) 0%,
    rgba(0, 0, 0, 0) 24%,
    rgba(0, 0, 0, 0) 64%,
    rgba(0, 0, 0, 0.28) 100%
  ) !important;
}


/* ═══════════════════════════════════════════════════════════
   UNIVERSAL (all slides except full-bleed covers)
   ═══════════════════════════════════════════════════════════ */

/* Remove numbered eyebrow chip (top-right label "02 Table of Contents" etc.) */
[class^="native-"]:not(.native-cover-canvas) .slide-chip {
  display: none !important;
}

/* Logo sits on transparent bg — drop the blue "pill" on content slides + closing */
[class^="native-"]:not(.native-cover-canvas) .cs-brand-pill,
[class^="native-"]:not(.native-cover-canvas) .cs-brand-pill-inner {
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}
/* Logo treatment: no reveal animation, no pill, and no shadow — on every slide. */
[class^="native-"] .deck-slide .cs-brand-pill,
[class^="native-"] .deck-slide.in-view .cs-brand-pill {
  animation: none !important;
}
/* Uniform top-left logo size on every slide (normalises per-slide variations) */
[class^="native-"] .cs-brand-pill {
  overflow: visible !important;
}
/* Force the pill box itself to 112×41 on every non-cover slide so the transparent
   container doesn't add extra layout height/offset around the logo image. */
[class^="native-"]:not(.native-cover-canvas) .cs-brand-pill {
  width: 112px !important;
  height: 41px !important;
}
[class^="native-"] .cs-brand-pill-inner,
[class^="native-"] .cs-logo-wrap {
  width: 112px !important;
  height: 41px !important;
}
[class^="native-"] .cs-logo-img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain !important;
  filter: none !important;
}

/* Hide theme toggle — deck is brand-blue only */
.deck-theme-button, .deck-theme-separator { display: none !important; }

/* Contents footer — transparent band, white text */
.native-contents-canvas .slide-foot .band {
  background: transparent !important;
  color: rgba(255,255,255,0.72) !important;
  border-top: 0 !important;
}

/* Remove diagonal hatch / grid-line texture pseudo-element (lives on both ::before and ::after) */
[class^="native-"]:not(.native-cover-canvas) [class*="-parity-slide"]::before,
[class^="native-"]:not(.native-cover-canvas) [class*="-parity-slide"]::after {
  display: none !important;
}


/* ═══════════════════════════════════════════════════════════
   CONTENT SLIDES 2–11 (excl. cover & closing photo heroes)
   Blue background + white typography + clean white tiles.
   ═══════════════════════════════════════════════════════════ */

/* 1. Background → brand blue gradient.
   Set the vars (slides 5–11 read these directly) … */
[class^="native-"]:not(.native-cover-canvas):not(.native-closing-canvas)[data-theme="light"] {
  --bg-slide-a: #3a9df6;
  --bg-slide-b: #2f8cee;
  --line-tex-a: rgba(255, 255, 255, 0.06);
  --line-tex-b: rgba(255, 255, 255, 0.04);
  --top-gold-bloom: rgba(255, 199, 44, 0.14);
  --bot-shadow-bloom: rgba(255, 255, 255, 0.08);
}

/* … AND force the gradient itself, because slides 2–4 (contents, equipment,
   financing) hardcode a WHITE linear-gradient in styles.css that ignores the
   vars. Re-declaring the var-driven gradient with !important re-blues those
   three and is a harmless no-op on the seven that already read the vars. */
[class^="native-"]:not(.native-cover-canvas):not(.native-closing-canvas)[data-theme="light"] [class*="-parity-slide"] {
  background-image:
    radial-gradient(620px 420px at 92% -6%, var(--top-gold-bloom), transparent 58%),
    radial-gradient(520px 420px at -4% 106%, var(--bot-shadow-bloom), transparent 58%),
    linear-gradient(160deg, var(--bg-slide-a) 0%, var(--bg-slide-b) 55%, var(--bg-slide-a) 100%) !important;
}

/* 2. Card shadow → clean blue-toned elevation (drop warm gold glow) */
[class^="native-"]:not(.native-cover-canvas):not(.native-closing-canvas)[data-theme="light"] .deck-slide {
  box-shadow: 0 26px 60px rgba(11, 30, 60, 0.28), 0 0 0 0.5px rgba(11, 30, 60, 0.12) !important;
}

/* 3. Slide heading → white. .gold accent suppressed (no yellow on blue). */
[class^="native-"]:not(.native-cover-canvas):not(.native-closing-canvas)[data-theme="light"] .slide-h,
[class^="native-"]:not(.native-cover-canvas):not(.native-closing-canvas)[data-theme="light"] .slide-h .gold {
  color: #ffffff !important;
}

/* 4. Lockup (top-left logo + customer name) → white on blue */
[class^="native-"]:not(.native-cover-canvas):not(.native-closing-canvas)[data-theme="light"] .lockup .name {
  color: #ffffff !important;
}
[class^="native-"]:not(.native-cover-canvas):not(.native-closing-canvas)[data-theme="light"] .lockup .slug {
  color: rgba(255, 255, 255, 0.78) !important;
}

/* 5. Eyebrow labels (ALL-CAPS lines above headings) → white */
[class^="native-"]:not(.native-cover-canvas):not(.native-closing-canvas)[data-theme="light"] .eyebrow,
[class^="native-"]:not(.native-cover-canvas):not(.native-closing-canvas)[data-theme="light"] .eyebrow .d {
  color: rgba(255, 255, 255, 0.86) !important;
}

/* 6. Gold rule divider → white on blue */
[class^="native-"]:not(.native-cover-canvas):not(.native-closing-canvas)[data-theme="light"] .gold-rule {
  background: rgba(255, 255, 255, 0.28) !important;
}

/* 7. Tiles (data-surface cards) → crisp solid white */
[class^="native-"]:not(.native-cover-canvas):not(.native-closing-canvas)[data-theme="light"] .data-surface {
  background: #ffffff !important;
  border: 1px solid rgba(11, 30, 60, 0.08) !important;
  box-shadow: 0 12px 30px rgba(11, 30, 60, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.6) !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

/* 8. Footer band → transparent on blue, white text (no white strip) */
[class^="native-"]:not(.native-cover-canvas):not(.native-closing-canvas)[data-theme="light"] .slide-foot .band {
  background: transparent !important;
  color: rgba(255, 255, 255, 0.72) !important;
  border-top: 0.5px solid rgba(255, 255, 255, 0.18) !important;
}
/* Hide the blue edge accent above the footer (invisible on blue, leaves a seam) */
[class^="native-"]:not(.native-cover-canvas):not(.native-closing-canvas)[data-theme="light"] .slide-foot .edge {
  display: none !important;
}

/* 9. TOC rows render as solid white pills (bg rgba(255,255,255,0.92)) on the
   blue — like little cards. So their text must stay DARK for contrast, NOT
   flip to white. Number = brand-blue accent, label = ink. */
[class^="native-"]:not(.native-cover-canvas):not(.native-closing-canvas)[data-theme="light"] .toc-row .n {
  color: #3a9df6 !important;
}
[class^="native-"]:not(.native-cover-canvas):not(.native-closing-canvas)[data-theme="light"] .toc-row .t {
  color: #1f2e3b !important;
}

/* 10. Compare tables (solar-vs-nsp etc.) → white text on blue */
[class^="native-"]:not(.native-cover-canvas):not(.native-closing-canvas)[data-theme="light"] .compare-table th {
  color: rgba(255, 255, 255, 0.78) !important;
  border-bottom-color: rgba(255, 255, 255, 0.22) !important;
}
[class^="native-"]:not(.native-cover-canvas):not(.native-closing-canvas)[data-theme="light"] .compare-table td {
  color: #ffffff !important;
  border-bottom-color: rgba(255, 255, 255, 0.16) !important;
}
[class^="native-"]:not(.native-cover-canvas):not(.native-closing-canvas)[data-theme="light"] .compare-table td.num.neg {
  color: #ffd2cc !important;
}

/* 11. Hero stat cards (savings numbers etc.) on blue — strip the glass tile,
   let the number float directly on the blue for emphasis. */
[class^="native-"]:not(.native-cover-canvas):not(.native-closing-canvas)[data-theme="light"] .hero-card {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
[class^="native-"]:not(.native-cover-canvas):not(.native-closing-canvas)[data-theme="light"] .hero-card .lab {
  color: rgba(255, 255, 255, 0.78) !important;
}
/* NB: exclude cost-nsp — its bill total rests RED and the reveal animates
   black→red; an !important white here would both force white at rest AND
   (since !important author beats WAAPI) kill the colour animation. */
[class^="native-"]:not(.native-cover-canvas):not(.native-closing-canvas):not(.native-cost-nsp-canvas)[data-theme="light"] .hero-card .val {
  color: #ffffff !important;
}
[class^="native-"]:not(.native-cover-canvas):not(.native-closing-canvas)[data-theme="light"] .hero-card.pos .val {
  color: #7cffb4 !important;
}


/* ═══════════════════════════════════════════════════════════
   SLIDE 6: Cost of NS Power — additional layout overrides
   (the global rules above already handle bg/text/chip/sub)
   ═══════════════════════════════════════════════════════════ */

/* Default any remaining on-slide text to white. */
.native-cost-nsp-canvas[data-theme="light"] .cost-nsp-parity-slide {
  color: #ffffff;
}

/* ---- Layout: bill on left, chart+table on right ---- */
.native-cost-nsp-canvas .cost-split {
  flex: 1 1 0;
  min-height: 0;
  display: grid;
  grid-template-columns: 385px 1fr; /* 385 ≈ split height (483) × bill aspect (0.797) */
  gap: 26px;
  align-items: stretch;
  margin-top: 2px;
}
.native-cost-nsp-canvas .cost-split-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  min-height: 0;
}
.native-cost-nsp-canvas .chart-row.chart-row--solo {
  grid-template-columns: 1fr;
}
.native-cost-nsp-canvas .cost-split-right .data-surface {
  padding: 12px 16px 10px !important;
}
.native-cost-nsp-canvas .cost-split-right .data-surface svg {
  max-height: none !important;
  width: 100%;
  height: auto;
}

/* Bill card — whole NS Power bill, total overlaid. Card bg is WHITE (was dark
   navy) so the object-fit:contain letterbox at top/bottom blends with the bill's
   own white margins — no more dark "black line" bands at the edges. */
.native-cost-nsp-canvas .bill-total {
  position: relative;
  border-radius: var(--r-card);
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 16px 38px rgba(11, 30, 60, 0.32), 0 0 0 1px rgba(255, 255, 255, 0.10);
  /* Match the card to the bill's aspect so object-fit:contain leaves no white
     letterbox bars top/bottom; centre it in the taller grid row. */
  aspect-ratio: 746 / 936;
  align-self: center;
}
.native-cost-nsp-canvas .bill-total-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
/* Center-only scrim: a soft radial behind the total, fully transparent at every
   edge so the white card shows no dark top/bottom bands. It fades in during the
   reveal — so the number starts black on the bright bill, then the centre darkens
   as it lands and turns red. */
.native-cost-nsp-canvas .bill-total-scrim {
  position: absolute;
  inset: 0;
  background: radial-gradient(96% 48% at 50% 55%, rgba(11, 30, 60, 0.46), transparent 72%);
}
.native-cost-nsp-canvas .bill-total .hero-card.neg.bill-total-overlay {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 14px;
  /* Override global hero-card treatment — this floats on the bill scrim */
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* Table row padding */
.native-cost-nsp-canvas .compare-table--condensed th,
.native-cost-nsp-canvas .compare-table--condensed td {
  padding: 5px 8px;
}
.native-cost-nsp-canvas .compare-table--condensed td {
  font-size: 12px;
}
.native-cost-nsp-canvas .compare-table--condensed th {
  font-size: 9.5px;
}

/* 30-yr NSP total — the climax "cost of doing nothing" number.
   Floats on the bill card; global .hero-card is overridden above.
   Color is NOT !important so the WAAPI entrance reveal can animate it. */
.native-cost-nsp-canvas[data-theme="light"] .hero-card.neg {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.native-cost-nsp-canvas[data-theme="light"] .hero-card.neg .lab {
  color: rgba(255, 255, 255, 0.82) !important;
  font-weight: 800 !important;
}
.native-cost-nsp-canvas[data-theme="light"] .hero-card.neg .lab::after {
  content: " \25B2";
  margin-left: 5px;
  font-size: 8px;
  color: #ffd2cc;
  vertical-align: middle;
}
.native-cost-nsp-canvas[data-theme="light"] .hero-card.neg .val {
  color: #ff6b5e;
  letter-spacing: -1px;
  font-size: 50px !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6), 0 2px 20px rgba(229, 59, 48, 0.45);
}

/* ---- NSP Rate Tracker chart (ported from clearskysolar.ca) ---- */
.native-cost-nsp-canvas .rt-chart {
  display: block;
  width: 100%;
  height: auto;
}
.native-cost-nsp-canvas .rt-grid {
  stroke: #e5e7eb;
  stroke-width: 1;
}
.native-cost-nsp-canvas .rt-ax-y,
.native-cost-nsp-canvas .rt-ax-x {
  fill: #6b7886;
  font: 600 13px var(--font-text);
}
.native-cost-nsp-canvas .rt-ax-x.rt-now {
  fill: #1f2e3b;
  font-weight: 800;
}
.native-cost-nsp-canvas .rt-today {
  stroke: #9aa7b4;
  stroke-width: 1;
  stroke-dasharray: 3 3;
  opacity: 0.6;
}
.native-cost-nsp-canvas .rt-today-lbl {
  fill: #6b7886;
  font: 800 12px var(--font-text);
  letter-spacing: 0.08em;
}
.native-cost-nsp-canvas .rt-hist {
  fill: none;
  stroke: #3a9df6;
  stroke-width: 2.6;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.native-cost-nsp-canvas .rt-band {
  fill: #e2483d;
  fill-opacity: 0.12;
  stroke: none;
}
.native-cost-nsp-canvas .rt-proj {
  fill: none;
  stroke: #e2483d;
  stroke-width: 2.6;
  stroke-dasharray: 6 5;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.native-cost-nsp-canvas .rt-dot-now {
  fill: #3a9df6;
  stroke: #ffffff;
  stroke-width: 2;
}
.native-cost-nsp-canvas .rt-fig-now {
  fill: #1f2e3b;
  font: 800 15px var(--font-rounded);
  paint-order: stroke;
  stroke: #ffffff;
  stroke-width: 3.5px;
}
.native-cost-nsp-canvas .rt-fig-end {
  fill: #e2483d;
  font: 800 14px var(--font-rounded);
}
.native-cost-nsp-canvas .rt-fig-gain {
  fill: #e2483d;
  font: 800 14px var(--font-rounded);
  letter-spacing: 0.01em;
}
.native-cost-nsp-canvas .rt-dot-end {
  fill: #e2483d;
  stroke: #ffffff;
  stroke-width: 1.5;
}


/* ═══════════════════════════════════════════════════════════
   SLIDE-SPECIFIC CONTRAST FIXES
   Text that sits DIRECTLY on the blue (not inside a white tile) and
   kept its original dark ink color — flip it light so it reads.
   Found by a per-slide screenshot pass after the blue rollout.
   ═══════════════════════════════════════════════════════════ */

/* Slide 7 (energy savings): the "30-YEAR ENERGY SAVINGS" caption number was a
   dark muted gold (#b57b1b) on a faint gold strip — unreadable. → white. */
.native-energy-savings-canvas .caption-val {
  color: #ffffff !important;
}

/* Slide 9 (solar vs NSP): the cost-compare table sits straight on the blue.
   Headers + plain/number cells → light; the Δ (.diff) red/green cells keep
   their semantic colors (excluded via :not(.diff)). */
.native-solar-vs-nsp-canvas .cost-compare-table th {
  color: rgba(255, 255, 255, 0.82) !important;
}
.native-solar-vs-nsp-canvas .cost-compare-table td:not(.diff) {
  color: #ffffff !important;
}

/* Slide 11 (next steps): the step titles + sublabels sit on the blue → light. */
.native-next-steps-canvas .step .t {
  color: #ffffff !important;
}
.native-next-steps-canvas .step .s {
  color: rgba(255, 255, 255, 0.74) !important;
}

/* Slide 10 (environmental impact): drop the white tiles — let the figures float
   directly on the blue, in white. Icon chips (.ic) stay as the only surface. */
.native-environmental-impact-canvas .impact-card {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}
.native-environmental-impact-canvas .impact-card .val {
  color: #ffffff !important;
}
.native-environmental-impact-canvas .impact-card .lab {
  color: rgba(255, 255, 255, 0.82) !important;
}
.native-environmental-impact-canvas .impact-card .sub {
  color: rgba(255, 255, 255, 0.72) !important;
}
/* Bigger icons — now that the tiles are gone they're the main visual. */
.native-environmental-impact-canvas .impact-card .ic {
  width: 118px !important;
  height: 118px !important;
}


/* ═══════════════════════════════════════════════════════════
   BRAND ICONS (glossy 3D family from clearskysolar.ca) woven in.
   ═══════════════════════════════════════════════════════════ */

/* Contents: a brand icon leads every table-of-contents row. */
.native-contents-canvas .toc-row {
  display: flex !important;
  align-items: center;
  gap: 11px;
}
.native-contents-canvas .toc-row .toc-ic {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(11, 30, 60, 0.22));
}

/* ── Net Metering slide: native-canvas scaffolding (mirrors cost-nsp) ── */
.native-net-metering-canvas {
  width: 960px;
  height: 720px;
  overflow: visible;
  color: #1f2e3b;
  font-family: var(--font-text);
  transform: scale(var(--net-metering-scale, 1));
  transform-origin: top left;
  -webkit-user-select: none;
  user-select: none;
}
.native-net-metering-canvas,
.native-net-metering-canvas * { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
.native-net-metering-canvas .deck-slide {
  position: relative;
  width: 960px;
  height: 720px;
  overflow: hidden;
  border-radius: var(--r-slide, 22px);
  box-shadow: 0 26px 60px rgba(11, 30, 60, 0.28), 0 0 0 0.5px rgba(11, 30, 60, 0.12);
}
.native-net-metering-canvas .net-metering-parity-slide {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}
.native-net-metering-canvas .slide-top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 22px 96px 0 46px;
}
.native-net-metering-canvas .slide-body {
  flex: 1 1 0; display: flex; flex-direction: column; gap: 10px;
  min-height: 0; overflow: hidden; padding: 18px 40px 10px;
}
.native-net-metering-canvas .slide-h {
  font: 800 44px / 1.04 var(--font-display); letter-spacing: 0;
}
.native-net-metering-canvas .slide-foot { position: relative; flex-shrink: 0; }
.native-net-metering-canvas .slide-foot .edge { height: 3px; background: #3a9df6; }
.native-net-metering-canvas .slide-foot .band {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 36px; padding: 11px 26px;
  font: 800 10px var(--font-rounded); letter-spacing: 0.16em; text-transform: uppercase;
}
.native-net-metering-canvas .cs-brand-pill {
  display: inline-flex; align-items: center; justify-content: center;
  width: 112px !important; height: 41px !important; overflow: visible; border-radius: 999px;
  background: #3a9df6; box-shadow: 0 6px 16px rgba(58, 157, 246, 0.28);
}
.native-net-metering-canvas .cs-brand-pill-inner { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.native-net-metering-canvas .cs-logo-img { max-width: none; max-height: none; object-fit: contain; }

/* ── Net Metering slide — day/night animation + process ── */
.native-net-metering-canvas .nm-main {
  display: flex;
  gap: 22px;
  flex: 1 1 0;
  min-height: 0;
  margin-top: 4px;
  align-items: stretch;
}
.native-net-metering-canvas .nm-stage {
  flex: 1.4 1 0;
  align-self: center;
  position: relative;
  aspect-ratio: 680 / 440;
  max-height: 100%;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 16px 38px rgba(11, 30, 60, 0.32), 0 0 0 1px rgba(255, 255, 255, 0.12);
}
/* Squircle clip so the SVG corners follow a smooth superellipse, not a plain arc. */
@supports (corner-shape: squircle) {
  .native-net-metering-canvas .nm-stage {
    corner-shape: squircle;
    border-radius: 42px;
  }
}
.native-net-metering-canvas .nm-svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.native-net-metering-canvas .nm-side {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  min-width: 0;
}
/* day/night crossfade driven by .is-night on the stage */
.native-net-metering-canvas .nm-night { opacity: 0; transition: opacity 0.8s ease; }
.native-net-metering-canvas .nm-day { opacity: 1; transition: opacity 0.8s ease; }
.native-net-metering-canvas .nm-stage.is-night .nm-day { opacity: 0; }
.native-net-metering-canvas .nm-stage.is-night .nm-night { opacity: 1; }
/* sun/moon glide along the sky arc; the credit meter steps through charge levels */
.native-net-metering-canvas .nm-celestial { transition: offset-distance 1.2s cubic-bezier(.45, 0, .55, 1), opacity 0.85s ease; }
/* Level images swap instantly (no opacity crossfade) so the meter never flashes
   through a half-transparent gap between charge levels; only the night dimming animates. */
.native-net-metering-canvas .nm-pole { transition: filter 0.7s ease; }
.native-net-metering-canvas .nm-stage.is-night .nm-pole { filter: brightness(0.62) saturate(0.92); }
@keyframes nm-flow { from { offset-distance: 0%; } to { offset-distance: 100%; } }
@keyframes nm-twinkle { 0%,100% { opacity: 0.25; } 50% { opacity: 0.9; } }
@keyframes nm-drift { from { transform: translateX(-7px); } to { transform: translateX(9px); } }
.native-net-metering-canvas .nm-dot { animation: nm-flow 2.4s linear infinite; offset-rotate: 0deg; }
.native-net-metering-canvas .nm-dot-rev { animation-direction: reverse; }
.native-net-metering-canvas .nm-star { animation: nm-twinkle 3s ease-in-out infinite; }
.native-net-metering-canvas .nm-cloud { transform-box: fill-box; transform-origin: center; animation: nm-drift 11s ease-in-out infinite alternate; }
@media (prefers-reduced-motion: reduce) {
  .native-net-metering-canvas .nm-dot,
  .native-net-metering-canvas .nm-cloud { animation: none !important; }
  .native-net-metering-canvas .nm-star { animation: none !important; opacity: 0.7; }
}
.native-net-metering-canvas .nm-toggle {
  position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%);
  display: inline-flex; gap: 4px; z-index: 3;
  background: rgba(255, 255, 255, 0.94); border-radius: 999px; padding: 4px;
  box-shadow: 0 6px 18px rgba(11, 30, 60, 0.32);
}
.native-net-metering-canvas .nm-tab { width: 34px; height: 34px; border: 0; border-radius: 999px; background: transparent; cursor: pointer; display: grid; place-items: center; transition: background 0.2s ease; }
.native-net-metering-canvas .nm-tab img { width: 20px; height: 20px; object-fit: contain; }
.native-net-metering-canvas .nm-tab-day.is-on { background: #3a9df6; }
.native-net-metering-canvas .nm-tab-night.is-on { background: #21386a; }
.native-net-metering-canvas .nm-eyebrow { font: 800 13px var(--font-rounded); letter-spacing: 0.12em; text-transform: uppercase; color: #ffc72c; }
.native-net-metering-canvas .nm-body { color: #ffffff; font: 500 14.5px/1.45 var(--font-text); margin: 5px 0 0; }
/* Steps span the same height as the animation stage (≈62% of the row), evenly
   distributed so the dotted timeline runs the full height of the picture. */
.native-net-metering-canvas .nm-process { position: relative; display: flex; flex-direction: column; justify-content: space-between; height: 62%; margin: 0; }
/* vertical dotted timeline running behind the step icons */
.native-net-metering-canvas .nm-process::before {
  content: ""; position: absolute; left: 21px; top: 21px; bottom: 21px;
  border-left: 2px dotted rgba(255, 255, 255, 0.5); z-index: 0;
}
.native-net-metering-canvas .nm-step {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 42px 1fr; grid-template-rows: auto auto;
  column-gap: 14px; align-items: center;
  background: transparent; border: 0; border-radius: 0; padding: 0;
}
.native-net-metering-canvas .nm-step-ic { grid-row: 1 / 3; width: 42px; height: 42px; }
.native-net-metering-canvas .nm-step-ic img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 3px 7px rgba(11, 30, 60, 0.35)); }
.native-net-metering-canvas .nm-step-n { display: none; }
.native-net-metering-canvas .nm-step-t { align-self: end; font: 800 13px var(--font-rounded); color: #ffffff; }
.native-net-metering-canvas .nm-step-b { align-self: start; font: 500 11px/1.28 var(--font-text); color: rgba(255, 255, 255, 0.82); }

/* Next steps: the purpose-built process icons replace the numbered discs.
   Sequence still reads left-to-right along the connector line. */
.native-next-steps-canvas .step .num {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  width: 66px !important;
  height: 66px !important;
  padding: 0 !important;
  display: grid !important;
  place-items: center;
  overflow: visible;
}
.native-next-steps-canvas .step .num .step-ic {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: none;
}
/* Keep the "YOU ARE HERE" step marked with a soft gold halo behind its icon. */
.native-next-steps-canvas .step.here .num::before {
  content: "";
  position: absolute;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 199, 44, 0.42), transparent 70%);
  z-index: -1;
}


/* ═══════════════════════════════════════════════════════════
   ENERGY PRODUCTION slide — "Sunfield Keynote": a full-width glowing
   green sunrise area chart floods in left→right while the colossal
   392,168 kWh hero counts up to meet it; green-threaded proof stats on
   a hairline rail. Tile-less. One gold accent (the heading word).
   ═══════════════════════════════════════════════════════════ */
.native-energy-savings-canvas .slide-body.es-redesign {
  display: flex; flex-direction: column; gap: 8px; min-height: 0;
}
/* header: just heading + subhead (the hero number now lives in the chart) */
.native-energy-savings-canvas .es-head { display: block; }
.native-energy-savings-canvas .es-head .slide-h {
  margin: 0; font: 800 44px/1.06 var(--font-display); max-width: 560px;
}
/* hero number overlaid INSIDE the chart, resting in the green gradient */
.native-energy-savings-canvas .es-chart .chart-wrap { position: relative; }
.native-energy-savings-canvas .es-hero-overlay {
  position: absolute; left: 50%; top: 56%; transform: translate(-50%, -50%);
  text-align: center; z-index: 2; pointer-events: none; width: max-content;
}
.native-energy-savings-canvas .es-hero-val {
  font: 800 100px/0.9 var(--font-display); color: #ffffff; letter-spacing: -2.5px;
  font-variant-numeric: tabular-nums;
  text-shadow:
    0 0 26px rgba(110, 240, 168, 0.75),
    0 0 56px rgba(110, 240, 168, 0.55),
    0 0 90px rgba(48, 167, 81, 0.45),
    0 2px 18px rgba(11, 30, 60, 0.35);
  white-space: nowrap;
}
.native-energy-savings-canvas .es-hero-val small {
  font-size: 34px; font-weight: 800; color: #6ef0a8; letter-spacing: 0;
  margin-left: 9px; text-shadow: 0 2px 18px rgba(11, 30, 60, 0.45);
}
.native-energy-savings-canvas .es-hero-lab {
  margin-top: 8px; font: 800 12px var(--font-rounded); letter-spacing: 0.2em;
  text-transform: uppercase; color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 2px 14px rgba(11, 30, 60, 0.5);
}
/* chart fills the middle, tile-less (keep .data-surface for the wipe anim).
   High-specificity selector to beat the global `.data-surface{background:#fff}` rule. */
.native-energy-savings-canvas[data-theme="light"] .slide-body.es-redesign .es-chart.data-surface {
  background: transparent !important; border: 0 !important; box-shadow: none !important;
  border-radius: 0 !important; padding: 0 !important;
  flex: 1 1 0; min-height: 0; display: flex;
}
.native-energy-savings-canvas .es-chart .chart-wrap { flex: 1 1 0; min-height: 0; display: flex; align-items: stretch; }
.native-energy-savings-canvas .es-chart .chart-svg { width: 100%; height: 100%; max-height: 100%; }
/* chart text → white (override styles.css dark fills) */
.native-energy-savings-canvas .es-chart .chart-svg .ax-x,
.native-energy-savings-canvas .es-chart .chart-svg .ax-y { fill: rgba(255, 255, 255, 0.6) !important; }
.native-energy-savings-canvas .es-chart .chart-svg .grid { stroke: rgba(255, 255, 255, 0.12) !important; }
/* proof stats — a hairline-divided rail, green threads the "good" figures */
.native-energy-savings-canvas .es-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); flex: 0 0 auto;
}
.native-energy-savings-canvas .es-stat { display: flex; align-items: center; gap: 13px; padding: 2px 24px; }
.native-energy-savings-canvas .es-stat + .es-stat { border-left: 1px solid rgba(255, 255, 255, 0.15); }
.native-energy-savings-canvas .es-stat-ic {
  width: 42px; height: 42px; flex: 0 0 auto; object-fit: contain;
  filter: drop-shadow(0 4px 9px rgba(11, 30, 60, 0.32));
}
.native-energy-savings-canvas .es-stat-v {
  font: 800 26px var(--font-rounded); color: #ffffff; letter-spacing: -0.3px;
  font-variant-numeric: tabular-nums;
}
.native-energy-savings-canvas .es-stat-v.pos { color: #6ef0a8; }
.native-energy-savings-canvas .es-stat-v small { font-size: 14px; font-weight: 700; color: rgba(255, 255, 255, 0.72); }
.native-energy-savings-canvas .es-stat-l { margin-top: 2px; font: 500 12px var(--font-text); color: rgba(255, 255, 255, 0.65); }
.native-energy-savings-canvas .es-stat-l .pos { color: #6ef0a8; font-weight: 700; }
/* stat values pop in after the flood + count-up settle */
.native-energy-savings-canvas .deck-slide.in-view .es-stat-v {
  animation: energy-savings-stat-pop 0.6s cubic-bezier(0.2, 0.7, 0.3, 1.4) 1.75s both;
}

/* ═══════════════════════════════════════════════════════════
   EQUIPMENT SLIDE — 4 equal columns on blue, warranty under each
   ═══════════════════════════════════════════════════════════ */

/* Four equal columns, hairline dividers between, full-height for bottom-aligned warranties */
.native-equipment-canvas .equip-grid {
  flex: 1 1 0 !important;
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 0 !important;
  align-items: stretch !important;
  min-height: 0 !important;
}
.native-equipment-canvas .equip-grid[data-count="3"] {
  grid-template-columns: repeat(3, 1fr) !important;
  max-width: 860px;
  margin-left: auto !important;
  margin-right: auto !important;
}
.native-equipment-canvas .equip-grid[data-count="2"] {
  grid-template-columns: repeat(2, 1fr) !important;
  max-width: 620px;
  margin-left: auto !important;
  margin-right: auto !important;
}
.native-equipment-canvas .equip-grid[data-count="1"] {
  grid-template-columns: minmax(0, 360px) !important;
  justify-content: center !important;
}
.native-equipment-canvas .equip-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 26px 10px 30px;
  min-width: 0;
}
.native-equipment-canvas .equip-col + .equip-col {
  border-left: 1px solid rgba(255, 255, 255, 0.13);
}

/* Equal-height image well, product centered, soft ELLIPTICAL ground shadow
   (shape-independent — no rectangular halo behind the panel) */
.native-equipment-canvas .equip-well {
  position: relative;
  height: 124px;
  width: 100%;
  display: grid;
  place-items: center;
  margin-bottom: 10px;
}
.native-equipment-canvas .equip-well img {
  position: relative;
  z-index: 1;
  max-height: 112px;
  max-width: 90%;
  width: auto;
  object-fit: contain;
}
.native-equipment-canvas .equip-well::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  transform: translateX(-50%);
  width: 56%;
  height: 18px;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.5), transparent 70%);
  filter: blur(6px);
  z-index: 0;
}

/* Header block — centered, white */
.native-equipment-canvas .equip-col .kicker {
  color: rgba(255, 255, 255, 0.6) !important;
  font: 800 9px var(--font-text);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0;
}
.native-equipment-canvas .equip-col h4 {
  margin: 5px 0 4px;
  color: #ffffff !important;
  font: 800 15px / 1.1 var(--font-display);
  letter-spacing: -0.01em;
}
.native-equipment-canvas .equip-col .spec {
  color: rgba(255, 255, 255, 0.72) !important;
  font: 500 11px / 1.3 var(--font-text);
  max-width: 92%;
}

/* Feature list — centered block, left-aligned rows, green checks */
.native-equipment-canvas .equip-col .spec-list {
  margin: 12px auto 0;
  text-align: left;
  display: inline-block;
  list-style: none;
  padding: 0;
}
.native-equipment-canvas .equip-col .spec-list li {
  padding: 3px 0 3px 18px;
  position: relative;
  color: rgba(255, 255, 255, 0.84) !important;
  font: 500 11px / 1.25 var(--font-text);
}
.native-equipment-canvas .equip-col .spec-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 12px;
  height: 12px;
  background: url(assets/icons/check.png) center / contain no-repeat;
}

/* Warranty badge — shield icon left of the number, bottom-aligned across columns, white */
.native-equipment-canvas .equip-warranty {
  margin-top: auto;
  padding: 14px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}
.native-equipment-canvas .equip-warranty .ew-shield {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  object-fit: contain;
}
.native-equipment-canvas .equip-warranty .ew-txt { text-align: left; }
.native-equipment-canvas .equip-warranty .ew-yrs {
  font: 800 26px var(--font-rounded);
  color: #ffffff;
  letter-spacing: -0.5px;
  line-height: 1;
  text-shadow: 0 2px 12px rgba(11, 30, 60, 0.4);
}
.native-equipment-canvas .equip-warranty .ew-yrs small {
  font-size: 0.4em;
  font-weight: 800;
  letter-spacing: 0.12em;
  vertical-align: super;
  margin-left: 2px;
  opacity: 0.85;
}
.native-equipment-canvas .equip-warranty .ew-tag {
  margin-top: 3px;
  font: 700 9px / 1.3 var(--font-text);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  /* reserve 2 lines so the year numbers align across all columns
     regardless of how many lines the label wraps to */
  min-height: 24px;
  max-width: 12ch;
}

/* 5-year ClearSky workmanship warranty — centered accent line below the per-product
   warranties, set off by a hairline; gold label marks it as ClearSky's own cover */
.native-equipment-canvas .equip-workmanship {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: min(560px, 72%);
  margin: 6px auto 0;
  padding: 9px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.native-equipment-canvas .equip-workmanship .ew-shield {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  object-fit: contain;
}
.native-equipment-canvas .equip-workmanship .ewm-yrs {
  font: 800 22px var(--font-rounded);
  color: #ffffff;
  line-height: 1;
  letter-spacing: -0.5px;
}
.native-equipment-canvas .equip-workmanship .ewm-yrs small {
  font-size: 0.4em;
  font-weight: 800;
  letter-spacing: 0.12em;
  vertical-align: super;
  margin-left: 2px;
  opacity: 0.85;
}
.native-equipment-canvas .equip-workmanship .ewm-tag {
  font: 800 11px var(--font-text);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffffff;
}

/* Warranty tiles — subtle glass, all white, 30YR format */
.native-equipment-canvas .warranty {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
  box-shadow: none !important;
}
.native-equipment-canvas .warranty .yrs {
  color: #ffffff !important;
  font-size: 22px !important;
}
.native-equipment-canvas .warranty .yrs small {
  font-size: 0.42em;
  font-weight: 800;
  letter-spacing: 0.12em;
  vertical-align: super;
  margin-left: 2px;
  opacity: 0.8;
}
.native-equipment-canvas .warranty .tag {
  color: rgba(255, 255, 255, 0.68) !important;
}

/* EUPD strip text → white */
.native-equipment-canvas .eupd-strip .cap {
  color: rgba(255, 255, 255, 0.72) !important;
}
.native-equipment-canvas .eupd-strip .cap b {
  color: #ffffff !important;
}

/* ═══════════════════════════════════════════════════════════
   SYSTEM DESIGN SLIDE — blue-forward, glass tiles, white text
   (drops the old white card chrome to match the rest of the deck)
   ═══════════════════════════════════════════════════════════ */

/* Image renders — no tile behind; squircle the photo itself, caption floats below */
.native-system-design-canvas[data-theme="light"] .design-render {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}
.native-system-design-canvas .design-render img,
.native-system-design-canvas .design-render .render-placeholder {
  background: transparent !important;
  object-fit: cover !important;
  border-radius: 22px !important;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3) !important;
}
@supports (corner-shape: squircle) {
  .native-system-design-canvas .design-render img,
  .native-system-design-canvas .design-render .render-placeholder {
    border-radius: 30px !important;
    corner-shape: squircle;
  }
}
.native-system-design-canvas[data-theme="light"] .design-render .cap {
  background: transparent !important;
  border-top: 0 !important;
  color: #ffffff !important;
  padding-top: 8px !important;
}

/* Monthly chart — no tile, floats on blue; white axes / gridlines / legend */
.native-system-design-canvas[data-theme="light"] .monthly-chart {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
.native-system-design-canvas[data-theme="light"] .monthly-chart .cap {
  color: #ffffff !important;
}
.native-system-design-canvas[data-theme="light"] .monthly-chart .chart-svg .ax-x,
.native-system-design-canvas[data-theme="light"] .monthly-chart .chart-svg .ax-y {
  fill: rgba(255, 255, 255, 0.9) !important;
}
.native-system-design-canvas[data-theme="light"] .monthly-chart .chart-svg .grid {
  stroke: rgba(255, 255, 255, 0.18) !important;
}
.native-system-design-canvas[data-theme="light"] .monthly-chart .chart-svg .legend-t {
  fill: #ffffff !important;
}

/* KPI stats — no tiles; a clean 2×2 quadrant divided by hairlines.
   Structure comes from alignment + dividers + type scale, not boxes. */
.native-system-design-canvas[data-theme="light"] .design-stats {
  gap: 0 !important;
  column-gap: 0 !important;
  row-gap: 0 !important;
}
.native-system-design-canvas[data-theme="light"] .kpi {
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  padding: 16px 24px !important;
  justify-content: center !important;
}
/* hairline divider cross between the four cells */
.native-system-design-canvas[data-theme="light"] .kpi:nth-child(2),
.native-system-design-canvas[data-theme="light"] .kpi:nth-child(4) {
  border-left: 1px solid rgba(255, 255, 255, 0.16) !important;
}
.native-system-design-canvas[data-theme="light"] .kpi:nth-child(3),
.native-system-design-canvas[data-theme="light"] .kpi:nth-child(4) {
  border-top: 1px solid rgba(255, 255, 255, 0.16) !important;
}
/* label → small tracked caps */
.native-system-design-canvas[data-theme="light"] .kpi .l {
  color: rgba(255, 255, 255, 0.78) !important;
  font: 800 9px var(--font-text) !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
}
/* value → the hero number, uniform size */
.native-system-design-canvas[data-theme="light"] .kpi .v {
  margin-top: 7px !important;
  font: 800 30px / 1 var(--font-rounded) !important;
  letter-spacing: -0.02em !important;
  color: #ffffff !important;
}
.native-system-design-canvas[data-theme="light"] .kpi .v.pos,
.native-system-design-canvas[data-theme="light"] .kpi .v.green {
  color: #6ef0a8 !important;
  font-size: 30px !important;
}
.native-system-design-canvas[data-theme="light"] .kpi .v.neg {
  color: #ff6b5e !important;
}
.native-system-design-canvas[data-theme="light"] .kpi .v.gold {
  color: #ffffff !important;
}
.native-system-design-canvas[data-theme="light"] .kpi .v small {
  margin-left: 5px !important;
  font-size: 0.4em !important;
  font-weight: 700 !important;
  color: rgba(255, 255, 255, 0.7) !important;
}
/* subtext → quiet supporting line */
.native-system-design-canvas[data-theme="light"] .kpi .s {
  margin-top: 6px !important;
  font: 500 11px / 1.3 var(--font-text) !important;
  color: rgba(255, 255, 255, 0.66) !important;
}

/* Heading gold accent stays gold on blue */
.native-system-design-canvas[data-theme="light"] .slide-h .gold {
  color: #ffc72c !important;
}

/* ═══════════════════════════════════════════════════════════
   SOLAR vs NSP — "The Crossover": tile-less diverging payback chart,
   colossal +$86,827 count-up hero, gold break-even diamond, 3-stat rail.
   ═══════════════════════════════════════════════════════════ */
.native-solar-vs-nsp-canvas .slide-body.vs-redesign {
  display: flex; flex-direction: column; gap: 6px; min-height: 0;
}
/* header: just heading + eyebrow (hero now overlays the chart) */
.native-solar-vs-nsp-canvas .vs-head { display: block; }
.native-solar-vs-nsp-canvas .vs-head .slide-h {
  margin: 4px 0 0; font: 800 44px/1.05 var(--font-display); max-width: 560px; letter-spacing: -0.6px;
}
/* hero overlays the green towers, resting in the payback */
.native-solar-vs-nsp-canvas .vs-hero {
  position: absolute; left: 63.3%; top: 32%; transform: translate(-50%, -50%);
  text-align: center; z-index: 3; pointer-events: none; width: max-content; max-width: 64%;
}
.native-solar-vs-nsp-canvas .vs-hero-lab {
  font: 800 11px var(--font-rounded); letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82); text-shadow: 0 2px 12px rgba(7, 30, 20, 0.55);
}
.native-solar-vs-nsp-canvas .vs-hero-val {
  margin-top: 2px; font: 800 76px/0.9 var(--font-display); color: #ffffff;
  letter-spacing: -2px; font-variant-numeric: tabular-nums; white-space: nowrap;
  text-shadow: 0 2px 22px rgba(7, 30, 20, 0.55), 0 0 34px rgba(110, 240, 168, 0.5), 0 0 12px rgba(110, 240, 168, 0.6);
}
.native-solar-vs-nsp-canvas .vs-hero-plus {
  color: #6ef0a8; font-size: 0.62em; vertical-align: 10%; margin-right: 1px;
}
.native-solar-vs-nsp-canvas .vs-hero-sub {
  margin-top: 6px; font: 500 12px var(--font-text); color: rgba(255, 255, 255, 0.78);
  text-shadow: 0 2px 12px rgba(7, 30, 20, 0.55);
}
/* chart — tile-less, fills the middle (keep .data-surface for the wipe) */
.native-solar-vs-nsp-canvas[data-theme="light"] .slide-body.vs-redesign .vs-chart.data-surface {
  background: transparent !important; border: 0 !important; box-shadow: none !important;
  border-radius: 0 !important; padding: 0 !important;
  flex: 1 1 0; min-height: 0; display: flex;
}
.native-solar-vs-nsp-canvas .vs-chart .chart-wrap { position: relative; flex: 1 1 0; min-height: 0; display: flex; align-items: stretch; }
.native-solar-vs-nsp-canvas .vs-chart .chart-svg { width: 100%; height: 100%; max-height: 100%; }
/* left-to-right "sweep" reveal */
.native-solar-vs-nsp-canvas .deck-slide .vs-chart.data-surface .chart-svg {
  clip-path: inset(0 100% 0 0); transition: clip-path 1.6s cubic-bezier(0.3, 0.85, 0.4, 1) 0.2s;
}
.native-solar-vs-nsp-canvas .deck-slide.in-view .vs-chart.data-surface .chart-svg {
  clip-path: inset(0 0 0 0);
}
/* proof rail — 3 cells, hairline dividers */
.native-solar-vs-nsp-canvas .vs-rail {
  display: grid; grid-template-columns: repeat(3, 1fr); flex: 0 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.15); padding-top: 8px;
}
.native-solar-vs-nsp-canvas .vs-stat { text-align: center; padding: 0 18px; }
.native-solar-vs-nsp-canvas .vs-stat + .vs-stat { border-left: 1px solid rgba(255, 255, 255, 0.15); }
.native-solar-vs-nsp-canvas .vs-stat-v {
  font: 800 26px var(--font-rounded); color: #ffffff; letter-spacing: -0.3px; font-variant-numeric: tabular-nums;
}
.native-solar-vs-nsp-canvas .vs-stat-v.pos { color: #6ef0a8; }
.native-solar-vs-nsp-canvas .vs-stat-l {
  margin-top: 3px; font: 600 10px var(--font-text); letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}
/* the 7-col table distilled to one quiet microline */
.native-solar-vs-nsp-canvas .vs-microline {
  text-align: center; font: 500 11px var(--font-text); color: rgba(255, 255, 255, 0.6);
  font-variant-numeric: tabular-nums; flex: 0 0 auto;
}
/* rail values pop after the chart sweep + count-up settle */
.native-solar-vs-nsp-canvas .deck-slide.in-view .vs-stat-v {
  animation: energy-savings-stat-pop 0.6s cubic-bezier(0.2, 0.7, 0.3, 1.4) 1.85s both;
}
/* home-value range metric — folded in below the rail */
.native-solar-vs-nsp-canvas .vs-hv {
  flex: 0 0 auto; text-align: center; padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.native-solar-vs-nsp-canvas .vs-hv-head {
  font: 800 11px var(--font-rounded); letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}
.native-solar-vs-nsp-canvas .vs-hv-mult { color: rgba(255, 255, 255, 0.5); font-weight: 600; letter-spacing: 0.06em; }
.native-solar-vs-nsp-canvas .vs-hv-range {
  display: flex; align-items: center; gap: 16px;
  max-width: 580px; margin: 14px auto 0;
}
.native-solar-vs-nsp-canvas .vs-hv-end {
  flex: 0 0 auto; font: 700 13px var(--font-rounded); font-variant-numeric: tabular-nums;
  color: rgba(255, 255, 255, 0.72);
}
.native-solar-vs-nsp-canvas .vs-hv-track {
  position: relative; flex: 1 1 0; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.16);
}
.native-solar-vs-nsp-canvas .vs-hv-fill {
  position: absolute; inset: 0; border-radius: 3px;
  background: linear-gradient(90deg, #2a9653, #6ef0a8); box-shadow: 0 0 12px rgba(110, 240, 168, 0.45);
}
.native-solar-vs-nsp-canvas .vs-hv-marker { position: absolute; left: 50%; top: 50%; }
.native-solar-vs-nsp-canvas .vs-hv-marker::after {
  content: ""; position: absolute; left: 0; top: 0; transform: translate(-50%, -50%);
  width: 13px; height: 13px; border-radius: 50%; background: #6ef0a8;
  box-shadow: 0 0 0 4px rgba(47, 140, 233, 0.9), 0 0 12px rgba(110, 240, 168, 0.75);
}
.native-solar-vs-nsp-canvas .vs-hv-mid {
  margin-top: 9px; text-align: center;
  font: 800 22px var(--font-rounded); color: #6ef0a8; white-space: nowrap;
  font-variant-numeric: tabular-nums; text-shadow: 0 2px 12px rgba(7, 30, 20, 0.55);
}

/* Next steps callout — tile-less, white text (a thin left rule, not a box) */
.native-next-steps-canvas[data-theme="light"] .callout,
.native-next-steps-canvas[data-theme="light"] .callout.blue {
  background: transparent !important;
  border: 0 !important;
  border-left: 2px solid rgba(255, 255, 255, 0.45) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 6px 0 6px 16px !important;
  color: rgba(255, 255, 255, 0.82) !important;
}
.native-next-steps-canvas[data-theme="light"] .callout strong {
  color: #ffffff !important;
}

/* Environmental callout — tile-less, white text (same as next-steps) */
.native-environmental-impact-canvas[data-theme="light"] .callout,
.native-environmental-impact-canvas[data-theme="light"] .callout.pos {
  background: transparent !important;
  border: 0 !important;
  border-left: 2px solid rgba(255, 255, 255, 0.45) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 6px 0 6px 16px !important;
  color: rgba(255, 255, 255, 0.82) !important;
}
.native-environmental-impact-canvas[data-theme="light"] .callout strong {
  color: #ffffff !important;
}

/* Next-steps icons enlarge clearly on hover and when selected (active) */
.native-next-steps-canvas .step:hover .num { transform: scale(1.13) !important; }
.native-next-steps-canvas .step.active .num { transform: scale(1.2) !important; }

/* ═══════════════════════════════════════════════════════════
   FINANCING — "The Lit Lane": 3 tile-less lanes under a roofline,
   centre ClearSky lane lit green with a count-up $/mo hero.
   ═══════════════════════════════════════════════════════════ */
.native-financing-canvas .slide-body.fin-redesign { display: flex; flex-direction: column; min-height: 0; }
.native-financing-canvas .fin-head .slide-h { margin: 0; font: 800 44px/1.05 var(--font-display); }
/* lanes under one shared roofline hairline, split by vertical hairlines */
.native-financing-canvas .fin-lanes {
  flex: 1 1 0; min-height: 0; display: grid; grid-template-columns: repeat(3, 1fr);
  align-items: start; margin-top: 14px;
  /* Nudge the lane group down so the content sits closer to vertical centre
     (lanes stay top-aligned to each other, preserving name/hero alignment). */
  padding-top: 92px;
}
.native-financing-canvas .fin-lane {
  position: relative; display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 40px 22px 0; min-width: 0;
}
.native-financing-canvas .fin-lane + .fin-lane { border-left: 1px solid rgba(255,255,255,0.14); }
.native-financing-canvas .fin-lane > * { position: relative; z-index: 1; }
/* centre lit lane — soft green glow bleeding past the hairlines (no edges = no box) */
.native-financing-canvas .fin-lane.lead::before {
  content: ""; position: absolute; left: 50%; top: -1px; bottom: 0; width: 260px; transform: translateX(-50%);
  background: radial-gradient(58% 48% at 50% 42%, rgba(110,240,168,0.17), transparent 72%);
  pointer-events: none; z-index: 0;
}
/* gold MODELED tag — absolute in the top padding so icons stay aligned across lanes */
.native-financing-canvas .fin-tag {
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%); white-space: nowrap;
  font: 800 10px var(--font-rounded); letter-spacing: 0.16em; text-transform: uppercase; color: #ffc72c;
  padding-bottom: 4px; border-bottom: 1px solid rgba(255,199,44,0.55);
}
.native-financing-canvas .fin-ic { width: 56px; height: 56px; object-fit: contain; }
/* side lanes have no icon — reserve the 56px icon row so all three names/heroes stay aligned */
.native-financing-canvas .fin-lane:not(.lead) { padding-top: 96px; }
.native-financing-canvas .fin-lane.lead .fin-ic { filter: drop-shadow(0 0 14px rgba(110,240,168,0.45)); }
.native-financing-canvas .fin-name { margin-top: 9px; font: 700 18px var(--font-display); color: #ffffff; }
.native-financing-canvas .fin-lane.lead .fin-name { font-size: 20px; font-weight: 800; }
.native-financing-canvas .fin-qual { margin-top: 3px; font: 500 13px var(--font-text); color: rgba(255,255,255,0.72); }
.native-financing-canvas .fin-qual .gold { color: #ffc72c; font-weight: 800; }
/* hero figures — aligned tops; centre is biggest + green-glow */
.native-financing-canvas .fin-hero {
  margin-top: 14px; font: 800 36px/1 var(--font-rounded); color: #ffffff;
  font-variant-numeric: tabular-nums; letter-spacing: -0.5px;
}
.native-financing-canvas .fin-hero small { display: block; margin-top: 4px; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; color: rgba(255,255,255,0.6); }
.native-financing-canvas .fin-hero.pos { color: #6ef0a8; }
.native-financing-canvas .fin-hero.muted { color: rgba(255,255,255,0.85); font-size: 30px; }
.native-financing-canvas .fin-hero.green {
  font-size: 58px; color: #6ef0a8; text-shadow: 0 2px 18px rgba(110,240,168,0.45);
}
.native-financing-canvas .fin-hero.green small { color: rgba(255,255,255,0.7); }
/* proof lists — green checks on the concrete paths, neutral dots on PACE */
.native-financing-canvas .fin-proof { list-style: none; margin: 16px auto 0; padding: 0; text-align: left; display: inline-block; }
.native-financing-canvas .fin-proof li { position: relative; padding: 3px 0 3px 18px; font: 500 12px/1.3 var(--font-text); color: rgba(255,255,255,0.84); }
.native-financing-canvas .fin-proof li::before { content: ""; position: absolute; left: 0; top: 2px; width: 12px; height: 12px; background: url(assets/icons/check.png) center / contain no-repeat; }
.native-financing-canvas .fin-proof.neutral li { color: rgba(255,255,255,0.62); }
.native-financing-canvas .fin-proof.neutral li::before { content: "•"; top: 3px; width: auto; height: auto; background: none; color: rgba(255,255,255,0.5); font-weight: 700; }
/* honest-disclosure note — tile-less, one check icon */
