/* ============================================================
   AIOGrade — shared stylesheet.
   Visual identity carried over from the original AIO Score site:
   dark premium SaaS, indigo/cyan glows, glass cards, Sora+Inter.
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg: #060810;
  --bg-card: rgba(255,255,255,0.032);
  --bg-card-2: rgba(255,255,255,0.05);
  --border: rgba(255,255,255,0.09);
  --border-soft: rgba(255,255,255,0.06);
  --text: #eef1f8;
  --text-dim: #a3abc2;
  --text-faint: #8a93b0;
  --blue: #7da7ff;
  --indigo: #818cf8;
  --cyan: #38bdf8;
  --green: #4ade80;
  --amber: #fbbf24;
  --red: #f87171;
  --radius: 14px;
  --grad: linear-gradient(100deg, #818cf8, #38bdf8);
  --font-display: "Sora", "Inter", -apple-system, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}
/* ambient background: glows + grid */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(900px 480px at 15% -5%, rgba(99,102,241,0.16), transparent 60%),
    radial-gradient(800px 460px at 90% 5%, rgba(56,189,248,0.10), transparent 60%),
    radial-gradient(700px 500px at 50% 110%, rgba(99,102,241,0.08), transparent 60%);
  pointer-events: none;
}
body::after {
  content: "";
  position: fixed; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(900px 600px at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(900px 600px at 50% 0%, #000 30%, transparent 75%);
  pointer-events: none;
}

.wrap { width: 100%; max-width: 780px; margin: 0 auto; padding: 0 20px; }
.wrap-wide { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }

h1, h2, h3, .brand-name, .biz-name, .ring-num, .kpi-num { font-family: var(--font-display); }

a { color: var(--blue); }
.icon { width: 18px; height: 18px; flex: none; vertical-align: -3px; }
.muted { color: var(--text-dim); font-size: 14.5px; }
[hidden] { display: none !important; }

:focus-visible {
  outline: 2px solid var(--indigo);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- header ---------- */
header.site {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid var(--border-soft);
  background: rgba(6,8,16,0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 10px 0;
}
.nav-row { display: flex; align-items: center; gap: 18px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--text); }
.brand-mark {
  display: flex; align-items: center; justify-content: center;
  filter: drop-shadow(0 0 14px rgba(99,102,241,0.5));
}
.brand-name { font-weight: 700; font-size: 16.5px; letter-spacing: 0.2px; }
.brand-tag { font-size: 12px; color: var(--text-faint); margin-left: 2px; }
nav.main { margin-left: auto; display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
#navAuth { display: contents; }
nav.main a.nav-link {
  display: inline-flex; align-items: center;
  color: var(--text-dim); text-decoration: none;
  font-size: 14px; font-weight: 500;
  padding: 11px 13px; border-radius: 10px;
  min-height: 44px;
  transition: color .15s, background .15s;
}
nav.main a.nav-link:hover { color: var(--text); background: var(--bg-card-2); }
nav.main a.nav-link.active { color: var(--text); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: none; border-radius: 12px;
  font-size: 15px; font-weight: 600;
  padding: 12px 22px;
  min-height: 44px;
  cursor: pointer;
  text-decoration: none;
  transition: filter .15s, transform .12s, box-shadow .2s, border-color .15s, color .15s;
  font-family: inherit;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--grad); color: #070b18;
  box-shadow: 0 4px 20px rgba(99,102,241,0.4);
}
.btn-primary:hover { filter: brightness(1.12); box-shadow: 0 6px 28px rgba(99,102,241,0.55); }
.btn-secondary {
  background: var(--bg-card-2); color: var(--text);
  border: 1px solid var(--border);
}
.btn-secondary:hover { border-color: rgba(129,140,248,0.7); }
.btn-ghost { background: none; color: var(--text-dim); padding: 11px 13px; }
.btn-ghost:hover { color: var(--text); }
.btn-cta {
  background: linear-gradient(100deg, #34d399, #4ade80); color: #07140c;
  box-shadow: 0 4px 20px rgba(74,222,128,0.3);
}
.btn-cta:hover { filter: brightness(1.07); box-shadow: 0 6px 26px rgba(74,222,128,0.42); }
.btn-danger { background: rgba(248,113,113,0.1); color: var(--red); border: 1px solid rgba(248,113,113,0.4); }
.btn-danger:hover { background: rgba(248,113,113,0.18); }
.btn-sm { padding: 9px 14px; font-size: 13.5px; min-height: 44px; border-radius: 10px; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; }

/* ---------- cards ---------- */
.card {
  background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.018));
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 30px;
  margin: 26px auto;
  max-width: 700px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 18px 60px rgba(0,0,0,0.42);
}
.card h2 { font-size: 22px; letter-spacing: -0.4px; }
.card-wide { max-width: none; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

/* ---------- hero ---------- */
.hero { padding: 72px 0 30px; text-align: center; position: relative; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-dim);
  font-size: 13px; font-weight: 600; letter-spacing: 0.2px;
  padding: 8px 18px; border-radius: 999px;
  margin-bottom: 22px;
}
.eyebrow .pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(56,189,248,0.6);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(56,189,248,0.55); }
  70% { box-shadow: 0 0 0 9px rgba(56,189,248,0); }
  100% { box-shadow: 0 0 0 0 rgba(56,189,248,0); }
}
.hero h1 {
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 800;
  letter-spacing: -1.3px;
  line-height: 1.1;
}
@media (min-width: 880px) {
  .hero h1 { white-space: nowrap; }
}
.hero h1 .grad, .grad-text {
  background: linear-gradient(95deg, #a5b4fc 10%, #38bdf8 55%, #7dd3fc 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--cyan);
}
.hero p.sub {
  margin: 18px auto 0;
  max-width: 600px;
  color: var(--text-dim);
  font-size: clamp(14.5px, 2.6vw, 17px);
}
.engines { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.engine {
  font-size: 12.5px; font-weight: 600;
  color: var(--text-dim);
  border: 1px solid var(--border-soft);
  background: var(--bg-card);
  padding: 5px 13px; border-radius: 999px;
}
.engine b { color: var(--text); font-weight: 700; }
.hero-actions { margin-top: 30px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- stat strip ---------- */
.stat-strip {
  margin: 46px auto 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  max-width: 880px;
}
.stat {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  padding: 22px 18px;
  text-align: center;
}
.stat .s-num {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 34px); font-weight: 800; letter-spacing: -1px;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--indigo);
}
.stat p { font-size: 13px; color: var(--text-dim); margin-top: 6px; }

/* ---------- marketing sections ---------- */
.section { padding: 54px 0 10px; }
.section-title { text-align: center; font-size: clamp(22px, 3.6vw, 30px); font-weight: 800; letter-spacing: -0.8px; }
.section-sub { text-align: center; color: var(--text-dim); font-size: 14.5px; max-width: 560px; margin: 10px auto 0; }
.pillars { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 30px; }
.pillar {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  padding: 22px 18px;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.pillar:hover {
  transform: translateY(-3px);
  border-color: rgba(129,140,248,0.5);
  box-shadow: 0 14px 40px rgba(99,102,241,0.14);
}
.pillar .p-ico {
  width: 40px; height: 40px; border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  color: #a5b4fc;
  background: rgba(99,102,241,0.14);
  border: 1px solid rgba(129,140,248,0.3);
  margin-bottom: 14px;
}
.pillar .p-ico .icon { width: 20px; height: 20px; }
.pillar h3 { font-size: 15px; letter-spacing: -0.2px; }
.pillar .p-w { font-size: 11px; font-weight: 800; letter-spacing: 1.4px; color: #a5b4fc; margin-top: 2px; }
.pillar p { font-size: 12.5px; color: var(--text-dim); margin-top: 8px; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 30px; }
.step {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  padding: 24px 20px;
  position: relative;
}
.step .s-num {
  font-family: var(--font-display);
  font-size: 13px; font-weight: 800;
  color: #070b18;
  background: var(--grad);
  width: 28px; height: 28px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
  box-shadow: 0 0 14px rgba(99,102,241,0.4);
}
.step h3 { font-size: 15.5px; letter-spacing: -0.2px; }
.step p { font-size: 13px; color: var(--text-dim); margin-top: 8px; }

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 30px; align-items: stretch; }
.plan {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  padding: 26px 22px;
  display: flex; flex-direction: column;
  position: relative;
}
.plan.featured {
  border-color: rgba(129,140,248,0.6);
  background: linear-gradient(180deg, rgba(99,102,241,0.1), rgba(255,255,255,0.02));
  box-shadow: 0 18px 50px rgba(99,102,241,0.18);
}
.plan .badge-pop {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--grad); color: #070b18;
  font-size: 10.5px; font-weight: 800; letter-spacing: 1.4px;
  padding: 4px 12px; border-radius: 999px; white-space: nowrap;
}
.plan h3 { font-size: 17px; }
.plan .price { font-family: var(--font-display); font-size: 32px; font-weight: 800; margin-top: 8px; letter-spacing: -1px; }
.plan .price small { font-size: 13px; font-weight: 500; color: var(--text-faint); letter-spacing: 0; }
.plan ul { list-style: none; margin: 18px 0 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.plan ul li { display: flex; gap: 9px; align-items: flex-start; font-size: 13.5px; color: var(--text-dim); }
.plan ul li .icon { width: 16px; height: 16px; color: var(--green); margin-top: 3px; }
.plan .btn { width: 100%; }

/* ---------- CTA band ---------- */
.cta-band {
  margin: 56px auto 30px;
  max-width: 820px;
  border-radius: 24px;
  padding: 2px;
  background: linear-gradient(110deg, rgba(129,140,248,0.6), rgba(56,189,248,0.4), rgba(74,222,128,0.4));
}
.cta-inner {
  border-radius: 22px;
  background: #0a0d18;
  padding: 40px 28px;
  text-align: center;
}
.cta-inner h2 { font-size: clamp(20px, 3.4vw, 28px); letter-spacing: -0.6px; }
.cta-inner p { color: var(--text-dim); font-size: 14.5px; max-width: 520px; margin: 10px auto 22px; }

/* ---------- footer ---------- */
footer.site {
  margin-top: auto;
  border-top: 1px solid var(--border-soft);
  padding: 26px 0 32px;
  text-align: center;
  color: var(--text-faint);
  font-size: 13px;
  background: rgba(6,8,16,0.6);
}
footer.site a { color: var(--text-dim); }

/* ---------- forms ---------- */
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; color: var(--text-dim); margin-bottom: 7px; }
.field input[type="text"], .field input[type="email"], .field input[type="password"], .field select {
  width: 100%;
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--border);
  border-radius: 11px;
  color: var(--text);
  font-size: 15.5px;
  padding: 12px 14px;
  min-height: 44px;
  outline: none;
  font-family: inherit;
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus {
  border-color: rgba(129,140,248,0.8);
  box-shadow: 0 0 0 3px rgba(99,102,241,0.15);
}
.field input::placeholder { color: var(--text-faint); }
.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-faint) 50%), linear-gradient(135deg, var(--text-faint) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
  cursor: pointer;
}
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.grid-3 { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 14px; }
.err { color: var(--red); font-size: 13.5px; margin-top: 10px; min-height: 18px; }
.ok-msg { color: var(--green); font-size: 13.5px; margin-top: 10px; min-height: 18px; }

