/* =============================================================================
   Routeless homepage design system
   Scoped to body.rh-home so the rest of the site keeps its own styles.
   Sections: tokens, primitives, chrome, hero, work, designs, software,
   AI visibility, proof, ways to start, final CTA, motion, responsive.
   ============================================================================= */

/* ---------- Tokens ---------- */
.rh-home {
    --rh-canvas: #0C0A13;
    --rh-deep: #08070D;
    --rh-raised: #191323;
    --rh-raised-2: #221A30;
    --rh-accent: #8E70ED;
    --rh-accent-soft: #C3B0FF;
    --rh-accent-strong: #7255D8;
    --rh-paper: #F5F2EE;
    --rh-paper-raised: #FFFDFB;
    --rh-ink: #0C0A13;
    --rh-ink-muted: #5D5668;
    --rh-ink-accent: #5B45B8;
    --rh-text: #F5F2EE;
    --rh-muted: #A6A0B1;
    --rh-line: rgba(195, 176, 255, 0.11);
    --rh-line-2: rgba(195, 176, 255, 0.2);
    --rh-line-glow: rgba(195, 176, 255, 0.5);
    --rh-line-ink: rgba(12, 10, 19, 0.11);

    --rh-display: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    --rh-sans: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    --rh-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

    --rh-ease: cubic-bezier(0.22, 0.7, 0.2, 1);
    --rh-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --rh-fast: 220ms;
    --rh-slow: 900ms;

    --rh-r-sm: 8px;
    --rh-r: 12px;
    --rh-r-lg: 22px;
    --rh-shadow: 0 0 0 1px rgba(255, 255, 255, 0.02) inset, 0 40px 80px -36px rgba(0, 0, 0, 0.8), 0 18px 36px -18px rgba(0, 0, 0, 0.55);
    --rh-shadow-paper: 0 1px 0 rgba(12, 10, 19, 0.05), 0 32px 64px -36px rgba(46, 26, 92, 0.42), 0 12px 24px -16px rgba(46, 26, 92, 0.18);

    --rh-wrap: 1320px;
    --rh-gutter: clamp(20px, 4vw, 56px);
    --rh-space: clamp(40px, 4.2vw, 60px);

    background: var(--rh-canvas);
    color: var(--rh-text);
    font-family: var(--rh-sans);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

@media (min-width: 1680px) {
    .rh-home { --rh-wrap: 1440px; }
}

/* ---------- Primitives ---------- */
.rh-home .main { background: var(--rh-canvas); }
:where(.rh-home) section { padding: 0; }

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

.rh-section {
    position: relative;
    padding-block: var(--rh-space);
}

.rh-paper {
    background: var(--rh-paper);
    color: var(--rh-ink);
}

.rh-label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 22px;
    font-family: var(--rh-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--rh-accent-soft);
}

.rh-paper .rh-label,
.rh-label--ink { color: var(--rh-ink-accent); }

.rh-index {
    font-family: var(--rh-mono);
    font-size: 12px;
    color: var(--rh-muted);
    letter-spacing: 0.04em;
}

.rh-paper .rh-index { color: var(--rh-ink-muted); }

.rh-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--rh-accent-soft);
    box-shadow: 0 0 0 4px rgba(142, 112, 237, 0.18), 0 0 14px 2px rgba(142, 112, 237, 0.7);
}

.rh-h2 {
    margin: 0;
    max-width: 17ch;
    font-family: var(--rh-display);
    font-size: clamp(30px, 3.2vw, 46px);
    font-weight: 560;
    line-height: 1.02;
    letter-spacing: -0.038em;
    text-wrap: balance;
    color: inherit;
}

.rh-h3 {
    margin: 0;
    font-family: var(--rh-display);
    font-size: clamp(24px, 2.1vw, 30px);
    font-weight: 580;
    line-height: 1.04;
    letter-spacing: -0.032em;
    color: inherit;
}

.rh-h4 {
    margin: 0;
    font-family: var(--rh-display);
    font-size: 22px;
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.022em;
    color: inherit;
}

.rh-meta {
    margin: 0 0 14px;
    font-family: var(--rh-mono);
    font-size: 12px;
    letter-spacing: 0.04em;
    color: var(--rh-muted);
}

.rh-paper .rh-meta { color: var(--rh-ink-muted); }

.rh-source {
    font-family: var(--rh-mono);
    font-size: 11.5px;
    letter-spacing: 0.02em;
    color: var(--rh-muted);
}

.rh-source--block {
    display: block;
    margin: 18px 0 0;
    line-height: 1.6;
}

.rh-tag {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 6px;
    background: rgba(114, 85, 216, 0.1);
    color: var(--rh-ink-accent);
    font-family: var(--rh-mono);
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
}

.rh-tag--dark {
    background: rgba(195, 176, 255, 0.08);
    color: var(--rh-accent-soft);
}

.rh-head { margin-bottom: clamp(22px, 2.4vw, 34px); }

.rh-head--split {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 48px;
    align-items: end;
}

.rh-head__aside {
    margin: 0;
    max-width: 44ch;
    justify-self: end;
    font-size: 17px;
    line-height: 1.6;
    color: var(--rh-muted);
}

.rh-paper .rh-head__aside { color: var(--rh-ink-muted); }

/* ---------- Buttons and links ---------- */
.rh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 10px;
    font-family: var(--rh-sans);
    font-size: 15.5px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.005em;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color var(--rh-fast) var(--rh-ease), border-color var(--rh-fast) var(--rh-ease), box-shadow var(--rh-fast) var(--rh-ease), color var(--rh-fast) var(--rh-ease);
}

.rh-home .rh-btn--primary {
    background: var(--rh-accent-strong);
    color: #fff;
    border-color: rgba(195, 176, 255, 0.28);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 10px 28px -12px rgba(142, 112, 237, 0.75);
}

.rh-home .rh-btn--primary:hover {
    color: #fff;
    border-color: rgba(222, 210, 255, 0.7);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.26), 0 0 0 4px rgba(142, 112, 237, 0.16), 0 14px 34px -12px rgba(142, 112, 237, 0.95);
}

.rh-home .rh-btn--ghost {
    background: rgba(255, 255, 255, 0.02);
    color: var(--rh-text);
    border-color: var(--rh-line-2);
}

.rh-home .rh-btn--ghost:hover {
    color: var(--rh-text);
    background: rgba(195, 176, 255, 0.06);
    border-color: var(--rh-line-glow);
}

.rh-home .rh-btn--ink {
    background: var(--rh-ink);
    color: var(--rh-paper);
}

.rh-home .rh-btn--ink:hover {
    color: var(--rh-paper);
    background: #261D36;
    box-shadow: 0 0 0 4px rgba(114, 85, 216, 0.14);
}

/* A hot spot on the right end of each button, glowing out past its edge. The
   button isolates its own stacking so both layers sit above its background
   and below its label. */
.rh-home .rh-btn--primary,
.rh-home .rh-btn--ghost,
.rh-home .rh-btn--ink {
    position: relative;
    isolation: isolate;
}

.rh-home .rh-btn--primary::before,
.rh-home .rh-btn--ghost::before,
.rh-home .rh-btn--ink::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: radial-gradient(84px 150% at 100% 50%, rgba(255, 248, 255, 0.88), rgba(205, 188, 255, 0.45) 38%, transparent 80%);
    box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.55);
    pointer-events: none;
}

.rh-home .rh-btn--primary::after,
.rh-home .rh-btn--ghost::after,
.rh-home .rh-btn--ink::after {
    content: "";
    position: absolute;
    top: -18px;
    right: -24px;
    bottom: -18px;
    z-index: -1;
    width: 92px;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(205, 186, 255, 0.85), rgba(142, 112, 237, 0.45) 50%, transparent);
    filter: blur(8px);
    pointer-events: none;
}

.rh-home .rh-btn--ghost::before { background: radial-gradient(84px 150% at 100% 50%, rgba(232, 222, 255, 0.5), rgba(142, 112, 237, 0.26) 40%, transparent 80%); }
.rh-home .rh-btn--ghost::after { background: radial-gradient(closest-side, rgba(195, 176, 255, 0.6), rgba(142, 112, 237, 0.3) 50%, transparent); }

.rh-arrow {
    flex-shrink: 0;
    transition: transform var(--rh-fast) var(--rh-ease);
}

a:hover > .rh-arrow,
a:focus-visible > .rh-arrow { transform: translateX(3px); }

