/* ============================================================================
   ROOTS BY BENDA — "Stellar" design system  (system.css)
   K136, 2026-06-19. Replaces the cream museum.css ("specimen catalogue").
   Cool / clinical / data-forward. Indigo accent #4f46e5 on white over #f7f8fb.
   GENERATED by .k134-brand/build_system_css.py — edit the generator, re-run.
   Self-hosted Inter (no font CDN). Brand mark = GOLD hexagon #B6892E (unchanged).
   ZERO page-motion (per K134 pivot); the specimen card is the only moving thing.
   Re-skins the K133 .rm-* homepage markup via redefined --rm-* tokens.
   Spec: .k134-brand/DESIGN_PIVOT_PLAN.md
   ========================================================================== */

/* ---- Self-hosted fonts (latin) — NO external CDN (copy of museum.css pattern) -- */
@font-face{
  font-family:'Inter';
  font-style:normal;font-weight:400 700;font-display:swap;
  src:url('/css/fonts/inter-latin.woff2') format('woff2');
}
@font-face{
  font-family:'JetBrains Mono';
  font-style:normal;font-weight:400 700;font-display:swap;
  src:url('/css/fonts/jetbrains-mono-latin.woff2') format('woff2');
}

:root{
  /* ---- Stellar canonical tokens ---- */
  --st-bg:#f7f8fb;            /* page */
  --st-surface:#ffffff;       /* cards / inputs */
  --st-surface-2:#f1f3f9;     /* recessed fields, hover wells */
  --st-text:#111827;          /* primary ink */
  --st-muted:#5c6472;         /* secondary text */
  --st-border:#d8deea;        /* hairlines */
  --st-accent:#4f46e5;        /* indigo accent */
  --st-accent-strong:#4338ca; /* hover / pressed indigo */
  --st-accent-wash:#eef2ff;   /* indigo tint surface (chips, reference) */
  --st-on-accent:#ffffff;
  --st-gold:#b6892e;          /* BRAND MARK ONLY — never recolored */

  /* split-pill / status semantics (cool, NOT crimson-red) */
  --st-alert-bg:#92400e;      /* must-label SOLID amber fill (7.09:1 on #fff) */
  --st-alert-text:#ffffff;
  --st-ref-bg:#eef2ff;        /* reference chip — indigo wash */
  --st-ref-text:#4f46e5;
  --st-ok-bg:#dcfce7;         /* clear / pass — green tint */
  --st-ok-text:#166534;
  --st-fail-bg:#fee2e2;       /* fail — warm-RED, NOT harsh crimson (#b91c1c text) */
  --st-fail-text:#b91c1c;
  --st-live-bg:#4f46e5;       /* live-data badge — solid indigo */
  --st-live-text:#ffffff;

  /* vitrine (molecule plate) — palette-neutral dark, pops on any bg */
  --st-vitrine:#0f1424;
  --st-vitrine-glow:rgba(79,70,229,.55); /* indigo idle glow (was gold) */

  /* type voices — Inter throughout (no serif display, no separate mono face for body) */
  --st-display:'Inter',system-ui,-apple-system,Segoe UI,sans-serif;
  --st-body:'Inter',system-ui,-apple-system,Segoe UI,sans-serif;
  --st-mono:'JetBrains Mono',ui-monospace,SFMono-Regular,monospace;

  --st-radius:14px;           /* home radius */
  --st-radius-tool:12px;      /* tool-page radius */
  --st-maxw:1140px;
  --st-shadow:0 18px 50px rgba(8,30,60,.07);
  --st-shadow-sm:0 6px 18px rgba(8,30,60,.06);

  /* ---- Museum token names REDEFINED to Stellar (re-skin K133 markup) ---- */
  --rm-paper:var(--st-bg);    /* was cream #efe7d4 */
  --rm-bone:var(--st-surface);/* was #f8f1e0 -> white surfaces */
  --rm-ink:var(--st-text);    /* was #1d1710 */
  --rm-gr:var(--st-muted);    /* was #6f604e */
  --rm-hair:var(--st-border); /* was #cbbfaa */
  --rm-gold:var(--st-gold);   /* BRAND MARK — STAYS GOLD #b6892e */
  --rm-bronze:var(--st-accent);/* was depth-brown -> indigo (links/depth accents) */
  --rm-vit:var(--st-vitrine); /* molecule vitrine -> cool dark */
  --rm-gw:var(--st-accent-wash);/* gold-wash stamp fill -> indigo wash */
  --rm-maxw:var(--st-maxw);
}

