/* Sell Ripple marketing site: shared styles (EN + ZH), for every page.
   Built from the "Home v4" design board (1440px artboard, 120px side padding).
   Plain CSS, no build step. Sections 1-19 follow the home page order;
   20 = subpage components, 21 = product-page (monitor, research) mockups. */

/* ---------- 0. Web fonts (self-hosted) ---------- */
/* Plus Jakarta Sans, JetBrains Mono and Arimo, served from assets/fonts/ so no
   page makes a third-party request. woff2 files from Fontsource 5.3.0
   (@fontsource/plus-jakarta-sans, @fontsource/jetbrains-mono, @fontsource/arimo),
   latin + latin-ext subsets, the same weights the site used from Google Fonts.
   All three are under the SIL Open Font License 1.1: see assets/fonts/OFL-*.txt.
   Chinese glyphs come from the system fonts in --font-sans (section 17). */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/plus-jakarta-sans-latin-ext-400-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/plus-jakarta-sans-latin-400-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/plus-jakarta-sans-latin-ext-500-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/plus-jakarta-sans-latin-500-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/plus-jakarta-sans-latin-ext-600-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/plus-jakarta-sans-latin-600-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/plus-jakarta-sans-latin-ext-700-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/plus-jakarta-sans-latin-700-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('fonts/plus-jakarta-sans-latin-ext-800-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('fonts/plus-jakarta-sans-latin-800-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/jetbrains-mono-latin-ext-500-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/jetbrains-mono-latin-500-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Arimo';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/arimo-latin-ext-700-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Arimo';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/arimo-latin-700-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- 1. Tokens ---------- */
:root {
  /* Brand + text */
  --navy-950: #0B1830;        /* footer */
  --navy-900: #0F1F3D;        /* hero + closing CTA */
  --ink: #172D50;             /* headings, strong text */
  --text: #46546F;            /* body copy */
  --muted: #5F6D86;           /* captions, meta */
  --faint: #8A97AE;           /* input icon */
  --on-dark: #C9D3E6;
  --on-dark-muted: #9FB0CC;
  --on-dark-strong: #DCE6FF;
  --accent-light: #86A8FF;    /* highlighted words on navy */
  --blue: #2456C6;            /* primary */
  --blue-hover: #1B4299;
  --blue-bright: #2F63DB;     /* primary on navy */
  --blue-bright-hover: #2556C9;
  --blue-50: #E6EEFF;         /* chips */
  --blue-100: #DFEBFF;        /* icon tiles, logo tile */
  --blue-200: #C9D8F7;        /* outline buttons */
  --blue-tint: #F1F5FF;       /* comparison column */
  --rail-tint: #EEF3FE;

  /* Surfaces + lines */
  --white: #ffffff;
  --bg-soft: #F5F8FE;         /* alternating sections */
  --surface-2: #F7F9FD;       /* stat tiles, rows */
  --track: #EEF2FA;
  --line: #E2E8F3;
  --line-strong: #CBD6EA;
  --line-dash: #CFD8E8;
  --x-icon: #B7C0D0;
  --line-on-dark: rgba(255, 255, 255, 0.12);

  /* Status */
  --red: #B8321F;
  --red-50: #FDECEA;
  --amber: #935400;
  --amber-50: #FFF3DA;
  --green: #12744A;
  --green-50: #E2F5EA;
  --green-bar: #34A36B;
  --star: #E0A100;
  --orange: #E07B39;

  /* Shape */
  --r-pill: 999px;
  --r-xs: 7px;
  --r-sm: 10px;
  --r-md: 12px;
  --r-lg: 14px;
  --r-xl: 20px;
  --r-2xl: 22px;
  --r-3xl: 28px;

  /* Shadows */
  --shadow-card: 0 1px 2px rgba(23, 45, 80, 0.05), 0 16px 32px -20px rgba(23, 45, 80, 0.22);
  --shadow-float: 0 18px 40px -18px rgba(23, 45, 80, 0.30), 0 2px 6px rgba(23, 45, 80, 0.06);
  --shadow-hero-card: 0 44px 90px -30px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.08);
  --shadow-input: 0 18px 40px -18px rgba(0, 0, 0, 0.6);
  --shadow-rail: 0 16px 40px -14px rgba(8, 20, 50, 0.45), 0 0 0 1px rgba(23, 45, 80, 0.06);

  /* Type */
  --font-sans: 'Plus Jakarta Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
    'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans CJK SC', 'Noto Sans SC', sans-serif;
  --font-brand: Arimo, Arial, 'Helvetica Neue', Helvetica, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --lh-body: 1.65;

  /* Layout */
  --container: 1200px;
  --gutter: 40px;
  --header-h: 76px;
  --focus: var(--blue);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* Smooth scrolling only once the page has loaded (site.js adds .is-ready after
   load + web fonts). Chrome also animates the fragment scroll of a deep link
   (/#pricing) on load, which lands off target while fonts shift the layout. */
@media (prefers-reduced-motion: no-preference) {
  html.is-ready { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: normal;        /* the design leaves line-height at the default; text blocks set their own */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }

a { color: var(--blue); }
a:hover { color: var(--blue-hover); }

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
  border-radius: 4px;
}
.on-dark, .hero, .site-header, .cta, .site-footer { --focus: var(--accent-light); }

.mono { font-family: var(--font-mono); font-weight: 500; }
.nowrap { white-space: nowrap; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px; top: -100px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--r-sm);
  background: var(--white);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--shadow-float);
}
.skip-link:focus { top: 12px; }

.container {
  width: min(var(--container), calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}

/* Icons (inline SVG sprite, <use href="#i-…">) */
.i {
  flex: none;
  width: 18px; height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.logo-mark { flex: none; width: 38px; height: 38px; }

/* ---------- 3. Shared components ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: var(--r-md);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn--primary { background: var(--blue); color: var(--white); }
.btn--primary:hover { background: var(--blue-hover); color: var(--white); }
.btn--bright { background: var(--blue-bright); color: var(--white); }
.btn--bright:hover { background: var(--blue-bright-hover); color: var(--white); }
.btn--outline { border: 1.5px solid var(--blue-200); background: var(--white); color: var(--blue); }
.btn--outline:hover { border-color: var(--blue); color: var(--blue-hover); }
.btn--ghost { border: 1.5px solid rgba(255, 255, 255, 0.35); background: transparent; color: var(--white); }
.btn--ghost:hover { border-color: rgba(255, 255, 255, 0.7); background: rgba(255, 255, 255, 0.06); color: var(--white); }
.btn--sm { height: 42px; padding: 0 18px; font-size: 14.5px; }
.btn--md { height: 44px; padding: 0 20px; font-size: 14.5px; }
.btn--lg { height: 50px; padding: 0 26px; }
.btn--xl { height: 52px; padding: 0 26px; font-size: 15.5px; }
.btn--block { display: flex; width: 100%; }

.chip {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 9px;
  border-radius: var(--r-pill);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}
.chip--blue { background: var(--blue-50); color: var(--blue); }
.chip--amber { background: var(--amber-50); color: var(--amber); }
.chip--red { background: var(--red-50); color: var(--red); }
.chip--green { background: var(--green-50); color: var(--green); }
.chip--grey { background: var(--track); color: var(--muted); }
.chip--sm { height: 20px; font-size: 10.5px; }
.chip--tag { padding: 0 8px; font-size: 11.5px; }
.chip--lg { height: 24px; font-size: 12px; }

.tile {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: var(--r-sm);
  background: var(--blue-100);
  color: var(--blue);
}
.tile--red { background: var(--red-50); color: var(--red); }
.tile--amber { background: var(--amber-50); color: var(--amber); }

.card {
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.pill-btn { /* "Mark handled" in mockups: illustrative, not interactive */
  flex: none;
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 10px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  background: var(--white);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--blue);
  text-decoration: none;
}
.link-arrow .i { width: 16px; height: 16px; stroke-width: 2.2; transition: transform .15s ease; }
.link-arrow:hover .i { transform: translateX(2px); }

/* Bigger tap areas for short text links, without moving anything
   (the email links are styled in sections 14 and 15) */
.link-arrow, .qr-card__mail, .footer__contact a { position: relative; }
.link-arrow::after, .qr-card__mail::after, .footer__contact a::after {
  content: '';
  position: absolute;
  inset: -12px 0;
}

/* Section scaffolding */
.section { padding: 68px 0; }
.section--soft { background: var(--bg-soft); }
.section--roomy { padding: 76px 0; }
.section--tail { padding-bottom: 76px; }

.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}
.section-title {
  max-width: 1000px;
  font-size: 40px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}
.section-title .hl { color: var(--blue); }
.section-lead {
  max-width: 720px;
  font-size: 17px;
  line-height: var(--lh-body);
  color: var(--text);
  text-wrap: pretty;
}

/* ---------- 4. Header (sits over the navy hero) ---------- */
.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 20;
  border-bottom: 1px solid var(--line-on-dark);
}
.site-header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 44px;
}
.brand {
  flex: none;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand__name {
  font-family: var(--font-brand);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  color: var(--white);
  white-space: nowrap;
}
.menu {
  flex-grow: 1;
  display: flex;
  align-items: center;
  gap: 44px;
}
.site-nav { flex-grow: 1; }
.site-nav ul { display: flex; gap: 32px; }
.site-nav a,
.login-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--on-dark);
  text-decoration: none;
  white-space: nowrap;
}
.site-nav a:hover { color: var(--white); }
.login-link { color: var(--white); }
.login-link:hover { color: var(--on-dark-strong); }
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-switch {
  display: flex;
  gap: 2px;
  padding: 3px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.08);
}
.lang-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  min-width: 44px;
  padding: 0 10px;
  border-radius: var(--r-pill);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--on-dark);
  text-decoration: none;
}
.lang-switch a:hover { color: var(--white); }
.lang-switch a[aria-current] { background: var(--white); color: var(--ink); }

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  margin-left: auto;
  padding: 0;
  border: 1px solid var(--line-on-dark);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
}
.menu-toggle .i { width: 22px; height: 22px; }
.menu-toggle .i-close { display: none; }
.menu-toggle[aria-expanded="true"] .i-open { display: none; }
.menu-toggle[aria-expanded="true"] .i-close { display: block; }