/* ---------- score ring ---------- */
.scorecard { position: relative; overflow: hidden; }
.scorecard::before {
  content: "";
  position: absolute; top: -120px; left: 50%; transform: translateX(-50%);
  width: 420px; height: 220px;
  background: radial-gradient(closest-side, rgba(99,102,241,0.18), transparent);
  pointer-events: none;
}
.scorecard .biz-name { font-size: 26px; font-weight: 800; letter-spacing: -0.6px; text-align: center; position: relative; }
.scorecard .biz-meta { text-align: center; color: var(--text-faint); font-size: 13px; margin-top: 4px; position: relative; }
.ring-wrap { display: flex; flex-direction: column; align-items: center; margin: 20px 0 6px; position: relative; }
.ring-wrap svg { width: 230px; max-width: 80%; height: auto; filter: drop-shadow(0 0 18px rgba(99,102,241,0.18)); }
.ring-track { stroke: rgba(255,255,255,0.07); }
.ring-fill { transition: stroke-dashoffset 1.1s cubic-bezier(.2,.8,.2,1); }
.ring-num { font-size: 52px; font-weight: 800; fill: var(--text); }
.ring-sub { font-size: 12px; font-weight: 700; letter-spacing: 2px; fill: var(--text-faint); text-transform: uppercase; }
.score-label { font-size: 12px; color: var(--text-faint); text-transform: uppercase; letter-spacing: 1.8px; margin-top: 4px; text-align: center; font-weight: 700; }
.verdict { text-align: center; font-size: 21px; font-weight: 700; margin-top: 10px; font-family: var(--font-display); letter-spacing: -0.3px; }
.verdict.v-red { color: var(--red); text-shadow: 0 0 24px rgba(248,113,113,0.35); }
.verdict.v-amber { color: var(--amber); text-shadow: 0 0 24px rgba(251,191,36,0.3); }
.verdict.v-green { color: var(--green); text-shadow: 0 0 24px rgba(74,222,128,0.35); }