/* ---- Reset / base ---------------------------------------------------------- */
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body,body.rm{
  margin:0;background:var(--st-bg);color:var(--st-text);
  font-family:var(--st-body);line-height:1.55;
  -webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;
  overflow-x:hidden;
}
.rm img{max-width:100%;display:block}
.rm a{color:inherit;text-decoration:none}
.rm :focus-visible{outline:2px solid var(--st-accent);outline-offset:2px;border-radius:2px}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* ====================== STELLAR COMPONENTS (.st-*) ========================= */

/* ---- Layout primitives ---- */
.st-wrap{width:min(100%,var(--st-maxw));margin-inline:auto;padding-inline:clamp(20px,5vw,28px)}
.st-rule{height:1px;background:var(--st-border)}
.st-rule--ink{height:2px;background:var(--st-text)}
.st-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* ---- Type voices ---- */
.st-eyebrow{font-family:var(--st-mono);font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:var(--st-accent)}
.st-acc{font-family:var(--st-mono);font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--st-muted)}
.st-h1{font-family:var(--st-display);font-size:clamp(38px,5.5vw,64px);line-height:1.03;letter-spacing:-.02em;margin:14px 0 14px}
.st-h2{font-family:var(--st-display);font-size:26px;line-height:1.1;margin:0}
.st-lead{color:var(--st-muted);font-size:18px;line-height:1.6;margin:0;max-width:46ch}

/* ---- Buttons (pill, indigo). btn--ghost = outline indigo ---- */
.st-btn,.btn{
  appearance:none;display:inline-flex;align-items:center;justify-content:center;gap:8px;
  border:1px solid var(--st-accent);background:var(--st-accent);color:var(--st-on-accent);
  font-family:var(--st-body);font-weight:600;font-size:15px;
  padding:12px 22px;border-radius:999px;cursor:pointer;white-space:nowrap;text-decoration:none;
  transition:background .15s ease,border-color .15s ease,transform .05s ease;
}
.st-btn:hover,.btn:hover{background:var(--st-accent-strong);border-color:var(--st-accent-strong)}
.st-btn:active,.btn:active{transform:translateY(1px)}
.st-btn--ghost,.btn--ghost{background:transparent;color:var(--st-accent)}
.st-btn--ghost:hover,.btn--ghost:hover{background:var(--st-accent-wash)}

/* ---- Fields + textarea ---- */
.st-field,.field{
  width:100%;background:var(--st-surface);border:1px solid var(--st-border);
  border-radius:999px;padding:12px 18px;color:var(--st-text);
  font-family:var(--st-body);font-size:15px;
}
.st-field::placeholder,.field::placeholder{color:var(--st-muted)}
.st-field:focus,.field:focus{outline:2px solid var(--st-accent);outline-offset:1px;border-color:var(--st-accent)}
.st-label{font-family:var(--st-mono);font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--st-muted);display:block;margin-bottom:8px}
.st-textarea{
  width:100%;min-height:140px;resize:vertical;background:var(--st-surface-2);
  border:1px solid var(--st-border);border-radius:calc(var(--st-radius-tool) - 3px);
  padding:12px;color:var(--st-text);font-family:var(--st-mono);font-size:13px;line-height:1.6;
}
.st-textarea:focus{outline:2px solid var(--st-accent);outline-offset:1px;border-color:var(--st-accent)}

/* ---- Card + card__rule + card__in (provenance instrument shell) ---- */
.st-card,.card{
  background:var(--st-surface);border:1px solid var(--st-border);
  border-radius:var(--st-radius);overflow:hidden;box-shadow:var(--st-shadow);
}
.st-card--tool{border-radius:var(--st-radius-tool);box-shadow:none;padding:22px}
.st-card__rule,.card__rule{height:4px;background:var(--st-accent)}
.st-card__in,.card__in{padding:26px 28px 24px}

/* ---- Stat ---- */
.st-stat strong,.stat strong{display:block;font-family:var(--st-display);font-size:clamp(34px,4.5vw,54px);line-height:1;letter-spacing:-.02em}
.st-stat span,.stat span{color:var(--st-muted);font-family:var(--st-mono);font-size:11px;letter-spacing:.12em;text-transform:uppercase}