/* ---------- 5. Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy-900);
  padding-top: var(--header-h);
}
.ripple-bg {
  position: absolute;
  top: 0;
  left: calc(50% - 720px);
  width: 1440px;
  height: auto;
  overflow: visible;
  pointer-events: none;
}
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 560px) minmax(0, 620px);
  justify-content: space-between;
  column-gap: 20px;
  padding: 64px 0 60px;
}
.hero__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}
.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 14px 0 6px;
  border: 1px solid var(--line-on-dark);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.06);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--on-dark-strong);
}
.eyebrow-pill .logo-mark { width: 22px; height: 22px; }
.hero__title {
  margin-top: 24px;
  font-size: 44px;
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
  text-wrap: balance;
}
.hero__title .hl,
.cta__title .hl { color: var(--accent-light); }
.hero__lead {
  margin-top: 22px;
  max-width: 550px;
  font-size: 17.5px;
  line-height: var(--lh-body);
  color: var(--on-dark);
  text-wrap: pretty;
}
.hero-form {
  margin-top: 30px;
  width: 100%;
  max-width: 560px;
  min-height: 60px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 6px 6px 18px;
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: var(--shadow-input);
}
.hero-form:focus-within { box-shadow: var(--shadow-input), 0 0 0 3px var(--accent-light); }
.hero-form > .i { color: var(--faint); }
.hero-form input {
  flex: 1 1 auto;
  min-width: 0;
  height: 48px;
  border: 0;
  outline: none;
  background: transparent;
  font-size: 15px;
  color: var(--ink);
}
.hero-form input::placeholder { color: #6B7890; opacity: 1; }
.hero-form .btn { flex: none; border-radius: var(--r-sm); }
.hero__actions { margin-top: 16px; display: flex; align-items: center; gap: 14px; }
.hero__checks {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--on-dark-muted);
}
.hero__checks li { display: flex; align-items: center; gap: 7px; }
.hero__checks .i { width: 15px; height: 15px; stroke-width: 2.6; color: var(--accent-light); }

/* Hero mockup: "Today's check-up" */
.hero__figure {
  position: relative;
  min-width: 0;
  min-height: 560px;
  padding: 14px 0 0 20px;
}
.checkup {
  overflow: hidden;
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow-hero-card);
  text-align: left;
}
.checkup__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
}
.checkup__id { display: flex; align-items: center; gap: 12px; min-width: 0; }
.checkup__id .tile { width: 38px; height: 38px; border-radius: 11px; }
.checkup__id .i { width: 20px; height: 20px; }
.checkup__title { display: block; font-size: 17px; font-weight: 800; color: var(--ink); }
.checkup__sub { display: block; margin-top: 2px; font-size: 12.5px; color: var(--muted); }
.checkup__body { display: flex; flex-direction: column; gap: 16px; padding: 18px 22px 20px; }

.stat-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.stat-tile {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 14px;
  border-radius: var(--r-md);
  background: var(--surface-2);
}
.stat-tile__label { font-size: 12px; color: var(--muted); }
.stat-tile__value { font-size: 26px; line-height: 1.15; font-weight: 800; color: var(--ink); }
.stat-tile__value--bad { color: var(--red); }

.health { display: flex; flex-direction: column; gap: 8px; }
.health__bar { display: flex; height: 10px; overflow: hidden; border-radius: 5px; background: var(--track); }
.health__ok { flex-grow: 1; background: var(--green-bar); }
.health__bad { width: 26px; background: var(--red); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 12.5px; color: var(--text); }
.legend span { display: flex; align-items: center; gap: 6px; }
.dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--green-bar); }
.dot--bad { background: var(--red); }

.issues { display: flex; flex-direction: column; gap: 8px; }
.issue {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--white);
}
.issue .tile { width: 34px; height: 34px; }
.issue .tile .i { width: 17px; height: 17px; stroke-width: 2.2; }
.issue__body { flex-grow: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.issue__meta { display: flex; align-items: center; gap: 8px; min-width: 0; }
.issue__sku {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
}
.issue__title { font-size: 14px; font-weight: 700; color: var(--ink); }

/* Hero stats row */
.stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 30px 0 40px;
  border-top: 1px solid var(--line-on-dark);
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 28px;
}
.stat + .stat { border-left: 1px solid var(--line-on-dark); }
.stat__value {
  font-size: 36px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--white);
}
.stat__pre { font-size: 0.56em; font-weight: 700; letter-spacing: 0; color: var(--on-dark); }
.stat__label { font-size: 14px; line-height: 1.5; color: var(--on-dark-muted); }

/* ---------- 6. Pain points ---------- */
.grid-4 {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.pain-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px;
}
.pain-card .tile { width: 46px; height: 46px; border-radius: 13px; }
.pain-card .tile .i { width: 22px; height: 22px; }
.card-title {
  margin-top: 4px;
  font-size: 19px;
  line-height: 1.35;
  font-weight: 800;
  color: var(--ink);
}
.card-text {
  flex-grow: 1;
  font-size: 14.5px;
  line-height: var(--lh-body);
  color: var(--text);
}
.fix {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 14px;
  border-top: 1px dashed var(--line-dash);
}
.fix__label { font-size: 12px; font-weight: 800; letter-spacing: 0.02em; color: var(--blue); }
.fix__line {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 600;
  color: var(--ink);
}
.fix__line .i { width: 17px; height: 17px; stroke-width: 2.2; color: var(--blue); margin-top: 2px; }

/* ---------- 7. Feature bento ---------- */
.bento {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.feature {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  padding: 22px;
  scroll-margin-top: 24px;
}
.feature--wide { grid-column: span 2; grid-row: span 2; }
.feature__head { display: flex; align-items: center; gap: 10px; }
.feature__title { flex-grow: 1; font-size: 16.5px; font-weight: 700; line-height: 1.3; color: var(--ink); }
.feature__desc { font-size: 13.5px; line-height: 1.6; color: var(--text); }
.feature__viz { margin-top: auto; }
.feature__viz--grow { flex-grow: 1; display: flex; flex-direction: column; gap: 14px; }

/* Price history (wide card) */
.vchips { display: flex; flex-wrap: wrap; gap: 6px; font-size: 12px; }
.vchip {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  color: var(--ink);
}
.vchip--on { border-color: var(--blue-200); background: var(--blue-50); color: var(--blue); font-weight: 700; }
.mini-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.mini-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  background: var(--surface-2);
}
.mini-stat__label { font-size: 11.5px; color: var(--muted); }
.mini-stat__value { font-size: 20px; font-weight: 800; color: var(--ink); }
.mini-stat__value--bad { color: var(--red); }
.chart-box {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  padding: 12px 12px 8px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.chart-box__cap { padding-bottom: 6px; font-size: 12px; font-weight: 700; color: var(--muted); }
.chart-box__plot { flex-grow: 1; display: flex; align-items: center; }
.chart-box__plot svg { width: 100%; height: auto; }

/* Stockouts grid */
.stock-grid {
  display: grid;
  grid-template-columns: 46px repeat(4, minmax(0, 1fr));
  gap: 5px;
  align-items: center;
  font-size: 10px;
  color: var(--muted);
}
.stock-grid__col { text-align: center; white-space: nowrap; }
.stock-grid__row { font-weight: 700; color: var(--ink); white-space: nowrap; }
.cell {
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-xs);
  background: var(--green-50);
  color: var(--green);
}
.cell .i { width: 12px; height: 12px; stroke-width: 3; }
.cell--out { background: var(--red-50); color: var(--red); font-size: 10.5px; font-weight: 800; }
.cell--warn { background: var(--amber-50); color: var(--amber); font-size: 11px; font-weight: 800; }

