/* Palette: white with black type, one blue accent (light alternate) */
:root {
  --bg: #ffffff;
  --bg-alt: #f4f4f5;
  --surface: #ffffff;
  --line: #e4e4e7;
  --text: #0a0a0a;
  --muted: #52525b;
  --accent: #1d4ed8;
  --accent-fill: #1d4ed8;
  --accent-ink: #ffffff;
  --accent-2: #1d4ed8;
  --accent-rgb: 29, 78, 216;
  --glow-1: rgba(29, 78, 216, .10);
  --glow-2: rgba(0, 0, 0, .03);
  --hero-top: #f4f4f5;
  --grid: rgba(0, 0, 0, .04);
  --header-bg: rgba(255, 255, 255, .9);
  --logo-ph: #a1a1aa;
  --console-shadow: rgba(0, 0, 0, .25);
  --meter: #3b82f6;
  --card-shadow: rgba(0, 0, 0, .08);
  --input-bg: #ffffff;
  --input-border: #8a8a94;
  --placeholder: #71717a;
  --error: #b91c1c;
  --footer-bg: #f4f4f5;
  --scheme: light;
  --radius: 14px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.02em; }

.container { width: min(1120px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 40px); }

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 12px; top: 12px; z-index: 100; background: var(--accent-fill); color: var(--accent-ink); padding: 8px 12px; border-radius: 8px; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 24px;
  border-radius: 999px;
  border: 2px solid var(--accent-fill);
  background: var(--accent-fill);
  color: var(--accent-ink);
  font: 700 16px/1 var(--font);
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(var(--accent-rgb), .30); }
.btn:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 3px; }
.btn-ghost { background: transparent; color: var(--accent); }
.btn-ghost:hover { background: rgba(var(--accent-rgb), .08); }
.btn-small { padding: 9px 16px; font-size: 14px; }
.btn-block { display: block; width: 100%; text-align: center; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-bg);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { text-decoration: none; color: var(--text); display: flex; align-items: center; }
.brand { gap: 12px; }
.brand-logo { height: 44px; width: auto; }
.logo-placeholder { flex: none; width: 52px; height: 44px; color: var(--logo-ph); }
.wordmark { font-weight: 800; font-size: 18px; letter-spacing: -0.01em; white-space: nowrap; }
.wordmark span { color: var(--accent); font-weight: 600; }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav a:not(.btn) { color: var(--muted); text-decoration: none; font-weight: 500; font-size: 15px; }
.site-nav a:not(.btn):hover { color: var(--text); }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 96px;
  background:
    radial-gradient(800px 400px at 85% 20%, var(--glow-1), transparent 60%),
    radial-gradient(600px 400px at 10% 100%, var(--glow-2), transparent 60%),
    linear-gradient(180deg, var(--hero-top) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px),
                    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  pointer-events: none;
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: 13px; font-weight: 700; color: var(--accent); margin: 0 0 14px; }
.hero h1 { font-size: clamp(36px, 5.4vw, 60px); font-weight: 800; }
.lead { font-size: clamp(17px, 2vw, 20px); color: var(--muted); max-width: 36em; margin: 0 0 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin: 18px 0 0; font-size: 14px; color: var(--muted); }

/* CSS console illustration */
.console {
  background: linear-gradient(160deg, #2e2e31, #1a1a1c);
  border: 1px solid #3a3a3e;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 30px 60px var(--console-shadow), inset 0 1px 0 rgba(255,255,255,.06);
  transform: perspective(900px) rotateX(10deg) rotateY(-8deg);
}
.console-screen {
  background: linear-gradient(180deg, #0a0a0b, #111113);
  border: 1px solid #2c2c30;
  border-radius: 10px;
  padding: 16px;
  height: 150px;
  margin-bottom: 18px;
}
.meters { display: flex; gap: 8px; align-items: flex-end; height: 100%; }
.meters i {
  flex: 1;
  height: var(--h);
  border-radius: 3px;
  background: linear-gradient(0deg, var(--meter) 0%, var(--meter) 70%, #facc15 92%, #f87171 100%);
  opacity: .9;
}
.faders { display: grid; grid-template-columns: repeat(8, 1fr); gap: 10px; height: 150px; }
.faders span {
  position: relative;
  background: #131315;
  border-radius: 6px;
  border: 1px solid #2c2c30;
}
.faders span::before {
  content: ""; position: absolute; left: 50%; top: 12px; bottom: 12px; width: 3px; transform: translateX(-50%);
  background: #050506; border-radius: 2px;
}
.faders span::after {
  content: ""; position: absolute; left: 50%; top: var(--p); transform: translateX(-50%);
  width: 70%; height: 22px; border-radius: 4px;
  background: linear-gradient(180deg, #e4e4e7, #8f8f96);
  box-shadow: 0 3px 6px rgba(0,0,0,.5);
}

/* Sections */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.section-title { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; }
.section-sub { color: var(--muted); margin: -4px 0 32px; }

/* Features */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 28px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.feature h3 { font-size: 19px; }
.feature p { margin: 0; color: var(--muted); font-size: 16px; }
.feature-icon {
  width: 44px; height: 44px; border-radius: 12px; margin-bottom: 16px; position: relative;
  background: rgba(var(--accent-rgb), .12);
  border: 1px solid rgba(var(--accent-rgb), .35);
}
.feature-icon::after { content: ""; position: absolute; inset: 0; margin: auto; }
.icon-pin::after { width: 14px; height: 14px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); border: 3px solid var(--accent); }
.icon-check::after { width: 16px; height: 9px; border-left: 3px solid var(--accent); border-bottom: 3px solid var(--accent); transform: translateY(-2px) rotate(-45deg); }
.icon-truck::after { width: 22px; height: 12px; border: 3px solid var(--accent); border-radius: 3px; }
.icon-map::after { width: 18px; height: 18px; border-radius: 50%; border: 3px solid var(--accent); box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .15); }

/* Pricing cards */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.card {
  position: relative;
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 32px;
  display: flex; flex-direction: column;
}
.card-featured {
  border-color: var(--accent-fill);
  background: linear-gradient(180deg, rgba(var(--accent-rgb), .08), transparent 40%), var(--surface);
  box-shadow: 0 20px 50px var(--card-shadow);
}
.tag {
  position: absolute; top: -13px; left: 32px; margin: 0;
  background: var(--accent-fill); color: var(--accent-ink);
  font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 999px;
}
.card h3 { font-size: 24px; }
.card-desc { color: var(--muted); margin: 0 0 20px; }
.prices { list-style: none; padding: 0; margin: 0 0 28px; flex: 1; }
.prices li { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line); }
.prices li:last-child { border-bottom: 0; }
.prices span { color: var(--muted); }
.prices small { font-size: 13px; }
.prices strong { font-size: 26px; font-weight: 800; color: var(--text); }
.price-note { color: var(--muted); font-size: 15px; text-align: center; margin: 24px auto 0; max-width: 720px; }
.form-hint { margin: 0; font-size: 14px; color: var(--muted); background: var(--bg-alt); border-left: 3px solid var(--accent); border-radius: 6px; padding: 10px 14px; }
.extras { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-wrap: wrap; gap: 12px; }
.extras li {
  flex: 1 1 260px;
  background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--accent);
  border-radius: 10px; padding: 14px 18px; font-size: 15px; color: var(--muted);
}
.extras strong { color: var(--text); }

