:root {
  --bg: #0a0d14;
  --bg-2: #10141e;
  --card: #141a26;
  --line: #222a3a;
  --text: #eef1f7;
  --muted: #8d97ab;
  --accent: #d4b46a;       /* champagne gold */
  --accent-2: #f1d898;
  --ok: #3ccf8e;
  --warn: #f2b84b;
  --bad: #ff6b6b;
  --plate: #f7d117;
  --radius: 16px;
  --shadow: 0 20px 60px -20px rgba(0,0,0,.6);
}

* { box-sizing: border-box; }
/* `hidden` always wins, even over display: flex / grid on the same element (e.g. the save-card box for guests). */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.muted { color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid transparent; border-radius: 12px;
  padding: 12px 20px; font: 600 15px/1 Inter, sans-serif;
  cursor: pointer; transition: transform .15s, background .2s, border-color .2s, box-shadow .2s;
  color: var(--text); background: none;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: #1a1407; box-shadow: 0 8px 30px -8px rgba(212,180,106,.55);
}
.btn-primary:hover { box-shadow: 0 10px 40px -6px rgba(212,180,106,.75); }
.btn-ghost { border-color: var(--line); background: rgba(255,255,255,.02); }
.btn-ghost:hover { border-color: #3a4560; background: rgba(255,255,255,.05); }
.btn-lg { padding: 18px 26px; font-size: 17px; border-radius: 14px; }
.btn-sm { padding: 9px 14px; font-size: 14px; }
.btn-block { width: 100%; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,13,20,.75); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.nav-inner { display: flex; align-items: center; gap: 32px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 850; font-size: 20px; letter-spacing: -.01em; text-transform: uppercase; }
.logo-mark { width: 34px; height: 34px; flex: none; display: block; filter: drop-shadow(0 6px 14px rgba(247,209,23,.28)); transition: transform .35s cubic-bezier(.34,1.56,.64,1); }
.logo:hover .logo-mark { transform: rotate(-6deg) scale(1.06); }
.logo-word { display: inline-flex; align-items: center; gap: 6px; line-height: 1; }
.logo-accent { background: var(--plate); color: #0b0b0b; padding: .14em .28em .16em; border-radius: .14em; box-shadow: inset 0 0 0 .055em #0b0b0b; }
.logo-tick { stroke-dasharray: 30; stroke-dashoffset: 30; animation: tick-draw .7s .25s cubic-bezier(.65,0,.35,1) forwards; }
@keyframes tick-draw { to { stroke-dashoffset: 0; } }
.nav-links { display: flex; gap: 26px; margin-left: auto; font-size: 14px; color: var(--muted); }
.nav-links a:hover { color: var(--text); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 96px 0 72px; text-align: center; }
.hero-glow {
  position: absolute; inset: -200px 0 auto; height: 700px; pointer-events: none;
  background:
    radial-gradient(600px 300px at 50% 30%, rgba(212,180,106,.18), transparent 70%),
    radial-gradient(900px 400px at 50% 0%, rgba(80,110,200,.15), transparent 70%);
}
.hero-inner { position: relative; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px;
  border: 1px solid var(--line); border-radius: 999px; font-size: 13px; color: var(--muted);
  background: rgba(255,255,255,.03);
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.hero h1 { font-size: clamp(40px, 6.5vw, 76px); font-weight: 800; margin: 22px auto 18px; max-width: 900px; }
.hero h1 em { font-family: 'Instrument Serif', serif; font-weight: 400; color: var(--accent-2); font-size: 1.08em; }
.lead { font-size: 19px; color: var(--muted); max-width: 600px; margin: 0 auto 36px; }

/* Plate input */
.plate-form { display: flex; gap: 12px; justify-content: center; max-width: 620px; margin: 0 auto; }
.plate {
  flex: 1; display: flex; align-items: stretch; height: 68px;
  background: var(--plate); border-radius: 12px; overflow: hidden;
  box-shadow: 0 0 0 3px rgba(0,0,0,.6), 0 0 0 4px rgba(247,209,23,.35), var(--shadow);
}
.plate-band {
  width: 48px; background: #0b3b9c; color: #fff; display: flex; flex-direction: column;
  align-items: center; justify-content: center; font-weight: 700; font-size: 14px; gap: 2px;
}
.plate-stars { color: #f7d117; font-size: 13px; }
.plate input {
  flex: 1; min-width: 0; border: 0; outline: 0; background: transparent;
  font: 800 34px/1 'Inter', sans-serif; letter-spacing: .08em; text-align: center;
  color: #111; text-transform: uppercase;
}
.plate input::placeholder { color: rgba(0,0,0,.35); }
.form-error { color: var(--bad); min-height: 1.5em; margin: 12px 0 0; font-size: 14px; }

.trust-row { list-style: none; padding: 0; margin: 20px 0 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 28px; font-size: 14px; color: var(--muted); }
.trust-row li { display: flex; align-items: center; gap: 8px; }
.trust-row svg { width: 16px; height: 16px; fill: var(--accent); }

/* Sources */
.sources { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 0; }
.sources .wrap { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; justify-content: center; }
.sources p { margin: 0; color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .12em; }
.source-list { list-style: none; padding: 0; margin: 0; display: flex; gap: 28px; flex-wrap: wrap; justify-content: center; font-weight: 700; color: #7d879b; }

/* Sections */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.section-head h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; }
.section-head p { color: var(--muted); font-size: 17px; }
.kicker { display: block; margin-top: 0; color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 12px; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.step-n {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--accent); color: var(--accent); font-weight: 700; margin-bottom: 18px;
}
.step h3 { font-size: 19px; }
.step p { color: var(--muted); margin: 0; }

.check-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.check-card { display: flex; flex-direction: column; color: inherit; padding: 24px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); transition: border-color .2s, transform .2s; }
.check-card:hover { border-color: #3a4560; transform: translateY(-2px); }
.check-card .ic {
  width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center;
  background: rgba(212,180,106,.12); color: var(--accent-2); font-weight: 700; margin-bottom: 16px; font-size: 18px;
}
.check-card h3 { font-size: 16px; }
.check-card p { color: var(--muted); font-size: 14px; margin: 0; }

/* Pricing */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.price-card {
  position: relative; display: flex; flex-direction: column;
  padding: 32px; border-radius: 20px; border: 1px solid var(--line); background: var(--card);
}
.price-card.featured {
  border-color: rgba(212,180,106,.6);
  background: linear-gradient(180deg, rgba(212,180,106,.10), rgba(212,180,106,.02) 40%), var(--card);
  box-shadow: 0 30px 80px -30px rgba(212,180,106,.35);
}
.badge {
  position: absolute; top: -12px; left: 32px; padding: 5px 12px; border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-2), var(--accent)); color: #1a1407; font-size: 12px; font-weight: 700;
}
.price-card h3 { font-size: 20px; margin-bottom: 4px; }
.price-sub { color: var(--muted); font-size: 14px; }
.price { display: flex; align-items: baseline; gap: 6px; margin: 8px 0 24px; }
.amt { font-size: 48px; font-weight: 800; letter-spacing: -.03em; }
.per { color: var(--muted); }
.feat { list-style: none; padding: 0; margin: 0 0 28px; flex: 1; display: grid; gap: 12px; font-size: 15px; align-content: start; }
.feat li { padding-left: 28px; position: relative; }
.feat li::before {
  content: '✓'; position: absolute; left: 0; top: 1px; width: 18px; height: 18px; border-radius: 50%;
  background: rgba(60,207,142,.15); color: var(--ok); font-size: 11px; display: grid; place-items: center; font-weight: 700;
}
.feat li.no { color: #7d879b; }
.feat li.no::before { content: '–'; background: rgba(255,255,255,.05); color: #7d879b; }

.bundles {
  margin-top: 24px; padding: 28px 32px; border-radius: 20px; border: 1px dashed #333d52;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.bundles h3 { font-size: 20px; margin-bottom: 4px; }
.bundles p { color: var(--muted); margin: 0; }
.bundle-opts { display: flex; gap: 12px; flex-wrap: wrap; }
.bundle {
  display: grid; text-align: left; gap: 2px; padding: 14px 20px; border-radius: 14px; min-width: 170px;
  border: 1px solid var(--line); background: var(--card); color: var(--text); cursor: pointer; font: inherit;
  transition: border-color .2s;
}
.bundle:hover { border-color: var(--accent); }
.bundle span { font-size: 24px; font-weight: 800; }
.bundle em { font-style: normal; color: var(--muted); font-size: 13px; }
.bundle.best { border-color: rgba(212,180,106,.6); }
.bundle.best em { color: var(--accent-2); }

/* Sample */
.sample { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.sample-copy h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; }
.sample-copy > p { color: var(--muted); font-size: 17px; }
.ticks { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; }
.ticks li::before { content: '✓'; color: var(--accent); margin-right: 10px; font-weight: 700; }
.mini-report {
  background: #f7f8fb; color: #12151c; border-radius: 20px; padding: 28px; box-shadow: var(--shadow);
  transform: rotate(-1.5deg);
}
.mini-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.mini-plate { background: var(--plate); font-weight: 800; padding: 6px 12px; border-radius: 6px; letter-spacing: .06em; }
.mini-title { font-weight: 700; font-size: 18px; margin-bottom: 14px; }
.mini-row { display: flex; justify-content: space-between; padding: 12px 0; border-top: 1px solid #e3e6ee; font-size: 15px; }
.mini-row b.ok { color: #12935b; }
.pill { font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; }
.pill.ok { background: rgba(60,207,142,.18); color: #0f8a55; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: var(--card); padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--accent); font-size: 22px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 20px; margin: 0; }

/* CTA */
.cta { padding: 96px 0; text-align: center; background: radial-gradient(600px 260px at 50% 100%, rgba(212,180,106,.16), transparent 70%); }
.cta h2 { font-size: clamp(32px, 5vw, 56px); font-weight: 800; }
.cta p { color: var(--muted); font-size: 18px; margin-bottom: 30px; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 40px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer-grid .muted { margin: 10px 0 0; font-size: 14px; }
.footer-grid nav { display: grid; gap: 10px; align-content: start; color: var(--muted); font-size: 14px; }
.footer-h { font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: var(--text); margin: 0 0 4px; }
.footer-grid nav a:hover { color: var(--text); }
.fine { color: #7d879b; font-size: 12px; margin: 28px 0 0; }

/* ---------- Results ---------- */
.results { padding: 40px 0 96px; min-height: 70vh; }
.back { display: inline-block; text-decoration: none; background: none; border: 0; color: var(--muted); font: 500 14px Inter, sans-serif; cursor: pointer; padding: 0; margin-bottom: 24px; }
.back:hover { color: var(--text); }

.loading { text-align: center; padding: 120px 0; }
.spinner { width: 44px; height: 44px; margin: 0 auto 20px; border: 3px solid var(--line); border-top-color: var(--accent); border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.loading p { color: var(--muted); }

.veh-head {
  display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center;
  padding: 32px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); margin-bottom: 20px;
}
.veh-plate {
  display: inline-block; background: var(--plate); color: #111; font-weight: 800; font-size: 22px;
  letter-spacing: .08em; padding: 6px 14px; border-radius: 8px; margin-bottom: 12px;
}
.veh-head h1 { font-size: clamp(26px, 3.5vw, 38px); font-weight: 800; margin-bottom: 6px; }
.veh-head .muted { margin: 0; }
.veh-tags { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.tag { padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; border: 1px solid var(--line); }
.tag.ok { color: var(--ok); border-color: rgba(60,207,142,.35); background: rgba(60,207,142,.08); }
.tag.warn { color: var(--warn); border-color: rgba(242,184,75,.35); background: rgba(242,184,75,.08); }
.tag.bad { color: var(--bad); border-color: rgba(255,107,107,.35); background: rgba(255,107,107,.08); }

.res-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; align-items: start; }
.panel { padding: 28px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); margin-bottom: 20px; }
.panel h2 { font-size: 20px; margin-bottom: 18px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.spec { margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border-radius: 12px; overflow: hidden; }
.spec div { background: var(--card); padding: 14px 16px; }
.spec dt { display: block; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.spec dd { margin: 0; font-weight: 600; }

.mot-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.mot { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 12px; background: rgba(255,255,255,.02); border: 1px solid var(--line); }
.mot-res { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 6px; }
.mot-res.pass { background: rgba(60,207,142,.14); color: var(--ok); }
.mot-res.fail { background: rgba(255,107,107,.14); color: var(--bad); }
.mot small { display: block; color: var(--muted); }
.mot-mi { font-weight: 600; font-variant-numeric: tabular-nums; }

.chart { width: 100%; height: 160px; }

.locked-list { display: grid; gap: 8px; }
.locked {
  display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-radius: 12px;
  background: rgba(255,255,255,.02); border: 1px solid var(--line);
}
.locked .blur { filter: blur(5px); user-select: none; color: var(--muted); }
.locked .lock { color: var(--accent); font-size: 14px; }
.locked .val.ok { color: var(--ok); font-weight: 600; }
.locked .val.bad { color: var(--bad); font-weight: 600; }
.locked .val { text-align: right; }
.val-detail { display: block; font-size: 12px; font-weight: 400; color: var(--muted); margin-top: 2px; }
.veh-head:has(.veh-img) { grid-template-columns: 1fr auto 220px; }
.veh-img { width: 220px; height: auto; border-radius: 12px; object-fit: contain; }
.loading.small { padding: 24px 0; }
@media (max-width: 760px) { .veh-head:has(.veh-img) { grid-template-columns: 1fr; } .veh-img { width: 100%; max-width: 320px; order: -1; } }

.upsell {
  position: sticky; top: 88px;
  padding: 28px; border-radius: 20px; border: 1px solid rgba(212,180,106,.5);
  background: linear-gradient(180deg, rgba(212,180,106,.12), rgba(212,180,106,.02)), var(--card);
}
.upsell h2 { font-size: 22px; }
.upsell p { color: var(--muted); font-size: 15px; }
.opt {
  display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: 14px;
  border: 1px solid var(--line); background: rgba(0,0,0,.2); cursor: pointer; margin-bottom: 10px; transition: border-color .2s;
}
.opt:hover { border-color: #3a4560; }
.opt input { accent-color: var(--accent); width: 18px; height: 18px; }
.opt.sel { border-color: var(--accent); }
.opt-main { flex: 1; }
.opt-main strong { display: block; }
.opt-main small { color: var(--muted); }
.opt-price { font-weight: 800; font-size: 18px; }
.opt .mini-badge { font-size: 11px; color: #1a1407; background: var(--accent); padding: 2px 8px; border-radius: 999px; margin-left: 6px; font-weight: 700; vertical-align: middle; }
.secure { color: var(--muted); font-size: 12px; text-align: center; margin: 12px 0 0; }

.verdict { padding: 22px 26px; border-radius: 16px; margin-bottom: 20px; display: flex; gap: 16px; align-items: center; }
.verdict.ok { background: rgba(60,207,142,.1); border: 1px solid rgba(60,207,142,.35); }
.verdict.bad { background: rgba(255,107,107,.1); border: 1px solid rgba(255,107,107,.35); }
.verdict .big { font-size: 30px; }
.verdict h2 { margin: 0 0 2px; font-size: 20px; }
.verdict p { margin: 0; color: var(--muted); }

.vals { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }
.vals div { padding: 16px; border-radius: 12px; border: 1px solid var(--line); }
.vals span { display: block; color: var(--muted); font-size: 12px; }
.vals b { font-size: 22px; }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(4,6,10,.7); backdrop-filter: blur(6px); }
.modal-card {
  position: relative; width: 100%; max-width: 440px; max-height: calc(100vh - 40px); overflow: auto;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 22px; padding: 32px; box-shadow: var(--shadow);
  animation: pop .2s ease-out;
}
@keyframes pop { from { transform: translateY(10px); opacity: 0; } }
.modal-x { position: absolute; top: 14px; right: 16px; background: none; border: 0; color: var(--muted); font-size: 28px; cursor: pointer; line-height: 1; }
.modal-card h2 { font-size: 24px; }
.summary { display: flex; justify-content: space-between; padding: 16px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); margin-bottom: 18px; }
.field { display: grid; gap: 6px; margin-bottom: 14px; font-size: 14px; color: var(--muted); }
.field input {
  padding: 13px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--card);
  color: var(--text); font: 15px Inter, sans-serif; outline: none;
}
.field input:focus { border-color: var(--accent); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.check-line { display: flex; gap: 10px; font-size: 13px; color: var(--muted); margin: 6px 0 18px; align-items: flex-start; }
.check-line input { accent-color: var(--accent); margin-top: 3px; }
.demo-note { font-size: 12px; color: var(--warn); background: rgba(242,184,75,.08); border: 1px solid rgba(242,184,75,.3); padding: 10px 12px; border-radius: 10px; margin-bottom: 16px; }

/* Responsive */
@media (max-width: 960px) {
  .check-grid { grid-template-columns: repeat(2, 1fr); }
  .price-grid, .steps { grid-template-columns: 1fr; }
  .price-card.featured { order: -1; }
  .sample { grid-template-columns: 1fr; gap: 40px; }
  .res-grid { grid-template-columns: 1fr; }
  .upsell { position: static; }
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; }
}
@media (max-width: 600px) {
  .hero { padding: 64px 0 48px; }
  .section { padding: 64px 0; }
  .plate-form { flex-direction: column; }
  .plate { height: 64px; }
  .check-grid { grid-template-columns: 1fr; }
  .spec { grid-template-columns: repeat(2, 1fr); }
  .veh-head { grid-template-columns: 1fr; }
  .veh-tags { justify-content: flex-start; }
  .bundles { padding: 22px; }
  .bundle { flex: 1; min-width: 0; }
  .row2 { grid-template-columns: 1fr; }
}

/* ---------- Accessibility ---------- */
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; padding: 10px 16px; border-radius: 10px; background: var(--accent); color: #1a1407; font-weight: 700; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; }
.plate:focus-within { box-shadow: 0 0 0 3px rgba(0,0,0,.6), 0 0 0 5px var(--accent-2), var(--shadow); }
.eyebrow { margin: 0; }
.price { margin-top: 8px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- Check cards as links ---------- */
.check-card .card-more { margin-top: auto; padding-top: 14px; font-size: 13px; font-weight: 600; color: var(--accent); }
.check-card.plain:hover { transform: none; border-color: var(--line); }

/* ---------- Landing pages ---------- */
.page-hero { position: relative; overflow: hidden; padding: 56px 0 64px; text-align: center; border-bottom: 1px solid var(--line); }
.page-hero.small { padding: 48px 0; }
.page-hero h1 { font-size: clamp(34px, 5vw, 56px); font-weight: 800; margin: 18px auto 14px; max-width: 820px; }
.page-hero .lead { margin-bottom: 32px; }
.crumbs { display: flex; justify-content: center; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.crumbs a:hover { color: var(--text); }
.page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
.prose { max-width: 720px; }
.prose h2 { font-size: 26px; font-weight: 700; margin: 40px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: #c3c9d6; font-size: 17px; line-height: 1.7; }
.prose a:not(.btn) { color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; }
.prose .faq { margin-top: 16px; }
.side { position: sticky; top: 92px; }
.side .panel h2 { font-size: 18px; }
.side .feat { margin-bottom: 20px; font-size: 14px; }
.side-price { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line); padding-top: 16px; margin-bottom: 16px; color: var(--muted); }
.side-price b { color: var(--text); font-size: 22px; }
.related-h { font-size: 26px; margin-bottom: 24px; }
@media (max-width: 960px) {
  .page-grid { grid-template-columns: 1fr; }
  .side { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}

/* ---------- Print: "Download PDF" gives a clean, light report ---------- */
@media print {
  :root { --bg: #fff; --bg-2: #fff; --card: #fff; --line: #d9dde5; --text: #111; --muted: #555; }
  body { background: #fff; color: #111; }
  .nav, .footer, .back, .upsell .btn, .modal, .skip-link, #creditSlot, .hero-glow { display: none !important; }
  .res-grid { grid-template-columns: 1fr; }
  .panel, .veh-head, .verdict { break-inside: avoid; box-shadow: none; }
  .upsell { position: static; border: 1px solid var(--line); background: none; }
  .results { padding: 0; }
}

/* ---------- Results extras ---------- */
.upsell .locked-list { margin-bottom: 20px; }
.error-panel { text-align: center; padding: 56px 28px; max-width: 560px; margin: 40px auto; }
.error-panel h1 { font-size: 26px; margin: 8px 0; }
.data-note, .chart-note { color: var(--muted); font-size: 12px; margin: 14px 0 0; }
.chart-note { font-size: 13px; margin-top: 8px; }
.bad-text { color: var(--bad); }
.credit-or { margin: 8px 0 18px; }
.share-btn { margin-top: 10px; }
.small { font-size: 14px; }
.check-line a { color: var(--accent-2); }

/* ---------- Policy pages and HTML sitemap ---------- */
.updated { color: var(--muted); font-size: 14px; margin: 0; }
.legal .lead-p { font-size: 18px; color: var(--text); }
.legal ul { color: #c3c9d6; font-size: 16px; line-height: 1.7; padding-left: 22px; margin: 0 0 1em; }
.legal li { margin-bottom: 6px; }
.legal h2 { scroll-margin-top: 88px; font-size: 22px; }
.toc { border: 1px solid var(--line); border-radius: 14px; background: var(--card); padding: 18px 22px; margin: 24px 0 8px; }
.toc h2 { font-size: 14px !important; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 0 0 10px !important; }
.toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 28px; font-size: 15px; }
.toc li { margin-bottom: 6px; break-inside: avoid; }
.draft-note { border: 1px solid rgba(242,184,75,.4); background: rgba(242,184,75,.08); color: var(--warn) !important; padding: 12px 16px; border-radius: 12px; font-size: 14px !important; }
.legal-links { border-top: 1px solid var(--line); padding-top: 18px; margin-top: 36px; font-size: 15px !important; }
.sitemap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.sitemap-group { border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); padding: 24px; }
.sitemap-group h2 { font-size: 16px; margin-bottom: 14px; }
.sitemap-group ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.sitemap-group a { color: var(--muted); }
.sitemap-group a:hover { color: var(--accent-2); }
.footer-grid { grid-template-columns: 1.3fr repeat(4, 1fr); }
@media (max-width: 960px) { .sitemap-grid, .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .sitemap-grid { grid-template-columns: 1fr; } .toc ol { columns: 1; } }
.sitemap-blog { margin-top: 24px; }

/* ---------- Blog ---------- */
.blog-cats { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; animation: rise .8s cubic-bezier(.22,1,.36,1) .24s both; }
.blog-cats a { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-size: 14px; font-weight: 600; color: var(--muted); transition: color .2s, border-color .2s; }
.blog-cats a:hover { color: var(--text); border-color: var(--accent); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.blog-card { display: flex; flex-direction: column; gap: 10px; color: inherit; padding: 24px; overflow: hidden; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease; }
.blog-card:hover { border-color: #3a4560; transform: translateY(-3px); box-shadow: 0 24px 60px -34px rgba(0,0,0,.8); }
.blog-card h3 { font-size: 18px; line-height: 1.3; margin: 0; }
.blog-card p { color: var(--muted); font-size: 14px; margin: 0; }
.blog-card-img { display: block; width: calc(100% + 48px); max-width: none; height: auto; aspect-ratio: 16 / 9; object-fit: cover; margin: -24px -24px 6px; border-bottom: 1px solid var(--line); }
.blog-figure { margin: 0 0 28px; }
.blog-figure img { display: block; width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--line); }
.blog-figure figcaption { margin-top: 8px; color: var(--muted); font-size: 12px; }
.blog-post .blog-figure figcaption a { color: inherit; }
.blog-cat { align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.blog-meta { margin-top: auto; padding-top: 6px; font-size: 13px; font-weight: 600; color: var(--accent); }
.blog-more { margin: 24px 0 0; text-align: center; font-weight: 600; }
.blog-more a, .blog-back a { color: var(--accent); }
.blog-hero h1 { max-width: 900px; }
.blog-byline { color: var(--muted); font-size: 14px; margin: 0; animation: rise .8s cubic-bezier(.22,1,.36,1) .16s both; }
.blog-post a { color: var(--accent-2); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.blog-post .faq a { text-decoration: none; }
.blog-back { margin-top: 32px; }
.side-sub { font-size: 14px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 22px 0 10px; }
.side-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 15px; }
.side-links a { color: var(--accent-2); }
.side .plate-form { flex-direction: column; gap: 10px; margin: 14px 0 0; }
.side .plate-form .btn { width: 100%; }
/* The plate input's natural width (large font) would stretch the column wider than a phone screen. */
.side .plate { min-width: 0; width: 100%; height: 60px; }
.side .plate input { width: 100%; min-width: 0; font-size: 26px; }
.page-grid > * { min-width: 0; }
@media (max-width: 960px) { .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr; } }
@media print { .blog-cats, .side, .blog-more { display: none !important; } }

/* ---------- Header account link ---------- */
.nav-account { font-size: 14px; color: var(--muted); }
.nav-account:hover { color: var(--text); }
.nav-links + .nav-account { margin-left: 8px; }
@media (max-width: 960px) { .nav-links + .nav-account { margin-left: auto; } .nav-account + .nav-cta { margin-left: 12px; } }

/* ---------- Sign in / register ---------- */
.auth { min-height: 70vh; display: grid; place-items: center; padding: 56px 20px; background: radial-gradient(600px 300px at 50% 0%, rgba(212,180,106,.12), transparent 70%); }
.auth-card { width: 100%; max-width: 420px; background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 36px 32px; box-shadow: var(--shadow); }
.auth-card h1 { font-size: 28px; margin-bottom: 8px; }
.auth-card > .muted { margin-bottom: 24px; }
.field span:first-child { color: var(--muted); }
.field input[aria-invalid] { border-color: var(--bad); }
.pw-wrap { position: relative; display: block; }
.pw-wrap input { width: 100%; padding-right: 70px; }
.pw-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: var(--accent-2); font: 600 13px Inter, sans-serif; cursor: pointer; padding: 8px 10px; }
.hint { color: var(--muted); font-size: 12px; }
.auth-links { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 20px 0 0; font-size: 14px; color: var(--muted); }
.auth-links a, .auth-card .small a { color: var(--accent-2); }
.form-done p { color: var(--text); }
.form-ok { color: var(--ok); font-size: 14px; min-height: 0; margin: 0 0 8px; }

/* ---------- My account ---------- */
.account-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.account-head h1 { font-size: 34px; margin-bottom: 4px; }
.account-head .muted { margin: 0; }
.account-actions { display: flex; gap: 10px; }
.account-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.order-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.order { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; }
.order small { display: block; color: var(--muted); font-size: 13px; }
.order-regs { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.small-plate { font-size: 14px; padding: 4px 9px; margin: 0; border-radius: 6px; }
.danger summary { cursor: pointer; color: var(--bad); font-weight: 600; }
.danger[open] summary { margin-bottom: 12px; }
.btn-danger { background: rgba(255,107,107,.12); border-color: rgba(255,107,107,.4); color: var(--bad); }
.btn-danger:hover { background: rgba(255,107,107,.2); }
@media (max-width: 960px) { .account-grid { grid-template-columns: 1fr; } }

/* ---------- On-page checkout ---------- */
.modal-card { max-width: 480px; }
.pay-loading { text-align: center; padding: 28px 0 8px; }
.pay-loading .spinner { margin-bottom: 12px; }
.wallet-block { margin: 16px 0 4px; }
#walletBtns { min-height: 48px; }
.or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; margin: 16px 0; }
.or::before, .or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
#cardEl { margin-bottom: 14px; }
.center { text-align: center; }
.check-line span a, #signInHint a { color: var(--accent-2); }

/* Header on small phones: keep links on one line; the hero search box replaces "Check a car". */
.nav-account, .nav-cta { white-space: nowrap; }
@media (max-width: 480px) { .nav-cta { display: none; } .nav-links + .nav-account { margin-left: auto; font-weight: 600; color: var(--text); } }

/* ---------- Search history ---------- */
.recent-searches { max-width: 620px; margin: 4px auto 0; text-align: left; }
.recent-label { display: flex; justify-content: space-between; color: var(--muted); font-size: 13px; margin: 0 0 8px; }
.recent-label a { color: var(--accent-2); }
.recent-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.recent-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px 6px 6px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--card); color: var(--text); font: 500 13px Inter, sans-serif; cursor: pointer; transition: border-color .2s; }
.recent-chip:hover { border-color: var(--accent); }
.recent-chip .mini-plate { font-size: 12px; padding: 3px 7px; }
.chip-unlocked { color: var(--ok); font-size: 11px; font-weight: 700; }
.panel h2 [data-clear-history] { margin-left: auto; }
.history-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.history-item { display: flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 12px; transition: border-color .2s; }
.history-item:hover { border-color: #3a4560; }
.history-main { flex: 1; display: flex; align-items: center; gap: 12px; padding: 12px 14px; color: inherit; min-width: 0; flex-wrap: wrap; }
.history-car { flex: 1; min-width: 140px; }
.history-car b { display: block; font-weight: 600; }
.history-car small { color: var(--muted); font-size: 12px; }
.history-remove { background: none; border: 0; color: var(--muted); font-size: 22px; line-height: 1; padding: 10px 14px; cursor: pointer; border-radius: 10px; }
.history-remove:hover { color: var(--bad); background: rgba(255,107,107,.08); }

.panel h2 > .btn { margin-left: auto; }

/* ---------- At a glance (check pages) ---------- */
.glance { border: 1px solid rgba(212,180,106,.4); background: rgba(212,180,106,.06); border-radius: 16px; padding: 18px 20px; margin: 0 0 32px; }
.glance-h { color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 10px !important; }
.glance dl { margin: 0; display: grid; gap: 8px; }
.glance dl div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; font-size: 15px; }
.glance dt { color: var(--muted); }
.glance dd { margin: 0; color: var(--text); }
.glance-updated { color: var(--muted) !important; font-size: 12px !important; margin: 12px 0 0 !important; }
@media (max-width: 600px) { .glance dl div { grid-template-columns: 1fr; gap: 0; } }

/* ---------- Affiliate programme ---------- */
.field select, .field textarea {
  padding: 13px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--card);
  color: var(--text); font: 15px Inter, sans-serif; outline: none; width: 100%;
}
.field textarea { resize: vertical; min-height: 110px; line-height: 1.5; }
.field select:focus, .field textarea:focus { border-color: var(--accent); }
.field select[aria-invalid], .field textarea[aria-invalid] { border-color: var(--bad); }
.aff-perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 40px; }
.aff-perk { padding: 24px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.aff-perk h2 { font-size: 22px; margin-bottom: 8px; color: var(--accent); }
.aff-perk p { color: var(--muted); margin: 0; }
.aff-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: start; }
.aff-h { font-size: 22px; margin: 0 0 14px; }
.aff-steps { list-style: none; padding: 0; margin: 0 0 32px; counter-reset: step; display: grid; gap: 14px; }
.aff-steps li { counter-increment: step; display: grid; grid-template-columns: 36px 1fr; column-gap: 12px; }
.aff-steps li::before { content: counter(step); grid-row: span 2; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #1a1407; font-weight: 800; }
.aff-steps span { color: var(--muted); }
.aff-list { margin: 0 0 20px; padding-left: 20px; color: var(--muted); display: grid; gap: 6px; }
.aff-form h2, .aff-done h2 { font-size: 24px; margin-bottom: 18px; }
.aff-form .check-line a { color: var(--accent-2); }
.aff-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.aff-done:focus { outline: none; }
@media (max-width: 860px) {
  .aff-perks, .aff-grid { grid-template-columns: 1fr; }
  .aff-grid { gap: 28px; }
}
@media (max-width: 520px) { .aff-form .row2 { grid-template-columns: 1fr; gap: 0; } }
/* ---------- Error pages (404, 500) ---------- */
.status-page .hero-inner { display: flex; flex-direction: column; align-items: center; }
.status-code {
  margin: 0; font-size: clamp(88px, 16vw, 150px); font-weight: 800; line-height: 1; letter-spacing: -.04em;
  background: linear-gradient(180deg, var(--accent-2), var(--accent) 55%, rgba(212,180,106,.25)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.status-page h1 { margin-top: 8px; }
.status-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; align-items: center; width: 100%; }
.status-actions .plate-form { width: 100%; max-width: 560px; margin: 0 auto 4px; }
.status-actions form:not(.plate-form) { margin: 0; }
.status-links { margin-top: 40px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 10px; max-width: 640px; }
.status-links h2 { width: 100%; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 6px; font-weight: 700; }
.status-links a { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--text); font-size: 14px; text-decoration: none; }
.status-links a:hover { border-color: var(--accent); color: var(--accent-2); }

.status-break { flex-basis: 100%; height: 0; }

/* ---------- Motion: hero entrance, glow drift, button shine, scroll reveal ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
.hero .eyebrow, .hero h1, .hero .lead, .hero .plate-form, .hero .trust-row,
.page-hero .crumbs, .page-hero h1, .page-hero .lead, .page-hero .plate-form { animation: rise .8s cubic-bezier(.22,1,.36,1) both; }
.hero h1, .page-hero h1 { animation-delay: .08s; }
.hero .lead, .page-hero .lead { animation-delay: .16s; }
.hero .plate-form, .page-hero .plate-form { animation-delay: .24s; }
.hero .trust-row { animation-delay: .34s; }

@keyframes glow-drift { 0% { transform: translate3d(0,0,0) scale(1); } 50% { transform: translate3d(3%,2%,0) scale(1.06); } 100% { transform: translate3d(-3%,1%,0) scale(1.02); } }
.hero-glow { animation: glow-drift 16s ease-in-out infinite alternate; }

.btn-primary { position: relative; overflow: hidden; isolation: isolate; }
.btn-primary::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s ease;
}
.btn-primary:hover::after { transform: translateX(120%); }

.check-card .ic { transition: transform .3s cubic-bezier(.34,1.56,.64,1); }
.check-card:hover .ic { transform: scale(1.12) rotate(-4deg); }
.price-card { transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.price-card:hover { transform: translateY(-4px); box-shadow: 0 24px 60px -30px rgba(0,0,0,.8); }

/* Sections fade up as they scroll into view (browsers without scroll timelines just show them). */
@keyframes reveal { from { opacity: 0; transform: translateY(28px); } }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .section-head, .steps > li, .check-card, .price-card, .faq details, .sample-copy, .glance, .cta-inner, .sources .wrap, .aff-perk, .status-links {
      animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 30%;
    }
  }
}
@media (prefers-reduced-motion: reduce) {
  .logo-tick { stroke-dashoffset: 0; animation: none; }
  .hero-glow { animation: none; }
}

/* ---------- Cookie banner ---------- */
.consent { position: fixed; z-index: 60; left: 16px; right: 16px; bottom: 16px; max-width: 720px; margin: 0 auto;
  display: flex; gap: 16px; align-items: center; padding: 16px 18px; border-radius: 16px;
  background: var(--card); border: 1px solid var(--line); box-shadow: 0 24px 60px -20px rgba(0,0,0,.8); animation: rise .5s cubic-bezier(.22,1,.36,1) both; }
.consent[hidden] { display: none; }
.consent p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.5; }
.consent p b { color: var(--text); }
.consent a { color: var(--accent-2); }
.consent-btns { display: flex; gap: 8px; flex: none; }
@media (max-width: 600px) { .consent { flex-direction: column; align-items: stretch; } .consent-btns .btn { flex: 1; } }
@media print { .consent { display: none !important; } }

/* ---------- Contact page ---------- */
.aff-list a, .aff-grid > div > .muted a { color: var(--accent-2); }
.aff-list a:hover, .aff-grid > div > .muted a:hover { text-decoration: underline; }

/* ---------- Bundle credits ---------- */
.credits-panel { border-color: rgba(212,180,106,.45); background: linear-gradient(160deg, rgba(212,180,106,.10), rgba(212,180,106,0) 60%), var(--card); }
.credits-total { display: flex; align-items: baseline; gap: 12px; margin: 0 0 18px; color: var(--muted); }
.credits-total b { font-size: 48px; line-height: 1; font-weight: 800; color: var(--accent); }
.credit-bundles { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 10px; }
.credit-bundle { display: grid; gap: 8px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; }
.credit-bundle-top { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; align-items: baseline; }
.credit-bundle-top small { color: var(--muted); font-size: 13px; }
.credit-dots { display: flex; gap: 6px; flex-wrap: wrap; }
.credit-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px rgba(212,180,106,.4); }
.credit-dot.used { background: rgba(255,255,255,.06); border: 2px solid #5a6478; box-shadow: none; }
.credit-used { color: var(--muted); font-size: 13px; display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.credits-empty { padding: 18px 22px; }
.credits-empty p { margin: 0; }
.credits-empty a, .credits-note a { color: var(--accent-2); }
.credits-note { margin: 10px auto 0; max-width: 620px; font-size: 14px; color: var(--muted); }
.credits-note b { color: var(--accent); }

/* ---------- "Get the app" banner and first-visit pop-up (app-promo.js) ---------- */
.app-promo-mark { width: 34px; height: 34px; flex: none; }
.store-btn { display: inline-flex; align-items: center; gap: 9px; line-height: 1.1; padding: 7px 14px 7px 11px;
  border-radius: 10px; background: #000; border: 1px solid rgba(255,255,255,.25); color: #fff; font-weight: 700; font-size: 15px; white-space: nowrap; }
.store-btn > span { display: flex; flex-direction: column; }
.store-btn small { font-size: 10px; font-weight: 500; opacity: .8; }
a.store-btn:hover { border-color: var(--accent); color: #fff; }
.store-logo { width: 22px; height: 22px; flex: none; }
.store-logo-android { color: #3ddc84; }
.store-btn-soon { cursor: default; }

/* Bottom-of-page app section (every page, above the footer) */
.app-cta { border-top: 1px solid var(--line); background: radial-gradient(ellipse at 85% 30%, rgba(212,180,106,.14), transparent 60%), var(--bg-2); }
.app-cta-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; padding-top: 56px; padding-bottom: 56px; }
.app-cta-kicker { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; color: var(--accent); font-weight: 700; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; }
.app-cta-kicker .app-promo-mark { width: 30px; height: 30px; }
.app-cta h2 { margin: 0 0 12px; font-size: clamp(24px, 3.2vw, 34px); line-height: 1.2; }
.app-cta-lead { margin: 0 0 16px; color: var(--muted); font-size: 16px; line-height: 1.6; max-width: 60ch; }
.app-cta-points { margin: 0 0 22px; padding: 0; list-style: none; display: grid; gap: 8px; }
.app-cta-points li { position: relative; padding-left: 26px; color: var(--text); font-size: 15px; }
.app-cta-points li::before { content: ""; position: absolute; left: 2px; top: 5px; width: 12px; height: 7px; border-left: 3px solid var(--ok); border-bottom: 3px solid var(--ok); transform: rotate(-45deg); }
.app-cta-stores { display: flex; flex-wrap: wrap; gap: 12px; }
.app-cta-stores .store-btn { padding: 10px 18px 10px 14px; font-size: 18px; }
.app-cta-stores .store-btn small { font-size: 11px; }
.app-cta-stores .store-logo { width: 28px; height: 28px; }
.app-cta-note { margin: 12px 0 0; color: var(--muted); font-size: 13px; }
.app-cta-platforms { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.app-cta-platform { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 28px 16px; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--line); text-align: center; }
.app-cta-platform .store-logo { width: 64px; height: 64px; color: var(--text); }
.app-cta-platform .store-logo-android { color: #3ddc84; }
.app-cta-platform .store-logo-android circle { fill: var(--card); }
.app-cta-platform b { font-size: 18px; }
.app-cta-platform small { color: var(--muted); font-size: 13px; }
@media (max-width: 800px) {
  .app-cta-inner { grid-template-columns: 1fr; gap: 28px; padding-top: 40px; padding-bottom: 40px; }
  .app-cta-platforms { max-width: 420px; }
}
@media (max-width: 420px) {
  .app-cta-stores .store-btn { flex: 1 1 100%; justify-content: center; }
  .app-cta-platform { padding: 20px 12px; }
  .app-cta-platform .store-logo { width: 48px; height: 48px; }
}
@media print { .app-cta { display: none !important; } }
.app-banner { background: linear-gradient(90deg, rgba(212,180,106,.16), rgba(212,180,106,.06)); border-bottom: 1px solid rgba(212,180,106,.3); }
.app-banner-inner { max-width: 1200px; margin: 0 auto; padding: 8px 16px; display: flex; align-items: center; gap: 14px; }
.app-banner p { margin: 0; flex: 1; font-size: 14px; color: var(--muted); }
.app-banner p b { color: var(--text); }
.app-banner-stores { display: flex; gap: 8px; }
.app-banner-x { background: none; border: 0; color: var(--muted); font-size: 24px; line-height: 1; padding: 4px 6px; cursor: pointer; }
.app-banner-x:hover { color: var(--text); }
.app-popup { position: fixed; z-index: 61; right: 16px; bottom: 16px; width: min(380px, calc(100% - 32px)); display: flex; gap: 14px;
  align-items: flex-start; padding: 18px; border-radius: 16px; background: var(--card); border: 1px solid var(--accent);
  box-shadow: 0 24px 60px -20px rgba(0,0,0,.8); animation: rise .5s cubic-bezier(.22,1,.36,1) both; }
.app-popup .app-promo-mark { width: 44px; height: 44px; }
.app-popup-body { flex: 1; }
.app-popup p { margin: 0 0 6px; font-size: 14px; color: var(--muted); line-height: 1.45; }
.app-popup p b { color: var(--text); font-size: 16px; }
.app-popup-stores { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.app-popup-later { position: absolute; right: 10px; top: 10px; }
.app-popup-body { padding-right: 70px; }
@media (max-width: 600px) {
  .app-banner p span { display: none; }
  .app-banner-inner { gap: 10px; padding: 8px 12px; }
  .app-popup { left: 16px; right: 16px; width: auto; }
}
@media print { .app-banner, .app-popup { display: none !important; } }

/* ---------- Checkout choice, guest checkout, payment complete, email verification ---------- */
.how-grid { display: grid; gap: 12px; margin: 18px 0 14px; }
.how-opt { display: flex; flex-direction: column; gap: 6px; text-align: left; padding: 18px; border-radius: 14px; border: 1px solid var(--line); background: rgba(0,0,0,.2); color: inherit; font: inherit; cursor: pointer; transition: border-color .2s, transform .2s; }
.how-opt:hover, .how-opt:focus-visible { border-color: var(--accent); transform: translateY(-1px); }
.how-opt strong { font-size: 17px; }
.how-opt span { color: var(--muted); font-size: 14px; }
.how-opt em { font-style: normal; font-weight: 700; color: var(--accent-2); font-size: 14px; }
.opt-group { border: 0; padding: 0; margin: 4px 0 6px; }
.opt-group legend { font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.plan-summary { padding: 16px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); margin: 6px 0 14px; }
.plan-summary-top { display: flex; justify-content: space-between; gap: 12px; font-size: 17px; }
.plan-includes { margin: 10px 0 6px; padding: 0; list-style: none; display: grid; gap: 4px; font-size: 14px; }
.plan-includes li::before { content: "✓"; color: var(--ok); font-weight: 800; margin-right: 8px; }
.plan-summary .small { margin: 6px 0 0; }
.reg-chip { display: inline-block; background: #f7d117; color: #0b0b0b; font-weight: 800; padding: 1px 8px; border-radius: 4px; letter-spacing: .04em; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-btn:disabled { opacity: .5; cursor: default; }
.code-input { font-size: 26px; font-weight: 800; letter-spacing: .4em; text-align: center; font-variant-numeric: tabular-nums; }
.checkout-card { max-width: 520px; }
.checkout-card:focus { outline: none; }
.checkout-card h1 { margin: 12px 0 16px; }
.checkout-card .spec { grid-template-columns: 1fr 1fr; margin-bottom: 16px; }
.checkout-sub { font-size: 20px; margin: 24px 0 6px; }
.checkout-card .plate { margin: 14px 0 10px; }
.checkout-card .loading { text-align: center; padding: 20px 0; }
@media (min-width: 560px) { .how-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .checkout-card .spec { grid-template-columns: 1fr; } }
.checkout-card .spec div:last-child:nth-child(odd) { grid-column: 1 / -1; }
.checkout-card .spec dd { overflow-wrap: anywhere; }
#modal .small a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; }
