/*
 * RelayHalo — site stylesheet.
 *
 * Order: font, tokens, bridge for the base stylesheet, base elements,
 * layout, components, pages. Every colour is a token defined in :root;
 * components only reference tokens.
 *
 * The base stylesheet (account pages, dialogs…) is imported into the
 * `base` cascade layer by the layout, so every rule below wins over it
 * without !important or specificity games.
 */

/* ── Fonts ──────────────────────────────────────────────────────────── */

/* Geist and Geist Mono (OFL), latin subset, weight axis 400-600. */
@font-face {
    font-family: "Geist";
    font-style: normal;
    font-weight: 400 600;
    font-display: swap;
    src: url("../fonts/geist-latin-wght.woff2") format("woff2");
}
@font-face {
    font-family: "Geist Mono";
    font-style: normal;
    font-weight: 400 600;
    font-display: swap;
    src: url("../fonts/geist-mono-latin-wght.woff2") format("woff2");
}

/* Local fallbacks with Geist's metrics, shown until the web fonts arrive:
   the swap then changes no line box, so nothing shifts (CLS). */
@font-face {
    font-family: "Geist Fallback";
    src: local("Arial"), local("ArialMT"), local("Helvetica"), local("Roboto");
    size-adjust: 108.6%;
    ascent-override: 92.5%;
    descent-override: 27.2%;
    line-gap-override: 0%;
}
@font-face {
    font-family: "Geist Mono Fallback";
    src: local("Consolas"), local("Menlo"), local("DejaVu Sans Mono"), local("Courier New");
    size-adjust: 109.1%;
    ascent-override: 92.1%;
    descent-override: 27%;
    line-gap-override: 0%;
}

/* ── Tokens ───────────────────────────────────────────────────────────── */

/* Dark is the default theme. The light theme applies only when the visitor
   picked it: the core theme switch writes data-theme-choice on <html>, and
   the layout restores it before the first paint. Every text pair below
   passes WCAG AA in both themes. */
:root {
    color-scheme: dark;

    /* Surfaces */
    --rh-bg: #09090b;
    --rh-surface: #111113;
    --rh-surface-2: #18181b;
    --rh-surface-3: #232327;
    --rh-input: #0d0d10;
    --rh-screen: #000000;
    --rh-overlay: rgb(9 9 11 / 0.82);
    --rh-backdrop: rgb(0 0 0 / 0.6);
    --rh-scrim: rgb(0 0 0 / 0.62);
    --rh-on-screen: #ffffff;

    /* Lines */
    --rh-border: #232327;
    --rh-border-strong: #34343a;
    --rh-input-border: #6c6c75;

    /* Text */
    --rh-text: #fafafa;
    --rh-text-2: #d4d4d8;
    --rh-muted: #a1a1aa;
    --rh-faint: #8c8c95;

    /* The one accent (cobalt): links, focus, selection, charts */
    --rh-accent: #5b7fff;
    --rh-accent-hover: #7593ff;
    --rh-accent-text: #93abff;
    --rh-accent-soft: #161d38;
    --rh-accent-border: #34437f;

    /* Primary action: white in the dark theme, cobalt in the light one */
    --rh-primary-bg: #fafafa;
    --rh-primary-fg: #09090b;
    --rh-primary-hover: #e4e4e7;

    /* States. Red means live and nothing else; green means healthy/ready. */
    --rh-live: #dc2626;
    --rh-on-live: #ffffff;
    --rh-success: #4ade80;
    --rh-success-soft: #0f2418;
    --rh-info: #93abff;
    --rh-info-soft: #161d38;
    --rh-warn: #fbbf24;
    --rh-warn-soft: #2a1f08;
    --rh-danger: #f87171;
    --rh-danger-soft: #2c1212;
    --rh-danger-strong: #991b1b;
    --rh-on-strong: #ffffff;
    --rh-control: #5b7fff;
    --rh-on-control: #ffffff;
    --rh-focus: #7593ff;

    /* Platform brand colours: only on hover or on an output that is live */
    --rh-p-youtube: #ff0033;
    --rh-p-twitch: #9146ff;
    --rh-p-kick: #53fc18;
    --rh-p-x: #ffffff;
    --rh-p-linkedin: #0a66c2;
    --rh-p-tiktok: #ff0050;
    --rh-p-instagram: #ff0069;
    --rh-p-discord: #5865f2;

    /* Screen content (the abstract scene in product previews): the same
       in both themes, like a video frame. */
    --rh-scene-sky-1: #101a3d;
    --rh-scene-sky-2: #2b3a84;
    --rh-scene-sky-3: #b17d8f;
    --rh-scene-sun: #ffd9a6;
    --rh-scene-hill-1: #3a3f7a;
    --rh-scene-hill-2: #20244d;
    --rh-scene-hill-3: #0d0f24;

    /* Type: three weights, one scale */
    --rh-font: "Geist", "Geist Fallback", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --rh-mono: "Geist Mono", "Geist Mono Fallback", ui-monospace, "SFMono-Regular", "Cascadia Mono", Menlo, Consolas, monospace;
    --rh-fw-regular: 400;
    --rh-fw-medium: 500;
    --rh-fw-strong: 600;
    --rh-fs-xs: 0.75rem;      /* 12px: chips and captions only */
    --rh-fs-sm: 0.8125rem;    /* 13px */
    --rh-fs-md: 0.875rem;     /* 14px */
    --rh-fs-base: 0.9375rem;  /* 15px */
    --rh-fs-lg: 1.0625rem;    /* 17px */
    --rh-fs-xl: 1.375rem;     /* 22px */
    --rh-fs-2xl: clamp(1.625rem, 1.2rem + 1.4vw, 2.25rem);
    --rh-fs-3xl: clamp(2rem, 1.5rem + 2vw, 2.75rem);
    --rh-fs-hero: clamp(2.25rem, 1.45rem + 2.4vw, 3.375rem);
    --rh-track-display: -0.04em;
    --rh-track-heading: -0.025em;

    /* Space (4 px grid) */
    --rh-s1: 0.25rem;
    --rh-s2: 0.5rem;
    --rh-s3: 0.75rem;
    --rh-s4: 1rem;
    --rh-s5: 1.5rem;
    --rh-s6: 2rem;
    --rh-s7: 3rem;
    --rh-s8: 4rem;
    --rh-s9: 6rem;
    --rh-gutter: 1rem;

    /* Shape: soft corners, never square */
    --rh-r-xs: 5px;
    --rh-r-sm: 8px;
    --rh-r-md: 10px;
    --rh-r-lg: 12px;
    --rh-r-xl: 16px;
    --rh-r-pill: 999px;

    /* Elevation: in the dark theme, borders do the work */
    --rh-shadow-1: none;
    --rh-shadow-2: 0 0 0 1px var(--rh-border), 0 12px 32px -16px rgb(0 0 0 / 0.6);
    --rh-shadow-3: 0 0 0 1px var(--rh-border-strong), 0 40px 90px -20px rgb(0 0 0 / 0.8);

    /* Widths */
    --rh-container: 1200px;
    --rh-narrow: 880px;
    --rh-prose: 720px;
    --rh-header-h: 64px;

    /* ── Bridge: repaint the base stylesheet in RelayHalo colours ──────── */
    --bg: var(--rh-bg);
    --bg-soft: var(--rh-surface);
    --bg-tint: var(--rh-surface-3);
    --bg-paper: var(--rh-surface);
    --ink: var(--rh-text);
    --ink-2: var(--rh-text-2);
    --ink-hover: var(--rh-text);
    --muted: var(--rh-muted);
    --faint: var(--rh-faint);
    --rule: var(--rh-border);
    --rule-strong: var(--rh-border-strong);
    --accent: var(--rh-accent);
    --accent-soft: var(--rh-accent-soft);
    --accent-ink: var(--rh-accent-text);
    --good: var(--rh-success);
    --good-soft: var(--rh-success-soft);
    --good-ink: var(--rh-success);
    --warn: var(--rh-warn);
    --warn-soft: var(--rh-warn-soft);
    --warn-ink: var(--rh-warn);
    --bad: var(--rh-danger);
    --bad-soft: var(--rh-danger-soft);
    --bad-ink: var(--rh-danger);
    --info-soft: var(--rh-info-soft);
    --info-ink: var(--rh-info);
    --header-bg: var(--rh-overlay);
    --shadow-sm: var(--rh-shadow-1);
    --shadow-md: var(--rh-shadow-2);
    --shadow-lg: var(--rh-shadow-3);
    --fg: var(--rh-text);
    --border: var(--rh-border);
    --sans: var(--rh-font);
    --display: var(--rh-font);
    --mono: var(--rh-mono);
    --radius: var(--rh-r-md);
    --radius-sm: var(--rh-r-sm);
}

:root[data-theme-choice="light"] {
    color-scheme: light;

    --rh-bg: #fafafa;
    --rh-surface: #ffffff;
    --rh-surface-2: #f4f4f5;
    --rh-surface-3: #e9e9ec;
    --rh-input: #ffffff;
    --rh-screen: #0b0b0d;
    --rh-overlay: rgb(250 250 250 / 0.85);
    --rh-backdrop: rgb(9 9 11 / 0.45);

    --rh-border: #e4e4e7;
    --rh-border-strong: #d4d4d8;
    --rh-input-border: #8e8e96;

    --rh-text: #09090b;
    --rh-text-2: #3f3f46;
    --rh-muted: #52525b;
    --rh-faint: #696972;

    --rh-accent: #2f5bea;
    --rh-accent-hover: #2449c9;
    --rh-accent-text: #2347c9;
    --rh-accent-soft: #edf1fe;
    --rh-accent-border: #b9c8f8;

    --rh-primary-bg: #2f5bea;
    --rh-primary-fg: #ffffff;
    --rh-primary-hover: #2449c9;

    --rh-success: #15803d;
    --rh-success-soft: #e9f6ee;
    --rh-info: #2347c9;
    --rh-info-soft: #edf1fe;
    --rh-warn: #a14f00;
    --rh-warn-soft: #fdf3e4;
    --rh-danger: #c4231c;
    --rh-danger-soft: #fdeceb;
    --rh-control: #2f5bea;
    --rh-focus: #2f5bea;
    --rh-p-x: #000000;
    --rh-p-kick: #1f8f00;

    --rh-shadow-1: 0 1px 2px rgb(0 0 0 / 0.05);
    --rh-shadow-2: 0 1px 2px rgb(0 0 0 / 0.04), 0 10px 28px -14px rgb(0 0 0 / 0.18);
    --rh-shadow-3: 0 0 0 1px var(--rh-border), 0 32px 80px -24px rgb(0 0 0 / 0.28);
}

@media (min-width: 768px) {
    :root { --rh-gutter: 1.5rem; }
}

/* Base-stylesheet components that read an inverted pair (ink on bg) as a
   primary action get the RelayHalo primary instead. */
.button.primary,
.btn.btn-primary,
button.primary {
    background: var(--rh-primary-bg);
    border-color: var(--rh-primary-bg);
    color: var(--rh-primary-fg);
}
.button.primary:hover,
.btn.btn-primary:hover,
button.primary:hover {
    background: var(--rh-primary-hover);
    color: var(--rh-primary-fg);
}

/* ── Base elements ────────────────────────────────────────────────────── */

*,
*::before,
*::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-padding-top: calc(var(--rh-header-h) + var(--rh-s4));
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--rh-bg);
    color: var(--rh-text);
    font-family: var(--rh-font);
    font-size: var(--rh-fs-base);
    font-weight: var(--rh-fw-regular);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-wrap: break-word;
}