a:hover > .rh-arrow--out,
a:focus-visible > .rh-arrow--out { transform: translate(2px, -2px); }

.rh-home .rh-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--rh-text);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
    padding-bottom: 2px;
    transition: background-size var(--rh-fast) var(--rh-ease), color var(--rh-fast) var(--rh-ease);
}

.rh-home .rh-link:hover {
    color: var(--rh-text);
    background-size: 100% 1px;
}

.rh-link .rh-arrow { color: var(--rh-accent-soft); }
.rh-home .rh-link--quiet { color: var(--rh-muted); font-weight: 500; }
.rh-home .rh-link--quiet:hover { color: var(--rh-text); }
.rh-home .rh-link--ink, .rh-home .rh-link--ink:hover { color: var(--rh-ink); }
.rh-link--ink .rh-arrow { color: var(--rh-ink-accent); }
.rh-link--small { font-size: 13px; }

.rh-home :focus-visible {
    outline: 2px solid var(--rh-accent-soft);
    outline-offset: 3px;
    border-radius: 6px;
}

.rh-paper :focus-visible { outline-color: var(--rh-ink-accent); }

/* ---------- Device frames ---------- */
.rh-frame {
    position: relative;
    margin: 0;
    border-radius: var(--rh-r);
    background: #14101C;
    border: 1px solid var(--rh-line-2);
    box-shadow: var(--rh-shadow);
    overflow: hidden;
}

.rh-frame--light {
    background: #FBFAF8;
    border-color: rgba(12, 10, 19, 0.1);
}

.rh-frame__bar {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 30px;
    padding: 0 12px;
    border-bottom: 1px solid var(--rh-line);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0));
}

.rh-frame--light .rh-frame__bar {
    background: #F1EEEA;
    border-bottom-color: rgba(12, 10, 19, 0.08);
}

.rh-frame__bar i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(195, 176, 255, 0.22);
}

.rh-frame--light .rh-frame__bar i { background: rgba(12, 10, 19, 0.14); }

.rh-frame__bar span {
    margin-left: 10px;
    overflow: hidden;
    font-family: var(--rh-mono);
    font-size: 11px;
    color: var(--rh-muted);
    white-space: nowrap;
    text-overflow: ellipsis;
}

.rh-frame--light .rh-frame__bar span { color: var(--rh-ink-muted); }

.rh-frame picture,
.rh-frame img,
.rh-phone picture,
.rh-phone img {
    display: block;
    width: 100%;
    height: auto;
}

.rh-phone {
    margin: 0;
    padding: 5px;
    border-radius: 26px;
    background: #0E0B14;
    border: 1px solid var(--rh-line-2);
    box-shadow: var(--rh-shadow);
}

.rh-phone img {
    aspect-ratio: 9 / 19;
    object-fit: cover;
    object-position: top;
    border-radius: 21px;
}

/* ---------- Route System ---------- */
.rh-route {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    pointer-events: none;
}

.rh-route__path {
    fill: none;
    stroke: rgba(195, 176, 255, 0.26);
    stroke-width: 1;
    vector-effect: non-scaling-stroke;
}

.rh-route__pulse,
.rh-route__trail {
    fill: none;
    stroke: #EFE8FF;
    stroke-width: 2;
    stroke-linecap: round;
    vector-effect: non-scaling-stroke;
    stroke-dasharray: 0 100;
    opacity: 0;
}

.rh-route__trail {
    stroke: #A68BFF;
    stroke-width: 7;
}

/* Upper hero pulses use user units so a trunk pulse and its branch pulse move
   at the same speed and split at the fork. */
.rh-route__pulse--in { vector-effect: none; stroke-width: 2.2; }
.rh-route__trail.rh-route__pulse--in { stroke-width: 7; }

.rh-route__path--lit { stroke: rgba(195, 176, 255, 0.42); }

/* The draw-in uses pathLength, which only lines up with the dash pattern when
   strokes are measured in user units, so these strokes scale with the stage. */
.rh-stage__routes .rh-route__path { vector-effect: none; stroke-width: 1; }
.rh-stage__routes-m .rh-route__path { vector-effect: none; stroke-width: 0.3; }

.rh-route__pulse--m { vector-effect: none; stroke-width: 0.75; }
.rh-route__trail.rh-route__pulse--m { stroke-width: 2.6; }

.rh-stage__routes-m,
.rh-stage__points-m { display: none; }

.rh-stage__points,
.rh-stage__points-m {
    z-index: 5;
    filter: drop-shadow(0 0 4px rgba(142, 112, 237, 0.95)) drop-shadow(0 0 10px rgba(142, 112, 237, 0.6));
}

.rh-point {
    fill: #EFE8FF;
    opacity: 0.7;
    transform-box: fill-box;
    transform-origin: center;
}

