/* Hartevo — production-grade light SaaS, aligned to rankscale.ai's design
   system: warm near-white page (#faf8f5), deep forest-emerald accent
   (#13492e), Space Grotesk display (substituting Rankscale's Typekit
   new-science) + Inter body, neumorphic soft-UI controls, full pills, two
   warm-near-black instrument bands, product specimens as the proof. */

:root {
  /* warm near-white page + deep forest-emerald — grounded in rankscale.ai's
     own design tokens (bg #faf8f5, ink #0f1729, primary #13492e). */
  --bg: #faf8f5;            /* warm near-white */
  --bg-sunk: #f5f3ef;       /* section bands, input wells, zebra rows */
  --surface: #ffffff;       /* white cards */
  --surface-2: #fbfaf9;
  --line: #ebe7e0;          /* warm hairline */
  --line-strong: #ddd6ca;

  --ink: #0f1729;           /* deep navy ink, ~16:1 on bg */
  --ink-soft: #2b3340;
  --muted: #595f6c;         /* secondary text, ~6.4:1 on bg */
  --muted-warm: #97897c;    /* taupe — large/decorative labels only */

  /* dark warm-near-black instrument bands (rankscale register) */
  --ink-band: #231f1a;
  --on-band: #ffffff;
  --on-band-muted: rgba(255, 255, 255, 0.62);
  --line-band: rgba(255, 255, 255, 0.12);

  /* accent — deep forest emerald. NAMES --primary-strong/--pass/--warn/--fail
     are a JS contract (gradeColor injects them as the score-ring meter stroke). */
  --primary: #13492e;          /* fill; white text clears ~9:1 */
  --primary-strong: #13492e;   /* link/ring text on white, AA */
  --primary-hover: #0c3420;
  --primary-bright: #34a06d;   /* lighter emerald for dark bands + accents */
  --primary-tint: rgba(19, 73, 46, 0.08);
  --primary-tint-line: rgba(19, 73, 46, 0.18);

  /* score semantics — text/meter use AA-dark, dots use rankscale's bright 400s */
  --pass: #15803d;  --warn: #c2740a;  --fail: #dc2626;
  --pass-dot: #4ade80;  --warn-dot: #fbbf24;  --fail-dot: #f87171;
  --pass-bg: #dcfce7;  --warn-bg: #fef3c7;  --fail-bg: #fee2e2;

  --font-display: "Space Grotesk", "Inter", system-ui, "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-sans: "Inter", system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;

  /* soft elevation + the rankscale neumorphic dual-shadow on white controls */
  --shadow-card: 0 1px 2px rgba(15, 23, 41, 0.04), 0 12px 30px rgba(15, 23, 41, 0.06);
  --shadow-float: 0 2px 8px rgba(15, 23, 41, 0.05), 0 30px 64px rgba(15, 23, 41, 0.10);
  --shadow-neu: 6px 6px 12px #dee0e3, -6px -6px 12px #ffffff;
  --shadow-neu-sm: 4px 4px 8px #d5d7dd, -4px -4px 8px #ffffff;

  --radius: 18px;
  --radius-s: 12px;
  --radius-xs: 8px;
  --col: 1200px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --z-nav: 10;
  --z-skip: 100;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--primary); color: white; }

:lang(zh) body { letter-spacing: 0.01em; }
:lang(zh) h1, :lang(zh) h2 { letter-spacing: 0; }

h1, h2, h3 { font-family: var(--font-display); text-wrap: balance; margin: 0 0 0.6em; }
h1 { font-size: clamp(3.2rem, 7vw, 6rem); line-height: 0.99; font-weight: 600; letter-spacing: -0.028em; }
h1 .hl { color: var(--primary-strong); }
h2 { font-size: clamp(2.2rem, 4.6vw, 3.75rem); line-height: 1.03; font-weight: 600; letter-spacing: -0.022em; }
h3 { font-size: 1.2rem; line-height: 1.3; font-weight: 600; letter-spacing: -0.01em; }
:lang(zh) h1 { font-size: clamp(2.6rem, 6vw, 4.9rem); letter-spacing: -0.01em; }

p { margin: 0 0 1em; max-width: 66ch; text-wrap: pretty; }

a { color: var(--ink); text-decoration-color: var(--primary-strong); text-underline-offset: 3px; }
a:hover { color: var(--primary-strong); }

.mono { font-family: var(--font-mono); font-size: 0.82em; }
.mono, .pct, .price, #score-num, .radar-status, .site-score, .val, .dash-val { font-variant-numeric: tabular-nums; }

.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -4rem; left: 1rem; background: var(--primary); color: white; padding: 0.6rem 1.1rem; border-radius: var(--radius-s); z-index: var(--z-skip); transition: top 0.2s var(--ease-out); }
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 2px solid var(--primary-strong); outline-offset: 3px; border-radius: 4px; }

