/* Skylink Solar — design system
   Story: the street goes dark, your house stays lit.
   Glow (#FFB547) only ever means "power on" / the action that gets you there.
   Charged (#3BD68A) only ever means a completed or running state. */

:root {
  --night: #0E1B2E;
  --night-2: #16273F;
  --night-3: #22395A;
  --glow: #FFB547;
  --glow-deep: #E89A22;
  --charged: #3BD68A;
  --surface: #EEF1F4;
  --paper: #FFFFFF;
  --ink: #13202F;
  --ink-2: #4A5868;
  --line: #D3DAE2;
  --on-night: #E7EDF5;
  --on-night-2: #9FB0C5;

  /* type scale, ratio 1.25 from 17px */
  --t-sm: 0.875rem;
  --t-base: 1.0625rem;
  --t-md: 1.33rem;
  --t-lg: 1.66rem;
  --t-xl: clamp(1.9rem, 3.2vw, 2.6rem);
  --t-display: clamp(2.5rem, 5.6vw, 4.6rem);

  --wide: 100%;
  --r-s: 6px;
  --r-m: 14px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Instrument Sans", system-ui, sans-serif;
  font-size: var(--t-base);
  line-height: 1.55;
  color: var(--ink);
  background: var(--surface);
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--glow); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 {
  font-stretch: var(--wide);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: balance;
}
h2 { font-size: var(--t-xl); }
h3 { font-size: var(--t-md); font-weight: 650; line-height: 1.2; }
p { margin: 0; max-width: 62ch; }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .75rem 1.25rem;
  font: inherit; font-weight: 700;
  border: 0; border-radius: var(--r-s); cursor: pointer;
  text-decoration: none;
}
.btn-glow { background: var(--glow); color: var(--ink); }
.btn-glow:hover { background: #FFC266; }
.btn-ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }

/* ---------- header ---------- */
.site-head {
  position: absolute; inset: 0 0 auto 0; z-index: 10;
  color: var(--on-night);
}
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; padding-block: 1.1rem; }
.brand { display: inline-flex; text-decoration: none; }
.brand svg { height: 44px; width: auto; }
.site-head .btn { min-height: 42px; padding: .55rem 1rem; }

/* ---------- logo (inline svg, recolours with context) ---------- */
.logo .ink { stroke: currentColor; }
.logo .word { fill: currentColor; font-family: "Instrument Sans", system-ui, sans-serif; font-weight: 700; font-size: 30px; letter-spacing: -.2px; }
.logo .sub { fill: currentColor; opacity: .72; font-family: "Instrument Sans", system-ui, sans-serif; font-weight: 500; font-size: 11.5px; letter-spacing: .6px; }
.logo .lit { fill: var(--glow); }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--night) 0%, var(--night-2) 58%, #1D3352 100%);
  color: var(--on-night);
  padding-top: 7rem;
  min-height: min(100svh, 940px);
}
.hero-grid {
  position: relative; z-index: 2;
  display: grid; gap: 2.5rem;
  grid-template-columns: 1fr;
  padding-bottom: 15rem;
}
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.1fr minmax(380px, .9fr); align-items: start; padding-bottom: 12rem; }
}
.hero h1 { font-size: var(--t-display); max-width: 13ch; }
.hero .lede { margin-top: 1.25rem; font-size: var(--t-md); line-height: 1.45; color: var(--on-night-2); max-width: 34ch; }
.proof {
  margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .75rem 1.75rem;
  font-size: var(--t-sm); color: var(--on-night-2);
}
.proof strong { color: var(--on-night); font-weight: 700; }
.stars { color: var(--glow); letter-spacing: 1px; }

/* street scene */
.street { position: absolute; inset: auto 0 0 0; z-index: 1; width: 100%; height: clamp(250px, 26vw, 380px); pointer-events: none; }
.street .win { fill: var(--glow); }
/* power cut: neighbours + street lamps flicker off together; delay set per group via --d */
.street .nb .win, .street .lamp { animation: cut 0.9s steps(1, end) var(--d, 1.5s) forwards; }
@keyframes cut {
  0% { opacity: 1; }
  30% { opacity: .25; }
  45% { opacity: 1; }
  60% { opacity: 0; }
  100% { opacity: 0; }
}
.street .home-halo { opacity: .55; animation: halo 1.6s ease-out 2.1s forwards; }
@keyframes halo { to { opacity: 1; } }
.street .status { opacity: 0; animation: show .5s ease-out 2.5s forwards; }
.street .status-dot { fill: var(--charged); }
@keyframes show { to { opacity: 1; } }