/* ---------- Chrome (nav, footer) ---------- */
.rh-home .nav {
    background: rgba(12, 10, 19, 0.74);
    -webkit-backdrop-filter: saturate(150%) blur(14px);
    backdrop-filter: saturate(150%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: background-color 300ms var(--rh-ease), border-color 300ms var(--rh-ease);
}

.rh-home .nav.scrolled {
    background: rgba(12, 10, 19, 0.92);
    border-bottom-color: var(--rh-line);
}

.rh-home .nav-link { color: rgba(245, 242, 238, 0.82); }
.rh-home .nav-link:hover { color: #fff; }

.rh-home .nav-cta,
.rh-home .nav-link.nav-cta {
    background: var(--rh-accent-strong);
    border: 1px solid rgba(195, 176, 255, 0.28);
    transition: border-color var(--rh-fast) var(--rh-ease), box-shadow var(--rh-fast) var(--rh-ease);
}

.rh-home .nav-cta:hover {
    background: var(--rh-accent-strong);
    border-color: rgba(222, 210, 255, 0.7);
    box-shadow: 0 0 0 4px rgba(142, 112, 237, 0.16);
}

.rh-home .footer {
    background: var(--rh-canvas);
    border-top-color: var(--rh-line);
}

.rh-home .footer-tagline { font-family: var(--rh-display); letter-spacing: -0.02em; }

/* =============================================================================
   Hero
   ============================================================================= */
.rh-home .rh-hero {
    position: relative;
    padding: calc(var(--nav-height, 72px) + clamp(32px, 4vw, 56px)) 0 clamp(28px, 3vw, 44px);
    overflow: clip;
    isolation: isolate;
}

.rh-hero__atmos {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

.rh-hero__atmos::before {
    content: "";
    position: absolute;
    inset: 0 0 30% 0;
    background-image:
        linear-gradient(var(--rh-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--rh-line) 1px, transparent 1px);
    background-size: 80px 80px;
    background-position: center top;
    opacity: 0.45;
    -webkit-mask-image: radial-gradient(ellipse 70% 80% at 30% 0%, #000 0%, transparent 70%);
    mask-image: radial-gradient(ellipse 70% 80% at 30% 0%, #000 0%, transparent 70%);
}

.rh-hero__glow {
    position: absolute;
    left: 50%;
    top: 46%;
    width: min(1500px, 130vw);
    height: 900px;
    transform: translateX(-50%);
    background:
        radial-gradient(ellipse 45% 40% at 50% 38%, rgba(142, 112, 237, 0.3), rgba(142, 112, 237, 0.06) 55%, transparent 72%),
        radial-gradient(ellipse 30% 22% at 50% 30%, rgba(195, 176, 255, 0.18), transparent 70%);
}

/* The beam and the light streaming off the screenshots are drawn by a WebGL
   shader in home.js. The canvas sits above the stage panels and below the
   hero copy. Without WebGL, .rh-stage::after stands in. */
.rh-hero__inner { position: relative; z-index: 5; }

.rh-hero__beam {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 4;
    width: 100%;
    height: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 900ms var(--rh-ease);
}

.has-beam .rh-hero__beam { opacity: 1; }
.has-beam .rh-hero__glow { opacity: 0.18; }

/* .is-lit marks the frame the beam lands on. --rh-hit is where it lands, as a
   share of the stage and that frame's widths. */
.has-beam .rh-stage .is-lit {
    border-top-color: rgba(245, 242, 238, 0.8);
    box-shadow: 0 -20px 90px -28px rgba(120, 110, 255, 0.8), var(--rh-shadow);
}

.has-beam .rh-stage .is-lit::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    border-radius: inherit;
    background:
        radial-gradient(55% 3px at var(--rh-hit-panel, 50%) 0, rgba(255, 255, 255, 0.95), transparent),
        radial-gradient(60% 150px at var(--rh-hit-panel, 50%) 0, rgba(150, 140, 255, 0.38), transparent 80%);
    mix-blend-mode: screen;
    pointer-events: none;
}

.rh-hero__title {
    margin: 0;
    font-family: var(--rh-display);
    font-size: clamp(34px, 4vw, 58px);
    font-weight: 580;
    line-height: 1;
    letter-spacing: -0.048em;
    color: var(--rh-text);
}

.rh-hero__line {
    display: block;
    overflow: hidden;
    padding-bottom: 0.08em;
    margin-bottom: -0.08em;
}

.rh-hero__line > span { display: inline-block; }

.rh-hero__line--2 > span {
    background: linear-gradient(92deg, #D8CBFF 0%, #A994F4 45%, #8E70ED 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.rh-hero__row {
    display: grid;
    justify-items: start;
    gap: 28px;
    max-width: 440px;
    margin-top: clamp(24px, 2.6vw, 36px);
}

.rh-hero__lede {
    margin: 0;
    font-size: clamp(17px, 1.35vw, 19px);
    line-height: 1.55;
    color: var(--rh-muted);
}

.rh-hero__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* Stage: 1200 x 600 units. Absolute positions below are those units in %. */
.rh-stage {
    position: relative;
    aspect-ratio: 2 / 1;
    margin-top: clamp(56px, 6.5vw, 96px);
}

.rh-stage::before {
    content: "";
    position: absolute;
    left: 6%;
    right: 6%;
    top: -2px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(239, 232, 255, 0.7) var(--rh-hit, 50%), transparent);
    box-shadow: 0 0 48px 6px rgba(142, 112, 237, 0.4);
    z-index: 0;
}

.rh-stage::after {
    content: "";
    position: absolute;
    left: var(--rh-beam-x, 50%);
    bottom: 100%;
    width: 240px;
    height: clamp(48px, 6.5vw, 96px);
    transform: translateX(-50%);
    background:
        linear-gradient(90deg, transparent calc(50% - 1px), rgba(239, 232, 255, 0.85) 50%, transparent calc(50% + 1px)),
        radial-gradient(closest-side, rgba(142, 112, 237, 0.32), transparent);
    -webkit-mask-image: linear-gradient(transparent, #000 70%);
    mask-image: linear-gradient(transparent, #000 70%);
    z-index: -1;
    pointer-events: none;
}

.has-beam .rh-stage::after { content: none; }

.rh-stage__panel { position: absolute; }

.rh-stage__panel--main { left: 21%; top: 0; width: 58%; z-index: 3; }
.rh-stage__panel--left { left: 0; top: 13%; width: 39%; z-index: 1; }
.rh-stage__panel--right { right: 0; top: 17%; width: 38%; z-index: 2; }

.rh-stage__panel--left img,
.rh-stage__panel--right img {
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: top left;
}

.rh-stage__panel--left picture,
.rh-stage__panel--right picture { filter: brightness(0.78) saturate(0.9); }

.rh-stage__link { display: block; }

.rh-stage__link img { transition: transform 700ms var(--rh-ease); }
.rh-stage__link:hover img { transform: scale(1.012); }

.rh-stage__phone {
    position: absolute;
    left: 74%;
    top: 34%;
    width: 12.5%;
    z-index: 4;
}

.rh-stage__tag {
    position: absolute;
    left: 12px;
    bottom: 12px;
    padding: 5px 9px;
    border-radius: 6px;
    background: rgba(12, 10, 19, 0.78);
    border: 1px solid var(--rh-line-2);
    font-family: var(--rh-mono);
    font-size: 10.5px;
    letter-spacing: 0.04em;
    color: var(--rh-text);
    pointer-events: none;
}

.rh-stage__panel--right .rh-stage__tag { left: auto; right: 12px; }

.rh-stage__routes { z-index: 0; }

.rh-node {
    position: absolute;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px 7px 10px;
    border-radius: 999px;
    background: rgba(12, 10, 19, 0.9);
    border: 1px solid var(--rh-line-2);
    font-family: var(--rh-mono);
    font-size: 11px;
    color: var(--rh-accent-soft);
    white-space: nowrap;
    transform: translate(-50%, -50%);
}

.rh-node::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #EFE8FF;
    box-shadow: 0 0 10px 2px rgba(142, 112, 237, 0.85);
}

.rh-node--a { left: 15.8%; top: 94.3%; }
.rh-node--b { left: 50%; top: 93.3%; }
.rh-node--c { left: 84.2%; top: 94.3%; }

/* =============================================================================
   Selected work
   ============================================================================= */
.rh-work { overflow-x: clip; }
.rh-home .rh-work { padding-top: clamp(32px, 4vw, 56px); }

/* A horizontal reel of project cards that bleeds past the page wrap. The track
   pads its ends so the first card lines up with the heading above it. */
.rh-reel {
    --rh-reel-edge: max(var(--rh-gutter), calc((100vw - var(--rh-wrap)) / 2 + var(--rh-gutter)));
    --rh-reel-card: min(940px, calc(100vw - var(--rh-reel-edge) * 2 - 40px));
    margin-top: clamp(40px, 4.5vw, 64px);
}

.rh-reel__track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: var(--rh-reel-card);
    align-items: start;
    gap: clamp(16px, 2vw, 28px);
    padding: 8px var(--rh-reel-edge) 28px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--rh-reel-edge);
    scrollbar-width: none;
}

.rh-reel__track::-webkit-scrollbar { display: none; }
.rh-reel__track:focus-visible { outline-offset: -2px; border-radius: var(--rh-r-lg); }
.rh-reel__track.is-dragging { scroll-snap-type: none; cursor: grabbing; user-select: none; }
.rh-reel__track.is-dragging a { pointer-events: none; }

.rh-reel__card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    border-radius: var(--rh-r-lg);
    border: 1px solid var(--rh-line-2);
    background: var(--rh-raised);
    box-shadow: var(--rh-shadow);
    overflow: hidden;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    transition: border-color 400ms var(--rh-ease);
}

.rh-reel__card:hover { border-color: var(--rh-line-glow); }

.rh-home .rh-reel__media {
    position: relative;
    display: block;
    aspect-ratio: 2.75 / 1;
    padding: clamp(20px, 2.6vw, 32px) clamp(24px, 3.4vw, 40px) 0;
    background:
        radial-gradient(70% 90% at 72% 100%, rgba(142, 112, 237, 0.26), transparent 70%),
        linear-gradient(180deg, #0F0C17, #15101F);
    border-bottom: 1px solid var(--rh-line);
    color: inherit;
    overflow: hidden;
}

.rh-reel__screen { width: 78%; }

.rh-reel__screen img { transition: transform 900ms var(--rh-ease); }
.rh-reel__card:hover .rh-reel__screen img { transform: scale(1.015); }

.rh-reel__phone {
    position: absolute;
    top: 9%;
    right: 14%;
    width: 15%;
    transition: transform 700ms var(--rh-ease);
}

.rh-reel__card:hover .rh-reel__phone { transform: translateY(-8px); }

.rh-reel__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: clamp(22px, 2.4vw, 32px) clamp(24px, 3vw, 36px);
}

.rh-reel__name {
    margin: 0;
    font-family: var(--rh-display);
    font-size: clamp(26px, 2.4vw, 34px);
    font-weight: 580;
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.rh-reel__stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 18px 24px;
    margin: 20px 0 0;
    padding: 18px 0 0;
    border-top: 1px solid var(--rh-line);
}

.rh-reel__stats dt {
    font-family: var(--rh-display);
    font-size: clamp(36px, 3.6vw, 52px);
    font-weight: 540;
    line-height: 0.95;
    letter-spacing: -0.05em;
    background: linear-gradient(180deg, #FFFFFF 10%, #C3B0FF 120%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.rh-reel__stats dd {
    margin: 6px 0 0;
    font-size: 14.5px;
    line-height: 1.45;
    color: var(--rh-text);
}

.rh-reel__stats .rh-source {
    display: block;
    margin-top: 4px;
    font-size: 11px;
    line-height: 1.5;
}

.rh-reel__quote { margin: 16px 0 0; }

.rh-reel__quote blockquote { margin: 0; }

.rh-reel__quote p {
    margin: 0;
    font-size: 16px;
    line-height: 1.55;
    color: var(--rh-text);
}

.rh-reel__quote figcaption {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
}

.rh-reel__quote img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.rh-reel__quote figcaption span {
    display: grid;
    font-size: 13.5px;
    color: var(--rh-muted);
}

.rh-reel__quote figcaption strong {
    font-weight: 600;
    color: var(--rh-text);
}

.rh-reel__text {
    margin: 14px 0 0;
    font-size: 16px;
    line-height: 1.55;
    color: var(--rh-muted);
}

.rh-reel__links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 26px;
    margin-top: auto;
    padding-top: 18px;
}

/* Wide cards: the story on the left, the figures stacked on the right. */
@media (min-width: 900px) {
    .rh-reel__body {
        display: grid;
        grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
        grid-template-rows: auto auto auto 1fr;
        grid-template-areas: "meta stats" "name stats" "say stats" "links stats";
        column-gap: clamp(28px, 3.4vw, 48px);
    }

    .rh-reel__body > .rh-meta { grid-area: meta; }
    .rh-reel__name { grid-area: name; }
    .rh-reel__quote,
    .rh-reel__text { grid-area: say; }
    .rh-reel__links { grid-area: links; }

    .rh-reel__stats {
        grid-area: stats;
        grid-template-columns: 1fr;
        align-content: start;
        gap: 16px;
        margin: 0;
        padding: 0 0 0 clamp(24px, 3vw, 36px);
        border-top: 0;
        border-left: 1px solid var(--rh-line);
    }

    .rh-reel__stats dt { font-size: clamp(30px, 2.8vw, 40px); }
    .rh-reel__links { align-self: end; }
}

.rh-reel__bar {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 4px;
}

.rh-reel__count {
    margin: 0;
    font-family: var(--rh-mono);
    font-size: 12px;
    letter-spacing: 0.06em;
    color: var(--rh-muted);
}

.rh-reel__count span { color: var(--rh-text); }

.rh-reel__progress {
    position: relative;
    flex: 1;
    height: 1px;
    background: var(--rh-line-2);
}

.rh-reel__progress span {
    position: absolute;
    left: 0;
    top: -0.5px;
    width: var(--rh-reel-at, 14%);
    height: 2px;
    background: linear-gradient(90deg, #8E70ED, #EFE8FF);
    box-shadow: 0 0 12px rgba(142, 112, 237, 0.7);
    transition: width 300ms var(--rh-ease);
}

.rh-reel__controls {
    display: flex;
    gap: 10px;
}

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

.rh-reel__button {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--rh-line-2);
    background: rgba(255, 255, 255, 0.02);
    color: var(--rh-text);
    cursor: pointer;
    transition: border-color var(--rh-fast) var(--rh-ease), background-color var(--rh-fast) var(--rh-ease), opacity var(--rh-fast) var(--rh-ease);
}

.rh-reel__button:hover {
    border-color: var(--rh-line-glow);
    background: rgba(195, 176, 255, 0.08);
}

.rh-reel__button:disabled {
    opacity: 0.35;
    cursor: default;
}

.rh-work__more {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px 32px;
    margin-top: clamp(20px, 2.4vw, 32px);
}

/* =============================================================================
   Website designs (paper)
   ============================================================================= */
.rh-explorer {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr) 300px;
    gap: 32px;
    align-items: start;
}

.rh-explorer__tabs {
    display: grid;
    gap: 6px;
    position: sticky;
    top: calc(var(--nav-height, 72px) + 24px);
}

.rh-explorer__tab {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 12px 14px;
    border: 1px solid rgba(142, 112, 237, 0.32);
    border-radius: 999px;
    background: rgba(142, 112, 237, 0.07);
    color: var(--rh-ink);
    font-family: var(--rh-sans);
    font-size: 15px;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    overflow: hidden;
    isolation: isolate;
    transition: background-color var(--rh-fast) var(--rh-ease), color var(--rh-fast) var(--rh-ease), border-color var(--rh-fast) var(--rh-ease), box-shadow 300ms var(--rh-ease), transform 200ms var(--rh-ease);
}

.rh-explorer__tab small {
    display: inline-grid;
    place-items: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background: rgba(142, 112, 237, 0.16);
    font-family: var(--rh-mono);
    font-size: 11px;
    color: var(--rh-ink-accent);
    transition: background-color var(--rh-fast) var(--rh-ease), color var(--rh-fast) var(--rh-ease);
}

.rh-explorer__tab:hover {
    border-color: rgba(142, 112, 237, 0.7);
    background: rgba(142, 112, 237, 0.15);
    box-shadow: 0 10px 22px -16px rgba(91, 60, 203, 0.7);
    transform: translateY(-1px);
}

.rh-explorer__tab:active { transform: scale(0.97); }

.rh-explorer__tab[aria-selected="true"] {
    border-color: transparent;
    background: linear-gradient(135deg, #7656E4, #5A3CCB);
    color: #FFFFFF;
    font-weight: 600;
    box-shadow: 0 10px 26px -12px rgba(91, 60, 203, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.rh-explorer__tab[aria-selected="true"] small { background: rgba(255, 255, 255, 0.22); color: #FFFFFF; }

.rh-explorer__tab::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.28) 50%, transparent 70%);
    transform: translateX(-120%);
    opacity: 0;
    pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
    .rh-explorer__tab[aria-selected="true"] { animation: rh-pill-glow 2.8s ease-in-out infinite; }
    .rh-explorer__tab[aria-selected="true"]::after { opacity: 1; animation: rh-pill-sheen 3.6s ease-in-out infinite; }
}

@keyframes rh-pill-glow {
    0%, 100% { box-shadow: 0 10px 26px -12px rgba(91, 60, 203, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
    50% { box-shadow: 0 12px 34px -8px rgba(142, 112, 237, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
}

@keyframes rh-pill-sheen {
    0%, 55% { transform: translateX(-120%); }
    85%, 100% { transform: translateX(120%); }
}

.rh-explorer__view { box-shadow: var(--rh-shadow-paper); }

.rh-explorer__open { display: block; overflow: hidden; }

.rh-explorer__open img {
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: top;
    transition: transform 900ms var(--rh-ease), opacity 280ms var(--rh-ease);
}

.rh-explorer__open:hover img { transform: scale(1.012); }
.rh-explorer__open.is-swapping img { opacity: 0.25; }

.rh-explorer__caption {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    padding: 14px 16px;
    border-top: 1px solid rgba(12, 10, 19, 0.08);
    font-size: 14px;
    color: var(--rh-ink-muted);
}

.rh-explorer__caption strong { color: var(--rh-ink); font-weight: 600; }
.rh-explorer__caption .rh-link { margin-left: auto; color: var(--rh-ink); }
.rh-explorer__caption .rh-link .rh-arrow { color: var(--rh-ink-accent); }

.rh-explorer__thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.rh-explorer__thumb {
    display: grid;
    gap: 8px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--rh-ink-muted);
    font-family: var(--rh-sans);
    font-size: 12.5px;
    text-align: left;
    cursor: pointer;
}

.rh-explorer__thumb img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: top;
    border-radius: 8px;
    border: 1px solid var(--rh-line-ink);
    transition: border-color var(--rh-fast) var(--rh-ease), box-shadow var(--rh-fast) var(--rh-ease), transform var(--rh-fast) var(--rh-ease);
}

.rh-explorer__thumb:hover img { transform: translateY(-2px); border-color: rgba(114, 85, 216, 0.45); }

.rh-explorer__thumb.is-current { color: var(--rh-ink); font-weight: 600; }

.rh-explorer__thumb.is-current img {
    border-color: var(--rh-accent-strong);
    box-shadow: 0 0 0 3px rgba(114, 85, 216, 0.18);
}

.rh-js .rh-explorer__panel:not(.is-active) { display: none; }
.rh-explorer__panel + .rh-explorer__panel { margin-top: 40px; }
.rh-js .rh-explorer__panel + .rh-explorer__panel { margin-top: 0; }

.rh-motion .rh-explorer__panel.is-entering { animation: rh-panel-in 520ms var(--rh-ease-out) both; }

.rh-explorer__offer {
    position: sticky;
    top: calc(var(--nav-height, 72px) + 24px);
    display: grid;
    gap: 14px;
    justify-items: start;
    padding: 28px;
    border-radius: 18px;
    background: var(--rh-paper-raised);
    border: 1px solid var(--rh-line-ink);
    box-shadow: var(--rh-shadow-paper);
}

.rh-explorer__offer .rh-label { margin: 0; }
.rh-explorer__offer .rh-h3 { font-size: 26px; }

.rh-explorer__offer p {
    margin: 0;
    font-size: 15px;
    line-height: 1.55;
    color: var(--rh-ink-muted);
}

.rh-explorer__offer .rh-btn { width: 100%; margin: 6px 0 4px; }
.rh-explorer__offer .rh-link { font-size: 14px; }

.rh-price {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 14px 0;
    border-block: 1px solid var(--rh-line-ink);
    width: 100%;
}

.rh-price strong {
    font-family: var(--rh-display);
    font-size: 34px;
    font-weight: 600;
    letter-spacing: -0.03em;
    color: var(--rh-ink);
}

.rh-price span { font-size: 13.5px; color: var(--rh-ink-muted); }

.rh-explorer__go {
    padding-top: 12px;
    border-top: 1px solid var(--rh-line-ink);
    font-size: 13.5px !important;
}

.rh-home .rh-explorer__go a { color: var(--rh-ink); font-weight: 600; }

/* =============================================================================
   Custom software
   ============================================================================= */
.rh-software {
    background: var(--rh-deep);
    overflow: clip;
    isolation: isolate;
}

.rh-software__light {
    position: absolute;
    right: -10%;
    top: -10%;
    width: 70%;
    height: 70%;
    z-index: -1;
    background: radial-gradient(closest-side, rgba(142, 112, 237, 0.16), transparent 70%);
    pointer-events: none;
}

.rh-system {
    display: grid;
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
    gap: clamp(40px, 6vw, 96px);
}

.rh-system__steps ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

.rh-system__step {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    min-height: 32vh;
    padding-left: 28px;
    border-left: 1px solid var(--rh-line);
    transition: opacity 500ms var(--rh-ease), border-color 500ms var(--rh-ease);
}

.rh-system.is-live .rh-system__step { opacity: 0.32; }

.rh-system.is-live .rh-system__step.is-active {
    opacity: 1;
    border-left-color: var(--rh-accent);
}

.rh-system__step p {
    margin: 0;
    max-width: 40ch;
    font-size: 17px;
    line-height: 1.6;
    color: var(--rh-muted);
}

.rh-system__steps > .rh-meta { margin-bottom: 0; }

.rh-system__sticky {
    position: sticky;
    top: calc(var(--nav-height, 72px) + 48px);
    align-self: start;
    margin-top: 4vh;
}

.rh-system__stage {
    position: relative;
    padding: clamp(18px, 2.4vw, 32px);
    border-radius: var(--rh-r-lg);
    border: 1px solid var(--rh-line);
    background: linear-gradient(180deg, rgba(25, 19, 35, 0.9), rgba(12, 10, 19, 0.75));
}

.rh-system__ui { overflow: visible; }

.rh-system__ui picture {
    overflow: hidden;
    border-radius: 0 0 var(--rh-r) var(--rh-r);
}

.rh-system__ring {
    position: absolute;
    inset: -1px;
    border-radius: var(--rh-r);
    border: 1px solid var(--rh-accent-soft);
    box-shadow: 0 0 0 4px rgba(142, 112, 237, 0.12), 0 0 40px rgba(142, 112, 237, 0.35);
    opacity: 0;
    transition: opacity 500ms var(--rh-ease);
    pointer-events: none;
}

.rh-system__stage[data-active="1"] .rh-system__ring { opacity: 1; }

.rh-system__map {
    position: relative;
    height: 150px;
}

.rh-system__stage[data-active="1"] [data-for="1"],
.rh-system__stage[data-active="2"] [data-for="2"],
.rh-system__stage[data-active="3"] [data-for="3"],
.rh-system__stage[data-active="4"] [data-for="4"] { --on: 1; }

.rh-system__map .rh-route__path {
    stroke: rgba(195, 176, 255, calc(0.14 + 0.5 * var(--on, 0)));
    transition: stroke 400ms var(--rh-ease);
}

.rh-system__map .rh-route__pulse { opacity: var(--on, 0); }

.rh-sysnode {
    position: absolute;
    top: 74%;
    left: var(--x);
    display: grid;
    gap: 2px;
    padding: 8px 10px;
    border-radius: 10px;
    border: 1px solid rgba(195, 176, 255, calc(0.14 + 0.5 * var(--on, 0)));
    background: var(--rh-canvas);
    font-family: var(--rh-mono);
    font-size: 12px;
    font-weight: 500;
    color: rgba(245, 242, 238, calc(0.55 + 0.45 * var(--on, 0)));
    white-space: nowrap;
    transform: translateX(-50%);
    box-shadow: 0 0 calc(28px * var(--on, 0)) rgba(142, 112, 237, 0.45);
    transition: border-color 400ms var(--rh-ease), color 400ms var(--rh-ease), box-shadow 400ms var(--rh-ease);
}

.rh-sysnode--origin { display: none; }

.rh-sysnode small {
    font-size: 10px;
    font-weight: 400;
    color: var(--rh-muted);
}

.rh-system__base {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 28px 0 0;
    padding-top: 16px;
    border-top: 1px dashed var(--rh-line-2);
    font-family: var(--rh-mono);
    font-size: 12px;
    color: var(--rh-muted);
}

.rh-system__base span {
    padding: 3px 8px;
    border-radius: 6px;
    border: 1px solid var(--rh-line-2);
    color: var(--rh-accent-soft);
}

.rh-built { margin-top: clamp(104px, 11vw, 160px); }

.rh-built__head {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    justify-content: space-between;
    gap: 16px 40px;
    margin-bottom: 32px;
}

.rh-built__head p {
    margin: 0;
    max-width: 44ch;
    font-size: 16px;
    color: var(--rh-muted);
}

.rh-built__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: 16px;
}

.rh-home .rh-built__item {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid var(--rh-line);
    background: var(--rh-raised);
    color: var(--rh-text);
    text-decoration: none;
    transition: border-color var(--rh-fast) var(--rh-ease), box-shadow var(--rh-fast) var(--rh-ease);
}

.rh-home .rh-built__item:hover {
    color: var(--rh-text);
    border-color: var(--rh-line-glow);
    box-shadow: 0 0 0 4px rgba(142, 112, 237, 0.08);
}

.rh-built__item--1 { grid-row: span 2; }
.rh-home .rh-built__item--4 { grid-column: span 2; flex-direction: row; }

.rh-built__shot {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    border-bottom: 1px solid var(--rh-line);
}

.rh-built__item--1 .rh-built__shot { aspect-ratio: auto; flex: 1; min-height: 320px; }
.rh-built__item--4 .rh-built__shot { width: 52%; aspect-ratio: 16 / 10; border-bottom: 0; border-right: 1px solid var(--rh-line); }

.rh-built__shot picture,
.rh-built__shot img {
    display: block;
    width: 100%;
    height: 100%;
}

.rh-built__shot img {
    position: absolute;
    inset: 0;
    object-fit: cover;
    object-position: top left;
    transition: transform 900ms var(--rh-ease);
}

.rh-built__item:hover .rh-built__shot img { transform: scale(1.025); }

.rh-built__text {
    display: grid;
    align-content: start;
    justify-items: start;
    gap: 8px;
    padding: 20px 22px 24px;
}

.rh-built__item--4 .rh-built__text { align-content: center; flex: 1; }

.rh-built__text strong {
    font-family: var(--rh-display);
    font-size: 21px;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.rh-built__text > span:last-child {
    font-size: 14.5px;
    line-height: 1.5;
    color: var(--rh-muted);
}

.rh-software__cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px 36px;
    margin-top: clamp(48px, 5vw, 72px);
}

.rh-software__links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
}

.rh-home .rh-software__links a {
    font-size: 15px;
    color: var(--rh-muted);
    text-decoration: none;
    transition: color var(--rh-fast) var(--rh-ease);
}

.rh-home .rh-software__links a:hover { color: var(--rh-text); }

/* =============================================================================
   AI visibility
   ============================================================================= */
.rh-ai {
    background:
        radial-gradient(ellipse 60% 70% at 85% 40%, rgba(142, 112, 237, 0.12), transparent 70%),
        var(--rh-raised);
    border-block: 1px solid var(--rh-line);
    overflow: clip;
}

.rh-ai__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: clamp(48px, 6vw, 104px);
    align-items: center;
}

.rh-ai__lede {
    margin: 24px 0 0;
    max-width: 46ch;
    font-size: 17.5px;
    line-height: 1.6;
    color: var(--rh-muted);
}

.rh-ledger { margin: 36px 0 0; }

.rh-ledger div {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 16px;
    padding: 17px 0;
    border-top: 1px solid var(--rh-line);
}

.rh-ledger div:last-child { border-bottom: 1px solid var(--rh-line); }

.rh-ledger dt {
    padding-top: 3px;
    font-family: var(--rh-mono);
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--rh-accent-soft);
}

