/* =========================================================================
   RAYO — design system
   -------------------------------------------------------------------------
   A product surface for a Solana trading bot, not a blog with a bot link.
   Near-black ground, one electric violet, one neutral scale, a green/red
   pair reserved strictly for PNL, and gold reserved strictly for key
   numbers. Dark only, on purpose: this is a trading product, and every
   surface is painted explicitly rather than inherited from the OS.

   1. Tokens          6. Hero + device mockup
   2. Reset           7. Product sections
   3. Primitives      8. Article / prose
   4. Masthead        9. Footer + utility pages
   5. Tape           10. Motion + reduced motion
   ========================================================================= */

/* ------------------------------------------------------------- 1. TOKENS */
:root {
  color-scheme: dark;

  /* Ground and surfaces. Each step is a real elevation, not a tint. */
  --ground:    #08090d;
  --surface-1: #0d0f15;
  --surface-2: #12151d;
  --surface-3: #191d27;
  --surface-glass: rgba(15, 17, 24, 0.74);

  --hair:        rgba(255, 255, 255, 0.06);
  --line:        rgba(255, 255, 255, 0.11);
  --line-strong: rgba(255, 255, 255, 0.20);

  /* Neutral ink scale. --ink-3 is the floor: 4.6:1 on --ground, so even the
     faintest text on this site clears WCAG AA for body copy. */
  --ink:   #f6f7fb;
  --ink-2: #a8aebe;
  --ink-3: #767d8f;

  /* EXPLORATION ONLY (branch lime-accent-exploration, not on main): acid
     lime replaces violet as the site accent, per the designer's argument
     that the new "LA Y RAYO" mark's lime should carry through to CTAs,
     links, and highlights rather than staying mark-only. Same variable
     names, same job split, so every component below needed zero changes:
     --volt-400 is text on the dark ground, --volt-500/600/700 are fills
     BEHIND text, and since lime is a bright fill, that text is now dark
     (--volt-ink flipped from white to near-black) rather than white. */
  --volt-300: #eaffa0;
  --volt-400: #d9ff2b;
  --volt-500: #c8ee1f;
  --volt-600: #b4d61a;
  --volt-700: #9bb814;
  --volt-ink: #08090d;
  --volt-wash: rgba(217, 255, 43, 0.14);
  --volt-wash-2: rgba(217, 255, 43, 0.07);
  --volt-edge: rgba(217, 255, 43, 0.36);
  --volt-glow: rgba(180, 214, 26, 0.42);

  /* PNL only. Never brand chrome, never a button, never a link. */
  --up:   #2fd98a;
  --down: #ff6259;
  --up-wash:   rgba(47, 217, 138, 0.12);
  --down-wash: rgba(255, 98, 89, 0.12);

  /* Key numbers only, and only where the value really is a number. Never a
     button, a link, a badge, or a word. */
  --key: #f5c542;

  --focus: #d9ff2b;

  /* Type. Sora carries every display and UI surface; Inter carries running
     text. Both fall back to the platform stack so nothing reflows badly if
     Google Fonts is blocked. */
  --font-display: Sora, "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-body: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, system-ui, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  --t-xs:   clamp(0.75rem, 0.735rem + 0.07vw, 0.8rem);
  --t-sm:   clamp(0.8125rem, 0.79rem + 0.11vw, 0.875rem);
  --t-base: clamp(0.9375rem, 0.915rem + 0.11vw, 1rem);
  --t-md:   clamp(1.0625rem, 1.02rem + 0.2vw, 1.1875rem);
  --t-lg:   clamp(1.2rem, 1.13rem + 0.34vw, 1.4rem);
  --t-xl:   clamp(1.45rem, 1.3rem + 0.7vw, 1.9rem);
  --t-2xl:  clamp(1.75rem, 1.48rem + 1.3vw, 2.6rem);
  --t-3xl:  clamp(2.1rem, 1.6rem + 2.4vw, 3.4rem);
  --t-hero: clamp(2.25rem, 1.6rem + 2.9vw, 3.3rem);

  /* Space, on a 4px base. */
  --s1: 0.25rem;  --s2: 0.5rem;   --s3: 0.75rem;  --s4: 1rem;
  --s5: 1.25rem;  --s6: 1.5rem;   --s8: 2rem;     --s10: 2.5rem;
  --s12: 3rem;    --s16: 4rem;    --s20: 5rem;
  --gutter: clamp(1.15rem, 0.85rem + 1.4vw, 2rem);
  --sect:   clamp(3.5rem, 2.4rem + 4.4vw, 7rem);

  --r-xs: 6px;  --r-sm: 10px; --r-md: 14px;
  --r-lg: 20px; --r-xl: 28px; --r-full: 999px;

  --sh-1: 0 1px 2px rgba(0, 0, 0, 0.4);
  --sh-2: 0 12px 28px -12px rgba(0, 0, 0, 0.7);
  --sh-3: 0 40px 90px -30px rgba(0, 0, 0, 0.85);

  --measure: 42rem;
  --measure-wide: 58rem;
  --shell: 74rem;
  --nav-h: 4.25rem;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --fast: 140ms;
  --mid: 240ms;
}

/* -------------------------------------------------------------- 2. RESET */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--t-base);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-wrap: break-word;
}