/* ---- How-card (numbered method tiles) ---- */
.st-how-card,.how-card{background:var(--st-surface);border:1px solid var(--st-border);border-radius:var(--st-radius);padding:24px}
.st-how-card .n,.how-card .n{font-family:var(--st-mono);font-size:12px;color:var(--st-accent);letter-spacing:.1em}
.st-how-card h3,.how-card h3{font-family:var(--st-display);font-size:20px;margin:10px 0 8px}
.st-how-card p,.how-card p{color:var(--st-muted);font-size:14px;margin:0}

/* ---- CTA card (full indigo block) ---- */
.st-cta-card,.cta-card{
  background:var(--st-accent);color:var(--st-on-accent);border-radius:var(--st-radius);
  padding:clamp(28px,4vw,44px);display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap;
}
.st-cta-card h2,.cta-card h2{font-family:var(--st-display);font-size:clamp(26px,3vw,38px);margin:0}
.st-cta-card .st-btn,.cta-card .btn{background:var(--st-surface);color:var(--st-accent);border-color:var(--st-surface)}
.st-cta-card .st-btn:hover,.cta-card .btn:hover{background:var(--st-accent-wash)}

/* ---- Chip / hit (reference + matched) ---- */
.st-chip,.chip{font-size:13px;padding:6px 12px;border-radius:999px;border:1px solid var(--st-border);background:var(--st-surface);color:var(--st-text)}
.st-chip.hit,.chip.hit{background:var(--st-alert-bg);color:var(--st-alert-text);border-color:transparent;font-weight:600}

/* ---- Data row + indigo source link (card body rows) ---- */
.st-rows{display:flex;flex-direction:column}
.st-row,.data-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-top:1px solid var(--st-border)}
.st-row .k,.data-row .k{color:var(--st-muted);font-size:13px}
.st-row .v,.data-row .v{font-weight:600}
.st-row a,.data-row a,.st-source-link{color:var(--st-accent);text-decoration:none;font-size:12px;font-family:var(--st-mono);text-transform:uppercase;letter-spacing:.06em}
.st-row a:hover,.data-row a:hover,.st-source-link:hover{color:var(--st-accent-strong);text-decoration:underline}
.st-locator{margin:16px 0 0;color:var(--st-muted);font-size:12.5px;line-height:1.5}

/* ====================== SPLIT PILLS / STATUS (cool) ======================= */
/* DEFAULT must-label = SOLID amber fill (#92400e/#fff, 7.09:1). NOT a tint. */
.st-pill{display:inline-flex;align-items:center;gap:5px;font-family:var(--st-mono);font-size:10px;letter-spacing:.06em;text-transform:uppercase;font-weight:700;padding:4px 10px;border-radius:999px}
.st-pill--alert,.pill--alert{background:var(--st-alert-bg);color:var(--st-alert-text)}
/* DISTINCT reference chip — indigo wash, visually separate from the amber alert */
.st-chip--ref,.chip--ref{background:var(--st-ref-bg);color:var(--st-ref-text);font-family:var(--st-mono);font-size:10px;letter-spacing:.06em;text-transform:uppercase;font-weight:700;padding:4px 10px;border-radius:999px;display:inline-flex;align-items:center;gap:5px;border:1px solid transparent}
.st-pill--ok,.ok{background:var(--st-ok-bg);color:var(--st-ok-text)}
.st-pill--fail,.fail{background:var(--st-fail-bg);color:var(--st-fail-text)}
.st-badge--live{display:inline-flex;align-items:center;gap:5px;font-family:var(--st-mono);font-size:10px;letter-spacing:.08em;text-transform:uppercase;font-weight:700;padding:4px 10px;border-radius:999px;background:var(--st-live-bg);color:var(--st-live-text)}
.st-badge{display:inline-flex;align-items:center;gap:5px;font-family:var(--st-mono);font-size:10px;letter-spacing:.08em;text-transform:uppercase;font-weight:700;padding:4px 10px;border-radius:999px;background:var(--st-accent-wash);color:var(--st-accent)}