.rh-ledger dd {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
    color: var(--rh-text);
}

.rh-ai__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px 28px;
    margin-top: 36px;
}

.rh-ai__screens {
    position: relative;
    aspect-ratio: 1.08 / 1;
}

.rh-ai__screen { position: absolute; }

.rh-ai__screen img {
    aspect-ratio: 16 / 12.5;
    object-fit: cover;
    object-position: top left;
}

.rh-ai__screen--back {
    right: 0;
    top: 0;
    width: 64%;
    opacity: 0.88;
}

.rh-ai__screen--front {
    left: 0;
    bottom: 7%;
    width: 80%;
    z-index: 1;
}

.rh-ai__caption {
    position: absolute;
    right: 0;
    bottom: 0;
    margin: 0;
    font-family: var(--rh-mono);
    font-size: 11px;
    color: var(--rh-muted);
}

/* =============================================================================
   Client proof
   ============================================================================= */
.rh-proof__grid {
    display: grid;
    grid-template-columns: minmax(240px, 380px) minmax(0, 1fr);
    gap: clamp(40px, 7vw, 112px);
    align-items: center;
    margin-top: 28px;
}

.rh-home .rh-video {
    position: relative;
    display: block;
    aspect-ratio: 9 / 16;
    overflow: hidden;
    border-radius: var(--rh-r-lg);
    border: 1px solid var(--rh-line-2);
    background: #000;
    box-shadow: var(--rh-shadow);
    color: var(--rh-text);
    text-decoration: none;
    transition: border-color var(--rh-fast) var(--rh-ease), box-shadow var(--rh-fast) var(--rh-ease);
}

