/* Brand: change these to restyle the whole theme */
:root {
  --bg: #0d1014;
  --surface: #161a20;
  --surface-2: #1e232b;
  --volt: #ffd400;
  --volt-dark: #e6be00;
  --cyan: #3ee0ff;
  --text: #eef1f5;
  --muted: #9aa3af;
  --line: #2a3038;
  --radius: 14px;
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: 17px; line-height: 1.65; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.05; margin: 0 0 16px; letter-spacing: -0.02em; }
h2 { font-size: clamp(34px, 4.6vw, 54px); }
h3 { font-size: 22px; }
p { margin: 0 0 16px; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.narrow { width: min(780px, calc(100% - 40px)); }
.skip-link { position: absolute; left: -999px; }
.skip-link:focus { left: 16px; top: 16px; z-index: 100; background: var(--volt); color: var(--bg); padding: 10px 14px; }
.eyebrow { display: flex; align-items: center; gap: 10px; font: 600 14px var(--font-display); letter-spacing: 0.16em; text-transform: uppercase; color: var(--volt); margin-bottom: 16px; }
.section-head { max-width: 700px; margin-bottom: 44px; }
.muted { color: var(--muted); }
section { padding: 96px 0; }

/* Buttons */
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; border: 0; border-radius: 8px; background: var(--volt); color: var(--bg); font: 700 16px var(--font-display); padding: 14px 26px; text-decoration: none; cursor: pointer; transition: background 0.2s, box-shadow 0.2s; }
.button:hover { background: var(--volt-dark); box-shadow: 0 0 0 4px rgba(255, 212, 0, 0.18), 0 0 30px rgba(255, 212, 0, 0.35); }
.button-small { min-height: 44px; padding: 10px 18px; font-size: 15px; }
.button-wide { width: 100%; }
.button-ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.button-ghost:hover { background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--muted); }
.button[disabled] { opacity: 0.4; cursor: not-allowed; box-shadow: none; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(13, 16, 20, 0.88); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 74px; }
.brand { display: flex; align-items: center; gap: 10px; font: 700 25px var(--font-display); text-decoration: none; min-height: 44px; }
.brand b { color: var(--volt); }
.primary-nav { display: flex; align-items: center; gap: 28px; font-weight: 500; font-size: 16px; }
.primary-nav a { text-decoration: none; }
.primary-nav a:not(.button):hover { color: var(--volt); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.menu-toggle span { width: 20px; height: 2px; background: var(--text); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 112px 0 88px; }
.grid-bg { position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 70%); opacity: 0.6; }
.hero::after { content: ""; position: absolute; top: -200px; right: -100px; width: 600px; height: 600px; background: radial-gradient(circle, rgba(255, 212, 0, 0.18), transparent 60%); }
.hero-inner { position: relative; z-index: 1; }
.pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--volt); box-shadow: 0 0 12px var(--volt); animation: blink 2s infinite; }
@keyframes blink { 50% { opacity: 0.35; } }
.hero h1 { font-size: clamp(52px, 8.5vw, 112px); max-width: 980px; }
.hero h1 span { display: block; color: transparent; -webkit-text-stroke: 2px var(--volt); }
.lead { font-size: 20px; color: var(--muted); max-width: 620px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 56px; }
.spec-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(22, 26, 32, 0.8); }
.spec-row div { padding: 20px 22px; border-right: 1px solid var(--line); }
.spec-row div:last-child { border-right: 0; }
.spec-row dt { font: 600 13px var(--font-display); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.spec-row dd { margin: 4px 0 0; font: 600 19px var(--font-display); }

/* Work */
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.work-card { background: var(--bg); padding: 32px; transition: background 0.2s; }
.work-card:hover { background: var(--surface); }
.work-card p { color: var(--muted); margin: 0; }
.work-num { display: block; font: 600 14px var(--font-display); color: var(--volt); letter-spacing: 0.1em; margin-bottom: 26px; }

/* Estimator */
.estimate { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.estimate-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 44px; align-items: start; }
.option-list { display: grid; gap: 10px; margin-top: 26px; }
.option { position: relative; display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 16px 18px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; transition: border-color 0.2s; }
.option input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.option:hover { border-color: var(--muted); }
.option:has(input:checked) { border-color: var(--volt); box-shadow: inset 3px 0 0 var(--volt); }
.option:has(input:focus-visible) { outline: 2px solid var(--cyan); }
.box { width: 24px; height: 24px; border-radius: 6px; border: 2px solid var(--line); display: grid; place-items: center; }
.option:has(input:checked) .box { background: var(--volt); border-color: var(--volt); }
.option:has(input:checked) .box::after { content: "✓"; color: var(--bg); font-weight: 700; font-size: 15px; }
.option strong { display: block; font-family: var(--font-display); font-size: 18px; }
.option small { color: var(--muted); font-size: 15px; }
.option .price { font: 600 15px var(--font-display); color: var(--muted); white-space: nowrap; }
.readout { position: sticky; top: 100px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.meter { height: 8px; background: var(--surface-2); border-radius: 999px; overflow: hidden; margin-bottom: 22px; }
.meter span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--cyan), var(--volt)); transition: width 0.4s; }
.readout-label { font: 600 13px var(--font-display); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.readout-range { font: 700 44px var(--font-display); color: var(--volt); line-height: 1.1; margin-bottom: 6px; letter-spacing: -0.02em; }
.readout-detail { color: var(--muted); font-size: 15px; }
.readout-list { list-style: none; padding: 0; margin: 0 0 18px; }
.readout-list li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px dashed var(--line); font-size: 15px; }
.readout-list span { color: var(--muted); white-space: nowrap; }
.readout-form { display: grid; gap: 14px; }
label { display: block; font-weight: 600; font-size: 15px; }
input[type="email"], input[type="text"] { width: 100%; min-height: 50px; margin-top: 6px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--text); font: 500 16px var(--font-body); padding: 12px 14px; }
input:focus { outline: none; border-color: var(--volt); }
.form-note { margin: 0; color: var(--volt); font-weight: 600; font-size: 15px; }

