:root {
  --paper: #E8E7E1;
  --paper-2: #DEDCD3;
  --ink: #17170F;
  --ink-soft: #565248;
  --ink-faint: #8A8579;
  --panel: #1C1B16;
  --panel-2: #26241E;
  --panel-line: #3A372E;
  --paper-on-dark: #DEDCD3;
  --red: #C03A28;
  --green: #2E7D48;
  --amber: #E0A124;
  --hair: rgba(23, 23, 15, 0.14);
  --hair-strong: rgba(23, 23, 15, 0.28);
  --shadow: 0 1px 0 rgba(23,23,15,0.05);
  --maxw: 1120px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Public Sans", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }

::selection { background: var(--red); color: var(--paper); }

:focus-visible {
  outline: 2.5px solid var(--red);
  outline-offset: 3px;
}

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 22px;
}

.mono {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.eyebrow {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---------- NAV ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.1) blur(8px);
  border-bottom: 1px solid var(--hair);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 1px;
}
.brand .dot { color: var(--red); }
.nav-links {
  display: none;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
}
.nav-links a:hover { color: var(--ink); }

.btn {
  font-family: "Public Sans", sans-serif;
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  padding: 11px 18px;
  border-radius: 2px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  line-height: 1;
  transition: transform .08s ease, background .15s ease, color .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--ink);
  color: var(--paper);
}
.btn-primary:hover { background: var(--red); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--hair-strong);
}
.btn-ghost:hover { border-color: var(--ink); }
.btn .arr { font-family: "IBM Plex Mono", monospace; font-weight: 600; }

/* ---------- HERO ---------- */
.hero { padding: 52px 0 56px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}
h1.hero-title {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
  font-size: clamp(40px, 9vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin: 0 0 26px;
  max-width: 18ch;
}
h1.hero-title em {
  font-style: normal;
  color: var(--red);
}
.hero-sub {
  font-size: clamp(18px, 2.4vw, 22px);
  color: var(--ink-soft);
  max-width: 58ch;
  margin: 0 0 32px;
}
.hero-sub strong { color: var(--ink); font-weight: 600; }
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}
.reassure {
  font-size: 14px;
  color: var(--ink-faint);
  display: flex;
  align-items: center;
  gap: 8px;
}
.reassure::before {
  content: "→";
  font-family: "IBM Plex Mono", monospace;
  color: var(--green);
  font-weight: 600;
}

/* ---------- SECTION SHELL ---------- */
.section { padding: 64px 0; border-top: 1px solid var(--hair); }
.section-head { max-width: 60ch; margin-bottom: 40px; }
.section-head h2 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 5vw, 40px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 14px 0 14px;
}
.section-head p {
  font-size: 18px;
  color: var(--ink-soft);
  margin: 0;
  max-width: 52ch;
}

/* ---------- HOW ---------- */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--hair-strong);
}
.step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  padding: 26px 0;
  border-bottom: 1px solid var(--hair);
  align-items: start;
}
.step .num {
  font-family: "IBM Plex Mono", monospace;
  font-weight: 600;
  font-size: 14px;
  color: var(--red);
  padding-top: 4px;
}
.step h3 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -0.01em;
  margin: 0 0 7px;
}
.step p { margin: 0; color: var(--ink-soft); font-size: 16.5px; max-width: 60ch; }

/* ---------- PRICING ---------- */
.price-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.price-card {
  border: 1px solid var(--hair-strong);
  border-radius: 4px;
  padding: 26px 24px;
  background: var(--paper);
}
.price-card.lead {
  border-color: var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
}
.price-card .kicker {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.price-card h3 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.02em;
  margin: 8px 0 6px;
}
.price-card .cost {
  font-size: 16px;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 14px;
}
.price-card .cost span { color: var(--ink-faint); font-weight: 400; }
.price-card p { margin: 0 0 18px; color: var(--ink-soft); font-size: 15.5px; }
.price-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: grid;
  gap: 9px;
}
.price-card li {
  font-size: 15px;
  padding-left: 22px;
  position: relative;
  color: var(--ink);
}
.price-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