/* ---------- lead form (one question at a time) ---------- */
.lead {
  background: var(--paper); color: var(--ink);
  border-radius: var(--r-m);
  padding: 1.5rem;
  box-shadow: 0 30px 60px -20px rgba(4, 10, 20, .55);
  min-height: 430px;
  display: flex; flex-direction: column;
}
@media (min-width: 560px) { .lead { padding: 2rem; } }

.charge { display: flex; align-items: center; gap: .75rem; font-size: var(--t-sm); color: var(--ink-2); }
.charge-bar {
  flex: 1; display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px;
  padding: 4px; border: 2px solid var(--ink); border-radius: 5px; position: relative;
}
.charge-bar::after { /* battery terminal */
  content: ""; position: absolute; right: -7px; top: 50%; translate: 0 -50%;
  width: 4px; height: 10px; background: var(--ink); border-radius: 0 2px 2px 0;
}
.charge-bar span { height: 10px; border-radius: 2px; background: var(--line); transition: background-color .3s; }
.charge-bar span.on { background: var(--glow); }
.lead.done .charge-bar span { background: var(--charged); }

.steps { position: relative; flex: 1; margin-top: 1.5rem; }
.step { display: none; flex-direction: column; gap: 1rem; }
.step.active { display: flex; animation: in-next .35s cubic-bezier(.2,.7,.2,1); }
.step.active.from-back { animation-name: in-back; }
@keyframes in-next { from { opacity: 0; transform: translateX(28px); } }
@keyframes in-back { from { opacity: 0; transform: translateX(-28px); } }

.q { font-size: var(--t-lg); font-weight: 700; line-height: 1.12; letter-spacing: -.01em; }
.hint { color: var(--ink-2); font-size: var(--t-sm); margin-top: -.5rem; }
legend.q { padding: 0; margin-bottom: 1rem; }
legend + .hint { margin: -.6rem 0 1rem; }

.opts { display: grid; gap: .6rem; margin-top: .25rem; }
.opt {
  display: flex; align-items: center; gap: .85rem;
  min-height: 54px; padding: .7rem 1rem;
  font: inherit; font-weight: 600; text-align: left; color: var(--ink);
  background: var(--surface); border: 1.5px solid transparent; border-radius: var(--r-s);
  cursor: pointer; transition: border-color .15s, background-color .15s;
}
.opt:hover { border-color: var(--ink); }
.opt[aria-pressed="true"] { border-color: var(--ink); background: #FFF4E0; }
.opt .tick {
  flex: none; width: 18px; height: 18px; border-radius: 50%;
  border: 1.5px solid var(--ink-2); display: grid; place-items: center;
}
.opt[aria-pressed="true"] .tick { border-color: var(--ink); background: var(--glow); }

.field label { display: block; font-weight: 600; margin-bottom: .4rem; }
.field input {
  width: 100%; min-height: 54px; padding: .8rem 1rem;
  font: inherit; font-size: 1.125rem; color: var(--ink);
  background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r-s);
}
.field input:focus { outline: none; border-color: var(--ink); background: var(--paper); }
.field .err { color: #B3261E; font-size: var(--t-sm); margin-top: .4rem; min-height: 1.2em; }

.lead-nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; }
.back { background: none; border: 0; font: inherit; color: var(--ink-2); cursor: pointer; padding: .5rem 0; text-decoration: underline; text-underline-offset: 3px; }
.lead .btn-glow { min-width: 9rem; margin-left: auto; }
[hidden] { display: none !important; }
.privacy { margin-top: 1rem; font-size: .8rem; color: var(--ink-2); }

.sent { text-align: left; }
.sent .q { margin-top: .5rem; }
.sent-icon { width: 52px; height: 52px; border-radius: 50%; background: var(--charged); display: grid; place-items: center; }