/* ------------------------------------------------------------- buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--font-sans); font-weight: 600; font-size: 0.95rem;
  padding: 0.72rem 1.5rem; border-radius: 999px; border: 1px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background 0.18s var(--ease-out), box-shadow 0.22s var(--ease-out), color 0.16s var(--ease-out), transform 0.12s var(--ease-out);
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06); }
.btn-primary:hover { background: var(--primary-hover); color: #fff; box-shadow: 0 8px 18px rgba(19, 73, 46, 0.22); }
/* ghost = rankscale soft-UI: white pill, emerald ink, dual neumorphic shadow */
.btn-ghost { background: var(--surface); color: var(--primary-strong); border-color: transparent; box-shadow: var(--shadow-neu-sm); }
.btn-ghost:hover { color: var(--primary-strong); box-shadow: var(--shadow-neu); }
.btn-sm { padding: 0.5rem 1.1rem; font-size: 0.88rem; }
.btn-lg { padding: 1rem 2.3rem; font-size: 1.05rem; }
.link-btn { background: none; border: none; padding: 0; font: inherit; color: var(--primary-strong); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-btn:hover { color: var(--primary-hover); }

/* -------------------------------------------------------------- header */

.site-head {
  position: sticky; top: 0; z-index: var(--z-nav);
  display: flex; align-items: center; gap: 2rem;
  max-width: var(--col); margin: 0 auto; padding: 1.6rem 1.5rem;
  transition: padding 0.25s var(--ease-out);
}
/* full-width translucent bar appears only after scroll (transparent over hero) */
.site-head::before {
  content: ""; position: absolute; z-index: -1; inset: 0; left: 50%;
  transform: translateX(-50%); width: 100vw;
  background: color-mix(in oklab, var(--bg) 84%, transparent);
  backdrop-filter: blur(14px); border-bottom: 1px solid var(--line);
  opacity: 0; transition: opacity 0.28s var(--ease-out);
}
.site-head.scrolled::before { opacity: 1; }
.site-head.scrolled { padding-top: 1rem; padding-bottom: 1rem; }
.brand { display: inline-flex; align-items: center; gap: 0.55rem; text-decoration: none; }
.brand-mark { width: 26px; height: 26px; color: var(--primary-strong); }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; letter-spacing: -0.02em; color: var(--ink); }
.site-nav { display: flex; gap: 1.6rem; margin-left: auto; }
.site-nav a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: 0.92rem; }
.site-nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.head-actions { display: flex; align-items: center; gap: 1rem; }
.lang-toggle { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 2px; background: color-mix(in oklab, var(--surface) 70%, transparent); }
.lang-toggle button { background: none; border: none; color: var(--muted); font: inherit; font-size: 0.8rem; font-weight: 600; padding: 0.3rem 0.7rem; border-radius: 999px; cursor: pointer; }
.lang-toggle button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(15, 23, 41, 0.12); }
@media (max-width: 760px) { .site-nav { display: none; } .site-head { gap: 1rem; } .head-actions { margin-left: auto; } }

/* ---------------------------------------------------------------- hero */
/* centered copy + scan bar, a dotted wave canvas behind, the product
   dashboard as proof below — the competitor-grounded structure. */

.hero {
  position: relative; isolation: isolate;
  max-width: var(--col); margin: 0 auto;
  padding: clamp(6rem, 12vh, 11rem) 1.5rem clamp(3rem, 6vh, 4.5rem);
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.hero-copy { max-width: 52rem; }
.hero-copy > * { animation: rise 0.6s var(--ease-out) backwards; }
.hero-copy > :nth-child(2) { animation-delay: 0.06s; }
.hero-copy > :nth-child(3) { animation-delay: 0.12s; }
.hero-copy > :nth-child(4) { animation-delay: 0.18s; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.hero h1 { margin-bottom: 0.4em; }
.hero-sub { color: var(--muted); font-size: clamp(1.1rem, 1.6vw, 1.35rem); line-height: 1.5; margin: 0 auto 2.2rem; max-width: 46ch; }

.scan-form {
  display: flex; gap: 0; max-width: 32rem; margin: 0 auto; text-align: left;
  background: var(--surface); border: 1.5px solid var(--line-strong); border-radius: 999px;
  box-shadow: var(--shadow-card);
  transition: border-color 0.16s var(--ease-out), box-shadow 0.16s var(--ease-out);
}
.scan-form:focus-within { border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-tint), var(--shadow-card); }
.scan-form:has(input[aria-invalid="true"]) { border-color: var(--fail); }
.scan-form input { flex: 1; min-width: 0; background: transparent; border: none; color: var(--ink); caret-color: var(--primary-strong); font-family: var(--font-sans); font-size: 1rem; padding: 0.8rem 1.3rem; }
.scan-form input::placeholder { color: var(--muted); }
.scan-form input:focus { outline: none; }
.scan-form input[aria-invalid="true"] { color: var(--fail); }
.scan-form .btn { border-radius: 999px; margin: 4px; min-height: 44px; }

.scan-note { margin-top: 0.9rem; color: var(--muted); font-size: 0.9rem; }
.scan-note .link-btn { margin-left: 0.4rem; }

/* quick trust chips under the scan bar */
.hero-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem 1.6rem; margin: 1.5rem auto 0; font-family: var(--font-mono); font-size: 0.78rem; color: var(--muted); }
.hero-trust span { display: inline-flex; align-items: center; gap: 0.45rem; }
.hero-trust span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); }

/* three honest capability cards (rankscale's hero stat-card row) */
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; width: 100%; max-width: 60rem; margin: clamp(2.5rem, 5vh, 3.5rem) auto 0; text-align: left; }
.hero-stat { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-neu-sm); padding: 1.4rem 1.5rem; }
.hero-stat .hs-k { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); display: flex; align-items: center; gap: 0.5rem; }
.hero-stat .hs-k::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--primary); flex: none; }
.hero-stat p { color: var(--muted); font-size: 0.9rem; line-height: 1.5; margin: 0.5rem 0 0; }
@media (max-width: 760px) { .hero-stats { grid-template-columns: 1fr; max-width: 32rem; } }