img, svg, video { max-width: 100%; display: block; }
table { border-collapse: collapse; }
a { color: inherit; overflow-wrap: break-word; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 3px; }
::selection { background: var(--volt-600); color: var(--volt-ink); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.022em;
  margin: 0 0 0.5em;
  color: var(--ink);
  text-wrap: balance;
}
h1 { letter-spacing: -0.033em; overflow-wrap: normal; }
p { margin: 0 0 1.05em; }
ul, ol { padding-left: 1.25em; margin: 0 0 1.05em; }
li { margin-bottom: 0.35em; }
strong, b { font-weight: 650; color: var(--ink); }
code { font-family: var(--font-mono); font-size: 0.92em; }

/* --------------------------------------------------------- 3. PRIMITIVES */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.prose { max-width: var(--measure); }
.prose-wide { max-width: var(--measure-wide); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 300;
  background: var(--volt-600); color: var(--volt-ink);
  padding: 0.7em 1.1em; border-radius: var(--r-sm);
  font-family: var(--font-display); font-size: var(--t-sm); font-weight: 600;
}
.skip-link:focus { left: var(--s4); top: var(--s4); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* Buttons. Minimum hit area is 44px tall everywhere, including the compact
   masthead variant, so no control on this site is a small target. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 2.9rem;
  padding: 0.72em 1.5em;
  font-family: var(--font-display); font-weight: 600; font-size: var(--t-sm);
  letter-spacing: 0.005em;
  color: var(--volt-ink);
  text-decoration: none;
  /* Flat, exact brand lime, not the darker --volt-500/700 gradient: that
     gradient read as a dull olive on a real phone screen. --volt-400 is
     the one true bright lime (#D9FF2B), same token the hero colour word
     uses, so the button and the headline read as the identical colour. */
  background: var(--volt-400);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--r-full);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.16) inset, var(--sh-1);
  cursor: pointer;
  transition: transform var(--fast) var(--ease), box-shadow var(--mid) var(--ease), filter var(--fast) linear;
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-1px);
  filter: saturate(1.08);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.18) inset, 0 14px 34px -10px var(--volt-glow);
}
.btn:active { transform: translateY(0); }
.btn--ghost {
  background: transparent; color: var(--ink);
  border-color: var(--line-strong); box-shadow: none;
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--volt-edge); color: var(--ink);
  box-shadow: none; filter: none;
}
.btn[disabled] { opacity: 0.5; cursor: not-allowed; transform: none !important; }

/* Pills / badges */
.pill {
  display: inline-flex; align-items: center; gap: 0.4em;
  padding: 0.22em 0.7em; border-radius: var(--r-full);
  font-family: var(--font-display); font-size: 0.78em; font-weight: 600;
  white-space: nowrap; line-height: 1.5;
}
.pill--accent { background: var(--volt-wash); color: var(--volt-400); border: 1px solid var(--volt-edge); }
.pill--muted { background: rgba(255, 255, 255, 0.045); color: var(--ink-3); border: 1px solid var(--line); }
.pill--live { background: var(--up-wash); color: var(--up); border: 1px solid rgba(47, 217, 138, 0.34); }

/* Section scaffolding shared by every block on the product pages. */
/* The masthead is sticky, so anything an in-page link targets has to clear
   it or the heading lands underneath the nav. */
.section { padding-block: var(--sect); position: relative; }
.section[id] { scroll-margin-top: var(--nav-h); }
.section--alt { background: var(--surface-1); border-block: 1px solid var(--hair); }
.section--tight { padding-block: calc(var(--sect) * 0.62); }
.section__head { max-width: 46rem; margin-bottom: var(--s10); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head h2 { font-size: var(--t-2xl); margin-bottom: 0.35em; }
.section__head p { color: var(--ink-2); font-size: var(--t-md); margin: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.55em;
  font-family: var(--font-display); font-weight: 600;
  font-size: var(--t-xs); letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--volt-400); margin-bottom: var(--s4);
}
.eyebrow::before {
  content: ""; width: 1.6rem; height: 1px;
  background: linear-gradient(90deg, transparent, var(--volt-500));
}
.section__head--center .eyebrow::before { display: none; }

/* ----------------------------------------------------------- 4. MASTHEAD */
.masthead {
  position: sticky; top: 0; z-index: 60;
  background: rgba(8, 9, 13, 0.82);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  border-bottom: 1px solid var(--hair);
}
.masthead__bar {
  display: flex; align-items: center; gap: var(--s6);
  min-height: var(--nav-h); position: relative;
}

.brand {
  display: inline-flex; align-items: center; gap: 0.55em;
  text-decoration: none; color: var(--ink); flex-shrink: 0;
}
/* The RAYO wordmark lockup (icon + letters in one SVG), not a square tile,
   so no border-radius here; height is fixed, width follows the SVG's own
   aspect ratio via the HTML width/height attributes set where it's used. */
.brand__mark { height: 28px; width: auto; flex-shrink: 0; }