h1, h2, h3, h4 {
    margin: 0;
    color: var(--rh-text);
    font-weight: var(--rh-fw-strong);
    line-height: 1.2;
    letter-spacing: var(--rh-track-heading);
    text-wrap: balance;
}
h1 { font-size: var(--rh-fs-3xl); line-height: 1.08; letter-spacing: var(--rh-track-display); }
h2 { font-size: var(--rh-fs-2xl); line-height: 1.15; }
h3 { font-size: var(--rh-fs-lg); letter-spacing: -0.01em; }
p { margin: 0; }
b, strong { font-weight: var(--rh-fw-strong); }
a { color: var(--rh-accent-text); text-underline-offset: 0.2em; }
a:hover { color: var(--rh-accent-hover); }
/* A link inside running text must not rely on colour alone. */
p a:not([class]),
.rh-prose li a:not([class]) { text-decoration: underline; }
img, svg, video { max-width: 100%; }
code, kbd, .rh-mono {
    font-family: var(--rh-mono);
    font-variant-numeric: tabular-nums;
}
code, kbd {
    font-size: 0.875em;
    background: var(--rh-surface-2);
    border: 1px solid var(--rh-border);
    border-radius: var(--rh-r-xs);
    padding: 0.1em 0.4em;
    overflow-wrap: anywhere;
}
:focus-visible {
    outline: 2px solid var(--rh-focus);
    outline-offset: 2px;
}
::selection { background: var(--rh-accent); color: var(--rh-on-control); }

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

/* ── Utilities ────────────────────────────────────────────────────────── */

.rh-visually-hidden,
.rh-live-note {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}
.rh-muted { color: var(--rh-muted); }
.rh-center { text-align: center; }
.rh-icon { flex-shrink: 0; width: 1.25rem; height: 1.25rem; }
.rh-cluster { display: flex; flex-wrap: wrap; align-items: center; gap: var(--rh-s3); }
.rh-cluster--center { justify-content: center; }
.rh-after-grid { margin-top: var(--rh-s5); }
.rh-list, .rh-links { margin: var(--rh-s3) 0 0; padding-left: 1.25em; }
.rh-list li, .rh-links li { margin: var(--rh-s1) 0; }
.rh-list li::marker, .rh-links li::marker { color: var(--rh-faint); }

.rh-skip {
    position: absolute;
    top: var(--rh-s2);
    left: var(--rh-s2);
    z-index: 100;
    padding: var(--rh-s2) var(--rh-s4);
    border-radius: var(--rh-r-sm);
    background: var(--rh-primary-bg);
    color: var(--rh-primary-fg);
    font-weight: 600;
    transform: translateY(-200%);
}
.rh-skip:focus { transform: none; color: var(--rh-primary-fg); }

/* ── Layout ───────────────────────────────────────────────────────────── */

.rh-container {
    width: 100%;
    max-width: calc(var(--rh-container) + 2 * var(--rh-gutter));
    margin-inline: auto;
    padding-inline: var(--rh-gutter);
}
.rh-container--narrow { max-width: calc(var(--rh-narrow) + 2 * var(--rh-gutter)); }
.rh-container--prose { max-width: calc(var(--rh-prose) + 2 * var(--rh-gutter)); }

.rh-main { flex: 1 0 auto; }
.rh-main:focus { outline: none; }
/* Platform pages rendered without a RelayHalo wrapper get the same column. */
.rh-main > :not([class^="rh-"]) {
    width: 100%;
    max-width: calc(var(--rh-narrow) + 2 * var(--rh-gutter));
    margin: var(--rh-s7) auto;
    padding-inline: var(--rh-gutter);
}

.rh-section { padding-block: var(--rh-s7); }
.rh-section--tight { padding-block: var(--rh-s6); }
.rh-section--alt { background: var(--rh-surface); border-block: 1px solid var(--rh-border); }
:root[data-theme-choice="light"] .rh-section--alt { background: var(--rh-surface-2); }
.rh-section__head { max-width: 46rem; margin-bottom: var(--rh-s6); }
.rh-section__title { font-size: var(--rh-fs-2xl); margin-bottom: var(--rh-s4); letter-spacing: -0.035em; }
.rh-section__head .rh-section__title { margin-bottom: var(--rh-s3); }
@media (min-width: 768px) {
    .rh-section { padding-block: var(--rh-s8); }
}

.rh-grid { display: grid; gap: var(--rh-s4); }
.rh-grid > * { min-width: 0; }
.rh-grid--tight { gap: var(--rh-s3); }
@media (min-width: 768px) {
    .rh-grid { gap: var(--rh-s5); }
    .rh-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rh-grid--tight { gap: var(--rh-s3); }
}
@media (min-width: 960px) {
    .rh-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
ul.rh-grid { list-style: none; margin: 0; padding: 0; }

/* A short kicker above a title: sentence case, never a shouting label. */
.rh-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: var(--rh-s2);
    margin-bottom: var(--rh-s3);
    color: var(--rh-text-2);
    font-size: var(--rh-fs-sm);
    font-weight: var(--rh-fw-medium);
}
.rh-eyebrow::before {
    content: "";
    width: 0.4375rem;
    height: 0.4375rem;
    border-radius: 50%;
    background: var(--rh-accent);
}
.rh-eyebrow--live::before { background: var(--rh-live); box-shadow: 0 0 0 3px color-mix(in srgb, var(--rh-live) 22%, transparent); }
.rh-lead {
    max-width: 58ch;
    margin-top: var(--rh-s3);
    color: var(--rh-muted);
    font-size: var(--rh-fs-lg);
    line-height: 1.55;
}
.rh-hint { color: var(--rh-muted); font-size: var(--rh-fs-sm); line-height: 1.5; }
.rh-link {
    color: var(--rh-accent-text);
    font-weight: 600;
    text-decoration: none;
}
.rh-link:hover { text-decoration: underline; }
.rh-link--small { font-size: var(--rh-fs-sm); }
.rh-link-button {
    padding: 0;
    border: 0;
    background: none;
    color: var(--rh-muted);
    font: inherit;
    cursor: pointer;
}
.rh-link-button:hover { color: var(--rh-text); }

/* ── Buttons ──────────────────────────────────────────────────────────── */

.rh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--rh-s2);
    min-height: 40px;
    padding: 0 1rem;
    border: 1px solid transparent;
    border-radius: var(--rh-r-sm);
    font: inherit;
    font-size: var(--rh-fs-md);
    font-weight: var(--rh-fw-medium);
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.rh-btn:hover { text-decoration: none; }
.rh-btn--primary { background: var(--rh-primary-bg); color: var(--rh-primary-fg); }
.rh-btn--primary:hover { background: var(--rh-primary-hover); color: var(--rh-primary-fg); }
.rh-btn--secondary { background: var(--rh-surface); border-color: var(--rh-border-strong); color: var(--rh-text); box-shadow: var(--rh-shadow-1); }
.rh-btn--secondary:hover { background: var(--rh-surface-2); color: var(--rh-text); }
.rh-btn--ghost { background: transparent; color: var(--rh-text-2); }
.rh-btn--ghost:hover { background: var(--rh-surface-2); color: var(--rh-text); }
.rh-btn--danger { background: transparent; border-color: var(--rh-danger); color: var(--rh-danger); }
.rh-btn--danger:hover { background: var(--rh-danger-soft); color: var(--rh-danger); }
.rh-btn--sm { min-height: 34px; padding: 0 0.75rem; font-size: var(--rh-fs-sm); }
.rh-btn--lg { min-height: 46px; padding: 0 1.375rem; font-size: var(--rh-fs-base); border-radius: var(--rh-r-md); }
.rh-btn--block { width: 100%; }
.rh-btn:disabled,
.rh-btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; }
.rh-btn .rh-icon { width: 1.0625rem; height: 1.0625rem; }

/* A text link with an arrow: the one secondary action next to a primary. */
.rh-tlink {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    color: var(--rh-accent-text);
    font-size: var(--rh-fs-md);
    font-weight: var(--rh-fw-medium);
    text-decoration: none;
}
.rh-tlink:hover { color: var(--rh-accent-hover); text-decoration: underline; }
.rh-tlink .rh-icon { width: 1rem; height: 1rem; transition: transform 0.15s ease; }
.rh-tlink:hover .rh-icon { transform: translateX(2px); }

/* Theme switch: shows the theme you would switch to. The core script
   handles the click, stores the choice and sets data-theme-choice. */
.rh-theme { display: inline-flex; }
.rh-theme__btn {
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid transparent;
    border-radius: var(--rh-r-sm);
    background: transparent;
    color: var(--rh-muted);
    cursor: pointer;
}
.rh-theme__btn:hover { background: var(--rh-surface-2); color: var(--rh-text); }
.rh-theme__btn .rh-icon { width: 1.125rem; height: 1.125rem; }
.rh-theme__btn--dark,
:root[data-theme-choice="light"] .rh-theme__btn--light { display: none; }
:root[data-theme-choice="light"] .rh-theme__btn--dark { display: inline-grid; }

/* ── Forms ────────────────────────────────────────────────────────────── */

.rh-form { display: grid; gap: var(--rh-s4); margin: 0; }
.rh-form__actions { display: flex; flex-wrap: wrap; gap: var(--rh-s3); }
.rh-field { display: grid; gap: 0.375rem; margin: 0; min-width: 0; }
.rh-label { margin: 0; color: var(--rh-text); font-size: var(--rh-fs-sm); font-weight: var(--rh-fw-medium); }
.rh-label-row { display: flex; justify-content: space-between; align-items: baseline; gap: var(--rh-s3); }
.rh-input {
    width: 100%;
    max-width: none;
    min-height: 40px;
    margin: 0;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--rh-input-border);
    border-radius: var(--rh-r-sm);
    background: var(--rh-input);
    color: var(--rh-text);
    font: inherit;
    font-size: var(--rh-fs-base);
    line-height: 1.4;
}
.rh-input::placeholder { color: var(--rh-faint); }
.rh-input:focus { outline: none; border-color: var(--rh-focus); box-shadow: 0 0 0 3px color-mix(in srgb, var(--rh-focus) 30%, transparent); }
textarea.rh-input { min-height: 9rem; resize: vertical; }
.rh-field--error .rh-input,
.rh-input[aria-invalid="true"] { border-color: var(--rh-danger); }
.rh-error { color: var(--rh-danger); font-size: var(--rh-fs-sm); font-weight: var(--rh-fw-medium); }
.rh-check {
    display: flex;
    align-items: flex-start;
    gap: var(--rh-s3);
    margin: 0;
    color: var(--rh-text-2);
    font-size: var(--rh-fs-md);
}
.rh-check input { flex-shrink: 0; width: 1.125rem; height: 1.125rem; margin: 0.15rem 0 0; accent-color: var(--rh-control); }

.rh-copy { display: flex; gap: var(--rh-s2); align-items: stretch; }
.rh-copy .rh-input { flex: 1 1 auto; min-width: 0; }
.rh-copy__input { font-family: var(--rh-mono); font-size: var(--rh-fs-md); }
.rh-copy .rh-btn { flex-shrink: 0; min-height: 40px; }
.rh-copy .rh-btn[data-copied] { border-color: var(--rh-success); color: var(--rh-success); }

/* ── Cards, alerts, badges ────────────────────────────────────────────── */

.rh-card {
    min-width: 0;
    padding: var(--rh-s5) var(--rh-s4);
    border: 1px solid var(--rh-border);
    border-radius: var(--rh-r-lg);
    background: var(--rh-surface);
    box-shadow: var(--rh-shadow-1);
}
@media (min-width: 640px) {
    .rh-card { padding: var(--rh-s5); }
}
.rh-card > h2,
.rh-card > h3 { margin-bottom: var(--rh-s3); }
.rh-card h2 { font-size: var(--rh-fs-xl); }
.rh-card h3 { font-size: var(--rh-fs-lg); }
.rh-card p + p { margin-top: var(--rh-s3); }
.rh-card__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--rh-s3) var(--rh-s4);
    margin-bottom: var(--rh-s4);
}
.rh-card__head h2 { margin-bottom: var(--rh-s1); }
.rh-card__head p { font-size: var(--rh-fs-md); }
.rh-card--quiet { background: transparent; border-style: dashed; box-shadow: none; }
.rh-card--link { position: relative; transition: border-color 0.15s ease, background-color 0.15s ease; }
.rh-card--link:hover { border-color: var(--rh-border-strong); background: var(--rh-surface-2); }
.rh-card--link h2 { font-size: var(--rh-fs-lg); margin-bottom: var(--rh-s2); }
.rh-card--link h2 a { color: var(--rh-text); text-decoration: none; }
.rh-card--link h2 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.rh-card__more { display: inline-flex; margin-top: var(--rh-s3); color: var(--rh-accent-text); }