.mode-badge {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.6px;
  padding: 6px 13px; border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-dim);
}
.mode-badge.demo { border-color: rgba(251,191,36,0.5); color: var(--amber); background: rgba(251,191,36,0.08); }
.mode-badge.published { border-color: rgba(56,189,248,0.5); color: var(--cyan); background: rgba(56,189,248,0.08); }
.mode-badge.live { border-color: rgba(74,222,128,0.5); color: var(--green); background: rgba(74,222,128,0.08); }
.badge-row { display: flex; justify-content: center; margin-top: 14px; position: relative; }

/* ---------- dimension bars ---------- */
.areas { margin-top: 26px; display: flex; flex-direction: column; gap: 14px; }
.area-row { display: grid; grid-template-columns: 148px 1fr 38px; align-items: center; gap: 12px; }
.area-row .a-name { font-size: 13.5px; color: var(--text-dim); font-weight: 600; }
.area-row .a-name small { display: block; color: var(--text-faint); font-weight: 400; font-size: 11px; }
.a-track { background: rgba(0,0,0,0.35); border: 1px solid var(--border-soft); border-radius: 99px; height: 11px; overflow: hidden; }
.a-fill { height: 100%; border-radius: 99px; width: 0; transition: width .9s cubic-bezier(.2,.8,.2,1); box-shadow: 0 0 10px rgba(255,255,255,0.12) inset; }
.a-val { font-size: 14px; font-weight: 700; text-align: right; }

/* ---------- platform chips ---------- */
.platform-chips { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 14px; justify-content: center; position: relative; }
.pchip {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px; font-weight: 600;
  min-height: 38px;
}
.pchip .p-score { font-family: var(--font-display); font-weight: 800; }
.pchip.unavailable { opacity: 0.55; color: var(--text-faint); border-style: dashed; }
.pchip.unavailable .p-score { font-weight: 500; font-size: 11.5px; }

/* ---------- fix list ---------- */
.fixes { margin-top: 12px; display: flex; flex-direction: column; gap: 12px; }
.fix {
  display: flex; gap: 14px; align-items: flex-start;
  background: rgba(0,0,0,0.26);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: 16px 18px;
}
.fix .f-ico {
  width: 36px; height: 36px; flex: none;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(74,222,128,0.1);
  border: 1px solid rgba(74,222,128,0.3);
  color: var(--green);
}
.fix .f-ico .icon { width: 17px; height: 17px; }
.fix h4 { font-size: 14.5px; font-weight: 700; font-family: var(--font-body); }
.fix p { font-size: 13px; color: var(--text-dim); margin-top: 4px; }
.fix-meta { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 9px; }
.tag {
  font-size: 11px; font-weight: 700; letter-spacing: 0.4px;
  padding: 3px 10px; border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text-dim);
}
.tag.impact { color: var(--green); border-color: rgba(74,222,128,0.4); }
.tag.easy { color: var(--green); border-color: rgba(74,222,128,0.35); }
.tag.medium { color: var(--amber); border-color: rgba(251,191,36,0.35); }
.tag.hard { color: var(--red); border-color: rgba(248,113,113,0.35); }