/* Bad reviews (Monitor: average + count + recent low-star reviews) */
.rating-sum {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: var(--r-sm);
  background: var(--surface-2);
}
.rating-sum__avg { font-size: 22px; line-height: 1; font-weight: 800; color: var(--ink); }
.rating-sum__meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; font-size: 11px; color: var(--muted); }
.stars { display: flex; gap: 1px; color: var(--star); }
.stars .i { width: 12px; height: 12px; fill: currentColor; stroke-width: 1.5; }
.stars .i--empty { fill: none; color: #D6DCE7; }
.review-list { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
.review {
  padding: 8px 11px;
  border-radius: var(--r-sm);
  background: var(--red-50);
  font-size: 12px;
  line-height: 1.45;
  color: var(--ink);
}
.review--mid { background: var(--amber-50); }
.review__stars { font-weight: 700; color: var(--red); }
.review--mid .review__stars { color: var(--amber); }
.review__text { font-style: italic; }
.review__src { margin-top: 2px; font-family: var(--font-mono); font-size: 10.5px; color: var(--muted); }

/* Rankings */
.rank-cap, .list-cap { padding-bottom: 6px; font-size: 11.5px; font-weight: 700; color: var(--muted); }
.rows .list-cap, .growth .list-cap { padding-bottom: 0; }
/* Rank, listing, a "Sponsored" chip (empty cell otherwise), price */
.rank-row {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 8px;
  height: 32px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--ink);
}
.rank-row__pos { font-weight: 800; }
.rank-row__brand { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rank-row__price { font-family: var(--font-mono); font-size: 11.5px; }

/* Competitors + stores rows */
.rows { display: flex; flex-direction: column; gap: 6px; }
.row-soft {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  height: 32px;
  padding: 0 10px;
  border-radius: 8px;
  background: var(--surface-2);
  font-size: 12px;
  color: var(--ink);
}
.row-soft__name { font-weight: 600; }
.row-soft__num { font-family: var(--font-mono); font-size: 11.5px; }
.sku-row {
  justify-content: flex-start;
  gap: 6px;
  height: 34px;
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
}
.sku-row > * { flex: none; }
.sku-row .mono { font-size: 10.5px; }
/* In narrow cards the Wayfair SKU gives way first, so the pin never gets clipped */
.sku-row .mono--muted { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; color: var(--muted); }
.sku-row .i { width: 11px; height: 11px; color: var(--muted); }
.sku-row .pin { margin-left: auto; color: var(--blue); }
.sku-row .pin .i { width: 13px; height: 13px; color: var(--blue); }

/* Review growth */
.growth { display: flex; flex-direction: column; gap: 8px; }
.growth__top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.growth__label { font-size: 11.5px; color: var(--muted); }
.growth__value { font-size: 22px; font-weight: 800; color: var(--green); }
.growth svg { width: 100%; height: auto; }

/* Team roles */
.roles { display: flex; flex-direction: column; gap: 4px; }
.role { display: flex; align-items: center; gap: 10px; height: 32px; }
.avatar {
  flex: none;
  width: 26px; height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--blue-50);
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
}
.avatar--green { background: var(--green-50); color: var(--green); }
.avatar--grey { background: var(--track); color: var(--muted); }
.role__bar { flex-grow: 1; height: 8px; border-radius: 4px; background: var(--track); }

/* Coverage (replaces the design's "Multilingual" card) */
.cov { display: flex; flex-direction: column; gap: 6px; }
.cov__scale { display: flex; justify-content: space-between; padding-left: 58px; font-size: 10px; color: var(--muted); }
.cov__row { display: flex; align-items: center; gap: 8px; }
.cov__name { flex: none; width: 50px; font-family: var(--font-mono); font-size: 10px; font-weight: 500; color: var(--ink); }
.cov__days { flex-grow: 1; display: grid; grid-template-columns: repeat(14, minmax(0, 1fr)); gap: 3px; }
.cov__day { height: 14px; border-radius: 3px; background: var(--green-bar); }
.cov__day--gap { background: var(--white); border: 1.5px dashed var(--line-strong); }
.cov__note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 4px;
  font-size: 11px;
  color: var(--muted);
}

/* ---------- 8. Results tabs (#monitor) ---------- */
.tablist {
  margin-top: 32px;
  display: none;               /* shown once site.js is running */
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.js .tablist { display: flex; }
.tab {
  height: 46px;
  padding: 0 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--white);
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  transition: border-color .15s ease, background-color .15s ease;
}
.tab:hover { border-color: var(--blue-200); }
.tab[aria-selected="true"] { border-color: var(--blue); background: var(--blue); color: var(--white); font-weight: 700; }
.tabpanel {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 56px;
  align-items: center;
  padding: 48px;
  border: 1px solid var(--line);
  border-radius: var(--r-3xl);
  background: var(--bg-soft);
  scroll-margin-top: 110px;
}
.js .tabpanel:not(.is-active) { display: none; }
.panel-copy { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.panel-title {
  font-size: 30px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}
.panel-text { font-size: 16px; line-height: var(--lh-body); color: var(--text); }
.ticks { margin-top: 4px; display: flex; flex-direction: column; gap: 12px; }
.ticks li { display: flex; align-items: flex-start; gap: 10px; font-size: 15.5px; line-height: 1.55; color: var(--ink); }
.tick {
  flex: none;
  margin-top: 2px;
  width: 22px; height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
}
.tick .i { width: 12px; height: 12px; stroke-width: 3; }
.panel-actions { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 12px; }
.panel-actions .btn--outline { padding: 0 20px; }

/* Panel mockup shell */
.mock {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-2xl);
  background: var(--white);
  box-shadow: var(--shadow-float);
}
.mock__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mock__title { font-size: 18px; font-weight: 800; color: var(--ink); }
.mock__sub { display: block; margin-top: 2px; font-size: 12px; font-weight: 500; color: var(--muted); }
.mock__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; font-size: 12px; color: var(--muted); }
.fpills { display: flex; flex-wrap: wrap; gap: 8px; }
.fpill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 12px;
  border-radius: var(--r-pill);
  background: var(--track);
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 600;
}
.fpill b { color: var(--muted); font-weight: 700; }
.fpill--on { background: var(--ink); color: var(--white); }
.fpill--on b { color: var(--on-dark); }

/* Alert rows */
.alerts { display: flex; flex-direction: column; gap: 10px; }
.alert {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
}
.alert .tile .i { stroke-width: 2.2; }
.alert__body { flex-grow: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.alert__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 12px; color: var(--muted); }
.alert__title { font-size: 15px; line-height: 1.35; font-weight: 700; color: var(--ink); }
.alert__ids { font-family: var(--font-mono); font-size: 11.5px; color: var(--muted); overflow-wrap: break-word; }
.alert__detail { font-size: 13.5px; line-height: 1.45; color: var(--text); }
.alert__detail--quote { font-style: italic; }
.alert .pill-btn { height: 32px; padding: 0 12px; font-size: 12.5px; }