.rh-home .rh-video:hover {
    color: var(--rh-text);
    border-color: var(--rh-line-glow);
    box-shadow: var(--rh-shadow), 0 0 0 4px rgba(142, 112, 237, 0.12);
}

.rh-video picture,
.rh-video img,
.rh-video video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rh-video img { transition: transform 900ms var(--rh-ease); }
.rh-video:hover img { transform: scale(1.02); }

.rh-video__play {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 16px;
    border-radius: 12px;
    background: rgba(12, 10, 19, 0.8);
    border: 1px solid var(--rh-line-2);
    font-size: 15px;
    font-weight: 600;
}

.rh-video__play svg { color: var(--rh-accent-soft); }

.rh-video__play small {
    margin-left: auto;
    font-family: var(--rh-mono);
    font-size: 12px;
    font-weight: 400;
    color: var(--rh-muted);
}

.rh-video.is-playing { aspect-ratio: 9 / 16; }

.rh-proof__quote { margin: 0; }

.rh-proof__quote blockquote,
.rh-proof__second blockquote { margin: 0; padding: 0; border: 0; }

.rh-proof__quote blockquote p {
    margin: 0;
    font-family: var(--rh-display);
    font-size: clamp(26px, 2.75vw, 42px);
    font-weight: 460;
    line-height: 1.16;
    letter-spacing: -0.03em;
    color: var(--rh-text);
    text-wrap: pretty;
}