.locked-teaser {
  margin-top: 14px;
  background: linear-gradient(120deg, rgba(74,222,128,0.07), rgba(56,189,248,0.06));
  border: 1px solid rgba(74,222,128,0.25);
  border-radius: 16px;
  padding: 22px;
  text-align: center;
}
.locked-teaser p { color: var(--text-dim); font-size: 14.5px; }
.locked-teaser strong { color: var(--text); }
.locked-teaser .btn { margin-top: 14px; }
.locked-teaser .lock-ico { color: var(--amber); margin-bottom: 8px; }

ul.bullets { list-style: none; display: flex; flex-direction: column; gap: 9px; margin-top: 12px; }
ul.bullets li { display: flex; gap: 10px; font-size: 14px; color: var(--text-dim); }
ul.bullets li::before { content: "•"; color: var(--indigo); font-weight: 800; }

.section-h { font-size: 12px; text-transform: uppercase; letter-spacing: 1.8px; color: var(--text-faint); margin: 28px 0 10px; font-weight: 700; }

/* ---------- search page ---------- */
.search-card { max-width: 640px; }
.spinner {
  width: 38px; height: 38px;
  border: 3px solid rgba(129,140,248,0.25);
  border-top-color: var(--indigo);
  border-radius: 50%;
  margin: 0 auto;
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading-note { text-align: center; color: var(--text-dim); font-size: 14px; margin-top: 14px; }

/* ---------- auth pages ---------- */
.auth-card { max-width: 440px; margin-top: 56px; }
.auth-card h1 { font-size: 26px; letter-spacing: -0.6px; margin-bottom: 6px; }
.auth-card .sub { color: var(--text-dim); font-size: 14px; margin-bottom: 22px; }
.auth-alt { margin-top: 18px; font-size: 13.5px; color: var(--text-dim); text-align: center; }

/* ---------- dashboard ---------- */
.dash-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 36px 0 8px; }
.dash-head h1 { font-size: 26px; letter-spacing: -0.7px; }
.dash-head .spacer { flex: 1; }
.plan-pill {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  border: 1px solid rgba(129,140,248,0.5);
  color: #a5b4fc;
  background: rgba(99,102,241,0.1);
  padding: 6px 14px; border-radius: 999px;
}
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 18px; }
.kpi {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  padding: 18px;
}
.kpi .kpi-label { font-size: 11.5px; color: var(--text-faint); text-transform: uppercase; letter-spacing: 1.4px; font-weight: 700; }
.kpi .kpi-num { font-size: 28px; font-weight: 800; letter-spacing: -1px; margin-top: 4px; }
.kpi .kpi-sub { font-size: 12px; color: var(--text-dim); }

.upgrade-banner {
  margin-top: 20px;
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  background: linear-gradient(120deg, rgba(251,191,36,0.1), rgba(99,102,241,0.08));
  border: 1px solid rgba(251,191,36,0.4);
  border-radius: 16px;
  padding: 16px 20px;
}
.upgrade-banner .icon { color: var(--amber); }
.upgrade-banner p { font-size: 14px; color: var(--text); flex: 1; min-width: 220px; }
.upgrade-banner p small { display: block; color: var(--text-dim); }