/* Price history panel */
.ph-table { display: flex; flex-direction: column; }
.ph-row {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(64px, 1fr) auto 62px;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink);
}
.ph-row--head { min-height: 30px; border-top: 0; font-size: 11.5px; font-weight: 700; color: var(--muted); }
.ph-row__name { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ph-row__spark { width: 100%; height: 28px; color: var(--blue); }
.ph-row__price { font-family: var(--font-mono); font-size: 12px; text-align: right; }
.ph-row__chg { font-family: var(--font-mono); font-size: 12px; font-weight: 500; text-align: right; }
.ph-row__chg--down { color: var(--red); }
.ph-row__chg--flat { color: var(--muted); }
.ph-row--head .ph-row__chg, .ph-row--head .ph-row__price { font-family: inherit; }
.ph-row--on { margin: 0 -10px; padding: 0 10px; border-radius: var(--r-sm); background: var(--blue-tint); border-top-color: transparent; }
.ph-row--on + .ph-row { border-top-color: transparent; }
.key { display: inline-flex; align-items: center; gap: 6px; }
.key__line { width: 18px; height: 0; border-top: 2px solid var(--blue); }
.key__line--gap { border-top-style: dashed; border-top-color: var(--x-icon); }

/* Category ranking panel */
.rk-row {
  display: grid;
  grid-template-columns: 24px 82px minmax(0, 1fr) 50px 76px 64px;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--ink);
}
.rk-row--head, .pl-row--head, .dr-row--head { min-height: 30px; border-top: 0; font-size: 11.5px; font-weight: 700; color: var(--muted); }
.rk-row__pos { font-weight: 800; }
.rk-row__name { min-width: 0; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rk-row__name small { display: block; font-size: 11px; font-weight: 500; color: var(--muted); overflow: hidden; text-overflow: ellipsis; }
.rk-row__rate { font-weight: 700; text-align: center; }
.rk-row__rate--none { color: var(--x-icon); font-weight: 500; }
.rk-row__num { font-family: var(--font-mono); font-size: 11.5px; text-align: right; }
.rk-row__num em { display: block; font-style: normal; font-size: 10.5px; color: var(--green); }
.rk-row--head .rk-row__num, .rk-row--head .rk-row__rate,
.pl-row--head .pl-row__num, .dr-row--head .dr-row__num { font-family: inherit; }

/* Coverage panel */
.cov-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.cov-tiles .stat-tile { padding: 10px 12px; }
.cov-tiles .stat-tile__value { font-size: 20px; }
.cov-tiles small { font-size: 13px; font-weight: 700; color: var(--muted); }
.cal { display: flex; flex-direction: column; gap: 6px; }
.cal__cap { display: flex; justify-content: space-between; gap: 8px; font-size: 11.5px; font-weight: 700; color: var(--muted); }
.cal__days { display: grid; grid-template-columns: repeat(14, minmax(0, 1fr)); gap: 4px; }
.cal__day {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  height: 40px;
  border-radius: 8px;
  background: var(--green-50);
  color: var(--green);
  font-size: 10.5px;
  font-weight: 700;
}
.cal__day .i { width: 11px; height: 11px; stroke-width: 3; }
.cal__day--part { background: var(--amber-50); color: var(--amber); }
.cov-rows { display: flex; flex-direction: column; }
.cov-line {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr) 136px;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--ink);
}
.cov-line__name { min-width: 0; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cov-line__name small { display: block; font-family: var(--font-mono); font-size: 10.5px; font-weight: 500; color: var(--muted); }
.cov-line .cov__days { gap: 2px; }
.cov-line .cov__day { height: 12px; }
.cov-line__stat { font-size: 12px; color: var(--muted); text-align: right; white-space: nowrap; }
.cov-line > :last-child { justify-self: end; }

/* ---------- 9. Comparison table (ARIA table on a CSS grid) ---------- */
.compare {
  max-width: 1040px;
  margin: 44px auto 0;
  border: 1px solid var(--line);
  border-radius: var(--r-2xl);
  background: var(--white);
  box-shadow: var(--shadow-card);
}
.compare__row {
  display: grid;
  grid-template-columns: 200px repeat(2, minmax(0, 1fr));
  align-items: stretch;
}
.compare__row + .compare__row { border-top: 1px solid var(--line); }
.compare__corner { padding: 20px 24px; }
.compare__col {
  display: flex;
  align-items: center;
  padding: 20px 24px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}
/* The board sets the grey header labels as plain blocks, top-aligned in the
   20px padding; only the blue Sell Ripple cell centers its logo and text. */
.compare__col:not(.compare__col--ours) { display: block; }
.compare__col--ours {
  gap: 10px;
  border-radius: 16px 16px 0 0;
  background: var(--blue);
  font-family: var(--font-brand);
  font-size: 16px;
  color: var(--white);
}
.compare__col--ours .logo-mark { width: 26px; height: 26px; }
.compare__label {
  display: flex;
  align-items: center;
  padding: 18px 24px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}
.compare__cell {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 24px;
  font-size: 14.5px;
  color: var(--muted);
}
.compare__cell .i { color: var(--x-icon); }
.compare__cell--ours {
  border-left: 2px solid var(--blue);
  border-right: 2px solid var(--blue);
  background: var(--blue-tint);
  font-weight: 600;
  color: var(--ink);
}
.compare__cell--ours .i { color: var(--blue); stroke-width: 2.2; }
.compare__row:last-child .compare__cell--ours {
  border-bottom: 2px solid var(--blue);
  border-radius: 0 0 16px 16px;
}

/* ---------- 10. Steps ---------- */
.steps {
  margin-top: 40px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr) 44px minmax(0, 1fr);
  align-items: stretch;
}
.step { display: flex; flex-direction: column; gap: 12px; padding: 28px 28px 30px; }
.step__top { display: flex; align-items: center; justify-content: space-between; }
.step .tile { width: 50px; height: 50px; border-radius: var(--r-lg); }
.step .tile .i { width: 23px; height: 23px; }
.step__num { font-size: 13px; font-weight: 800; color: var(--blue); }
.step-arrow { display: flex; align-items: center; justify-content: center; }
.step-arrow span {
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--blue);
}
.step-arrow .i { stroke-width: 2.4; }
.center-actions { margin-top: 36px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.center-actions .btn--outline { padding: 0 24px; }

/* ---------- 11. Example scenarios ---------- */
.grid-3 {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.case { display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: var(--r-2xl); }
.case__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.case__id { display: flex; align-items: center; gap: 10px; }
.case .tile { width: 40px; height: 40px; border-radius: var(--r-md); }
.case .tile .i { width: 20px; height: 20px; }
.case__title { font-size: 16px; font-weight: 800; color: var(--ink); }
.case__label { font-size: 11.5px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.case__text { flex-grow: 1; font-size: 15px; line-height: var(--lh-body); color: var(--text); }
.case__result {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px dashed var(--line-dash);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
}
.case__result .i { color: var(--blue); stroke-width: 2.2; }

/* ---------- 12. Pricing ---------- */
.plans {
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 36px 32px 32px;
  border-radius: var(--r-2xl);
  scroll-margin-top: 24px;
}
.plan--featured { border: 2px solid var(--blue); }
.plan__badge {
  position: absolute;
  top: -15px; left: 32px;
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 14px;
  border-radius: var(--r-pill);
  background: var(--blue);
  color: var(--white);
  font-size: 12.5px;
  font-weight: 700;
}
.plan__for { font-size: 13.5px; font-weight: 600; color: var(--muted); }
.plan__name { margin-top: 6px; font-size: 24px; font-weight: 800; color: var(--ink); }
.plan__price { margin-top: 18px; display: flex; align-items: flex-start; gap: 4px; color: var(--ink); }
.plan__cur { margin-top: 8px; font-size: 18px; font-weight: 700; }
.plan__amount { font-size: 52px; line-height: 1; font-weight: 800; letter-spacing: -0.03em; }
.plan__per { align-self: flex-end; margin-bottom: 5px; font-size: 15px; color: var(--muted); }
.plan__quote { margin-top: 18px; font-size: 36px; line-height: 52px; font-weight: 800; color: var(--ink); }
.plan__daily { margin-top: 10px; font-size: 13px; font-weight: 700; color: var(--blue); }
.plan__cta { margin-top: 22px; }
.plan__cta .btn { height: 50px; padding: 0 20px; }
.plan__rule { margin: 24px 0 20px; height: 1px; background: var(--line); }
.plan__list { display: flex; flex-direction: column; gap: 12px; }
.plan__list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; line-height: 1.55; color: var(--text); }
.plan__list .i { color: var(--blue); margin-top: 1px; }
.plan__note { margin-top: 18px; font-size: 13px; line-height: 1.6; color: var(--text); }

/* ---------- 13. FAQ (native <details>) ---------- */
.faq { max-width: 880px; margin-inline: auto; display: flex; flex-direction: column; align-items: center; text-align: center; }
.faq__list { text-align: left; }
.faq__list { margin-top: 36px; width: 100%; display: flex; flex-direction: column; gap: 12px; }
/* The padding sits on <summary> (not on <details>) so the whole card toggles */
.faq__item {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
}
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 24px;
  border-radius: inherit;
  list-style: none;
  cursor: pointer;
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::marker { content: ''; }
.faq__q .i { stroke-width: 2.4; }
.faq__q .i-minus { display: none; }
.faq__item[open] .faq__q { padding-bottom: 10px; color: var(--blue); }
.faq__item[open] .faq__q .i-plus { display: none; }
.faq__item[open] .faq__q .i-minus { display: block; }
.faq__q:hover { color: var(--blue); }
.faq__a { max-width: calc(760px + 48px); padding: 0 24px 20px; font-size: 15.5px; line-height: var(--lh-body); color: var(--text); }
.faq__more { margin-top: 28px; font-size: 15px; }

/* ---------- 14. Closing CTA (#contact on the home pages) ---------- */
.cta {
  position: relative;
  overflow: hidden;
  padding: 88px 0;
  background: var(--navy-900);
}
.cta .ripple-bg { top: 0; }
.cta__grid {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 64px;
}
.cta__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; max-width: 700px; }
.cta__title {
  max-width: 700px;
  font-size: 40px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
  text-wrap: balance;
}
.cta__text { font-size: 17px; line-height: var(--lh-body); color: var(--on-dark); }
.cta__actions { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 12px; }
.cta__actions .btn--ghost { padding: 0 24px; }
.qr-card {
  flex: none;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px;
  border-radius: var(--r-xl);
  background: var(--white);
  --focus: var(--blue);
}
.qr-card__text { display: flex; flex-direction: column; gap: 6px; max-width: 190px; }
.qr-card__title { font-size: 16px; font-weight: 800; line-height: 1.35; color: var(--ink); }
.qr-card__sub { font-size: 13.5px; line-height: 1.5; color: var(--text); }
.qr-card__mail {
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.qr-card__mail .i { width: 15px; height: 15px; }
/* Home closing CTA: the email contact card (.qr-card keeps its name; there is no QR code) */
.qr-card.qr-card--contact { flex-wrap: nowrap; align-items: flex-start; }
.qr-card--contact .qr-card__text { flex: 0 1 250px; min-width: 0; max-width: 250px; }
.qr-card__tile { width: 48px; height: 48px; border-radius: 13px; }
.qr-card__tile .i { width: 22px; height: 22px; }

/* ---------- 15. Footer ---------- */
.site-footer { padding: 64px 0 40px; background: var(--navy-950); color: var(--on-dark); }
.footer__top { display: flex; justify-content: space-between; gap: 64px; }
.footer__brand { flex: 0 1 400px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.footer__tagline { font-size: 14.5px; line-height: var(--lh-body); }
.footer__contact { display: flex; flex-direction: column; gap: 8px; }
.footer__contact li { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.footer__contact .i { width: 16px; height: 16px; color: var(--on-dark-muted); }
.footer__contact a { color: var(--on-dark); text-decoration: none; }
.footer__contact a:hover { color: var(--white); text-decoration: underline; }
.footer__nav { flex: 0 1 600px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer__heading { margin: 0 0 16px; font-size: 15px; font-weight: 700; color: var(--white); }
.footer__links { display: flex; flex-direction: column; gap: 11px; }
.footer__links a { font-size: 14.5px; color: var(--on-dark); text-decoration: none; }
.footer__links a:hover { color: var(--white); text-decoration: underline; }
.footer__legal {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--line-on-dark);
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--on-dark-muted);
}
.footer__legal p { max-width: 900px; }

/* ---------- 16. Floating rail (wide screens only) ---------- */
.rail {
  position: fixed;
  right: 14px;
  top: 320px;
  z-index: 30;
  width: 76px;
  display: flex;
  flex-direction: column;
  padding: 8px 0;
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow-rail);
}
.rail a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 0;
  color: var(--text);
  font-size: 11.5px;
  font-weight: 600;
  text-decoration: none;
}
.rail__icon {
  width: 38px; height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--rail-tint);
  color: var(--blue);
  transition: background-color .15s ease, color .15s ease;
}
.rail a:hover { color: var(--blue); }
.rail a:hover .rail__icon { background: var(--blue-100); }
.rail a.rail__primary { color: var(--blue); }
.rail a.rail__primary .rail__icon { background: var(--blue); color: var(--white); }
.rail a.rail__primary:hover .rail__icon { background: var(--blue-hover); }

/* ---------- 17. Simplified Chinese (from the zh design board) ---------- */
/* The zh board's font stack: glyphs Plus Jakarta Sans lacks (CJK, arrows)
   come from PingFang SC / YaHei rather than the system UI font. body reads
   var(--font-sans), which it inherits from html:lang(zh). */
:lang(zh) {
  --lh-body: 1.8;
  --font-sans: 'Plus Jakarta Sans', 'PingFang SC', 'Noto Sans SC', 'Hiragino Sans GB', 'Microsoft YaHei',
    'Noto Sans CJK SC', sans-serif;
}
:lang(zh) .hero__title { font-size: 50px; line-height: 1.28; letter-spacing: 0.01em; }
:lang(zh) .section-title,
:lang(zh) .cta__title { font-size: 38px; line-height: 1.35; letter-spacing: 0.01em; }
:lang(zh) .panel-title { letter-spacing: 0.01em; }

/* ---------- 18. Responsive ---------- */
@media (max-width: 1399px) {
  .rail { display: none; }
}

@media (max-width: 1279px) {
  .hero__figure { min-height: 0; }
  .issue__sku { font-size: 10.5px; }
}