/* hero dashboard, framed like a product screenshot */
.hero-visual { width: 100%; max-width: 64rem; margin: clamp(2.5rem, 5vh, 3.5rem) auto 0; }
.dashboard {
  position: relative; text-align: left;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-float); padding: 1.6rem 1.8rem;
  animation: rise 0.7s var(--ease-out) 0.18s backwards;
}
.dash-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.6rem; }
.dash-title { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--pass); animation: live-blink 2s var(--ease-out) infinite; }
@keyframes live-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.sample-pill { font-size: 12px; color: var(--primary-strong); background: var(--primary-tint); padding: 4px 11px; border-radius: 999px; }

.dash-metric { display: grid; grid-template-columns: 1fr 1.1fr; gap: 1.75rem; align-items: center; margin-bottom: 1.5rem; }
.dash-big { display: flex; align-items: baseline; gap: 12px; }
.dash-num { font-family: var(--font-display); font-size: clamp(2.8rem, 6vw, 3.4rem); font-weight: 700; line-height: 1; letter-spacing: -0.02em; }
.dash-trend { font-size: 12px; color: var(--pass); background: var(--pass-bg); padding: 3px 9px; border-radius: 999px; }
.dash-metric-label { font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.dash-metric-sub { font-size: 12px; color: var(--muted); margin-top: 8px; }
.dash-spark { width: 100%; height: 64px; display: block; }
.dash-spark polyline { fill: none; stroke: var(--primary); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

.dash-section-label { font-size: 13px; color: var(--muted); margin-bottom: 13px; }
.dash-divider { border-top: 1px solid var(--line); padding-top: 1.4rem; margin-top: 1.4rem; }
.dash-lb { display: grid; gap: 11px; }
.dash-lb-row { display: grid; grid-template-columns: 8.5rem 1fr 2.6rem; align-items: center; gap: 14px; font-size: 13px; }
.dash-lb-row .nm { color: var(--muted); }
.dash-lb-row.you .nm, .dash-lb-row.you .v { color: var(--ink); font-weight: 600; }
.dash-lb-bar { height: 8px; border-radius: 999px; background: var(--bg-sunk); overflow: hidden; }
.dash-lb-bar i { display: block; height: 100%; border-radius: 999px; background: var(--line-strong); }
.dash-lb-row.you .dash-lb-bar i { background: var(--primary); }
.dash-lb-row .v { text-align: right; color: var(--muted); font-family: var(--font-mono); }
.dash-eng { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 18px; }
.dash-eng span { display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--ink); }
.dash-eng span.off { color: var(--muted); }
.dash-eng .d { width: 8px; height: 8px; border-radius: 50%; flex: none; background: var(--primary); }
.dash-eng .d.half { opacity: 0.4; }
.dash-eng .d.no { background: none; border: 1.5px solid var(--line-strong); }

@media (max-width: 620px) {
  .dash-metric { grid-template-columns: 1fr; gap: 1rem; }
  .dash-eng { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .scan-form { flex-direction: column; border: none; box-shadow: none; background: none; gap: 0.6rem; }
  .scan-form input { border: 1.5px solid var(--line-strong); border-radius: 999px; background: var(--surface); box-shadow: var(--shadow-card); padding: 0.78rem 1.3rem; }
  .scan-form .btn { width: 100%; margin: 0; }
}

/* ---------------------------------------------------- engine coverage band */

.engine-band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface-2); padding: clamp(2rem, 4.5vh, 3.2rem) 0; overflow: hidden; }
.engine-band-label { display: block; text-align: center; color: var(--muted); font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.03em; margin: 0 0 1.6rem; padding: 0 1.5rem; }
/* seamless auto-scrolling logo marquee (pauses on hover, edge-masked) */
.logo-marquee { position: relative; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.logo-track { display: flex; width: max-content; animation: marquee 42s linear infinite; will-change: transform; backface-visibility: hidden; }
.logo-marquee:hover .logo-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.eng-logo { display: inline-flex; align-items: center; gap: 0.6rem; margin-right: 3.4rem; color: var(--muted); font-weight: 600; font-size: 1rem; white-space: nowrap; transition: color 0.25s var(--ease-out); }
.eng-logo:hover { color: var(--ink); }
.eng-logo svg { width: 22px; height: 22px; flex: none; }

/* ----------------------------------------- premium interaction motion */
/* card hover-lift */
.hero-stat, .price-card { transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out); }
.hero-stat:hover { transform: translateY(-5px); box-shadow: var(--shadow-neu); }
.price-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-float); }
/* pointer-follow emerald glow on the dark instrument bands */
.how, .stats-band, .cta-final { position: relative; isolation: isolate; overflow: hidden; }
/* composited follow-glow: a fixed gradient layer the cursor TRANSLATES (no per-frame repaint) */
.how::before, .stats-band::before, .cta-final::before {
  content: ""; position: absolute; inset: -20%; z-index: -1; pointer-events: none;
  background: radial-gradient(360px circle at 50% 50%, rgba(52, 160, 109, 0.22), transparent 62%);
  transform: translate(var(--gx, 0px), var(--gy, 0px));
  opacity: 0.5; transition: opacity 0.4s var(--ease-out);
  will-change: transform;
}
.how:hover::before, .stats-band:hover::before, .cta-final:hover::before { opacity: 0.85; }
.cta-final::before { opacity: 0.38; }
.cta-final:hover::before { opacity: 0.62; }
/* glass shine sweep on primary buttons */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(110deg, transparent 38%, rgba(255, 255, 255, 0.18) 50%, transparent 62%); transform: translateX(-130%); transition: transform 0.65s var(--ease-out); }
.btn-primary:hover::after { transform: translateX(130%); }
/* feature-tab panel crossfade */
.stack-panel:not([hidden]) { animation: panelIn 0.45s var(--ease-out); }
@keyframes panelIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ------------------------------------- feature showcase (tabbed stack) */