.biz-grid { display: flex; flex-direction: column; gap: 18px; margin: 22px 0 40px; }
.biz-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.018));
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 24px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.biz-top { display: flex; gap: 18px; align-items: flex-start; flex-wrap: wrap; }
.biz-score-block { display: flex; align-items: center; gap: 16px; }
.mini-ring { width: 84px; height: 84px; flex: none; }
.biz-title h3 { font-size: 18px; letter-spacing: -0.4px; }
.biz-title .meta { font-size: 12.5px; color: var(--text-faint); }
.biz-actions { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.sparkline-block { margin-top: 14px; }
.sparkline-block .lbl { font-size: 11px; color: var(--text-faint); text-transform: uppercase; letter-spacing: 1.4px; font-weight: 700; margin-bottom: 4px; }
.sparkline { width: 100%; max-width: 320px; height: 48px; display: block; }
.biz-details { margin-top: 16px; border-top: 1px dashed var(--border-soft); padding-top: 16px; }
.detail-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.empty-state {
  text-align: center; padding: 40px 20px; color: var(--text-dim);
  border: 1px dashed var(--border); border-radius: 18px; margin-top: 20px;
}
.digest-pre {
  white-space: pre-wrap;
  background: rgba(0,0,0,0.35);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 16px;
  font-size: 13px;
  color: var(--text-dim);
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  margin-top: 12px;
  max-height: 320px;
  overflow: auto;
}

/* details/summary disclosure */
details.disclosure summary {
  cursor: pointer; list-style: none;
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--text-dim); font-size: 13.5px; font-weight: 600;
  padding: 10px 4px; min-height: 44px;
  border-radius: 8px;
}
details.disclosure summary::-webkit-details-marker { display: none; }
details.disclosure summary:hover { color: var(--text); }
details.disclosure summary .chev { transition: transform .2s; }
details.disclosure[open] summary .chev { transform: rotate(90deg); }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: 90px 20px 60px; }
.notfound .code {
  font-family: var(--font-display);
  font-size: clamp(64px, 14vw, 120px); font-weight: 800; letter-spacing: -4px;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--indigo);
  line-height: 1;
}
.notfound p { color: var(--text-dim); margin: 14px 0 26px; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .pillars { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .kpis { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .pillars { grid-template-columns: 1fr 1fr; }
  .plans { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: 1fr; max-width: 420px; }
  .detail-cols { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .brand-tag { display: none; }
}
@media (max-width: 560px) {
  .hero { padding-top: 48px; }
  .grid-2 { grid-template-columns: 1fr; }
  .card { padding: 22px 17px; }
  .pillars { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .area-row { grid-template-columns: 108px 1fr 34px; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .biz-actions { margin-left: 0; width: 100%; }
  nav.main a.nav-link { padding: 11px 9px; font-size: 13px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
}

/* ---------- pricing v2 ---------- */
.plan-tag { font-size: 13px; color: var(--text-dim); margin: 6px 0 14px; }
.addons { margin-top: 34px; }
.addons-title { font-size: 17px; letter-spacing: -0.2px; margin-bottom: 16px; }
.addons-title span { font-size: 13px; font-weight: 400; color: var(--text-dim); }
.addon-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.addon { background: var(--bg-card); border: 1px solid var(--border-soft); border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.addon-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.addon h4 { font-size: 14.5px; letter-spacing: -0.2px; }
.addon-price { font-size: 13px; font-weight: 700; color: #a5b4fc; white-space: nowrap; }
.addon p { font-size: 12.5px; color: var(--text-dim); flex: 1; }
.addon-inc { font-size: 11px; font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase; color: var(--green); }
@media (max-width: 880px) { .addon-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .addon-grid { grid-template-columns: 1fr; } }
/* ---------- fix severity ---------- */
.tag.sev-critical { background: rgba(248,113,113,0.14); color: var(--red); border: 1px solid rgba(248,113,113,0.4); font-weight: 700; }
.tag.sev-urgent { background: rgba(251,191,36,0.12); color: var(--amber); border: 1px solid rgba(251,191,36,0.4); font-weight: 700; }
.tag.sev-recommended { background: rgba(125,167,255,0.12); color: var(--blue); border: 1px solid rgba(125,167,255,0.35); font-weight: 700; }
.tag.sev-boost { background: rgba(74,222,128,0.12); color: var(--green); border: 1px solid rgba(74,222,128,0.35); font-weight: 700; }

/* ---------- pricing 3-column ---------- */
.plans-3 { grid-template-columns: 1fr 1.05fr 1.15fr; }
.addon-col { display: flex; flex-direction: column; gap: 0; }
.addon-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; padding: 10px 0; border-bottom: 1px dashed var(--border-soft); }
.addon-row:last-of-type { border-bottom: none; }
.addon-row h4 { font-size: 13.5px; letter-spacing: -0.1px; }
.addon-row p { font-size: 11.5px; color: var(--text-dim); margin-top: 2px; }
.addon-foot { margin-top: auto; padding-top: 14px; font-size: 11px; font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase; color: var(--green); }
@media (max-width: 880px) { .plans-3 { grid-template-columns: 1fr; } }

/* ---------- footer links ---------- */
.footer-links { margin: 5px 0 3px; }
.footer-links a { margin: 0 3px; text-decoration: none; }
.footer-links a:hover { color: var(--text); text-decoration: underline; }

/* ---------- trust pages (privacy/terms/contact) ---------- */
.legal-card { max-width: 760px; }
.legal-card h1 { font-size: 28px; letter-spacing: -0.7px; }
.legal-card h2 { font-size: 18px; letter-spacing: -0.3px; margin: 28px 0 6px; }
.legal-card p { color: var(--text-dim); font-size: 14.5px; margin-top: 8px; }
.legal-card strong { color: var(--text); }
.legal-note { font-style: italic; color: var(--text-faint); font-size: 13.5px; margin-top: 16px; }

/* ---------- case studies ---------- */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 34px 0 46px; }
.case-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  padding: 26px 22px;
  display: flex; flex-direction: column; gap: 8px;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.case-card:hover {
  transform: translateY(-3px);
  border-color: rgba(129,140,248,0.5);
  box-shadow: 0 14px 40px rgba(99,102,241,0.14);
}
.case-card .c-score { font-family: var(--font-display); font-size: 46px; font-weight: 800; letter-spacing: -2px; line-height: 1; }
.case-card .c-score small { font-size: 14px; font-weight: 600; letter-spacing: 0; color: var(--text-faint); }
.case-card h3 { font-size: 17px; letter-spacing: -0.3px; margin-top: 6px; }
.case-card .c-city { font-size: 12.5px; color: var(--text-faint); }
.case-card .c-hook { font-size: 13.5px; color: var(--text-dim); flex: 1; margin-top: 6px; }
.case-card .btn { margin-top: 12px; align-self: flex-start; }
@media (max-width: 880px) { .case-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; } }

.story-card h2 { letter-spacing: -0.4px; }
.story-card p { color: var(--text-dim); font-size: 15px; margin-top: 12px; }

/* ---------- admin traffic card ---------- */
.traffic-bars { display: flex; align-items: flex-end; gap: 6px; height: 130px; margin-top: 18px; }
.t-col { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 6px; min-width: 0; }
.t-bar { width: 100%; max-width: 26px; border-radius: 6px 6px 2px 2px; background: var(--grad); box-shadow: 0 0 12px rgba(99,102,241,0.3); min-height: 3px; }
.t-col span { font-size: 10px; color: var(--text-faint); }
.top-paths { list-style: none; margin-top: 10px; display: flex; flex-direction: column; }
.top-paths li { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; color: var(--text-dim); border-bottom: 1px dashed var(--border-soft); padding: 7px 0; }
.top-paths li b { color: var(--text); font-weight: 600; font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; }
.top-paths li:last-child { border-bottom: none; }

/* ---------- review responder / reply studio ---------- */
.field textarea {
  width: 100%;
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--border);
  border-radius: 11px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.55;
  padding: 12px 14px;
  min-height: 110px;
  resize: vertical;
  outline: none;
  font-family: inherit;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea:focus {
  border-color: rgba(129,140,248,0.8);
  box-shadow: 0 0 0 3px rgba(99,102,241,0.15);
}
.field textarea::placeholder { color: var(--text-faint); }
.addon-link { color: inherit; text-decoration: none; border-bottom: 1px dashed rgba(255,255,255,0.28); transition: color .15s, border-color .15s; }
.addon-link:hover { color: var(--text); border-bottom-color: var(--indigo); }
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 30px; }
@media (max-width: 768px) { .benefit-grid { grid-template-columns: 1fr; } }
.stars { color: var(--amber); letter-spacing: 2px; font-size: 13px; white-space: nowrap; }
.reply-toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 14px; }
.reply-output {
  margin-top: 16px;
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 18px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text);
  white-space: pre-wrap;
}
.reply-list { display: flex; flex-direction: column; gap: 12px; margin: 12px 0 40px; }
.reply-item {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: 16px 18px;
}
.reply-item .r-head { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 12px; color: var(--text-faint); }
.reply-item .r-head .spacer { flex: 1; }
.reply-item .r-review { font-size: 13px; color: var(--text-dim); font-style: italic; margin-top: 8px; }
.reply-item .r-reply { font-size: 14px; color: var(--text); margin-top: 8px; white-space: pre-wrap; line-height: 1.6; }
.tag.posted { color: var(--green); border-color: rgba(74,222,128,0.4); }
.tag.unposted { color: var(--amber); border-color: rgba(251,191,36,0.4); }
.plan-solo { max-width: 460px; margin: 30px auto 0; }

/* ---------- competitor watch ---------- */
.comp-rows { display: flex; flex-direction: column; gap: 12px; margin: 12px 0 22px; }
.comp-row {
  display: grid;
  grid-template-columns: minmax(170px, 1.3fr) 64px minmax(120px, 1fr) minmax(180px, 1.1fr) auto;
  gap: 18px; align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  padding: 16px 20px;
}
.comp-row.you {
  border-color: rgba(129,140,248,0.55);
  background: linear-gradient(120deg, rgba(99,102,241,0.10), rgba(56,189,248,0.05));
  box-shadow: 0 0 24px rgba(99,102,241,0.12);
}
.comp-row h3 { font-size: 15.5px; letter-spacing: -0.2px; }
.comp-row .c-meta { font-size: 12px; color: var(--text-faint); }
.comp-row .verdict { text-align: left; font-size: 12.5px; margin-top: 3px; text-shadow: none; }
.comp-row .c-score { font-family: var(--font-display); font-size: 30px; font-weight: 800; letter-spacing: -1px; text-align: center; }
.comp-row .sparkline { width: 100%; height: 38px; display: block; }
.comp-you-tag {
  display: inline-block; font-size: 10px; font-weight: 800; letter-spacing: 1.2px;
  text-transform: uppercase; color: var(--cyan);
  border: 1px solid rgba(56,189,248,0.5); border-radius: 999px;
  padding: 1px 8px; margin-left: 7px; vertical-align: 2px;
}
.mini-dims { display: flex; gap: 9px; align-items: flex-end; height: 52px; }
.mini-dim { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 4px; min-width: 0; }
.mini-dim .md-track { width: 100%; max-width: 22px; height: 36px; border-radius: 5px; background: rgba(0,0,0,0.35); border: 1px solid var(--border-soft); display: flex; align-items: flex-end; overflow: hidden; }
.mini-dim .md-fill { width: 100%; border-radius: 4px 4px 0 0; min-height: 2px; }
.mini-dim span { font-size: 9.5px; font-weight: 700; letter-spacing: 0.4px; color: var(--text-faint); }
.gap-callout {
  display: flex; gap: 14px; align-items: flex-start;
  background: linear-gradient(120deg, rgba(251,191,36,0.08), rgba(56,189,248,0.05));
  border: 1px solid rgba(251,191,36,0.35);
  border-radius: 16px;
  padding: 18px 20px;
  margin: 0 0 22px;
}
.gap-callout.ahead { border-color: rgba(74,222,128,0.4); background: linear-gradient(120deg, rgba(74,222,128,0.08), rgba(56,189,248,0.05)); }
.gap-callout .g-ico {
  width: 36px; height: 36px; flex: none; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(251,191,36,0.12); border: 1px solid rgba(251,191,36,0.4); color: var(--amber);
}
.gap-callout.ahead .g-ico { background: rgba(74,222,128,0.12); border-color: rgba(74,222,128,0.4); color: var(--green); }
.gap-callout .g-ico .icon { width: 17px; height: 17px; }
.gap-callout h4 { font-size: 14.5px; }
.gap-callout p { font-size: 13.5px; color: var(--text-dim); margin-top: 3px; }
.vs-chip { color: var(--text-faint); font-size: 12.5px; }
.vs-chip b { font-weight: 700; }
@media (max-width: 880px) {
  .comp-row { grid-template-columns: 1fr 64px; }
  .comp-row .c-spark, .comp-row .mini-dims { grid-column: 1 / -1; }
  .comp-row .c-act { grid-column: 1 / -1; justify-self: end; }
}

/* ---------- listings tracker ---------- */
.listing-table-wrap { overflow-x: auto; margin-top: 16px; }
.listing-table { width: 100%; border-collapse: collapse; min-width: 760px; }
.listing-table th {
  font-size: 11px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase;
  color: var(--text-faint); text-align: left; padding: 8px 10px;
  border-bottom: 1px solid var(--border);
}
.listing-table td { padding: 10px; border-bottom: 1px dashed var(--border-soft); vertical-align: middle; }
.listing-table tr:last-child td { border-bottom: none; }
.listing-table .lt-name { font-weight: 600; font-size: 14px; white-space: nowrap; }
.listing-table .lt-name small { display: block; font-weight: 400; font-size: 11px; color: var(--text-faint); }
.listing-table select, .listing-table input[type="text"] {
  width: 100%;
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--border);
  border-radius: 9px;
  color: var(--text);
  font-size: 13.5px;
  padding: 8px 10px;
  min-height: 38px;
  outline: none;
  font-family: inherit;
  transition: border-color .15s, box-shadow .15s;
}
.listing-table select:focus, .listing-table input:focus {
  border-color: rgba(129,140,248,0.8);
  box-shadow: 0 0 0 3px rgba(99,102,241,0.15);
}
.listing-table input::placeholder { color: var(--text-faint); }
.listing-table select { appearance: none; cursor: pointer; }
.listing-table .lt-checked { font-size: 11.5px; color: var(--text-faint); white-space: nowrap; }
.listing-table select.st-correct { color: var(--green); border-color: rgba(74,222,128,0.45); }
.listing-table select.st-wrong { color: var(--red); border-color: rgba(248,113,113,0.45); }
.listing-table select.st-missing { color: var(--amber); border-color: rgba(251,191,36,0.45); }
.listing-table select.st-not-applicable { color: var(--text-faint); }
.consistency-grid { display: grid; grid-template-columns: 280px 1fr; gap: 26px; align-items: center; }
@media (max-width: 880px) { .consistency-grid { grid-template-columns: 1fr; } }
.consistency-counts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.cap-note { font-size: 12.5px; color: var(--amber); margin-top: 10px; }

/* ---------- content pack: tabs, artifacts, FAQ rows ---------- */
.tab-row { display: flex; flex-wrap: wrap; gap: 8px; border-bottom: 1px solid var(--border-soft); padding-bottom: 10px; }
.tab-btn {
  background: var(--bg-card); color: var(--text-dim);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px; font-weight: 600; font-family: inherit;
  padding: 9px 16px; min-height: 40px;
  cursor: pointer;
  transition: color .15s, border-color .15s, background .15s;
}
.tab-btn:hover { color: var(--text); }
.tab-btn.active {
  color: var(--text);
  border-color: rgba(129,140,248,0.7);
  background: rgba(99,102,241,0.14);
}
.artifact-pre {
  white-space: pre-wrap;
  word-break: break-word;
  background: rgba(0,0,0,0.35);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 16px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--text-dim);
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  margin-top: 10px;
  max-height: 420px;
  overflow: auto;
}
.faq-row { display: grid; grid-template-columns: 1fr 1.4fr auto; gap: 10px; margin-bottom: 10px; align-items: center; }
.faq-row input[type="text"] {
  width: 100%;
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-size: 14px;
  padding: 10px 12px;
  min-height: 42px;
  outline: none;
  font-family: inherit;
  transition: border-color .15s, box-shadow .15s;
}
.faq-row input:focus { border-color: rgba(129,140,248,0.8); box-shadow: 0 0 0 3px rgba(99,102,241,0.15); }
.faq-row input::placeholder { color: var(--text-faint); }
@media (max-width: 560px) { .faq-row { grid-template-columns: 1fr; } .faq-row .btn { justify-self: end; } }