/* ====================== NAV + HAMBURGER (mobile) ========================== */
.st-nav{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 0;border-bottom:1px solid var(--st-border)}
.st-brand{display:inline-flex;align-items:center;gap:10px;color:var(--st-text);text-decoration:none;font-family:var(--st-display);font-weight:700;font-size:22px}
.st-nav__links{display:flex;gap:20px;flex-wrap:wrap;align-items:center}
.st-nav__links a{color:var(--st-muted);text-decoration:none;font-family:var(--st-mono);font-size:12px;letter-spacing:.08em;text-transform:uppercase}
.st-nav__links a:hover{color:var(--st-accent)}
.st-nav__links a.signin,.st-nav__links a.st-nav__signin{color:var(--st-accent);font-weight:700}
/* hamburger toggle — hidden on desktop, shown <=860px (NOT display:none nav) */
.st-nav__toggle{
  display:none;appearance:none;background:transparent;border:1px solid var(--st-border);
  border-radius:10px;width:42px;height:42px;cursor:pointer;align-items:center;justify-content:center;
  color:var(--st-text);
}
.st-nav__toggle svg{width:20px;height:20px;display:block}
@media(max-width:860px){
  .st-nav__toggle{display:inline-flex}
  .st-nav__links{
    display:none;position:absolute;left:0;right:0;top:100%;z-index:60;flex-direction:column;
    align-items:flex-start;gap:14px;background:var(--st-surface);border:1px solid var(--st-border);
    border-radius:0 0 14px 14px;box-shadow:var(--st-shadow);padding:16px 20px;
  }
  .st-nav{position:relative}
  .st-nav.is-open .st-nav__links{display:flex}
}

/* ============ GREEN-PURGE -> COOL (indigo/neutral, never crimson) =========
   Legacy K133 Tailwind utilities green-*/emerald-* read as a "safe/pass" green
   signal. Stellar has no green brand voice -> remap to indigo accent + neutral
   ink. Mirrors the shared.css purge SURFACE; remaps to cool, not bronze.
   Scope to both light triggers so it wins wherever the legacy rule applies. */
.text-green-400,.text-green-500,.text-emerald-400,.text-emerald-500,
[data-theme="light"] .text-green-400,[data-theme="light"] .text-emerald-400{
  color:var(--st-accent)!important;
}
.bg-green-500\/10,.bg-green-500\/20,.bg-emerald-900\/20,.bg-emerald-500\/10,
[data-theme="light"] .bg-green-500\/10,[data-theme="light"] .bg-green-500\/20,
[data-theme="light"] .bg-emerald-900\/20{
  background-color:var(--st-accent-wash)!important;
}
.border-green-500,.border-green-500\/30,.border-emerald-500,.border-emerald-500\/30,
[data-theme="light"] .border-green-500,[data-theme="light"] .border-green-500\/30,
[data-theme="light"] .border-emerald-500,[data-theme="light"] .border-emerald-500\/30{
  border-color:rgba(79,70,229,.4)!important;
}
@media (prefers-color-scheme:light){
  :root:not([data-theme="dark"]) .text-green-400,
  :root:not([data-theme="dark"]) .text-emerald-400{color:var(--st-accent)!important}
  :root:not([data-theme="dark"]) .bg-green-500\/10,
  :root:not([data-theme="dark"]) .bg-green-500\/20,
  :root:not([data-theme="dark"]) .bg-emerald-900\/20{background-color:var(--st-accent-wash)!important}
  :root:not([data-theme="dark"]) .border-green-500,
  :root:not([data-theme="dark"]) .border-green-500\/30,
  :root:not([data-theme="dark"]) .border-emerald-500,
  :root:not([data-theme="dark"]) .border-emerald-500\/30{border-color:rgba(79,70,229,.4)!important}
}
/* legacy brand-green utility hooks -> indigo (Stellar has no green brand) */
.text-brand-green{color:var(--st-accent)!important}
.bg-brand-green{background-color:var(--st-accent)!important}
.border-brand-green{border-color:var(--st-accent)!important}
.hover\:text-brand-green:hover{color:var(--st-accent-strong)!important}
.hover\:bg-brand-green-light:hover{background-color:var(--st-accent-strong)!important}
.hover\:border-brand-green:hover{border-color:var(--st-accent-strong)!important}

/* =============== .rm-* RE-SKIN -> STELLAR (re-skin K133 markup) ============
   museum.css is REPLACED by this file. These rules restate the .rm-* surface in
   Stellar: Inter everywhere (no Fraunces serif), indigo accents, white surfaces,
   cool hairlines. Tokens (--rm-*) already remapped to Stellar above. */