/* Terms */
.terms { padding-left: 1.2em; margin: 16px 0 0; }
.terms li { margin-bottom: 14px; color: var(--muted); padding-left: 6px; }
.terms li::marker { color: var(--accent); font-weight: 700; }
.terms strong { color: var(--text); }

/* About */
.about { display: grid; grid-template-columns: 340px 1fr; gap: 56px; align-items: center; }
.about-photo img { border-radius: 18px; border: 1px solid var(--line); width: 100%; aspect-ratio: 5 / 6; object-fit: cover; }
.about-copy p { color: var(--muted); font-size: 18px; }

/* Form */
.request-form {
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 32px;
  display: grid; gap: 18px;
}
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.request-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--text); }
.request-form input:not([type="radio"]), .request-form select, .request-form textarea {
  width: 100%;
  font: 400 16px/1.4 var(--font);
  color: var(--text);
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: 10px;
  padding: 12px 14px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.request-form input::placeholder, .request-form textarea::placeholder { color: var(--placeholder); }
.request-form input:focus, .request-form select:focus, .request-form textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .25);
}
.request-form input[type="date"] { color-scheme: var(--scheme); min-height: 47px; }
.request-form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 52%, calc(100% - 14px) 52%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
fieldset { border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px 14px; margin: 0; }
legend { font-size: 14px; font-weight: 600; padding: 0 6px; }
.request-form .choice { display: flex; align-items: center; gap: 10px; font-weight: 400; color: var(--muted); padding: 4px 0; }
.choice input { accent-color: var(--accent); width: 18px; height: 18px; margin: 0; }
.hp { position: absolute; left: -9999px; }
.form-status { margin: 0; min-height: 1em; font-size: 15px; color: var(--error); }
.thanks {
  background: var(--surface); border: 1px solid var(--accent-fill); border-radius: 18px; padding: 32px; text-align: center;
}
.thanks h3 { color: var(--accent); }
.thanks p { margin: 0; font-size: 18px; }
.form-alt { text-align: center; color: var(--muted); font-size: 15px; margin-top: 20px; }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 4px 0; }
details:first-of-type { border-top: 1px solid var(--line); margin-top: 16px; }
summary {
  cursor: pointer; list-style: none; padding: 16px 32px 16px 0; font-weight: 700; font-size: 18px; position: relative;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  color: var(--accent); font-size: 24px; font-weight: 400;
}
details[open] summary::after { content: "\2212"; }
details p { margin: 0 0 18px; color: var(--muted); }

/* Footer */
.site-footer { padding: 40px 0; border-top: 1px solid var(--line); background: var(--footer-bg); font-size: 15px; color: var(--muted); }
.footer-inner { display: flex; justify-content: space-between; gap: 32px; align-items: flex-end; flex-wrap: wrap; }
.site-footer p { margin: 0 0 4px; }
.footer-name { color: var(--text); font-weight: 700; }
.tm { max-width: 460px; font-size: 13px; }

/* Responsive */
@media (max-width: 960px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 520px; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .site-nav a:not(.btn) { display: none; }
  .logo-placeholder { width: 44px; height: 38px; }
  .brand-logo { height: 38px; width: auto; }
  .wordmark { font-size: 16px; }
  .brand { gap: 10px; }
  .hero { padding: 56px 0 64px; }
  .hero-actions .btn { flex: 1 1 auto; text-align: center; }
  .console { transform: none; padding: 14px; }
  .console-screen { height: 100px; }
  .faders { height: 110px; gap: 6px; }
  .section { padding: 64px 0; }
  .features, .cards, .grid-2 { grid-template-columns: 1fr; }
  .card, .request-form, .thanks { padding: 24px 20px; }
  .about { grid-template-columns: 1fr; gap: 28px; }
  .about-photo { max-width: 280px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* thanks.html and 404.html */
.simple-page { min-height: calc(100vh - 260px); display: flex; align-items: center; }
.simple-page .container { width: min(720px, 100% - 40px); }
.simple-actions { margin: 24px 0 0; text-align: center; }