.rh-alert {
    margin: 0;
    padding: var(--rh-s3) var(--rh-s4);
    border: 1px solid var(--rh-border-strong);
    border-radius: var(--rh-r-md);
    background: var(--rh-surface-2);
    color: var(--rh-text);
    font-size: var(--rh-fs-md);
}
.rh-alert a { font-weight: var(--rh-fw-medium); }
.rh-alert--success { border-color: color-mix(in srgb, var(--rh-success) 45%, var(--rh-border)); background: var(--rh-success-soft); }
.rh-alert--error { border-color: color-mix(in srgb, var(--rh-danger) 50%, var(--rh-border)); background: var(--rh-danger-soft); }
.rh-alert--warning { border-color: color-mix(in srgb, var(--rh-warn) 50%, var(--rh-border)); background: var(--rh-warn-soft); }
.rh-alert--info { border-color: var(--rh-accent-border); background: var(--rh-info-soft); }
.rh-card .rh-alert { margin-top: var(--rh-s4); }

.rh-callout {
    margin: 0;
    padding: var(--rh-s4) var(--rh-s5);
    border: 1px solid var(--rh-border);
    border-left: 3px solid var(--rh-accent);
    border-radius: var(--rh-r-md);
    background: var(--rh-surface);
    color: var(--rh-text-2);
}
.rh-callout strong { color: var(--rh-text); }

.rh-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    height: 1.375rem;
    padding: 0 0.5rem;
    border-radius: var(--rh-r-xs);
    background: var(--rh-surface-3);
    color: var(--rh-text-2);
    font-size: var(--rh-fs-xs);
    font-weight: var(--rh-fw-medium);
    line-height: 1;
    white-space: nowrap;
}
.rh-badge::before {
    content: "";
    width: 0.4375rem;
    height: 0.4375rem;
    border-radius: 50%;
    background: currentColor;
}
/* An output that is live is healthy (green); red is kept for the stream's own LIVE tag. */
.rh-badge--ok,
.rh-badge--live { background: var(--rh-success-soft); color: var(--rh-success); }
.rh-badge--live::before { animation: rh-blink 1.6s ease-in-out infinite; }
.rh-badge--info { background: var(--rh-info-soft); color: var(--rh-info); }
.rh-badge--warn { background: var(--rh-warn-soft); color: var(--rh-warn); }
.rh-badge--danger { background: var(--rh-danger-soft); color: var(--rh-danger); }
.rh-badge--accent { background: var(--rh-accent-soft); color: var(--rh-accent-text); }
.rh-badge--accent::before { content: none; }

/* Streaming atoms (Twitch / YouTube Studio conventions): the red LIVE tag,
   the viewer or uptime chip over a player, the health dot. */
.rh-livetag {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    height: 1.375rem;
    padding: 0 0.5rem;
    border-radius: var(--rh-r-xs);
    background: var(--rh-live);
    color: var(--rh-on-live);
    font-size: 0.6875rem;
    font-weight: var(--rh-fw-strong);
    letter-spacing: 0.05em;
    line-height: 1;
    white-space: nowrap;
}
.rh-livetag::before { content: ""; width: 0.375rem; height: 0.375rem; border-radius: 50%; background: currentColor; animation: rh-blink 1.6s ease-in-out infinite; }
.rh-vchip {
    display: inline-flex;
    align-items: center;
    gap: 0.3125rem;
    height: 1.375rem;
    padding: 0 0.5rem;
    border-radius: var(--rh-r-xs);
    background: var(--rh-scrim);
    color: var(--rh-on-screen);
    font-family: var(--rh-mono);
    font-size: var(--rh-fs-xs);
    font-variant-numeric: tabular-nums;
    line-height: 1;
    white-space: nowrap;
}
.rh-vchip .rh-icon { width: 0.8125rem; height: 0.8125rem; }
.rh-vchip--line { background: var(--rh-surface-2); color: var(--rh-text); box-shadow: inset 0 0 0 1px var(--rh-border); }
.rh-health-dot { display: inline-flex; align-items: center; gap: 0.4375rem; color: var(--rh-text-2); font-size: var(--rh-fs-sm); }
.rh-health-dot::before { content: ""; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--rh-success); }
.rh-health-dot--warn::before { background: var(--rh-warn); }
.rh-health-dot--bad::before { background: var(--rh-danger); }
.rh-health-dot--off::before { background: var(--rh-faint); }

.rh-empty {
    display: grid;
    justify-items: start;
    gap: var(--rh-s3);
    padding: var(--rh-s5);
    border: 1px dashed var(--rh-border-strong);
    border-radius: var(--rh-r-lg);
    color: var(--rh-muted);
}
.rh-empty h2,
.rh-empty h3 { color: var(--rh-text); font-size: var(--rh-fs-lg); }

/* ── Tables, definition lists, events ─────────────────────────────────── */

.rh-table-wrap { position: relative; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.rh-table { width: 100%; border-collapse: collapse; font-size: var(--rh-fs-md); }
.rh-table th {
    padding: var(--rh-s2) var(--rh-s3);
    border-bottom: 1px solid var(--rh-border-strong);
    color: var(--rh-muted);
    font-size: var(--rh-fs-sm);
    font-weight: 600;
    text-align: left;
    white-space: nowrap;
}
.rh-table td {
    padding: var(--rh-s3);
    border-bottom: 1px solid var(--rh-border);
    color: var(--rh-text-2);
    vertical-align: top;
}
.rh-table tbody tr:last-child td { border-bottom: 0; }

/* ── Meters and progress ──────────────────────────────────────────────── */

.rh-meter { margin-bottom: var(--rh-s4); }
.rh-meter + .rh-hint { margin: calc(-1 * var(--rh-s2)) 0 var(--rh-s5); }
.rh-meter + .rh-hint:last-child { margin-bottom: 0; }
.rh-card > .rh-cluster { margin-top: var(--rh-s4); }
.rh-meter__head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: var(--rh-s2);
    margin-bottom: var(--rh-s2);
    color: var(--rh-muted);
    font-size: var(--rh-fs-md);
}
.rh-meter__head strong { color: var(--rh-text); font-variant-numeric: tabular-nums; }
.rh-progress {
    display: block;
    height: 0.625rem;
    overflow: hidden;
    border-radius: var(--rh-r-pill);
    background: var(--rh-surface-3);
}
.rh-progress__bar { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--rh-accent); }
.rh-progress--warn .rh-progress__bar { background: var(--rh-warn); }
.rh-progress--danger .rh-progress__bar { background: var(--rh-danger); }
.rh-progress__bar[data-step="5"] { width: 5%; }
.rh-progress__bar[data-step="10"] { width: 10%; }
.rh-progress__bar[data-step="15"] { width: 15%; }
.rh-progress__bar[data-step="20"] { width: 20%; }
.rh-progress__bar[data-step="25"] { width: 25%; }
.rh-progress__bar[data-step="30"] { width: 30%; }
.rh-progress__bar[data-step="35"] { width: 35%; }
.rh-progress__bar[data-step="40"] { width: 40%; }
.rh-progress__bar[data-step="45"] { width: 45%; }
.rh-progress__bar[data-step="50"] { width: 50%; }
.rh-progress__bar[data-step="55"] { width: 55%; }
.rh-progress__bar[data-step="60"] { width: 60%; }
.rh-progress__bar[data-step="65"] { width: 65%; }
.rh-progress__bar[data-step="70"] { width: 70%; }
.rh-progress__bar[data-step="75"] { width: 75%; }
.rh-progress__bar[data-step="80"] { width: 80%; }
.rh-progress__bar[data-step="85"] { width: 85%; }
.rh-progress__bar[data-step="90"] { width: 90%; }
.rh-progress__bar[data-step="95"] { width: 95%; }
.rh-progress__bar[data-step="100"] { width: 100%; }

/* ── Disclosures ──────────────────────────────────────────────────────── */

.rh-explain { margin-top: var(--rh-s4); }
.rh-explain summary {
    width: max-content;
    max-width: 100%;
    color: var(--rh-accent-text);
    font-size: var(--rh-fs-md);
    font-weight: 600;
    cursor: pointer;
}
.rh-explain p,
.rh-explain ul { margin-top: var(--rh-s2); color: var(--rh-muted); font-size: var(--rh-fs-md); }
.rh-explain ul { padding-left: 1.25em; }

/* ── Site header ──────────────────────────────────────────────────────── */

.rh-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid var(--rh-border);
    background: var(--rh-overlay);
    backdrop-filter: saturate(140%) blur(12px);
    -webkit-backdrop-filter: saturate(140%) blur(12px);
}
.rh-header__inner {
    display: flex;
    align-items: center;
    gap: var(--rh-s4);
    min-height: var(--rh-header-h);
}
.rh-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.5625rem;
    color: var(--rh-text);
    font-size: var(--rh-fs-lg);
    font-weight: var(--rh-fw-strong);
    letter-spacing: -0.03em;
    text-decoration: none;
}
.rh-brand:hover { color: var(--rh-text); text-decoration: none; }
.rh-brand__mark { width: 1.75rem; height: 1.75rem; flex-shrink: 0; }
.rh-brand__tile { fill: var(--rh-text); }
.rh-brand__ring { stroke: var(--rh-bg); }
.rh-brand__dot { fill: var(--rh-accent); }

.rh-nav { display: none; gap: var(--rh-s1); margin-left: var(--rh-s4); }
.rh-nav__link {
    padding: 0.375rem var(--rh-s3);
    border-radius: var(--rh-r-sm);
    color: var(--rh-muted);
    font-size: var(--rh-fs-md);
    font-weight: var(--rh-fw-medium);
    text-decoration: none;
    transition: color 0.15s ease, background-color 0.15s ease;
}
.rh-nav__link:hover { color: var(--rh-text); text-decoration: none; }
.rh-nav__link[aria-current="page"] { color: var(--rh-text); background: var(--rh-surface-2); }

.rh-header__actions { display: flex; align-items: center; gap: var(--rh-s2); margin-left: auto; }
.rh-header__locale {
    display: none;
    padding: var(--rh-s1) var(--rh-s2);
    border: 1px solid var(--rh-border-strong);
    border-radius: var(--rh-r-sm);
    color: var(--rh-muted);
    font-size: var(--rh-fs-sm);
    font-weight: 600;
    text-decoration: none;
}
.rh-header__locale:hover { color: var(--rh-text); }
.rh-header__signin {
    display: none;
    padding: var(--rh-s2);
    white-space: nowrap;
    color: var(--rh-text);
    font-size: var(--rh-fs-md);
    font-weight: 600;
    text-decoration: none;
}
.rh-header__signin:hover { color: var(--rh-text); text-decoration: none; }
.rh-header__theme { display: none; }
@media (min-width: 480px) {
    .rh-header__theme { display: inline-flex; }
}
.rh-header__cta { display: none; white-space: nowrap; }
.rh-header__logout { display: none; margin: 0; font-size: var(--rh-fs-md); }

@media (min-width: 380px) {
    .rh-header__signin { display: inline-flex; }
}
@media (min-width: 560px) {
    .rh-header__cta { display: inline-flex; }
}
@media (min-width: 960px) {
    .rh-nav { display: flex; }
    .rh-header__locale { display: inline-flex; }
    .rh-header .rh-menu { display: none; }
    .rh-header__logout { display: block; }
}