/* base + links */
body.rm{font-family:var(--st-body)}
.rm a{color:inherit}
.rm-skip{position:absolute;left:16px;top:-120%;background:var(--st-text);color:var(--st-surface);padding:10px 16px;border-radius:0 0 10px 10px;z-index:200;font-size:14px;transition:top .15s ease}
.rm-skip:focus{top:0}
.rm-skip:focus-visible{outline-color:var(--st-accent)}

/* type voices — were serif/mono, now Inter */
.rm-sf{font-family:var(--st-display);font-weight:700;letter-spacing:-.01em}
.rm-mn{font-family:var(--st-mono)}
.rm-acc{font-family:var(--st-mono);font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--st-muted)}

/* layout primitives */
.rm-wrap{width:min(100%,var(--st-maxw));margin-inline:auto;padding-inline:clamp(20px,5vw,28px)}
.rm-rule{height:1px;background:var(--st-border)}
.rm-rule--ink{height:2px;background:var(--st-text)}

/* controls */
.rm-btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;height:48px;padding:0 24px;
  background:var(--st-accent);color:var(--st-on-accent);border:1px solid var(--st-accent);border-radius:999px;
  font-family:var(--st-body);font-weight:600;font-size:15px;cursor:pointer;white-space:nowrap;
  transition:background .15s ease,transform .05s ease;
}
.rm-btn:hover{background:var(--st-accent-strong)}
.rm-btn:active{transform:translateY(1px)}
.rm-btn--ghost{background:transparent;color:var(--st-accent);border-color:var(--st-accent)}
.rm-btn--ghost:hover{background:var(--st-accent-wash)}
.rm-btn--inverse{background:var(--st-surface);border-color:var(--st-surface)}
.rm a.rm-btn--inverse,.rm-btn--inverse{color:var(--st-accent)}
.rm-btn--inverse:hover{background:var(--st-accent-wash)}
.rm-field{
  height:48px;width:100%;background:var(--st-surface);border:1px solid var(--st-border);color:var(--st-text);
  font-family:var(--st-body);font-size:15px;padding:0 18px;border-radius:999px;outline:none;
  transition:border-color .15s ease;
}
.rm-field::placeholder{color:var(--st-muted)}
.rm-field:focus{border-color:var(--st-accent);outline:2px solid var(--st-accent);outline-offset:1px}

/* nav — cool. NOTE: the K133 markup hides links <860px with no toggle; the
   next-phase index.html edit adds the .st-nav__toggle hamburger. Here we keep
   the nav usable: links wrap rather than vanish, and we soften the heavy ink
   bottom-border to a Stellar hairline. */
.rm-nav{
  display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;
  padding-block:18px;border-bottom:1px solid var(--st-border);
}
.rm-brand{display:flex;align-items:center;gap:11px}
.rm-brand__word{font-family:var(--st-display);font-weight:700;font-size:22px}
.rm-brand__by{font-style:normal;font-weight:600;color:var(--st-accent)}
.rm-nav__links{display:flex;flex-wrap:wrap;gap:12px 18px;align-items:center}
.rm-nav__links a:hover{color:var(--st-accent)}
.rm-nav__signin{color:var(--st-accent);font-weight:700}
/* K136 hamburger cascade fix: this MUST come after the unconditional .rm-nav__links{display:flex}
   above so it wins the source-order tie at <=860px (the header carries .st-nav, JS toggles .is-open). */
@media(max-width:860px){
  .rm-nav__links{display:none}
  .st-nav.is-open .rm-nav__links{display:flex;flex-direction:column;align-items:flex-start;gap:14px;width:100%;padding-top:8px}
}

/* hero */
.rm-hero{display:grid;grid-template-columns:1fr;gap:36px;align-items:center;padding-block:clamp(40px,7vw,92px)}
.rm-hero__kicker{display:flex;align-items:center;gap:10px;margin-bottom:16px;color:var(--st-accent)}
.rm-hero__kicker span.dash{width:30px;height:1px;background:var(--st-accent);display:inline-block}
.rm-hero__title{
  font-family:var(--st-display);font-weight:700;font-size:clamp(40px,5.5vw,68px);
  line-height:1.02;letter-spacing:-.02em;margin:0;overflow-wrap:break-word;
}
.rm-hero__title em{font-style:normal;color:var(--st-accent)} /* clay focal word -> indigo */
.rm-hero__sub{font-size:clamp(16px,1.4vw,19px);line-height:1.6;color:var(--st-muted);max-width:46ch;margin:18px 0 0}
.rm-search{display:flex;flex-direction:column;gap:10px;margin-top:26px;max-width:520px;position:relative}
.rm-search .rm-field{flex:1;min-width:0}
.rm-hint{font-size:13px;color:var(--st-muted);margin:14px 0 0}
.rm-hint a{color:var(--st-accent);border-bottom:1px solid var(--st-border)}
.rm-hint a:hover{border-color:var(--st-accent)}

