/* Apex PPF — car detailing / paint protection film funnel
   Apple-minimal: black / white / grays, system sans, generous whitespace. */

:root {
  --ink: #111113;
  --ink-soft: #4b4b52;
  --line: #e6e6ea;
  --bg: #ffffff;
  --bg-soft: #f6f6f8;
  --accent: #111113;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(17, 17, 19, 0.04), 0 8px 24px rgba(17, 17, 19, 0.06);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 640px; margin: 0 auto; padding: 0 24px; }
.wrap-wide { max-width: 960px; margin: 0 auto; padding: 0 24px; }

/* Header ------------------------------------------------------------ */
.site-header {
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(12px);
  z-index: 10;
}
.site-header .wrap-wide {
  display: flex; align-items: center; justify-content: space-between;
  height: 60px;
}
.brand { font-weight: 600; letter-spacing: -0.01em; font-size: 17px; }
.brand span { color: var(--ink-soft); font-weight: 400; }
.header-note { font-size: 13px; color: var(--ink-soft); }

/* Progress (the funnel steps, made visible to the visitor) ---------- */
.steps {
  display: flex; gap: 8px; align-items: center;
  padding: 20px 0 0; justify-content: center;
  font-size: 13px; color: var(--ink-soft);
}
.steps .step { display: flex; align-items: center; gap: 8px; }
.steps .dot {
  width: 22px; height: 22px; border-radius: 50%;
  border: 1.5px solid var(--line); display: grid; place-items: center;
  font-size: 12px; font-weight: 600; color: var(--ink-soft);
  transition: all 240ms var(--ease);
}
.steps .step.active .dot { background: var(--ink); color: #fff; border-color: var(--ink); }
.steps .step.done .dot { background: var(--ink); color: #fff; border-color: var(--ink); }
.steps .step.active .label { color: var(--ink); font-weight: 500; }
.steps .sep { width: 26px; height: 1.5px; background: var(--line); }

/* Hero -------------------------------------------------------------- */
.hero { padding: 56px 0 8px; text-align: center; }
.eyebrow {
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--ink-soft); font-weight: 600; margin: 0 0 14px;
}
h1 {
  font-size: clamp(30px, 5vw, 44px); line-height: 1.1; letter-spacing: -0.02em;
  margin: 0 0 16px; font-weight: 650;
}
.sub { font-size: 18px; color: var(--ink-soft); margin: 0 auto 8px; max-width: 520px; }

/* Value row --------------------------------------------------------- */
.values {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  padding: 36px 0;
}
.value { text-align: center; padding: 8px; }
.value .n { font-size: 24px; font-weight: 650; letter-spacing: -0.01em; }
.value .t { font-size: 13px; color: var(--ink-soft); }

/* Card / form ------------------------------------------------------- */
.card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 32px; margin: 8px 0 48px;
}
.card h2 { font-size: 22px; letter-spacing: -0.01em; margin: 0 0 4px; }
.card .card-sub { color: var(--ink-soft); font-size: 15px; margin: 0 0 24px; }

.field { margin: 0 0 20px; }
.field label { display: block; font-size: 14px; font-weight: 500; margin: 0 0 8px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; font-size: 15px; font-family: inherit;
  border: 1px solid var(--line); border-radius: 10px; background: var(--bg);
  color: var(--ink); transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(17, 17, 19, 0.08);
}

/* Option chips (single-select survey answers) ---------------------- */
.chips { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.chip {
  border: 1px solid var(--line); border-radius: 10px; padding: 14px;
  font-size: 15px; cursor: pointer; background: var(--bg);
  transition: all 200ms var(--ease); user-select: none;
}
.chip:hover { border-color: #c9c9d1; }
.chip.selected { border-color: var(--ink); background: var(--bg-soft); font-weight: 500; }
.chip input { display: none; }

/* Button ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 14px 20px; font-size: 16px; font-weight: 550;
  font-family: inherit; color: #fff; background: var(--ink);
  border: none; border-radius: 10px; cursor: pointer;
  transition: transform 200ms var(--ease), opacity 200ms var(--ease);
}
.btn:hover { opacity: 0.9; }
.btn:active { transform: scale(0.99); }
.btn.secondary { background: var(--bg); color: var(--ink); border: 1px solid var(--line); }
.btn-row { display: flex; gap: 12px; margin-top: 4px; }
.btn-row .btn { width: auto; flex: 1; }

/* Slots (schedule) -------------------------------------------------- */
.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0 0 22px; }
.slot {
  border: 1px solid var(--line); border-radius: 10px; padding: 12px 8px;
  text-align: center; font-size: 14px; cursor: pointer;
  transition: all 200ms var(--ease); background: var(--bg);
}
.slot:hover { border-color: #c9c9d1; }
.slot.selected { border-color: var(--ink); background: var(--ink); color: #fff; font-weight: 500; }
.slot input { display: none; }

/* Thank you --------------------------------------------------------- */
.tick {
  width: 64px; height: 64px; border-radius: 50%; background: var(--ink);
  display: grid; place-items: center; margin: 0 auto 24px;
}
.tick svg { width: 30px; height: 30px; stroke: #fff; }
.summary {
  background: var(--bg-soft); border-radius: 10px; padding: 20px; margin: 24px 0;
  text-align: left; font-size: 14px;
}
.summary .row { display: flex; justify-content: space-between; padding: 6px 0; }
.summary .row span:first-child { color: var(--ink-soft); }

/* Footer ------------------------------------------------------------ */
.site-footer {
  border-top: 1px solid var(--line); padding: 28px 0; margin-top: 24px;
  font-size: 13px; color: var(--ink-soft); text-align: center;
}

.center { text-align: center; }
.mt-0 { margin-top: 0; }

@media (max-width: 560px) {
  .values { grid-template-columns: 1fr; gap: 8px; }
  .chips { grid-template-columns: 1fr; }
  .slots { grid-template-columns: repeat(2, 1fr); }
  .steps .label { display: none; }
}
