/* ==========================================================================
   PowerPack — landing page
   Type:  Anton (display) · Instrument Serif (the one payoff line)
          Google Sans Flex (body) · Google Sans Code (labels)
   Idea:  the page is a piece of equipment. Seven modules, seven breakers,
          one display. Amber = a circuit that is live.
   ========================================================================== */

:root {
  /* Electric */
  --volt:        #1f5bff;
  --volt-lit:    #5b8cff;
  --volt-deep:   #0d2f9e;
  --volt-wash:   #e8eeff;

  /* Equipment */
  --panel:       #080d1a;
  --panel-2:     #101932;
  --panel-3:     #1a2545;
  --wire:        #263257;
  --wire-dim:    #18213c;

  /* Signal */
  --amp:         #ffc531;
  --amp-dim:     #7a5b12;

  /* Paper */
  --paper:       #f1f4fb;
  --paper-2:     #ffffff;
  --ink:         #080d1a;
  --ink-2:       #59637f;
  --hair:        #dde3f0;

  --shell:  min(1240px, 100% - 3rem);
  --r:      14px;
  --r-sm:   8px;

  --ease:   cubic-bezier(.22, 1, .36, 1);
}

/* ---------- reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Google Sans Flex", "Google Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; }

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

.pp-wrap { width: var(--shell); margin-inline: auto; }

/* visible to screen readers only */
.vh {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* anchor targets clear the sticky nav */
section[id], header[id] { scroll-margin-top: 74px; }

/* ---------- type roles ---------- */
.d {
  font-family: Anton, "Anton Fallback", Impact, "Haettenschweiler", sans-serif;
  font-weight: 400;
  letter-spacing: .005em;
  line-height: .92;
  text-transform: uppercase;
  margin: 0;
}
.lbl {
  font-family: "Google Sans Code", ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;
  font-size: .688rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  margin: 0 0 1.1rem;
  color: var(--volt);
}
.eyebrow .bolt {
  width: 15px; height: 15px; flex: none;
  background: currentColor;
  clip-path: polygon(56% 0, 12% 58%, 44% 58%, 34% 100%, 88% 40%, 54% 40%);
}
.on-dark .eyebrow { color: var(--amp); }
/* the price line that introduces the video */
.video-head { text-align: center; margin-bottom: .95rem; }

/* ==========================================================================
   NAV
   ========================================================================== */
.pp-nav {
  position: sticky; top: 0; z-index: 60;
  background: var(--panel-2);
  border-bottom: 1px solid var(--wire);
  color: #fff;
}
.pp-nav .inner {
  width: var(--shell); margin-inline: auto;
  display: flex; align-items: center; gap: 1.5rem;
  height: 62px;
}
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; }
.brand .cell {
  width: 26px; height: 26px; flex: none;
  border-radius: 7px;
  background: var(--volt);
  display: grid; place-items: center;
  box-shadow: 0 0 0 1px rgba(255,255,255,.14), 0 0 18px rgba(31,91,255,.55);
}
.brand .cell::after {
  content: ""; width: 10px; height: 13px; background: #fff;
  clip-path: polygon(56% 0, 12% 58%, 44% 58%, 34% 100%, 88% 40%, 54% 40%);
}
.brand .word { font-family: Anton, Impact, sans-serif; font-size: 1.18rem; letter-spacing: .02em; text-transform: uppercase; }
.brand .word b { color: var(--volt); font-weight: 400; }

