:root {
  color-scheme: dark;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  --ink: #070b12; /* navy-tinted black ground */
  --panel: #0c1420;
  --panel-2: #111c2c;
  --line: #1e2c40;
  --fg: #eef2f6;
  --muted: #9aa8b8;
  --green: #80ba34; /* EVSE core green */
  --teal: #209cb5; /* EVSE bright blue */
  --navy: #094572; /* EVSE dark blue */
  --glass-hi: rgba(255, 255, 255, 0.2); /* frosted console, top-left */
  --glass-lo: rgba(255, 255, 255, 0.06);
  --glass-line: rgba(255, 255, 255, 0.2);
  --soft: #c8d3de; /* secondary text on glass */
  --grad: linear-gradient(
    90deg,
    var(--green) 0%,
    var(--teal) 50%,
    var(--navy) 100%
  );
  --wrap: 1280px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}
body {
  margin: 0;
  background: var(--ink);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 10;
  background: var(--ink);
}
a {
  color: inherit;
}
h1,
h2,
h3 {
  line-height: 1.08;
  margin: 0;
  text-wrap: balance;
  letter-spacing: 0.01em;
}
p {
  margin: 0;
}
img {
  max-width: 100%;
  height: auto;
}
[hidden]:not([hidden="until-found" i]) {
  display: none;
}
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.eyebrow {
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
}
:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 9;
  background: color-mix(in srgb, var(--ink) 82%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: var(--grad);
  opacity: 0.7;
}
.nav-in {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 60px;
}
.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  max-width: 200px;
}
.nav-links {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.nav-links a {
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
  padding: 8px 12px;
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.on {
  color: var(--fg);
}
.nav-links a.on {
  box-shadow: inset 0 -2px 0 var(--green);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  padding: 13px 22px;
  color: #061008;
  background: var(--green);
  clip-path: polygon(
    0 0,
    calc(100% - 10px) 0,
    100% 10px,
    100% 100%,
    10px 100%,
    0 calc(100% - 10px)
  );
  transition:
    filter 0.2s,
    transform 0.2s;
}
.btn:hover {
  filter: brightness(1.12);
}
.btn.ghost {
  background: transparent;
  color: var(--fg);
  box-shadow: inset 0 0 0 1px var(--line);
}
.btn.ghost:hover {
  box-shadow: inset 0 0 0 1px var(--teal);
  filter: none;
}
.nav .btn {
  padding: 9px 16px;
  font-size: 13px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  --bh: clamp(220px, min(46vw, 100vh - 210px), 600px);
}
@media (min-width: 1930px) {
  .hero {
    --bh: calc(100vw * 933 / 2200);
    --bh: calc(100vw * 933 / 3600);
  }
}
.banner {
  position: relative;
  height: var(--bh);
  overflow: hidden;
}
.banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 22% 45%;
  display: block;
  max-width: 100%;
}
.banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(7, 11, 18, 0) 45%,
    rgba(7, 11, 18, 0.75) 78%,
    var(--ink) 100%
  );
}
.hero-copy {
  position: relative;
  margin-top: clamp(-110px, -6vw, -40px);
  padding-block: 0 56px;
}
/* Rebate coupon: centered midway between page top and headline; big green $50, small terms */
.event-pos {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(var(--bh) * 0.44);
  transform: translateY(-50%);
  z-index: 3;
  display: flex;
  justify-content: center;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  pointer-events: none;
}
.event {
  pointer-events: auto;
  display: inline-flex;
  align-items: stretch;
  max-width: 100%;
  min-height: 118px;
  border-radius: 16px;
  text-decoration: none;
  color: var(--fg);
  background: linear-gradient(
    90deg,
    rgba(128, 186, 52, 0.26),
    rgba(32, 156, 181, 0.16) 60%,
    rgba(7, 11, 18, 0.5)
  );
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow:
    inset 0 0 0 1px rgba(128, 186, 52, 0.55),
    0 0 34px rgba(128, 186, 52, 0.16),
    0 16px 40px rgba(0, 0, 0, 0.45);
  position: relative;
  overflow: hidden;
  transition:
    box-shadow 0.25s,
    transform 0.25s;
}
.event::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    transparent 30%,
    rgba(255, 255, 255, 0.1) 45%,
    transparent 60%
  );
  transform: translateX(-120%);
  animation: sheen 6s ease-in-out 1.2s infinite;
  pointer-events: none;
}
@keyframes sheen {
  0% {
    transform: translateX(-120%);
  }
  35%,
  100% {
    transform: translateX(120%);
  }
}
.event:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0 0 0 1px var(--green),
    0 0 40px rgba(128, 186, 52, 0.3),
    0 16px 40px rgba(0, 0, 0, 0.45);
}
@media (min-width: 1930px) {
  .event {
    transform: scale(clamp(1.2, 1.2 + (100vw - 1930px) / 5000px, 1.35));
  }
  .event:hover {
    transform: scale(clamp(1.2, 1.2 + (100vw - 1930px) / 5000px, 1.35))
      translateY(-2px);
  }
}
.ev-amt {
  display: flex;
  align-items: center;
  padding: 4px 26px 4px 28px;

  font-weight: 700;
  font-size: 90px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #061008;
  background: linear-gradient(
    135deg,
    #b8e86a 0%,
    var(--green) 50%,
    #5fa23a 100%
  );
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.ev-amt sup {
  font-size: 0.42em;
  vertical-align: 0.95em;
  margin-right: 4px;
}
/* perforation */
.ev-text {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  min-width: 0;
  padding: 12px 26px 12px 24px;
  border-left: 2px dashed rgba(255, 255, 255, 0.28);
}
.ev-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.ev-label {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--soft);
}
.ev-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;

  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg);
  padding: 2px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 0 1px var(--glass-line);
}
.ev-status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
}
.ev-status.live::before {
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
}
.ev-main {
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.02em;
  max-width: 22ch;
}
.ev-main em {
  font-style: normal;
  color: #b7f06a;
}
.ev-go {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
}
.hero-copy h1 {
  font-size: clamp(38px, 6.2vw, 76px);
  font-weight: 700;
  max-width: 13ch;
  margin-top: 10px;
}
.hero-copy h1 span {
  background: linear-gradient(90deg, var(--green), var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-copy .lede {
  color: #c9d3dd;
  font-size: clamp(17px, 1.6vw, 19px);
  max-width: 56ch;
  margin-top: 18px;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.readout {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 44px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.readout div {
  padding: 16px 18px;
  border-left: 1px solid var(--line);
  min-width: 0;
}
.readout div:first-child {
  border-left: 0;
  padding-left: 0;
}
.readout b {
  display: block;

  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.readout span {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Sections ---------- */
section.block {
  padding-block: 88px 0;
}
section.block:nth-last-of-type(1) {
  padding-bottom: 5%;
}
.sec-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 40px;
  max-width: 62ch;
}
.sec-head h2 {
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 700;
}
.sec-head p {
  color: var(--muted);
}

/* Features intro with product shot */
.feat-top {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  margin-bottom: 40px;
}
.feat-top .sec-head {
  margin-bottom: 0;
}
.feat-top .shot img {
  max-height: 442px;
}
.shot {
  position: relative;
  display: grid;
  place-items: center;
  margin: 0;
}
.shot::before {
  content: "";
  position: absolute;
  inset: 8% 4%;
  border-radius: 50%;
  background: radial-gradient(
    closest-side,
    rgba(32, 156, 181, 0.38),
    rgba(128, 186, 52, 0.12) 60%,
    transparent
  );
  filter: blur(8px);
}
.shot img {
  position: relative;
  max-height: 520px;
  width: auto;
  max-width: 100%;
  filter: drop-shadow(0 24px 30px rgba(0, 0, 0, 0.55));
}
.shot figcaption {
  position: relative;

  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 8px;
}
/* Controller buttons spotlight */
.ctrl {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
  margin-top: 72px;
  padding: clamp(28px, 4vw, 48px);
  border-radius: 20px;
  background:
    radial-gradient(
      60% 80% at 20% 50%,
      rgba(32, 156, 181, 0.22),
      transparent 70%
    ),
    var(--panel);
  box-shadow: inset 0 0 0 1px var(--line);
}
.ctrl-shot {
  position: relative;
  margin: 0 auto;
  width: min(100%, 260px);
}
.ctrl-shot img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 24px 30px rgba(0, 0, 0, 0.6));
}
.pin {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 15%;
  aspect-ratio: 1;
  max-width: 100%;
  border-radius: 50%;
  box-shadow:
    0 0 0 2px var(--green),
    0 0 18px rgba(128, 186, 52, 0.7);
  animation: pulse 2.4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes pulse {
  0%,
  100% {
    box-shadow:
      0 0 0 2px var(--green),
      0 0 10px rgba(128, 186, 52, 0.5);
  }
  50% {
    box-shadow:
      0 0 0 2px var(--green),
      0 0 26px rgba(128, 186, 52, 0.95);
  }
}
.ctrl-copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}
.ctrl-copy h2 {
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 700;
}
.ctrl-lede {
  color: var(--muted);
  max-width: 56ch;
}
.ctrl-list {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  gap: 18px;
}
.ctrl-list li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
.key {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;

  font-weight: 600;
  font-size: 20px;
  color: var(--fg);
  background: #1a2230;
  box-shadow:
    inset 0 0 0 2px #8a929c,
    0 4px 0 #05080d;
}
.ctrl-list h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 2px;
}
.ctrl-list p {
  color: var(--muted);
  font-size: 16px;
}
.ctrl-note {
  font-size: 14.5px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
}
.feat {
  background: var(--panel);
  padding: 30px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  position: relative;
}
.feat .tag {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--teal);
  text-transform: uppercase;
}
.feat h3 {
  font-size: 22px;
  font-weight: 600;
}
.feat p {
  color: var(--muted);
  font-size: 16px;
}
.feat:hover {
  background: var(--panel-2);
}
.feat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 2px;
  background: var(--green);
  transition: width 0.3s;
}
.feat:hover::before {
  width: 72px;
}