/* Disclosure menu, shared by the site header and the workspace top bar. */
.rh-menu { position: static; }
.rh-menu__toggle {
    display: inline-flex;
    align-items: center;
    gap: var(--rh-s2);
    min-height: 40px;
    padding: 0 var(--rh-s3);
    border: 1px solid var(--rh-border-strong);
    border-radius: var(--rh-r-sm);
    color: var(--rh-text);
    font-size: var(--rh-fs-md);
    font-weight: 600;
    list-style: none;
    cursor: pointer;
}
.rh-menu__toggle::-webkit-details-marker { display: none; }
.rh-menu[open] .rh-menu__toggle { background: var(--rh-surface-2); }
.rh-menu__panel {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    z-index: 60;
    display: grid;
    gap: var(--rh-s3);
    max-height: calc(100vh - var(--rh-header-h));
    overflow-y: auto;
    padding: var(--rh-s3) var(--rh-gutter) var(--rh-s5);
    border-bottom: 1px solid var(--rh-border);
    background: var(--rh-surface);
    box-shadow: var(--rh-shadow-2);
}
.rh-menu__panel nav { display: grid; gap: var(--rh-s1); }
.rh-menu__link {
    display: flex;
    align-items: center;
    gap: var(--rh-s3);
    padding: var(--rh-s3);
    border-radius: var(--rh-r-sm);
    color: var(--rh-text);
    font-weight: 500;
    text-decoration: none;
}
.rh-menu__link:hover,
.rh-menu__link[aria-current="page"] { background: var(--rh-surface-2); color: var(--rh-text); }
.rh-menu__link[aria-current="page"] .rh-icon { color: var(--rh-accent-text); }
.rh-menu__footer { display: grid; gap: var(--rh-s2); padding-top: var(--rh-s3); border-top: 1px solid var(--rh-border); }
.rh-menu__footer form { margin: 0; }
.rh-menu__footer .rh-theme { justify-content: flex-start; }

/* ── Footer ───────────────────────────────────────────────────────────── */

.rh-footer {
    margin-top: auto;
    padding-block: var(--rh-s7) var(--rh-s5);
    border-top: 1px solid var(--rh-border);
    background: var(--rh-bg);
}
.rh-footer__grid { display: grid; gap: var(--rh-s6) var(--rh-s5); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rh-footer__brand { grid-column: 1 / -1; display: grid; gap: var(--rh-s3); max-width: 22rem; }
.rh-footer__brand p { color: var(--rh-muted); font-size: var(--rh-fs-md); }
.rh-footer__locales { display: flex; flex-wrap: wrap; align-items: center; gap: var(--rh-s2) var(--rh-s3); color: var(--rh-muted); font-size: var(--rh-fs-md); }
.rh-footer__locales a { color: var(--rh-muted); }
.rh-footer__locales a:hover { color: var(--rh-text); }
.rh-footer__locales [aria-current] { color: var(--rh-text); font-weight: 600; }
.rh-footer__col h2 { margin-bottom: var(--rh-s3); font-size: var(--rh-fs-sm); font-weight: var(--rh-fw-strong); letter-spacing: 0; }
.rh-footer__col ul { display: grid; gap: var(--rh-s2); margin: 0; padding: 0; list-style: none; }
.rh-footer__col a,
.rh-footer__col .rh-link-button { color: var(--rh-muted); font-size: var(--rh-fs-sm); text-decoration: none; text-align: left; }
.rh-footer__col a:hover { color: var(--rh-text); }
.rh-footer__col form { margin: 0; }
.rh-footer__bottom { margin-top: var(--rh-s6); color: var(--rh-faint); font-size: var(--rh-fs-sm); }
.rh-footer__bottom > p { padding-top: var(--rh-s4); border-top: 1px solid var(--rh-border); }
@media (min-width: 900px) {
    .rh-footer__grid { grid-template-columns: 2fr repeat(4, minmax(0, 1fr)); }
    .rh-footer__brand { grid-column: auto; }
}

/* ── Consent and impersonation ────────────────────────────────────────── */

.rh-consent {
    position: fixed;
    right: var(--rh-s3);
    bottom: var(--rh-s3);
    left: var(--rh-s3);
    z-index: 80;
    display: grid;
    gap: var(--rh-s2);
    padding: var(--rh-s4);
    border: 1px solid var(--rh-border-strong);
    border-radius: var(--rh-r-lg);
    background: var(--rh-surface-2);
    box-shadow: var(--rh-shadow-2);
}
.rh-consent h2 { font-size: var(--rh-fs-base); }
.rh-consent p { color: var(--rh-muted); font-size: var(--rh-fs-sm); }
.rh-consent__actions { display: flex; flex-wrap: wrap; gap: var(--rh-s2); }
.rh-consent__actions form { margin: 0; }
@media (min-width: 640px) {
    .rh-consent { right: auto; max-width: 26rem; left: var(--rh-s4); bottom: var(--rh-s4); }
}

.rh-impersonation {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: var(--rh-s3);
    padding: var(--rh-s2) var(--rh-s4);
    background: var(--rh-danger-strong);
    color: var(--rh-on-strong);
    font-size: var(--rh-fs-sm);
    text-align: center;
}
.rh-impersonation form { margin: 0; }
.rh-impersonation button {
    padding: 0.125rem var(--rh-s3);
    border: 1px solid var(--rh-on-strong);
    border-radius: var(--rh-r-sm);
    background: transparent;
    color: var(--rh-on-strong);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

/* ── Hero and marketing blocks ────────────────────────────────────────── */

.rh-hero { padding-block: var(--rh-s7) var(--rh-s6); }
.rh-hero h1 { max-width: 18ch; }
.rh-hero .rh-cluster { margin-top: var(--rh-s5); }
.rh-hero__title { font-size: var(--rh-fs-hero); line-height: 1.02; letter-spacing: var(--rh-track-display); }
.rh-hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--rh-s3) var(--rh-s5); margin-top: var(--rh-s5); }
.rh-hero__free { display: flex; align-items: flex-start; gap: var(--rh-s2); max-width: 34rem; margin-top: var(--rh-s4); color: var(--rh-muted); font-size: var(--rh-fs-sm); line-height: 1.5; }
.rh-hero__free .rh-icon { width: 1rem; height: 1rem; margin-top: 0.125rem; color: var(--rh-success); }
.rh-measure { max-width: var(--rh-narrow); }
.rh-hero__grid { display: grid; gap: var(--rh-s7); align-items: center; }
.rh-hero__grid > * { min-width: 0; }
.rh-hero--compact { padding-block: var(--rh-s7) 0; }
.rh-hero--compact h1,
.rh-hero--page h1 { max-width: 22ch; }
.rh-center h1,
.rh-center .rh-lead { margin-inline: auto; }
@media (min-width: 1024px) {
    .rh-hero { padding-block: var(--rh-s8) var(--rh-s7); }
    .rh-hero__grid { grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.12fr); gap: var(--rh-s8); }
    .rh-hero--home .rh-hero__grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.2fr); gap: var(--rh-s7); }
    .rh-hero--compact { padding-block: var(--rh-s8) 0; }
}
/* Marketing pages: text on the left, the platforms orbiting on the right. */
.rh-hero--page .rh-hero__grid .rh-orbit { justify-self: center; width: min(100%, 24rem); }
@media (max-width: 1023px) {
    .rh-hero--page .rh-hero__grid .rh-orbit { display: none; }
}

/* Split section: copy next to a visual. */
.rh-split { display: grid; gap: var(--rh-s7); align-items: center; }
.rh-split > * { min-width: 0; }
@media (min-width: 960px) {
    .rh-split { grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: var(--rh-s8); }
}
.rh-split .rh-orbit { justify-self: center; }

/* Marketing motion waits for streamer.js to add .rh-motion after load. */
:root:not(.rh-motion) :is(.rh-hshot, .rh-logos, .rh-orbit, .rh-loop) :is(*, *::before, *::after) { animation-play-state: paused; }

/* Studio preview: the real interface during a live, drawn in HTML. */
.rh-hshot { position: relative; margin: 0; min-width: 0; }
.rh-hshot__caption { margin-top: var(--rh-s3); color: var(--rh-faint); font-size: var(--rh-fs-sm); text-align: center; }
.rh-mini {
    overflow: hidden;
    border-radius: var(--rh-r-xl);
    background: var(--rh-surface);
    box-shadow: var(--rh-shadow-3);
    font-size: var(--rh-fs-sm);
}
.rh-mini__top {
    display: flex;
    align-items: center;
    gap: var(--rh-s3);
    padding: 0.625rem var(--rh-s4);
    border-bottom: 1px solid var(--rh-border);
}
.rh-mini__top .rh-brand__mark { width: 1.25rem; height: 1.25rem; }
.rh-mini__title { padding-left: var(--rh-s3); border-left: 1px solid var(--rh-border); color: var(--rh-muted); }
.rh-mini__up { color: var(--rh-text-2); font-size: var(--rh-fs-xs); }
.rh-mini__health { margin-left: auto; font-size: var(--rh-fs-xs); }
.rh-mini__body { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: var(--rh-s3); padding: var(--rh-s3); }
.rh-mini__main { display: grid; gap: var(--rh-s3); align-content: start; min-width: 0; }
.rh-mini__stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--rh-s3); }
.rh-mini__side { display: flex; flex-direction: column; gap: 0.375rem; min-width: 0; }
.rh-mini__cap { color: var(--rh-text); font-size: var(--rh-fs-xs); font-weight: var(--rh-fw-strong); }
.rh-mini__side > .rh-mini__cap { margin: 0.125rem 0 0.125rem 0.125rem; }
.rh-mini__box { display: grid; gap: 0.25rem; margin-top: auto; padding: var(--rh-s3); border-radius: var(--rh-r-md); background: var(--rh-surface-2); }
.rh-mini__box .rh-health-dot { font-size: var(--rh-fs-sm); }
.rh-mini__fine { font-size: var(--rh-fs-xs); }
@media (max-width: 599px) {
    .rh-mini__body { grid-template-columns: minmax(0, 1fr); }
    .rh-mini__title, .rh-mini__up, .rh-mini__box { display: none; }
}
.rh-hshot__float {
    position: absolute;
    right: 1.25rem;
    bottom: -3rem;
    display: flex;
    align-items: center;
    gap: var(--rh-s3);
    padding: 0.625rem var(--rh-s4);
    border-radius: var(--rh-r-lg);
    background: var(--rh-surface);
    box-shadow: var(--rh-shadow-3);
    font-size: var(--rh-fs-sm);
    animation: rh-float 6s ease-in-out infinite;
}
.rh-hshot__float b { display: block; font-weight: var(--rh-fw-strong); }
.rh-hshot__float small { color: var(--rh-muted); font-size: var(--rh-fs-xs); }
@media (max-width: 1100px) {
    .rh-hshot__float { display: none; }
}

/* Player: rounded, LIVE + uptime chips on top, controls at the bottom. */
.rh-player {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border-radius: var(--rh-r-md);
    background: var(--rh-screen);
    color: var(--rh-on-screen);
    box-shadow: 0 0 0 1px var(--rh-border);
    isolation: isolate;
}
.rh-player__tl { position: absolute; top: 0.625rem; left: 0.625rem; z-index: 2; display: flex; gap: 0.375rem; }
.rh-player__tr { position: absolute; top: 0.625rem; right: 0.625rem; z-index: 2; }
.rh-player__ctl {
    position: absolute;
    inset: auto 0 0 0;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: var(--rh-s3);
    padding: 1.25rem 0.75rem 0.5rem;
    background: linear-gradient(transparent, var(--rh-scrim));
    font-size: 0.6875rem;
}
.rh-player__ctl .rh-icon { width: 1rem; height: 1rem; }
.rh-player__vol { width: 3.5rem; height: 3px; border-radius: 2px; background: color-mix(in srgb, var(--rh-on-screen) 30%, transparent); }
.rh-player__vol span { display: block; width: 70%; height: 100%; border-radius: inherit; background: var(--rh-on-screen); }
.rh-player__sp { flex: 1; }

