/* Rankstar public site — "Blue hour", round two (docs/DESIGN.md, docs/MOTION_STUDY.md). Reads only tokens.css variables.
   This is the SHELL sheet: reset, base, layout, header + mega menu, buttons, blue-hour primitives, the hero scene,
   the footer and the motion system. Marketing blocks live in site-sections.css, drawn product UI in site-mock.css,
   reading pages in site-read.css, forms in site-forms.css, the mobile sheet in site-drawer.css.
   Vocabulary: zenith = hero, sky/scene/star/signal = hero layers, beacon = primary CTA, trail = text link + arrow,
   strata = rank terrain, vista = small scene, nadir = footer. Fixed scale values are literals to stay in budget. */
@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  * { margin: 0; }
  html { -moz-text-size-adjust: none; text-size-adjust: none; scroll-padding-top: 6rem; }
  img, picture, svg, video, iframe { display: block; max-width: 100%; }
  img { height: auto; }
  input, button, textarea, select { font: inherit; color: inherit; letter-spacing: inherit; }
  button { cursor: pointer; background: none; border: 0; padding: 0; }
  ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
  a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
  p, li, h1, h2, h3, h4, dd, dt { overflow-wrap: break-word; }
  :target { scroll-margin-top: 6rem; }
  dialog { padding: 0; border: 0; color: inherit; }
  address { font-style: normal; }
  [hidden] { display: none !important; }
}