.nav-panel { display: flex; align-items: center; gap: var(--s5); flex: 1 1 auto; min-width: 0; justify-content: flex-end; }
.nav { display: flex; align-items: center; gap: var(--s5); min-width: 0; }
.nav a {
  display: inline-flex; align-items: center; min-height: 2.75rem;
  text-decoration: none; color: var(--ink-2);
  font-family: var(--font-display); font-size: var(--t-sm); font-weight: 500;
  white-space: nowrap; position: relative;
  transition: color var(--fast) linear;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0.55rem; height: 1.5px;
  background: var(--volt-500); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform var(--mid) var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"]::after { transform: scaleX(1); }

.langswitch {
  display: inline-flex; align-items: center; flex-shrink: 0;
  border: 1px solid var(--line); border-radius: var(--r-full); padding: 3px;
  font-family: var(--font-display); font-size: var(--t-xs); font-weight: 600;
}
.langswitch a {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 2.4rem; min-height: 1.85rem; padding: 0 0.5em;
  border-radius: var(--r-full); text-decoration: none; color: var(--ink-3);
  transition: color var(--fast) linear, background var(--fast) linear;
}
.langswitch a[aria-current="true"] { background: var(--surface-3); color: var(--ink); }
.langswitch a:not([aria-current="true"]):hover { color: var(--ink); }

/* The masthead CTA is persistent chrome, not an in-content referral button,
   so it deliberately does not carry the inline own-bot note: the note sits
   under every in-content Rayo CTA, and the footer disclosure covers the
   what build/verify.js pairs one-to-one with those inline notes. */
.masthead__cta {
  min-height: 2.5rem; padding: 0.5em 1.1em; font-size: var(--t-xs); flex-shrink: 0;
}

.menu-btn {
  display: none; width: 2.75rem; height: 2.75rem; flex-shrink: 0;
  align-items: center; justify-content: center; margin-left: auto;
  background: transparent; border: 1px solid var(--line);
  border-radius: var(--r-sm); color: var(--ink); cursor: pointer; padding: 0;
}
.menu-btn__bars { position: relative; width: 1.05rem; height: 1.5px; background: currentColor; border-radius: 2px; transition: background var(--fast) linear; }
.menu-btn__bars::before, .menu-btn__bars::after {
  content: ""; position: absolute; left: 0; width: 100%; height: 1.5px;
  background: currentColor; border-radius: 2px; transition: transform var(--mid) var(--ease);
}
.menu-btn__bars::before { top: -5px; }
.menu-btn__bars::after { top: 5px; }
.menu-btn[aria-expanded="true"] .menu-btn__bars { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-btn__bars::before { transform: translateY(5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__bars::after { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 60rem) {
  .menu-btn { display: inline-flex; }
  /* left/right 0 resolve against the .shell's padding box, which already
     spans the viewport at these widths. Pulling them out by --gutter
     instead made the document 1 gutter wider than the screen. */
  .nav-panel {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0;
    background: var(--surface-2); border-bottom: 1px solid var(--line);
    padding: var(--s2) var(--gutter) var(--s6);
    max-height: 0; overflow: hidden; opacity: 0;
    transition: max-height var(--mid) var(--ease), opacity var(--fast) linear;
    z-index: 55;
  }
  .nav-panel.is-open { max-height: 32rem; opacity: 1; overflow-y: auto; }
  .nav { flex-direction: column; align-items: stretch; gap: 0; }
  .nav a { padding-block: 0.85em; min-height: 3rem; border-bottom: 1px solid var(--hair); }
  .nav a::after { display: none; }
  .nav a[aria-current="page"] { color: var(--volt-400); }
  .masthead__cta { margin-top: var(--s5); align-self: stretch; min-height: 2.9rem; font-size: var(--t-sm); }
  .langswitch { margin-top: var(--s4); align-self: flex-start; }
}

/* --------------------------------------------------------------- 5. TAPE */
/* A thin product-truth tape under the nav. Every item is a fact taken from
   the bot's own source, which is exactly what a trading tape should be. */
.tape {
  border-bottom: 1px solid var(--hair);
  background: var(--surface-1);
  overflow: hidden; position: relative;
}
.tape::before, .tape::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 3rem; z-index: 2; pointer-events: none;
}
.tape::before { left: 0; background: linear-gradient(90deg, var(--surface-1), transparent); }
.tape::after { right: 0; background: linear-gradient(270deg, var(--surface-1), transparent); }
.tape__track { display: flex; width: max-content; animation: tape 46s linear infinite; }
.tape:hover .tape__track, .tape:focus-within .tape__track { animation-play-state: paused; }
.tape__item {
  display: inline-flex; align-items: center; gap: 0.5em;
  padding: 0.62em var(--s8);
  font-family: var(--font-display); font-size: var(--t-xs); font-weight: 500;
  letter-spacing: 0.02em; color: var(--ink-3); white-space: nowrap;
}
.tape__item::before {
  content: ""; width: 4px; height: 4px; border-radius: 50%;
  background: var(--volt-500); flex-shrink: 0;
}
.tape__item b { color: var(--ink); font-weight: 650; font-variant-numeric: tabular-nums; }
@keyframes tape { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* --------------------------------------------------- 6. HERO + DEVICE */
.hero { position: relative; padding-block: clamp(3rem, 1.8rem + 5vw, 6rem) var(--s12); overflow: hidden; }
.hero__glow {
  position: absolute; inset: -30% -10% auto 30%; height: 44rem; pointer-events: none;
  background: radial-gradient(closest-side, var(--volt-wash), transparent 72%);
}
.hero__grid {
  position: relative; display: grid; grid-template-columns: 1fr;
  gap: clamp(2.5rem, 1rem + 6vw, 4.5rem); align-items: center;
}
@media (min-width: 62rem) { .hero__grid { grid-template-columns: 1.18fr 0.82fr; } }

.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 0.55em;
  margin: 0 0 var(--s5); padding: 0.35em 0.85em 0.35em 0.6em;
  border: 1px solid var(--line); border-radius: var(--r-full);
  background: rgba(255, 255, 255, 0.025);
  font-family: var(--font-display); font-size: var(--t-xs); font-weight: 500;
  color: var(--ink-2); letter-spacing: 0.01em;
}
.hero__dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--up); flex-shrink: 0;
  box-shadow: 0 0 0 3px var(--up-wash);
}
.hero h1 { font-size: var(--t-hero); margin-bottom: var(--s5); max-width: 22ch; }
/* The emphasised clause is its own line on purpose: split across a wrap it
   reads like an accident rather than a second beat. */
.hero h1 em { display: block; font-style: normal; color: var(--volt-400); }
.hero__sub {
  font-size: var(--t-md); color: var(--ink-2); max-width: 46ch; margin: 0 0 var(--s8);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: center; }
.hero__actions .btn { min-height: 3.15rem; padding-inline: 1.75em; font-size: var(--t-base); }
.hero__note {
  margin: var(--s4) 0 0; font-size: var(--t-xs); color: var(--ink-3); max-width: 42ch;
}
.hero__facts {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s4) var(--s6); list-style: none; padding: 0;
  margin: var(--s8) 0 0; border-top: 1px solid var(--hair); padding-top: var(--s6);
}
@media (min-width: 32rem) { .hero__facts { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s4); } }
.hero__facts li { margin: 0; min-width: 0; }
.hero__facts b {
  display: block; font-family: var(--font-display); font-weight: 700;
  font-size: var(--t-lg); color: var(--ink); font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.hero__facts span { display: block; font-size: var(--t-xs); color: var(--ink-3); line-height: 1.4; margin-top: 0.2em; }

.hero__art { display: flex; flex-direction: column; align-items: center; gap: var(--s4); min-width: 0; }
.hero__caption { margin: 0; font-size: var(--t-xs); color: var(--ink-3); text-align: center; }

/* The device. Height comes from its content, so the screen can never clip a
   message or leave dead space under one. */
.device {
  position: relative;
  width: min(320px, 100%);
  padding: 10px;
  background: linear-gradient(170deg, #23262f, #0e1015 55%, #16181f);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 2.6rem;
  box-shadow: var(--sh-3), 0 0 70px -26px var(--volt-glow);
}
.device::after {
  content: ""; position: absolute; top: 18px; left: 50%; transform: translateX(-50%);
  width: 32%; height: 1.35rem; background: #05060a; border-radius: var(--r-full); z-index: 3;
}
.device__screen {
  background: var(--ground);
  border-radius: 2.1rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Telegram chat, rebuilt in CSS. The copy, the buttons and the amounts are
   the bot's real strings and real presets, not invented product features. */
.tg { display: flex; flex-direction: column; }
.tg__bar {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 2.5rem 0.85rem 0.7rem;
  background: var(--surface-2); border-bottom: 1px solid var(--hair);
}
.tg__avatar { width: 26px; height: 26px; border-radius: 8px; flex-shrink: 0; }
.tg__who { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.tg__name { font-family: var(--font-display); font-weight: 650; font-size: 0.78rem; color: var(--ink); }
.tg__status { font-size: 0.63rem; color: var(--ink-3); }
.tg__thread {
  position: relative;
  display: flex; flex-direction: column; gap: 0.5rem;
  padding: 0.75rem 0.7rem 0.6rem;
  background:
    radial-gradient(circle at 78% 8%, rgba(139, 92, 246, 0.09), transparent 55%),
    var(--ground);
}
.tg__thread::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2rem;
  background: linear-gradient(180deg, var(--ground), transparent); z-index: 2; pointer-events: none;
}

.msg {
  max-width: 92%; padding: 0.5rem 0.62rem;
  border-radius: 0.85rem; font-size: 0.665rem; line-height: 1.5;
  color: var(--ink-2);
}
.msg--bot {
  align-self: flex-start; background: var(--surface-2);
  border: 1px solid var(--hair); border-bottom-left-radius: 0.3rem;
}
.msg--me {
  align-self: flex-end; background: linear-gradient(160deg, var(--volt-600), var(--volt-700));
  color: var(--volt-ink); border-bottom-right-radius: 0.3rem;
  font-family: var(--font-mono); font-size: 0.6rem; word-break: break-all;
}
.msg b { color: var(--ink); font-weight: 650; }
.msg .up { color: var(--up); font-weight: 650; }
.msg .down { color: var(--down); font-weight: 650; }
.msg code {
  display: inline-block; background: rgba(255, 255, 255, 0.055);
  border-radius: 4px; padding: 0.05em 0.3em; font-size: 0.92em;
  color: var(--volt-300); word-break: break-all;
}
.msg__line { margin: 0; }
.msg__line + .msg__line { margin-top: 0.34em; }
.msg__title { font-family: var(--font-display); font-weight: 700; font-size: 0.78rem; color: var(--ink); }
.msg__ask { color: var(--ink); margin-top: 0.5em; }

/* Telegram inline keyboard. */
.kb { display: flex; flex-direction: column; gap: 3px; margin-top: 0.5rem; }
.kb__row { display: flex; gap: 3px; }
.kb__btn {
  flex: 1; display: flex; align-items: center; justify-content: center;
  padding: 0.42rem 0.2rem; border-radius: 0.4rem;
  background: rgba(255, 255, 255, 0.055); border: 1px solid var(--hair);
  font-family: var(--font-display); font-weight: 500; font-size: 0.6rem;
  color: var(--volt-300); white-space: nowrap;
}
.kb__btn--wide { flex: none; width: 100%; }

.tg__composer {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 0.7rem 0.85rem;
  background: var(--surface-2); border-top: 1px solid var(--hair);
}
.tg__input {
  flex: 1; padding: 0.38rem 0.6rem; border-radius: var(--r-full);
  background: var(--ground); border: 1px solid var(--hair);
  font-size: 0.63rem; color: var(--ink-3);
}
.tg__send {
  width: 1.4rem; height: 1.4rem; border-radius: 50%; flex-shrink: 0;
  background: var(--volt-600); display: flex; align-items: center; justify-content: center;
  color: var(--volt-ink); font-size: 0.6rem;
}

/* ------------------------------------------------- 7. PRODUCT SECTIONS */

/* Trust strip: only facts that come out of the bot's own configuration. */
/* Hairlines come from a 1px grid gap over a tinted background rather than
   per-cell borders, so no edge ever doubles up against the container. */
.strip {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px;
  background: var(--line); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden;
}
@media (min-width: 52rem) { .strip { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 72rem) { .strip { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.strip__item {
  padding: var(--s6) var(--s5);
  background: var(--surface-1);
  min-width: 0;
}
.strip__num {
  display: block; font-family: var(--font-display); font-weight: 700;
  font-size: var(--t-lg); color: var(--key); letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums; line-height: 1.1;
}
/* Gold is the key-number colour. Cells whose headline is a word, not a
   figure, take plain ink so the accent keeps meaning something. */
.strip__num--word { color: var(--ink); }
.strip__label { display: block; margin-top: 0.45em; font-size: var(--t-xs); color: var(--ink-2); line-height: 1.45; }

/* How it works */
.steps { display: grid; grid-template-columns: 1fr; gap: var(--s6); counter-reset: step; }
@media (min-width: 50rem) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s8); } }
.step { position: relative; padding-top: var(--s8); border-top: 1px solid var(--line); min-width: 0; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  position: absolute; top: var(--s4); left: 0;
  font-family: var(--font-display); font-weight: 700; font-size: var(--t-xs);
  letter-spacing: 0.14em; color: var(--volt-400);
}
.step h3 { font-size: var(--t-lg); margin-bottom: 0.4em; }
.step p { color: var(--ink-2); margin: 0; font-size: var(--t-sm); }

/* Feature cards */
.cards { display: grid; grid-template-columns: 1fr; gap: var(--s4); }
@media (min-width: 44rem) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 66rem) { .cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.card {
  position: relative; padding: var(--s6);
  background: var(--surface-1); border: 1px solid var(--line);
  border-radius: var(--r-md); min-width: 0;
  transition: border-color var(--mid) var(--ease), background var(--mid) var(--ease), transform var(--mid) var(--ease);
}
.card:hover { border-color: var(--volt-edge); background: var(--surface-2); transform: translateY(-2px); }
.card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.25rem; height: 2.25rem; margin-bottom: var(--s4);
  border-radius: var(--r-sm); background: var(--volt-wash);
  border: 1px solid var(--volt-edge); color: var(--volt-400);
}
.card__icon svg { width: 1.05rem; height: 1.05rem; }
.card h3 { font-size: var(--t-md); margin-bottom: 0.35em; }
.card p { color: var(--ink-2); margin: 0; font-size: var(--t-sm); }
.card p + p { margin-top: 0.6em; }

/* Referral ladder */
.refer { display: grid; grid-template-columns: 1fr; gap: var(--s10); align-items: start; }
@media (min-width: 58rem) { .refer { grid-template-columns: 1fr 1fr; gap: var(--s16); } }
.ladder { list-style: none; margin: 0; padding: 0; }
.ladder li {
  display: grid; grid-template-columns: 4.5rem 1fr auto; align-items: center;
  gap: var(--s4); padding-block: var(--s4);
  border-bottom: 1px solid var(--hair); margin: 0;
}
.ladder__lvl { font-family: var(--font-display); font-size: var(--t-xs); font-weight: 600; color: var(--ink-3); letter-spacing: 0.06em; text-transform: uppercase; }
.ladder__bar { height: 7px; border-radius: var(--r-full); background: rgba(255, 255, 255, 0.05); overflow: hidden; }
.ladder__fill { display: block; height: 100%; border-radius: var(--r-full); background: linear-gradient(90deg, var(--volt-400), var(--volt-600)); }
.ladder__pct { font-family: var(--font-display); font-weight: 700; font-size: var(--t-sm); color: var(--ink); font-variant-numeric: tabular-nums; min-width: 3.2rem; text-align: right; }
.ladder__total {
  display: flex; align-items: baseline; justify-content: space-between; gap: var(--s4);
  margin-top: var(--s5); padding-top: var(--s5); border-top: 1px solid var(--line);
}
.ladder__total span { color: var(--ink-2); font-size: var(--t-sm); }
.ladder__total b { font-family: var(--font-display); font-size: var(--t-xl); color: var(--volt-400); font-variant-numeric: tabular-nums; }

/* Security list */
.shield { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s5); }
@media (min-width: 50rem) { .shield { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s5) var(--s10); } }
.shield li { position: relative; padding-left: var(--s8); margin: 0; min-width: 0; }
.shield li::before {
  content: ""; position: absolute; left: 0; top: 0.35em;
  width: 1.15rem; height: 1.15rem; border-radius: 50%;
  background: var(--volt-wash); border: 1px solid var(--volt-edge);
}
.shield li::after {
  content: ""; position: absolute; left: 0.38rem; top: 0.72em;
  width: 0.36rem; height: 0.18rem; border-left: 1.5px solid var(--volt-400);
  border-bottom: 1.5px solid var(--volt-400); transform: rotate(-45deg);
}
.shield h3 { font-size: var(--t-base); margin-bottom: 0.25em; font-weight: 650; }
.shield p { margin: 0; color: var(--ink-2); font-size: var(--t-sm); }