/* The abstract scene inside the player: dusk over hills scrolling like a
   side-scrolling game, never a person. Transforms only. */
.rh-scene {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background: linear-gradient(180deg, var(--rh-scene-sky-1) 0%, var(--rh-scene-sky-2) 52%, var(--rh-scene-sky-3) 78%);
}
.rh-scene__sun {
    position: absolute;
    left: 62%;
    top: 22%;
    width: 22%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, var(--rh-scene-sun) 0 38%, color-mix(in srgb, var(--rh-scene-sun) 28%, transparent) 40%, transparent 70%);
    animation: rh-sun 9s ease-in-out infinite;
}
.rh-scene__layer { position: absolute; left: 0; bottom: 0; width: 200%; height: 100%; animation: rh-scroll 40s linear infinite; }
.rh-scene__layer svg { display: block; width: 100%; height: 100%; }
.rh-scene__layer--far { fill: var(--rh-scene-hill-1); animation-duration: 60s; }
.rh-scene__layer--mid { fill: var(--rh-scene-hill-2); animation-duration: 30s; }
.rh-scene__layer--near { fill: var(--rh-scene-hill-3); animation-duration: 14s; }
.rh-scene__spark {
    position: absolute;
    top: 30%;
    left: 20%;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--rh-scene-sun);
    opacity: 0;
    animation: rh-spark 7s ease-in-out infinite;
}
.rh-scene__spark:nth-of-type(2) { top: 18%; left: 44%; animation-delay: -2.3s; }
.rh-scene__spark:nth-of-type(3) { top: 40%; left: 78%; animation-delay: -4.6s; }
@keyframes rh-scroll { to { transform: translateX(-50%); } }
@keyframes rh-sun { 50% { transform: translateY(6%); } }
@keyframes rh-spark { 0% { opacity: 0; transform: translate(0, 0); } 30% { opacity: 0.9; } 100% { opacity: 0; transform: translate(-40px, -14px); } }
@keyframes rh-float { 50% { transform: translateY(-6px); } }

/* Stat cards with a sparkline (the trace scrolls like a live graph). */
.rh-stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
    padding: var(--rh-s3);
    border-radius: var(--rh-r-md);
    background: var(--rh-surface);
    box-shadow: inset 0 0 0 1px var(--rh-border);
}
.rh-stat__k { color: var(--rh-muted); font-size: var(--rh-fs-xs); }
.rh-stat__v { color: var(--rh-text); font-size: 1.125rem; font-weight: var(--rh-fw-medium); letter-spacing: -0.02em; line-height: 1.15; }
.rh-stat__v small { margin-left: 0.25rem; color: var(--rh-muted); font-size: var(--rh-fs-xs); }
.rh-stat__d { margin-top: auto; font-size: var(--rh-fs-xs); }
.rh-spark { width: 100%; height: 1.75rem; margin-top: auto; overflow: hidden; }
.rh-spark__run { animation: rh-spark-run 12s linear infinite; }
.rh-spark__line { fill: none; stroke: var(--rh-accent-text); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.rh-spark__fill { fill: color-mix(in srgb, var(--rh-accent) 14%, transparent); }
@keyframes rh-spark-run { to { transform: translateX(-100px); } }

/* Output rows (hero preview, studio). */
.rh-orow {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: var(--rh-s3);
    padding: var(--rh-s2);
    border-radius: var(--rh-r-md);
    background: var(--rh-bg);
    box-shadow: inset 0 0 0 1px var(--rh-border);
}
.rh-orow .rh-platform { width: 1.875rem; height: 1.875rem; border-radius: 7px; }
.rh-orow__n { display: flex; flex-direction: column; align-items: flex-start; gap: 0.1875rem; min-width: 0; }
.rh-orow__n b { max-width: 100%; overflow: hidden; color: var(--rh-text); font-size: var(--rh-fs-sm); font-weight: var(--rh-fw-medium); text-overflow: ellipsis; white-space: nowrap; }
.rh-orow__n .rh-badge { height: 1.125rem; padding: 0 0.375rem; font-size: 0.6875rem; }
.rh-orow__v { color: var(--rh-text-2); font-size: var(--rh-fs-xs); white-space: nowrap; }
.rh-orow--retrying { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--rh-warn) 45%, var(--rh-border)); }
.rh-orow--off { opacity: 0.7; }

/* "Goes live on": the platform row under the hero, marks floating gently. */
.rh-logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: var(--rh-s4) var(--rh-s5);
    margin-top: var(--rh-s8);
    padding-top: var(--rh-s5);
    border-top: 1px solid var(--rh-border);
}
.rh-logos__label { color: var(--rh-muted); font-size: var(--rh-fs-sm); }
.rh-logos__list { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--rh-s3); margin: 0; padding: 0; list-style: none; }
.rh-logos__list li { animation: rh-bob 4.8s ease-in-out infinite; animation-delay: calc(var(--i, 0) * -0.6s); }
.rh-logos__list .rh-platform { width: 2.5rem; height: 2.5rem; border-radius: var(--rh-r-md); background: var(--rh-surface); box-shadow: inset 0 0 0 1px var(--rh-border); --rh-pl-cut: var(--rh-surface); }
@keyframes rh-bob { 50% { transform: translateY(-4px); } }
@media (max-width: 479px) {
    .rh-logos__list { gap: 0.4375rem; }
    .rh-logos__list .rh-platform { width: 2.125rem; height: 2.125rem; border-radius: var(--rh-r-sm); }
}

/* Platforms orbiting the relay: the ring turns, pulses run out to each
   mark, the marks float upright. Transforms and opacity only. */
.rh-orbit {
    --rh-orbit-turn: 90s;
    position: relative;
    width: min(100%, 26rem);
    aspect-ratio: 1;
    margin-inline: auto;
}
.rh-orbit__ring {
    position: absolute;
    inset: 12%;
    border: 1px dashed var(--rh-border-strong);
    border-radius: 50%;
}
.rh-orbit__wave {
    position: absolute;
    inset: 30%;
    border: 1px solid var(--rh-accent);
    border-radius: 50%;
    opacity: 0;
    animation: rh-wave 4.5s ease-out infinite;
}
.rh-orbit__wave:nth-of-type(3) { animation-delay: -1.5s; }
.rh-orbit__wave:nth-of-type(4) { animation-delay: -3s; }
.rh-orbit__track { position: absolute; inset: 0; animation: rh-turn var(--rh-orbit-turn) linear infinite; }
.rh-orbit__arm {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 38%;
    height: 1px;
    transform: rotate(var(--a));
    transform-origin: 0 50%;
    background: linear-gradient(90deg, transparent 18%, var(--rh-border-strong));
}
.rh-orbit__run { position: absolute; inset: 0; animation: rh-run 3.2s cubic-bezier(0.4, 0, 0.7, 1) infinite; animation-delay: calc(var(--i) * -0.45s); }
.rh-orbit__pulse {
    position: absolute;
    left: 0;
    top: -2px;
    width: 1.25rem;
    height: 5px;
    border-radius: 3px;
    background: linear-gradient(90deg, transparent, var(--rh-accent-text));
}
.rh-orbit__node { position: absolute; left: 100%; top: 50%; transform: translate(-50%, -50%) rotate(calc(-1 * var(--a))); }
.rh-orbit__spin { display: block; animation: rh-turn var(--rh-orbit-turn) linear infinite reverse; }
.rh-orbit__bob { display: block; animation: rh-bob 4.8s ease-in-out infinite; animation-delay: calc(var(--i) * -0.7s); }
.rh-orbit .rh-platform {
    --rh-pl-cut: var(--rh-surface);
    width: 3rem;
    height: 3rem;
    border-radius: var(--rh-r-lg);
    background: var(--rh-surface);
    box-shadow: var(--rh-shadow-2), inset 0 0 0 1px var(--rh-border);
}
.rh-orbit__hub {
    position: absolute;
    left: 50%;
    top: 50%;
    display: grid;
    place-items: center;
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    background: var(--rh-surface);
    box-shadow: var(--rh-shadow-3);
    transform: translate(-50%, -50%);
}
.rh-orbit__hub .rh-brand__mark { width: 2.5rem; height: 2.5rem; }
@keyframes rh-turn { to { transform: rotate(360deg); } }
@keyframes rh-run {
    0% { transform: translateX(8%); opacity: 0; }
    15% { opacity: 1; }
    85% { opacity: 1; }
    100% { transform: translateX(92%); opacity: 0; }
}
@keyframes rh-wave {
    0% { transform: scale(0.6); opacity: 0.5; }
    100% { transform: scale(1.9); opacity: 0; }
}
@media (max-width: 479px) {
    .rh-orbit .rh-platform { width: 2.5rem; height: 2.5rem; }
    .rh-orbit__hub { width: 4rem; height: 4rem; }
}

/* 24/7 channel visual (streaming/partials/loop-visual): a playlist looping
   on our servers, live on three platforms. The highlight walks the list in a
   9 s cycle; signal dashes run along the wires. */