@media (max-width: 1100px) {
  /* Header collapses to a menu button */
  .site-header__inner { gap: 16px; }
  .menu-toggle { display: inline-flex; }
  .js .menu { display: none; }
  .menu {
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    padding: 16px var(--gutter) 24px;
    border-bottom: 1px solid var(--line-on-dark);
    background: var(--navy-950);
    box-shadow: 0 24px 40px -20px rgba(0, 0, 0, 0.6);
  }
  .js .menu.is-open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line-on-dark); font-size: 16px; }
  .header-actions { flex-wrap: wrap; gap: 12px 16px; }
  .header-actions .btn { flex: 1 0 100%; order: 3; height: 48px; }

  /* Touch-sized targets in the open menu and the footer */
  .login-link { display: inline-flex; align-items: center; min-height: 44px; margin-left: -6px; padding: 0 6px; }
  .lang-switch a { height: 40px; }
  .footer__links { gap: 0; margin-top: -11px; }
  .footer__links a { display: inline-block; padding: 11px 0; }

  /* Without JavaScript the menu cannot open, so it sits in the flow under the logo */
  html:not(.js) .site-header { position: relative; background: var(--navy-900); }
  html:not(.js) .hero { padding-top: 0; }
  html:not(.js) .site-header__inner { flex-wrap: wrap; height: auto; min-height: var(--header-h); padding-top: 19px; row-gap: 12px; }
  html:not(.js) .menu-toggle { display: none; }
  html:not(.js) .menu { position: static; flex-basis: 100%; padding: 0 0 20px; border: 0; background: none; box-shadow: none; }

  .hero__grid { grid-template-columns: minmax(0, 1fr); row-gap: 48px; }
  .hero__copy { max-width: 640px; }
  .hero__figure { max-width: 620px; padding: 0; }

  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature--wide { grid-row: auto; }
  .feature--wide .chart-box__plot svg { max-height: 300px; }

  .tabpanel { grid-template-columns: minmax(0, 1fr); gap: 36px; padding: 40px; }
  .tabpanel .mock { max-width: 600px; width: 100%; justify-self: center; }

  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .step { padding: 24px 24px 26px; }
  .step .card-title { font-size: 17.5px; }

  .footer__top { flex-direction: column; gap: 44px; }
  .footer__brand, .footer__nav { flex-basis: auto; }
}

@media (max-width: 900px) {
  .steps { grid-template-columns: minmax(0, 1fr); gap: 0; max-width: 560px; margin-inline: auto; }
  .step-arrow { height: 44px; }
  .step-arrow .i { transform: rotate(90deg); }
  .grid-3 { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin-inline: auto; }
  .cta__grid { flex-direction: column; align-items: flex-start; gap: 40px; }
}

@media (max-width: 768px) {
  :root { --gutter: 24px; }
  .section, .section--roomy { padding: 56px 0; }
  .section-title, .cta__title { font-size: 32px; }
  :lang(zh) .section-title, :lang(zh) .cta__title { font-size: 30px; }
  .section-lead { font-size: 16px; }
  .grid-4, .bento, .grid-3 { margin-top: 32px; }

  .hero__grid { padding: 40px 0 44px; }
  .hero__title { font-size: 36px; }
  :lang(zh) .hero__title { font-size: 38px; }
  .hero__lead { font-size: 16.5px; }

  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 24px; padding: 28px 0 36px; }
  .stat { padding: 0 20px; }
  .stat:nth-child(odd) { padding-left: 0; border-left: 0; }
  .stat__value { font-size: 30px; }

  .tablist { gap: 8px; }
  .tab { height: 40px; padding: 0 16px; font-size: 14px; }
  .tabpanel { padding: 28px 20px; border-radius: var(--r-2xl); }
  .panel-title { font-size: 26px; }

  /* Comparison: label on its own line, two columns under it */
  .compare__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* The corner leaves the layout but stays a column header for screen readers,
     so every data row still has a header for each of its 3 cells */
  .compare__corner {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .compare__col { padding: 16px; font-size: 14px; }
  .compare__col--ours { font-size: 14px; }
  .compare__label { grid-column: 1 / -1; padding: 16px 16px 4px; font-size: 14.5px; }
  .compare__cell { align-items: flex-start; padding: 8px 16px 16px; font-size: 13.5px; line-height: 1.45; }
  .compare__cell .i { margin-top: 1px; }
  .compare__cell--ours { padding-top: 12px; }
  .compare__row + .compare__row { border-top: 0; }
  .compare__row + .compare__row .compare__label { border-top: 1px solid var(--line); }

  .plans { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin: 40px auto 0; gap: 32px; }
  .plan { padding: 32px 24px 28px; }
  .plan__badge { left: 24px; }

  .faq__q { padding: 18px 20px; font-size: 16px; gap: 16px; }
  .faq__a { padding: 0 20px 18px; font-size: 15px; }

  .cta { padding: 64px 0; }
  .site-footer { padding-top: 56px; }
}

@media (max-width: 640px) {
  .grid-4, .bento { grid-template-columns: minmax(0, 1fr); }
  .feature--wide { grid-column: auto; }
  .ph-row { grid-template-columns: minmax(0, 1fr) 64px auto 54px; gap: 8px; }
  .rk-row { grid-template-columns: 20px 78px minmax(0, 1fr) 70px; gap: 8px; }
  .rk-row__rate, .rk-row__rev, .rk-foot-rev { display: none; }
  /* Mockup micro-text: 11px floor on phones */
  .stock-grid__col, .stock-grid__row, .cov__name, .cov__scale,
  .chip--sm, .issue__sku, .sku-row .mono { font-size: 11px; }
  .cov-line { grid-template-columns: minmax(0, 1fr) auto; row-gap: 6px; padding: 8px 0; }
  .cov-line .cov__days { grid-column: 1 / -1; grid-row: 2; }
  .qr-card { flex-wrap: wrap; }
}

@media (max-width: 480px) {
  :root { --gutter: 16px; }
  .section-title, .cta__title { font-size: 28px; }
  :lang(zh) .section-title, :lang(zh) .cta__title { font-size: 27px; }
  .hero__title { font-size: 32px; }
  :lang(zh) .hero__title { font-size: 33px; }
  .hero-form { flex-wrap: wrap; padding: 6px 6px 6px 14px; }
  .hero-form input { flex-basis: calc(100% - 28px); }
  .hero-form .btn { width: 100%; }
  .hero__checks { flex-direction: column; gap: 8px; }
  .checkup__head, .checkup__body { padding-left: 14px; padding-right: 14px; }
  .stat-tile { padding: 10px; }
  .stat-tile__value { font-size: 22px; }
  .issue { padding: 10px; gap: 10px; }
  .issue .pill-btn { display: none; }
  .stat { padding: 0 12px; }
  .stat__value { font-size: 26px; }
  .stat__label { font-size: 13px; }
  .pain-card, .step, .case { padding: 22px; }
  .mock { padding: 16px; }
  .alert { padding: 12px; }
  .alert .pill-btn { display: none; }
  .cal__day { height: 34px; font-size: 10.5px; }
  .cal__day .i { display: none; }
  .cov-tiles .stat-tile__value { font-size: 17px; }
  .cov-tiles .stat-tile__value small { display: block; }   /* "/ 129" on its own line, never a dangling slash */
  .mini-stats { gap: 8px; }
  .mini-stat { padding: 8px 10px; }
  .mini-stat__value { font-size: 17px; }
  .plan__amount { font-size: 46px; }
  .footer__nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }

  /* Comparison: one column per row, the Sell Ripple answer boxed in blue */
  .compare__row + .compare__row { grid-template-columns: minmax(0, 1fr); }
  .compare__row + .compare__row .compare__cell { padding: 4px 16px 10px; }
  .compare__row + .compare__row .compare__cell--ours,
  .compare__row:last-child .compare__cell--ours {
    margin: 0 12px 14px;
    padding: 10px 12px;
    border: 2px solid var(--blue);
    border-radius: var(--r-sm);
  }
}

