/* Cronsmart v2 — brand system from the logo:
   #7447E1 electric purple · black ink · white. Geometric type, sparkle motif,
   linked-chain underline, custom pointer. Mobile-first responsive. */
:root {
  --purple: #7447e1;
  --purple-dark: #5b32c4;
  --purple-soft: #efe9fd;
  --purple-glow: rgba(116, 71, 225, .28);
  --ink: #0d0b14;
  --ink-soft: #4c4761;
  --bg: #ffffff;
  --bg-soft: #f7f5fd;
  --line: #e7e3f5;
  --red: #e03131;
  --red-soft: #fdeaea;
  --ok: #14804a;
  --ok-soft: #e4f4ec;
  --display: "Poppins", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --radius: 18px;
  --gutter: 22px;
  --shadow: 0 10px 40px rgba(13, 11, 20, .08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--body); color: var(--ink); background: var(--bg);
  line-height: 1.6; -webkit-font-smoothing: antialiased;
}
/* Custom pointer: hide the native cursor on fine pointers; JS draws the dot+ring. */
@media (pointer: fine) {
  body.cursor-on, body.cursor-on a, body.cursor-on button,
  body.cursor-on input, body.cursor-on select, body.cursor-on textarea,
  body.cursor-on label, body.cursor-on summary { cursor: none; }
}
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999;
  border-radius: 50%; transform: translate(-50%, -50%);
}
.cursor-dot { width: 8px; height: 8px; background: var(--purple); }
.cursor-ring {
  width: 34px; height: 34px; border: 1.5px solid var(--purple);
  opacity: .55; transition: width .18s, height .18s, opacity .18s, background .18s;
}
.cursor-ring.hover { width: 52px; height: 52px; opacity: .9; background: var(--purple-glow); }
@media (pointer: coarse) { .cursor-dot, .cursor-ring { display: none !important; } }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }
a { color: inherit; }
img, svg { max-width: 100%; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: var(--purple); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 999; }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--display); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .45em; }
h1 { font-size: clamp(2.1rem, 5.4vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.2rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }
.muted { color: var(--ink-soft); }
.small { font-size: .9rem; }
.mono { font-family: var(--mono); }
.accent { color: var(--purple); }
.center { text-align: center; }

/* linked-chain underline — nod to the logo's oo link */
.linked { position: relative; white-space: nowrap; }
.linked::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 10px;
  background: radial-gradient(circle 5px at 8px 5px, transparent 3.4px, var(--purple) 3.5px 5px, transparent 5.1px) 0 0 / 14px 10px repeat-x;
  opacity: .9;
}

/* Sparkle (from the logo) */
.sparkle { display: inline-block; color: var(--purple); animation: twinkle 2.6s ease-in-out infinite; }
@keyframes twinkle { 0%, 100% { transform: scale(1) rotate(0deg); opacity: 1; } 50% { transform: scale(.78) rotate(18deg); opacity: .65; } }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.86);
  backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; gap: 26px; min-height: 68px; }
.brand { font-family: var(--display); font-weight: 700; font-size: 1.35rem; text-decoration: none; letter-spacing: -0.02em; }
.brand b { color: var(--purple); font-weight: 700; }
.nav-links { display: flex; gap: 22px; margin-left: 8px; }
.nav-links a { text-decoration: none; font-weight: 500; color: var(--ink-soft); padding: 6px 2px; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--purple); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.cart-link { text-decoration: none; font-weight: 600; }
.cart-badge { background: var(--purple); color: #fff; border-radius: 99px; padding: 1px 8px; font-size: .78rem; font-weight: 700; }
.inline { display: inline; }
.link-btn { background: none; border: 0; font: inherit; color: var(--ink-soft); text-decoration: underline; }

/* Mobile nav */
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; font-size: 1.6rem; line-height: 1; padding: 8px; }
@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .nav-actions { margin-left: 0; }
  .nav-links, .nav-actions { display: none; width: 100%; }
  .nav-in { flex-wrap: wrap; padding-block: 10px; }
  .nav.open .nav-links, .nav.open .nav-actions {
    display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 10px 0 16px;
  }
}