/* stats */
.rm-stats{display:grid;grid-template-columns:1fr;border-top:1px solid var(--st-border);border-bottom:1px solid var(--st-border)}
.rm-stat{padding:22px 0;border-bottom:1px solid var(--st-border)}
.rm-stat:last-child{border-bottom:0}
.rm-stat__n{font-family:var(--st-display);font-weight:700;font-size:clamp(32px,3.6vw,54px);line-height:1;letter-spacing:-.02em}
.rm-stat__l{margin-top:6px;color:var(--st-muted)}

/* method */
.rm-method{display:grid;grid-template-columns:1fr}
.rm-mcard{padding:24px 0;border-bottom:1px solid var(--st-border)}
.rm-mcard:last-child{border-bottom:0}
.rm-mcard__h{font-family:var(--st-display);font-weight:700;font-size:22px}
.rm-mcard__p{font-size:14px;color:var(--st-muted);line-height:1.55;margin:12px 0 0;max-width:38ch}

/* cta + footer */
.rm-cta{padding-block:clamp(40px,5vw,72px)}
.rm-cta__panel{display:flex;flex-direction:column;align-items:flex-start;gap:20px;background:var(--st-accent);color:var(--st-on-accent);border-radius:var(--st-radius);padding:clamp(28px,4.5vw,52px)}
.rm-cta__h{font-family:var(--st-display);font-weight:700;font-size:clamp(28px,3.6vw,50px);line-height:1.02;margin:0}
.rm-foot{text-align:center;padding:24px 16px;border-top:1px solid var(--st-border);background:var(--st-surface);color:var(--st-muted)}
.rm-foot a{color:var(--st-accent)}

/* search dropdown (autocomplete) */
.rm-dropdown{
  position:absolute;top:calc(100% + 4px);left:0;right:0;z-index:40;display:none;
  background:var(--st-surface);border:1px solid var(--st-border);border-radius:12px;overflow:hidden;
  box-shadow:var(--st-shadow);max-height:360px;overflow-y:auto;
}
.rm-opt{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 16px;border-bottom:1px solid var(--st-border);cursor:pointer}
.rm-opt:last-child{border-bottom:0}
.rm-opt:hover,.rm-opt[aria-selected="true"]{background:var(--st-accent-wash)}
.rm-opt__name{font-size:15px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rm-opt__cas{font-family:var(--st-mono);font-size:12px;color:var(--st-muted)}
.rm-opt__more{display:block;padding:10px 16px;text-align:center;font-family:var(--st-mono);font-size:12px;color:var(--st-accent);border-top:1px solid var(--st-border)}

/* rise motion — page is zero-motion by spec; keep as a no-op fade for the hero
   block but stripped of transform so nothing "moves". Reduced-motion = none. */
.rm-rise{animation:none}
@media (prefers-reduced-motion:reduce){.rm-rise{animation:none}}

/* breakpoints — scale the .rm-* grids up from mobile (cool, same structure) */
@media (min-width:680px){
  .rm-search{flex-direction:row}
  .rm-stats{grid-template-columns:repeat(3,1fr)}
  .rm-stat{padding:26px 26px 26px 0;border-bottom:0;border-right:1px solid var(--st-border)}
  .rm-stat:not(:first-child){padding-left:26px}
  .rm-stat:last-child{border-right:0;padding-right:0}
  .rm-method{grid-template-columns:repeat(3,1fr)}
  .rm-mcard{padding:30px 22px;border-bottom:0;border-right:1px solid var(--st-border)}
  .rm-mcard:first-child{padding-left:0}
  .rm-mcard:last-child{border-right:0;padding-right:0}
}
@media (min-width:860px){
  .rm-cta__panel{flex-direction:row;align-items:center;justify-content:space-between;gap:24px}
}
@media (min-width:920px){
  .rm-hero{grid-template-columns:1fr .9fr;gap:clamp(36px,5vw,64px)}
}