@media (max-width: 400px) {
  /* Mockup tables: names wrap instead of being cut to "Slate / …" */
  .ph-row { grid-template-columns: minmax(0, 1fr) 44px auto 50px; gap: 6px; }
  .ph-row__name { white-space: normal; line-height: 1.25; }
  .ph-row--head { font-size: 11px; white-space: nowrap; }
  .rk-row__name small { white-space: normal; }
  .mini-stat { padding: 8px; }
  .mini-stat__value { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media print {
  .site-header, .rail, .menu-toggle, .tablist { display: none !important; }
  .js .tabpanel:not(.is-active) { display: grid; }
  .hero, .cta, .site-footer { background: #fff; color: #000; }
}

/* Late additions (kept separate so the section order above stays readable) */
.chip--count { padding: 0 8px; font-size: 12px; }
.cal__legend { display: flex; gap: 10px; }
.cal__legend span { display: inline-flex; align-items: center; gap: 5px; }
.cal__legend span::before { content: ''; width: 9px; height: 9px; border-radius: 3px; background: var(--green-50); border: 1px solid var(--green-bar); }
.cal__legend .cal__legend-part::before { background: var(--amber-50); border-color: var(--star); }
.cal__day b { font-weight: 800; line-height: 1; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- 19. Simplified Chinese page only (:lang(zh-Hans)) ----------
   Everything below matches only inside <html lang="zh-Hans"> (zh/index.html),
   so the English page renders exactly as before. */

/* Headings and short labels break only at spaces and punctuation, so a word
   such as "每天" or "Wayfair" is never split across lines (the design breaks
   titles at the full-width comma). break-word is the safety net for a phrase
   wider than its box; body copy keeps normal CJK line breaking. */
:lang(zh-Hans) :is(.hero__title, .section-title, .cta__title, .panel-title, .card-title,
  .feature__title, .case__title, .plan__name, .plan__quote, .faq__q, .qr-card__title,
  .mock__title, .compare__col, .compare__label, .footer__heading) {
  word-break: keep-all;
  overflow-wrap: break-word;
}

/* The zh board shows a visible "对比项" label in the comparison table's corner
   cell (the English page keeps that cell's label for screen readers only). */
:lang(zh-Hans) .compare__corner {
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
}

/* Centered section leads are one or two short clauses: on narrow screens they
   wrap at the punctuation between clauses, in balanced lines, instead of
   splitting a word ("项|目", "供|应商") or leaving a two-character last line. */
:lang(zh-Hans) .section-lead {
  word-break: keep-all;
  overflow-wrap: anywhere;
  text-wrap: balance;
}
/* anywhere (not break-word) also lowers the min-content width, so a long
   keep-all run in a flex or grid item wraps instead of widening the page */
:lang(zh-Hans) .compare__label { overflow-wrap: anywhere; }

/* ======================================================================
   20. SUBPAGES: shared components for every page except the two home pages
   (pricing, monitor, research, how-it-works, faq, help, support, terms,
   privacy, refunds, 404). Class list and markup: README "Subpage conventions".
   Most selectors below use classes the home pages don't carry (or
   [aria-current] inside .site-nav, which the home pages never set); the home
   pages use .fine-print from here too. This is the only stylesheet:
   there are no page-level CSS files, <style> blocks or style="" attributes.
   ====================================================================== */

/* ---------- 20.1 Header: current page in the main nav ---------- */
.site-nav a[aria-current="page"] {
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: var(--accent-light);
  text-decoration-thickness: 2px;
  text-underline-offset: 9px;
}

/* ---------- 20.2 Page hero (navy, ripple background, breadcrumb) ---------- */
/* <section class="page-hero"> sits under the absolute header like .hero does.
   Variants: --center (centered copy), --legal (shorter), --error (404),
   and .page-hero__grid for a two-column hero with a mockup. */
.page-hero {
  --focus: var(--accent-light);
  position: relative;
  overflow: hidden;
  padding-top: var(--header-h);
  background: var(--navy-900);
  color: var(--on-dark);
}
.page-hero .ripple-bg { top: 0; }
.page-hero__inner {
  position: relative;
  max-width: 820px;
  padding: 44px 0 64px;
}
.page-hero--center .page-hero__inner {
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.page-hero__title {
  margin-top: 18px;
  font-size: 42px;
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
  text-wrap: balance;
}
.page-hero__title .hl { color: var(--accent-light); }
.page-hero__lead {
  margin-top: 18px;
  max-width: 700px;
  font-size: 17.5px;
  line-height: var(--lh-body);
  color: var(--on-dark);
  text-wrap: pretty;
}
.page-hero__actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.page-hero--center .page-hero__actions,
.page-hero--center .hero__checks { justify-content: center; }
.page-hero__meta {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--on-dark-muted);
}
.page-hero__meta strong { font-weight: 700; color: var(--on-dark-strong); }
.page-hero--legal .page-hero__inner { padding-bottom: 52px; }
.page-hero--legal .page-hero__title { font-size: 38px; }
.page-hero--error .page-hero__inner { padding: 72px 0 96px; }
.page-hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 560px);
  align-items: center;
  gap: 56px;
  padding: 44px 0 64px;
}
.page-hero__grid .page-hero__inner { padding: 0; }
.page-hero__figure { position: relative; min-width: 0; }

/* Breadcrumb (on the navy hero): <nav class="breadcrumb" aria-label="Breadcrumb"><ol>… */
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.5;
}
.breadcrumb li { display: inline-flex; align-items: center; gap: 8px; color: var(--on-dark-muted); }
.breadcrumb li + li::before { content: '/'; color: rgba(255, 255, 255, 0.34); }
.breadcrumb a { color: var(--on-dark); text-decoration: none; }
.breadcrumb a:hover { color: var(--white); text-decoration: underline; }
.breadcrumb [aria-current="page"] { color: var(--on-dark-strong); }

/* In-page jump links (chips). On the navy hero by default; --light on white. */
.jump-links { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.page-hero--center .jump-links { justify-content: center; }
.jump-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line-on-dark);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.06);
  color: var(--on-dark-strong);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.jump-links a:hover { border-color: rgba(255, 255, 255, 0.4); color: var(--white); }
.jump-links--light a { border-color: var(--line); background: var(--white); color: var(--ink); }
.jump-links--light a:hover { border-color: var(--blue-200); color: var(--blue); }

/* ---------- 20.3 Section helpers ---------- */
.section--tight { padding: 52px 0; }
.section-head--left { align-items: flex-start; text-align: left; }
.eyebrow {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
}
.grid-2 {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.fine-print {
  max-width: 820px;
  margin: 28px auto 0;
  font-size: 14px;
  line-height: 1.65;
  text-align: center;
  color: var(--muted);
  text-wrap: pretty;
}
.fine-print a { font-weight: 700; white-space: nowrap; }
.section-foot { margin-top: 32px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 24px; }

/* Info card: a titled card for facts (billing, contact, "what happens next") */
.info-card { display: flex; flex-direction: column; gap: 14px; min-width: 0; padding: 30px; border-radius: var(--r-2xl); }
.info-card__head { display: flex; align-items: center; gap: 12px; }
.info-card .tile { width: 46px; height: 46px; border-radius: 13px; }
.info-card .tile .i { width: 22px; height: 22px; }
.info-card__title { font-size: 20px; line-height: 1.35; font-weight: 800; color: var(--ink); }
.info-card__text { font-size: 15px; line-height: var(--lh-body); color: var(--text); }
.info-card__foot { margin-top: auto; padding-top: 16px; border-top: 1px dashed var(--line-dash); font-size: 14.5px; line-height: 1.6; }

/* Lists with icons: .check-list (included), .check-list--x (not included) */
.check-list { display: flex; flex-direction: column; gap: 12px; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; line-height: 1.6; color: var(--text); }
.check-list .i { margin-top: 3px; color: var(--blue); stroke-width: 2.2; }
.check-list--x .i { color: var(--muted); }
.check-list strong { font-weight: 700; color: var(--ink); }

/* Numbered procedure: <ol class="num-steps"><li><span class="num-steps__title">…</span>… */
.num-steps { counter-reset: num-step; display: flex; flex-direction: column; gap: 18px; }
.num-steps > li {
  counter-increment: num-step;
  position: relative;
  min-height: 34px;
  padding-left: 50px;
  font-size: 15.5px;
  line-height: var(--lh-body);
  color: var(--text);
}
.num-steps > li::before {
  content: counter(num-step);
  position: absolute;
  left: 0; top: 0;
  width: 34px; height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--blue-100);
  color: var(--blue);
  font-size: 15px;
  font-weight: 800;
}
.num-steps__title { display: block; font-size: 16.5px; font-weight: 800; line-height: 1.5; color: var(--ink); }

/* Showcase: the results-tab look (copy + mockup) without tabs, always visible.
   Reuses .panel-copy, .panel-title, .panel-text, .ticks, .panel-actions, .mock. */
.showcase {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 56px;
  align-items: center;
  padding: 48px;
  border: 1px solid var(--line);
  border-radius: var(--r-3xl);
  background: var(--bg-soft);
  scroll-margin-top: 24px;
}
.showcase + .showcase { margin-top: 28px; }
.section-head + .showcase { margin-top: 44px; }
.showcase--flip > .panel-copy { order: 2; }
.section--soft .showcase { background: var(--white); }

/* ---------- 20.4 Callouts and placeholders ---------- */
/* <div class="callout [--warn|--note]"><svg class="i">…</svg><div class="callout__body">… */
.callout {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  border: 1px solid var(--blue-200);
  border-radius: var(--r-lg);
  background: var(--blue-tint);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
}
.callout > .i { width: 20px; height: 20px; margin-top: 2px; color: var(--blue); }
.callout__body { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.callout__body p { margin: 0; }
.callout__title { font-weight: 800; color: var(--ink); }
.callout--note { border-color: var(--line); background: var(--surface-2); }
.callout--note > .i { color: var(--muted); }
.callout--warn { border-color: #EFD39A; background: var(--amber-50); }
.callout--warn > .i { color: var(--amber); }

/* ---------- 20.5 Long text: .prose, .data-table, .ui-label ---------- */
.prose { max-width: 760px; font-size: 16.5px; line-height: var(--lh-body); color: var(--text); }
.prose > * + * { margin-top: 1em; }
.prose > :first-child { margin-top: 0; }
.prose h2 {
  margin-top: 2.2em;
  font-size: 26px;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
  scroll-margin-top: 24px;
  text-wrap: balance;
}
.prose h3 { margin-top: 1.7em; font-size: 19px; line-height: 1.4; font-weight: 800; color: var(--ink); scroll-margin-top: 24px; }
.prose h2 + *, .prose h3 + * { margin-top: 0.6em; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: 0.45em; }
.prose li::marker { color: var(--blue); }
.prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.prose a:hover { color: var(--blue-hover); }
.prose strong { font-weight: 700; color: var(--ink); }
.prose code { padding: 0.1em 0.35em; border-radius: 5px; background: var(--track); color: var(--ink); font-family: var(--font-mono); font-size: 0.88em; }
.prose .callout, .prose .data-table, .prose .num-steps { margin-top: 1.4em; }
.prose .callout + *, .prose .data-table + * { margin-top: 1.4em; }
.prose .num-steps, .prose .check-list { padding-left: 0; list-style: none; }
.prose .num-steps > li + li, .prose .check-list li + li { margin-top: 0; }
.prose--legal h2 { font-size: 23px; }
.prose--legal h3 { font-size: 17.5px; }

/* Real <table> for small reference tables (keep to 2–3 columns so it fits at 320px) */
.data-table {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  background: var(--white);
  font-size: 14.5px;
  line-height: 1.55;
}
/* The caption is indented to the cell text, clear of the table's rounded, overflow-hidden corner */
.data-table caption { padding: 0 0 8px 16px; text-align: left; font-size: 13.5px; font-weight: 700; color: var(--muted); }
.data-table th, .data-table td { padding: 12px 16px; text-align: left; vertical-align: top; overflow-wrap: break-word; }
.data-table tr + tr > * { border-top: 1px solid var(--line); }
.data-table thead th { background: var(--surface-2); font-size: 13px; font-weight: 700; color: var(--muted); }
.data-table tbody th { font-weight: 700; color: var(--ink); }
.data-table td { color: var(--text); }

/* A dashboard page or label named in a help article: <span class="ui-label">Alert center</span>.
   English pages give the English name; Chinese pages the dashboard's own label. */
.ui-label {
  display: inline-block;
  padding: 0 0.4em;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: var(--surface-2);
  color: var(--ink);
  font-size: 0.92em;
  font-weight: 700;
  line-height: 1.5;
  white-space: nowrap;
}

/* ---------- 20.6 Document layout with a sticky table of contents ---------- */
/* <div class="doc-layout"><aside class="doc-layout__aside"><nav class="toc">…</nav></aside>
   <div class="doc-layout__main">…</div></div>  (legal pages, how-it-works, help center) */
.doc-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}
.doc-layout__aside { position: sticky; top: 24px; max-height: calc(100vh - 48px); overflow-y: auto; }
.doc-layout__main { min-width: 0; }
.doc-layout__main > .callout { max-width: 760px; margin-bottom: 36px; }
.doc-layout__main > .article { max-width: 760px; }
.toc { padding: 18px 14px; border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--white); }
.toc__title { padding: 0 10px 8px; font-size: 12.5px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.toc__list { display: flex; flex-direction: column; gap: 2px; }
.toc__list a {
  display: block;
  padding: 7px 10px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text);
  text-decoration: none;
}
.toc__list a:hover { background: var(--bg-soft); color: var(--blue); }
.toc__list a[aria-current] { background: var(--blue-50); color: var(--blue); }