/* Final CTA band */
.finale {
  position: relative; overflow: hidden;
  border: 1px solid var(--volt-edge); border-radius: var(--r-xl);
  background:
    radial-gradient(circle at 80% 0%, var(--volt-wash), transparent 60%),
    linear-gradient(160deg, var(--surface-2), var(--surface-1));
  padding: clamp(2.25rem, 1.4rem + 3.4vw, 4rem);
  text-align: center;
}
.finale h2 { font-size: var(--t-2xl); margin-bottom: 0.35em; }
.finale p { color: var(--ink-2); max-width: 44ch; margin-inline: auto; }
.finale .cta__action { align-items: center; margin-top: var(--s6); }
.finale .btn { min-height: 3.15rem; padding-inline: 1.9em; font-size: var(--t-base); }

/* Guides block (the SEO library, kept and linked, not deleted) */
.guides { display: grid; grid-template-columns: 1fr; gap: 0; }
@media (min-width: 48rem) { .guides { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s10); } }
.guides a {
  display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: var(--s4);
  padding-block: var(--s4); border-bottom: 1px solid var(--hair);
  text-decoration: none; color: var(--ink-2);
  transition: color var(--fast) linear;
}
.guides a:hover { color: var(--ink); }
.guides a:hover .guides__title { color: var(--volt-400); }
.guides__title { font-family: var(--font-display); font-weight: 600; font-size: var(--t-sm); color: var(--ink); transition: color var(--fast) linear; }
.guides__tag { font-size: var(--t-xs); color: var(--ink-3); letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }

/* ------------------------------------------------------- 8. ARTICLE */
main { display: block; }
main.is-hub { padding: 0; }
main:not(.is-hub) { padding-block: var(--s12) var(--s20); }

.page-head { padding-block: var(--s12) var(--s8); border-bottom: 1px solid var(--hair); background: var(--surface-1); }
.page-head__kicker {
  display: inline-block; font-family: var(--font-display); font-weight: 600;
  font-size: var(--t-xs); letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--volt-400); margin-bottom: var(--s4);
}
.page-head h1 { font-size: var(--t-3xl); max-width: 22ch; }
.page-head .dek { font-size: var(--t-md); color: var(--ink-2); max-width: 52ch; margin: var(--s5) 0 0; }
.byline {
  display: flex; align-items: center; gap: var(--s3); margin: var(--s6) 0 0;
  font-family: var(--font-display); font-size: var(--t-xs); color: var(--ink-3);
  letter-spacing: 0.02em;
}

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s16); align-items: start; }
.article-layout > .article { min-width: 0; width: 100%; }
@media (min-width: 66rem) { .article-layout.has-toc { grid-template-columns: minmax(0, 1fr) 14rem; } }

.article { max-width: var(--measure-wide); }
.article.prose {
  max-width: var(--measure);
  font-size: var(--t-md);
  line-height: 1.72;
}
.article h2 {
  font-size: var(--t-xl); margin-top: var(--s16); padding-top: var(--s8);
  border-top: 1px solid var(--hair);
  scroll-margin-top: calc(var(--nav-h) + var(--s4));
}
.article > h2:first-child { border-top: none; padding-top: 0; margin-top: 0; }
.article h3 { font-size: var(--t-md); margin-top: var(--s8); }
.article p, .article li { color: var(--ink-2); }
.article a:not(.btn) {
  color: var(--volt-400);
  text-decoration-color: var(--volt-edge);
  text-decoration-thickness: 1px; text-underline-offset: 0.18em;
  transition: color var(--fast) linear, text-decoration-color var(--fast) linear;
}
.article a:not(.btn):hover { color: var(--volt-300); text-decoration-color: var(--volt-400); }
.article blockquote {
  margin: var(--s8) 0; padding: var(--s2) 0 var(--s2) var(--s5);
  border-left: 2px solid var(--volt-600); color: var(--ink-2);
}
.article strong { color: var(--ink); }