/* ---------- sections ---------- */
.section { padding-block: clamp(4rem, 9vw, 7rem); }
.section-head { display: grid; gap: 1rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-head p { color: var(--ink-2); font-size: var(--t-md); line-height: 1.45; max-width: 46ch; }

/* services: rows, photo + copy, not a card grid */
.services { display: grid; gap: clamp(2.5rem, 6vw, 4.5rem); }
.service { display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 820px) {
  .service { grid-template-columns: 5fr 6fr; gap: 3.5rem; }
  .service:nth-child(even) .service-img { order: 2; }
}
.service-img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; border-radius: var(--r-m); }
.service h3 { font-size: var(--t-lg); font-stretch: var(--wide); font-weight: 700; }
.service p { margin-top: .75rem; color: var(--ink-2); }
.service ul { margin: 1rem 0 0; padding: 0; list-style: none; display: grid; gap: .45rem; }
.service li { padding-left: 1.4rem; position: relative; }
.service li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; background: var(--glow-deep); }

/* inline CTA band — starts the same form at question 1 */
.cta-band { background: var(--night); color: var(--on-night); }
.cta-band .wrap { display: grid; gap: 1.5rem; padding-block: clamp(2.5rem, 6vw, 3.75rem); }
@media (min-width: 900px) { .cta-band .wrap { grid-template-columns: 1fr 1.4fr; align-items: center; gap: 3rem; } }
.cta-band h2 { font-size: var(--t-lg); }
.cta-band p { color: var(--on-night-2); margin-top: .5rem; }
.cta-opts { display: grid; gap: .6rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
@media (min-width: 900px) { .cta-opts { grid-template-columns: 1fr 1fr; } }
.cta-opts .opt { background: var(--night-2); color: var(--on-night); border-color: var(--night-3); }
.cta-opts .opt:hover { border-color: var(--glow); }
.cta-opts .tick { border-color: var(--on-night-2); }

/* proof: real installs */
.installs { display: grid; gap: .75rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) {
  .installs { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; }
  .installs figure:nth-child(1) { grid-column: span 2; grid-row: span 2; }
}
.installs figure { margin: 0; position: relative; border-radius: var(--r-m); overflow: hidden; background: var(--night); min-height: 200px; }
.installs img { width: 100%; height: 100%; object-fit: cover; }
.installs figcaption {
  position: absolute; inset: auto 0 0 0; padding: 2rem .9rem .8rem;
  font-size: var(--t-sm); color: #fff; line-height: 1.35;
  background: linear-gradient(transparent, rgba(8, 15, 26, .85));
}

.reviews { display: grid; gap: 1.25rem; margin-top: 3.5rem; }
@media (min-width: 820px) { .reviews { grid-template-columns: 1.1fr repeat(3, 1fr); align-items: start; } }
.score { font-stretch: var(--wide); font-weight: 700; font-size: 3.5rem; line-height: 1; }
.score-note { color: var(--ink-2); font-size: var(--t-sm); margin-top: .5rem; }
blockquote { margin: 0; padding-top: 1rem; border-top: 2px solid var(--ink); }
blockquote p { font-size: var(--t-md); font-weight: 600; line-height: 1.35; }
blockquote footer { margin-top: .6rem; color: var(--ink-2); font-size: var(--t-sm); }

.brands { margin-top: 3rem; color: var(--ink-2); max-width: 70ch; }
.brands strong { color: var(--ink); }

/* process: a real sequence, so numbers */
.process { counter-reset: step; display: grid; gap: 0; list-style: none; margin: 0; padding: 0; }
@media (min-width: 900px) { .process { grid-template-columns: repeat(4, 1fr); } }
.process li {
  counter-increment: step; position: relative;
  padding: 1.75rem 1.5rem 1.75rem 0;
  border-top: 2px solid var(--line);
}
.process li::before {
  content: counter(step);
  display: grid; place-items: center;
  width: 2.4rem; height: 2.4rem; margin-bottom: 1.1rem;
  font-weight: 700; font-stretch: var(--wide);
  border-radius: 50%; background: var(--ink); color: var(--surface);
}
.process li:first-child::before { background: var(--glow); color: var(--ink); }
.process p { margin-top: .5rem; color: var(--ink-2); }

/* FAQ */
.faq { max-width: 820px; }
.faq details { border-top: 1.5px solid var(--line); }
.faq details:last-child { border-bottom: 1.5px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; gap: 1.5rem; align-items: center;
  padding: 1.35rem 0; font-weight: 700; font-size: 1.15rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.6rem; font-weight: 400; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 1.4rem; color: var(--ink-2); }

/* areas */
.areas { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 0; padding: 0; }
.areas a {
  display: inline-block; padding: .5rem .9rem; border-radius: 999px;
  background: var(--paper); border: 1.5px solid var(--line);
  text-decoration: none; font-weight: 600; font-size: var(--t-sm);
}
.areas a:hover { border-color: var(--ink); }

/* closing night section */
.closing { background: var(--night); color: var(--on-night); }
.closing .wrap { display: grid; gap: 2.5rem; padding-block: clamp(4rem, 9vw, 6.5rem); }
@media (min-width: 960px) { .closing .wrap { grid-template-columns: 1fr minmax(380px, .9fr); align-items: center; } }
.closing p { color: var(--on-night-2); margin-top: 1rem; font-size: var(--t-md); }

.site-foot { background: #0A1524; color: var(--on-night-2); font-size: var(--t-sm); }
.site-foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-block: 2rem; }
.site-foot .brand svg { height: 36px; color: var(--on-night); }

/* dialog form (opened from CTA bands / header) */
dialog.lead-dialog {
  border: 0; padding: 0; background: transparent; width: min(100% - 2rem, 480px);
}
dialog.lead-dialog::backdrop { background: rgba(8, 15, 26, .72); }
.dialog-close {
  position: absolute; top: .75rem; right: .75rem; z-index: 2;
  width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--surface); font-size: 1.4rem; line-height: 1;
}
dialog .lead { position: relative; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
.sent:focus { outline: none; }

/* ---------- mobile hero: compact form until first tap ---------- */
.opt .short { display: none; }
@media (max-width: 699px) {
  .hero { padding-top: 5.5rem; }
  .hero .lede { font-size: 1.05rem; margin-top: 1rem; }
  .proof { margin-top: 1.25rem; }
  .proof-area { display: none; }
  .hero-grid { gap: 1.75rem; padding-bottom: 13rem; }

  .lead.collapsible:not([data-started]) { min-height: 0; padding: 1.1rem; }
  .lead.collapsible:not([data-started]) .charge,
  .lead.collapsible:not([data-started]) .lead-nav,
  .lead.collapsible:not([data-started]) .privacy { display: none; }
  .lead.collapsible:not([data-started]) .steps { margin-top: 0; }
  .lead.collapsible:not([data-started]) legend.q { font-size: 1.2rem; margin-bottom: .75rem; }
  .lead.collapsible:not([data-started]) .opts { grid-template-columns: 1fr 1fr; gap: .5rem; }
  .lead.collapsible:not([data-started]) .opt { min-height: 52px; padding: .6rem .75rem; justify-content: center; text-align: center; }
  .lead.collapsible:not([data-started]) .tick { display: none; }
  .lead.collapsible:not([data-started]) .full { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .lead.collapsible:not([data-started]) .short { display: inline; }
  .lead.collapsible { transition: padding .3s; }
}
.lead:not([data-started]) .step.active { animation: none; }

/* ---------- sticky header ---------- */
.site-head {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  color: var(--on-night);
  transition: transform .3s ease, background-color .25s ease, box-shadow .25s ease;
}
.site-head.solid { background: rgba(14, 27, 46, .94); box-shadow: 0 1px 0 var(--night-3); backdrop-filter: blur(8px); }
.site-head.hidden { transform: translateY(-100%); }
.head-row { display: flex; align-items: center; gap: 2rem; padding-block: .85rem; }
.site-head .wrap { padding-block: .85rem; }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 1.75rem; list-style: none; margin: 0; padding: 0; }
.main-nav a { color: var(--on-night-2); text-decoration: none; font-weight: 600; font-size: .95rem; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--on-night); }
.main-nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--glow); text-underline-offset: 6px; text-decoration-thickness: 2px; }
.head-actions { display: flex; align-items: center; gap: .5rem; }
.menu-btn { display: none; }