/* ---------- review booster kit ---------- */
.qr-card-stage { display: flex; justify-content: center; margin-top: 18px; }
.qr-card {
  /* 3.5in x 2in counter card, previewed at 100px/in */
  width: 350px; height: 200px;
  background: #ffffff; color: #0f172a;
  border: 1px solid #cbd5e1; border-radius: 10px;
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px;
  box-shadow: 0 14px 40px rgba(0,0,0,0.45);
}
.qr-card .qc-text { flex: 1; min-width: 0; }
.qr-card .qc-name { font-family: var(--font-display); font-weight: 800; font-size: 16px; letter-spacing: -0.3px; line-height: 1.25; color: #0f172a; }
.qr-card .qc-ask { font-size: 13px; color: #334155; margin-top: 8px; line-height: 1.4; }
.qr-card .qc-hint { font-size: 10px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: #64748b; margin-top: 10px; }
.qr-card .qc-qr { flex: none; width: 132px; text-align: center; }
.qr-card .qc-qr img { width: 132px; height: 132px; display: block; }
.qr-card .qc-fallback { font-size: 10.5px; color: #1d4ed8; word-break: break-all; display: block; }
.template-item { border: 1px solid var(--border-soft); background: var(--bg-card); border-radius: 14px; padding: 16px 18px; margin-bottom: 12px; }
.template-item .t-head { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.template-item .t-head h3 { font-size: 14.5px; letter-spacing: -0.2px; }
.template-item .t-head .spacer { flex: 1; }

/* ---------- dashboard tools row ---------- */
.biz-tools { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.biz-tools .btn { padding: 7px 12px; font-size: 12.5px; min-height: 38px; border-radius: 9px; }

/* ============================================================
   Print: scorecards + QR card sheets.
   The app is dark-themed; printing flips to white background and
   dark text, hides every screen element (header.site nav, forms,
   .btn buttons, CTAs, footer) and shows ONLY the .print-area
   that the "Print scorecard" / "Print card" buttons fill in.
   ============================================================ */
.print-area { display: none; }
@media print {
  @page { margin: 0.45in; }
  body { background: #fff !important; color: #0f172a !important; display: block; }
  body::before, body::after { display: none !important; }
  header.site, footer.site, main, nav.main, form, .btn, .btn-cta, .btn-primary, .actions, .cta-band, .upgrade-banner { display: none !important; }
  .print-area {
    display: block !important;
    --text: #0f172a; --text-dim: #334155; --text-faint: #64748b;
    --border: #cbd5e1; --border-soft: #e2e8f0;
    --green: #15803d; --amber: #b45309; --red: #b91c1c;
    color: #0f172a;
    font-family: var(--font-body);
  }

  /* --- printable scorecard --- */
  .print-card { max-width: 6.6in; margin: 0 auto; border: 1.5px solid #cbd5e1; border-radius: 14px; padding: 0.32in 0.38in; }
  .print-card .pc-head { display: flex; align-items: center; gap: 10px; font-size: 12px; color: #64748b; font-weight: 600; }
  .print-card .pc-head .pc-brand { font-family: var(--font-display); font-weight: 800; font-size: 14px; color: #0f172a; }
  .print-card .pc-head .pc-date { margin-left: auto; }
  .print-card .pc-name { font-family: var(--font-display); font-size: 24px; font-weight: 800; letter-spacing: -0.5px; text-align: center; margin-top: 14px; }
  .print-card .pc-meta { text-align: center; font-size: 12px; color: #64748b; margin-top: 2px; }
  .print-card .pc-ring { display: flex; justify-content: center; margin: 12px 0 4px; }
  .print-card .pc-ring svg { width: 1.9in; height: auto; }
  .print-card .pc-ring .ring-track { stroke: #e2e8f0; }
  .print-card .pc-ring .ring-num { fill: #0f172a; }
  .print-card .pc-ring .ring-sub { fill: #64748b; }
  .print-card .pc-verdict { text-align: center; font-family: var(--font-display); font-size: 17px; font-weight: 700; }
  .print-card .pc-section { font-size: 10px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: #64748b; margin: 16px 0 8px; }
  .print-card .pc-dim { display: grid; grid-template-columns: 1.45in 1fr 0.4in; gap: 10px; align-items: center; margin-bottom: 7px; }
  .print-card .pc-dim .d-name { font-size: 11.5px; font-weight: 600; color: #334155; }
  .print-card .pc-dim .d-track { background: #f1f5f9; border: 1px solid #e2e8f0; border-radius: 99px; height: 8px; overflow: hidden; }
  .print-card .pc-dim .d-fill { height: 100%; border-radius: 99px; }
  .print-card .pc-dim .d-val { font-size: 12px; font-weight: 700; text-align: right; }
  .print-card .pc-chips { display: flex; flex-wrap: wrap; gap: 6px; }
  .print-card .pc-chip { border: 1px solid #cbd5e1; border-radius: 999px; padding: 3px 11px; font-size: 11px; font-weight: 600; color: #334155; }
  .print-card .pc-chip b { font-family: var(--font-display); font-weight: 800; margin-left: 5px; }
  .print-card .pc-foot { margin-top: 18px; padding-top: 10px; border-top: 1px dashed #cbd5e1; font-size: 10.5px; color: #64748b; text-align: center; }

  /* --- QR counter card sheet: 8 copies, 2x4, for cutting --- */
  .print-qr-sheet { display: grid; grid-template-columns: repeat(2, 3.5in); justify-content: center; gap: 0.12in; }
  .print-qr-sheet .qr-card {
    width: 3.5in; height: 2in;
    border: 1px dashed #94a3b8; border-radius: 8px;
    box-shadow: none;
    break-inside: avoid; page-break-inside: avoid;
    padding: 0.14in 0.16in; gap: 0.12in;
  }
  .print-qr-sheet .qr-card .qc-qr, .print-qr-sheet .qr-card .qc-qr img { width: 1.25in; }
  .print-qr-sheet .qr-card .qc-qr img { height: 1.25in; }
}

/* ---------- mobile polish ---------- */
@media (max-width: 640px) {
   .wrap, .wrap-wide { padding: 0 18px; }
   header.site { padding: 8px 0; }
   .nav-row { gap: 10px; }
   nav.main { flex-wrap: nowrap; overflow-x: auto; gap: 2px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
   nav.main::-webkit-scrollbar { display: none; }
   nav.main a.nav-link { padding: 10px 9px; font-size: 13px; white-space: nowrap; }
   .hero { padding: 38px 0 22px; }
   .hero p.sub { margin-top: 14px; }
   .hero-actions { margin-top: 24px; gap: 10px; }
   .hero-actions .btn { width: 100%; }
   .section { padding: 40px 0 6px; }
   .section-sub { margin-top: 8px; }
   .stat-strip { margin-top: 30px; gap: 12px; }
   .card { margin: 20px auto; padding: 22px 18px; border-radius: 18px; }
   .actions { gap: 10px; }
   .actions .btn { width: 100%; }
   .btn { min-height: 46px; }
}
