/* Modern Civic (dark) — sketch 001 variant C, dark-first per owner preference.
   Near-black base; blue and yellow do the shouting. */
:root {
  --bg: #0f1317;
  --surface: #171c22;
  --surface-2: #1e242c;
  --border: #2c343e;
  --text: #e8ebf0;
  --text-soft: #a7b0bc;
  --blue: #1e40af;        /* color-block backgrounds */
  --blue-bright: #7c9aff; /* text/links/kickers on dark */
  --yellow: #facc15;
  --ink: #14181d;         /* text on yellow */
  --font-sans: "Segoe UI", system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

/* ----- shared type + buttons ----- */
.kicker {
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
  margin: 0 0 12px;
  color: var(--blue-bright);
}
.secnum {
  font-weight: 900;
  font-size: 3rem;
  line-height: 1;
  display: block;
  margin-bottom: 8px;
  color: var(--blue-bright);
}
@supports (-webkit-text-stroke: 2px black) {
  .secnum { color: transparent; -webkit-text-stroke: 2px var(--blue-bright); }
  .band-yellow .secnum { -webkit-text-stroke-color: var(--ink); }
}
h2 {
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(1.5rem, 3.4vw, 2.1rem);
  letter-spacing: -.01em;
  margin: 0 0 16px;
}
a { color: var(--blue-bright); font-weight: 700; }
.button {
  display: inline-block;
  font-weight: 800;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 16px 32px;
  background: var(--yellow);
  color: var(--ink);
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 6px 6px 0 rgba(0, 0, 0, .55);
  transition: all .12s ease;
  font-family: var(--font-sans);
}
.button:hover { transform: translate(-2px, -2px); box-shadow: 9px 9px 0 rgba(0, 0, 0, .55); }
.button:active { transform: translate(0, 0); box-shadow: 4px 4px 0 rgba(0, 0, 0, .55); }
.button:disabled { opacity: .55; cursor: default; transform: none; box-shadow: 6px 6px 0 rgba(0, 0, 0, .3); }
.button-onyellow { background: var(--ink); color: #fff; box-shadow: 6px 6px 0 rgba(0, 0, 0, .25); }
.band-yellow a.button-onyellow { color: #fff; }
.button-secondary {
  background: transparent;
  color: var(--text);
  border: 3px solid var(--text);
  box-shadow: none;
  padding: 13px 26px;
}
.button-secondary:hover { transform: none; box-shadow: 4px 4px 0 var(--yellow); }

/* ----- main page ----- */
.wrap { max-width: 52rem; margin: 0 auto; padding: 0 24px; }
.hero { background: var(--blue); color: #fff; padding: 72px 24px 64px; }
.hero .wrap { padding: 0; }
.hero .kicker { color: var(--yellow); }
.hero h1 {
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -.01em;
  font-size: clamp(2.4rem, 7vw, 4.2rem);
  line-height: 1.02;
  margin: 0 0 24px;
  max-width: 15ch;
}
.hero p { font-size: 1.2rem; max-width: 36rem; margin: 0 0 32px; color: #dbe3ff; }
section { padding: 56px 0; }
section p { max-width: 44rem; }
.band-panel { background: var(--surface); }
.band-yellow { background: var(--yellow); color: var(--ink); }
.band-yellow .kicker { color: var(--ink); }
.band-yellow p { color: #33383f; }
.band-yellow a { color: var(--ink); }
.tile-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin-top: 24px; }
.tile { border: 3px solid var(--border); padding: 24px; background: var(--surface-2); color: var(--text); transition: all .12s ease; }
.tile:hover { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--yellow); border-color: var(--text); }
.tile strong { display: block; text-transform: uppercase; letter-spacing: .03em; margin-bottom: 8px; }
.tile p { margin: 0; font-size: .95rem; color: var(--text-soft); }
.cost-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  border: 3px solid var(--yellow);
  margin-top: 24px;
  background: var(--surface);
}
.cost-strip .cell { padding: 24px; border-right: 3px solid var(--yellow); border-bottom: 3px solid var(--yellow); margin-bottom: -3px; }
.cost-strip .cell:last-child { border-right: none; }
.cost-strip .num { font-weight: 900; font-size: 2.1rem; color: var(--yellow); display: block; line-height: 1.1; }
.cost-strip p { margin: 8px 0 0; font-size: .92rem; color: var(--text-soft); }
.faq-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin-top: 24px; }
.faq-grid .qa { border-left: 6px solid var(--blue-bright); background: var(--surface-2); padding: 16px 24px; }
.faq-grid h3 { margin: 0 0 4px; font-size: 1rem; text-transform: uppercase; letter-spacing: .02em; }
.faq-grid p { margin: 0; font-size: .95rem; color: var(--text-soft); }
footer { background: #0a0d10; color: var(--text-soft); padding: 32px 24px; text-align: center; font-size: .9rem; }
footer a { color: var(--yellow); }

/* ----- survey page ----- */
.survey-main { max-width: 42rem; margin: 0 auto; padding: 24px 24px 64px; }
.survey-main h1 {
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -.01em;
  font-size: clamp(1.4rem, 4vw, 1.9rem);
  color: var(--text);
  border-bottom: 6px solid var(--yellow);
  padding-bottom: 10px;
}
.progress {
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: 16px;
}
.qblock {
  background: var(--surface);
  border: 3px solid var(--border);
  padding: 20px 24px;
  margin-bottom: 20px;
}
.qblock h2 {
  text-transform: none;
  letter-spacing: 0;
  font-size: 1.08rem;
  font-weight: 800;
  margin: 0 0 12px;
}
.qblock .note { color: var(--text-soft); font-size: .9rem; }
.opt {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  padding: 8px 4px;
}
.opt input[type="radio"], .opt input[type="checkbox"] {
  accent-color: var(--blue-bright);
  width: 18px;
  height: 18px;
  margin-top: 3px;
}
.opt:hover { background: var(--surface-2); }
.other-input, .text-input, textarea {
  font: inherit;
  color: var(--text);
  background: var(--bg);
  width: 100%;
  padding: 10px;
  border: 3px solid var(--border);
  border-radius: 0;
  margin-top: 6px;
}
.other-input:focus, .text-input:focus, textarea:focus { outline: none; border-color: var(--blue-bright); }
.opt .text-input { grid-column: 1 / -1; }
textarea { min-height: 6rem; }
.price { border: 3px solid var(--border); margin: 0 0 16px; padding: 12px 16px; }
.price legend {
  font-weight: 800;
  color: var(--ink);
  padding: 2px 8px;
  background: var(--yellow);
}
.price legend small { font-weight: 600; }
.nav { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 24px; }
.nav .spacer { flex: 1; }
.error {
  background: #241012;
  border: 3px solid #ff5449;
  border-left-width: 12px;
  color: #ffb4ad;
  padding: 12px 16px;
  margin-bottom: 16px;
  font-weight: 600;
}
.error ul { margin: 0; padding-left: 18px; }
.error li { margin: 2px 0; }
.banner {
  background: var(--yellow);
  border: 3px solid var(--ink);
  color: var(--ink);
  padding: 12px 16px;
  margin-bottom: 20px;
  font-size: .95rem;
  font-weight: 600;
}

/* ----- responsive ----- */
@media (max-width: 520px) {
  .hero { padding: 48px 24px; }
  section { padding: 40px 0; }
  .nav { flex-direction: column-reverse; }
  .nav .button, .nav .button-secondary { width: 100%; text-align: center; }
  .cost-strip .cell { border-right: none; }
}