/* The sidebar is desktop-only. On narrower screens the reading column is
   already the whole page, and the article's own inline CTA boxes carry the
   product link, so nothing is lost by dropping it. */
.toc { display: none; }
@media (min-width: 66rem) {
  .toc {
    display: flex; flex-direction: column; gap: var(--s8);
    position: sticky; top: calc(var(--nav-h) + var(--s6)); align-self: start;
    max-height: calc(100vh - var(--nav-h) - var(--s10)); overflow-y: auto;
    scrollbar-width: thin;
  }
}
.toc__label {
  display: block; font-family: var(--font-display); font-weight: 600; font-size: var(--t-xs);
  text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink-3); margin-bottom: var(--s4);
}
/* Scoped to .toc__nav, not .toc: the sidebar also holds the Rayo CTA, and
   a bare `.toc a` outranks `.btn` on colour, display and padding, which
   turned that button's label into dim, misaligned TOC-link text. */
.toc__nav ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.toc__nav li { margin: 0; }
.toc__nav a {
  display: block; padding: 0.42em 0 0.42em var(--s4); margin-left: -1px;
  border-left: 1.5px solid transparent; color: var(--ink-3); text-decoration: none;
  font-size: var(--t-xs); line-height: 1.45;
  transition: color var(--fast) linear, border-color var(--fast) linear;
}
.toc__nav a:hover, .toc__nav a:focus-visible { color: var(--ink); border-left-color: var(--volt-500); }

/* Sticky product card under the table of contents. */
.aside-cta {
  padding: var(--s5);
  background: linear-gradient(165deg, var(--surface-2), var(--surface-1));
  border: 1px solid var(--line); border-radius: var(--r-md);
}
.aside-cta__mark { width: 32px; height: 32px; border-radius: 8px; margin-bottom: var(--s4); }
.aside-cta__line {
  margin: 0 0 var(--s4); font-family: var(--font-display); font-weight: 600;
  font-size: var(--t-sm); color: var(--ink); line-height: 1.4;
}
.aside-cta .btn { width: 100%; }
.aside-cta .cta__note { margin-top: var(--s3); font-size: 0.7rem; line-height: 1.4; }