.rh-proof figcaption {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 32px;
}

.rh-proof figcaption img {
    display: block;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--rh-line-2);
}

.rh-proof figcaption span {
    display: grid;
    gap: 2px;
    font-size: 14px;
    color: var(--rh-muted);
}

.rh-proof figcaption strong {
    font-size: 16px;
    font-weight: 600;
    color: var(--rh-text);
}

.rh-home .rh-proof__result {
    display: grid;
    justify-items: start;
    gap: 6px;
    margin-top: 40px;
    padding-top: 28px;
    border-top: 1px solid var(--rh-line);
    color: var(--rh-text);
    text-decoration: none;
}

.rh-proof__result strong {
    font-family: var(--rh-display);
    font-size: clamp(32px, 3.2vw, 46px);
    font-weight: 560;
    letter-spacing: -0.04em;
    line-height: 1;
}

.rh-proof__result > span:not(.rh-link) {
    font-size: 15px;
    color: var(--rh-muted);
}

.rh-proof__result .rh-link { margin-top: 10px; }
.rh-proof__result:hover .rh-link { background-size: 100% 1px; }
.rh-proof__result:hover .rh-arrow { transform: translateX(3px); }

.rh-proof__second {
    max-width: 680px;
    margin: clamp(72px, 8vw, 112px) 0 0 auto;
    padding: 28px 0 0;
    border-top: 1px solid var(--rh-line);
}

.rh-proof__second blockquote p {
    margin: 0;
    font-family: var(--rh-display);
    font-size: clamp(20px, 1.8vw, 26px);
    font-weight: 450;
    line-height: 1.35;
    letter-spacing: -0.02em;
    color: rgba(245, 242, 238, 0.86);
}

.rh-proof__second figcaption { margin-top: 20px; }
.rh-proof__second figcaption img { width: 40px; height: 40px; }

/* =============================================================================
   Ways to start + FAQ (paper)
   ============================================================================= */
.rh-paths { border-top: 1px solid var(--rh-line-ink); }

.rh-path {
    display: grid;
    grid-template-columns: minmax(180px, 250px) minmax(0, 1fr) minmax(170px, 220px) minmax(0, 300px);
    gap: 32px;
    align-items: center;
    padding: 34px 0;
    border-bottom: 1px solid var(--rh-line-ink);
}

.rh-path--featured {
    position: relative;
    margin-inline: -28px;
    padding-inline: 28px;
    border-radius: 18px;
    border-bottom-color: transparent;
    background: var(--rh-paper-raised);
    box-shadow: var(--rh-shadow-paper);
}

.rh-path__name {
    display: grid;
    justify-items: start;
    gap: 10px;
}

.rh-path__text {
    margin: 0;
    max-width: 42ch;
    font-size: 16px;
    line-height: 1.55;
    color: var(--rh-ink-muted);
}

.rh-path__price {
    display: grid;
    gap: 4px;
    margin: 0;
}

.rh-path__price strong {
    font-family: var(--rh-display);
    font-size: 36px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.035em;
    color: var(--rh-ink);
}

.rh-path__price span {
    font-size: 13.5px;
    line-height: 1.4;
    color: var(--rh-ink-muted);
}

.rh-path__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 14px 22px;
}

.rh-faq {
    display: grid;
    grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
    gap: 48px;
    margin-top: clamp(96px, 10vw, 152px);
}

.rh-faq .r-faq-list { border-top: 1px solid var(--rh-line-ink); }

.rh-faq .faq-item {
    border: 0;
    border-bottom: 1px solid var(--rh-line-ink);
    border-radius: 0;
    background: none;
    box-shadow: none;
}

body.v2.rh-home .rh-faq .faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
    padding: 24px 0;
    border: 0;
    background: none;
    color: var(--rh-ink);
    font-family: var(--rh-sans);
    font-size: 18px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
}

body.v2.rh-home .rh-faq .faq-question:hover { color: var(--rh-ink-accent); }
body.v2.rh-home .rh-faq .faq-icon { color: var(--rh-ink-accent); }

body.v2.rh-home .rh-faq .faq-answer p {
    padding: 0 0 26px;
    font-size: 16px;
    line-height: 1.65;
    color: var(--rh-ink-muted);
}

/* =============================================================================
   Final CTA
   ============================================================================= */
.rh-home .rh-final {
    position: relative;
    padding: clamp(56px, 6vw, 88px) 0;
    overflow: clip;
    isolation: isolate;
    text-align: center;
    background:
        radial-gradient(ellipse 42% 46% at 50% 58%, rgba(142, 112, 237, 0.26), rgba(142, 112, 237, 0.05) 60%, transparent 75%),
        var(--rh-canvas);
}

/* The routes sit in the content flow right after the title, so the point
   where they meet (the viewBox center) lands at the top of the paragraph at
   every width, however tall the stacked buttons make the section. */