.stack { max-width: var(--col); margin: 0 auto; padding: clamp(6rem, 12vh, 11rem) 1.5rem; }
.stack .sec-head { text-align: center; max-width: 42rem; margin: 0 auto 2.8rem; }
.stack .sec-head p { color: var(--muted); font-size: 1.05rem; margin: 1rem auto 0; }
.stack-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; margin-bottom: 2.8rem; }
.stack-tab { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--surface); color: var(--ink); border: none; border-radius: 999px; box-shadow: var(--shadow-neu-sm); font-family: var(--font-sans); font-weight: 500; font-size: 0.9rem; padding: 0.65rem 1.2rem; cursor: pointer; transition: box-shadow 0.2s var(--ease-out), background 0.2s var(--ease-out), color 0.2s var(--ease-out); }
.stack-tab:hover { box-shadow: var(--shadow-neu); }
.stack-tab[aria-selected="true"] { background: var(--primary); color: #fff; box-shadow: 0 8px 18px rgba(19, 73, 46, 0.22); }
.stack-panel { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.stack-panel[hidden] { display: none; }
.stack-copy h3 { font-size: clamp(1.55rem, 2.6vw, 2.1rem); margin-bottom: 0.6rem; }
.stack-copy p { color: var(--muted); font-size: 1.02rem; line-height: 1.6; margin: 0 0 1.5rem; max-width: 40ch; }
.stack-visual { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-float); padding: 1.5rem 1.6rem; }
.stack-visual .dash-head { margin-bottom: 1.2rem; }
@media (max-width: 860px) { .stack-panel { grid-template-columns: 1fr; gap: 2rem; } .stack-copy { order: 1; } .stack-visual { order: 2; } }

/* compact specimens reused inside the showcase */
.spec-rows { display: grid; gap: 0.7rem; }
.spec-row { display: grid; grid-template-columns: 1.4rem 1fr auto; align-items: center; gap: 0.7rem; font-size: 0.9rem; }
.spec-row .dot { width: 9px; height: 9px; border-radius: 50%; }
.spec-row .dot.pass { background: var(--pass-dot); }
.spec-row .dot.warn { background: var(--warn-dot); }
.spec-row .dot.fail { background: none; border: 1.5px solid var(--fail-dot); }
.spec-row .tag { font-family: var(--font-mono); font-size: 0.72rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }
.spec-score { display: flex; align-items: center; gap: 1.2rem; margin-bottom: 1.2rem; }
.spec-ring { width: 92px; height: 92px; flex: none; position: relative; }
.spec-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.spec-ring .t { fill: none; stroke: var(--line-strong); stroke-width: 8; }
.spec-ring .m { fill: none; stroke: var(--pass); stroke-width: 8; stroke-linecap: round; stroke-dasharray: 326.7; }
.spec-ring .n { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-weight: 700; font-size: 1.5rem; color: var(--ink); }
.spec-code { background: var(--bg-sunk); border: 1px solid var(--line); border-radius: var(--radius-s); padding: 1rem 1.1rem; font-family: var(--font-mono); font-size: 0.76rem; line-height: 1.7; color: var(--ink-soft); white-space: pre-wrap; overflow-wrap: anywhere; }
.spec-code .c { color: var(--muted); }
.spec-code .k { color: var(--primary-strong); font-weight: 700; }
.spec-verdict { font-weight: 600; display: flex; align-items: center; gap: 0.55rem; margin-bottom: 0.8rem; }
.spec-verdict::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--warn-dot); flex: none; }
.spec-note { color: var(--muted); font-size: 0.9rem; margin: 0; }

/* ------------------------------- honest capability band (dark, numbers) */