.rh-loop { margin: 0; }
.rh-loop__window {
    overflow: hidden;
    border-radius: var(--rh-r-xl);
    background: var(--rh-surface);
    box-shadow: var(--rh-shadow-3);
}
.rh-loop__bar {
    display: flex;
    align-items: center;
    gap: var(--rh-s3);
    padding: 0.625rem var(--rh-s4);
    border-bottom: 1px solid var(--rh-border);
    color: var(--rh-muted);
    font-size: var(--rh-fs-sm);
}
.rh-loop__bar .rh-brand__mark { width: 1.25rem; height: 1.25rem; }
.rh-loop__body { display: grid; grid-template-columns: minmax(0, 1fr) 3rem auto; align-items: center; padding: var(--rh-s4); }
.rh-loop__deck { display: grid; gap: var(--rh-s3); min-width: 0; }
.rh-loop__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--rh-s2); }
.rh-loop__pc { color: var(--rh-faint); font-size: var(--rh-fs-sm); }
.rh-loop__list { display: grid; gap: var(--rh-s2); margin: 0; padding: 0; list-style: none; }
.rh-loop__item {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: var(--rh-s3);
    overflow: hidden;
    padding: var(--rh-s2);
    border-radius: var(--rh-r-md);
    background: var(--rh-bg);
    box-shadow: inset 0 0 0 1px var(--rh-border);
    font-size: var(--rh-fs-md);
    animation: rh-loop-now 9s linear infinite;
    animation-delay: calc(var(--rh-loop-i, 0) * 3s - 9s);
}
.rh-loop__thumb {
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
    width: 3.5rem;
    aspect-ratio: 16 / 9;
    border-radius: var(--rh-r-xs);
    background: linear-gradient(180deg, var(--rh-scene-sky-1), var(--rh-scene-sky-2) 70%, var(--rh-scene-hill-2) 70%);
}
.rh-loop__thumb--2 { background: linear-gradient(160deg, var(--rh-scene-sky-2), var(--rh-scene-sky-3) 60%, var(--rh-scene-hill-1) 60%); }
.rh-loop__thumb--3 { background: linear-gradient(200deg, var(--rh-scene-sky-1), var(--rh-scene-hill-1) 55%, var(--rh-scene-hill-3) 55%); }
.rh-loop__thumb .rh-platform { --rh-pl-cut: var(--rh-scrim); width: 1.375rem; height: 1.375rem; background: var(--rh-scrim); color: var(--rh-on-screen); }
.rh-loop__title { overflow: hidden; font-weight: var(--rh-fw-medium); text-overflow: ellipsis; white-space: nowrap; }
.rh-loop__len { color: var(--rh-faint); font-family: var(--rh-mono); font-size: var(--rh-fs-xs); }
.rh-loop__prog {
    position: absolute;
    inset: auto 0 0 0;
    height: 2px;
    background: var(--rh-accent);
    transform: scaleX(0);
    transform-origin: left;
    animation: rh-loop-bar 9s linear infinite;
    animation-delay: calc(var(--rh-loop-i, 0) * 3s - 9s);
}
.rh-loop__repeat { display: flex; align-items: center; gap: var(--rh-s2); margin: 0; color: var(--rh-muted); font-size: var(--rh-fs-sm); }
.rh-loop__repeat .rh-icon { width: 1rem; height: 1rem; color: var(--rh-accent-text); }
.rh-loop__wire { width: 100%; height: 11rem; overflow: visible; }
.rh-loop__wire path {
    fill: none;
    stroke: var(--rh-accent);
    stroke-opacity: 0.55;
    stroke-width: 2;
    stroke-dasharray: 4 6;
    vector-effect: non-scaling-stroke;
    animation: rh-loop-flow 0.9s linear infinite;
}
.rh-loop__out { display: grid; gap: var(--rh-s3); margin: 0; padding: 0; list-style: none; }
.rh-loop__out li {
    display: grid;
    grid-template-columns: auto auto;
    align-items: center;
    column-gap: var(--rh-s2);
    padding: var(--rh-s2) var(--rh-s3) var(--rh-s2) var(--rh-s2);
    border-radius: var(--rh-r-md);
    background: var(--rh-bg);
    box-shadow: inset 0 0 0 1px var(--rh-border);
    font-size: var(--rh-fs-sm);
    font-weight: var(--rh-fw-medium);
}
.rh-loop__out .rh-platform { grid-row: span 3; }
.rh-loop__out small { grid-column: 2; color: var(--rh-warn); font-size: var(--rh-fs-xs); font-weight: var(--rh-fw-medium); }
.rh-loop__out .rh-badge { grid-column: 2; justify-self: start; height: 1.125rem; font-size: 0.6875rem; }
@keyframes rh-loop-now {
    0%, 32% { background: var(--rh-accent-soft); box-shadow: inset 0 0 0 1px var(--rh-accent-border); }
    34%, 100% { background: var(--rh-bg); box-shadow: inset 0 0 0 1px var(--rh-border); }
}
@keyframes rh-loop-bar {
    0% { transform: scaleX(0); opacity: 1; }
    33% { transform: scaleX(1); opacity: 1; }
    33.4%, 100% { transform: scaleX(0); opacity: 0; }
}
@keyframes rh-loop-flow { to { stroke-dashoffset: -10; } }
@media (max-width: 559px) {
    .rh-loop__body { grid-template-columns: minmax(0, 1fr); gap: var(--rh-s3); }
    .rh-loop__wire { display: none; }
    .rh-loop__out { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--rh-s2); }
    .rh-loop__out li { grid-template-columns: minmax(0, 1fr); justify-items: center; row-gap: var(--rh-s1); padding: var(--rh-s2); text-align: center; }
    .rh-loop__out .rh-platform { grid-row: auto; }
    .rh-loop__out small, .rh-loop__out .rh-badge { grid-column: auto; justify-self: center; }
}
@media (prefers-reduced-motion: reduce) {
    .rh-loop__item:first-child { background: var(--rh-accent-soft); box-shadow: inset 0 0 0 1px var(--rh-accent-border); }
}

/* 24/7 landing page, home band and pricing block. */
.rh-247-step__art { display: flex; flex-wrap: wrap; align-items: center; gap: var(--rh-s3); margin-bottom: var(--rh-s3); }
.rh-247-step__art .rh-flow__num { margin-bottom: 0; }
.rh-247-step__marks { display: inline-flex; gap: var(--rh-s2); }
.rh-247-benefit__icon {
    display: inline-grid;
    place-items: center;
    width: 2.25rem;
    height: 2.25rem;
    margin-bottom: var(--rh-s3);
    border-radius: var(--rh-r-sm);
    background: var(--rh-surface-2);
    color: var(--rh-text-2);
}
.rh-247-specs__title { margin: var(--rh-s7) 0 var(--rh-s4); font-size: var(--rh-fs-lg); }
.rh-247-specs { display: flex; flex-wrap: wrap; gap: var(--rh-s2) var(--rh-s3); margin: 0; padding: 0; list-style: none; }
.rh-247-specs li {
    display: inline-flex;
    align-items: center;
    gap: var(--rh-s2);
    padding: 0.375rem var(--rh-s3);
    border: 1px solid var(--rh-border);
    border-radius: var(--rh-r-sm);
    background: var(--rh-surface);
    font-size: var(--rh-fs-md);
    font-weight: var(--rh-fw-medium);
}
.rh-247-specs .rh-icon { width: 1rem; height: 1rem; color: var(--rh-success); }
.rh-247-row--us th, .rh-247-row--us td { background: var(--rh-accent-soft); }
.rh-247-sources { margin-top: var(--rh-s3); color: var(--rh-muted); font-size: var(--rh-fs-sm); }
.rh-247-sources summary { cursor: pointer; font-weight: var(--rh-fw-medium); }
.rh-247-sources ul { margin: var(--rh-s2) 0 0; padding-left: var(--rh-s5); }
.rh-247-home { display: grid; gap: var(--rh-s6); align-items: center; }
.rh-247-home > * { min-width: 0; }
.rh-247-home__list { display: grid; gap: var(--rh-s2); margin: var(--rh-s4) 0 var(--rh-s5); padding: 0; list-style: none; }
.rh-247-home__list li { display: flex; align-items: flex-start; gap: var(--rh-s2); color: var(--rh-text-2); }
.rh-247-home__list .rh-icon { flex-shrink: 0; width: 1.125rem; height: 1.125rem; margin-top: 0.2rem; color: var(--rh-success); }
@media (min-width: 1024px) {
    .rh-247-home { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: var(--rh-s8); }
}
.rh-plan__badge--247 { background: var(--rh-live); color: var(--rh-on-live); }
.rh-247-pricing { display: flex; flex-wrap: wrap; align-items: center; gap: var(--rh-s4) var(--rh-s6); margin-top: var(--rh-s6); }
.rh-247-pricing > div { flex: 1 1 22rem; }
.rh-247-pricing h2 { margin-bottom: var(--rh-s2); font-size: var(--rh-fs-xl); }

/* How it works: three steps joined by a line, numbers in mono. */
.rh-flow { display: grid; gap: var(--rh-s4); margin: 0; padding: 0; list-style: none; counter-reset: none; }
.rh-flow__step {
    position: relative;
    padding: var(--rh-s5);
    border-radius: var(--rh-r-lg);
    background: var(--rh-surface);
    box-shadow: inset 0 0 0 1px var(--rh-border);
}
.rh-section--alt .rh-flow__step { background: var(--rh-bg); }
.rh-flow__num {
    display: inline-grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    margin-bottom: var(--rh-s4);
    border-radius: var(--rh-r-sm);
    background: var(--rh-surface-3);
    color: var(--rh-text);
    font-family: var(--rh-mono);
    font-size: var(--rh-fs-sm);
    font-weight: var(--rh-fw-medium);
}
.rh-flow__step h3 { margin-bottom: var(--rh-s2); }
.rh-flow__step p { color: var(--rh-muted); font-size: var(--rh-fs-md); }
@media (min-width: 900px) {
    .rh-flow { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--rh-s5); }
    .rh-flow__step:not(:last-child)::after {
        content: "";
        position: absolute;
        top: 2.5rem;
        right: calc(-1 * var(--rh-s5));
        width: var(--rh-s5);
        height: 1px;
        background: linear-gradient(90deg, var(--rh-border-strong), var(--rh-accent));
    }
}

.rh-platforms { display: flex; flex-wrap: wrap; gap: var(--rh-s2); margin: var(--rh-s5) 0 var(--rh-s4); padding: 0; list-style: none; }
.rh-platforms li {
    display: inline-flex;
    align-items: center;
    gap: var(--rh-s2);
    padding: 0.3125rem var(--rh-s3) 0.3125rem 0.3125rem;
    border-radius: var(--rh-r-sm);
    background: var(--rh-surface);
    box-shadow: inset 0 0 0 1px var(--rh-border);
    font-size: var(--rh-fs-md);
    font-weight: var(--rh-fw-medium);
}
.rh-section--alt .rh-platforms li { background: var(--rh-bg); }
.rh-platforms .rh-platform { width: 1.75rem; height: 1.75rem; border-radius: 6px; }
.rh-platforms__any { font-weight: var(--rh-fw-regular); color: var(--rh-text-2); }

/* Platform marks: one neutral tone everywhere (a row of integrations, not
   a rainbow). The brand colour shows on hover, and on an output that is
   actually live. */
.rh-platform {
    --rh-pl-cut: var(--rh-surface-3);
    display: inline-grid;
    place-items: center;
    width: 2.25rem;
    height: 2.25rem;
    flex-shrink: 0;
    border-radius: var(--rh-r-sm);
    background: var(--rh-surface-3);
    color: var(--rh-text-2);
    transition: color 0.2s ease;
}
.rh-platform svg { display: block; width: 58%; height: 58%; }
.rh-platform__fill { fill: var(--rh-pl-cut); transition: fill 0.2s ease; }
.rh-platform[data-platform="youtube"] { --rh-pl-brand: var(--rh-p-youtube); }
.rh-platform[data-platform="twitch"] { --rh-pl-brand: var(--rh-p-twitch); }
.rh-platform[data-platform="kick"] { --rh-pl-brand: var(--rh-p-kick); }
.rh-platform[data-platform="x"] { --rh-pl-brand: var(--rh-p-x); }
.rh-platform[data-platform="linkedin"] { --rh-pl-brand: var(--rh-p-linkedin); }
.rh-platform[data-platform="tiktok"] { --rh-pl-brand: var(--rh-p-tiktok); }
.rh-platform[data-platform="instagram"] { --rh-pl-brand: var(--rh-p-instagram); }
.rh-platform[data-platform="custom_rtmp"] { --rh-pl-brand: var(--rh-text); }
.rh-platform--brand,
.rh-platform:hover,
a:hover > .rh-platform,
.rh-platforms li:hover .rh-platform,
.rh-pick__item:hover .rh-platform,
.rh-dchip--live .rh-platform,
.rh-orow--live .rh-platform,
.rh-dest--live .rh-platform,
.is-live .rh-platform { color: var(--rh-pl-brand, var(--rh-text)); }
:is(.rh-platform--brand, .rh-platform:hover, a:hover > .rh-platform, .rh-platforms li:hover .rh-platform, .rh-pick__item:hover .rh-platform, .rh-dchip--live .rh-platform, .rh-orow--live .rh-platform, .rh-dest--live .rh-platform, .is-live .rh-platform) .rh-platform__fill { fill: #ffffff; }

.rh-numbered { display: grid; gap: var(--rh-s3); margin: 0; padding: 0; list-style: none; counter-reset: rh-step; }
.rh-numbered li {
    position: relative;
    padding: var(--rh-s3) var(--rh-s4) var(--rh-s3) 3.25rem;
    border-radius: var(--rh-r-md);
    background: var(--rh-surface);
    box-shadow: inset 0 0 0 1px var(--rh-border);
    color: var(--rh-text-2);
    counter-increment: rh-step;
}
.rh-section--alt .rh-numbered li { background: var(--rh-bg); }
.rh-numbered li::before {
    content: counter(rh-step);
    position: absolute;
    top: var(--rh-s3);
    left: var(--rh-s4);
    display: grid;
    place-items: center;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 6px;
    background: var(--rh-surface-3);
    color: var(--rh-text);
    font-family: var(--rh-mono);
    font-size: var(--rh-fs-xs);
    font-weight: var(--rh-fw-medium);
}

.rh-related { display: grid; gap: var(--rh-s2); margin: 0; padding: 0; list-style: none; }
.rh-related a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--rh-s3);
    padding: var(--rh-s3) var(--rh-s4);
    border-radius: var(--rh-r-md);
    background: var(--rh-surface);
    box-shadow: inset 0 0 0 1px var(--rh-border);
    color: var(--rh-text);
    font-weight: var(--rh-fw-medium);
    text-decoration: none;
    transition: background-color 0.15s ease;
}
.rh-related a:hover { background: var(--rh-surface-2); color: var(--rh-text); text-decoration: none; }
.rh-related .rh-icon { color: var(--rh-muted); transition: transform 0.15s ease; }
.rh-related a:hover .rh-icon { color: var(--rh-text); transform: translateX(2px); }