.nav-meta { margin-left: auto; display: flex; align-items: center; gap: 1.4rem; }
.nav-meta .lbl { color: #7c89ab; }
.nav-links { display: flex; gap: 1.4rem; }
.nav-links a { text-decoration: none; color: #c3ccdf; font-size: .95rem; transition: color .18s; }
.nav-links a:hover { color: #fff; }

/* Buttons ------------------------------------------------------------------ */
.btn {
  --btn-bg: var(--volt);
  --btn-fg: #fff;
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .82rem 1.35rem;
  background: var(--btn-bg); color: var(--btn-fg);
  border-radius: 4px;
  font-weight: 600; font-size: .97rem; letter-spacing: -.005em;
  text-decoration: none; white-space: nowrap;
  transition: transform .16s var(--ease), box-shadow .2s, background .2s;
  box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 6px 18px -6px rgba(31,91,255,.7);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 12px 26px -8px rgba(31,91,255,.8); }
.btn:active { transform: translateY(0); }
.btn .arw { transition: transform .2s var(--ease); }
.btn:hover .arw { transform: translateX(3px); }
.btn:hover .arw.down { transform: translateY(3px); }

.btn.amber { --btn-bg: var(--amp); --btn-fg: #241a00; box-shadow: 0 1px 0 rgba(255,255,255,.5) inset, 0 6px 18px -6px rgba(255,197,49,.6); }
.btn.amber:hover { box-shadow: 0 1px 0 rgba(255,255,255,.5) inset, 0 12px 26px -8px rgba(255,197,49,.75); }
.btn.ghost {
  --btn-bg: transparent; --btn-fg: currentColor;
  box-shadow: inset 0 0 0 1.5px currentColor;
  opacity: .85;
}
.btn.ghost:hover { opacity: 1; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn.sm { padding: .55rem 1rem; font-size: .9rem; border-radius: 4px; }

/* ==========================================================================
   HERO
   ========================================================================== */
.pp-hero {
  position: relative;
  background: var(--panel);
  color: #fff;
  padding: clamp(3rem, 7vw, 5.5rem) 0 0;
  overflow: hidden;
}
/* faint circuit grid */
.pp-hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(38,50,87,.55) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(to bottom, rgba(38,50,87,.45) 1px, transparent 1px) 0 0 / 64px 64px;
  mask-image: radial-gradient(120% 90% at 50% 0%, #000 10%, transparent 72%);
  pointer-events: none;
}
.pp-hero::after {
  content: "";
  position: absolute; left: 50%; top: -22%;
  width: 900px; height: 560px; transform: translateX(-50%);
  background: radial-gradient(50% 50% at 50% 50%, rgba(31,91,255,.42), transparent 70%);
  pointer-events: none;
}
.hero-grid {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}
.hero-copy h1 {
  font-size: clamp(3rem, 6.6vw, 5.4rem);
}
.hero-copy h1 .lit {
  color: var(--volt);
  text-shadow: 0 0 40px rgba(31,91,255,.55);
}
.hero-copy h1 .hot {
  color: var(--amp);
  text-shadow: 0 0 40px rgba(255,197,49,.4);
}
/* The counterweight to Anton: a high-contrast serif, set in italic and
   sentence case, so the payoff line sounds spoken rather than shouted. */
.hero-kicker {
  margin: .85rem 0 0;
  font-family: "Instrument Serif", Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.9rem, 4.2vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: -.005em;
  color: var(--amp);
  text-shadow: 0 0 38px rgba(255,197,49,.26);
}
.hero-copy p.lede {
  margin: 1.2rem 0 0;
  /* ch scales with font-size, so this is set generously enough that the
     hero column stays the binding constraint; it only stops the measure
     running away on very wide viewports */
  max-width: 52ch;
  color: #aeb9d2;
  font-size: .97rem;   /* 15.5px — holds the paragraph to four lines */
}
.hero-copy p.lede em {
  font-style: italic;
  font-weight: 500;
  color: var(--amp);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero-note {
  margin: 0;
  font-size: .78rem;
  color: #93a0bd;
}
.hero-note b { color: var(--amp); font-weight: 700; }
.hero-note s {
  color: #5f6c8d;
  text-decoration-thickness: 2px;
  text-decoration-color: rgba(255,197,49,.75);
}
.hero-note .per-day { color: #6c7897; }

/* --- video bezel --- */
.bezel {
  position: relative;
  border-radius: 18px;
  padding: 12px;
  background: linear-gradient(170deg, #1d294a, #0a1020 62%);
  box-shadow:
    0 0 0 1px rgba(120,150,220,.18),
    0 40px 80px -30px rgba(0,0,0,.9),
    0 0 90px -20px rgba(31,91,255,.35);
}
.bezel-top {
  display: flex; align-items: center; gap: .6rem;
  padding: 0 .35rem .7rem;
  color: #7c89ab;
}
.lamp {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--amp);
  box-shadow: 0 0 0 3px rgba(255,197,49,.16), 0 0 12px var(--amp);
  animation: pulse 2.6s var(--ease) infinite;
}
@keyframes pulse { 0%,100% { opacity: 1 } 50% { opacity: .35 } }
.bezel-top .spacer { margin-left: auto; }

.screen {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  background: radial-gradient(90% 130% at 28% 6%, #2b52dd, #0a1020 72%);
  display: grid; place-items: center;
  isolation: isolate;
}
.screen img.thumb {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
}
/* fallback art, sits under the image */
.screen .fallback {
  position: absolute; inset: 0; z-index: 0;
  display: grid; place-content: center; gap: .4rem;
  text-align: center; padding: 2rem;
}
.screen .fallback .big {
  font-family: Anton, Impact, sans-serif;
  font-size: clamp(2.6rem, 8vw, 5.5rem);
  text-transform: uppercase; line-height: .88;
  color: rgba(255,255,255,.16);
  letter-spacing: .01em;
}
.screen .fallback .small {
  color: rgba(255,255,255,.42);
  font-family: "Google Sans Code", ui-monospace, monospace;
  font-size: .7rem; letter-spacing: .16em; text-transform: uppercase;
  margin-top: .6rem;
}

.play {
  position: relative; z-index: 3;
  width: clamp(64px, 8vw, 88px); aspect-ratio: 1;
  border-radius: 50%;
  background: var(--volt);
  display: grid; place-items: center;
  box-shadow:
    0 0 0 5px rgba(255,255,255,.9),
    0 14px 44px -8px rgba(8,13,26,.55);
  transition: transform .22s var(--ease), background .2s;
}
.play::before {
  content: "";
  width: 0; height: 0; margin-left: 5px;
  border-left: 20px solid #fff;
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
}
.play::after {
  content: "";
  position: absolute; inset: -5px;
  border-radius: 50%;
  border: 2px solid var(--volt);
  animation: ring 2.8s var(--ease) infinite;
}
@keyframes ring {
  0%   { transform: scale(1);   opacity: .7 }
  70%  { transform: scale(1.5); opacity: 0 }
  100% { transform: scale(1.5); opacity: 0 }
}
.screen:hover .play, .screen:focus-visible .play { transform: scale(1.08); background: var(--volt-deep); }

.screen-scrim {
  position: absolute; inset: 0; z-index: 2;
  background: radial-gradient(30% 42% at 50% 50%, rgba(8,13,26,.34), transparent 72%);
  pointer-events: none;
}
.bezel-bot {
  display: flex; align-items: center; gap: .7rem;
  padding: .8rem .35rem 0;
  color: #7c89ab;
}
.bezel-bot .bar {
  flex: 1; height: 3px; border-radius: 2px;
  background: rgba(255,255,255,.22);
  overflow: hidden;
}
.bezel-bot .bar i { display: block; height: 100%; width: 34%; background: var(--amp); }
.screen.is-playing .play,
.screen.is-playing .screen-cap,
.screen.is-playing .screen-scrim,
.screen.is-playing .fallback { display: none; }

/* ==========================================================================
   RAIL — the seven circuits, previewed
   ========================================================================== */
.pp-rail {
  position: relative; z-index: 3;
  background: var(--panel-2);
  border-top: 1px solid var(--wire);
  border-bottom: 1px solid var(--wire);
  color: #fff;
}
.rail-inner {
  width: var(--shell); margin-inline: auto;
  display: flex; align-items: center; gap: 1rem;
  padding: .85rem 0;
  flex-wrap: wrap;
}
.rail-inner .lbl { color: #6c7897; white-space: nowrap; }
.chips { display: flex; gap: .4rem; flex-wrap: wrap; }
.chip {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .38rem .78rem;
  border-radius: 100px;
  background: rgba(255,255,255,.045);
  box-shadow: inset 0 0 0 1px var(--wire);
  font-size: .875rem; font-weight: 500;
  color: #cdd6e8; text-decoration: none;
  transition: background .18s, color .18s, box-shadow .18s;
}
.chip::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: #3d4a72; transition: background .18s, box-shadow .18s;
}
.chip:hover { background: rgba(31,91,255,.16); color: #fff; box-shadow: inset 0 0 0 1px var(--volt); }
.chip:hover::before { background: var(--amp); box-shadow: 0 0 8px var(--amp); }

/* ==========================================================================
   BOARD — the switchboard (signature)
   ========================================================================== */
.pp-board {
  background: var(--paper);
  padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(3.5rem, 7vw, 6rem);
}
.board-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .8fr);
  gap: 1.5rem 3rem;
  align-items: end;
  margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
}
.board-head h2 { font-size: clamp(2.4rem, 5vw, 4rem); }
.board-head .board-sub { margin: 0; color: var(--ink-2); max-width: 46ch; }

.board-grid {
  display: grid;
  grid-template-columns: 258px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

/* --- breaker column --- */
.switches {
  display: flex; flex-direction: column; gap: 6px;
  padding: 12px;
  border-radius: var(--r);
  background: var(--panel);
  box-shadow: 0 24px 60px -34px rgba(8,13,26,.75), inset 0 0 0 1px var(--wire-dim);
  position: sticky; top: 78px;
}
.switches-cap {
  display: flex; justify-content: space-between; align-items: center;
  padding: .35rem .5rem .75rem;
  color: #5f6c8d;
  border-bottom: 1px dashed var(--wire);
  margin-bottom: 6px;
}
.switch {
  display: grid;
  grid-template-columns: auto 26px minmax(0, 1fr);
  align-items: center;
  gap: .1rem .7rem;
  padding: .6rem .7rem;
  border-radius: 9px;
  text-align: left;
  color: #93a0bd;
  transition: background .2s, color .2s;
}
.switch:hover { background: rgba(255,255,255,.045); color: #d5ddee; }
.switch-ckt {
  grid-row: span 2;
  font-family: "Google Sans Code", ui-monospace, monospace;
  font-size: .66rem; letter-spacing: .06em;
  color: #465477;
  transition: color .2s;
}
.switch-name { font-weight: 600; font-size: .97rem; letter-spacing: -.01em; line-height: 1.25; }
.switch-tag { font-size: .76rem; color: #5f6c8d; line-height: 1.3; }

/* the lever */
.switch-lever {
  grid-row: span 2;
  position: relative;
  width: 20px; height: 34px;
  border-radius: 5px;
  background: #0e1730;
  box-shadow: inset 0 0 0 1px var(--wire);
  overflow: hidden;
}
.switch-lever i {
  position: absolute; left: 3px; right: 3px; height: 15px;
  bottom: 3px;
  border-radius: 3px;
  background: linear-gradient(#3b486d, #232f52);
  transition: bottom .28s var(--ease), background .28s;
}
.switch[aria-selected="true"] { background: rgba(31,91,255,.14); color: #fff; }
.switch[aria-selected="true"] .switch-ckt { color: var(--amp); }
.switch[aria-selected="true"] .switch-tag { color: #9fb0d6; }
.switch[aria-selected="true"] .switch-lever { box-shadow: inset 0 0 0 1px var(--volt); }
.switch[aria-selected="true"] .switch-lever i {
  bottom: 16px;
  background: linear-gradient(var(--amp), #e0a412);
  box-shadow: 0 0 14px rgba(255,197,49,.65);
}

/* --- display column --- */
.panels {
  position: relative;
  border-radius: var(--r);
  background: var(--paper-2);
  box-shadow: 0 1px 0 rgba(8,13,26,.04), 0 30px 70px -46px rgba(8,13,26,.5), inset 0 0 0 1px var(--hair);
  overflow: hidden;
  min-height: 520px;
}
.panels::before { /* live current across the top edge */
  content: "";
  position: absolute; top: 0; left: 0; height: 3px; width: 100%;
  background: linear-gradient(90deg, var(--volt), var(--volt-lit), var(--amp));
  transform-origin: left;
  animation: charge .7s var(--ease);
}
@keyframes charge { from { transform: scaleX(0) } to { transform: scaleX(1) } }

.panel { display: none; padding: clamp(1.5rem, 3vw, 2.4rem); }
.panel.is-live { display: grid; }
.panel {
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(1.5rem, 3vw, 2.6rem);
  align-items: center;
}
.panel-copy > .lbl { color: var(--volt); display: block; margin-bottom: .7rem; }
.panel-copy h3 {
  font-family: Anton, Impact, sans-serif; font-weight: 400;
  font-size: clamp(2.1rem, 3.6vw, 3.1rem);
  line-height: .95; letter-spacing: .005em;
  margin: 0 0 .1rem;
  text-transform: none;
}
.panel-copy .promise {
  font-size: 1.16rem; font-weight: 600; letter-spacing: -.015em;
  color: var(--volt-deep);
  margin: .5rem 0 .8rem;
}
.panel-copy .body { margin: 0; color: var(--ink-2); font-size: .99rem; }
.specs { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; gap: .5rem; }
.specs li {
  display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: .65rem;
  align-items: start;
  font-size: .92rem;
  padding-top: .5rem;
  border-top: 1px solid var(--hair);
}
.specs li::before {
  content: ""; margin-top: .42rem;
  width: 9px; height: 9px; border-radius: 2px;
  background: var(--volt);
  box-shadow: 0 0 0 3px var(--volt-wash);
}
.panel-copy .btn { margin-top: 1.5rem; }

.panel-anim { animation: panelIn .45s var(--ease) both; }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px) } to { opacity: 1; transform: none } }

/* ==========================================================================
   DEMO VIGNETTES
   ========================================================================== */
.demo {
  position: relative;
  border-radius: 12px;
  padding: 2.5rem 1.1rem 1.4rem;
  min-height: 348px;
  background:
    radial-gradient(120% 100% at 80% 0%, #17224a, transparent 60%),
    var(--panel);
  box-shadow: inset 0 0 0 1px var(--wire-dim);
  display: grid;
  overflow: hidden;
  color: #fff;
}
.demo::after { /* scanline sheen */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.045) 50%, transparent 60%);
  pointer-events: none;
}
.demo .demo-tag {
  position: absolute; top: .85rem; right: .95rem;
  color: #5f6c8d; z-index: 4;
}

/* mini shared bits */
.mini {
  background: #fff; color: var(--ink);
  border-radius: 9px;
  box-shadow: 0 10px 30px -14px rgba(0,0,0,.7);
}
.mini-bar { height: 8px; border-radius: 99px; background: var(--hair); }
.mini-bar.w70 { width: 70%; } .mini-bar.w50 { width: 50%; }
.mini-bar.w85 { width: 85%; } .mini-bar.w40 { width: 40%; }
.stars { color: var(--amp); letter-spacing: .08em; font-size: .8rem; }

/* --- 01 QuoteVids --- */
.d-qv { align-content: center; gap: .75rem; }
.qv-card { padding: .85rem; display: grid; gap: .6rem; }
.qv-head { display: flex; align-items: center; gap: .5rem; font-size: .8rem; font-weight: 600; }
.rec {
  margin-left: auto; display: inline-flex; align-items: center; gap: .35rem;
  font-family: "Google Sans Code", monospace; font-size: .68rem; color: #d33;
}
.rec i { width: 7px; height: 7px; border-radius: 50%; background: #e0343a; animation: pulse 1.4s infinite; }
.qv-body { display: grid; grid-template-columns: 1fr 78px; gap: .6rem; align-items: start; }
.qv-doc { display: grid; gap: .4rem; }
.qv-doc .row { display: flex; justify-content: space-between; align-items: center; font-size: .68rem; color: var(--ink-2); }
.qv-doc .row b { color: var(--ink); font-size: .78rem; }
.qv-cam-wrap { display: grid; gap: .28rem; justify-items: center; }
.qv-cam {
  width: 100%;
  aspect-ratio: 3/4; border-radius: 6px;
  background: #33405f;
  position: relative; overflow: hidden;
  box-shadow: 0 0 0 1.5px var(--volt);
}
.qv-cam img {
  width: 100%; height: 100%;
  object-fit: cover;
  /* the face sits just right of centre in the source frame */
  object-position: 54% center;
}
.qv-cam-name {
  font-family: "Google Sans Code", ui-monospace, monospace;
  font-size: .52rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-2);
}
.qv-wave { display: flex; align-items: flex-end; gap: 2px; height: 20px; }
.qv-wave span {
  flex: 1; background: var(--volt); border-radius: 1px;
  animation: wave 1.1s ease-in-out infinite alternate;
}
@keyframes wave { from { height: 15% } to { height: 100% } }

.toasts { display: grid; gap: .45rem; }
.toast {
  display: flex; align-items: center; gap: .55rem;
  padding: .55rem .7rem;
  border-radius: 8px;
  background: rgba(255,255,255,.06);
  box-shadow: inset 0 0 0 1px var(--wire);
  font-size: .78rem; color: #cdd6e8;
  opacity: 0; transform: translateX(14px);
}
.is-live .toast { animation: toastIn .5s var(--ease) forwards; }
.is-live .toast:nth-child(1) { animation-delay: .5s; }
.is-live .toast:nth-child(2) { animation-delay: 1.5s; }
@keyframes toastIn { to { opacity: 1; transform: none } }
.toast .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--amp); flex: none; box-shadow: 0 0 8px var(--amp); }
.toast .dot.win { background: #2fbf6c; box-shadow: 0 0 8px #2fbf6c; }
.toast time { margin-left: auto; color: #5f6c8d; font-family: "Google Sans Code", monospace; font-size: .66rem; }

/* --- 02 ConversionCards --- */
.d-cc { align-content: center; }
.site-mock {
  width: 100%; max-width: 330px; margin-inline: auto;
  aspect-ratio: 4/3;
  border-radius: 8px;
  background: #f6f8fd;
  position: relative; overflow: hidden;
  box-shadow: 0 16px 40px -18px rgba(0,0,0,.75);
}
.site-mock .bar-top { height: 22px; background: #e6ebf6; display: flex; align-items: center; gap: 4px; padding: 0 8px; }
.site-mock .bar-top i { width: 6px; height: 6px; border-radius: 50%; background: #c3cddf; }
.site-mock .content { padding: 14px; display: grid; gap: 7px; }
.site-mock .content .mini-bar { background: #dbe3f2; }
.site-mock .hero-blk { height: 46px; border-radius: 5px; background: linear-gradient(120deg, #c9d7f8, #e9eefb); margin-bottom: 4px; }
.pop {
  position: absolute; left: 10px; bottom: 10px; right: 10px;
  background: #fff; border-radius: 8px; padding: .5rem .6rem;
  display: flex; align-items: center; gap: .5rem;
  box-shadow: 0 12px 28px -10px rgba(0,0,0,.45);
  color: var(--ink);
  opacity: 0; transform: translateY(16px);
}
.is-live .pop { animation: popCycle 5s var(--ease) infinite; }
.is-live .pop.b { animation-delay: 2.5s; }
@keyframes popCycle {
  0%   { opacity: 0; transform: translateY(16px) }
  8%   { opacity: 1; transform: none }
  45%  { opacity: 1; transform: none }
  55%  { opacity: 0; transform: translateY(-8px) }
  100% { opacity: 0; transform: translateY(-8px) }
}
.pop .av { width: 24px; height: 24px; border-radius: 50%; background: linear-gradient(140deg, #8fa4d4, #4a5f92); flex: none; }
.pop .txt { font-size: .68rem; line-height: 1.35; }
.pop .txt b { display: block; font-size: .72rem; }
.notif-bar {
  position: absolute; top: 22px; left: 0; right: 0;
  background: var(--volt); color: #fff;
  font-size: .64rem; text-align: center; padding: .3rem;
  transform: translateY(-100%);
}
.is-live .notif-bar { animation: barDrop 5s var(--ease) infinite; }
@keyframes barDrop {
  0%, 60% { transform: translateY(-100%) }
  68%, 96% { transform: none }
  100% { transform: translateY(-100%) }
}

/* --- 03 SocialReels --- */
.d-sr { place-content: center; }
.reels { display: flex; gap: .6rem; justify-content: center; align-items: center; }
.reel {
  width: 84px; aspect-ratio: 9/16;
  border-radius: 10px; flex: none;
  position: relative; overflow: hidden;
  box-shadow: 0 16px 34px -16px rgba(0,0,0,.8), inset 0 0 0 1px rgba(255,255,255,.12);
  transition: transform .5s var(--ease);
}
.reel:nth-child(1) { background: linear-gradient(160deg, #7c5cc4, #3a2a63); transform: rotate(-6deg) translateY(8px) scale(.9); }
.reel:nth-child(2) { background: linear-gradient(160deg, #2f6df0, #16255c); z-index: 2; width: 100px; }
.reel:nth-child(3) { background: linear-gradient(160deg, #d0517f, #5c2145); transform: rotate(6deg) translateY(8px) scale(.9); }
.is-live .reel:nth-child(2) { animation: reelBob 3.4s ease-in-out infinite; }
@keyframes reelBob { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-7px) } }
.reel .pl {
  position: absolute; inset: 0; margin: auto;
  width: 24px; height: 24px; border-radius: 50%;
  background: rgba(255,255,255,.85);
  display: grid; place-items: center;
}
.reel .pl::after {
  content: ""; border-left: 8px solid var(--panel);
  border-top: 5px solid transparent; border-bottom: 5px solid transparent; margin-left: 3px;
}
.reel .scrub { position: absolute; left: 6px; right: 6px; bottom: 6px; height: 2px; background: rgba(255,255,255,.3); border-radius: 2px; overflow: hidden; }
.reel .scrub i { display: block; height: 100%; background: #fff; width: 30%; }
.is-live .reel .scrub i { animation: scrub 4s linear infinite; }
@keyframes scrub { from { width: 4% } to { width: 100% } }
.reel-src { display: flex; gap: .4rem; justify-content: center; margin-top: 1rem; }
.reel-src span {
  font-size: .68rem; padding: .25rem .55rem; border-radius: 99px;
  background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px var(--wire); color: #aab6d0;
}

/* --- 04 FunnelForm --- */
.d-ff { align-content: center; gap: .9rem; }
.steps { display: flex; align-items: center; gap: .35rem; }
.steps .st {
  flex: 1; height: 4px; border-radius: 2px; background: rgba(255,255,255,.14);
  position: relative; overflow: hidden;
}
.steps .st i { position: absolute; inset: 0; width: 0; background: var(--amp); }
.is-live .steps .st i { animation: fill 1.2s var(--ease) forwards; }
.is-live .steps .st:nth-child(1) i { animation-delay: .2s }
.is-live .steps .st:nth-child(2) i { animation-delay: 1.2s }
.is-live .steps .st:nth-child(3) i { animation-delay: 2.2s }
.is-live .steps .st:nth-child(4) i { animation-delay: 3.2s }
@keyframes fill { to { width: 100% } }

.ff-card { padding: .85rem; display: grid; gap: .65rem; }
.ff-vid {
  aspect-ratio: 16/8; border-radius: 6px;
  background: linear-gradient(150deg, #5a6f9d, #2a3654);
  display: grid; place-items: center; position: relative;
}
.ff-vid .pl { width: 30px; height: 30px; border-radius: 50%; background: #2fbf6c; display: grid; place-items: center; }
.ff-vid .pl::after { content: ""; border-left: 9px solid #fff; border-top: 6px solid transparent; border-bottom: 6px solid transparent; margin-left: 3px; }
.ff-q { font-size: .82rem; font-weight: 700; }
.ff-opts { display: grid; grid-template-columns: 1fr 1fr; gap: .35rem; }
.ff-opt {
  font-size: .68rem; padding: .35rem .45rem; border-radius: 5px;
  background: #f3f6fc; box-shadow: inset 0 0 0 1px var(--hair);
  display: flex; align-items: center; justify-content: space-between;
}
.ff-opt.pick { background: var(--volt-wash); box-shadow: inset 0 0 0 1.5px var(--volt); font-weight: 600; }
.ff-opt .sv { color: #1f9d57; font-size: .6rem; font-weight: 700; }
.ff-next { background: #17a25c; color: #fff; text-align: center; font-size: .72rem; font-weight: 600; padding: .42rem; border-radius: 5px; }

/* --- 05 GoogleReviews --- */
.d-gr { align-content: center; gap: .8rem; }
.gr-rail { display: grid; gap: .5rem; }
.gr-card { padding: .7rem .8rem; display: grid; gap: .3rem; }
.gr-card .who { display: flex; align-items: center; gap: .45rem; font-size: .76rem; font-weight: 600; }
.gr-card .who .av { width: 20px; height: 20px; border-radius: 50%; background: linear-gradient(140deg, #93a8d8, #45598c); flex: none; }
.gr-card .who .g { margin-left: auto; font-family: "Google Sans Code", monospace; font-size: .6rem; color: var(--ink-2); }
.gr-card p { margin: 0; font-size: .72rem; color: var(--ink-2); line-height: 1.45; }
.is-live .gr-card { animation: slideUp .6s var(--ease) both; }
.is-live .gr-card:nth-child(1) { animation-delay: .1s }
.is-live .gr-card:nth-child(2) { animation-delay: .3s }
.is-live .gr-card:nth-child(3) { animation-delay: .5s }
@keyframes slideUp { from { opacity: 0; transform: translateY(14px) } to { opacity: 1; transform: none } }
.gr-score {
  display: flex; align-items: center; gap: .6rem;
  color: #cdd6e8; font-size: .78rem;
}
.gr-score b { font-family: Anton, Impact, sans-serif; font-size: 1.5rem; font-weight: 400; color: #fff; }

/* --- 06 CaseStudies --- */
.d-cs { align-content: center; }
.vs { display: grid; grid-template-columns: 1fr auto 1fr; gap: .6rem; align-items: center; }
.vs-col { padding: .85rem .8rem; display: grid; gap: .35rem; text-align: center; }
.vs-col .who { font-size: .68rem; color: var(--ink-2); font-weight: 600; }
.vs-col .amt { font-family: Anton, Impact, sans-serif; font-weight: 400; font-size: 1.9rem; line-height: 1; }
.vs-col .cov { font-size: .64rem; color: var(--ink-2); }
.vs-col.lose { background: #eef1f7; color: #7b849c; }
.vs-col.lose .amt { color: #99a2b8; text-decoration: line-through; text-decoration-thickness: 2px; }
.vs-col.win { background: linear-gradient(160deg, var(--volt), var(--volt-deep)); color: #fff; box-shadow: 0 16px 34px -14px rgba(31,91,255,.9); }
.vs-col.win .who, .vs-col.win .cov { color: rgba(255,255,255,.75); }
.vs-badge {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--panel-3); color: #fff;
  display: grid; place-items: center;
  font-family: "Google Sans Code", monospace; font-size: .66rem; font-weight: 700;
  box-shadow: inset 0 0 0 1px var(--wire);
}
.cs-saved {
  margin-top: .8rem; text-align: center;
  padding: .6rem; border-radius: 8px;
  background: rgba(47,191,108,.12);
  box-shadow: inset 0 0 0 1px rgba(47,191,108,.35);
  color: #8ff0bb; font-size: .78rem; font-weight: 600;
}
.cs-saved b { font-family: Anton, Impact, sans-serif; font-weight: 400; font-size: 1.1rem; }
.cs-lead {
  margin-top: .5rem; display: flex; gap: .4rem; align-items: center;
  font-size: .7rem; color: #8996b5;
}

/* --- 07 MobileBar --- */
.d-mb { place-content: center; }
.phone {
  width: 172px; aspect-ratio: 9/17.5;
  border-radius: 22px; padding: 7px;
  background: #1c2745;
  box-shadow: 0 24px 50px -20px rgba(0,0,0,.9), inset 0 0 0 1px rgba(255,255,255,.1);
  position: relative; margin-inline: auto;
}
.phone .glass {
  height: 100%; border-radius: 16px; background: #f5f7fc;
  overflow: hidden; position: relative;
  display: grid; grid-template-rows: auto 1fr auto;
}
.phone .notch { height: 16px; display: grid; place-items: center; }
.phone .notch i { width: 42px; height: 4px; border-radius: 99px; background: #d3dbea; }
.phone .pg { padding: 8px 10px; display: grid; gap: 6px; align-content: start; }
.phone .pg .mini-bar { background: #dfe6f4; }
.phone .pg .blk { height: 40px; border-radius: 5px; background: linear-gradient(120deg, #ccd9f9, #eaeffc); }
.mbar {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--panel); padding: 7px 4px 9px;
}
.mbar b {
  display: grid; justify-items: center; gap: 3px;
  font-size: .48rem; font-weight: 600; color: #8695b8; letter-spacing: .02em;
}
.mbar b span {
  width: 20px; height: 20px; border-radius: 6px;
  background: rgba(255,255,255,.09);
  display: grid; place-items: center;
}
.mbar b span::after { content: ""; width: 9px; height: 9px; border-radius: 2px; background: #67769c; }
.is-live .mbar b { animation: litUp 3.2s var(--ease) infinite; }
.is-live .mbar b:nth-child(1) { animation-delay: 0s }
.is-live .mbar b:nth-child(2) { animation-delay: .8s }
.is-live .mbar b:nth-child(3) { animation-delay: 1.6s }
.is-live .mbar b:nth-child(4) { animation-delay: 2.4s }
@keyframes litUp {
  0%, 18%, 100% { color: #8695b8 }
  6%, 12%       { color: #fff }
}
.is-live .mbar b span { animation: litBg 3.2s var(--ease) infinite; animation-delay: inherit; }
@keyframes litBg {
  0%, 18%, 100% { background: rgba(255,255,255,.09) }
  6%, 12%       { background: var(--volt); box-shadow: 0 0 14px rgba(31,91,255,.8) }
}
.mb-stat {
  margin-top: 1rem; text-align: center;
  font-size: .74rem; color: #8996b5;
}
.mb-stat b { color: var(--amp); font-family: "Google Sans Code", monospace; }

/* ==========================================================================
   GAUGES
   ========================================================================== */
.pp-gauges {
  background: var(--panel);
  color: #fff;
  padding: clamp(2.5rem, 5vw, 3.75rem) 0;
  border-top: 1px solid var(--wire-dim);
}
.gauge-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--wire-dim);
  border-radius: var(--r); overflow: hidden;
  box-shadow: inset 0 0 0 1px var(--wire-dim);
}
.gauge { background: var(--panel); padding: 1.6rem 1.5rem; }
.gauge .lbl { color: #5f6c8d; }
.gauge .read {
  font-family: Anton, Impact, sans-serif; font-weight: 400;
  font-size: clamp(2.6rem, 5.5vw, 3.9rem); line-height: 1;
  margin: .6rem 0 .35rem;
  color: var(--amp);
}
.gauge .read .unit { color: #4a5578; }
.gauge p { margin: 0; color: #93a0bd; font-size: .9rem; max-width: 30ch; }

/* ==========================================================================
   CTA
   ========================================================================== */
.pp-cta {
  background: var(--paper);
  padding: clamp(3rem, 6vw, 5rem) 0;
}
.cta-box {
  position: relative; overflow: hidden;
  border-radius: 20px;
  padding: clamp(2rem, 5vw, 3.6rem);
  background: linear-gradient(140deg, #2a63ff 0%, #0d2f9e 58%, #071a52 100%);
  color: #fff;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  box-shadow: 0 40px 90px -40px rgba(13,47,158,.9);
}
.cta-box::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(255,255,255,.07) 1px, transparent 1px) 0 0/56px 56px,
    linear-gradient(to bottom, rgba(255,255,255,.06) 1px, transparent 1px) 0 0/56px 56px;
  mask-image: radial-gradient(90% 90% at 90% 10%, #000, transparent 70%);
  pointer-events: none;
}
.cta-box > * { position: relative; z-index: 2; }
.cta-box h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
.cta-box .sub { margin: 1rem 0 0; color: rgba(255,255,255,.82); max-width: 42ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.9rem; }
.quote {
  border-left: 3px solid var(--amp);
  padding-left: 1.2rem;
}
.quote blockquote { margin: 0; font-size: 1.08rem; line-height: 1.5; }
.quote figcaption {
  margin-top: 1rem;
  display: flex; align-items: center; gap: .7rem;
  color: rgba(255,255,255,.7); font-size: .86rem;
}
.quote figcaption img {
  width: 46px; height: 46px; flex: none;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 2px rgba(255,197,49,.9);
}
.quote figcaption b { display: block; color: #fff; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.pp-foot {
  background: var(--panel);
  color: #7c89ab;
  padding: 2.5rem 0;
  border-top: 1px solid var(--wire-dim);
}
.foot-inner { display: flex; flex-wrap: wrap; gap: 1.25rem; align-items: center; justify-content: space-between; }
.pp-foot a { color: #aab6d0; text-decoration: none; }
.pp-foot a:hover { color: #fff; text-decoration: underline; }
.foot-links { display: flex; gap: 1.25rem; flex-wrap: wrap; font-size: .9rem; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1080px) {
  .board-grid { grid-template-columns: 218px minmax(0, 1fr); }
  .switch { grid-template-columns: auto 20px minmax(0, 1fr); gap: .1rem .55rem; }
  .switch-lever { width: 17px; height: 30px; }
  .switch-lever i { height: 13px; }
  .switch[aria-selected="true"] .switch-lever i { bottom: 14px; }
}

/* "Add PowerPack To My Account" is a wide label; retire the tagline
   before the bar runs out of room rather than letting it overflow. */
@media (max-width: 980px) {
  .nav-meta .lbl { display: none; }
}

@media (max-width: 920px) {
  :root { --shell: min(720px, 100% - 2.5rem); }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .board-head { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .panel.is-live { grid-template-columns: minmax(0, 1fr); }
  .panels { min-height: 0; }
  .cta-box { grid-template-columns: minmax(0, 1fr); }
  .gauge-grid { grid-template-columns: minmax(0, 1fr); }

  /* breakers become a horizontal rail */
  .board-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .switches {
    position: static;
    flex-direction: row;
    overflow-x: auto;
    gap: 8px;
    padding: 10px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    /* fade the trailing edge so it reads as a scroller */
    mask-image: linear-gradient(to right, #000 84%, transparent 100%);
  }
  .switches::-webkit-scrollbar { display: none; }
  .switches-cap { display: none; }
  .switch {
    flex: 0 0 auto;
    scroll-snap-align: start;
    grid-template-columns: 18px minmax(0, 1fr);
    grid-template-rows: auto auto;
    width: 178px;
    align-items: center;
  }
  .switch-ckt { grid-row: 1; grid-column: 2; font-size: .6rem; }
  .switch-lever { grid-row: span 2; grid-column: 1; width: 16px; height: 30px; }
  .switch-lever i { height: 13px; }
  .switch[aria-selected="true"] .switch-lever i { bottom: 14px; }
  .switch-name { grid-column: 2; }
  .switch-tag { display: none; }
}

@media (max-width: 700px) {
  body { font-size: 16px; }
  .nav-links { display: none; }

  /* The full label is 241px against a 335px bar shared with a 123px
     logo. Shorten the control rather than shrink it below a comfortable
     tap target; screen readers get "Add PowerPack", still unambiguous. */
  .pp-nav .cta-tail { display: none; }
  /* the shorter label left the bar's only button under a 44px tap target */
  .pp-nav .btn.sm { padding: .72rem 1rem; }

  /* hero reads as a centred stack on a narrow screen */
  .hero-copy { text-align: center; }
  .hero-copy p.lede { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .demo { min-height: 300px; }
  .hero-actions .btn { flex: 1 1 auto; justify-content: center; }
  .rail-inner { padding: .75rem 0 .9rem; }
  .rail-inner > .lbl { width: 100%; }
  .chips {
    flex-wrap: nowrap; overflow-x: auto; width: 100%;
    padding-bottom: .25rem; scrollbar-width: none;
    mask-image: linear-gradient(to right, #000 86%, transparent 100%);
  }
  .chips::-webkit-scrollbar { display: none; }
  .chip { white-space: nowrap; }
}

/* ==========================================================================
   MOTION PREFERENCES
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .toast, .pop, .gr-card { opacity: 1 !important; transform: none !important; }
  .steps .st i { width: 100%; }
  .play::after { display: none; }
}