@media (max-width: 899px) {
  .head-row { gap: 1rem; }
  .brand svg { height: 38px; }
  .head-actions { margin-left: auto; }
  .head-cta { display: none; }
  .menu-btn {
    display: grid; place-items: center; width: 44px; height: 44px;
    background: transparent; border: 1.5px solid var(--night-3); border-radius: var(--r-s); cursor: pointer; color: inherit;
  }
  .menu-icon, .menu-icon::before { display: block; width: 18px; height: 2px; background: currentColor; position: relative; transition: transform .2s; }
  .menu-icon::before { content: ""; position: absolute; top: 6px; }
  .menu-icon { transform: translateY(-3px); }
  .menu-open .menu-icon { transform: translateY(0) rotate(45deg); }
  .menu-open .menu-icon::before { top: 0; transform: rotate(-90deg); }
  .main-nav {
    display: none; position: absolute; inset: 100% 0 auto 0;
    background: var(--night); border-top: 1px solid var(--night-3); padding: .5rem var(--gutter) 1.5rem;
  }
  .menu-open .main-nav { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav a { display: block; padding: .9rem 0; font-size: 1.15rem; color: var(--on-night); border-bottom: 1px solid var(--night-2); }
}

/* ---------- mobile bottom CTA (always visible) ---------- */
.mobile-cta { display: none; }
@media (max-width: 899px) {
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .mobile-cta {
    display: block; position: fixed; inset: auto 0 0 0; z-index: 40;
    padding: .65rem var(--gutter) calc(.65rem + env(safe-area-inset-bottom));
    background: rgba(14, 27, 46, .96); border-top: 1px solid var(--night-3);
  }
  .mobile-cta .btn { width: 100%; min-height: 52px; font-size: 1.05rem; }
  .mobile-cta-sub { font-weight: 500; opacity: .75; font-size: .9rem; }
}

.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--glow); color: var(--ink); padding: .75rem 1rem; }
.skip:focus { left: 1rem; top: 1rem; }