/* ---------- 20.7 Plan comparison table (.compare--plans on the home .compare) ---------- */
/* Row 1: .compare__row--head with .compare__corner + two .compare__col--plan.
   Data rows: .compare__label + two .compare__cell (Monitor first, then Research).
   Cells: .compare__cell--yes (check-circle icon) or --no (minus icon); an
   optional <small class="compare__note"> under the value. */
.compare--plans { max-width: 1080px; padding: 12px 12px 12px 0; }
.compare--plans .compare__row { grid-template-columns: 250px repeat(2, minmax(0, 1fr)); column-gap: 10px; }
.compare--plans .compare__row--head { position: sticky; top: 0; z-index: 2; background: var(--white); }
.compare--plans .compare__corner {
  display: flex;
  align-items: flex-end;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.compare--plans .compare__col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 18px 22px;
  border-radius: 16px 16px 0 0;
  background: var(--blue);
  color: var(--white);
}
.compare--plans .compare__col--research { background: var(--navy-900); }
.compare__plan { display: flex; align-items: center; gap: 10px; font-family: var(--font-brand); font-size: 18px; font-weight: 700; line-height: 1.3; color: var(--white); }
.compare__plan .logo-mark { width: 26px; height: 26px; }
.compare__price { font-size: 14px; font-weight: 600; color: var(--on-dark-strong); }
.compare--plans .compare__label { align-items: flex-start; font-size: 14.5px; line-height: 1.45; }
.compare--plans .compare__cell { align-items: flex-start; padding: 16px 22px; background: var(--blue-tint); color: var(--ink); font-weight: 500; line-height: 1.45; }
.compare--plans .compare__cell .i { margin-top: 1px; }
.compare--plans .compare__row > :nth-child(3).compare__cell { background: var(--surface-2); }
.compare--plans .compare__row:last-child .compare__cell { border-radius: 0 0 16px 16px; }
.compare--plans .compare__cell > span { min-width: 0; }
.compare--plans .compare__cell--yes .i { color: var(--blue); stroke-width: 2.2; }
.compare--plans .compare__cell--no { color: var(--muted); }
.compare--plans .compare__cell--no .i { color: var(--muted); }
.compare__note { display: block; margin-top: 2px; font-size: 13px; font-weight: 500; line-height: 1.45; color: var(--muted); }

/* ---------- 20.8 FAQ page (groups of the home .faq__list / .faq__item) ---------- */
.faq-page { max-width: 880px; margin-inline: auto; }
.faq-page > .jump-links { margin: 0 0 40px; }
.faq-group { scroll-margin-top: 24px; }
.faq-group + .faq-group { margin-top: 56px; }
.faq-group__title { display: flex; align-items: center; gap: 12px; font-size: 24px; line-height: 1.3; font-weight: 800; letter-spacing: -0.01em; color: var(--ink); }
.faq-group .faq__list { margin-top: 20px; }
.faq__a > p + p, .faq__a > p + ul, .faq__a > ul + p { margin-top: 0.7em; }
.faq__a ul { padding-left: 1.3em; list-style: disc; }
.faq__a li + li { margin-top: 0.3em; }