.rh-cta {
    position: relative;
    display: grid;
    gap: var(--rh-s5);
    overflow: hidden;
    padding: var(--rh-s6) var(--rh-s5);
    border-radius: var(--rh-r-xl);
    background: var(--rh-surface);
    box-shadow: var(--rh-shadow-2), inset 0 0 0 1px var(--rh-border);
}
.rh-cta > * { position: relative; }
.rh-cta::before {
    content: "";
    position: absolute;
    inset: 0 0 auto auto;
    width: 60%;
    height: 100%;
    background: radial-gradient(ellipse 60% 70% at 85% 30%, var(--rh-accent-soft), transparent 70%);
    pointer-events: none;
}
.rh-cta h2 { margin-bottom: var(--rh-s2); }
.rh-cta p { color: var(--rh-muted); max-width: 52ch; }
@media (min-width: 900px) {
    .rh-cta { grid-template-columns: 1fr auto; align-items: center; padding: var(--rh-s7); }
}

.rh-faq { display: grid; }
.rh-faq__item { border-bottom: 1px solid var(--rh-border); }
.rh-faq__item:first-child { border-top: 1px solid var(--rh-border); }
.rh-faq__item summary {
    display: flex;
    justify-content: space-between;
    gap: var(--rh-s4);
    padding: var(--rh-s4) 0;
    color: var(--rh-text);
    font-size: var(--rh-fs-base);
    font-weight: var(--rh-fw-medium);
    list-style: none;
    cursor: pointer;
}
.rh-faq__item summary::-webkit-details-marker { display: none; }
.rh-faq__item summary::after { content: "+"; flex-shrink: 0; color: var(--rh-muted); font-weight: 400; font-size: 1.375rem; line-height: 1; transition: transform 0.2s ease; }
.rh-faq__item summary:hover::after { color: var(--rh-text); }
.rh-faq__item[open] summary::after { content: "−"; }
.rh-faq__item p { padding-bottom: var(--rh-s4); color: var(--rh-muted); max-width: 65ch; }

/* ── Pricing ──────────────────────────────────────────────────────────── */

.rh-pricing [hidden] { display: none; }

/* Monthly / yearly switch */
.rh-billing {
    display: flex;
    width: max-content;
    max-width: 100%;
    gap: 2px;
    margin: 0 auto var(--rh-s5);
    padding: 3px;
    border: 1px solid var(--rh-border);
    border-radius: var(--rh-r-md);
    background: var(--rh-surface);
}
.rh-billing__opt {
    display: inline-flex;
    align-items: center;
    gap: var(--rh-s2);
    min-height: 36px;
    padding: var(--rh-s1) var(--rh-s4);
    border: 0;
    border-radius: var(--rh-r-sm);
    background: transparent;
    color: var(--rh-muted);
    font: inherit;
    font-size: var(--rh-fs-md);
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    cursor: pointer;
}
.rh-billing__opt:hover { color: var(--rh-text); }
.rh-billing__opt[aria-pressed="true"] { background: var(--rh-surface-3); color: var(--rh-text); box-shadow: var(--rh-shadow-1); }
.rh-billing__opt:focus-visible { outline: 2px solid var(--rh-focus); outline-offset: 2px; }
.rh-billing__promo {
    padding: 0.0625rem var(--rh-s2);
    border-radius: var(--rh-r-xs);
    background: var(--rh-success-soft);
    color: var(--rh-success);
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.5;
}
@media (max-width: 380px) {
    .rh-billing__opt { padding-inline: var(--rh-s3); }
}

/* Cards */
.rh-plans { display: grid; gap: var(--rh-s4); }
@media (min-width: 720px) {
    .rh-plans { grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: var(--rh-s5); }
    .rh-plans[data-plan-count="1"] { max-width: 26rem; margin-inline: auto; }
    .rh-plans[data-plan-count="2"] { max-width: 50rem; margin-inline: auto; }
}
@media (min-width: 1100px) {
    .rh-plans[data-plan-count="4"] { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.rh-plan {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--rh-s4);
    min-width: 0;
    padding: var(--rh-s5);
    border: 1px solid var(--rh-border);
    border-radius: var(--rh-r-xl);
    background: var(--rh-surface);
    box-shadow: var(--rh-shadow-1);
}
.rh-section--alt .rh-plan { background: var(--rh-bg); }
.rh-plan--featured {
    border-color: var(--rh-accent);
    background: linear-gradient(180deg, var(--rh-accent-soft), var(--rh-surface) 9rem);
    box-shadow: var(--rh-shadow-2), 0 0 0 1px var(--rh-accent);
}
.rh-section--alt .rh-plan--featured { background: linear-gradient(180deg, var(--rh-accent-soft), var(--rh-bg) 9rem); }
.rh-plan__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--rh-s2); }
.rh-plan__name { margin: 0; font-size: var(--rh-fs-lg); font-weight: 600; letter-spacing: -0.01em; }
.rh-plan__badge {
    padding: 0.125rem var(--rh-s2);
    border-radius: var(--rh-r-xs);
    background: var(--rh-accent-soft);
    color: var(--rh-accent-text);
    box-shadow: inset 0 0 0 1px var(--rh-accent-border);
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.5;
    white-space: nowrap;
}
.rh-plan__badge--quiet { background: var(--rh-surface-3); color: var(--rh-text-2); }
.rh-plan__desc { margin: calc(-1 * var(--rh-s2)) 0 0; color: var(--rh-muted); font-size: var(--rh-fs-md); }
.rh-plan__pricing { padding-bottom: var(--rh-s4); border-bottom: 1px solid var(--rh-border); }
.rh-plan__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: var(--rh-s1) var(--rh-s2); margin: 0; }
.rh-plan__price strong { color: var(--rh-text); font-size: 2.125rem; font-weight: 600; line-height: 1.1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.rh-plan__price strong.rh-plan__soon { font-size: var(--rh-fs-lg); }
.rh-plan__price span { color: var(--rh-muted); font-size: var(--rh-fs-md); }
.rh-plan__billing { display: flex; flex-wrap: wrap; align-items: center; gap: var(--rh-s1) var(--rh-s2); margin: var(--rh-s1) 0 0; color: var(--rh-muted); font-size: var(--rh-fs-sm); }
.rh-plan__save { color: var(--rh-success); font-weight: 500; }
.rh-plan__features { display: grid; gap: var(--rh-s2); margin: 0; padding: 0; list-style: none; }
.rh-plan__features li { display: flex; align-items: flex-start; gap: var(--rh-s2); color: var(--rh-text-2); font-size: var(--rh-fs-md); line-height: 1.45; }
.rh-plan__features .rh-icon { width: 1rem; height: 1rem; margin-top: 0.15rem; color: var(--rh-text-2); }
.rh-plan--featured .rh-plan__features .rh-icon { color: var(--rh-accent-text); }
.rh-plan__cta { display: grid; gap: var(--rh-s2); margin-top: auto; padding-top: var(--rh-s2); }
.rh-plan__cta form { margin: 0; }
.rh-plan__note { margin: 0; color: var(--rh-muted); font-size: var(--rh-fs-sm); }

/* Under the cards */
.rh-pricing__note,
.rh-pricing__reassure { max-width: 40rem; margin: var(--rh-s4) auto 0; color: var(--rh-muted); font-size: var(--rh-fs-sm); text-align: center; }
.rh-pricing__reassure { display: flex; justify-content: center; align-items: flex-start; gap: var(--rh-s2); margin-top: var(--rh-s3); color: var(--rh-text-2); font-size: var(--rh-fs-md); }
.rh-pricing__reassure .rh-icon { width: 1.125rem; height: 1.125rem; margin-top: 0.1rem; color: var(--rh-success); }

.rh-pricing-notes { max-width: 50rem; margin: var(--rh-s6) auto 0; }
.rh-pricing-notes h2 { font-size: var(--rh-fs-lg); margin-bottom: var(--rh-s2); }

/* Pricing: "try it free" strip and the full comparison table. */
.rh-try-free { display: grid; gap: var(--rh-s4); align-items: center; max-width: 60rem; margin: var(--rh-s6) auto 0; }
.rh-try-free h2 { margin-bottom: var(--rh-s1); font-size: var(--rh-fs-lg); }
.rh-try-free p { font-size: var(--rh-fs-md); }
@media (min-width: 760px) {
    .rh-try-free { grid-template-columns: minmax(0, 1fr) auto; }
}
.rh-plan-compare { max-width: 60rem; margin: var(--rh-s7) auto 0; }
.rh-table--compare { font-size: var(--rh-fs-md); }
.rh-table--compare th[scope="row"] { color: var(--rh-text-2); font-weight: var(--rh-fw-regular); white-space: normal; }
.rh-table--compare td { color: var(--rh-text); font-variant-numeric: tabular-nums; }
.rh-table--compare thead th { color: var(--rh-text); font-size: var(--rh-fs-sm); font-weight: var(--rh-fw-strong); }
.rh-table--compare .is-featured { color: var(--rh-accent-text); }
.rh-table--compare .is-muted { color: var(--rh-faint); }
.rh-table--compare .is-muted .rh-icon { width: 0.875rem; height: 0.875rem; vertical-align: -0.125em; }
.rh-table--compare tbody tr:hover th, .rh-table--compare tbody tr:hover td { background: var(--rh-surface); }

/* ── Guides, blog, prose ──────────────────────────────────────────────── */

.rh-breadcrumb { margin-bottom: var(--rh-s5); }
.rh-breadcrumb ol { display: flex; flex-wrap: wrap; gap: var(--rh-s1) var(--rh-s2); margin: 0; padding: 0; list-style: none; color: var(--rh-muted); font-size: var(--rh-fs-sm); }
.rh-breadcrumb li + li::before { content: "/"; margin-right: var(--rh-s2); color: var(--rh-faint); }
.rh-breadcrumb a { color: var(--rh-muted); }
.rh-breadcrumb a:hover { color: var(--rh-text); }
.rh-breadcrumb [aria-current] { color: var(--rh-text-2); }

.rh-guide__head { margin-bottom: var(--rh-s6); }
.rh-guide__head h1 { font-size: clamp(1.875rem, 1.4rem + 2vw, 2.75rem); }
.rh-guide__related { margin-top: var(--rh-s7); }
.rh-guide__related h2 { font-size: var(--rh-fs-lg); margin-bottom: var(--rh-s3); }

.rh-prose { color: var(--rh-text-2); font-size: 1.0625rem; line-height: 1.75; }
.rh-prose > * + * { margin-top: 1.1em; }
.rh-prose h2 { margin-top: 2em; font-size: var(--rh-fs-xl); }
.rh-prose h3 { margin-top: 1.6em; font-size: var(--rh-fs-lg); }
.rh-prose h2 + *,
.rh-prose h3 + * { margin-top: 0.6em; }
.rh-prose > :first-child { margin-top: 0; }
.rh-prose ul,
.rh-prose ol { padding-left: 1.4em; }
.rh-prose li + li { margin-top: 0.4em; }
.rh-prose li::marker { color: var(--rh-accent-text); }
.rh-prose blockquote { margin-inline: 0; padding-left: var(--rh-s4); border-left: 3px solid var(--rh-border-strong); color: var(--rh-muted); }
.rh-prose img { height: auto; border-radius: var(--rh-r-md); }
.rh-prose pre { overflow-x: auto; padding: var(--rh-s4); border: 1px solid var(--rh-border); border-radius: var(--rh-r-md); background: var(--rh-surface); }
.rh-prose pre code { padding: 0; border: 0; background: none; }
.rh-prose table { width: 100%; border-collapse: collapse; font-size: var(--rh-fs-md); }
.rh-prose th,
.rh-prose td { padding: var(--rh-s2) var(--rh-s3); border-bottom: 1px solid var(--rh-border); text-align: left; vertical-align: top; }

/* Legal pages: platform markup (legal/index, legal/show), RelayHalo type scale. */
.rh-main > .legal-page { max-width: calc(var(--rh-prose) + 2 * var(--rh-gutter)); margin-block: var(--rh-s7) var(--rh-s8); }
.legal-header { margin-bottom: var(--rh-s6); padding-bottom: var(--rh-s5); border-bottom: 1px solid var(--rh-border); }
.legal-title { margin: 0 0 var(--rh-s3); font-size: clamp(1.875rem, 1.4rem + 2vw, 2.75rem); }
.legal-subtitle { margin: 0; color: var(--rh-muted); font-size: var(--rh-fs-lg); line-height: 1.6; }
.legal-updated { margin: var(--rh-s2) 0 0; color: var(--rh-faint); font-size: var(--rh-fs-sm); }
.legal-body { color: var(--rh-text-2); font-size: var(--rh-fs-base); line-height: 1.75; }
.legal-body section + section { margin-top: var(--rh-s6); }
.legal-body h2 { margin: 0 0 var(--rh-s3); color: var(--rh-text); font-size: var(--rh-fs-lg); line-height: 1.35; }
.legal-body h3 { margin: var(--rh-s4) 0 var(--rh-s2); color: var(--rh-text); font-size: var(--rh-fs-base); }
.legal-body p,
.legal-body ul,
.legal-body ol { margin: 0; }
.legal-body * + p,
.legal-body * + ul,
.legal-body * + ol,
.legal-body * + table { margin-top: var(--rh-s3); }
.legal-body ul,
.legal-body ol { padding-left: 1.4em; }
.legal-body li + li { margin-top: var(--rh-s1); }
.legal-body li::marker { color: var(--rh-accent-text); }
.legal-body table { width: 100%; border-collapse: collapse; font-size: var(--rh-fs-md); }
.legal-body th,
.legal-body td { padding: var(--rh-s2) var(--rh-s3); border-bottom: 1px solid var(--rh-border); text-align: left; vertical-align: top; }
.legal-body a,
.legal-page a { overflow-wrap: anywhere; }
.legal-index { display: grid; gap: var(--rh-s2); margin: 0; padding: 0; list-style: none; }
.legal-index a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--rh-s3);
    padding: var(--rh-s4);
    border: 1px solid var(--rh-border);
    border-radius: var(--rh-r-md);
    background: var(--rh-surface);
    color: var(--rh-text);
    font-weight: 600;
    text-decoration: none;
}
.legal-index a:hover { border-color: var(--rh-accent-border); color: var(--rh-text); }
.legal-index-arrow { color: var(--rh-accent-text); }