.stats-band { background: var(--ink-band); color: var(--on-band); padding: clamp(6rem, 12vh, 11rem) 1.5rem; }
.stats-band-inner { max-width: var(--col); margin: 0 auto; text-align: center; }
.stats-band h2 { color: var(--on-band); margin-bottom: 0.8rem; }
.stats-band .sb-sub { color: var(--on-band-muted); max-width: 48ch; margin: 0 auto clamp(2.5rem, 5vh, 3.5rem); font-size: 1.05rem; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.stat-cell { padding: 0 0.5rem; }
.stat-cell .sc-n { font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1; color: #fff; }
.stat-cell .sc-n .u { color: var(--primary-bright); }
.stat-cell .sc-l { color: var(--on-band-muted); font-size: 0.95rem; margin-top: 0.6rem; }
@media (max-width: 760px) { .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 2.6rem 1.5rem; } }

/* -------------------------------------------------------------- report */

.report { max-width: var(--col); margin: 0 auto; padding: clamp(2rem, 5vh, 3.5rem) 1.5rem 4rem; }
.report-progress { display: flex; align-items: center; gap: 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-card); padding: 1.6rem 2rem; }
.pulse-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--primary); animation: dot-pulse 1.1s var(--ease-out) infinite; }
@keyframes dot-pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.5); opacity: 0.5; } }
.report-progress p { margin: 0; color: var(--muted); }
.report-error { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-card); padding: 2rem; }
.report-error h2 { font-size: 1.4rem; }
.report-error p { color: var(--muted); }
.report-body { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-card); padding: clamp(1.6rem, 3vw, 2.6rem); }
.report-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-bottom: 1px solid var(--line); padding-bottom: 1rem; margin-bottom: 1.5rem; }
.report-head h2 { font-size: 1.55rem; margin-bottom: 0.2em; }
.report-meta { color: var(--muted); margin: 0; overflow-wrap: anywhere; font-size: 0.82rem; }
.report-summary { display: grid; grid-template-columns: auto 1fr; gap: 2.5rem; align-items: center; margin-bottom: 2rem; }
.score-ring-wrap { position: relative; width: 150px; height: 150px; }
.score-ring { width: 100%; height: 100%; transform: rotate(-90deg); }
.score-ring .track { fill: none; stroke: var(--line-strong); stroke-width: 8; }
.score-ring .meter { fill: none; stroke: var(--primary-strong); stroke-width: 8; stroke-linecap: round; stroke-dasharray: 326.7; stroke-dashoffset: 326.7; transition: stroke-dashoffset 1.1s var(--ease-out), stroke 0.3s; }
.score-value { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; }
.score-value .mono { font-family: var(--font-mono); font-size: 2.4rem; font-weight: 700; line-height: 1; color: var(--ink); }
.score-grade { font-family: var(--font-mono); font-weight: 400; font-size: 0.85rem; color: var(--muted); }
.verdict { font-size: 1.2rem; font-weight: 600; margin-bottom: 1.2rem; font-family: var(--font-display); }
.pillar-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; max-width: 30rem; }
.pillar-bars li { display: grid; grid-template-columns: 7.5rem 1fr 2.6rem; align-items: center; gap: 0.8rem; font-size: 0.9rem; }
.pillar-bars .bar { height: 6px; border-radius: 999px; background: var(--bg-sunk); overflow: hidden; }
.pillar-bars .bar i { display: block; height: 100%; border-radius: 999px; background: var(--primary); transition: width 0.9s var(--ease-out); }
.pillar-bars .pct { font-family: var(--font-mono); font-size: 0.78rem; color: var(--muted); text-align: right; }
@media (max-width: 640px) { .report-summary { grid-template-columns: 1fr; gap: 1.5rem; justify-items: center; } .score-side { width: 100%; } }

.monitor-box { background: var(--primary-tint); border: 1px solid var(--primary-tint-line); border-radius: var(--radius); padding: 1.4rem 1.8rem; margin-bottom: 2rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.monitor-copy h3 { font-size: 1.05rem; margin: 0 0 0.3rem; }
.monitor-copy p { color: var(--ink-soft); font-size: 0.9rem; margin: 0; max-width: 38rem; }
.monitor-form { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.monitor-form input { background: var(--surface); border: 1px solid var(--line-strong); border-radius: 999px; color: var(--ink); font-family: var(--font-sans); font-size: 0.9rem; padding: 0.5rem 1.1rem; min-width: 16rem; }
.monitor-form input::placeholder { color: var(--muted); }
.monitor-form input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-tint); }
.monitor-msg { margin: 0; font-size: 0.9rem; flex: 1 1 100%; }
.monitor-msg.ok { color: var(--pass); }
.monitor-msg.err { color: var(--fail); }
@media (max-width: 360px) { .monitor-form input { min-width: 100%; min-height: 44px; } .monitor-form .btn { width: 100%; min-height: 44px; } }

.bots-row { margin-bottom: 2rem; }
.bots-row h3 { font-size: 1rem; margin-bottom: 0.7rem; }
.bot-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.bot-chips li { display: inline-flex; align-items: center; gap: 0.4rem; font-family: var(--font-mono); font-size: 0.74rem; padding: 0.28rem 0.7rem; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); background: var(--surface); }
.bot-chips li::before { display: none; }
.bot-chips li.allowed { border-color: color-mix(in oklab, var(--pass) 45%, var(--line)); color: var(--pass); }
.bot-chips li.blocked { border-color: color-mix(in oklab, var(--fail) 50%, var(--line)); color: var(--fail); }

.check-groups { display: grid; gap: 1.6rem; }
.check-group h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.check-list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--radius-s); overflow: hidden; }
.check-list li { display: grid; grid-template-columns: 1.4rem 1fr; gap: 0.6rem; padding: 0.7rem 0.9rem; }
.check-list li:nth-child(even) { background: var(--bg-sunk); }
.check-status { font-size: 0; line-height: 1.5; }
.check-status::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-top: 6px; }
.check-status.pass::before { background: var(--pass); }
.check-status.warn::before { background: var(--warn); }
.check-status.fail::before { border: 1.5px solid var(--fail); }
.check-name { font-weight: 600; }
.check-name .status-word { font-family: var(--font-mono); font-weight: 400; color: var(--muted); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.04em; margin-left: 0.5rem; }
.check-detail { color: var(--muted); font-size: 0.85rem; margin: 0.15rem 0 0; }
.check-rec { color: var(--ink-soft); font-size: 0.85rem; margin: 0.3rem 0 0; max-width: 62ch; }
.check-rec::before { content: "\2192 "; color: var(--primary-strong); }