/* Callout */
.callout {
  border: 1px solid var(--line); border-left: 2px solid var(--volt-500);
  background: var(--surface-1); border-radius: var(--r-sm);
  padding: var(--s5) var(--s6); margin-block: var(--s8);
}
.callout__label {
  display: block; font-family: var(--font-display); font-weight: 600; font-size: var(--t-xs);
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--volt-400); margin-bottom: 0.5em;
}
.callout p { margin: 0; color: var(--ink-2); font-size: var(--t-sm); }
.callout p + p { margin-top: 0.6em; }

/* In-article CTA box */
.cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: var(--s5) var(--s8);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: linear-gradient(160deg, var(--surface-2), var(--surface-1));
  padding: var(--s8); margin-block: var(--s12);
}
.cta__text { min-width: 0; flex: 1 1 18rem; }
.cta__text h3 { margin-bottom: 0.25em; font-size: var(--t-md); margin-top: 0; }
.cta__text p { margin: 0; color: var(--ink-2); font-size: var(--t-sm); }
.cta__action { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s3); min-width: 0; }
.cta__note { margin: 0; max-width: 24rem; font-size: var(--t-xs); color: var(--ink-3); line-height: 1.45; }

/* Copy-code widget */
.code-widget {
  padding: var(--s6); margin-block: var(--s8);
  background: var(--surface-1); border: 1px solid var(--line); border-radius: var(--r-md);
}
.code-widget__label {
  font-family: var(--font-display); font-weight: 600; font-size: var(--t-xs);
  text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink-3); margin-bottom: var(--s4);
}
.code-widget__row { display: flex; flex-wrap: wrap; gap: var(--s4); align-items: center; }
.code-widget__value {
  font-family: var(--font-display); font-weight: 700; font-size: var(--t-lg);
  color: var(--ink); letter-spacing: 0.05em;
  background: var(--ground); border: 1px solid var(--line);
  border-radius: var(--r-sm); padding: 0.35em 0.8em;
}
.code-widget__copy {
  min-height: 2.75rem; padding: 0.6em 1.2em; border-radius: var(--r-full);
  border: 1px solid var(--line-strong); background: transparent; color: var(--ink);
  font-family: var(--font-display); font-weight: 600; font-size: var(--t-sm); cursor: pointer;
  transition: border-color var(--fast) linear, color var(--fast) linear;
}
.code-widget__copy:hover:not([disabled]) { border-color: var(--volt-500); color: var(--volt-400); }
.code-widget__copy[disabled] { opacity: 0.45; cursor: not-allowed; }
.code-widget__hint { margin: var(--s4) 0 0; font-size: var(--t-sm); color: var(--ink-2); }

/* Tables. Always inside .table-wrap so a wide table scrolls itself instead
   of pushing the page sideways. */
.table-wrap {
  overflow-x: auto; margin-block: var(--s8);
  border: 1px solid var(--line); border-radius: var(--r-md);
  -webkit-overflow-scrolling: touch;
}
table.data { width: 100%; min-width: 36rem; font-size: var(--t-sm); }
table.data caption {
  text-align: left; font-family: var(--font-display); font-size: var(--t-xs);
  color: var(--ink-3); padding: var(--s3) var(--s5); border-bottom: 1px solid var(--line);
}
table.data th, table.data td {
  padding: 0.8em var(--s5); border-bottom: 1px solid var(--hair);
  text-align: left; vertical-align: top; color: var(--ink-2);
}
table.data thead th {
  font-family: var(--font-display); font-weight: 600; font-size: var(--t-xs);
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-3); background: var(--surface-2); white-space: nowrap;
}
table.data tbody tr:last-child td { border-bottom: none; }
table.data tbody tr:hover td { background: rgba(255, 255, 255, 0.018); }
table.data td.num, table.data th.num { font-variant-numeric: tabular-nums; text-align: right; }
table.data td:first-child { color: var(--ink); font-weight: 500; }

/* The Rayo column on a versus/comparison table: a subtle tint and bolder
   ink so it reads as the highlighted column without a loud background. */
table.data th.rayo-col, table.data td.rayo-col {
  background: var(--volt-wash-2); color: var(--ink); font-weight: 500;
}
table.data thead th.rayo-col { color: var(--volt-400); background: var(--surface-2); }

/* A small citation icon next to a competitor's table value, linking to the
   doc page the row's fact was checked against. */
.source-link {
  display: inline-flex; vertical-align: -1px; margin-left: 0.35em;
  color: var(--ink-3); opacity: 0.8;
}
.source-link:hover { color: var(--volt-400); opacity: 1; }
.source-link__icon { display: block; }

/* The end-of-article citation list on a versus page. */
.sources-list {
  list-style: none; padding: 0; margin: 0 0 1.05em;
  font-size: var(--t-sm); color: var(--ink-3);
}
.sources-list li { margin-bottom: 0.45em; word-break: break-all; }
.sources-list a { color: var(--ink-3); text-decoration-color: var(--line-strong); }
.sources-list a:hover { color: var(--volt-400); }