/* Error pages */
.rh-error-page { text-align: center; }
.rh-error-page__code { margin-bottom: var(--rh-s3); color: var(--rh-accent-text); font-size: var(--rh-fs-sm); font-weight: 600; letter-spacing: 0.06em; }
.rh-error-page h1 { margin-inline: auto; font-size: clamp(1.875rem, 1.4rem + 2vw, 2.75rem); }
.rh-error-page .rh-lead { margin-inline: auto; }
.rh-error-page .rh-cluster { justify-content: center; margin-top: var(--rh-s5); }

.rh-posts { margin: 0; padding: 0; list-style: none; }
.rh-post-item { padding-block: var(--rh-s5); border-bottom: 1px solid var(--rh-border); }
.rh-post-item:first-child { padding-top: 0; }
.rh-post-item h2 { font-size: var(--rh-fs-xl); margin-block: var(--rh-s1) var(--rh-s2); }
.rh-post-item h2 a { color: var(--rh-text); text-decoration: none; }
.rh-post-item h2 a:hover { color: var(--rh-accent-text); }
.rh-post-item__date { color: var(--rh-faint); font-size: var(--rh-fs-sm); }

.rh-pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--rh-s3); margin-top: var(--rh-s5); }
.rh-pagination__state { color: var(--rh-muted); font-size: var(--rh-fs-sm); }

.rh-calc {
    display: grid;
    gap: var(--rh-s5);
    margin-block: var(--rh-s5);
    padding: var(--rh-s5);
    border: 1px solid var(--rh-border);
    border-radius: var(--rh-r-lg);
    background: var(--rh-surface);
}
.rh-calc__inputs { display: grid; gap: var(--rh-s4); }
.rh-calc__result { display: grid; align-content: center; gap: var(--rh-s2); padding: var(--rh-s5); border-radius: var(--rh-r-md); background: var(--rh-surface-2); }
.rh-calc__result .rh-btn { justify-self: start; }
.rh-calc__value { color: var(--rh-accent-text); font-size: 2.5rem; font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
@media (min-width: 720px) {
    .rh-calc { grid-template-columns: 1fr 1fr; }
}

/* ── Auth, contact, results ───────────────────────────────────────────── */

.rh-auth { display: grid; justify-items: center; padding: var(--rh-s6) var(--rh-gutter) var(--rh-s8); }
.rh-auth__card {
    display: grid;
    gap: var(--rh-s5);
    width: 100%;
    max-width: 28rem;
    padding: var(--rh-s5) var(--rh-s4);
    border: 1px solid var(--rh-border);
    border-radius: var(--rh-r-xl);
    background: var(--rh-surface);
}
@media (min-width: 560px) {
    .rh-auth__card { padding: var(--rh-s6); }
}
.rh-auth__head h1 { font-size: 1.75rem; margin-bottom: var(--rh-s2); }
.rh-auth__or { display: flex; align-items: center; gap: var(--rh-s3); color: var(--rh-faint); font-size: var(--rh-fs-sm); }
.rh-auth__or::before,
.rh-auth__or::after { content: ""; flex: 1; height: 1px; background: var(--rh-border); }
.rh-auth__next { padding: var(--rh-s4); border-radius: var(--rh-r-md); background: var(--rh-surface-2); }
.rh-auth__next h2 { margin-bottom: var(--rh-s2); font-size: var(--rh-fs-md); }
.rh-auth__next ol { margin: 0; padding-left: 1.25em; color: var(--rh-muted); font-size: var(--rh-fs-md); }
.rh-auth__switch { color: var(--rh-muted); font-size: var(--rh-fs-md); text-align: center; }

.rh-contact { display: grid; gap: var(--rh-s6); align-items: start; }
.rh-contact__intro h1 { font-size: clamp(1.875rem, 1.4rem + 2vw, 2.75rem); }
@media (min-width: 960px) {
    .rh-contact { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: var(--rh-s7); }
}

.rh-result { text-align: center; }
.rh-result .rh-lead { margin-inline: auto; }
.rh-result .rh-cluster { margin-top: var(--rh-s5); }
.rh-status-page { margin-top: var(--rh-s5); }
.rh-status-page .rh-hint { margin-top: var(--rh-s4); }

/* ── Shared with the workspace (stream test preview, guides) ─────────── */

.rh-status__head { display: grid; grid-template-columns: auto 1fr; gap: var(--rh-s3) var(--rh-s4); align-items: start; }
.rh-status__head > .rh-badge { grid-column: 2; justify-self: start; }
.rh-status__head h2 { font-size: var(--rh-fs-xl); margin-bottom: var(--rh-s1); }
.rh-status__head p { font-size: var(--rh-fs-md); }
@media (min-width: 720px) {
    .rh-status__head { grid-template-columns: auto 1fr auto; }
    .rh-status__head > .rh-badge { grid-column: auto; justify-self: end; }
}
.rh-status__dot {
    width: 0.875rem;
    height: 0.875rem;
    margin-top: 0.45rem;
    border-radius: 50%;
    background: var(--rh-faint);
}
.rh-status__dot--live,
.rh-status__dot--ok { background: var(--rh-success); box-shadow: 0 0 0 0 color-mix(in srgb, var(--rh-success) 45%, transparent); animation: rh-pulse 2s infinite; }
.rh-status__dot--info { background: var(--rh-info); }
.rh-status__dot--warn { background: var(--rh-warn); }
.rh-status__dot--danger { background: var(--rh-danger); }
@keyframes rh-pulse {
    0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--rh-success) 45%, transparent); }
    70% { box-shadow: 0 0 0 0.625rem transparent; }
    100% { box-shadow: 0 0 0 0 transparent; }
}
.rh-preview__stage {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border-radius: var(--rh-r-md);
    background: var(--rh-screen);
    color: var(--rh-on-screen);
}
.rh-preview__video { display: block; width: 100%; height: 100%; object-fit: contain; background: var(--rh-screen); }
.rh-preview__overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    padding: var(--rh-s4);
    background: radial-gradient(ellipse at center, color-mix(in srgb, var(--rh-scene-sky-1) 70%, var(--rh-screen)), var(--rh-screen) 75%);
    color: color-mix(in srgb, var(--rh-on-screen) 75%, transparent);
    text-align: center;
}
.rh-preview__overlay .rh-waiting { color: inherit; }
.rh-preview__overlay[hidden] { display: none; }
.rh-platform--sm { width: 1.5rem; height: 1.5rem; border-radius: 6px; }
.rh-platform--sm svg { width: 66%; height: 66%; }
ol.rh-guide { display: grid; gap: var(--rh-s5); margin: 0; padding: 0; list-style: none; counter-reset: rh-guide; }
.rh-guide > li { display: grid; gap: var(--rh-s3); counter-increment: rh-guide; }
.rh-guide > li > p { position: relative; padding-left: 2.25rem; color: var(--rh-text); font-size: var(--rh-fs-base); }
.rh-guide > li > p::before {
    content: counter(rh-guide);
    position: absolute;
    top: -0.0625rem;
    left: 0;
    display: grid;
    place-items: center;
    width: 1.625rem;
    height: 1.625rem;
    border-radius: 6px;
    background: var(--rh-surface-3);
    color: var(--rh-text);
    font-family: var(--rh-mono);
    font-size: var(--rh-fs-xs);
    font-weight: 500;
}
.rh-shot { display: block; max-width: 40rem; overflow: hidden; border: 1px solid var(--rh-border-strong); border-radius: var(--rh-r-md); background: var(--rh-bg); }
.rh-shot img { display: block; width: 100%; height: auto; }
.rh-shot:hover { border-color: var(--rh-accent-border); }
.rh-copy--lg .rh-copy__input { min-height: 52px; font-size: var(--rh-fs-base); }
.rh-copy--lg .rh-btn { min-height: 52px; padding: 0 1.25rem; font-size: var(--rh-fs-base); }
.rh-waiting { display: flex; align-items: center; gap: var(--rh-s3); color: var(--rh-text-2); }
.rh-waiting::before {
    content: "";
    width: 0.75rem;
    height: 0.75rem;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--rh-info);
    animation: rh-pulse 2s infinite;
}
@media (prefers-reduced-motion: reduce) {
    .rh-waiting::before { animation: none; }
}
.rh-signal .rh-preview__stage { border: 1px solid var(--rh-border); }
.rh-signal .rh-preview__overlay p { display: inline-flex; max-width: 28rem; }
.rh-signal__ok { display: flex; align-items: center; gap: var(--rh-s3); color: var(--rh-success); font-weight: 600; }
.rh-signal__ok::before { content: ""; width: 0.625rem; height: 0.625rem; flex-shrink: 0; border-radius: 50%; background: var(--rh-success); }
@keyframes rh-blink { 50% { opacity: 0.35; } }
.rh-studio__stage .rh-preview__stage { border-radius: var(--rh-r-lg); }
.rh-chip .rh-platform--sm { border-radius: 50%; }
@keyframes rh-pulse-info {
    0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--rh-info) 50%, transparent); }
    70% { box-shadow: 0 0 0 0.625rem transparent; }
    100% { box-shadow: 0 0 0 0 transparent; }
}