/* ---------- FAQ ---------- */
.faq-list { border-top: 1px solid var(--hair-strong); }
details.qa {
  border-bottom: 1px solid var(--hair);
}
details.qa summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 36px 22px 0;
  font-weight: 600;
  font-size: 18px;
  position: relative;
  font-family: "Bricolage Grotesque", sans-serif;
  letter-spacing: -0.01em;
}
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-family: "IBM Plex Mono", monospace;
  color: var(--red);
  font-size: 22px;
  font-weight: 500;
  transition: transform .2s ease;
}
details.qa[open] summary::after { content: "−"; }
details.qa .a {
  padding: 0 36px 24px 0;
  color: var(--ink-soft);
  font-size: 16.5px;
  max-width: 64ch;
}
details.qa .a a {
  color: var(--amber);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---------- FINAL CTA ---------- */
.final {
  text-align: left;
  padding: 76px 0 80px;
  border-top: 1px solid var(--hair);
}
.final h2 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
  font-size: clamp(32px, 7vw, 56px);
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin: 0 0 18px;
  max-width: 16ch;
}
.final p { font-size: 18px; color: var(--ink-soft); margin: 0 0 28px; max-width: 48ch; }

/* ---------- SCAN FORM ---------- */
.scan-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: start;
}
.scan-copy h2 { margin-bottom: 16px; }
.scan-copy p { font-size: 18px; color: var(--ink-soft); margin: 0 0 14px; max-width: 40ch; }
.scan-form {
  border: 1px solid var(--ink);
  border-radius: 4px;
  box-shadow: 4px 4px 0 var(--ink);
  background: var(--paper);
  padding: 24px 22px;
  display: grid;
  gap: 16px;
}
.scan-form .field { display: grid; gap: 6px; }
.scan-form label {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.scan-form label .opt { color: var(--ink-faint); font-weight: 400; }
.scan-form input,
.scan-form textarea {
  font-family: "Public Sans", system-ui, sans-serif;
  font-size: 16px;
  color: var(--ink);
  background: var(--paper-2);
  border: 1px solid var(--hair-strong);
  border-radius: 2px;
  padding: 11px 12px;
  width: 100%;
}
.scan-form textarea { resize: vertical; min-height: 76px; }
.scan-form input:focus,
.scan-form textarea:focus {
  outline: 2.5px solid var(--red);
  outline-offset: 1px;
  border-color: var(--ink);
}
.scan-form button { justify-content: center; margin-top: 2px; }
.scan-form button:disabled { opacity: 0.6; cursor: default; }
/* honeypot: pulled off-screen, still in the DOM for bots to fill */
.scan-form .hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-note { font-size: 14px; margin: 2px 0 0; min-height: 1px; }
.form-note.is-error { color: var(--red); }
.form-note.is-ok { color: var(--green); }

/* ---------- FOOTER ---------- */
footer {
  background: var(--panel);
  color: var(--ink-faint);
  padding: 48px 0 40px;
}
.foot-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: space-between;
}
footer .brand { color: var(--paper-on-dark); }
footer .made {
  font-size: 14.5px;
  max-width: 40ch;
  color: var(--ink-faint);
}
.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}
.foot-links a {
  text-decoration: none;
  font-size: 14px;
  color: var(--paper-on-dark);
  opacity: 0.8;
}
.foot-links a:hover { opacity: 1; color: var(--amber); }
.foot-legal {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--panel-line);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11.5px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  justify-content: space-between;
}

/* ---------- RESPONSIVE ---------- */
@media (min-width: 720px) {
  .price-grid { grid-template-columns: 1.15fr 1fr; }
  .step { grid-template-columns: 64px 1fr; }
  .foot-grid { flex-direction: row; align-items: flex-start; }
  .scan-grid { grid-template-columns: 1fr 1fr; gap: 48px; }
}
@media (min-width: 920px) {
  body { font-size: 17px; }
  .nav-links { display: flex; }
  .hero { padding: 96px 0 100px; }
  .section { padding: 88px 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