/* ---------- inner pages ---------- */
.answer { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 900px) { .answer { grid-template-columns: 7fr 5fr; gap: 4rem; } }
.answer .prose { display: grid; gap: 1.1rem; }
.answer .prose p { color: var(--ink-2); }
.answer .prose ul { margin: .5rem 0 0; padding: 0; list-style: none; display: grid; gap: .5rem; }
.answer .prose li { padding-left: 1.4rem; position: relative; }
.answer .prose li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; background: var(--glow-deep); }
.answer img { border-radius: var(--r-m); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
@media (min-width: 900px) { .answer figure { position: sticky; top: 6rem; margin: 0; } }
.answer figure { margin: 0; }
.answer figcaption { font-size: var(--t-sm); color: var(--ink-2); margin-top: .6rem; }
.suburbs { margin-top: 1rem; }
.suburbs h3 { margin-bottom: .75rem; }
.links-section { padding-top: 0; }

.service-index { display: grid; gap: 0; list-style: none; margin: 0; padding: 0; }
@media (min-width: 820px) { .service-index { grid-template-columns: 1fr 1fr; column-gap: 3rem; } }
.service-index a { display: block; padding: 1.1rem 0; border-top: 1.5px solid var(--line); text-decoration: none; }
.service-index a strong { display: block; font-size: 1.15rem; }
.service-index a span { color: var(--ink-2); font-size: var(--t-sm); }
.service-index a:hover strong { text-decoration: underline; text-decoration-color: var(--glow-deep); text-underline-offset: 4px; }

.foot-grid { display: grid !important; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 820px) { .foot-grid { grid-template-columns: 1.2fr 1fr 2fr; } }
.site-foot p { margin-top: .75rem; }
.foot-h { color: var(--on-night); font-weight: 700; margin: 0 0 .6rem !important; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.foot-areas { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.site-foot a { color: var(--on-night-2); text-decoration: none; }
.site-foot a:hover { color: var(--on-night); }

/* ---------- review strip ---------- */
.strip { background: var(--night-2); color: var(--on-night); border-block: 1px solid var(--night-3); }
.strip-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 2rem; padding-block: 1rem; }
.strip-reviews { display: grid; flex: 1 1 420px; min-height: 1.6em; }
.strip-item { grid-area: 1 / 1; margin: 0; max-width: none; opacity: 0; transform: translateY(6px); transition: opacity .6s ease, transform .6s ease; }
.strip-item.on { opacity: 1; transform: none; }
.strip-item q { font-weight: 600; quotes: "“" "”"; }
.strip-who { color: var(--on-night-2); font-size: var(--t-sm); white-space: nowrap; }
.strip-facts { display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; list-style: none; margin: 0; padding: 0; font-size: var(--t-sm); color: var(--on-night-2); }
.strip-facts strong { color: var(--glow); }
@media (max-width: 699px) { .strip-facts { display: none; } .strip-reviews { min-height: 3.2em; } }

/* ---------- calculator ---------- */
.calc-section { background: var(--paper); }
.calc { display: grid; gap: 2rem; }
@media (min-width: 960px) { .calc { grid-template-columns: 1.35fr 1fr; column-gap: 4rem; } .calc-head { grid-column: 1 / -1; } }
.calc-head { display: grid; gap: .9rem; }
.calc-head p { color: var(--ink-2); font-size: var(--t-md); line-height: 1.45; max-width: 52ch; }
.calc-loads { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.calc-loads legend { font-weight: 700; margin-bottom: .8rem; padding: 0; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: .55rem .9rem;
  border: 1.5px solid var(--line); border-radius: 999px; background: var(--surface); font-weight: 600; font-size: .95rem;
  transition: background-color .15s, border-color .15s;
}
.chip span::before { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--ink-2); transition: background-color .15s; }
.chip input:checked + span { background: #FFF4E0; border-color: var(--ink); }
.chip input:checked + span::before { background: var(--glow); border-color: var(--ink); }
.chip input:focus-visible + span { outline: 3px solid var(--glow); outline-offset: 2px; }
.calc-hours { margin-top: 1.75rem; }
.calc-hours label { display: flex; justify-content: space-between; font-weight: 700; margin-bottom: .6rem; }
.calc-hours output { color: var(--ink); font-weight: 700; }
.calc-hours input { width: 100%; accent-color: var(--glow-deep); height: 28px; }
.calc-result { background: var(--night); color: var(--on-night); border-radius: var(--r-m); padding: 1.75rem; display: grid; gap: 1rem; align-self: start; }
.calc-figs { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.calc-label { color: var(--on-night-2); font-size: var(--t-sm); }
.calc-num { font-size: clamp(2.2rem, 5vw, 3rem); font-weight: 700; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.calc-meter { height: 14px; border: 2px solid var(--on-night-2); border-radius: 4px; padding: 2px; position: relative; }
.calc-meter::after { content: ""; position: absolute; right: -6px; top: 50%; translate: 0 -50%; width: 3px; height: 6px; background: var(--on-night-2); }
.calc-meter span { display: block; height: 100%; width: calc(var(--fill, .2) * 100%); background: var(--charged); border-radius: 2px; transition: width .45s cubic-bezier(.2,.7,.2,1); }
.calc-detail, .calc-note { color: var(--on-night-2); font-size: var(--t-sm); }
.calc-note { color: var(--glow); }
.calc-fine { color: var(--on-night-2); font-size: .8rem; }
.calc-result .btn { width: 100%; }

/* ---------- sizing table ---------- */
.table-wrap { overflow-x: auto; }
.sizing { width: 100%; border-collapse: collapse; min-width: 560px; }
.sizing th, .sizing td { text-align: left; padding: 1rem .9rem 1rem 0; border-top: 1.5px solid var(--line); vertical-align: top; }
.sizing thead th { border-top: 0; color: var(--ink-2); font-size: var(--t-sm); font-weight: 600; }
.sizing tbody th { font-weight: 700; white-space: nowrap; }
.sizing td:nth-child(3), .sizing td:nth-child(4) { white-space: nowrap; font-weight: 600; }
.sizing-section { padding-top: 0; }

/* ---------- ready list ---------- */
.ready { margin-top: 2.5rem; padding: 1.5rem; background: var(--paper); border-radius: var(--r-m); border: 1.5px solid var(--line); }
.ready h3 { margin-bottom: .75rem; }
.ready ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .45rem; }
@media (min-width: 820px) { .ready ul { grid-template-columns: 1fr 1fr; column-gap: 2rem; } }
.ready li { padding-left: 1.4rem; position: relative; color: var(--ink-2); }
.ready li::before { content: ""; position: absolute; left: 0; top: .55em; width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--glow-deep); }

/* ---------- meet Frank ---------- */
.frank { background: var(--paper); }
.frank-row { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 820px) { .frank-row { grid-template-columns: 220px 1fr; gap: 3.5rem; } }
.frank-pic img, .frank-mono { width: 180px; height: 180px; border-radius: 50%; object-fit: cover; }
@media (min-width: 820px) { .frank-pic img, .frank-mono { width: 220px; height: 220px; } }
.frank-mono { display: grid; place-items: center; background: var(--night); color: var(--glow); font-size: 5rem; font-weight: 700; box-shadow: inset 0 0 0 6px var(--night-3); }
.frank-copy { display: grid; gap: 1rem; justify-items: start; }
.frank-copy p { color: var(--ink-2); font-size: 1.1rem; }

/* ---------- motion: things power on ---------- */
.pre-lit img { filter: brightness(.35) saturate(.5); transition: filter 1.2s ease; }
img.pre-lit { filter: brightness(.35) saturate(.5); transition: filter 1.2s ease; }
.pre-lit.lit img, img.pre-lit.lit { filter: none; }

.process li::before { transition: background-color .4s ease, color .4s ease; }
.process.pre-lit li::before { background: var(--line); color: var(--ink-2); }
.process.pre-lit.lit li::before { background: var(--ink); color: var(--surface); }
.process.pre-lit.lit li:first-child::before { background: var(--glow); color: var(--ink); }
.process.lit li:nth-child(2)::before { transition-delay: .25s; }
.process.lit li:nth-child(3)::before { transition-delay: .5s; }
.process.lit li:nth-child(4)::before { transition-delay: .75s; }

.street .glint { animation: glint 8s ease-in-out 3s infinite; }
@keyframes glint { 0% { transform: translateX(0); } 22%, 100% { transform: translateX(150px); } }

/* smooth FAQ open where supported */
:root { interpolate-size: allow-keywords; }
.faq details::details-content { height: 0; overflow: clip; transition: height .3s ease, content-visibility .3s allow-discrete; }
.faq details[open]::details-content { height: auto; }

@media (prefers-reduced-motion: reduce) {
  .street .glint { display: none; }
}

/* strip: fade out fully before the next fades in */
.strip-item { transition: opacity .35s ease, transform .35s ease; }
.strip-item.on { transition-delay: .35s; }

/* calculator on mobile: compact result sticks above the bottom CTA while ticking */
@media (max-width: 959px) {
  .calc-result { position: sticky; bottom: calc(84px + env(safe-area-inset-bottom)); z-index: 5; padding: 1rem 1.1rem; gap: .6rem; box-shadow: 0 -10px 30px -12px rgba(4,10,20,.35); }
  .calc-num { font-size: 1.9rem; }
  .calc-detail, .calc-fine, .calc-meter { display: none; }
  .calc-note { font-size: .8rem; }
  .calc-result .btn { min-height: 44px; }
}
@media (min-width: 900px) and (max-width: 959px) { .calc-result { bottom: 1rem; } }

/* lead form: honeypot + send error */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.send-err { margin-top: .9rem; color: #B3261E; font-size: var(--t-sm); font-weight: 600; }

/* ---------- Frank inside every form ---------- */
.lead-who { display: flex; align-items: center; gap: .8rem; margin-bottom: 1.1rem; padding-bottom: 1rem; border-bottom: 1.5px solid var(--line); }
.frank-av {
  position: relative; flex: none; display: grid; place-items: center; overflow: hidden;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--night); color: var(--glow); font-weight: 700; font-size: 1.3rem;
}
.frank-av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.frank-av-sm { width: 28px; height: 28px; font-size: .85rem; margin-right: .15rem; box-shadow: 0 0 0 2px var(--ink); }
.lead-who-name { font-weight: 700; font-size: 1.05rem; line-height: 1.2; }
.lead-who-sub { color: var(--ink-2); font-size: .85rem; line-height: 1.35; margin-top: .15rem; }
.lead.done .lead-who-sub { display: none; }
@media (max-width: 699px) {
  .lead.collapsible:not([data-started]) .lead-who { margin-bottom: .8rem; padding-bottom: .75rem; }
  .lead.collapsible:not([data-started]) .frank-av { width: 40px; height: 40px; font-size: 1.1rem; }
}

.main-nav a, .head-cta { white-space: nowrap; }
@media (min-width: 900px) and (max-width: 1180px) {
  .main-nav ul { gap: 1.1rem; }
  .head-row { gap: 1.25rem; }
  .cta-long { display: none; }
}

/* Frank in CTA bands */
.cta-who { display: flex; align-items: center; gap: 1.1rem; }
.frank-av-lg { width: 64px; height: 64px; font-size: 1.7rem; box-shadow: 0 0 0 3px var(--glow); }
.cta-band .frank-av-lg { background: var(--night-2); }
@media (max-width: 699px) { .frank-av-lg { width: 52px; height: 52px; font-size: 1.35rem; } }
.head-cta .cta-long { margin-left: -.25rem; }

/* quieter Frank line in forms */
.lead-who { margin-bottom: 1rem; padding-bottom: .85rem; gap: .65rem; }
.lead-who .frank-av { width: 36px; height: 36px; font-size: 1rem; }
.lead-who-name { font-size: .95rem; }
.lead-who-sub { font-size: .8rem; margin-top: 0; }