.report-cta { margin-top: 2.2rem; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 2rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.report-cta p { margin: 0; font-weight: 600; max-width: 36rem; }
.share-row { margin-top: 1.6rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.share-row h3 { font-size: 1rem; margin: 0; }
.share-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; }

/* ------------------------------------------------ tool panels (5 bays) */

.fixpack { margin-top: 2.2rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 2rem 1.8rem; }
.fixpack-head { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; border-bottom: 1px solid var(--line); padding-bottom: 0.9rem; margin-bottom: 0.9rem; }
.fixpack-head h3 { font-size: 1.05rem; margin: 0 0 0.25rem; }
.fixpack-sub { color: var(--muted); font-size: 0.88rem; margin: 0; max-width: 46rem; }
.fixpack-error { color: var(--fail); margin: 0.8rem 0 0; }
.fixpack-thin { color: var(--warn); font-size: 0.88rem; margin: 1rem 0 0; }
.fixpack-tabs { display: flex; gap: 0.4rem; flex-wrap: wrap; margin: 1.2rem 0 0.8rem; }
.fixpack-tab { background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-family: var(--font-mono); font-size: 0.76rem; padding: 0.35rem 0.95rem; cursor: pointer; transition: border-color 0.16s var(--ease-out), color 0.16s var(--ease-out), background 0.16s var(--ease-out); }
.fixpack-tab:hover { color: var(--ink); }
.fixpack-tab.active { background: var(--primary-tint); color: var(--primary-strong); border-color: var(--primary-tint-line); }
.fixpack-code { background: var(--bg-sunk); border: 1px solid var(--line); border-radius: var(--radius-s); padding: 1.1rem 1.3rem; margin: 0 0 0.8rem; font-family: var(--font-mono); font-size: 0.78rem; line-height: 1.6; color: var(--ink); max-height: 22rem; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; }
.fixpack-actions { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
.fixpack-note { color: var(--muted); font-size: 0.82rem; margin: 0; }
.fixpack-upsell { color: var(--muted); font-size: 0.88rem; margin: 1.2rem 0 0; }
.kit-post { margin-bottom: 1.2rem; }
.kit-post:last-child { margin-bottom: 0; }
.kit-post-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 0.4rem; }
.kit-post-label { margin: 0; font-weight: 600; font-size: 0.92rem; }
.kit-code { max-height: 16rem; margin-bottom: 0; }
.dir-list { list-style: none; margin: 0.8rem 0 0; padding: 0; }
.dir-list li { display: flex; align-items: baseline; gap: 0.8rem; flex-wrap: wrap; padding: 0.55rem 0; border-top: 1px solid var(--line); }
.dir-list a { font-weight: 600; text-decoration-color: var(--primary-strong); }
.dir-badges { color: var(--muted); font-size: 0.75rem; }
.dir-note { color: var(--muted); font-size: 0.82rem; }
@media (max-width: 700px) { .dir-note { flex: 1 1 auto; } }

.radar-verdict { font-size: 1rem; font-weight: 600; max-width: 60ch; margin: 1.2rem 0 1rem; }
.radar-verdict::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 0.6rem; }
.radar-verdict.is-found::before { background: var(--pass); }
.radar-verdict.is-zero { color: var(--warn); }
.radar-verdict.is-zero::before { background: var(--warn); }
.radar-list { list-style: none; margin: 0; padding: 0; }
.radar-list > li { padding: 0.7rem 0; border-top: 1px solid var(--line); }
.radar-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.radar-name { font-weight: 600; }
.radar-status { display: inline-flex; align-items: center; font-family: var(--font-mono); font-size: 0.74rem; }
.radar-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; margin-right: 0.45rem; }
.radar-status.found { color: var(--pass); }
.radar-status.found::before { background: var(--pass); }
.radar-status.none { color: var(--fail); }
.radar-status.none::before { border: 1px solid var(--fail); }
.radar-status.unavailable { color: var(--muted); }
.radar-status.unavailable::before { border: 1px solid var(--muted); }
.radar-links { list-style: none; margin: 0.4rem 0 0; padding: 0; font-size: 0.86rem; }
.radar-links li { padding: 0.15rem 0; overflow-wrap: anywhere; }
.radar-links a { color: var(--muted); }
.radar-links a:hover { color: var(--ink); }
.radar-meta { color: var(--muted); font-size: 0.75rem; }
.site-path { font-weight: 600; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.site-path:hover { text-decoration: underline; }
.site-issues { color: var(--muted); font-size: 0.78rem; margin: 0.2rem 0 0; overflow-wrap: anywhere; }
.site-score { font-family: var(--font-mono); font-size: 0.78rem; text-align: right; }
.site-score.g-a { color: var(--pass); }
.site-score.g-b { color: var(--warn); }
.site-score.g-c, .site-score.g-d { color: var(--fail); }
.site-common { color: var(--muted); font-size: 0.8rem; margin: 0.8rem 0 0; }
.score-delta { font-family: var(--font-mono); font-size: 0.8rem; margin: 0 0 0.5rem; }
.score-delta.up { color: var(--pass); }
.score-delta.down { color: var(--fail); }
.score-delta.same { color: var(--muted); }

/* --------------------------------------------------------------- shift */

.shift { max-width: var(--col); margin: 0 auto; padding: clamp(6rem, 12vh, 11rem) 1.5rem; }
.shift .sec-head { margin-bottom: 2.4rem; }
.shift .sec-head h2 { max-width: 24ch; }
.shift-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.2rem; }
.shift-item { padding: 1.3rem 0 0; border-top: 2px solid var(--primary); }
.shift-item h3 { font-size: 1.15rem; margin-bottom: 0.4em; color: var(--ink); }
.shift-item p { color: var(--muted); margin: 0; }
@media (max-width: 760px) { .shift-grid { grid-template-columns: 1fr; gap: 1.4rem; } }