/* ---------- Configurator (glass console over brand glow) ---------- */
#build {
  position: relative;
  isolation: isolate;
}
#build::before {
  content: "";
  position: absolute;
  inset: 20px 0 -60px;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(
      38% 46% at 16% 62%,
      rgba(128, 186, 52, 0.42),
      transparent 72%
    ),
    radial-gradient(
      42% 52% at 84% 42%,
      rgba(32, 156, 181, 0.55),
      transparent 72%
    ),
    radial-gradient(
      70% 55% at 50% 105%,
      rgba(9, 69, 114, 0.85),
      transparent 70%
    );
}
.console {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: linear-gradient(155deg, var(--glass-hi), var(--glass-lo));
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  border: 1px solid var(--glass-line);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.console::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: var(--grad);
}
.console .q p,
.console .hint,
.console .opt .desc,
.console .rail .n,
.console .rail .l,
.console .rail .v,
.console .linkish,
.console .fine {
  color: var(--soft);
}
.rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid var(--glass-line);
  background: rgba(255, 255, 255, 0.04);
}
.rail button {
  all: unset;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 18px 24px;
  border-left: 1px solid var(--glass-line);
  min-width: 0;
}
.rail button:first-child {
  border-left: 0;
}
.rail button:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: -2px;
}
.rail button[disabled] {
  cursor: default;
}
.rail .n {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.rail .l {
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.rail .v {
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rail button.cur {
  box-shadow: inset 0 -2px 0 var(--green);
}
.rail button.cur .l,
.rail button.done .l {
  color: var(--fg);
}
.rail button.done .v {
  color: var(--green);
}
.stage {
  padding: 40px clamp(18px, 4vw, 48px) 44px;
}
.q {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 28px;
}
.q h3 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
}
.q p {
  color: var(--muted);
  max-width: 60ch;
}
.opts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.opt {
  all: unset;
  box-sizing: border-box;
  cursor: pointer;
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 24px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow:
    inset 0 0 0 1px var(--glass-line),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition:
    box-shadow 0.2s,
    background 0.2s,
    transform 0.2s;
  min-width: 0;
}
.opt:hover {
  background: rgba(255, 255, 255, 0.12);
  box-shadow:
    inset 0 0 0 1px rgba(32, 156, 181, 0.9),
    0 10px 30px rgba(32, 156, 181, 0.18);
  transform: translateY(-2px);
}
.opt:focus-visible {
  box-shadow: inset 0 0 0 2px var(--teal);
}
.opt[aria-pressed="true"] {
  box-shadow:
    inset 0 0 0 2px var(--green),
    0 0 34px rgba(128, 186, 52, 0.28);
  background: rgba(128, 186, 52, 0.16);
}
/* color cards: tall, product photo on a lit glass tile */
.opts.colors .opt {
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
  padding: 16px 16px 20px;
  position: relative;
}
.opts.colors .check {
  position: absolute;
  top: 16px;
  right: 16px;
}
.tile {
  display: block;
  position: relative;
  height: clamp(220px, 26vw, 300px);
  border-radius: 10px;
  background: radial-gradient(
    60% 55% at 50% 45%,
    rgba(255, 255, 255, 0.34),
    rgba(255, 255, 255, 0.06) 75%
  );
  overflow: hidden;
}
.tile img {
  position: absolute;
  left: 0;
  right: 0;
  top: 4%;
  height: 92%;
  width: auto;
  max-width: 100%;
  margin: 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 14px 18px rgba(0, 0, 0, 0.45));
}
.opt .txt {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.opt .name {
  font-weight: 700;
  font-size: 26px;
  letter-spacing: 0.03em;
}
.opt .desc {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.5;
}
.opt .check {
  margin-left: auto;
  align-self: flex-start;
  width: 22px;
  height: 22px;
  flex: none;
  border-radius: 6px;
  box-shadow: inset 0 0 0 1px var(--glass-line);
  display: grid;
  place-items: center;
}
.opt[aria-pressed="true"] .check {
  background: var(--green);
  box-shadow: none;
}
.opt[aria-pressed="true"] .check::after {
  content: "";
  width: 9px;
  height: 5px;
  border-left: 2px solid #061008;
  border-bottom: 2px solid #061008;
  transform: translateY(-1px) rotate(-45deg);
}
.port {
  flex: none;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  box-shadow:
    0 0 0 1px var(--glass-line),
    0 10px 22px rgba(0, 0, 0, 0.35);

  font-size: 12px;
  color: #7fd6e8;
  letter-spacing: 0.06em;
}
.port img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hint {
  margin-top: 18px;
  font-size: 14.5px;
  color: var(--muted);
}
.hint b {
  color: var(--fg);
  font-weight: 600;
}
.step-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.linkish {
  all: unset;
  cursor: pointer;

  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.linkish:hover {
  color: var(--fg);
}
.linkish:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}
.pane {
  animation: in 0.35s ease;
}
@keyframes in {
  from {
    opacity: 0.001;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* result */
.result {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}
.build {
  display: flex;
  gap: 22px;
  align-items: center;
  padding: 18px 24px 18px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 0 0 1px var(--glass-line);
}
.build .tile {
  flex: none;
  width: clamp(110px, 14vw, 150px);
  height: clamp(220px, 26vw, 300px);
}
.build dl {
  margin: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 16px;
  min-width: 0;
}
.build dt {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  align-self: center;
}
.build dd {
  margin: 0;

  font-weight: 600;
  font-size: 18px;
  min-width: 0;
}
.build dd.pn {
  font-weight: 500;
  font-size: 15px;
  color: var(--green);
}
.shops {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  max-width: 100%;
}
.shop {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  padding: 18px 20px;
  text-decoration: none;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 0 0 1px var(--glass-line),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
  position: relative;
  overflow: visible;
  transition:
    box-shadow 0.2s,
    background 0.2s,
    transform 0.2s;
}
a.shop:hover {
  box-shadow:
    inset 0 0 0 1px var(--green),
    0 0 28px rgba(128, 186, 52, 0.25);
  background: rgba(128, 186, 52, 0.16);
  transform: translateY(-2px);
}
.shop .logo {
  position: relative;
  flex: 0 0 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: auto;
  padding: 10px 12px;
  overflow: visible;
  border-radius: 8px;
  background: #fff;
}
.shop .logo img {
  max-width: 100%;
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  position: static;
}
.shop .shop-cta {
  position: static;
  inset: auto;
  float: none;
  transform: none;
  display: block;
  margin-left: auto;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--green);
  white-space: nowrap;
}
.shop.off {
  opacity: 0.55;
  cursor: not-allowed;
}
.shop.off .shop-cta {
  color: var(--muted);
}
.fine {
  font-size: 13.5px;
  color: var(--muted);
  margin-top: 4px;
}

/* ---------- Rebate ---------- */
.rebate {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr);
  border-radius: 20px;
  overflow: hidden;
  background: var(--panel);
  box-shadow: inset 0 0 0 1px var(--line);
}
.rb-value {
  position: relative;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(
    150deg,
    rgba(128, 186, 52, 0.28),
    rgba(32, 156, 181, 0.22) 55%,
    rgba(9, 69, 114, 0.5)
  );
}
/* perforated edge, like a mail-in coupon */
.rb-value::after {
  content: "";
  position: absolute;
  top: 14px;
  bottom: 14px;
  right: -1px;
  border-right: 2px dashed rgba(255, 255, 255, 0.28);
}
.rb-amt {
  font-weight: 700;
  font-size: clamp(72px, 9vw, 112px);
  line-height: 0.9;
  letter-spacing: -0.01em;
}
.rb-amt sup {
  font-size: 0.45em;
  vertical-align: 0.85em;
  margin-right: 2px;
}
.rb-label {
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.rb-dates {
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--soft);
}
@media (max-width: 996px) {
  .rb-value {
    align-items: center;
    text-align: center;
  }
  .event-pos {
    position: static;
    top: auto;
    transform: none;
    margin-top: 20px;
  }
  .hero-copy {
    margin-top: 32px;
  }
  .shot::before {
    content: none;
  }
  #specs .spec-col,
  #specs .spec-wrap,
  #specs .specs,
  #specs .specs tbody,
  #specs .specs tr,
  #specs .specs th,
  #specs .specs td {
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
  #specs .spec-wrap,
  #specs .specs {
    overflow-x: visible !important;
    width: 100% !important;
  }
  #specs .specs,
  #specs .specs tbody,
  #specs .specs tr,
  #specs .specs th,
  #specs .specs td {
    display: block !important;
    width: 100% !important;
  }
  #specs .specs tr {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }
  #specs .specs th,
  #specs .specs td {
    padding: 0 !important;
    border-bottom: 0 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
  }
  #specs .specs th {
    margin-bottom: 6px;
  }
}
.rb-link {
  margin-top: 8px;
}
.rb-link a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  padding: 12px 18px;

  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  background: var(--fg);
  clip-path: polygon(
    0 0,
    calc(100% - 10px) 0,
    100% 10px,
    100% 100%,
    10px 100%,
    0 calc(100% - 10px)
  );
  transition:
    background 0.2s,
    transform 0.2s;
}
.rb-link a::after {
  content: "→";
  font-size: 15px;
  line-height: 1;
  transition: transform 0.2s;
}
.rb-link a:hover {
  background: var(--green);
  transform: translateY(-2px);
}
.rb-link a:hover::after {
  transform: translateX(4px);
}
.rb-link a:focus-visible {
  outline: 2px solid var(--fg);
  outline-offset: 3px;
}
.rb-body {
  padding: 36px clamp(20px, 4vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}
.rb-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
  counter-reset: rb;
}
.rb-steps li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  counter-increment: rb;
}
.rb-steps li::before {
  content: "0" counter(rb);

  font-size: 13px;
  color: var(--green);
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  box-shadow: inset 0 0 0 1px var(--line);
}
.rb-steps h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 4px;
}
.rb-steps p {
  color: var(--muted);
  font-size: 16px;
}
.rb-fine {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.7;
}
.rebate-note {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  align-items: baseline;
  min-width: 0;
  max-width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(128, 186, 52, 0.14);
  box-shadow: inset 0 0 0 1px rgba(128, 186, 52, 0.45);
  font-size: 15px;
  line-height: 1.45;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}