/* ---------- Buttons ---------- */
.btn { display: inline-block; border: 2px solid transparent; border-radius: 999px;
  padding: 12px 26px; font-weight: 600; font-family: var(--display); font-size: 1rem;
  text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-purple { background: var(--purple); color: #fff; box-shadow: 0 8px 24px var(--purple-glow); }
.btn-purple:hover { background: var(--purple-dark); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--purple); color: var(--purple); }
.btn-red { background: var(--red); color: #fff; }
.btn.wide { width: 100%; text-align: center; }
.btn.sm { padding: 8px 18px; font-size: .9rem; }

/* ---------- Flash ---------- */
.flashes { margin-top: 14px; }
.flash { padding: 12px 16px; border-radius: 12px; margin: 6px 0; font-weight: 500; }
.flash-ok { background: var(--ok-soft); color: var(--ok); }
.flash-error { background: var(--red-soft); color: var(--red); }
.flash-alert { background: var(--red-soft); color: var(--red); border: 2px solid var(--red); }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 84px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -40% -20% auto auto; width: 720px; height: 720px;
  background: radial-gradient(circle, var(--purple-glow), transparent 62%); pointer-events: none;
}
.hero-grid {
  display: grid; position: relative; align-items: center;
  grid-template-columns: 1fr 1.05fr; column-gap: 48px; row-gap: 28px;
  grid-template-areas: "copy tag" "actions tag";
}
.hero-copy { grid-area: copy; align-self: end; }
.hero-actions { grid-area: actions; align-self: start; }
.tagstage { grid-area: tag; }
.eyebrow { font-family: var(--mono); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--purple); font-weight: 600; margin-bottom: 14px; display: inline-flex; align-items: center; gap: 8px; }
.hero p.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 50ch; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 34px; margin-top: 32px; flex-wrap: wrap; }
.hero-stats b { font-family: var(--display); font-size: 1.5rem; display: block; color: var(--purple); }

/* Signature: the real tag, floating in 3D. Outer element floats, inner element
   holds the tilt — so the hover flatten never fights the float animation. */
.tagstage { position: relative; perspective: 1300px; }
.tagfloat { margin: 0; position: relative; animation: tagfloat 7s ease-in-out infinite; }
@keyframes tagfloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.tagfloat-card {
  display: block; position: relative; border-radius: 16px; overflow: hidden;
  transform: rotateY(-11deg) rotateX(5deg) rotate(-1.2deg);
  transform-origin: 65% 50%; will-change: transform;
  box-shadow: 0 26px 60px -18px rgba(13, 11, 20, .5), 0 8px 22px var(--purple-glow);
  transition: transform .55s cubic-bezier(.22, .68, .32, 1), box-shadow .55s;
}
.tagfloat-card:hover, .tagfloat-card:focus-visible {
  transform: rotateY(0deg) rotateX(0deg) rotate(0deg);
  box-shadow: 0 34px 74px -16px rgba(13, 11, 20, .46), 0 10px 28px var(--purple-glow);
}
.tagfloat-card img { display: block; width: 100%; height: auto; }
/* One slow light sweep, parked off-card at rest so reduced-motion sees nothing. */
.tag-sheen {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(102deg, transparent 44%, rgba(255,255,255,.32) 49%, transparent 54%);
  background-size: 300% 100%; background-repeat: no-repeat; background-position: 135% 0;
  animation: tagsheen 7s ease-in-out infinite;
}
@keyframes tagsheen { 0% { background-position: 135% 0; } 42%, 100% { background-position: -55% 0; } }
.tag-cap { margin: 20px 0 0; text-align: center; font-size: .82rem; color: var(--ink-soft); }
.tag-cap-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--purple); margin-right: 6px; vertical-align: 1px; }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section.tint { background: var(--bg-soft); }
.section-head { max-width: 640px; margin-bottom: 38px; }
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; transition: transform .18s, box-shadow .18s; }
.card.hoverable:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--purple); }
.card .icon { font-size: 2.1rem; display: inline-block; background: var(--purple-soft);
  border-radius: 14px; padding: 10px 14px; margin-bottom: 12px; }
.step-num { font-family: var(--display); font-weight: 700; color: #fff; background: var(--purple);
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 1.1rem; margin-bottom: 14px; }
.pill { display: inline-block; font-family: var(--mono); font-size: .72rem; letter-spacing: .06em;
  text-transform: uppercase; background: var(--purple-soft); color: var(--purple-dark);
  border-radius: 99px; padding: 4px 12px; font-weight: 600; }
.pill-ok { background: var(--ok-soft); color: var(--ok); }
.pill-red { background: var(--red-soft); color: var(--red); }
.pill-gray { background: var(--bg-soft); color: var(--ink-soft); }
.product .price { font-family: var(--display); font-weight: 700; font-size: 1.45rem; margin: 8px 0; }
.product .compare { color: var(--ink-soft); text-decoration: line-through; font-weight: 400; font-size: .95rem; margin-left: 8px; }
.prefix-chip { font-family: var(--mono); font-size: .8rem; background: var(--ink); color: #fff;
  border-radius: 8px; padding: 3px 10px; letter-spacing: .1em; }

/* ---------- Forms ---------- */
label { display: block; font-weight: 600; margin: 16px 0 6px; font-size: .93rem; }
.hint { font-weight: 400; color: var(--ink-soft); font-size: .82rem; }
input:not([type]), input[type=text], input[type=email], input[type=password],
input[type=number], input[type=tel], input[type=date], select, textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px;
  font: inherit; background: #fff; transition: border-color .15s, box-shadow .15s;
}
textarea { min-height: 92px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--purple); box-shadow: 0 0 0 4px var(--purple-soft); outline: none; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; margin: 12px 0; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--purple); }
fieldset { border: 1.5px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin: 20px 0; }
legend { font-family: var(--display); font-weight: 600; padding: 0 10px; color: var(--purple-dark); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }

/* Claim code inputs */
.code-input { font-family: var(--mono); letter-spacing: .14em; text-transform: uppercase; font-size: 1.05rem; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; background: #fff; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: .92rem; vertical-align: top; }
tr:last-child td { border-bottom: 0; }
th { font-family: var(--mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .1em;
  color: var(--ink-soft); background: var(--bg-soft); }

/* ---------- Scan page ---------- */
.scan-shell { max-width: 560px; margin: 34px auto 60px; padding: 0 18px; }
.scan-card { background: #fff; border-radius: 24px; border: 1px solid var(--line); overflow: hidden; box-shadow: var(--shadow); }
.scan-head { background: linear-gradient(135deg, var(--purple), var(--purple-dark)); color: #fff; padding: 26px; }
.scan-head.alert { background: linear-gradient(135deg, #e03131, #a61e1e); }
.scan-body { padding: 24px; }
.kv { display: grid; grid-template-columns: 150px 1fr; gap: 8px 16px; margin: 12px 0; font-size: .96rem; }
.kv dt { color: var(--ink-soft); font-weight: 600; }
.kv dd { margin: 0; font-weight: 500; }
.red-banner { background: var(--red-soft); border: 2px solid var(--red); color: var(--red);
  font-weight: 700; padding: 16px; border-radius: 14px; margin-bottom: 18px; text-align: center;
  animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(224,49,49,.35); } 50% { box-shadow: 0 0 0 12px rgba(224,49,49,0); } }
.blood-chip { display: inline-block; background: var(--red); color: #fff; font-weight: 700;
  border-radius: 10px; padding: 4px 12px; font-size: 1.05rem; }

/* ---------- Dashboard / admin ---------- */
.dash-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 30px 0 20px; }
.stat b { font-family: var(--display); font-size: 1.8rem; font-weight: 700; display: block; color: var(--purple); }
.tabbar { display: flex; gap: 8px; flex-wrap: wrap; }
.tabbar a { text-decoration: none; font-weight: 600; font-size: .92rem; padding: 9px 16px;
  border-radius: 999px; border: 1.5px solid var(--line); background: #fff; }
.tabbar a.active { background: var(--purple); color: #fff; border-color: var(--purple); }
.notif { border-left: 4px solid var(--purple); padding: 8px 0 8px 14px; margin: 10px 0; }
.notif.alert { border-color: var(--red); background: var(--red-soft); border-radius: 0 10px 10px 0; padding-right: 10px; }
.notif.read { border-color: var(--line); opacity: .68; }

/* FAQ */
details { background: #fff; border: 1.5px solid var(--line); border-radius: 14px; padding: 16px 20px; margin: 12px 0; }
details[open] { border-color: var(--purple); }
summary { font-weight: 600; font-family: var(--display); cursor: pointer; }
details p { margin-bottom: 0; }

/* Reveal on scroll */
html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
html.js .reveal.in { opacity: 1; transform: none; }

/* Reason picker on the scan page — big tap targets for someone standing
   next to a car, one-handed, in a hurry. */
.reason-form { margin-top: 22px; }
.reason-set { border: 0; padding: 0; margin: 0 0 18px; }
.reason-set legend { padding: 0; margin-bottom: 10px; font-size: .95rem; color: var(--ink); }
.reason-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.reason {
  display: flex; align-items: center; gap: 12px; cursor: pointer;
  background: #fff; border: 1.5px solid var(--line); border-radius: 14px;
  padding: 14px 16px; transition: border-color .15s, background .15s, box-shadow .15s;
}
.reason:hover { border-color: var(--purple); }
.reason-icon { font-size: 1.25rem; line-height: 1; flex: 0 0 auto; }
.reason-label { flex: 1; font-weight: 500; font-size: .95rem; }
/* The native radio stays in the DOM for keyboard and screen readers; the ring
   next to it is what people actually see. */
.reason input[type="radio"] { position: absolute; opacity: 0; width: 0; height: 0; }
.reason-mark { flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%;
  border: 2px solid var(--line); position: relative; transition: border-color .15s; }
.reason input:checked ~ .reason-mark { border-color: var(--purple); }
.reason input:checked ~ .reason-mark::after {
  content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--purple);
}
.reason:has(input:checked) { border-color: var(--purple); background: var(--purple-soft);
  box-shadow: 0 0 0 3px var(--purple-glow); }
.reason:has(input:focus-visible) { outline: 3px solid var(--purple); outline-offset: 2px; }
/* Fallback for browsers without :has() — JS adds this class. */
.reason.picked { border-color: var(--purple); background: var(--purple-soft); }

/* ---------- Number plate + verification gate ---------- */
.lock-intro { font-family: var(--display); font-weight: 600; font-size: 1.15rem; margin: 0 0 12px; }
.plate {
  border: 2px solid var(--ink); border-radius: 10px; overflow: hidden;
  max-width: 300px; margin: 0 auto 20px; background: #fff;
  box-shadow: 0 6px 18px rgba(13, 11, 20, .14);
}
.plate-band {
  background: #123274; color: #fff; text-align: center; font-family: var(--body);
  font-size: .62rem; font-weight: 700; letter-spacing: .42em; text-indent: .42em;
  padding: 3px 0;
}
.plate-body { display: flex; align-items: stretch; min-height: 52px; }
/* The blue strip with the flag band, as on a real HSRP plate. */
.plate-flag {
  flex: 0 0 20px; position: relative;
  background: linear-gradient(#ff9933 0 34%, #fff 34% 66%, #138808 66% 100%);
  border-right: 1px solid var(--line);
}
.plate-flag::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 9px;
  transform: translate(-50%, -50%); border-radius: 50%; border: 2px solid #123274;
}
.plate-num {
  flex: 1; display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-weight: 700; font-size: 1.5rem; letter-spacing: .06em;
  color: #0d0b14; padding: 6px 10px; word-break: break-all; text-align: center;
}
.verify-form { margin-top: 4px; }
.verify-input {
  font-family: var(--mono); font-size: 1.7rem; font-weight: 700; text-align: center;
  letter-spacing: .5em; text-indent: .5em; padding: 14px 10px;
}
.sos-bypass { margin-top: 14px; text-align: center; }
.sos-bypass .link-btn { color: var(--red); font-weight: 600; }

/* ---------- Emergency helplines ---------- */
.sos { margin-top: 26px; border: 0; padding: 0; background: none; }
.sos[open] { border: 0; }
.sos-btn {
  display: block; background: var(--red); color: #fff; text-align: center;
  font-family: var(--display); font-weight: 700; font-size: 1.02rem;
  padding: 15px 18px; border-radius: 14px; cursor: pointer; list-style: none;
  box-shadow: 0 8px 22px rgba(224, 49, 49, .3);
}
.sos-btn::-webkit-details-marker { display: none; }
.sos-btn:hover { background: #c92a2a; }
.sos[open] .sos-btn { border-radius: 14px 14px 0 0; }
.sos-body { border: 1.5px solid var(--red); border-top: 0; border-radius: 0 0 14px 14px; padding: 14px 16px 16px; }
.sos-num {
  display: flex; align-items: baseline; gap: 12px; text-decoration: none;
  padding: 11px 12px; border-radius: 10px; border: 1.5px solid var(--line); margin-bottom: 8px;
}
.sos-num:hover { border-color: var(--red); background: var(--red-soft); }
.sos-num.primary { border-color: var(--red); background: var(--red-soft); }
.sos-digits { font-family: var(--mono); font-weight: 700; font-size: 1.2rem; color: var(--red); flex: 0 0 auto; }
.sos-name { font-weight: 600; font-size: .9rem; }
.sos-num:last-child { margin-bottom: 0; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #b9b3cc; margin-top: 0;
  border-top: 4px solid var(--purple); }
.footer-in { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 34px;
  padding: 54px var(--gutter) 36px; }
.footer .fbrand { font-family: var(--display); font-weight: 700; font-size: 1.5rem; color: #fff; text-decoration: none; }
.footer .fbrand b { color: var(--purple); }
.footer .contact-line { display: flex; gap: 9px; align-items: baseline; margin: 6px 0; }
.footer .badge-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.footer .fbadge { border: 1px solid rgba(255,255,255,.18); border-radius: 99px; padding: 4px 12px;
  font-size: .74rem; color: #d7d2e8; }
.footer .legal-block { font-style: normal; font-size: .78rem; line-height: 1.65;
  margin-top: 16px; color: #9c96b0; max-width: 42ch; }
.footer .legal-block b { color: #d7d2e8; font-weight: 600; }
.footer .brand { color: #fff; }
.footer h4 { color: #fff; font-family: var(--display); margin: 0 0 12px; font-size: .95rem; }
.footer a { color: #b9b3cc; text-decoration: none; display: block; padding: 3px 0; }
.footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); font-size: .82rem;
  padding: 18px var(--gutter) 26px; display: flex; justify-content: space-between;
  gap: 10px 14px; flex-wrap: wrap; }
.footer-bottom .sig { color: #d7d2e8; }

/* ---------- Print (QR batch sheets) ---------- */
.print-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.print-tag { border: 1.5px dashed var(--line); border-radius: 12px; padding: 12px; text-align: center; page-break-inside: avoid; }
.print-tag img { width: 100%; max-width: 150px; }
.print-tag .tid { font-family: var(--mono); font-weight: 700; font-size: .85rem; margin: 6px 0 2px; }
.print-tag .ser { font-family: var(--mono); font-size: .72rem; color: var(--ink-soft); }
@media print {
  .nav, .footer, .no-print, .flashes, .cursor-dot, .cursor-ring { display: none !important; }
  body { background: #fff; }
  .print-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 880px) {
  .hero { padding: 44px 0 60px; }
  .hero-grid { grid-template-columns: 1fr; row-gap: 32px; column-gap: 0;
    grid-template-areas: "copy" "tag" "actions"; }
  .hero-copy, .hero-actions { align-self: auto; }
  .tagstage { max-width: 520px; margin-inline: auto; width: 100%; }
  .hero p.lead { font-size: 1.05rem; }
  .hero-stats { display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 2px 12px; margin-top: 26px; }
  .hero-stats b { font-size: 1.35rem; }
  .hero-stats .small { font-size: .82rem; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-in { grid-template-columns: 1fr 1fr; gap: 26px; }
  .kv { grid-template-columns: 1fr; gap: 2px 0; }
  .kv dt { margin-top: 8px; }
  .section { padding: 46px 0; }
  .print-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  :root { --gutter: 18px; }          /* every .wrap row breathes, footer included */
  .tagfloat-card { transform: rotateY(-6deg) rotateX(3deg) rotate(-1deg); }
  .tag-cap { font-size: .78rem; }
}
@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  .footer-in { grid-template-columns: 1fr; gap: 22px; padding-top: 42px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; line-height: 1.5; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Suggested public messages */
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 4px; }
.msg-chip { background: var(--purple-soft); color: var(--purple-dark); border: 1.5px solid transparent;
  border-radius: 999px; padding: 7px 14px; font: inherit; font-size: .82rem; font-weight: 500;
  cursor: pointer; text-align: left; transition: border-color .15s, background .15s; }
.msg-chip:hover { border-color: var(--purple); }
.msg-chip.picked { background: var(--purple); color: #fff; }

/* ================= Homepage v3 — cars & bikes ================= */

/* Hero stat plus-signs sit lighter than the digits */
.hero-stats b i { font-style: normal; opacity: .55; font-size: .8em; }

/* Scan-reason ticker under the hero — real one-tap reasons, drifting past */
.ticker { border-block: 1px solid var(--line); background: var(--bg-soft);
  overflow: hidden; margin-top: 56px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker-track { display: flex; gap: 0; width: max-content; animation: ticker 34s linear infinite; }
.ticker-track span { font-family: var(--mono); font-size: .82rem; color: var(--ink-soft);
  padding: 12px 26px; white-space: nowrap; border-right: 1px dashed var(--line); }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* ---------- Impact band: the night-road section ---------- */
.impact { background: var(--ink); color: #f2effb; position: relative; overflow: hidden; }
.impact::before { /* headlight glow */
  content: ""; position: absolute; top: -260px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 560px; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(116,71,225,.34), transparent 65%);
}
.impact::after { /* lane marking running through the section */
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 0;
  border-top: 3px dashed rgba(255,255,255,.07); pointer-events: none;
}
.impact .wrap { position: relative; z-index: 1; }
.impact h2 { color: #fff; }
.impact-eyebrow { color: #b9a4f4; }
.impact-lead { color: #b8b2cc; max-width: 56ch; }
.impact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 8px; }
.impact-card { background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius); padding: 26px 24px; backdrop-filter: blur(4px);
  transition: transform .18s, border-color .18s, background .18s; }
.impact-card:hover { transform: translateY(-4px); border-color: rgba(185,164,244,.55); background: rgba(255,255,255,.07); }
.impact-num { font-family: var(--mono); font-weight: 700; font-size: clamp(1.7rem, 3.4vw, 2.3rem);
  display: block; color: #c9b6ff; letter-spacing: -.02em; margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.impact-num i { font-style: normal; font-size: .6em; opacity: .7; }
.impact-card h3 { color: #fff; font-size: 1.02rem; margin-bottom: 6px; }
.impact-card p { color: #aca4c4; font-size: .9rem; margin: 0; line-height: 1.55; }
.impact-card.danger .impact-num { color: #ff8f8f; }
.impact-card.solve { background: linear-gradient(150deg, rgba(116,71,225,.32), rgba(116,71,225,.1));
  border-color: rgba(160,124,255,.6); display: flex; flex-direction: column; }
.impact-card.solve .impact-num { color: #fff; }
.impact-card.solve .btn { margin-top: auto; align-self: flex-start; }
.impact-note { color: #7d7695; font-size: .74rem; margin-top: 26px; font-family: var(--mono); }

/* ---------- Product showcase (2-up lineup) ---------- */
.lineup { gap: 26px; }
.product.showcase { display: flex; flex-direction: column; padding: 32px; }
.showcase-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.showcase-top .icon { margin-bottom: 0; }
.tick-list { list-style: none; margin: 14px 0 6px; padding: 0; }
.tick-list li { padding: 7px 0 7px 28px; position: relative; font-size: .93rem; color: var(--ink-soft);
  border-bottom: 1px dashed var(--line); }
.tick-list li:last-child { border-bottom: 0; }
.tick-list li::before { content: "✓"; position: absolute; left: 2px; top: 7px;
  color: var(--purple); font-weight: 700; }
.price-note { font-family: var(--body); font-weight: 400; font-size: .85rem; color: var(--ink-soft); }
.product.showcase form { margin-top: auto; }

/* ---------- Number-plate lock demo ---------- */
.platewrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.plate-demo { text-align: center; }
.ind-plate { display: inline-flex; align-items: stretch; background: #fff; border: 3px solid var(--ink);
  border-radius: 10px; overflow: hidden; box-shadow: var(--shadow), 0 14px 34px var(--purple-glow); }
.ind-band { background: #1d3ea8; color: #fff; font-family: var(--mono); font-size: .68rem;
  font-weight: 700; writing-mode: vertical-rl; transform: rotate(180deg);
  display: grid; place-items: center; padding: 8px 5px; letter-spacing: .12em; }
.plate-text { font-family: var(--mono); font-weight: 700; font-size: clamp(1.35rem, 3.4vw, 1.9rem);
  letter-spacing: .1em; padding: 16px 22px; color: var(--ink); }
.plate-arrow { font-family: var(--mono); font-size: .78rem; color: var(--ink-soft); margin: 16px 0; letter-spacing: .08em; }
.plate-unlocked { display: inline-block; background: var(--ok-soft); color: var(--ok);
  font-weight: 600; font-size: .9rem; border-radius: 12px; padding: 12px 18px; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .impact-grid { grid-template-columns: repeat(2, 1fr); }
  .platewrap { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 620px) {
  .impact-grid { grid-template-columns: 1fr; }
  .lineup { grid-template-columns: 1fr; }
  .ticker { margin-top: 40px; }
}


/* ---------- Admin: permanent-delete dialog ---------- */
.danger-dialog { border: 2px solid var(--red); border-radius: var(--radius);
  padding: 22px 24px; max-width: 420px; width: calc(100% - 40px); }
.danger-dialog::backdrop { background: rgba(13,11,20,.55); backdrop-filter: blur(2px); }
.nowrap { white-space: nowrap; }

/* ---------- Shop: product creatives ---------- */
.shop-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.shop-body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.shop-body form { margin-top: auto; }
.product-media { position: relative; display: block; background:
  radial-gradient(120% 120% at 20% 0%, #efe9fd 0%, #ddd0fb 55%, #cdbcf6 100%);
  overflow: hidden; }
.product-media img { width: 100%; height: 100%; object-fit: contain; display: block;
  transition: transform .35s ease; padding: 18px; box-sizing: border-box; }
.product-media:hover img { transform: scale(1.045) rotate(-.5deg); }
.media-landscape { aspect-ratio: 16 / 10; }
.media-portrait { aspect-ratio: 16 / 10; }   /* same frame height; portrait art letterboxes */
.media-zoom { position: absolute; right: 12px; bottom: 12px; font-size: .72rem;
  font-family: var(--mono); background: rgba(13,11,20,.72); color: #fff;
  padding: 5px 10px; border-radius: 999px; pointer-events: none; }
.media-badge { position: absolute; left: 12px; top: 12px; font-size: .72rem;
  font-weight: 700; background: var(--ink); color: #fff; padding: 6px 12px;
  border-radius: 999px; letter-spacing: .04em; }
.creative-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 4px; }
.creative-chips span { font-size: .76rem; background: var(--bg-soft);
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 11px;
  color: var(--ink-soft); }
.zoom-dialog { border: 0; border-radius: var(--radius); padding: 0; background: transparent;
  max-width: min(92vw, 860px); cursor: zoom-out; }
.zoom-dialog img { width: 100%; display: block; border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(13,11,20,.5); }
.zoom-dialog::backdrop { background: rgba(13,11,20,.78); backdrop-filter: blur(3px); }

/* Home lineup cards get a slim media strip too */
.showcase-media { display: block; border-radius: 14px; overflow: hidden; margin: 14px 0 4px;
  background: radial-gradient(120% 120% at 20% 0%, #efe9fd, #d5c6f8); }
.showcase-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: contain;
  display: block; padding: 12px; box-sizing: border-box; }

/* <dialog> fallback: engines without dialog support would render its contents
   inline — declare the default hidden state explicitly. */
dialog:not([open]) { display: none; }

/* ================= Global: justified body text =================
   Paragraphs, list items and description text are fully justified.
   Hyphenation keeps narrow mobile columns from developing ugly gaps.
   Deliberate exceptions keep their own alignment: .center content,
   buttons, chips, pills, nav links and table headers (class selectors
   like .center outrank these element selectors, so nothing breaks). */
p, li, dd, dt, summary, blockquote, figcaption, label,
.muted, .lead, .impact-lead, .flash {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
}
/* Short UI strings look wrong justified — keep these natural. */
.hero-stats span, .creative-chips span, .ticker-track span,
.pill, .prefix-chip, .btn, .tag-cap, .hint, .plate-arrow,
nav a, .footer a, th, .price, .impact-note, .media-zoom, .media-badge {
  text-align: initial;
  hyphens: none;
  -webkit-hyphens: none;
}
.center, .center p, .center .muted { text-align: center; }

/* ---------- OTP verification ---------- */
.otp-choice { border: 0; padding: 0; margin: 14px 0 0; }
.otp-choice legend { font-weight: 600; font-size: .92rem; margin-bottom: 8px; padding: 0; }
.radio-card { display: flex; gap: 10px; align-items: flex-start; border: 1.5px solid var(--line);
  border-radius: 12px; padding: 12px 14px; margin-bottom: 8px; cursor: pointer;
  transition: border-color .15s, background .15s; }
.radio-card:hover { border-color: var(--purple); }
.radio-card:has(input:checked) { border-color: var(--purple); background: var(--purple-soft); }
.radio-card input { margin-top: 3px; accent-color: var(--purple); }
.code-input { font-family: var(--mono); font-size: 1.4rem; letter-spacing: .4em;
  text-align: center; }

/* ---------- Cart & checkout (guest-first flow) ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.checkout-page h1 { font-size: clamp(1.7rem, 4vw, 2.6rem); }
.co-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 26px; align-items: start; margin-top: 18px; }
.co-side { position: sticky; top: 86px; }
.co-extra { grid-column: 1; }
.summary-card h3 { margin-bottom: 12px; }
.summary-items { list-style: none; margin: 0 0 12px; padding: 0; font-size: .93rem; }
.summary-items li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px dashed var(--line); }
.totals { grid-template-columns: 1fr auto; margin: 12px 0 6px; font-size: .95rem; }
.totals dd { text-align: right; }
.totals .ok { color: var(--ok); font-weight: 600; }
.totals .total { font-family: var(--display); font-size: 1.25rem; font-weight: 700; border-top: 1.5px solid var(--line); padding-top: 10px; margin-top: 4px; }
.save-note { background: var(--ok-soft); color: var(--ok); font-weight: 600; font-size: .86rem; border-radius: 10px; padding: 8px 12px; margin: 8px 0 14px; }
.price-warn { background: #fff6e5; color: #9a5b00; border: 1px dashed #f0b64a; font-size: .82rem; font-weight: 600; border-radius: 10px; padding: 8px 12px; margin: 12px 0 0; }

/* Steps */
.steps { list-style: none; display: flex; gap: 8px; padding: 0; margin: 6px 0 12px; flex-wrap: wrap; }
.steps li { display: flex; align-items: center; gap: 8px; font-size: .86rem; font-weight: 600; color: var(--ink-soft);
  padding: 6px 14px 6px 6px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; }
.steps li span { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-family: var(--mono); font-size: .72rem; background: var(--bg-soft); }
.steps li.now { color: var(--purple); border-color: var(--purple); }
.steps li.now span { background: var(--purple); color: #fff; }
.steps li.done { color: var(--ok); border-color: var(--ok-soft); background: var(--ok-soft); }
.steps li.done span { background: var(--ok); color: #fff; }
.steps li.done span::before { content: "✓"; }
.login-nudge { background: var(--purple-soft); border-radius: 12px; padding: 10px 14px; font-size: .9rem; margin: 0 0 14px; }
.co-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
.co-nav .btn { white-space: nowrap; }
.co-nav .btn:last-child { flex: 1; text-align: center; }

/* Cart lines */
.cart-line { padding: 18px 20px; margin-bottom: 14px; }
.cart-line.compact { padding: 14px 16px; margin-bottom: 10px; }
.cart-line-top { display: flex; gap: 16px; align-items: center; }
.cart-thumb { flex: 0 0 86px; width: 86px; height: 86px; border-radius: 14px; background: var(--bg-soft); overflow: hidden; display: grid; place-items: center; }
.cart-thumb.sm { flex-basis: 60px; width: 60px; height: 60px; border-radius: 10px; }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-info { flex: 1; min-width: 0; }
.cart-info .compare { color: var(--ink-soft); text-decoration: line-through; margin-left: 6px; }
.cart-price { font-family: var(--display); font-size: 1.15rem; white-space: nowrap; }
.cart-line-controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.qty-form { display: flex; align-items: center; gap: 10px; }
.qty-label { margin: 0; font-size: .85rem; color: var(--ink-soft); }
.qty { display: inline-flex; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; }
.qty button { background: #fff; border: 0; width: 38px; height: 38px; font-size: 1.2rem; color: var(--purple); font-weight: 700; }
.qty button:disabled { color: var(--line); }
.qty input { width: 46px; border: 0; border-radius: 0; text-align: center; padding: 0; font-weight: 600; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty input:focus { box-shadow: none; }
.remove-btn { color: var(--red); font-size: .88rem; }

/* 2nd-tag add-on */
.addon-box { margin-top: 14px; border: 1.5px dashed var(--line); border-radius: 14px; padding: 12px 14px; background: var(--bg-soft); transition: border-color .15s, background .15s; }
.addon-box.on { border-style: solid; border-color: var(--purple); background: var(--purple-soft); }
.addon-toggle { display: flex; gap: 12px; align-items: flex-start; margin: 0; cursor: pointer; font-weight: 500; }
.addon-toggle input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--purple); flex: 0 0 auto; }
.addon-copy { display: block; line-height: 1.4; }
.addon-copy .hint { display: block; margin-top: 2px; }
.addon-price { display: inline-block; background: var(--ink); color: #fff; font-family: var(--mono); font-size: .72rem; border-radius: 8px; padding: 2px 8px; margin-left: 6px; vertical-align: middle; }
.addon-pos { display: flex; align-items: center; gap: 8px; margin-top: 10px; flex-wrap: wrap; padding-left: 32px; }
.seg { margin: 0; padding: 6px 16px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; font-size: .86rem; font-weight: 600; cursor: pointer; }
.seg input { position: absolute; opacity: 0; width: 0; height: 0; }
.seg.picked { border-color: var(--purple); background: var(--purple); color: #fff; }

/* Coupons */
.coupon-form { display: flex; gap: 8px; margin: 0 0 6px; }
.coupon-form input { flex: 1; min-width: 0; font-size: .95rem; padding: 10px 12px; letter-spacing: .08em; }
.coupon-input::placeholder { letter-spacing: .08em; text-transform: none; }
.coupon-form .btn { white-space: nowrap; }
.coupon-applied { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: var(--ok-soft); color: var(--ok); border-radius: 12px; padding: 10px 12px; font-size: .92rem; margin: 0 0 6px; }
.coupon-applied .link-btn { color: var(--ok); }

/* Suggestions (cross-sell) */
.suggest-wrap { margin-top: 26px; padding-top: 22px; border-top: 1.5px dashed var(--line); }
.suggest-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.suggest-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.suggest-media { background: var(--bg-soft); display: grid; place-items: center; aspect-ratio: 16 / 10; overflow: hidden; }
.suggest-media img { width: 100%; height: 100%; object-fit: cover; }
.suggest-body { padding: 16px 18px 18px; }
.suggest-body .price { font-family: var(--display); font-weight: 700; font-size: 1.25rem; }
.suggest-body .compare { color: var(--ink-soft); text-decoration: line-through; font-weight: 400; font-size: .9rem; margin-left: 8px; }

/* Review + pay */
.review-card { padding: 6px 20px; }
.review-row { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.review-row:last-child { border-bottom: 0; }
.pay-card { margin-top: 22px; }
.pay-options { display: grid; gap: 10px; margin-top: 8px; }
.pay-opt { display: flex; align-items: center; gap: 14px; margin: 0; padding: 14px 16px; border: 2px solid var(--line); border-radius: 14px; cursor: pointer; font-weight: 500; transition: border-color .15s, background .15s; }
.pay-opt input { width: 20px; height: 20px; accent-color: var(--purple); flex: 0 0 auto; }
.pay-opt.picked { border-color: var(--purple); background: var(--purple-soft); }
.pay-opt-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pay-opt-title { font-weight: 700; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pay-opt-price { font-family: var(--display); font-size: 1.1rem; white-space: nowrap; }
.ref-details { margin-top: 16px; }
.ref-details summary { cursor: pointer; font-size: .9rem; font-weight: 600; color: var(--purple-dark); }

/* Admin order table */
.order-form { display: flex; flex-direction: column; gap: 6px; min-width: 150px; }
.order-form select { padding: 8px 10px; font-size: .85rem; }
.orders-table td { font-size: .88rem; }

@media (max-width: 880px) {
  .co-layout { grid-template-columns: 1fr; }
  .co-side { position: static; }
  .co-extra { grid-column: auto; }
  .cart-line-top { align-items: flex-start; }
  .cart-price { font-size: 1.05rem; }
}
@media (max-width: 560px) {
  .suggest-grid { grid-template-columns: 1fr; }
  .steps li { font-size: .78rem; padding-right: 10px; }
  .cart-thumb { flex-basis: 68px; width: 68px; height: 68px; }
  .addon-pos { padding-left: 0; }
  .addon-pos > .small { width: 100%; }
  .addon-pos .seg { flex: 1; text-align: center; }
  .pay-opt { flex-wrap: wrap; }
  .pay-opt-price { width: 100%; text-align: right; padding-left: 34px; }
  .co-nav { flex-direction: column-reverse; }
  .co-nav .btn { width: 100%; text-align: center; }
  .review-row { flex-direction: column; gap: 4px; }
}
