/* ───────── The Body Report — design system ───────── */
:root {
  --bg: #f8f7f3;
  --bg-2: #f0eee8;
  --surface: #ffffff;
  --ink: #0e1412;
  --ink-2: #33403a;
  --muted: #66716b;
  --line: #e4e1d9;
  --line-2: #d3cfc4;
  --brand: #0f3d2e;
  --brand-2: #157a5a;
  --accent: #c2f542;
  --accent-2: #a6e01f;
  --accent-ink: #0e1412;
  --good: #14804a;
  --good-bg: #e2f5ea;
  --ok: #4a6b8a;
  --ok-bg: #e6eef6;
  --warn: #a15c07;
  --warn-bg: #fdf0d8;
  --bad: #b42323;
  --bad-bg: #fbe4e2;
  --info: #3b4fc0;
  --info-bg: #e8eafb;
  --shadow: 0 1px 2px rgba(14, 20, 18, 0.05), 0 8px 24px rgba(14, 20, 18, 0.06);
  --shadow-lg: 0 2px 4px rgba(14, 20, 18, 0.05), 0 24px 60px rgba(14, 20, 18, 0.12);
  --radius: 18px;
  --radius-sm: 12px;
  --font: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --maxw: 1180px;
  --chart-1: #157a5a;
  --chart-2: #3b4fc0;
  --chart-3: #d98a1a;
  --chart-4: #c2410c;
  --chart-grid: #e8e5dc;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --bg: #0c1110;
    --bg-2: #121917;
    --surface: #151c1a;
    --ink: #f1f4ef;
    --ink-2: #c4cdc6;
    --muted: #93a099;
    --line: #26302c;
    --line-2: #34413b;
    --brand: #7fe0b6;
    --brand-2: #4ad39b;
    --good: #58d68d;
    --good-bg: #12301f;
    --ok: #8fb4d9;
    --ok-bg: #16283a;
    --warn: #f2b45a;
    --warn-bg: #3a2a10;
    --bad: #ff8b85;
    --bad-bg: #3d1a19;
    --info: #9aa8ff;
    --info-bg: #1d2350;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 24px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.5);
    --chart-1: #4ad39b;
    --chart-2: #9aa8ff;
    --chart-3: #f2b45a;
    --chart-4: #ff9a6b;
    --chart-grid: #26302c;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.5em; font-weight: 750; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); letter-spacing: -0.035em; font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
a { color: var(--brand-2); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { max-width: 100%; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 2px; border-radius: 6px; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.center { text-align: center; }
.mono { font-family: var(--mono); }
.stack > * + * { margin-top: 1rem; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.spacer { flex: 1; }
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .g3, .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .g2, .g3, .g4 { grid-template-columns: minmax(0, 1fr); } }

/* announcement */
.announce { background: var(--ink); color: var(--bg); font-size: 0.86rem; text-align: center; padding: 8px 16px; }
.announce a { color: var(--accent); font-weight: 650; }

/* header */
.header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; gap: 22px; height: 66px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; letter-spacing: -0.03em; font-size: 1.12rem; }
.logo:hover { text-decoration: none; }
.logo-mark { width: 32px; height: 32px; border-radius: 10px; background: var(--ink); display: grid; place-items: center; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: 10px; }
.nav > a, .nav > .dd > summary { padding: 8px 12px; border-radius: 10px; color: var(--ink-2); font-weight: 560; font-size: 0.95rem; cursor: pointer; list-style: none; }
.nav > a:hover, .nav > .dd > summary:hover { background: var(--bg-2); text-decoration: none; }
.nav > .dd > summary::-webkit-details-marker { display: none; }
.dd { position: relative; }
.dd-panel { position: absolute; top: 46px; left: -20px; width: 720px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 18px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px 14px; }
.dd-panel h4 { grid-column: 1 / -1; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin: 6px 0 2px; }
.dd-panel a { display: block; padding: 7px 10px; border-radius: 9px; color: var(--ink); font-size: 0.92rem; font-weight: 560; }
.dd-panel a small { display: block; color: var(--muted); font-weight: 450; font-size: 0.78rem; line-height: 1.3; }
.dd-panel a:hover { background: var(--bg-2); text-decoration: none; }
.header-cta { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.burger { display: none; margin-left: auto; background: none; border: 1px solid var(--line-2); border-radius: 10px; padding: 8px 10px; color: var(--ink); }
.mobile-menu { display: none; }
@media (max-width: 960px) {
  .nav, .header-cta { display: none; }
  .burger { display: block; }
  .mobile-menu[data-open='true'] { display: block; border-top: 1px solid var(--line); background: var(--bg); padding: 12px 20px 22px; max-height: calc(100vh - 66px); overflow: auto; }
  .mobile-menu a { display: block; padding: 10px 4px; color: var(--ink); font-weight: 600; border-bottom: 1px solid var(--line); }
  .mobile-menu h4 { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin: 18px 0 4px; }
}

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 12px; font-weight: 680; font-size: 0.98rem; border: 1px solid transparent; transition: transform 0.12s, box-shadow 0.12s, background 0.12s; text-decoration: none !important; line-height: 1.2; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { box-shadow: 0 6px 18px rgba(14, 20, 18, 0.25); }
.btn-accent { background: var(--accent); color: var(--accent-ink); box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.12); }
.btn-accent:hover { background: var(--accent-2); box-shadow: 0 8px 22px rgba(166, 224, 31, 0.4); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--bg-2); }
.btn-sm { padding: 8px 14px; font-size: 0.88rem; border-radius: 10px; }
.btn-lg { padding: 16px 26px; font-size: 1.05rem; border-radius: 14px; }
.btn[disabled], .btn[aria-disabled='true'] { opacity: 0.5; pointer-events: none; }
.btn-danger { background: var(--bad); color: #fff; }

/* cards */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.card-flat { box-shadow: none; }
.card h3 { margin-bottom: 0.35em; }
.card-link { display: block; color: inherit; transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s; }
.card-link:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--line-2); text-decoration: none; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 0.78rem; font-weight: 750; text-transform: uppercase; letter-spacing: 0.12em; color: var(--brand-2); }
.eyebrow::before { content: ''; width: 18px; height: 2px; background: var(--accent-2); border-radius: 2px; }
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; font-size: 0.74rem; font-weight: 700; background: var(--bg-2); color: var(--ink-2); border: 1px solid var(--line); white-space: nowrap; }
.badge-good { background: var(--good-bg); color: var(--good); border-color: transparent; }
.badge-ok { background: var(--ok-bg); color: var(--ok); border-color: transparent; }
.badge-warn { background: var(--warn-bg); color: var(--warn); border-color: transparent; }
.badge-bad { background: var(--bad-bg); color: var(--bad); border-color: transparent; }
.badge-info { background: var(--info-bg); color: var(--info); border-color: transparent; }
.badge-accent { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.chip { display: inline-flex; padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 0.85rem; font-weight: 600; color: var(--ink-2); }

/* sections */
.section { padding: 84px 0; }
.section-tight { padding: 56px 0; }
.section-alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.section-dark { background: var(--ink); color: var(--bg); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .muted { color: #a5b0aa; }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head.center { margin-inline: auto; }
.lead { font-size: 1.18rem; color: var(--ink-2); line-height: 1.55; }

/* hero */
.hero { padding: 64px 0 40px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 40px; align-items: center; }
.hero h1 em { font-style: normal; background: linear-gradient(transparent 62%, var(--accent) 62%); padding: 0 4px; margin: 0 -4px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0 22px; }
.hero-points { display: flex; gap: 20px; flex-wrap: wrap; color: var(--ink-2); font-size: 0.92rem; font-weight: 560; }
.hero-points span { display: inline-flex; align-items: center; gap: 6px; }
.hero-art { position: relative; aspect-ratio: 1 / 1.08; max-width: 470px; margin-inline: auto; width: 100%; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .hero-art { max-width: 380px; } .section { padding: 60px 0; } }
.float-chip { position: absolute; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 9px 13px; box-shadow: var(--shadow-lg); font-size: 0.8rem; line-height: 1.25; }
.float-chip b { display: block; font-size: 1.15rem; letter-spacing: -0.02em; }
.float-chip span { color: var(--muted); font-weight: 600; }

/* trust strip */
.strip { display: flex; gap: 10px 30px; flex-wrap: wrap; justify-content: center; padding: 18px 0; color: var(--ink-2); font-weight: 600; font-size: 0.92rem; border-block: 1px solid var(--line); background: var(--surface); }
.strip span { display: inline-flex; gap: 8px; align-items: center; }

/* steps */
.step-n { width: 38px; height: 38px; border-radius: 12px; background: var(--ink); color: var(--accent); display: grid; place-items: center; font-weight: 800; margin-bottom: 14px; }

/* tool cards */
.tool-card { display: flex; flex-direction: column; gap: 6px; padding: 20px; height: 100%; }
.tool-ico { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--bg-2); color: var(--brand); margin-bottom: 8px; border: 1px solid var(--line); }
.tool-card h3 { font-size: 1.05rem; margin: 0; }
.tool-card p { margin: 0; color: var(--muted); font-size: 0.9rem; line-height: 1.45; }
.tool-card .badge { align-self: flex-start; margin-bottom: 4px; }
.tool-groups h2 { margin-top: 44px; font-size: 1.5rem; }

/* guide cards */
.guide-card { display: flex; flex-direction: column; height: 100%; padding: 0; overflow: hidden; }
.guide-cover { aspect-ratio: 16 / 8; display: grid; place-items: center; position: relative; overflow: hidden; }
.guide-cover .cat { position: absolute; left: 14px; bottom: 12px; }
.guide-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.guide-body h3 { font-size: 1.08rem; margin: 0; }
.guide-body p { margin: 0; color: var(--muted); font-size: 0.9rem; line-height: 1.45; }
.guide-meta { margin-top: auto; padding-top: 10px; font-size: 0.8rem; color: var(--muted); }
.accent-lime { background: linear-gradient(135deg, #e8fbb0, #c2f542); color: #26430b; }
.accent-mint { background: linear-gradient(135deg, #d5f7e8, #7fe0b6); color: #0b4632; }
.accent-sky { background: linear-gradient(135deg, #dbe7ff, #9db8ff); color: #1c2f7a; }
.accent-sand { background: linear-gradient(135deg, #f7ecd2, #e8c98a); color: #5a3d0a; }
.accent-rose { background: linear-gradient(135deg, #ffe0e0, #f7a5a5); color: #6b1a1a; }
.accent-violet { background: linear-gradient(135deg, #ece1ff, #b79cf5); color: #35156b; }
.accent-ink { background: linear-gradient(135deg, #2b3a34, #0e1412); color: #c2f542; }

/* prose (guides / legal) */
.prose { font-size: 1.06rem; line-height: 1.75; color: var(--ink-2); }
.prose h2 { font-size: 1.7rem; margin-top: 2.2em; color: var(--ink); scroll-margin-top: 90px; }
.prose h3 { font-size: 1.24rem; margin-top: 1.8em; color: var(--ink); }
.prose p, .prose ul, .prose ol, .prose table, .prose blockquote { margin: 0 0 1.15em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: 0.4em; }
.prose strong { color: var(--ink); }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.95rem; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--bg-2); color: var(--ink); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; white-space: nowrap; }
.prose blockquote { border-left: 4px solid var(--accent-2); background: var(--surface); padding: 14px 18px; border-radius: 0 12px 12px 0; color: var(--ink); }
.prose blockquote p:last-child { margin: 0; }
.prose code { font-family: var(--mono); background: var(--bg-2); padding: 2px 6px; border-radius: 6px; font-size: 0.9em; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.tool-cta { display: flex; gap: 16px; align-items: center; padding: 18px 20px; background: var(--ink); color: var(--bg); border-radius: var(--radius); margin: 1.6em 0; }
.tool-cta strong { color: #fff; display: block; font-size: 1.05rem; }
.tool-cta span { color: #a9b5af; font-size: 0.92rem; line-height: 1.4; display: block; }
.tool-cta .btn { margin-left: auto; flex-shrink: 0; }
@media (max-width: 620px) { .tool-cta { flex-direction: column; align-items: flex-start; } .tool-cta .btn { margin-left: 0; } }
.toc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; font-size: 0.92rem; }
.toc ol { margin: 8px 0 0; padding-left: 1.2em; }
.toc a { color: var(--ink-2); }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: start; }
.aside-sticky { position: sticky; top: 88px; display: grid; gap: 16px; }
@media (max-width: 980px) { .article-layout { grid-template-columns: minmax(0, 1fr); } .aside-sticky { position: static; } }
.crumbs { font-size: 0.86rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }

/* FAQ */
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 10px; }
.faq summary { padding: 16px 20px; font-weight: 680; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.4rem; line-height: 1; color: var(--brand-2); transition: transform 0.15s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 20px 18px; color: var(--ink-2); }

/* forms & calculators */
.tool-panel { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 28px; box-shadow: var(--shadow-lg); }
.tool-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 28px; align-items: start; }
@media (max-width: 900px) { .tool-layout { grid-template-columns: minmax(0, 1fr); } .tool-panel { padding: 20px; } }
.field { display: grid; gap: 6px; margin-bottom: 14px; align-content: start; }
.field > .segmented { justify-self: start; }
.field > label, .label { font-weight: 650; font-size: 0.88rem; color: var(--ink); }
.field .hint { font-size: 0.8rem; color: var(--muted); }
.input, select.input, textarea.input { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line-2); border-radius: 12px; background: var(--bg); color: var(--ink); font: inherit; transition: border-color 0.12s, box-shadow 0.12s; }
.input:focus { outline: none; border-color: var(--brand-2); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 45%, transparent); }
textarea.input { min-height: 120px; resize: vertical; }
.input-group { display: flex; align-items: stretch; }
.input-group .input { border-radius: 12px 0 0 12px; min-width: 0; }
.input-group .suffix { padding: 0 14px; display: grid; place-items: center; background: var(--bg-2); border: 1.5px solid var(--line-2); border-left: 0; border-radius: 0 12px 12px 0; color: var(--muted); font-weight: 650; font-size: 0.88rem; }
.input-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.segmented { display: inline-flex; background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 3px; gap: 2px; flex-wrap: wrap; }
.segmented button { border: 0; background: transparent; padding: 8px 16px; border-radius: 9px; font-weight: 650; color: var(--ink-2); font-size: 0.9rem; }
.segmented button[aria-pressed='true'] { background: var(--ink); color: var(--bg); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }
.checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9rem; color: var(--ink-2); }
.checkbox input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--brand-2); }
.form-error { background: var(--bad-bg); color: var(--bad); border-radius: 10px; padding: 10px 14px; font-size: 0.9rem; font-weight: 600; }
.form-ok { background: var(--good-bg); color: var(--good); border-radius: 10px; padding: 10px 14px; font-size: 0.9rem; font-weight: 600; }

/* results */
.result { background: var(--ink); color: var(--bg); border-radius: 22px; padding: 26px; position: relative; overflow: hidden; }
.result h3 { color: #fff; }
.result .big { font-size: clamp(2.6rem, 6vw, 4rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: var(--accent); }
.result .big small { font-size: 0.4em; color: #a5b0aa; font-weight: 650; letter-spacing: 0; margin-left: 6px; }
.result .muted { color: #a5b0aa; }
.result .badge { background: rgba(255, 255, 255, 0.1); color: #fff; }
.result .badge-good { background: #14804a; }
.result .badge-warn { background: #a15c07; }
.result .badge-bad { background: #b42323; }
.result .badge-ok { background: #3a5570; }
.result .badge-info { background: #3b4fc0; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; margin-top: 18px; }
.stat { background: rgba(255, 255, 255, 0.07); border-radius: 14px; padding: 12px 14px; }
.stat b { display: block; font-size: 1.3rem; letter-spacing: -0.02em; color: #fff; }
.stat span { font-size: 0.78rem; color: #a5b0aa; font-weight: 600; }
.stat-light { background: var(--bg-2); }
.stat-light b { color: var(--ink); }
.stat-light span { color: var(--muted); }
.rangebar { position: relative; height: 12px; border-radius: 999px; background: var(--bg-2); margin: 26px 0 10px; display: flex; overflow: visible; }
.rangebar i { display: block; height: 100%; }
.rangebar i:first-child { border-radius: 999px 0 0 999px; }
.rangebar i:last-child { border-radius: 0 999px 999px 0; }
.rangebar .pin { position: absolute; top: -8px; width: 4px; height: 28px; background: var(--ink); border-radius: 3px; transform: translateX(-50%); box-shadow: 0 0 0 3px var(--surface); }
.result .rangebar .pin { background: #fff; box-shadow: 0 0 0 3px var(--ink); }
.rangebar .pin span { position: absolute; top: -22px; left: 50%; transform: translateX(-50%); font-size: 0.72rem; font-weight: 750; white-space: nowrap; }
.rb-labels { display: flex; justify-content: space-between; font-size: 0.72rem; color: var(--muted); font-weight: 600; }
.meter { height: 8px; border-radius: 99px; background: var(--bg-2); overflow: hidden; }
.meter > i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--brand-2), var(--accent-2)); }
.result .meter { background: rgba(255, 255, 255, 0.14); }
.data-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.data-table th, .data-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.data-table th { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); font-weight: 750; white-space: nowrap; }
.data-table tr:hover td { background: color-mix(in srgb, var(--bg-2) 60%, transparent); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); }
.callout { padding: 14px 18px; border-radius: 14px; background: var(--info-bg); color: var(--ink); border: 1px solid color-mix(in srgb, var(--info) 25%, transparent); font-size: 0.92rem; }
.callout-warn { background: var(--warn-bg); border-color: color-mix(in srgb, var(--warn) 30%, transparent); }
.callout strong { display: block; margin-bottom: 2px; }

/* scanner */
.scan-drop { border: 2px dashed var(--line-2); border-radius: 20px; padding: 34px 20px; text-align: center; background: var(--bg); transition: border-color 0.15s, background 0.15s; }
.scan-drop:hover, .scan-drop[data-over='true'] { border-color: var(--brand-2); background: color-mix(in srgb, var(--accent) 12%, var(--bg)); }
.scan-stage { position: relative; width: 100%; max-width: 560px; margin: 0 auto; border-radius: 16px; overflow: hidden; background: #111; touch-action: none; user-select: none; -webkit-user-select: none; }
.scan-stage img { display: block; width: 100%; height: auto; pointer-events: none; }
.scan-stage svg.overlay { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.handle { position: absolute; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: var(--accent); border: 2.5px solid #0e1412; box-shadow: 0 0 0 2px #fff, 0 2px 8px rgba(0, 0, 0, 0.5); cursor: grab; touch-action: none; z-index: 2; }
.handle[data-sel='true'] { transform: scale(1.35); background: #fff; z-index: 3; }
.handle[data-touched='true'] { background: #7fe0b6; }
.handle .lbl { position: absolute; left: 26px; top: -4px; background: rgba(14, 20, 18, 0.88); color: #fff; font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 6px; white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity 0.1s; }
.handle[data-sel='true'] .lbl, .handle:hover .lbl { opacity: 1; }
.scan-scan-line { position: absolute; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--accent), transparent); box-shadow: 0 0 20px var(--accent); animation: scan 1.6s ease-in-out infinite alternate; z-index: 4; }
@keyframes scan { from { top: 4%; } to { top: 96%; } }
.wizard-steps { display: flex; gap: 8px; margin-bottom: 22px; flex-wrap: wrap; }
.wizard-steps span { padding: 6px 14px; border-radius: 99px; font-size: 0.82rem; font-weight: 700; background: var(--bg-2); color: var(--muted); border: 1px solid var(--line); }
.wizard-steps span[data-on='true'] { background: var(--ink); color: var(--accent); border-color: var(--ink); }
.wizard-steps span[data-done='true'] { background: var(--good-bg); color: var(--good); border-color: transparent; }

/* pricing */
.price-card { position: relative; border-radius: 26px; padding: 32px; background: var(--ink); color: var(--bg); box-shadow: var(--shadow-lg); }
.price-card h3 { color: #fff; }
.price-amt { font-size: 4rem; font-weight: 800; letter-spacing: -0.05em; line-height: 1; color: var(--accent); }
.price-amt small { font-size: 1rem; color: #a5b0aa; letter-spacing: 0; font-weight: 600; }
.checklist { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 9px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; }
.checklist svg { flex-shrink: 0; margin-top: 3px; color: var(--accent-2); }
.price-card .checklist svg { color: var(--accent); }
.pack { text-align: center; }
.pack .amt { font-size: 2rem; font-weight: 800; letter-spacing: -0.03em; }
.locked { position: relative; }
.locked::after { content: ''; position: absolute; inset: 0; backdrop-filter: blur(7px); background: color-mix(in srgb, var(--surface) 60%, transparent); border-radius: inherit; }
.locked-badge { position: absolute; z-index: 2; top: 50%; left: 50%; transform: translate(-50%, -50%); }

/* report */
.report-hero { background: var(--ink); color: var(--bg); border-radius: 28px; padding: 34px; display: grid; grid-template-columns: auto 1fr; gap: 34px; align-items: center; }
@media (max-width: 720px) { .report-hero { grid-template-columns: 1fr; padding: 24px; } }
.score-ring { position: relative; width: 190px; height: 190px; }
.score-ring b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 3.6rem; letter-spacing: -0.05em; color: #fff; }
.report-section { margin-top: 48px; }
.report-section > h2 { font-size: 1.7rem; display: flex; align-items: center; gap: 12px; }
.report-section > h2 .num { width: 34px; height: 34px; border-radius: 10px; background: var(--ink); color: var(--accent); display: grid; place-items: center; font-size: 0.95rem; }
.plan-item { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.plan-rank { width: 44px; height: 44px; border-radius: 13px; background: var(--accent); color: var(--accent-ink); font-weight: 850; display: grid; place-items: center; font-size: 1.15rem; }
.plan-tags { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0; }
@media print {
  .header, .footer, .announce, .no-print, .cookie { display: none !important; }
  body { background: #fff; }
  .report-hero, .result, .price-card { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .card { box-shadow: none; break-inside: avoid; }
}

/* footer */
.footer { background: var(--ink); color: #b7c1bb; padding: 64px 0 30px; margin-top: 0; }
.footer a { color: #b7c1bb; font-size: 0.92rem; }
.footer a:hover { color: #fff; text-decoration: none; }
.footer h4 { color: #fff; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 12px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 36px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid #26302c; font-size: 0.82rem; display: flex; gap: 12px; justify-content: space-between; flex-wrap: wrap; }
.footer .logo { color: #fff; }
.footer .logo-mark { background: var(--accent); }

/* auth */
.auth-card { max-width: 440px; margin: 60px auto; }

/* toast */
.toast { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 12px; z-index: 100; font-weight: 600; box-shadow: var(--shadow-lg); }

/* ───────── admin ───────── */
.admin { display: grid; grid-template-columns: 250px minmax(0, 1fr); min-height: 100vh; background: var(--bg); }
.admin-side { background: #0f1713; color: #b7c1bb; padding: 20px 14px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.admin-side .logo { color: #fff; padding: 4px 10px 18px; }
.admin-side .logo-mark { background: var(--accent); }
.admin-side h5 { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.12em; color: #6f7c75; margin: 18px 10px 6px; }
.admin-side a { display: flex; align-items: center; gap: 10px; padding: 7px 12px; border-radius: 10px; color: #b7c1bb; font-weight: 600; font-size: 0.92rem; }
.admin-side a:hover { background: #1c2622; color: #fff; text-decoration: none; }
.admin-side a[aria-current='page'] { background: var(--accent); color: var(--accent-ink); }
.admin-main { padding: 28px 34px 60px; min-width: 0; }
.admin-top { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; flex-wrap: wrap; }
.admin-top h1 { font-size: 1.8rem; margin: 0; letter-spacing: -0.03em; }
@media (max-width: 900px) { .admin { grid-template-columns: minmax(0, 1fr); } .admin-side { position: static; height: auto; display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 4px; padding: 10px; } .admin-side a { white-space: nowrap; } .admin-side nav { display: flex; gap: 4px; } .admin-side nav > div { display: contents; } .admin-side > div:last-child { display: none; } .admin-side .logo { padding: 4px 10px; white-space: nowrap; } .admin-side h5 { display: none; } .admin-main { padding: 20px; } }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-bottom: 22px; }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; box-shadow: var(--shadow); }
.kpi span.l { font-size: 0.78rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.07em; }
.kpi b { display: block; font-size: 1.9rem; letter-spacing: -0.04em; margin: 4px 0 2px; }
.kpi .delta { font-size: 0.8rem; font-weight: 700; }
.delta-up { color: var(--good); }
.delta-down { color: var(--bad); }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; box-shadow: var(--shadow); }
.panel h3 { font-size: 1rem; margin: 0 0 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.panel h3 small { font-weight: 600; color: var(--muted); font-size: 0.78rem; }
.admin-grid > * { min-width: 0; }
.admin-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; margin-bottom: 16px; }
.c12 { grid-column: span 12; } .c8 { grid-column: span 8; } .c6 { grid-column: span 6; } .c7 { grid-column: span 7; } .c5 { grid-column: span 5; } .c4 { grid-column: span 4; } .c3 { grid-column: span 3; }
@media (max-width: 1100px) { .c8, .c7, .c6, .c5, .c4, .c3 { grid-column: span 12; } }
.bars { display: grid; gap: 9px; }
.bar-row { display: grid; grid-template-columns: minmax(80px, 1.2fr) 2fr auto; gap: 10px; align-items: center; font-size: 0.86rem; }
.bar-row .name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.bar-row .track { height: 9px; background: var(--bg-2); border-radius: 99px; overflow: hidden; }
.bar-row .track i { display: block; height: 100%; background: var(--chart-1); border-radius: 99px; }
.bar-row .val { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--ink-2); }
.funnel { display: grid; gap: 8px; }
.funnel-step { position: relative; padding: 12px 16px; border-radius: 12px; background: var(--bg-2); overflow: hidden; display: flex; justify-content: space-between; font-weight: 650; font-size: 0.9rem; }
.funnel-step i { position: absolute; inset: 0 auto 0 0; background: color-mix(in srgb, var(--chart-1) 28%, transparent); }
.funnel-step > span { position: relative; }
.legend { display: flex; gap: 16px; font-size: 0.8rem; color: var(--muted); font-weight: 600; margin-top: 6px; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.chart-svg text { font-family: var(--font); fill: var(--muted); font-size: 11px; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; align-items: center; }
.pill-link { padding: 6px 14px; border-radius: 99px; border: 1px solid var(--line-2); color: var(--ink-2); font-weight: 650; font-size: 0.85rem; }
.pill-link[aria-current='true'] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.pill-link:hover { text-decoration: none; background: var(--bg-2); }
.pill-link[aria-current='true']:hover { background: var(--ink); }
.status-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 7px; }
.dot-on { background: var(--good); } .dot-off { background: var(--line-2); }
.md-editor { font-family: var(--mono); font-size: 0.88rem; min-height: 460px; line-height: 1.5; }
.inline-form { display: inline; }

/* ───────── admin data-viz (palette validated with the dataviz validator, light + dark) ───────── */
:root { --viz-1: #2a78d6; --viz-2: #eb6834; --viz-o1: #86b6ef; --viz-o2: #5598e7; --viz-o3: #2a78d6; --viz-o4: #1c5cab; --viz-o5: #104281; --viz-grid: #e8e5dc; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) { --viz-1: #3987e5; --viz-2: #d95926; --viz-o1: #9ec5f4; --viz-o2: #6da7ec; --viz-o3: #3987e5; --viz-o4: #256abf; --viz-o5: #184f95; --viz-grid: #26302c; }
}
:root[data-theme='dark'] { --viz-1: #3987e5; --viz-2: #d95926; --viz-o1: #9ec5f4; --viz-o2: #6da7ec; --viz-o3: #3987e5; --viz-o4: #256abf; --viz-o5: #184f95; --viz-grid: #26302c; }
.viz { position: relative; }
.viz svg { display: block; width: 100%; height: auto; overflow: visible; }
.viz .grid-line { stroke: var(--viz-grid); stroke-width: 1; }
.viz .axis-t { fill: var(--muted); font-size: 11px; font-family: var(--font); }
.viz .end-label { fill: var(--ink-2); font-size: 12px; font-weight: 650; font-family: var(--font); }
.viz-tip { position: absolute; z-index: 5; pointer-events: none; background: var(--surface); border: 1px solid var(--line-2); border-radius: 10px; padding: 9px 12px; box-shadow: var(--shadow-lg); font-size: 0.8rem; min-width: 140px; transform: translate(-50%, -100%); margin-top: -10px; }
.viz-tip .d { color: var(--muted); font-weight: 600; font-size: 0.74rem; margin-bottom: 4px; }
.viz-tip .r { display: flex; align-items: center; gap: 8px; justify-content: space-between; }
.viz-tip .r b { font-variant-numeric: tabular-nums; font-size: 0.95rem; color: var(--ink); }
.viz-tip .r span { color: var(--ink-2); display: inline-flex; align-items: center; gap: 7px; }
.viz-tip .key { width: 12px; height: 2px; border-radius: 2px; display: inline-block; }
.viz-legend { display: flex; gap: 18px; font-size: 0.82rem; color: var(--ink-2); font-weight: 600; margin-bottom: 8px; flex-wrap: wrap; }
.viz-legend span { display: inline-flex; align-items: center; gap: 7px; }
.viz-legend i { width: 14px; height: 2px; border-radius: 2px; display: inline-block; }
.viz-table summary { cursor: pointer; font-size: 0.8rem; color: var(--muted); font-weight: 650; margin-top: 10px; }
.viz-table .table-wrap { max-height: 260px; overflow: auto; margin-top: 8px; }
.hero-fig { font-size: 3.2rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.hbars { display: grid; gap: 10px; }
.hbar { display: grid; grid-template-columns: minmax(110px, 1.7fr) 1.3fr; gap: 12px; align-items: center; font-size: 0.86rem; }
.hbar .n { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; color: var(--ink-2); }
.hbar .t { display: flex; align-items: center; gap: 10px; }
.hbar .t i { display: block; height: 14px; border-radius: 0 4px 4px 0; background: var(--viz-1); min-width: 2px; transition: filter .15s; }
.hbar:hover .t i { filter: brightness(1.12); }
.hbar .t b { font-variant-numeric: tabular-nums; font-size: 0.82rem; color: var(--ink); }
.fun { display: grid; gap: 8px; }
.fun-row { display: grid; grid-template-columns: 180px 1fr; gap: 12px; align-items: center; font-size: 0.86rem; }
@media (max-width: 620px) { .fun-row { grid-template-columns: 1fr; gap: 4px; } }
.fun-row .n { font-weight: 650; color: var(--ink-2); }
.fun-row .n small { display: block; font-weight: 500; color: var(--muted); font-size: 0.72rem; }
.fun-bar { display: flex; align-items: center; gap: 10px; }
.fun-bar i { display: block; height: 30px; border-radius: 0 6px 6px 0; min-width: 3px; }
.fun-bar b { font-variant-numeric: tabular-nums; }
.fun-bar em { font-style: normal; color: var(--muted); font-size: 0.78rem; font-weight: 650; }
.heat { display: grid; grid-template-columns: 34px repeat(24, minmax(0, 1fr)); gap: 2px; font-size: 0.68rem; color: var(--muted); }
.heat .c { aspect-ratio: 1; border-radius: 3px; background: var(--bg-2); }
.heat .h { text-align: center; overflow: visible; white-space: nowrap; }
.heat .w { display: flex; align-items: center; font-weight: 650; }
.kpi .spark { margin-top: 6px; height: 26px; }
.kpi .spark svg { width: 100%; height: 26px; }
.admin-form { display: grid; gap: 14px; }
.admin-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 700px) { .admin-form .row2 { grid-template-columns: 1fr; } }
.admin-form label { font-weight: 650; font-size: 0.86rem; display: block; margin-bottom: 5px; }
.admin-form .hint { font-size: 0.78rem; color: var(--muted); margin-top: 4px; }
.admin textarea.input { font-family: var(--mono); font-size: 0.86rem; line-height: 1.55; }
.admin .data-table td, .admin .data-table th { padding: 10px 12px; vertical-align: middle; }
.admin .data-table td small { color: var(--muted); display: block; }
.admin-note { border-left: 4px solid var(--warn); background: var(--warn-bg); color: var(--ink); padding: 12px 16px; border-radius: 0 12px 12px 0; margin-bottom: 18px; font-size: 0.9rem; }
.admin-note.bad { border-color: var(--bad); background: var(--bad-bg); }
.admin-note.ok { border-color: var(--good); background: var(--good-bg); }
.inline-actions { display: inline-flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.inline-actions form { display: inline; }
.toggle { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; font-size: 0.86rem; }
.pager { display: flex; gap: 8px; margin-top: 14px; align-items: center; color: var(--muted); font-size: 0.85rem; }
.side-count { margin-left: auto; background: var(--accent); color: var(--accent-ink); font-size: 0.7rem; padding: 1px 7px; border-radius: 99px; font-weight: 800; }
.admin-side a[aria-current='page'] .side-count { background: #0f1713; color: var(--accent); }
.integr { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.integr > div { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; background: var(--surface); }
.integr b { display: block; margin-bottom: 4px; }
.integr small { color: var(--muted); }

/* ───── Home hero: photo upload block ───── */
.hero-art--up { aspect-ratio: auto; }
.hero-up { width: 100%; }
.hero-up-frame { position: relative; width: 100%; aspect-ratio: 400 / 440; border-radius: 30px; overflow: hidden; background: linear-gradient(#1d2f28, #0e1412); box-shadow: var(--shadow-lg); border: 1px solid #22332c; }
.hero-up-frame[data-over='true'] { outline: 3px dashed var(--accent); outline-offset: -12px; }
.hero-up-bg { position: absolute; inset: 0; opacity: 0.13; pointer-events: none; }
.hero-up-bg svg { width: 100%; height: 100%; display: block; }
.hero-up-cta { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 26px 22px; text-align: center; color: #fff; }
.hero-up-ico { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: rgba(194, 245, 66, 0.14); color: var(--accent); border: 1px solid rgba(194, 245, 66, 0.35); }
.hero-up-title { font-size: clamp(1.25rem, 3vw, 1.6rem); letter-spacing: -0.02em; line-height: 1.15; }
.hero-up-sub { margin: 0; max-width: 300px; font-size: 0.9rem; color: #b7c4bd; line-height: 1.45; }
.hero-up-seg { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, 0.09); border: 1px solid rgba(255, 255, 255, 0.14); margin-top: 4px; }
.hero-up-seg button { border: 0; background: transparent; color: #cfd9d3; padding: 7px 18px; border-radius: 999px; font: inherit; font-size: 0.85rem; font-weight: 650; cursor: pointer; }
.hero-up-seg button[aria-pressed='true'] { background: var(--accent); color: var(--accent-ink); }
.hero-up-btns { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 4px; }
.hero-up-ghost { background: rgba(255, 255, 255, 0.1); color: #fff; border: 1px solid rgba(255, 255, 255, 0.22); }
.hero-up-note { margin: 0; font-size: 0.78rem; color: #8fa198; }
.hero-up-err { margin-top: 4px; background: #3b1d1a; color: #ffb4a8; border: 1px solid #6b2f28; border-radius: 10px; padding: 8px 12px; font-size: 0.82rem; }
.hero-up-caption { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 16px; margin: 14px 0 0; font-size: 0.78rem; color: var(--muted); font-weight: 600; }
.hero-up-caption span + span::before { content: '•'; margin-right: 16px; color: var(--line-2, var(--muted)); }
.hero-up-photo-wrap { position: absolute; inset: 0; display: grid; place-items: center; background: #0e1412; }
.hero-up-photo { position: relative; max-width: 100%; max-height: 100%; }
.hero-up-photo img { display: block; width: 100%; height: 100%; object-fit: fill; }
.hero-up-photo svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-up-scanline { position: absolute; left: 0; right: 0; height: 2px; background: var(--accent); box-shadow: 0 0 18px 4px rgba(194, 245, 66, 0.55); opacity: 0; animation: hero-up-scan 2.2s ease-in-out infinite; }
.hero-up-frame[data-state='working'] .hero-up-scanline { opacity: 1; }
@keyframes hero-up-scan { 0% { top: 4%; } 50% { top: 94%; } 100% { top: 4%; } }
.hero-up-wait { position: absolute; z-index: 2; left: 50%; bottom: 18px; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; white-space: nowrap; background: rgba(14, 20, 18, 0.86); color: #fff; border: 1px solid rgba(255, 255, 255, 0.16); padding: 9px 16px; border-radius: 999px; font-size: 0.85rem; font-weight: 600; }
.hero-up-spin { width: 14px; height: 14px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.25); border-top-color: var(--accent); animation: hero-up-rot 0.8s linear infinite; }
@keyframes hero-up-rot { to { transform: rotate(360deg); } }
.hero-up-res { margin-top: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 16px 18px; box-shadow: var(--shadow-lg); }
.hero-up-score { display: flex; align-items: baseline; gap: 6px; }
.hero-up-score b { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.hero-up-score small { color: var(--muted); font-weight: 700; margin-right: 10px; white-space: nowrap; }
.hero-up-score div { display: flex; flex-direction: column; line-height: 1.25; }
.hero-up-score div span { color: var(--muted); font-size: 0.8rem; font-weight: 600; }
.hero-up-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 8px; margin-top: 12px; }
.hero-up-stats div { background: var(--bg-2, var(--bg)); border: 1px solid var(--line); border-radius: 12px; padding: 8px 10px; min-width: 0; }
.hero-up-stats b { display: block; font-size: 0.98rem; letter-spacing: -0.01em; line-height: 1.2; overflow-wrap: break-word; }
.hero-up-stats span { color: var(--muted); font-size: 0.72rem; font-weight: 650; }
.hero-up-hint { margin: 10px 0 0; font-size: 0.78rem; color: var(--muted); }
.hero-up-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.hero-up-actions .btn-primary { flex: 1 1 auto; justify-content: center; }
@media (prefers-reduced-motion: reduce) { .hero-up-scanline, .hero-up-spin { animation: none; } }

.hero-grid:has(.hero-up) { align-items: start; }
.hero-grid:has(.hero-up) > div:first-child { padding-top: 12px; }

/* payment method switch inside the dark price card */
.price-card .pay-method { background: #1a2320; border-color: #2b3a34; }
.price-card .pay-method button { color: #c9d3cd; }
.price-card .pay-method button[aria-pressed='true'] { background: #fff; color: var(--ink); }