.rh-final__routes {
    --rh-final-routes-h: clamp(560px, 52vw, 860px);
    top: auto;
    bottom: auto;
    left: 50%;
    width: 100vw;
    height: var(--rh-final-routes-h);
    margin-top: calc(var(--rh-final-routes-h) / -2 + 28px);
    transform: translateX(-50%);
    z-index: -1;
}

/* Uniform scaling keeps the pathLength dash in step with the drawn route. */
.rh-final__routes .rh-route__pulse { vector-effect: none; stroke-width: 1.5; }

.rh-final__inner { position: relative; }

.rh-final__point {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 280px;
    height: 120px;
    transform: translate(-50%, -50%);
    background: radial-gradient(closest-side, rgba(195, 176, 255, 0.24), transparent);
    z-index: -1;
    pointer-events: none;
}

.rh-final__title {
    margin: 0 auto;
    max-width: 14ch;
    font-family: var(--rh-display);
    font-size: clamp(36px, 4.6vw, 64px);
    font-weight: 580;
    line-height: 0.98;
    letter-spacing: -0.048em;
    text-wrap: balance;
    color: var(--rh-text);
}

.rh-final__text {
    margin: 28px auto 0;
    max-width: 42ch;
    font-size: clamp(17px, 1.4vw, 19px);
    line-height: 1.55;
    color: var(--rh-muted);
}

.rh-final__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

/* =============================================================================
   Motion
   One easing family, 220ms for feedback, 0.9s for entrances. Everything here
   sits behind prefers-reduced-motion, and reveal-on-scroll only applies once
   home.js has run (html.rh-motion), so content never depends on animation.
   ============================================================================= */