.rebate-note b {
  margin-right: 8px;
  color: var(--green);
  font-size: 17px;
  white-space: nowrap;
}
.rebate-note span {
  flex: 1 1 14rem;
  min-width: 0;
  display: inline;
  white-space: normal;
}
.rebate-note a {
  color: var(--green);
}

/* ---------- Specs ---------- */
.spec-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
}
.spec-grid .shot {
  position: sticky;
  top: 96px;
}
.spec-grid .shot img {
  max-height: 560px;
}
.spec-col {
  min-width: 0;
}
.spec-wrap {
  overflow: visible;
  border-top: 2px solid var(--green);
  max-width: 100%;
}
.specs {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
.specs th,
.specs td {
  text-align: left;
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.specs th {
  width: 34%;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.specs td {
  font-size: 16.5px;
  font-variant-numeric: tabular-nums;
}
.specs tr:hover td,
.specs tr:hover th {
  background: var(--panel);
}
.spec-note {
  font-size: 13.5px;
  color: var(--muted);
  margin-top: 16px;
  max-width: 80ch;
}

@media (max-width: 860px) {
  .features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .result {
    grid-template-columns: minmax(0, 1fr);
  }
  .feat-top,
  .spec-grid,
  .rebate,
  .ctrl {
    grid-template-columns: minmax(0, 1fr);
  }
  .rb-value {
    padding: 28px 24px;
  }
  .rb-value::after {
    top: auto;
    left: 14px;
    right: 14px;
    bottom: -1px;
    border-right: 0;
    border-bottom: 2px dashed rgba(255, 255, 255, 0.28);
  }
  .shot img {
    max-height: 380px;
  }
  .feat-top .shot img {
    max-height: 323px;
  }
  .spec-grid .shot {
    position: static;
  }
  .spec-grid .shot img {
    max-height: 340px;
  }
  .readout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .readout div:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }
  .readout div:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
}
@media (max-width: 620px) {
  body {
    font-size: 16px;
  }
  .nav .btn {
    display: none;
  }
  .event {
    min-height: 0;
  }
  .ev-amt {
    font-size: 58px;
    padding: 6px 14px 6px 16px;
  }
  .ev-text {
    padding: 10px 14px 10px 14px;
    gap: 4px;
  }
  .ev-label {
    display: none;
  }
  .ev-status {
    font-size: 10.5px;
    padding: 1px 8px;
  }
  .ev-main {
    font-size: 14.5px;
  }
  .ev-go {
    display: none;
  }
  .nav-links {
    gap: 0;
  }
  .nav-links a {
    padding: 8px 8px;
    font-size: 12.5px;
    letter-spacing: 0.06em;
  }
  .features,
  .opts {
    grid-template-columns: minmax(0, 1fr);
  }
  .opts.colors {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .opts.colors .opt {
    padding: 12px 12px 16px;
  }
  .opts.colors .name {
    font-size: 20px;
  }
  .opts.colors .desc {
    font-size: 14px;
  }
  .tile {
    height: 200px;
  }
  .build {
    padding: 14px;
    gap: 16px;
  }
  .build .tile {
    width: 96px;
    height: 190px;
  }
  .rail button {
    padding: 14px 12px;
  }
  .rail .v {
    display: none;
  }
  .opt {
    padding: 20px;
  }
  .build {
    flex-direction: row;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation: none;
    transition: none;
  }
}