@layer base {
  :root { --t3: var(--color-text-3); --t2: var(--color-text-2); --tx: var(--color-text); --s2: var(--color-surface-2); --sf: var(--color-surface); --aw: var(--color-accent-wash); --al: var(--color-accent-line); --ah: var(--color-accent-hover); --ac: var(--color-accent); --bs: var(--color-border-strong); --bd: var(--color-border); --gw: var(--color-success-wash); --gn: var(--color-success); --b2: var(--color-band-text-2); --bt: var(--color-band-text); --bb: var(--color-band-border); }
  :root { --rs-bar: 3.75rem; --rs-mast: calc(var(--rs-bar) + 2 * var(--nav-inset)); --rs-line: var(--bd); --rs-glow: rgb(255 255 255 / .14); --grad-rule: linear-gradient(90deg, #0768FD, #4952FE, #8A3CFE); --grain-img: image-set(url("/static/img/grain-160.avif") type("image/avif"), url("/static/img/grain-160.webp") type("image/webp")); }
  body { color: var(--tx); min-height: 100dvh; display: flex; flex-direction: column; font-feature-settings: "kern"; }
  .rs-main { flex: 1; }
  .rs-main:focus { outline: none; }
  h1, h2, h3, h4 { font-weight: 500; line-height: 1.12; letter-spacing: var(--ls-heading); text-wrap: balance; }
  h3, h4 { line-height: 1.3; letter-spacing: -.015em; }
  p { text-wrap: pretty; }
  ::selection { background: var(--aw); color: var(--tx); }
  :focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; border-radius: 4px; box-shadow: 0 0 0 2px #fff; }  /* white halo under the violet ring: visible on dark buttons and panels too (WCAG 1.4.11) */
  /* the promise phrase in a title: same weight, no italics (owner, Nov 5), a quieter tone; display titles pair bold with light below */
  .rs-promise { font-style: normal; font-weight: inherit; color: var(--promise, var(--color-text-2)); }
  .rs-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
  .rs-i { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
  .rs-mark { width: 100%; height: auto; aspect-ratio: 1; }
  .rs-logo { height: 1.625rem; width: auto; aspect-ratio: 1020 / 169; color: currentColor; }
  .rs-price, .rs-meta time, .rs-gauge__value, [data-rs-count-to] { font-variant-numeric: tabular-nums lining-nums; }
  .rs-meta { font-size: .875rem; color: var(--t3); }
  .rs-lead { font-size: var(--fs-lead); color: var(--t2); line-height: 1.55; max-width: 60ch; }
  .rs-overline { display: inline-flex; align-items: center; gap: .5rem; font-size: .875rem; font-weight: 500; color: var(--ac); margin-bottom: .75rem; }
  .rs-overline .rs-i { width: 1rem; height: 1rem; }
  .rs-overline--band { color: var(--mint-300); }
}

@layer layout {
  .rs-wrap { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
  /* Harmony rule: large surfaces (nav pill, hero panel, bands, footer panel) share --container-wide at --nav-inset
     from the viewport; their inner padding lands content exactly on the --container grid edge. */
  :root { --rs-band-pad: max(calc(var(--gutter) - var(--nav-inset)), calc((min(100%, var(--container-wide)) - var(--container)) / 2)); }
  .rs-wrap--wide { width: min(100% - 2 * var(--nav-inset), var(--container-wide)); }
  .rs-wrap--prose { width: min(100% - 2 * var(--gutter), var(--container-prose)); }
  .rs-section { padding-block: calc(var(--section-y) / 2); }
  .rs-section--tight { padding-block: calc(var(--section-y-tight) / 2); }
  .rs-section--flow { padding-block: 1rem; }
  /* no dash above section titles (owner, Nov 5): the title alone, same on every page */
  /* one gap between every section title and its content (owner, Nov 13), used by every section head */
  :root { --rs-head-gap: clamp(1.25rem, .95rem + 1vw, 1.75rem); }
  .rs-head { max-width: 46rem; margin-bottom: var(--rs-head-gap); }
  /* the ruler tick: a short mark-gradient rule that draws itself as the heading scrolls in */
  .rs-head__title { font-size: var(--fs-h2); }
  .rs-head .rs-lead { margin-top: 1.25rem; }
  .rs-head--split { max-width: none; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2.5rem; }
  .rs-head--split::before { width: 100%; margin-bottom: .25rem; }
  .rs-pagehead { padding-block: clamp(2rem, 1rem + 4vw, 4.5rem) clamp(1.5rem, 1rem + 2vw, 2.5rem); }
  .rs-pagehead__title { font-size: var(--fs-h1); max-width: 22ch; margin-block: 1rem 1.25rem; }
}

@layer components {
  /* ---------------------------------------------------------------- skip, signal bar */
  .rs-skip { position: absolute; left: 1rem; top: -4rem; z-index: var(--z-toast); background: var(--color-action-strong); color: var(--color-on-action-strong); padding: .75rem 1.25rem; border-radius: 10px; font-weight: 600; text-decoration: none; }
  .rs-skip:focus { top: .75rem; }
  .rs-signal-bar { background: var(--color-announce-bg); color: var(--color-announce-text); font-size: .875rem; font-weight: 500; text-align: center; padding: .625rem var(--gutter); }
  .rs-signal-bar a { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; }
  .rs-signal-bar a:hover span { text-decoration: underline; }
  .rs-signal-bar .rs-i { width: 1rem; height: 1rem; transition: transform var(--dur-fast) var(--ease-out); }
  .rs-signal-bar a:hover .rs-i { transform: translateX(2px); }

  /* ---------------------------------------------------------------- buttons */
  .rs-beacon { --bg: var(--color-action); --fg: var(--color-on-action); --chip: var(--color-action-chip); --chip-fg: var(--color-on-action-chip);
    display: inline-flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 3rem; padding: .5rem .5rem .5rem 1.25rem;
    border-radius: 14px; background: var(--bg); color: var(--fg); font-weight: 600; text-decoration: none; line-height: 1.2; translate: var(--mx, 0) var(--my, 0);
    transition: background-color var(--dur-fast) var(--ease-standard), transform var(--dur-press) var(--ease-standard), translate var(--dur-base) var(--ease-out), box-shadow var(--dur-fast); }
  .rs-beacon:hover { --bg: var(--color-action-hover); box-shadow: 0 10px 30px -12px color-mix(in oklab, var(--bg) 70%, transparent); }
  .rs-beacon:active { transform: scale(.98); }
  .rs-beacon__chip { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 10px; background: var(--chip); color: var(--chip-fg); flex: none; overflow: hidden; }
  .rs-beacon__chip .rs-i { width: 1.125rem; height: 1.125rem; transition: transform var(--dur-base) var(--ease-out); }
  .rs-beacon:hover .rs-beacon__chip .rs-i { transform: translateX(3px); }
  .rs-beacon--light { --bg: #fff; --fg: var(--n-900); --chip: var(--violet-600); --chip-fg: #fff; }
  .rs-beacon--light:hover { --bg: var(--lilac-200); }
  .rs-beacon--strong { --bg: var(--color-action-strong); --fg: var(--color-on-action-strong); --chip: var(--color-action); --chip-fg: var(--color-on-action); }
  .rs-beacon--strong:hover { --bg: var(--color-action-strong); opacity: .9; }
  .rs-beacon--ghost { --bg: transparent; --fg: var(--tx); --chip: var(--s2); --chip-fg: var(--tx); box-shadow: inset 0 0 0 1.5px var(--bs); }
  .rs-beacon--ghost:hover { --bg: var(--s2); }
  .rs-beacon--outline { --bg: transparent; --fg: #fff; --chip: rgb(255 255 255 / .14); --chip-fg: #fff; box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / .55); }
  .rs-beacon--outline:hover { --bg: rgb(255 255 255 / .1); box-shadow: inset 0 0 0 1.5px #fff; }
  .rs-doors { display: flex; flex-wrap: wrap; align-items: stretch; gap: .75rem; }
  .rs-doors .rs-beacon { min-height: 3.25rem; }
  .rs-doors__under { margin-top: 1.25rem; }
  .rs-doors--mast { flex-wrap: nowrap; gap: .5rem; margin-left: .5rem; } .rs-doors--mast .rs-beacon { min-height: 2.75rem; white-space: nowrap; }
  .rs-doors--mast .rs-beacon--ghost { display: none; }
  @media (min-width: 1440px) { .rs-doors--mast .rs-beacon--ghost { display: inline-flex; } }
  @media (max-width: 479px) { .rs-doors:not(.rs-doors--mast) { flex-direction: column; } .rs-doors:not(.rs-doors--mast) .rs-beacon { width: 100%; } }
  .rs-beacon--sm { min-height: 2.75rem; font-size: .9375rem; padding: .375rem .375rem .375rem 1rem; gap: .75rem; }
  .rs-beacon--sm .rs-beacon__chip { width: 1.75rem; height: 1.75rem; }
  .rs-trail { display: inline-flex; align-items: center; gap: .5rem; color: var(--ac); font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; transition: text-underline-offset var(--dur-fast) var(--ease-out), color var(--dur-fast); }
  .rs-trail:hover { text-underline-offset: 5px; color: var(--ah); }
  .rs-trail .rs-i { width: 1rem; height: 1rem; transition: transform var(--dur-fast) var(--ease-out); }
  .rs-trail:hover .rs-i { transform: translateX(3px); }
  .rs-trail--light, .rs-trail--light:hover { color: #fff; }
  .rs-tool { display: inline-grid; place-items: center; min-width: 2.5rem; height: 2.5rem; padding-inline: .5rem; border-radius: 10px; color: inherit; text-decoration: none; font-size: .875rem; font-weight: 600; transition: background-color var(--dur-fast); }
  .rs-tool:hover { background: color-mix(in oklab, currentColor 10%, transparent); }
  .rs-tool .rs-i { width: 1.25rem; height: 1.25rem; }
  .rs-tag { display: inline-flex; align-items: center; gap: .25rem; padding: .1875rem .5rem; border-radius: 6px; background: var(--aw); color: var(--ah); font-size: .8125rem; font-weight: 500; line-height: 1.4; text-decoration: none; white-space: nowrap; }
  .rs-tag .rs-i { width: .875rem; height: .875rem; stroke-width: 2; }
  .rs-tag--verified { background: var(--gw); color: var(--gn); }
  a.rs-tag:hover { background: var(--al); }
  .rs-pulse { position: relative; display: inline-block; width: .5rem; height: .5rem; border-radius: 50%; background: var(--color-signal); flex: none; }
  .rs-pulse::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--color-signal); opacity: 0; animation: rs-ping 1.6s var(--ease-out) 2.6s 2; }
  .rs-pulse--quiet::after { animation-iteration-count: infinite; animation-delay: 1s; animation-duration: 2.4s; }

  /* ---------------------------------------------------------------- header */
  .rs-mast { position: sticky; top: 0; z-index: var(--z-nav); padding: var(--nav-inset); height: var(--rs-mast); pointer-events: none; color: var(--tx); overflow-x: clip; } /* the bar backdrop scales in from 1.03: keep it from widening the page (audit H4, +5 px) */
  .rs-mast__bar { pointer-events: auto; position: relative; isolation: isolate; display: flex; align-items: center; gap: .5rem; height: var(--rs-bar); max-width: var(--container-wide); margin-inline: auto;
    padding-inline: var(--rs-band-pad) max(.5rem, calc(var(--rs-band-pad) - .75rem)); view-transition-name: rs-nav; transition: color var(--dur-base); }
  .rs-mast__bar::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 20px; background: var(--color-nav-bg); background-image: linear-gradient(125deg, rgb(255 255 255 / .55) 0%, rgb(255 255 255 / 0) 35%); box-shadow: inset 0 1px 0 var(--glass-hl, #fff), inset 0 -1px 0 var(--glass-hl2, rgb(255 255 255 / .6)), inset 0 0 0 1px var(--glass-rim, rgb(88 100 156 / .22)), var(--glass-edge, 0 0 0 1px rgb(255 255 255 / .8)), 0 16px 36px -18px rgb(42 13 92 / .4), var(--shadow-2); -webkit-backdrop-filter: var(--nav-blur); backdrop-filter: var(--nav-blur);
    opacity: 0; transform: scale(1.03, 1.12); transition: opacity var(--dur-base) var(--ease-standard), transform var(--dur-base) var(--ease-standard); }
  .rs-mast[data-scrolled] .rs-mast__bar::before, .rs-mast[data-open] .rs-mast__bar::before { opacity: 1; transform: none; }
  .rs-has-zenith .rs-mast:not([data-scrolled], [data-open]) { color: #fff; }
  .rs-has-zenith .rs-mast:not([data-scrolled], [data-open]) .rs-beacon--ghost { --fg: #fff; --chip: rgb(255 255 255 / .14); --chip-fg: #fff; box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / .5); }
  .rs-has-zenith .rs-mast:not([data-scrolled], [data-open]) .rs-beacon--ghost:hover { --bg: rgb(255 255 255 / .1); }
  .rs-mast__brand { display: flex; align-items: center; color: inherit; margin-right: auto; padding-block: .5rem; border-radius: 6px; }
  .rs-mast__nav { display: none; }
  .rs-navlist { display: flex; gap: .25rem; list-style: none; padding: 0; }
  .rs-navlist__link, .rs-navlist__trigger { display: inline-flex; align-items: center; gap: .25rem; height: 2.5rem; padding-inline: .75rem; border-radius: 10px; font-size: .9375rem; font-weight: 500; text-decoration: none; white-space: nowrap; transition: background-color var(--dur-fast); }
  .rs-navlist__link:hover, .rs-navlist__trigger:hover, .rs-navlist__trigger[aria-expanded="true"] { background: color-mix(in oklab, currentColor 9%, transparent); }
  .rs-navlist__chev { width: 1rem; height: 1rem; transition: transform var(--dur-base) var(--ease-standard); }
  [aria-expanded="true"] > .rs-navlist__chev { transform: rotate(180deg); }
  .rs-mast__tools { display: flex; flex-wrap: nowrap; align-items: center; gap: .25rem; }
  .rs-tool--login { padding-inline: .5rem; font-weight: 500; font-size: .9375rem; } .rs-tool--login .rs-i { width: 1.25rem; height: 1.25rem; } .rs-tool--login span { display: none; }  /* phones + tablets: a person icon, no need to open the menu (Paul, Nov 16) */
  .rs-tool--lang { display: inline-flex; gap: .4rem; padding-inline: .625rem; letter-spacing: .02em; }
  .rs-lflag { flex: none; width: 1.25rem; height: .875rem; border-radius: 3px; box-shadow: inset 0 0 0 1px rgb(0 0 0 / .12); }
  .rs-mast__tools > .rs-beacon { margin-left: .5rem; }
  .rs-tool--theme .rs-i { display: none; }
  rs-theme-toggle:not([data-mode]) .rs-tool__system, rs-theme-toggle[data-mode="system"] .rs-tool__system,
  rs-theme-toggle[data-mode="light"] .rs-tool__light, rs-theme-toggle[data-mode="dark"] .rs-tool__dark { display: block; }
  @media (max-width: 479px) { .rs-mast__tools .rs-beacon, .rs-tool--lang { display: none; } }  /* the theme button stays (owner, Nov 15) */
  @media (min-width: 1100px) { .rs-mast__nav { display: block; margin-right: auto; } .rs-mast__brand { margin-right: 1.25rem; } rs-drawer-toggle { display: none; } }
  @media (min-width: 1280px) { .rs-tool--login { padding-inline: .75rem; } .rs-tool--login .rs-i { display: none; } .rs-tool--login span { display: inline; } }

  /* mega menu */
  .rs-mega { position: absolute; top: calc(100% + .5rem); left: 0; right: 0; z-index: var(--z-menu); padding: .75rem; border-radius: 20px; background: var(--sf); color: var(--tx); box-shadow: var(--shadow-3), var(--rim);
    visibility: hidden; opacity: 0; transform: translateY(8px) scale(.995); transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out), visibility 0s var(--dur-base); }
  .rs-navlist__trigger[aria-expanded="true"] + .rs-mega, html:not(.rs-js) .rs-navlist__item:is(:hover, :focus-within) > .rs-mega { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .rs-mega__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: .5rem; }
  .rs-mega__grid:has(> .rs-mega__feature) { grid-template-columns: 17.5rem repeat(auto-fit, minmax(13rem, 1fr)); }
  .rs-mega__feature { display: flex; flex-direction: column; gap: .5rem; padding: .5rem .5rem 1rem; border-radius: 14px; text-decoration: none; background: var(--s2); }
  .rs-mega__feature .rs-vista { aspect-ratio: 16 / 9; margin-bottom: .5rem; }
  .rs-mega__feature > :not(.rs-vista) { margin-inline: .75rem; }
  .rs-mega__ftitle { font-size: 1.25rem; font-weight: 600; letter-spacing: -.015em; }
  .rs-mega__fbody { font-size: .875rem; color: var(--t2); }
  .rs-mega__fprice { font-weight: 600; font-variant-numeric: tabular-nums; }
  .rs-mega__feature .rs-trail { font-size: .875rem; }
  .rs-mega__col { padding: .75rem .5rem; }
  .rs-mega__col + .rs-mega__col { background: linear-gradient(var(--bd) 50%, transparent 0) left top / 1px 8px repeat-y; padding-left: 1rem; }
  .rs-mega__col ul { list-style: none; padding: 0; display: grid; gap: 2px; }
  .rs-mega__title { font-size: .8125rem; font-weight: 600; color: var(--t3); padding: 0 .75rem .5rem; }
  .rs-mega__title a { color: inherit; text-decoration: none; }
  .rs-mega__link { display: grid; grid-template-columns: auto 1fr auto; column-gap: .75rem; align-items: center; padding: .625rem .75rem; border-radius: 10px; text-decoration: none; transition: background-color var(--dur-fast); }
  .rs-mega__link:hover { background: var(--s2); }
  .rs-mega__icon { grid-row: span 2; width: 1.25rem; height: 1.25rem; color: var(--ac); }
  .rs-mega__name { grid-column: 2; font-weight: 500; font-size: .9375rem; }
  .rs-mega__desc { grid-column: 2; font-size: .8125rem; color: var(--t3); }
  .rs-mega__price { grid-column: 3; grid-row: 1 / span 2; font-size: .875rem; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--ac); white-space: nowrap; }
  .rs-mega__all { padding: .75rem 1rem .25rem; font-size: .875rem; border-top: 1px solid var(--bd); margin-top: .5rem; }
  /* Nov 4: icon tiles, stacked families, compact dropdowns, columns that settle in one after another */
  .rs-mega__group + .rs-mega__group { margin-top: 1rem; }
  .rs-mega__title { text-transform: uppercase; letter-spacing: .06em; font-size: .6875rem; }
  .rs-mega__link { grid-template-columns: 2.25rem 1fr auto; column-gap: .875rem; padding: .5rem .625rem; }
  .rs-mega__tile { grid-row: span 2; display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 10px;
    background: var(--aw); box-shadow: inset 0 0 0 1px var(--al); color: var(--ac); transition: background-color var(--dur-fast), color var(--dur-fast), transform var(--dur-base) var(--ease-out); }
  .rs-mega__tile .rs-mega__icon { width: 1.125rem; height: 1.125rem; color: inherit; }
  .rs-mega__link:hover .rs-mega__tile, .rs-mega__link:focus-visible .rs-mega__tile { background: var(--color-action); color: var(--color-on-action); transform: scale(1.06) rotate(-4deg); }
  .rs-mega__name { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
  .rs-mega__name .rs-tag { font-size: .6875rem; padding: .0625rem .4375rem; }
  .rs-mega__price { color: var(--tx); font-weight: 600; font-size: .8125rem; padding: .1875rem .5rem; border-radius: 999px; background: var(--s2); }
  .rs-navlist__item--compact { position: relative; }
  .rs-mega--compact { left: -.5rem; right: auto; width: max-content; max-width: min(46rem, calc(100vw - 2rem)); }
  .rs-mega--compact .rs-mega__grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 18rem; }
  @media (prefers-reduced-motion: no-preference) {
    .rs-navlist__trigger[aria-expanded="true"] + .rs-mega :is(.rs-mega__feature, .rs-mega__col) { animation: rs-mega-in .42s var(--ease-out) both; }
    .rs-navlist__trigger[aria-expanded="true"] + .rs-mega .rs-mega__col:nth-child(2) { animation-delay: 40ms; }
    .rs-navlist__trigger[aria-expanded="true"] + .rs-mega .rs-mega__col:nth-child(3) { animation-delay: 80ms; }
    .rs-navlist__trigger[aria-expanded="true"] + .rs-mega .rs-mega__col:nth-child(4) { animation-delay: 120ms; }
    .rs-navlist__trigger[aria-expanded="true"] + .rs-mega .rs-mega__col:nth-child(5) { animation-delay: 160ms; }
  }
  @keyframes rs-mega-in { from { opacity: 0; translate: 0 6px; } }
  /* FATJOE-clear services panel: column titles with a rule, plain names + cart, quiz strip under */
  .rs-mega:has(.rs-mega__row) .rs-mega__grid { grid-template-columns: 1.15fr repeat(4, minmax(0, 1fr)); gap: .25rem 1.25rem; padding: .5rem .75rem .25rem; }
  .rs-mega:has(.rs-mega__row) .rs-mega__col { padding: .5rem 0; background: none; }
  .rs-mega:has(.rs-mega__row) .rs-mega__title { text-transform: none; letter-spacing: -.005em; font-size: 1rem; font-weight: 650; color: var(--tx); padding: 0 0 .625rem; margin-bottom: .375rem; border-bottom: 1px solid var(--bd); }
  .rs-mega__row { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
  .rs-mega__plain { flex: 1; padding: .5rem 0; color: var(--t2); text-decoration: none; font-size: .9375rem; font-weight: 500; transition: color var(--dur-fast); }
  .rs-mega__plain:hover { color: var(--ac); }
  .rs-mega__cart { display: grid; place-items: center; flex: none; width: 2rem; height: 2rem; border-radius: 9px; color: var(--ac); background: var(--aw); transition: background-color var(--dur-fast), color var(--dur-fast); }
  .rs-mega__cart:hover { background: var(--color-action); color: var(--color-on-action); }
  .rs-mega__cart .rs-i { width: 1rem; height: 1rem; }
  .rs-mega__banner { display: flex; align-items: center; gap: 1rem; margin: .75rem; padding: 1rem 1.25rem; border-radius: 16px; text-decoration: none; color: #fff;
    background: radial-gradient(90% 140% at 100% 0%, #6D3BEF, transparent 60%), linear-gradient(120deg, #241046, #140A2B); }
  .rs-mega__banner .rs-faces img { box-shadow: 0 0 0 3px #1e0f45; }
  .rs-mega__btext { display: grid; } .rs-mega__btext span { color: rgb(244 238 255 / .7); font-size: .875rem; }
  .rs-mega__bgo { margin-left: auto; display: inline-flex; align-items: center; gap: .5rem; padding: .625rem 1.125rem; border-radius: 999px; background: #fff; color: #2a1160; font-weight: 650; }
  .rs-mega__bgo .rs-i { width: 1rem; height: 1rem; }

  /* ---------------------------------------------------------------- blue-hour primitives */
  .rs-strata { position: absolute; left: 0; bottom: 0; width: 100%; height: 100%; overflow: visible; }
  .rs-strata path { stroke: var(--strata-rim); stroke-width: 1; vector-effect: non-scaling-stroke; }
  .rs-strata__l1 { fill: var(--strata-1); } .rs-strata__l2 { fill: var(--strata-2); } .rs-strata__l3 { fill: var(--strata-3); } .rs-strata__l4 { fill: var(--strata-4); }
  .rs-strata__rows path { fill: none; stroke: rgb(255 255 255 / .2); stroke-width: 2; stroke-linecap: round; vector-effect: none; }
  .rs-zenith__panel, .rs-band, .rs-dawn, .rs-nadir__panel, .rs-thanks__panel { position: relative; isolation: isolate; overflow: clip; }
  .rs-vista, .rs-cover, .rs-reel__poster, .rs-thanks__panel, .rs-lost__scene, .rs-portrait__empty { background: var(--grad-bluehour); }
  .rs-grain::after, .rs-zenith__panel::after, .rs-band::after, .rs-dawn::after, .rs-nadir__panel::after, .rs-thanks__panel::after, .rs-portrait::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: var(--grain-img) 0 0 / var(--grain-size); mix-blend-mode: soft-light; opacity: calc(var(--grain-opacity) * 2.5); border-radius: inherit; }
  .rs-vista, .rs-cover { position: relative; display: block; overflow: hidden; isolation: isolate; border-radius: 14px; aspect-ratio: 1.91; }
  .rs-vista .rs-strata, .rs-cover .rs-strata { height: 46%; }
  .rs-vista__halo { position: absolute; left: 50%; top: 58%; width: 90%; aspect-ratio: 1; translate: -50% -50%; background: var(--halo); }
  .rs-vista__mark, .rs-cover__mark { position: absolute; left: 50%; top: 44%; width: 22%; translate: -50% -50%; filter: drop-shadow(0 6px 18px rgb(13 10 46 / .45)); transition: translate var(--dur-base) var(--ease-out); }
  .rs-vista__pin, .rs-vista__lens { position: absolute; left: 50%; top: 46%; width: 22%; height: auto; aspect-ratio: 1; translate: -50% -50%; color: #fff; stroke-width: 1.25; }
  .rs-vista__lens { width: 34%; stroke-width: .9; }
  .rs-vista__suggest { position: absolute; left: 18%; right: 18%; top: 14%; display: grid; gap: 4px; padding: 6px; border-radius: 10px; background: rgb(255 255 255 / .96); box-shadow: 0 12px 30px -10px rgb(13 10 46 / .6); z-index: 1; }
  .rs-vista__q { display: flex; align-items: center; gap: 5px; color: var(--n-500); padding: 3px 4px 5px; border-bottom: 1px solid var(--n-200); }
  .rs-vista__q .rs-i { width: 10px; height: 10px; } .rs-vista__q i { height: 4px; width: 40%; border-radius: 2px; background: var(--n-300); }
  .rs-vista__suggest b { height: 6px; border-radius: 3px; background: var(--n-200); margin: 3px 4px; width: 70%; }
  .rs-vista__suggest b.is-you { background: var(--mint-300); width: 82%; box-shadow: 0 0 0 3px var(--mint-50); }
  .rs-vista__erase { position: absolute; left: 22%; right: 22%; top: 22%; display: grid; gap: 9px; }
  .rs-vista__erase b { height: 7px; border-radius: 4px; background: rgb(255 255 255 / .82); }
  .rs-vista__erase b:nth-child(3) { width: 64%; }
  .rs-vista__erase b.is-gone { background: repeating-linear-gradient(90deg, rgb(255 255 255 / .5) 0 6px, transparent 6px 11px); width: 84%; }
  .rs-vista__ladder { position: absolute; left: 24%; right: 24%; top: 18%; bottom: 46%; display: flex; align-items: end; gap: 6%; z-index: 1; }
  .rs-vista__ladder b { flex: 1; border-radius: 4px 4px 0 0; background: rgb(255 255 255 / .55); height: 34%; }
  .rs-vista__ladder b:nth-child(2) { height: 52%; } .rs-vista__ladder b:nth-child(3) { height: 70%; }
  .rs-vista__ladder b.is-you { height: 100%; background: linear-gradient(180deg, var(--mint-300), var(--mint-400)); box-shadow: 0 0 0 3px rgb(158 240 196 / .25); }
  .rs-vista__chat { position: absolute; left: 20%; right: 20%; top: 18%; display: grid; gap: 7px; z-index: 1; }
  .rs-vista__chat b { height: 22%; min-height: 14px; border-radius: 10px 10px 10px 3px; background: rgb(255 255 255 / .9); width: 70%; }
  .rs-vista__chat b.is-you { justify-self: end; border-radius: 10px 10px 3px 10px; background: var(--mint-300); width: 78%; }
  .rs-vista__link { position: absolute; left: 20%; right: 20%; top: 40%; display: flex; align-items: center; z-index: 1; }
  .rs-vista__link b { width: 22%; aspect-ratio: 1; border-radius: 8px; background: rgb(255 255 255 / .9); }
  .rs-vista__link b.is-you { background: var(--mint-300); }
  .rs-vista__link i { flex: 1; height: 2px; background: repeating-linear-gradient(90deg, #fff 0 6px, transparent 6px 11px); opacity: .8; }
  .rs-cover { width: 100%; }
  .rs-cover--b { background: linear-gradient(180deg, #170733 0%, #2A0D5C 45%, #6A36F0 85%, #9FD4FF 100%); }
  .rs-cover--c { background: linear-gradient(180deg, #1E1260 0%, #3A1C9E 40%, #8F7CFF 78%, #DDEAFF 100%); }
  .rs-cover--b .rs-cover__mark { left: 72%; top: 50%; width: 20%; } .rs-cover--b .rs-vista__halo { left: 72%; }
  .rs-cover--c .rs-cover__mark { left: 28%; top: 46%; width: 22%; } .rs-cover--c .rs-vista__halo { left: 28%; }
  /* portraits: natural colour (owner, Nov 5: no tint on faces), a small zoom on hover */
  .rs-portrait { position: relative; display: block; overflow: hidden; isolation: isolate; border-radius: 20px; aspect-ratio: 1; background: var(--s2); }
  .rs-portrait__pic img { width: 100%; height: 100%; object-fit: cover; transition: filter var(--dur-base) var(--ease-standard), transform var(--dur-base) var(--ease-out); }
  :is(.rs-crew__card, .rs-post):is(:hover, :focus-within) .rs-portrait__pic img { filter: none; transform: scale(1.03); }
  .rs-portrait__empty { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: .25rem; color: #fff; }
  .rs-portrait__empty .rs-strata { height: 36%; }
  .rs-portrait__empty b { font-size: 2rem; font-weight: 500; letter-spacing: -.02em; }
  .rs-portrait__empty small { font-size: .75rem; color: var(--lilac-300); }
  .rs-placeholder { display: flex; align-items: center; gap: .75rem; padding: 1.25rem 1.5rem; border-radius: 14px; border: 1px dashed var(--bs); color: var(--t2); font-size: .9375rem; max-width: 46rem; }
  .rs-placeholder .rs-i { color: var(--ac); width: 1.25rem; height: 1.25rem; }

  /* ---------------------------------------------------------------- hero (zenith) */
  .rs-zenith { padding: var(--nav-inset) var(--nav-inset) 0; margin-top: calc(-1 * var(--rs-mast)); }
  .rs-zenith__panel { --promise: var(--lilac-400); border-radius: 28px; color: #fff; max-width: var(--container-wide); margin-inline: auto; display: flex; flex-direction: column; background: #0D0A2E; }
  .rs-sky { position: absolute; inset: -12% 0 0; z-index: -3; background: linear-gradient(180deg, #0A0726 0%, #1A1058 30%, #35199A 56%, #6A36F0 78%, #8F7CFF 90%, #9FD4FF 100%); }
  .rs-sky__dawn { position: absolute; left: 50%; bottom: -10%; width: 110%; aspect-ratio: 2.2; translate: -50% 0; background: radial-gradient(ellipse at 50% 100%, rgb(159 212 255 / .55), rgb(138 60 254 / .25) 40%, transparent 70%); }
  .rs-stars { position: absolute; inset: 0; width: 100%; height: 60%; } .rs-stars g { fill: #fff; opacity: .75; }
  .rs-stars circle:nth-child(3n) { animation: rs-twinkle 3.6s ease-in-out infinite alternate; }
  .rs-stars circle:nth-child(3n + 1) { animation: rs-twinkle 5.2s ease-in-out 1.3s infinite alternate; }
  .rs-scene { position: relative; order: 2; height: 14rem; margin-top: -2.5rem; z-index: -1; pointer-events: none; }
  .rs-scene__far, .rs-scene__near { position: absolute; inset: 0; }
  .rs-scene__far { opacity: .85; }
  .rs-scene__star { position: absolute; left: 72%; top: 34%; width: clamp(3.25rem, 2rem + 4vw, 5.75rem); translate: -50% -50%; }
  .rs-star__mark { position: relative; filter: drop-shadow(0 14px 34px rgb(13 10 46 / .55)); }
  .rs-star__halo { position: absolute; left: 50%; top: 50%; width: 560%; aspect-ratio: 1; translate: -50% -50%; background: radial-gradient(closest-side, rgb(226 214 255 / .45), rgb(165 123 255 / .22) 36%, rgb(165 123 255 / 0)); }
  .rs-star__orbit { position: absolute; left: 50%; top: 50%; width: 560%; translate: -50% -50%; overflow: visible; }
  .rs-star__orbit path { fill: none; stroke: rgb(255 255 255 / .34); stroke-width: 1; stroke-dasharray: 3 7; vector-effect: non-scaling-stroke; }
  .rs-star__node { fill: #fff; } .rs-star__node--signal { fill: var(--mint-300); filter: drop-shadow(0 0 6px var(--mint-300)); }
  .rs-scene__signal { position: absolute; inset: 0; width: 100%; height: 100%; display: none; }
  .rs-scene__signal path { fill: none; stroke: url(#rs-mark-grad); stroke: rgb(255 255 255 / .6); stroke-width: 1.5; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 0; }
  .rs-signal__dot { fill: var(--mint-300); filter: drop-shadow(0 0 8px var(--mint-300)); }
  .rs-zenith__inner { position: relative; width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; padding-top: calc(var(--rs-mast) + clamp(1.5rem, .5rem + 3.5vw, 3.5rem)); display: grid; gap: 2.5rem; }
  .rs-zenith__title { font-size: clamp(2.25rem, 1.5rem + 2.6vw, 3.5rem); line-height: 1.02; letter-spacing: var(--ls-display); max-width: 15ch; }
  .rs-zenith__title .rs-promise { font-weight: 330; display: block; margin-top: .08em; }
  /* a small H1 over the big line (reputation page): the keyword line reads first for crawlers, the promise for people */
  .rs-zenith__h1 { margin: 0 0 .9rem; font-size: .8125rem; font-weight: 600; line-height: 1.35; letter-spacing: .12em; text-transform: uppercase; color: var(--lilac-200); text-wrap: balance; }
  .rs-zenith__title--line { margin: 0; font-weight: 500; text-wrap: balance; max-width: 17ch; }
  /* The rotating word (every hero, Nov 13): the words cross-fade with a short rise inside one line's box, nothing is
     clipped (before: each word slid a full line inside an overflow-hidden box, so the next one showed cut in half under
     the title and a blank line flashed between two words). transform + opacity only, so the compositor runs it. The
     same pair of keyframes lives in site-saucer.css for the octopus heroes (identical; that unlayered copy wins there). */
  .rs-rotor { display: inline-grid; vertical-align: top; max-width: 100%; }
  .rs-zenith__copy, .rs-zenith__inner > * { min-width: 0; }
  /* The title is a size container: the rotor line takes the largest size at which its longest phrase still fits */
  .rs-zenith__title:has(.rs-rotor) { container-type: inline-size; }
  .rs-zenith__title .rs-rotor { font-size: min(1em, calc(100cqi / (var(--rs-rotor-ch, 12) * .52))); }  /* .52em a character (measured widest .51, Nov 16): a phrase that fits is never shrunk */
  @media (max-width: 640px) { .rs-zenith__title { font-size: clamp(2.125rem, 1.15rem + 5vw, 2.5rem); } .rs-zenith__eyebrow { white-space: normal; } }
  .rs-rotor__w { grid-area: 1 / 1; white-space: nowrap; animation: rs-rot-swap calc(var(--rs-rotor-n) * 2.4s) cubic-bezier(.3, .7, .3, 1) infinite both; }
  .rs-rotor__w:first-child { animation-delay: -.7s; } .rs-rotor__w:nth-child(2) { animation-delay: 1.7s; } .rs-rotor__w:nth-child(3) { animation-delay: 4.1s; }
  .rs-rotor__w:nth-child(4) { animation-delay: 6.5s; } .rs-rotor__w:nth-child(5) { animation-delay: 8.9s; } .rs-rotor__w:nth-child(6) { animation-delay: 11.3s; }
  .rs-rotor__w:not(:first-child) { opacity: 0; }
  @media (prefers-reduced-motion: reduce) { .rs-rotor__w { animation: none; } .rs-rotor__w:not(:first-child) { display: none; } .rs-rotor__w:first-child { opacity: 1; } }
  /* Landing rotor (hero rotate_final): the words loop, the final word is the last slide of each loop, in the seabed's
     teal-to-spring-green. Same size and weight as the others. It is first in the markup (the H1 text); --i is its place
     in the loop. Keyframes assume 6 slides (5 words + the final one), 2.2 s each. No moving shine on the final word any
     more: a background-position animation repaints the text every frame. Its padding keeps the descenders inside the
     clipped gradient. */
  .rs-rotor--land .rs-rotor__w { opacity: 0; animation: rs-rot-land calc((var(--rs-rotor-n) + 1) * 2.2s) cubic-bezier(.3, .7, .3, 1) calc(var(--i) * 2.2s) infinite both; }
  .rs-rotor--land .rs-rotor__final { padding: 0 .14em .14em 0; margin-bottom: -.14em;
    background: linear-gradient(100deg, #1F9D8B 0%, #35BC9E 45%, #A6F2B2 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
  @media (prefers-reduced-motion: reduce) { .rs-rotor--land .rs-rotor__final { animation: none; opacity: 1; } .rs-rotor--land .rs-rotor__pass { display: none; } }
  /* one word at a time: the old word has faded out (end of its slot) before the next one starts fading in */
  @keyframes rs-rot-swap { 0% { opacity: 0; transform: translateY(.3em); } 3.5%, 16.8% { opacity: 1; transform: none; } 19.8%, 100% { opacity: 0; transform: translateY(-.3em); } }
  @keyframes rs-rot-land { 0% { opacity: 0; transform: translateY(.3em); } 3%, 13.8% { opacity: 1; transform: none; } 16.5%, 100% { opacity: 0; transform: translateY(-.3em); } }
  .rs-zenith__eyebrow { display: inline-flex; align-items: center; gap: .625rem; font-size: .875rem; font-weight: 500; color: var(--lilac-200); background: rgb(255 255 255 / .09); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .16); padding: .3125rem .875rem .3125rem .75rem; border-radius: 999px; margin-bottom: 1.5rem; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
  .rs-zenith__lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--lilac-200); max-width: 50ch; margin-top: 1.5rem; }
  .rs-zenith__actions { margin-top: 2.25rem; }
  .rs-zenith__actions .rs-doors__under { margin-top: 1.25rem; }
  .rs-zenith__proof { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; list-style: none; padding: 0; margin-top: 1.75rem; font-size: .875rem; color: var(--lilac-300); }
  .rs-zenith__proof li { display: inline-flex; align-items: center; gap: .5rem; }
  .rs-zenith__proof .rs-i { color: var(--mint-300); width: 1rem; height: 1rem; stroke-width: 2; }
  .rs-zenith .rs-crumbs { --crumb: var(--lilac-300); margin-bottom: 1.25rem; }
  .rs-zenith__visual { display: none; }
  @media (min-width: 768px) {
    .rs-scene { position: absolute; inset: auto 0 0; height: auto; aspect-ratio: 4; margin: 0; order: 0; }
    .rs-scene__signal { display: block; }
    .rs-scene__star { left: 70%; top: 48%; }
    .rs-zenith__inner { padding-bottom: clamp(10rem, 4rem + 15vw, 18rem); }
    .rs-zenith__visual { display: block; }
  }
  @media (min-width: 1024px) {
    .rs-zenith__panel { min-height: clamp(40rem, 100svh - 7rem, 54rem); }
    .rs-zenith__inner { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start; padding-bottom: clamp(9rem, 12vw, 11rem); }
    .rs-zenith__visual { padding-top: 3rem; justify-self: end; width: 100%; max-width: 27rem; }
    .rs-zenith--dashboard .rs-zenith__visual { max-width: 32rem; padding-top: 1rem; }
    .rs-zenith--none .rs-zenith__inner { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
    .rs-scene__star { left: 66%; top: 56%; }
  }
  @media (min-width: 1600px) { .rs-zenith__panel { min-height: clamp(44rem, 90svh, 58rem); } .rs-zenith__title { max-width: 14ch; } }

  /* choreography (once, after the H1 has painted) and parallax (scrubbed by the page scroll) */
  @media (prefers-reduced-motion: no-preference) {
    .rs-scene .rs-strata path { animation: rs-up var(--dur-hero) var(--ease-out) both; }
    .rs-scene__near path:nth-child(1) { animation-delay: 100ms; } .rs-scene__near path:nth-child(2) { animation-delay: 180ms; } .rs-scene__near path:nth-child(3) { animation-delay: 260ms; }
    .rs-scene .rs-strata__rows { animation: rs-fade 1.2s var(--ease-out) .5s both; }
    .rs-star__mark { animation: rs-rise 1.4s var(--ease-out) .3s both; }
    .rs-star__halo { animation: rs-fade 1.4s var(--ease-out) .4s both, rs-breathe 7s ease-in-out 1.8s infinite alternate; }
    .rs-star__orbit { animation: rs-fade 1.2s var(--ease-out) .9s both; }
    .rs-scene__signal path { animation: rs-draw 1.8s var(--ease-out) 1.1s both; }
    .rs-signal__dot { animation: rs-fade .6s var(--ease-out) 2.4s both; }
    .rs-sky__dawn { animation: rs-fade 1.6s var(--ease-out) .2s both; }
    .rs-zenith .rs-answer { animation: rs-in .7s var(--ease-out) .6s both; }
    .rs-zenith .rs-answer__typed { animation: rs-type 1.1s steps(24, end) 1.1s both; }
    .rs-zenith .rs-answer__caret { animation: rs-blink .5s steps(1) 1.1s 5; }
    .rs-zenith .rs-answer__list li { animation: rs-in .5s var(--ease-out) both; }
    .rs-zenith .rs-answer__list li:nth-child(1) { animation-delay: 2.2s; } .rs-zenith .rs-answer__list li:nth-child(2) { animation-delay: 2.3s; } .rs-zenith .rs-answer__list li:nth-child(3) { animation-delay: 2.4s; }
    .rs-zenith .rs-answer__ga, .rs-zenith .rs-answer__tally { animation: rs-in .5s var(--ease-out) 2.7s both; }
    .rs-zenith .rs-mock--dash { animation: rs-in .8s var(--ease-out) .5s both; }
    @supports (animation-timeline: scroll()) {
      .rs-sky, .rs-scene__far, .rs-scene__star, .rs-scene__near, .rs-zenith__visual { animation-timeline: scroll(root); animation-range: 0 100vh; animation-duration: 1ms; animation-timing-function: linear; animation-fill-mode: both; }
      .rs-sky { animation-name: rs-px-sky; } .rs-scene__far { animation-name: rs-px-far; } .rs-scene__star { animation-name: rs-px-star; } .rs-scene__near { animation-name: rs-px-near; } .rs-zenith__visual { animation-name: rs-px-visual; }
    }
  }
  @media (prefers-reduced-motion: reduce) { .rs-star__node, .rs-signal__dot { display: none; } }

  /* ---------------------------------------------------------------- footer (nadir): quiet band, mark-gradient rule, grain */
  .rs-nadir { padding: calc(var(--section-y) / 2) var(--nav-inset) var(--nav-inset); }
  .rs-nadir__panel { max-width: var(--container-wide); margin-inline: auto; border-radius: 28px; background: var(--band-fill); color: var(--bt); box-shadow: inset 0 0 0 1px var(--bb); padding: clamp(2.5rem, 1.5rem + 4vw, 4.5rem) var(--rs-band-pad) 2rem; --promise: var(--b2); }
  .rs-nadir__panel > .rs-strata { display: none; }
  .rs-nadir__top { display: grid; gap: 3rem; }
  .rs-nadir__logo { display: inline-flex; color: #fff; border-radius: 6px; }
  .rs-nadir__logo .rs-logo { height: 1.875rem; }
  .rs-nadir__promise { font-size: 1.25rem; line-height: 1.35; margin-top: 1.25rem; max-width: 22ch; letter-spacing: -.015em; }
  .rs-nadir__contact a { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.25rem; color: var(--b2); text-decoration: none; }
  .rs-nadir__contact a:hover { color: #fff; }
  .rs-nadir__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: 2.5rem 1.5rem; }
  .rs-nadir__title { font-size: .875rem; font-weight: 600; color: var(--b2); letter-spacing: 0; margin-bottom: 1rem; }
  .rs-nadir__col ul { list-style: none; padding: 0; display: grid; gap: .75rem; }
  .rs-nadir__col a, .rs-nadir__legal a, .rs-nadir__cookies { color: var(--bt); text-decoration: none; font-size: .9375rem; }
  .rs-nadir__col a:hover, .rs-nadir__legal a:hover, .rs-nadir__cookies:hover { text-decoration: underline; }
  /* a column title that links (Link Building & Mentions) keeps the title look of the other columns */
  .rs-nadir__col .rs-nadir__title a { color: inherit; font-size: inherit; font-weight: inherit; line-height: inherit; }
  .rs-nadir__trust { list-style: none; display: flex; flex-wrap: wrap; gap: .75rem 2.5rem; margin-top: 4rem; padding: 1.25rem 0; border-block: 1px dashed var(--bb); font-size: .875rem; color: var(--b2); }
  .rs-nadir__trust li { display: inline-flex; align-items: center; gap: .5rem; }
  .rs-nadir__trust .rs-i { color: var(--mint-300); width: 1.125rem; height: 1.125rem; }
  .rs-nadir__base { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; padding-top: 1.5rem; font-size: .875rem; color: var(--b2); }
  .rs-nadir__legal { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-right: auto; }
  .rs-nadir__legal a, .rs-nadir__cookies { font-size: .875rem; }
  /* proof row (Nov 13): verified-agency badges + Google Preferred Sources on the left, every social profile on the right */
  .rs-nadir__proof { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2rem; margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--bb); }
  .rs-nadir__badges { list-style: none; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
  .rs-nadir__badge, .rs-nadir__pref { display: inline-flex; align-items: center; height: 3rem; border-radius: 12px; text-decoration: none;
    transition: translate var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out); }
  .rs-nadir__badge img { display: block; width: auto; height: 100%; }
  .rs-nadir__badge--chip { padding: .35rem .75rem; background: #fff; }
  .rs-nadir__pref { gap: .6rem; padding: 0 1.15rem 0 .95rem; border-radius: 999px; background: #fff; color: #1f1f1f; font-size: .9375rem; font-weight: 500; white-space: nowrap; }
  .rs-nadir__g { width: 1.25rem; height: 1.25rem; flex: none; }
  .rs-nadir__bchk { padding-inline: .8rem 1rem; }  /* the BuyerChecked chip: seal + stars on the white tile */
  .rs-nadir__bchk .bchk { background: none; }
  .rs-nadir__badge:hover, .rs-nadir__pref:hover { translate: 0 -1px; box-shadow: 0 10px 24px -12px rgb(0 0 0 / .6); }
  .rs-nadir__badge:focus-visible, .rs-nadir__pref:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
  .rs-nadir__social { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
  .rs-nadir__social a { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 10px; color: var(--bt);
    background: rgb(255 255 255 / .07); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .1); transition: background-color var(--dur-fast), color var(--dur-fast); }
  .rs-nadir__social a:hover { background: rgb(255 255 255 / .16); color: #fff; }
  .rs-nadir__social a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
  .rs-nadir__social .rs-i { width: 1.125rem; height: 1.125rem; }
  @media (max-width: 639.98px) {  /* phones: the eight profiles in one even row, never six + two */
    .rs-nadir__social { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); grid-auto-flow: column; gap: .375rem; width: 100%; }
    .rs-nadir__social a { width: auto; height: auto; aspect-ratio: 1; }
  }
  /* Nov 5: seven short columns that mirror the Services menu (AI search, SEO, Links & content, Autosuggest, Reputation,
     then Resources, Company). The brand line runs across the top; the columns sit in one row on wide screens. */
  .rs-nadir__brand { padding-bottom: 2rem; border-bottom: 1px solid var(--bb); }
  .rs-nadir__base { margin-top: 2rem; border-top: 1px solid var(--bb); }
  @media (min-width: 960px) {
    .rs-nadir__brand { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1rem 3rem; padding-bottom: 2.5rem; }
    .rs-nadir__brand > * { margin: 0; }
    .rs-nadir__promise { max-width: 34ch; }
    .rs-nadir__contact a { margin-top: 0; }
    .rs-nadir__cols { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  }
  @media (min-width: 1200px) { .rs-nadir__cols { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2.5rem 1.25rem; } .rs-nadir__col a { font-size: .875rem; } }

  /* ---------------------------------------------------------------- motion system: in-view reveals (one moment per element, never gates reading) */
  @supports (animation-timeline: view()) { @media (prefers-reduced-motion: no-preference) {
    :is(.rs-head, .rs-offer, .rs-service, .rs-tile, .rs-path__step, .rs-dispatch, .rs-gauge, .rs-split__visual, .rs-pledge > *, .rs-faq__card, .rs-versus__table, .rs-voice, .rs-crew__card, .rs-post, .rs-wl, .rs-dawn__copy, .rs-proof__inner, .rs-booking, .rs-form) { animation: rs-in linear both; animation-timeline: view(); animation-range: entry calc(0% + var(--i, 0) * 5%) entry calc(55% + var(--i, 0) * 5%); }
    .rs-dawn__line { animation: rs-fill-x linear both; animation-timeline: view(); animation-range: entry 20% cover 40%; }
  } }
  .rs-pending { opacity: 0; transform: translateY(var(--reveal-distance)); }
  .rs-pending.is-in { opacity: 1; transform: none; transition: opacity var(--dur-reveal) var(--ease-out) var(--d, 0ms), transform var(--dur-reveal) var(--ease-out) var(--d, 0ms); }
}

@layer utilities {
  .rs-vh { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
  .rs-flip { transform: scaleX(-1); }
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0s !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: 0s !important; scroll-behavior: auto !important; }
    .rs-marquee .rs-proof__row { animation: none !important; flex-wrap: wrap; }
    .rs-marquee .rs-proof__row[aria-hidden], .rs-marquee__pause { display: none; }
    .rs-marquee__track { mask-image: none; }
  }
}

@keyframes rs-up { from { transform: translateY(28px); opacity: 0; } }
@keyframes rs-rise { from { transform: translateY(70%); opacity: 0; } }
@keyframes rs-in { from { transform: translateY(var(--reveal-distance)); opacity: 0; } }
@keyframes rs-fade { from { opacity: 0; } }
@keyframes rs-draw { from { stroke-dashoffset: 1; } }
@keyframes rs-breathe { to { scale: 1.06; opacity: .8; } }
@keyframes rs-twinkle { from { opacity: .25; } to { opacity: 1; } }
@keyframes rs-type { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0); } }
@keyframes rs-blink { 0% { opacity: 1; } 50% { opacity: 0; } }
@keyframes rs-ping { 0% { opacity: .8; scale: .6; } 100% { opacity: 0; scale: 1.6; } }
@keyframes rs-marquee { to { transform: translateX(-100%); } }
@keyframes rs-sheet { from { opacity: 0; transform: translateY(-12px); } }
@keyframes rs-fill-x { from { transform: scaleX(0); } }
@keyframes rs-fill-y { from { transform: scaleY(0); } }
@keyframes rs-ink { from { color: var(--t3); } }
@keyframes rs-px-sky { to { transform: translateY(14%); } }
@keyframes rs-px-far { to { transform: translateY(9%); } }
@keyframes rs-px-star { to { transform: translateY(-18%); } }
@keyframes rs-px-near { to { transform: translateY(-5%); } }
@keyframes rs-px-visual { to { transform: translateY(-6%); } }

@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: 200ms; }
  ::view-transition-group(rs-nav) { animation-duration: 240ms; }
}

@layer components { .rs-zenith .rs-star__mark { display: none; } }

@layer components { .rs-zenith__terms a, a.rs-zenith__terms { color: inherit; opacity: .8; text-decoration: underline; text-underline-offset: 3px; } .rs-zenith__terms a:hover { opacity: 1; } }

/* Phones, every page type (owner, Nov 5): one rhythm — calmer headings, tighter section gaps, title close to its
   content, 18 px card padding, a compact footer. Desktop is untouched. */
@media (max-width: 639.98px) {
  :root { --gutter: 1.75rem; /* one left line (28 px): nav logo, hero copy, headings, cards, bands, footer */
    --section-y: 3.25rem; --grid-gap: .875rem;
    --fs-display: 2.125rem; --fs-h1: 1.875rem; --fs-h2: 1.625rem; --fs-h3: 1.25rem; }
}