@keyframes rh-rise { from { transform: translate3d(0, 104%, 0); } to { transform: none; } }
@keyframes rh-fade-up { from { opacity: 0; transform: translate3d(0, 14px, 0); } to { opacity: 1; transform: none; } }
@keyframes rh-stage-in { from { opacity: 0; transform: translate3d(0, 28px, 0) scale(0.985); } to { opacity: 1; transform: none; } }
@keyframes rh-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes rh-travel { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@keyframes rh-converge {
    0% { stroke-dashoffset: 5; }
    50%, 100% { stroke-dashoffset: -101; }
}
@keyframes rh-arrive {
    0%, 46%, 80%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
    53% { opacity: 1; transform: translate(-50%, -50%) scale(1.4); }
}
@keyframes rh-trail { from { stroke-dashoffset: 113; } to { stroke-dashoffset: 13; } }
@keyframes rh-travel-in { from { stroke-dashoffset: 30; } to { stroke-dashoffset: -1170; } }
@keyframes rh-trail-in { from { stroke-dashoffset: 52; } to { stroke-dashoffset: -1148; } }
@keyframes rh-travel-m { from { stroke-dashoffset: 10; } to { stroke-dashoffset: -290; } }
@keyframes rh-trail-m { from { stroke-dashoffset: 17.6; } to { stroke-dashoffset: -282.4; } }
@keyframes rh-ping {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    4% { transform: scale(2.4); opacity: 1; }
    16% { transform: scale(1); opacity: 0.7; }
}
@keyframes rh-breathe { from { opacity: 0.72; } to { opacity: 1; } }
@keyframes rh-btn-hot { 0%, 100% { opacity: 0.55; } 50% { opacity: 1; } }
@keyframes rh-btn-glow { 0%, 100% { opacity: 0.45; transform: scale(0.82); } 50% { opacity: 1; transform: scale(1.08); } }
@keyframes rh-panel-in { from { opacity: 0; transform: translate3d(0, 10px, 0); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: no-preference) {
    .rh-hero__line > span { animation: rh-rise 1100ms var(--rh-ease-out) both; }
    .rh-hero__line--2 > span { animation-delay: 90ms; }
    .rh-hero__lede { animation: rh-fade-up 900ms var(--rh-ease-out) 280ms both; }
    .rh-hero__buttons { animation: rh-fade-up 900ms var(--rh-ease-out) 380ms both; }

    .rh-stage__panel--main { animation: rh-stage-in 1200ms var(--rh-ease-out) 480ms both; }
    .rh-stage__panel--left { animation: rh-stage-in 1200ms var(--rh-ease-out) 620ms both; }
    .rh-stage__panel--right { animation: rh-stage-in 1200ms var(--rh-ease-out) 700ms both; }
    .rh-stage__phone { animation: rh-stage-in 1200ms var(--rh-ease-out) 840ms both; }
    .rh-node { animation: rh-fade-up 800ms var(--rh-ease-out) 1250ms both; }
    .rh-stage__routes .rh-route__path,
    .rh-stage__routes-m .rh-route__path { stroke-dasharray: 1; stroke-dashoffset: 0; animation: rh-draw 1600ms var(--rh-ease) 1000ms both; }

    .rh-hero__glow { animation: rh-breathe 9s ease-in-out infinite alternate; }

    .rh-home .rh-btn::before { animation: rh-btn-hot 2.8s ease-in-out infinite; }
    .rh-home .rh-btn::after { animation: rh-btn-glow 2.8s ease-in-out infinite; transform-origin: 70% 50%; }

    .rh-motion [data-reveal] {
        opacity: 0;
        transform: translate3d(0, 26px, 0);
        transition: opacity var(--rh-slow) var(--rh-ease-out), transform var(--rh-slow) var(--rh-ease-out);
    }

    .rh-motion [data-reveal].is-in {
        opacity: 1;
        transform: none;
    }
}

/* Travelling light, paused while off screen. */
@media (prefers-reduced-motion: no-preference) {
    .rh-route__pulse {
        opacity: 0.95;
        stroke-dasharray: 3 97;
        animation: rh-travel 9s linear infinite;
    }

    .rh-route__trail {
        opacity: 0.5;
        stroke-dasharray: 16 84;
        animation: rh-trail 9s linear infinite;
    }

    /* A 1200-unit dash period over 6s moves light at 200 units a second and
       leaves each route dark for most of the cycle. */
    .rh-route__pulse.rh-route__pulse--in {
        opacity: 1;
        stroke-dasharray: 4 1196;
        animation: rh-travel-in 6s linear infinite;
    }

    .rh-route__trail.rh-route__pulse--in {
        opacity: 0.75;
        stroke-dasharray: 26 1174;
        animation: rh-trail-in 6s linear infinite;
    }

    .rh-route .rh-route__pulse--left { animation-delay: 2.4s; }
    .rh-route .rh-route__pulse--right { animation-delay: 5.4s; }

    /* Each point pings as its pulse arrives: arrival time minus the 0.24s
       ping peak, on the same 6s cycle. */
    .rh-point { animation: rh-ping 6s var(--rh-ease) infinite backwards; }
    .rh-point--a { animation-delay: 3.87s; }
    .rh-point--b { animation-delay: 4.37s; }
    .rh-point--d { animation-delay: 6.87s; }
    .rh-point--c { animation-delay: 7.37s; }

    /* Phone routes: a 300-unit dash period over 7.5s moves light at 40 units
       a second. Pings are timed from the measured path lengths. */
    .rh-route__pulse.rh-route__pulse--m {
        opacity: 1;
        stroke-dasharray: 2.4 297.6;
        animation: rh-travel-m 7.5s linear infinite;
    }

    .rh-route__trail.rh-route__pulse--m {
        opacity: 0.9;
        stroke-dasharray: 10 290;
        animation: rh-trail-m 7.5s linear infinite;
    }

    .rh-route .rh-route__pulse--m-in { animation-delay: 2.4s; }
    .rh-route .rh-route__pulse--m-out { animation-delay: 6.15s; }

    .rh-stage__points-m .rh-point { animation-duration: 7.5s; }
    .rh-point--m-phone { animation-delay: 3.38s; }
    .rh-point--m-main { animation-delay: 4.75s; }
    .rh-point--m-out { animation-delay: 6.38s; }

    .rh-route__pulse--up { animation-duration: 4.5s; }
    .rh-route__pulse--a { animation-delay: -1.5s; }
    .rh-route__pulse--b { animation-delay: -3s; }
    .rh-route__pulse--c { animation-delay: -0.6s; }
    .rh-route__pulse--d { animation-delay: -4.2s; }

    .rh-system__map .rh-route__pulse { animation-duration: 2.6s; }

    /* All four pulses leave the edges together and land on the center point
       at the halfway mark, then the routes rest until the next cycle. */
    .rh-final__routes .rh-route__pulse {
        stroke-dasharray: 4 196;
        animation: rh-converge 7s cubic-bezier(0.45, 0, 0.25, 1) infinite;
    }

    .rh-final__point { animation: rh-arrive 7s var(--rh-ease) infinite; }

    .is-offscreen .rh-route__pulse,
    .is-offscreen .rh-route__trail,
    .is-offscreen .rh-point,
    .is-offscreen .rh-final__point,
    .is-offscreen .rh-hero__glow { animation-play-state: paused; }
}

/* =============================================================================
   Responsive
   ============================================================================= */
@media (max-width: 1200px) {
    .rh-explorer { grid-template-columns: 190px minmax(0, 1fr); }

    .rh-explorer__offer {
        position: static;
        grid-column: 1 / -1;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
    }

    .rh-explorer__offer > * { grid-column: 1; }
    .rh-explorer__offer .rh-btn { grid-column: 2; grid-row: 1 / span 3; width: auto; }

    .rh-path { grid-template-columns: minmax(160px, 220px) minmax(0, 1fr) minmax(150px, 190px); }
    .rh-path__actions { grid-column: 2 / -1; justify-content: flex-start; }
}

@media (max-width: 1024px) {
    .rh-head--split,
    .rh-ai__grid,
    .rh-faq { grid-template-columns: 1fr; }

    .rh-head--split { gap: 24px; }
    .rh-head__aside { justify-self: start; }

    .rh-stage__panel--left .rh-stage__tag,
    .rh-stage__panel--right .rh-stage__tag,
    .rh-node { display: none; }



    .rh-system { grid-template-columns: 1fr; }

    /* The screenshot scrolls away and only the connection map pins under the
       nav, so each step lights its connections as it passes mid-screen. */
    .rh-system { gap: 0; }
    .rh-system__sticky,
    .rh-system__stage { display: contents; }
    .rh-system__ui { order: -3; }

    .rh-system__map {
        order: -2;
        position: sticky;
        top: var(--nav-height, 64px);
        z-index: 2;
        height: 192px;
        margin-top: 16px;
        background: var(--rh-deep);
    }

    .rh-system__map::after {
        content: "";
        position: absolute;
        inset: 100% 0 auto;
        height: 32px;
        background: linear-gradient(var(--rh-deep), transparent);
        pointer-events: none;
    }

    .rh-system__map .rh-route { top: 40px; bottom: auto; height: 143px; }
    .rh-sysnode { top: 140px; }
    .rh-sysnode--origin { display: grid; top: 4px; }
    .rh-system__steps { margin-top: 32px; }
    .rh-system__step { min-height: 30vh; }
    .rh-system__base { order: 1; }

    .rh-built__grid { grid-template-columns: 1fr 1fr; }
    .rh-built__item--1 { grid-row: auto; grid-column: span 2; }
    .rh-built__item--1 .rh-built__shot { aspect-ratio: 16 / 9; min-height: 0; flex: none; }

    .rh-ai__screens { max-width: 680px; }
}

@media (max-width: 760px) {
    .rh-home { --rh-space: 40px; }
    .rh-faq { gap: 20px; }
    .rh-home .rh-video { width: min(100%, 300px); }

    .rh-home .rh-hero { padding-top: calc(var(--nav-height, 64px) + 44px); }
    .rh-hero__title { font-size: clamp(36px, 9.8vw, 48px); letter-spacing: -0.045em; }
    .rh-hero__row { max-width: 74%; }
    .rh-hero__buttons { display: grid; gap: 10px; }
    .rh-hero__buttons .rh-btn { width: 100%; }

    .rh-stage { aspect-ratio: 1 / 0.82; margin-top: 48px; --rh-beam-x: 44%; }
    .rh-stage__panel--left,
    .rh-stage__panel--right,
    .rh-stage__routes,
    .rh-stage__points,
    .rh-node { display: none; }
    .rh-stage__routes-m,
    .rh-stage__points-m { display: block; }
    .rh-stage__panel--main { left: 0; width: 88%; }
    .rh-stage__phone { left: auto; right: 0; top: 22%; width: 31%; }
    .rh-stage__tag { font-size: 9.5px; }

    .rh-reel { --rh-reel-card: calc(100vw - var(--rh-reel-edge) * 2 - 22px); }
    .rh-reel__track { align-items: stretch; }
    .rh-home .rh-reel__media { aspect-ratio: 2 / 1; padding: 14px 14px 0; }
    .rh-reel__screen { width: 82%; }
    .rh-reel__screen .rh-frame__bar span { display: none; }
    .rh-reel__phone { top: 8%; right: 10px; width: 22%; }
    .rh-reel__body { padding: 16px 18px 18px; }
    .rh-reel__body > .rh-meta { overflow: hidden; font-size: 11px; white-space: nowrap; text-overflow: ellipsis; }
    .rh-reel__name { margin-top: 4px; font-size: 22px; }
    .rh-reel__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; margin-top: 12px; padding-top: 12px; }
    .rh-reel__stats > div:nth-child(n + 3) { display: none; }
    .rh-reel__stats dt { font-size: 26px; }
    .rh-reel__stats dd {
        display: -webkit-box;
        margin-top: 4px;
        overflow: hidden;
        font-size: 13px;
        line-height: 1.35;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
    }
    .rh-reel__stats .rh-source { overflow: hidden; font-size: 10px; white-space: nowrap; text-overflow: ellipsis; }
    .rh-reel__quote { margin-top: 12px; }
    .rh-reel__quote p,
    .rh-reel__text { font-size: 14px; line-height: 1.5; }
    .rh-reel__text { margin-top: 10px; }
    .rh-reel__quote figcaption { margin-top: 10px; }
    .rh-reel__quote img { width: 32px; height: 32px; }
    .rh-reel__quote figcaption span { font-size: 12.5px; }
    .rh-reel__links { gap: 8px 18px; padding-top: 14px; }
    .rh-reel__links .rh-link { font-size: 14px; }
    .rh-reel__bar { gap: 16px; }
    .rh-reel__button { width: 44px; height: 44px; }

    .rh-explorer { grid-template-columns: 1fr; gap: 20px; }

    .rh-explorer__tabs {
        position: static;
        display: flex;
        gap: 6px;
        margin-inline: calc(-1 * var(--rh-gutter));
        padding: 2px var(--rh-gutter) 8px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .rh-explorer__tabs::-webkit-scrollbar { display: none; }
    .rh-explorer__tab { width: auto; flex: none; white-space: nowrap; }
    .rh-explorer__tabs {
        padding-block: 6px 14px;
        -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent);
        mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent);
    }
    .rh-explorer__thumbs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .rh-explorer__caption .rh-link { margin-left: 0; }

    .rh-explorer__offer { grid-template-columns: 1fr; }
    .rh-explorer__offer .rh-btn { grid-column: 1; grid-row: auto; width: 100%; }

    .rh-sysnode { font-size: 10px; padding: 6px 7px; }
    .rh-sysnode small { display: none; }

    .rh-built__grid { grid-template-columns: 1fr; }
    .rh-built__item--1,
    .rh-home .rh-built__item--4 { grid-column: auto; }
    .rh-home .rh-built__item--4 { flex-direction: column; }
    .rh-built__item--4 .rh-built__shot { width: 100%; border-right: 0; border-bottom: 1px solid var(--rh-line); }

    .rh-ledger div { grid-template-columns: 1fr; gap: 6px; }
    .rh-ai__screens { aspect-ratio: 1 / 1.02; }
    .rh-ai__caption { position: static; margin-top: 12px; }

    .rh-proof__grid { grid-template-columns: 1fr; }
    .rh-proof__video { max-width: 300px; }

    .rh-path,
    .rh-path--featured { grid-template-columns: 1fr; gap: 16px; }
    .rh-path--featured { margin-inline: -16px; padding-inline: 16px; }
    .rh-path__actions { grid-column: auto; justify-content: flex-start; }

    .rh-final__actions .rh-btn { width: 100%; }
}

@media (max-width: 1024px) and (min-width: 761px) {
    .rh-stage__phone { width: 13.5%; }
    .rh-node { font-size: 10px; }
    .rh-proof__grid { grid-template-columns: 300px minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
    .rh-home *,
    .rh-home *::before,
    .rh-home *::after {
        transition-duration: 1ms !important;
        animation: none !important;
    }
}