/* FAQ */
.faq { margin-block: var(--s12); max-width: var(--measure-wide); }
.faq h2 { border-top: 1px solid var(--hair); padding-top: var(--s8); scroll-margin-top: calc(var(--nav-h) + var(--s4)); }
.faq--product { margin: 0; max-width: none; }
.faq--product h2 { border-top: none; padding-top: 0; }
.faq details {
  border-bottom: 1px solid var(--hair);
  transition: background var(--fast) linear;
}
.faq details[open] { background: rgba(255, 255, 255, 0.012); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s5);
  cursor: pointer; list-style: none; padding-block: var(--s5); min-height: 3.25rem;
  font-family: var(--font-display); font-weight: 600; font-size: var(--t-base); color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex-shrink: 0; width: 0.65rem; height: 0.65rem;
  border-right: 1.5px solid var(--volt-400); border-bottom: 1.5px solid var(--volt-400);
  transform: rotate(45deg) translate(-0.12rem, -0.12rem);
  transition: transform var(--mid) var(--ease);
}
.faq details[open] summary::after { transform: rotate(225deg) translate(-0.16rem, -0.16rem); }
.faq details p { color: var(--ink-2); margin: 0 0 var(--s5); max-width: var(--measure); font-size: var(--t-base); line-height: 1.65; }
.faq details a { color: var(--volt-400); }

/* Glossary */
.glossary dt { font-family: var(--font-display); font-weight: 700; color: var(--volt-400); margin-top: var(--s8); font-size: var(--t-base); }
.glossary dd { margin: 0.35em 0 0; color: var(--ink-2); max-width: var(--measure); }

/* Hub-page link lists reused from the content modules */
.hub-section { margin-block: var(--s12); }
.section-label {
  font-family: var(--font-display); font-weight: 600; font-size: var(--t-xs);
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3);
  border-bottom: 1px solid var(--line); padding-bottom: var(--s3); margin-bottom: var(--s6);
}
.featured {
  display: grid; grid-template-columns: 1fr; gap: var(--s6);
  border: 1px solid var(--line); background: var(--surface-1);
  border-radius: var(--r-lg); padding: var(--s8); margin-bottom: var(--s10);
}
@media (min-width: 48rem) { .featured { grid-template-columns: 1.25fr 1fr; gap: var(--s10); } }
.featured__eyebrow { font-family: var(--font-display); font-weight: 600; font-size: var(--t-xs); letter-spacing: 0.14em; text-transform: uppercase; color: var(--volt-400); }
.featured h2 { font-size: var(--t-xl); margin-top: 0.4em; border: none; padding: 0; }
.featured p { color: var(--ink-2); font-size: var(--t-sm); }

.postlist { list-style: none; margin: 0; padding: 0; }
.postlist li {
  display: grid; grid-template-columns: 1fr; gap: 0.3em var(--s6);
  padding-block: var(--s5); border-bottom: 1px solid var(--hair); margin: 0;
}
@media (min-width: 40rem) { .postlist li { grid-template-columns: 7rem 1fr; align-items: baseline; } }
.postlist .tag { font-family: var(--font-display); font-size: var(--t-xs); font-weight: 600; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.1em; }
.postlist a { font-family: var(--font-display); font-weight: 600; font-size: var(--t-md); text-decoration: none; color: var(--ink); transition: color var(--fast) linear; }
.postlist a:hover { color: var(--volt-400); }
.postlist p { margin: 0.25em 0 0; color: var(--ink-2); font-size: var(--t-sm); max-width: 60ch; }

/* --------------------------------------------- 9. FOOTER + UTILITY PAGES */
footer.site { border-top: 1px solid var(--hair); background: var(--surface-1); padding-block: var(--s16) var(--s10); }
.footer-grid { display: grid; gap: var(--s10); grid-template-columns: 1fr; }
@media (min-width: 40rem) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 62rem) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: var(--s8); } }
.footer-brand { min-width: 0; }
.footer-brand p { color: var(--ink-3); font-size: var(--t-sm); max-width: 34ch; }
.footer-tagline {
  font-family: var(--font-display); font-weight: 600; color: var(--ink-2) !important;
  font-size: var(--t-base) !important; max-width: 26ch !important; margin: var(--s4) 0 var(--s3);
}
.footer-col { min-width: 0; }
.footer-col h4 {
  font-family: var(--font-display); font-weight: 600; font-size: var(--t-xs);
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: var(--s4);
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: var(--s3); }
.footer-col a {
  color: var(--ink-2); text-decoration: none; font-size: var(--t-sm);
  transition: color var(--fast) linear;
}
.footer-col a:hover { color: var(--volt-400); }
.footer-legal {
  margin-top: var(--s12); padding-top: var(--s6); border-top: 1px solid var(--hair);
  font-size: var(--t-xs); color: var(--ink-3);
}
.footer-legal p { margin: 0 0 var(--s3); max-width: 76ch; line-height: 1.6; }
.footer-legal .fine { color: var(--ink-3); opacity: 0.75; }

.gopage { min-height: 68vh; display: flex; align-items: center; justify-content: center; padding: var(--s12) var(--gutter); text-align: center; }
.gopage__box { max-width: 30rem; }
.gopage__mark { width: 40px; height: 40px; border-radius: 10px; margin: 0 auto var(--s5); display: block; }
.gopage__box p { color: var(--ink-2); font-size: var(--t-sm); margin: 0; }
.gopage__box a:not(.btn) { color: var(--volt-400); }
.gopage__dest { font-family: var(--font-mono); font-size: var(--t-base); font-weight: 600; word-break: break-all; }
.spinner {
  width: 2rem; height: 2rem; margin: 0 auto var(--s5);
  border: 2px solid var(--line); border-top-color: var(--volt-500);
  border-radius: 50%; animation: spin 900ms linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ------------------------------------------------------ 10. MOTION */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .tape__track { animation: none; }
  .spinner { animation-duration: 2.4s !important; animation-iteration-count: infinite !important; }
}
