:root {
  --bg: #0c1210;
  --card: #18211e;
  --text: #f2f6f3;
  --muted: #9aada3;
  --accent: #5ec4a0;
  --accent-deep: #2a8f6e;
  --line: #2a3832;
  --paper: #f7f4ee;
  --paper-ink: #1a1f1c;
  --paper-muted: #5c665f;
  --paper-line: #e5dfd3;
  --gold: #e2b657;
  --radius: 18px;
  --font: "DM Sans", system-ui, sans-serif;
  --display: "Fraunces", Georgia, serif;
  --shadow: 0 18px 50px rgba(0,0,0,.35);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.55;
  background:
    radial-gradient(900px 500px at 85% 8%, rgba(42,143,110,.25), transparent 55%),
    radial-gradient(700px 420px at 8% 0%, rgba(122,139,154,.14), transparent 50%),
    linear-gradient(180deg, #0e1613 0%, var(--bg) 45%, #0a100e 100%);
}
a { color: var(--accent); }
.wrap { max-width: 920px; margin: 0 auto; padding: 22px 18px 96px; }
.wrap.home { max-width: 1100px; }
.topbar {
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px; margin-bottom: 26px; flex-wrap: wrap;
}
.brand {
  display: flex; align-items: center; gap: 10px; font-weight: 700;
  color: inherit; text-decoration: none;
}
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(145deg, #2a8f6e, #1a4d3c);
  display: grid; place-items: center;
}
.demo-chip, .pill {
  font-size: 12px; font-weight: 600; color: #e2b657;
  background: rgba(226,182,87,.1); border: 1px solid rgba(226,182,87,.35);
  padding: 6px 12px; border-radius: 999px;
}
.pill { color: var(--muted); border-color: var(--line); background: transparent; }
h1 {
  font-family: var(--display);
  font-size: clamp(1.85rem, 4vw, 2.55rem);
  line-height: 1.12; margin: 0 0 12px; letter-spacing: -.02em;
}
h1 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--accent), #a8e6cf);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
h2 { font-family: var(--display); font-size: 1.3rem; margin: 0 0 10px; }
h3 { font-family: var(--display); margin: 0 0 8px; }
.lead { color: var(--muted); font-size: 1.05rem; margin: 0; max-width: 42ch; }
.card {
  background: linear-gradient(180deg, rgba(255,255,255,.03), transparent 40%), var(--card);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; margin-bottom: 14px; box-shadow: var(--shadow);
}
.price-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.price strong { font-family: var(--display); font-size: 2.1rem; color: var(--accent); }
.price span { color: var(--muted); margin-left: 8px; }
ul.features { list-style: none; padding: 0; margin: 0 0 16px; }
ul.features li {
  display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line);
}
ul.features li:last-child { border-bottom: 0; }
.check {
  width: 22px; height: 22px; border-radius: 7px; flex: 0 0 auto;
  background: rgba(94,196,160,.15); color: var(--accent);
  display: grid; place-items: center; font-size: 12px; font-weight: 700;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; border: none; cursor: pointer; font: inherit; font-weight: 600;
  border-radius: 12px; padding: 14px 18px; text-decoration: none;
}
.btn-primary {
  width: 100%; color: #04150f;
  background: linear-gradient(180deg, #6fd0ad, var(--accent-deep));
  box-shadow: 0 8px 24px rgba(42,143,110,.35);
}
.btn-ghost {
  width: 100%; margin-top: 10px; background: transparent;
  color: var(--muted); border: 1px solid var(--line);
}
.btn-demo {
  width: 100%; color: #03140e;
  background: linear-gradient(180deg, #7ad9b8, #248a69);
}
.btn-small { width: auto; padding: 10px 14px; font-size: .9rem; }
.hidden { display: none !important; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .grid2 { grid-template-columns: 1fr; } }
label.field { display: block; font-size: .82rem; color: var(--muted); margin: 0 0 6px; }
input[type=text], input[type=date], input[type=email], textarea.field-input, textarea.chk-notes {
  width: 100%; background: #0f1614; border: 1px solid var(--line);
  color: var(--text); border-radius: 12px; padding: 12px 14px; font: inherit;
  margin-bottom: 12px;
}
.steps { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.step-pill {
  font-size: 12px; padding: 6px 10px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--muted);
}
.step-pill.on { color: var(--accent); border-color: var(--accent); background: rgba(94,196,160,.1); }
.step-pill.done { color: #9fd9c2; border-color: var(--accent-deep); }
.checkout-box { text-align: center; padding: 28px 16px; }
.amt { font-family: var(--display); font-size: 2.8rem; color: var(--accent); font-weight: 700; }
.banner-warn {
  margin: 0 0 14px; padding: 12px 14px; border-radius: 12px;
  background: rgba(226,182,87,.12); border: 1px solid rgba(226,182,87,.45);
  color: #f0d9a0; font-size: .9rem;
}
.banner-warn strong { color: #f5e6c0; }
.banner-warn a { color: #7decc4; }
.legal-strong {
  font-size: .84rem; color: var(--muted); margin-top: 16px;
  padding: 14px 16px; border-radius: 12px;
  border: 1px solid rgba(226,182,87,.35);
  background: rgba(226,182,87,.08);
  line-height: 1.5;
}
.legal-strong strong { color: #e8d5a0; }
.ol-soft { margin: 0; padding-left: 18px; color: var(--text); }
.ol-soft li { margin: 6px 0; }
.link-row { display: flex; flex-direction: column; gap: 4px; margin-top: 10px; font-size: .85rem; }
.link-row a { color: var(--accent); word-break: break-word; }
.site-footer {
  margin-top: 28px; padding: 18px 16px; border-radius: 14px;
  border: 1px solid var(--line); background: rgba(0,0,0,.28);
  font-size: .8rem; color: var(--muted); line-height: 1.55;
}
.site-footer strong { color: #d8e8e0; }

/* Cover — NH pattern */
.cover {
  width: 100%;
  max-width: 420px;
  margin: 0 auto 20px;
  aspect-ratio: 3 / 4;
  border-radius: 18px;
  padding: 36px 28px 28px;
  position: relative; overflow: hidden;
  background:
    radial-gradient(600px 400px at 80% 20%, rgba(42,143,110,.35), transparent 55%),
    linear-gradient(165deg, #15241f 0%, #0c1210 55%, #08110d 100%);
  border: 1px solid #2a3832;
  box-shadow: 0 30px 80px rgba(0,0,0,.45);
  display: flex; flex-direction: column;
}
.cover-mark {
  position: absolute; right: 8%; top: 26%; width: 42%;
  opacity: .14; pointer-events: none; z-index: 0;
  font-family: var(--display); font-size: 5rem; font-weight: 700;
  color: #7decc4; line-height: 1; text-align: right;
}
.cover-brand {
  font-family: var(--display);
  font-size: 2.35rem; line-height: 1.05; font-weight: 700;
  letter-spacing: -.02em; margin: 0; position: relative; z-index: 1;
}
.cover-state {
  font-family: var(--display);
  font-size: clamp(1.35rem, 4vw, 1.85rem); line-height: 1.1; font-weight: 600;
  color: #7decc4; margin: 4px 0 0; position: relative; z-index: 1;
}
.cover-rule {
  width: 48px; height: 2px; background: var(--gold);
  margin: 18px 0 12px; border: 0; position: relative; z-index: 1;
}
.cover-slogan {
  font-style: italic; color: #9aada3; font-size: 1rem; margin: 0;
  position: relative; z-index: 1;
}
.cover-mid {
  flex: 1; display: flex; align-items: center; justify-content: center;
  margin: 20px 0; position: relative; z-index: 1;
}
.cover-badge {
  text-align: center;
  padding: 14px 18px; border-radius: 14px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
}
.cover-badge .kicker {
  font-size: .7rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold); font-weight: 700; margin: 0 0 6px;
}
.cover-badge .vehicle {
  font-family: var(--display);
  font-size: 1.35rem; margin: 0; color: #f2f6f3;
}
.cover-fact {
  margin-top: auto; z-index: 1;
  background: #f7f4ee; color: #1a1f1c;
  border-radius: 14px; padding: 14px 16px;
}
.cover-fact .label {
  font-size: .68rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: #2a8f6e; margin: 0 0 6px;
}
.cover-fact p { margin: 0; font-size: .88rem; line-height: 1.45; }
.cover-fact .src { margin-top: 8px; font-size: .72rem; color: #5c665f; }
.cover-fact a { color: #1f6b53; }
.cover-footer {
  margin-top: 12px; font-size: .72rem; color: #7a8b82;
  display: flex; justify-content: space-between; gap: 8px;
  position: relative; z-index: 1;
}

/* Home grid */
.home-hero { margin-bottom: 28px; }
.state-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
  margin-bottom: 24px;
}
.state-card {
  display: flex; flex-direction: column; gap: 4px;
  padding: 14px 12px; border-radius: 14px;
  background: var(--card); border: 1px solid var(--line);
  text-decoration: none; color: inherit;
  transition: border-color .15s, transform .12s;
}
.state-card:hover { border-color: var(--accent); transform: translateY(-1px); }
.state-card-abbr {
  font-size: .72rem; font-weight: 700; letter-spacing: .08em;
  color: var(--accent); text-transform: uppercase;
}
.state-card-name { font-weight: 600; font-size: .95rem; }
.state-card-vehicle { font-size: .75rem; color: var(--muted); }
.state-card-vehicle.muted { font-style: italic; }

/* Packet / paper */
.packet {
  background: var(--paper); color: var(--paper-ink);
  border-radius: 14px; padding: 26px 22px; border: 1px solid var(--paper-line);
}
.packet-header {
  display: flex; justify-content: space-between; gap: 14px;
  padding-bottom: 12px; border-bottom: 2px solid var(--paper-ink); margin-bottom: 14px;
}
.packet-header h3 { font-family: var(--display); margin: 0 0 4px; }
.meta { color: var(--paper-muted); font-size: .88rem; }
.packet table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.packet td { padding: 8px 4px; border-bottom: 1px solid var(--paper-line); }
.packet td:first-child { width: 34%; color: var(--paper-muted); }
.packet .sig { margin-top: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.packet .line { border-top: 1px solid var(--paper-ink); margin-top: 40px; padding-top: 6px; font-size: .85rem; }
.packet .section { margin-top: 28px; }
.packet .section > h3 { font-family: var(--display); margin: 0 0 8px; font-size: 1.15rem; }

.inspect-hero {
  background: linear-gradient(135deg, #1a2a24, #121c18);
  border: 1px solid #31453c; border-radius: 16px;
  padding: 16px 16px 14px; margin: 0 0 16px; color: #e7f3ec;
}
.inspect-hero h3 { font-family: var(--display); margin: 0 0 6px; color: #f2f6f3; font-size: 1.25rem; }
.inspect-hero p { margin: 0; color: #9eb6aa; font-size: .92rem; }
.inspect-toolbar {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  justify-content: space-between; margin: 12px 0 0;
}
.progress {
  font-size: .85rem; color: #b7cfc3;
  display: flex; align-items: center; gap: 10px; flex: 1; min-width: 180px;
}
.progress-track {
  flex: 1; height: 6px; background: rgba(255,255,255,.08);
  border-radius: 99px; overflow: hidden;
}
.progress-fill {
  height: 100%; width: 0%; background: linear-gradient(90deg, #2a8f6e, #7ad9b8);
  border-radius: 99px; transition: width .25s ease;
}
.inspect-shell { display: flex; flex-direction: column; gap: 14px; margin-top: 14px; }
.inspect-map {
  position: relative; max-width: 420px; width: 100%; margin: 0 auto;
  background: #efeae2; border: 1px solid var(--paper-line);
  border-radius: 16px; padding: 12px;
}
.map-title {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 8px; margin-bottom: 8px;
  font-size: .8rem; font-weight: 600; letter-spacing: .04em;
  text-transform: uppercase; color: var(--paper-muted);
}
.car-map {
  position: relative; width: 100%; aspect-ratio: 1 / 1;
  border-radius: 12px; overflow: hidden; background: #e7e2d8;
}
.car-map img {
  width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none;
}
.car-map svg.route {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 1;
}
.pin {
  position: absolute; z-index: 2;
  width: 24px; height: 24px; border-radius: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(26,31,28,.45);
  background: rgba(255,255,255,.94); color: #1a1f1c;
  font-size: 10px; font-weight: 600; font-family: var(--font);
  display: grid; place-items: center;
  box-shadow: 0 1px 2px rgba(0,0,0,.2);
  cursor: pointer; padding: 0;
  transition: transform .12s, background .12s, border-color .12s, color .12s;
}
.pin:hover { transform: translate(-50%, -50%) scale(1.06); border-color: #2a8f6e; }
.pin.on {
  background: #1a1f1c; color: #fff; border-color: #1a1f1c;
  box-shadow: 0 0 0 3px rgba(42,143,110,.28);
}
.pin.done { background: #e7f4ee; color: #1f6b53; border-color: #2a8f6e; }
.map-caption { margin-top: 8px; font-size: .8rem; color: var(--paper-muted); text-align: center; }
.check-card {
  border: 1px solid var(--paper-line); background: #fff;
  border-radius: 12px; padding: 12px; margin-bottom: 10px;
  transition: border-color .15s, box-shadow .15s;
}
.check-card.focused { border-color: #2a8f6e; box-shadow: 0 0 0 3px rgba(42,143,110,.12); }
.check-card.done { background: #f3faf6; }
.check-main { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.check-main input {
  width: 18px; height: 18px; margin-top: 3px; accent-color: #2a8f6e; flex: 0 0 auto;
}
.num {
  flex: 0 0 auto; width: 20px; height: 20px; margin-top: 2px;
  border-radius: 50%; border: 1px solid #cfc8bb; background: #f3f1ea;
  color: #3d4a44; font-size: 10px; font-weight: 600;
  display: grid; place-items: center;
}
.check-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.check-text strong { font-size: .95rem; font-weight: 650; color: var(--paper-ink); }
.check-text em { font-style: normal; font-size: .86rem; color: var(--paper-muted); line-height: 1.4; }
.chk-notes {
  width: 100%; margin-top: 8px; min-height: 56px; resize: vertical;
  border: 1px solid var(--paper-line); background: #f7f5f0;
  border-radius: 8px; padding: 8px 10px; font: inherit; font-size: .85rem;
  color: var(--paper-ink); margin-bottom: 0;
}
.chk-notes:focus { outline: none; border-color: #2a8f6e; box-shadow: 0 0 0 2px rgba(42,143,110,.14); }
.phase { margin-top: 22px; }
.phase-label {
  font-size: .78rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--paper-muted); margin: 0 0 8px;
}
.ask-box {
  margin-top: 18px; padding: 14px; border-radius: 12px;
  background: #f0f7f3; border: 1px solid #d5e8de;
}
.ask-box h4 { margin: 0 0 8px; font-family: var(--display); font-size: 1.05rem; }
.ask-box ul { margin: 0; padding-left: 18px; color: var(--paper-muted); font-size: .9rem; }
.ask-box li { margin: 6px 0; }
.quote {
  margin-top: 10px; font-size: .88rem; color: var(--paper-ink);
  padding: 10px 12px; background: #fff; border-radius: 8px; border-left: 3px solid #2a8f6e;
}
.actions-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.nh-steps { font-size: .92rem; }
.nh-steps h4 { margin: 14px 0 6px; font-size: 1rem; color: var(--paper-ink); }
.nh-steps ul { margin: 0 0 8px; padding-left: 18px; }
.nh-steps li { margin: 5px 0; }
.nh-steps a { color: #1f6b53; word-break: break-word; }
.packet .section.legal-packet {
  margin-top: 22px; padding: 14px; border-radius: 10px;
  background: #efe8d8; border: 1px solid #d9d0bc; font-size: .82rem; color: #3d4a44;
}
.packet .section.used-reality {
  background: #f3f0e8; border: 1px solid #ddd4c4;
  border-radius: 14px; padding: 16px 18px; color: #2a322e;
}
.packet .section.used-reality h3 { margin: 0 0 8px; font-size: 1.05rem; color: #1a4d3c; }
.packet .section.used-reality p { margin: 0; font-size: .92rem; line-height: 1.5; color: #3d4a44; }
.email-link-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 14px; padding: 16px 18px; margin: 0 0 18px;
}
.email-link-card h3 { font-family: var(--display); font-size: 1.05rem; margin: 0 0 6px; }
.email-link-card p { margin: 0 0 12px; color: var(--muted); font-size: .88rem; line-height: 1.45; }
.email-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: stretch; }
.email-row input[type="email"] {
  flex: 1 1 200px; min-width: 0; margin-bottom: 0;
  border: 1px solid var(--line); border-radius: 10px;
  padding: 10px 12px; font: inherit; background: #fff; color: #1a1f1c;
}
.email-row .btn { width: auto; margin: 0; }
.email-status { margin: 10px 0 0; font-size: .85rem; color: var(--accent); display: none; }
.email-status.on { display: block; }
.link-preview {
  margin-top: 10px; font-size: .78rem; word-break: break-all; color: var(--muted);
  background: rgba(0,0,0,.04); border-radius: 8px; padding: 8px 10px; display: none;
}
.link-preview.on { display: block; }
.state-notes { color: var(--paper-ink); }
.official-link {
  display: inline-block; margin-top: 8px; padding: 10px 14px;
  background: #e7f4ee; border: 1px solid #2a8f6e; border-radius: 10px;
  color: #1f6b53; font-weight: 600; text-decoration: none;
}
.official-unknown {
  margin-top: 8px; padding: 10px 14px; border-radius: 10px;
  background: #f8efd6; border: 1px solid #e2b657; color: #5c4a20;
}

@media (max-width: 720px) {
  .cover { max-width: 100%; aspect-ratio: auto; min-height: 480px; }
}
@media print {
  body { background: #fff; color: #000; }
  .no-print { display: none !important; }
  .wrap { max-width: none; padding: 0; }
  .packet { border: none; }
  .cover { break-inside: avoid; box-shadow: none; }
  .pin { box-shadow: none; }
}

.inspect-list { display: flex; flex-direction: column; gap: 0; width: 100%; }