/* ------------------------------------------- how it works (DARK BAND) */

.how { background: var(--ink-band); color: var(--on-band); padding: clamp(6rem, 12vh, 11rem) 1.5rem; }
.how > * { max-width: var(--col); margin-left: auto; margin-right: auto; }
.how h2 { color: var(--on-band); margin-bottom: 2.4rem; max-width: 22ch; }
.how-steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.how-steps li { counter-increment: step; }
.how-steps li::before { content: counter(step, decimal-leading-zero); display: block; font-family: var(--font-mono); font-size: 1.1rem; font-weight: 700; color: var(--primary-bright); margin-bottom: 0.6rem; }
.how-steps h3 { font-size: 1.3rem; margin-bottom: 0.4em; color: var(--on-band); }
.how-steps p { color: var(--on-band-muted); margin: 0; }
@media (max-width: 760px) { .how-steps { grid-template-columns: 1fr; gap: 2rem; } }

/* -------------------------------------------------------------- checks */

.checks { max-width: var(--col); margin: 0 auto; padding: clamp(6rem, 12vh, 11rem) 1.5rem; }
.checks .sec-head { margin-bottom: 2.4rem; }
.checks-intro { color: var(--muted); margin: 0; max-width: 56ch; }
.checks-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.checks-col h3 { font-size: 0.92rem; color: var(--ink-soft); margin-bottom: 0.7rem; text-transform: uppercase; letter-spacing: 0.04em; }
.mono-list { list-style: none; margin: 0; padding: 0; font-family: var(--font-mono); font-size: 0.8rem; color: var(--muted); }
.mono-list li { padding: 0.45rem 0; border-top: 1px solid var(--line); }
@media (max-width: 760px) { .checks-cols { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 440px) { .checks-cols { grid-template-columns: 1fr; } }

/* ------------------------------------------- brand mode (sunk band) */

.brand-mode { background: var(--bg-sunk); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.brand-mode > * { max-width: var(--col); margin-left: auto; margin-right: auto; }
.brand-mode { padding: clamp(6rem, 12vh, 11rem) 1.5rem; }
.brand-form { margin-top: 1.6rem; }
.brand-desc { display: block; width: 100%; max-width: 34rem; margin-top: 0.6rem; background: var(--surface); border: 1.5px solid var(--line-strong); border-radius: 999px; color: var(--ink); font-family: var(--font-sans); font-size: 0.95rem; padding: 0.7rem 1.2rem; }
.brand-desc::placeholder { color: var(--muted); }
.brand-desc:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-tint); }
.brand-result { margin-top: 1.6rem; max-width: 44rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-card); padding: 1.2rem 1.4rem; }
.brand-result .monitor-form { margin-top: 1rem; }

/* ------------------------------------------------------------- pricing */

.pricing { max-width: var(--col); margin: 0 auto; padding: clamp(6rem, 12vh, 11rem) 1.5rem; }
.pricing h2 { margin-bottom: 2rem; }
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 1.4rem; align-items: stretch; }
.price-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-card); padding: 2rem; }
.price-featured { background: var(--primary-tint); border: 1px solid var(--primary-tint-line); }
.price-card h3 { font-size: 1.15rem; margin-bottom: 0.3em; }
.price { font-family: var(--font-display); font-size: 2.2rem; font-weight: 700; margin: 0 0 0.8rem; color: var(--ink); }
.price .mono { font-size: 1em; }
.price-period { font-size: 0.92rem; font-weight: 400; color: var(--muted); font-family: var(--font-sans); }
.price-badge { display: inline-block; font-size: 0.7rem; font-weight: 600; font-family: var(--font-mono); color: white; background: var(--primary); border-radius: 999px; padding: 0.2rem 0.7rem; vertical-align: middle; margin-left: 0.4rem; }
.price-desc { color: var(--muted); flex: 1; }
.price-founding { color: var(--ink-soft); font-size: 0.88rem; font-weight: 500; margin: 0 0 1rem; }
.price-card .btn { align-self: flex-start; }
.pricing-note { color: var(--muted); margin-top: 1.6rem; font-size: 0.9rem; }
.price-pay { color: var(--muted); font-size: 0.72rem; margin: 0.8rem 0 0; font-family: var(--font-mono); }

/* ------------------------------------------------- share & thanks pages */