/* ---------- 20.9 Help center ---------- */
.help-cards { margin-top: 36px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.help-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  padding: 22px;
  color: inherit;
  text-decoration: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
a.help-card:hover { border-color: var(--blue-200); box-shadow: var(--shadow-float); color: inherit; }
.help-card__title { font-size: 16.5px; line-height: 1.35; font-weight: 800; color: var(--ink); }
.help-card__text { flex-grow: 1; font-size: 14px; line-height: 1.6; color: var(--text); }
.help-card__more { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 700; color: var(--blue); }
.help-card__more .i { width: 15px; height: 15px; }
/* One help article = one <article class="article" id="…"> inside .doc-layout__main */
.article { scroll-margin-top: 24px; }
.article + .article { margin-top: 56px; padding-top: 56px; border-top: 1px solid var(--line); }
.article__head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.article__title { font-size: 28px; line-height: 1.25; font-weight: 800; letter-spacing: -0.01em; color: var(--ink); }
.article__top { margin-top: 20px; }

/* ---------- 20.10 Support / contact ---------- */
.contact-grid { margin-top: 44px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.contact-link { display: inline-flex; align-items: center; gap: 8px; font-size: 15.5px; font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.contact-link .i { width: 17px; height: 17px; }
.contact-link:hover { text-decoration: underline; }

/* ---------- 20.11 Closing CTA without the QR card, and the 404 page ---------- */
.cta--center .cta__grid { justify-content: center; text-align: center; }
.cta--center .cta__copy { align-items: center; max-width: 780px; }
.cta--center .cta__title { max-width: 780px; }
.cta--center .cta__actions { justify-content: center; }
/* The guarantee lines under a centered CTA stay centered when they wrap */
.cta--center .hero__checks { justify-content: center; }
.error-code { font-family: var(--font-mono); font-size: 15px; font-weight: 500; letter-spacing: 0.12em; color: var(--accent-light); }

/* ---------- 20.11b Two plan cards (home #pricing, pricing #plans) ----------
   The custom plan card was retired on 2026-09-28: Monitor and Research sit side
   by side in a narrower row, then stack at the same widths as .plans. */
.plans--two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 880px; margin-inline: auto; }

/* ---------- 20.12 Subpages: Simplified Chinese ---------- */
:lang(zh) .page-hero__title { font-size: 46px; line-height: 1.3; letter-spacing: 0.01em; }
:lang(zh) .page-hero--legal .page-hero__title { font-size: 38px; }
:lang(zh) .eyebrow, :lang(zh) .toc__title { letter-spacing: 0.04em; }
:lang(zh-Hans) :is(.page-hero__title, .info-card__title, .faq-group__title, .article__title,
  .help-card__title, .num-steps__title, .compare__plan, .callout__title) {
  word-break: keep-all;
  overflow-wrap: anywhere;
}
:lang(zh-Hans) .fine-print { text-wrap: balance; }
/* Short table headers ("恢复可售", "采集频率") never split inside the word */
:lang(zh-Hans) .data-table th { word-break: keep-all; }
/* Hero leads keep normal CJK line breaking with strict kinsoku (no line starts
   with "，" or "。") and no one- or two-character last line. Only the short
   centered leads wrap at punctuation, in balanced lines, as the home section
   leads do: keep-all on a long lead leaves runs wider than the line, which
   overflow-wrap then splits at an arbitrary point. */
:lang(zh-Hans) .page-hero__lead { line-break: strict; text-wrap: pretty; }
:lang(zh-Hans) .page-hero--center .page-hero__lead {
  word-break: keep-all;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

/* ---------- 20.13 Subpages: responsive ---------- */
@media (max-width: 1100px) {
  html:not(.js) .page-hero { padding-top: 0; }
  .page-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .page-hero__figure { max-width: 620px; }
  .showcase { grid-template-columns: minmax(0, 1fr); gap: 36px; padding: 40px; }
  .showcase--flip > .panel-copy { order: 0; }
  .showcase .mock { max-width: 600px; width: 100%; justify-self: center; }
  .doc-layout { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .doc-layout__aside { position: static; max-height: none; overflow: visible; }
  .toc__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 12px; }
  .help-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .compare--plans .compare__row { grid-template-columns: 200px repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .grid-2, .contact-grid { grid-template-columns: minmax(0, 1fr); max-width: 640px; margin-inline: auto; }
  .cta--center .cta__grid { align-items: center; }
}

@media (max-width: 768px) {
  .plans--two { grid-template-columns: minmax(0, 1fr); max-width: 520px; }
  .section--tight { padding: 44px 0; }
  .page-hero__inner, .page-hero__grid { padding: 32px 0 48px; }
  .page-hero__grid .page-hero__inner { padding: 0; }
  .page-hero--error .page-hero__inner { padding: 56px 0 72px; }
  .page-hero__title, .page-hero--legal .page-hero__title { font-size: 34px; }
  :lang(zh) .page-hero__title, :lang(zh) .page-hero--legal .page-hero__title { font-size: 34px; }
  .page-hero__lead { font-size: 16.5px; }
  .grid-2, .contact-grid, .help-cards, .section-head + .showcase { margin-top: 32px; }
  .showcase { padding: 28px 20px; border-radius: var(--r-2xl); }
  .info-card { padding: 24px; }
  .prose { font-size: 16px; }
  .prose h2 { font-size: 23px; }
  .prose--legal h2 { font-size: 21px; }
  .faq-group + .faq-group { margin-top: 44px; }
  .faq-group__title { font-size: 21px; }
  .article + .article { margin-top: 44px; padding-top: 44px; }
  .article__title { font-size: 24px; }

  /* Plan table: feature name on its own line, Monitor | Research side by side under it */
  .compare--plans { padding: 8px 8px 12px; }
  .compare--plans .compare__row { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 8px; }
  .compare--plans .compare__col { padding: 12px 14px; border-radius: 12px; }
  .compare__plan { font-size: 16px; }
  .compare__plan .logo-mark { display: none; }
  .compare__price { font-size: 13px; }
  .compare--plans .compare__row .compare__label { padding: 14px 6px 6px; }
  .compare--plans .compare__row .compare__cell,
  .compare--plans .compare__row:last-child .compare__cell { padding: 10px 12px; border-radius: 10px; }
  .compare__note { font-size: 12.5px; }
}

@media (max-width: 640px) {
  .help-cards { grid-template-columns: minmax(0, 1fr); }
  .toc__list { grid-template-columns: minmax(0, 1fr); }
  .data-table { font-size: 14px; }
  .data-table th, .data-table td { padding: 10px 12px; }
  .data-table caption { padding-left: 12px; }
}

@media (max-width: 480px) {
  .page-hero__title, .page-hero--legal .page-hero__title { font-size: 30px; }
  :lang(zh) .page-hero__title, :lang(zh) .page-hero--legal .page-hero__title { font-size: 30px; }
  .jump-links a { padding: 0 14px; font-size: 13.5px; }
  .info-card { padding: 22px 20px; }
  .callout { padding: 16px; gap: 12px; }
  .num-steps > li { padding-left: 46px; }
  /* Keep both plan columns (the home table goes to one column here) */
  .compare--plans .compare__row + .compare__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .compare--plans .compare__row + .compare__row .compare__cell { margin: 0; padding: 10px; border: 0; }
  .compare--plans .compare__cell { gap: 8px; font-size: 13.5px; }
  .compare--plans .compare__cell .i { width: 16px; height: 16px; }
}

/* 320px phones: three-column reference tables keep inside the page, and a
   Chinese title or question wider than the screen wraps instead of widening it */
@media (max-width: 400px) {
  .data-table th, .data-table td { padding: 9px 8px; }
  .data-table caption { padding-left: 8px; }
  :lang(zh-Hans) :is(.cta__title, .faq__q) { overflow-wrap: anywhere; }
}

@media print {
  .doc-layout { grid-template-columns: minmax(0, 1fr); }
  .doc-layout__aside, .jump-links { display: none; }
  .page-hero { background: #fff; color: #000; padding-top: 0; }
  .page-hero__title, .page-hero__lead, .breadcrumb * { color: #000; }
  .compare--plans .compare__row--head { position: static; }
}

/* ======================================================================
   21. PRODUCT PAGES: mockup pieces used only by monitor.html and
   research.html (EN + ZH). Formerly assets/pages-products.css.
   ====================================================================== */

/* Hero: product pill and the mockup card on the navy hero */
.page-hero .eyebrow-pill { margin-top: 20px; }
.page-hero__figure .mock {
  border: 0;
  box-shadow: var(--shadow-hero-card);
  color: var(--text);          /* .page-hero sets light text; the card is white */
  text-align: left;
}

/* Product list (Monitor hero). Head row and numbers share the .rk-row rules in section 8 */
.pl-table { display: flex; flex-direction: column; }
.pl-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 58px 88px 88px;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--ink);
}
.pl-row__name { min-width: 0; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pl-row__name small {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
}
.pl-pin { display: inline-flex; vertical-align: -1px; margin-left: 4px; color: var(--blue); }
.pl-pin .i { width: 12px; height: 12px; }
.pl-row__num, .dr-row__num { font-family: var(--font-mono); font-size: 12px; text-align: right; }
.pl-row__num em { display: block; font-style: normal; font-size: 10.5px; color: var(--muted); }
.pl-row__num .is-down { color: var(--red); }
.pl-row__num .is-up { color: var(--green); }
.pl-row__rev { justify-self: end; text-align: right; font-size: 12px; color: var(--text); }

/* Bulk add (Monitor) */
.paste { display: flex; flex-direction: column; gap: 6px; }
.paste__label { font-size: 12px; font-weight: 700; color: var(--muted); }
.paste__box {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 12px 14px;
  border: 1.5px solid var(--blue-200);
  border-radius: var(--r-md);
  background: var(--surface-2);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink);
}
.paste__line { display: flex; align-items: center; gap: 10px; min-width: 0; white-space: nowrap; }
.paste__sku { flex: none; color: var(--blue); }
.paste__url { min-width: 0; overflow: hidden; text-overflow: ellipsis; color: var(--text); }
.paste__line .chip { flex: none; margin-left: auto; font-family: var(--font-sans); }
.paste__found { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--green); }
.paste__found .i { width: 16px; height: 16px; stroke-width: 2.2; }
.flow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font-size: 12px; font-weight: 600; color: var(--ink); }
.flow li { display: inline-flex; align-items: center; gap: 6px; }
.flow__n {
  flex: none;
  width: 20px; height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--blue-100);
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
}
.flow__arrow .i { width: 14px; height: 14px; color: var(--x-icon); }
.mock__actions { display: flex; justify-content: flex-end; }

/* Price trend (Monitor) */
.vchips__label { display: inline-flex; align-items: center; height: 26px; margin-right: 2px; font-size: 11.5px; font-weight: 700; color: var(--muted); }
.vchip--out { color: var(--muted); text-decoration: line-through; }
.vchip--none { border-style: dashed; border-color: var(--line-strong); color: var(--muted); }
.dr { display: flex; flex-direction: column; }
.dr-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 100px;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--ink);
}
.dr-row > :nth-child(3) { justify-self: start; }

/* Chart keys */
.key__swatch { flex: none; width: 14px; height: 10px; border: 1px dashed var(--line-strong); border-radius: 2px; background: var(--track); }
.key__dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }

/* Team and stores (Monitor): the rows are the home .sku-row / .role */
.team-mock .role__name { flex-grow: 1; min-width: 0; font-size: 12.5px; font-weight: 600; color: var(--ink); }
.team-mock .role__what { font-size: 11.5px; color: var(--muted); white-space: nowrap; }

/* Competitor variants (Research) */
.vgrid { display: grid; grid-template-columns: 52px repeat(3, minmax(0, 1fr)); gap: 6px; }
.vgrid__col { font-size: 11.5px; font-weight: 700; text-align: center; color: var(--muted); }
.vgrid__row { align-self: center; font-size: 12px; font-weight: 700; color: var(--ink); }
.vcell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 50px;
  padding: 6px 4px;
  border-radius: var(--r-sm);
  background: var(--green-50);
  text-align: center;
}
.vcell__price { font-family: var(--font-mono); font-size: 12px; font-weight: 500; color: var(--ink); }
.vcell__st { font-size: 11px; font-weight: 700; color: var(--green); }
.vcell--low { background: var(--amber-50); }
.vcell--low .vcell__st { color: var(--amber); }
.vcell--out { background: var(--red-50); }
.vcell--out .vcell__st { color: var(--red); }
.vcell--none { border: 1.5px dashed var(--line-strong); background: var(--white); }
.vcell--none .vcell__st { font-weight: 600; color: var(--muted); }

/* Star breakdown (Research) */
.sbars { display: flex; flex-direction: column; gap: 6px; }
.sbar { display: grid; grid-template-columns: 28px minmax(0, 1fr) 46px; align-items: center; gap: 8px; font-size: 12px; color: var(--ink); }
.sbar__label { font-weight: 700; white-space: nowrap; }
.sbar__track { height: 8px; overflow: hidden; border-radius: 4px; background: var(--track); }
.sbar__fill { display: block; height: 100%; border-radius: 4px; background: var(--star); }
.sbar__fill--72 { width: 72%; }
.sbar__fill--14 { width: 14%; }
.sbar__fill--6 { width: 6%; }
.sbar__fill--3 { width: 3%; }
.sbar__fill--5 { width: 5%; }
.sbar__num { font-family: var(--font-mono); font-size: 11.5px; text-align: right; color: var(--muted); }

/* Section pieces */
.showcase .panel-copy .data-table { margin-top: 2px; }
.showcase-note { margin-top: 24px; }
.showcase-note + .showcase { margin-top: 28px; }
.info-card__foot p + p { margin-top: 6px; }
/* Ranks 201–300 (Research): no placement column (no sponsored rows), a wider
   rank column fits "300", and a dropped-out listing says so in its name line */
.rk-table--tail .rk-row { grid-template-columns: 30px minmax(0, 1fr) 50px 76px 64px; }

/* Responsive */
@media (max-width: 640px) {
  .pl-row { grid-template-columns: minmax(0, 1fr) 64px 82px; gap: 8px; }
  .pl-row__rev { display: none; }
  .dr-row { gap: 8px; }
  .team-mock .role__what { display: none; }
  /* Ranks 201–300: the rating stays, the review count goes */
  .rk-table--tail .rk-row { grid-template-columns: 28px minmax(0, 1fr) 52px 70px; }
  .rk-table--tail .rk-row__rate { display: block; }
  .rk-table--tail .rk-row__name small { white-space: nowrap; }
}

@media (max-width: 480px) {
  .paste__box { padding: 10px 12px; }
  .flow { flex-direction: column; align-items: flex-start; }
  .flow .flow__arrow { display: none; }
  .vgrid { grid-template-columns: 44px repeat(3, minmax(0, 1fr)); gap: 4px; }
  .vcell { min-height: 46px; padding: 6px 2px; }
  .vcell__price, .vcell__st { font-size: 11px; }
  .rk-table--tail .rk-row { grid-template-columns: 26px minmax(0, 1fr) 46px 66px; gap: 6px; }
}

@media (max-width: 400px) {
  .showcase .mini-stat__value { font-size: 15px; }
}