/* Safety */
.safety-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.warning-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.warning-list li { padding: 16px 18px 16px 54px; position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); color: var(--muted); }
.warning-list li::before { content: "!"; position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%; background: var(--volt); color: var(--bg); font: 700 15px var(--font-display); display: grid; place-items: center; }
.warning-list strong { color: var(--text); }

/* Reviews */
.reviews { border-top: 1px solid var(--line); }
.review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
blockquote { margin: 0; padding: 26px; border-left: 3px solid var(--volt); background: var(--surface); border-radius: 0 var(--radius) var(--radius) 0; }
blockquote p { font-size: 18px; }
cite { font-style: normal; font: 600 14px var(--font-display); letter-spacing: 0.06em; color: var(--muted); }

/* FAQ */
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; font: 600 20px var(--font-display); padding: 22px 40px 22px 0; position: relative; min-height: 44px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font-size: 26px; color: var(--volt); }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 64px 0 28px; font-size: 16px; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 32px; }
.site-footer h3 { color: var(--text); font-size: 17px; }
.site-footer .brand { color: var(--text); margin-bottom: 14px; }
.site-footer a { text-decoration: none; }
.site-footer p a { display: inline-block; padding: 4px 0; }
.site-footer a:hover { color: var(--volt); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); margin-top: 40px; padding-top: 24px; font-size: 15px; }
.footer-bottom p { margin: 0; }

@media (max-width: 1000px) {
  .estimate-grid, .safety-grid { grid-template-columns: minmax(0, 1fr); }
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spec-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spec-row div:nth-child(2) { border-right: 0; }
  .spec-row div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .review-grid { grid-template-columns: minmax(0, 1fr); max-width: 620px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .readout { position: static; }
}

@media (max-width: 860px) {
  .menu-toggle { display: inline-flex; }
  .primary-nav { display: none; position: absolute; top: 74px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 4px; padding: 16px 20px 24px; background: var(--bg); border-bottom: 1px solid var(--line); }
  .primary-nav.open { display: flex; }
  .primary-nav a:not(.button) { padding: 12px 0; }
}

@media (max-width: 600px) {
  section { padding: 64px 0; }
  .hero { padding: 64px 0 56px; }
  .hero h1 span { -webkit-text-stroke: 1.5px var(--volt); }
  .work-grid, .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .spec-row { grid-template-columns: minmax(0, 1fr); }
  .spec-row div { border-right: 0; border-bottom: 1px solid var(--line); }
  .spec-row div:last-child { border-bottom: 0; }
  .option { grid-template-columns: 28px minmax(0, 1fr); }
  .option .price { grid-column: 2; }
  .readout { padding: 22px; }
  .footer-bottom { flex-direction: column; }
}