.share-main, .thanks-main { max-width: 880px; margin: 0 auto; padding: clamp(2.5rem, 7vh, 4.5rem) 1.5rem 4rem; }
.share-main h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.share-sub { color: var(--muted); max-width: 60ch; margin-bottom: 2rem; }
.share-card-img { display: block; width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--line); }
.share-ctas { margin-top: 2rem; display: flex; gap: 0.8rem; align-items: center; flex-wrap: wrap; }
.share-foot { border-top: none; }
.thanks-main { text-align: center; max-width: 640px; }
.thanks-main h1 { font-size: clamp(1.9rem, 4.5vw, 2.8rem); }
.thanks-main p { margin-left: auto; margin-right: auto; }
.thanks-check { width: 64px; height: 64px; margin: 0 auto 1.4rem; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--primary); color: white; font-size: 2rem; font-weight: 700; }
.thanks-note { color: var(--muted); font-size: 0.88rem; }
.thanks-main .btn { margin-top: 1.4rem; }
.legal-main { max-width: 760px; margin: 0 auto; padding: clamp(2rem, 6vh, 4rem) 1.5rem 4rem; }
.legal-main h1 { font-size: clamp(1.7rem, 4vw, 2.4rem); }
.legal-main h2 { font-size: 1.15rem; margin-top: 2rem; }
.legal-main p, .legal-main li { color: var(--ink-soft); font-size: 0.92rem; }
.legal-main .legal-zh { color: var(--muted); }
.legal-updated { font-family: var(--font-mono); font-size: 0.78rem; color: var(--muted); }

/* ----------------------------------------------------------------- faq */

.faq { max-width: 820px; margin: 0 auto; padding: clamp(6rem, 12vh, 11rem) 1.5rem; }
.faq h2 { margin-bottom: 2rem; text-align: center; }
.faq-list { counter-reset: faq; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; padding: 1.2rem 0; list-style: none; display: flex; align-items: center; gap: 0; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before { counter-increment: faq; content: counter(faq, decimal-leading-zero); font-family: var(--font-mono); font-weight: 700; color: var(--primary-strong); font-size: 0.85rem; margin-right: 0.95rem; }
.faq-list summary::after { content: "+"; margin-left: auto; font-family: var(--font-mono); color: var(--primary-strong); font-size: 1.3rem; flex-shrink: 0; transition: transform 0.25s var(--ease-out); }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { color: var(--muted); padding-bottom: 1.2rem; margin: 0; }

/* --------------------------------------------------- final cta (DARK) */

.cta-final { text-align: center; background: var(--ink-band); color: var(--on-band); padding: clamp(6rem, 13vh, 10rem) 1.5rem; }
.cta-final h2 { color: var(--on-band); font-size: clamp(2rem, 4.2vw, 3.2rem); margin-bottom: 1em; }
.cta-final .btn-primary { background: var(--primary); color: white; }
.cta-final .btn-primary:hover { background: var(--primary-hover); }

/* ------------------------------------------------- footer (band bookend) */

.site-foot { position: relative; isolation: isolate; max-width: var(--col); margin: 0 auto; padding: 3rem 1.5rem 2.5rem; display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; color: var(--on-band); }
.site-foot::before { content: ""; position: absolute; z-index: -1; inset: 0; left: 50%; transform: translateX(-50%); width: 100vw; background: var(--ink-band); }
.foot-brand .brand-mark { width: 24px; height: 24px; color: var(--on-band); }
.foot-brand .brand-name { color: var(--on-band); }
.foot-brand p { margin: 0.6rem 0 0; color: var(--on-band-muted); font-size: 0.9rem; }
.foot-dogfood { font-family: var(--font-mono); font-size: 0.8rem; }
.foot-links { display: flex; flex-direction: column; gap: 0.5rem; font-family: var(--font-mono); font-size: 0.82rem; }
.foot-links a { color: var(--on-band-muted); text-decoration: none; }
.foot-links a:hover { color: var(--on-band); text-decoration: underline; text-underline-offset: 3px; }
.foot-copy { grid-column: 1 / -1; color: var(--on-band-muted); font-size: 0.78rem; margin: 1rem 0 0; font-family: var(--font-mono); }
@media (max-width: 640px) { .site-foot { grid-template-columns: 1fr; } }

/* ------------------------------------------------------ reduced motion */

/* scroll-reveal entrance — JS adds .reveal, then .in when the section enters */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-copy > *, .dashboard { animation: none; }
  .pulse-dot, .live-dot { animation: none; }
  .score-ring .meter, .pillar-bars .bar i { transition: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .logo-track, .stack-panel:not([hidden]) { animation: none; }
  .logo-track { flex-wrap: wrap; width: auto; justify-content: center; }
  .logo-marquee { -webkit-mask-image: none; mask-image: none; }
  .logo-track .eng-logo:nth-child(n+10) { display: none; } /* hide the duplicate loop set */
  .eng-logo { margin: 0.4rem 1.1rem; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}

/* ================================ print ================================ */

@media print {
  @page { margin: 14mm; }
  body { background: #fff !important; color: #111 !important; }
  .site-head, .site-nav, .hero, .hero-visual, .engine-band, .stack, .stats-band, .shift, .how, .checks, .pricing, .faq, .cta-final, .site-foot, .foot-links, .share-row, .monitor-box, .brand-mode, .report-cta, #report-progress, #report-error { display: none !important; }
  .report { padding: 1rem 0 !important; }
  .report, .report * { color: #111 !important; background: transparent !important; border-color: #bbb !important; box-shadow: none !important; }
  .report a { text-decoration: none !important; }
  .report .btn, .report button, .report form, .report input { display: none !important; }
  .report-body::after { content: "hartevo.com — free AI visibility scan · 免费 AI 可见性扫描"; display: block; margin-top: 2.5rem; font-size: 0.75rem; color: #888 !important; }
}
