/* ==========================================================================
   REVOLUTION COMMUNICATIONS — 2026 UI LAYER
   ==========================================================================

   WHY THIS FILE EXISTS, AND WHY IT IS NOT app.css
   -----------------------------------------------
   The server has no Node and an empty node_modules, so Tailwind cannot be
   rebuilt here: every class not already inside public/build/assets/app-*.css
   is dead text. A redesign that needed one new utility would silently render
   unstyled. This file is hand-authored CSS — no build step, no toolchain — and
   is loaded *after* the Vite bundle, so it can restyle anything.

   IT IS NOT A SECOND DESIGN SYSTEM. Every colour below resolves from the
   tokens app.css already defines (--color-brand-*, --color-accent, --color-ink
   …), so all five theme presets keep working: switch the theme and this layer
   recolours with it. Never hardcode a brand colour here.

   WHEN NODE COMES BACK: fold this into resources/css/app.css as @utility
   blocks and delete the <link> in layouts/app.blade.php. Until then, treat
   this file as the source of truth for anything prefixed `rc-`.

   NAMING: every class is `rc-*` so it can never collide with a Tailwind
   utility, in either direction.

   THE IDEA: dark chrome, light content. Navigation, hero, the bento band, the
   speed strip and the footer are a deep navy machine; the reading-heavy parts
   (packages, services, forms, FAQ) stay on a light canvas where dense Bengali
   copy is comfortable. The contrast between the two is the design.
   ========================================================================== */

:root {
    /* --- Dark canvas -------------------------------------------------------
       STATIC VALUES FIRST, ON PURPOSE. Everything colourful in this file is
       built on color-mix(), which Chrome only shipped in 111 and Safari in
       16.2. On an older browser a color-mix() value is invalid at computed-
       value time, so `background-color: var(--rc-void)` would resolve to
       *transparent* — the dark bands would turn white and their near-white
       text would vanish. The whole redesign would look like it never loaded.

       So every token that something structural depends on is declared twice:
       a plain value here, then upgraded inside @supports below. Old browsers
       get the design in flat brand colours; new ones get the full spectrum.
       Decorative-only mixes (shadows, gradient washes) are left alone — those
       simply do not paint, which costs nothing. */
    --rc-void: #041224;
    --rc-void-2: #020c18;

    /* Glass surfaces on the dark canvas. */
    --rc-glass: rgb(255 255 255 / 0.045);
    --rc-glass-strong: rgb(255 255 255 / 0.07);
    --rc-glass-line: rgb(255 255 255 / 0.09);
    --rc-glass-line-lit: rgb(147 193 236 / 0.45);

    /* Text on dark. */
    --rc-on-dark: #eaf2fb;
    --rc-on-dark-soft: rgb(234 242 251 / 0.62);
    --rc-on-dark-faint: rgb(234 242 251 / 0.4);

    /* Light canvas. */
    --rc-paper: #f6f9fc;
    --rc-paper-line: var(--color-hairline);

    --rc-radius: 20px;
    --rc-radius-lg: 28px;
    --rc-radius-sm: 14px;

    --rc-glow-brand: 0 20px 60px -24px color-mix(in srgb, var(--color-brand-500) 70%, transparent);
    --rc-glow-accent: 0 20px 60px -24px color-mix(in srgb, var(--color-accent) 60%, transparent);

    --rc-ease: cubic-bezier(0.22, 1, 0.36, 1);

    /* --- The spectrum -----------------------------------------------------
       Six supporting hues so a grid of tiles is not six copies of the same
       blue. Each is *mixed with the theme's own colour* rather than hardcoded,
       so switching to emerald or crimson pulls the whole spectrum with it and
       the page never stops looking like one brand.

       Anything that needs a hue reads `--rc-hue`, which the .rc-hue-N classes
       set on the tile. One variable then drives its icon plate, its hover glow
       and its index digit — so a tile is recoloured in one place. */
    --rc-h1: #29b6d8;
    --rc-h2: #6f87e0;
    --rc-h3: #f07ba0;
    --rc-h4: #2fb98b;
    --rc-h5: var(--color-accent);
    --rc-h6: #8f7fdd;

    /* Default, for anything that asks for a hue without choosing one. */
    --rc-hue: var(--color-brand-400);
}

/* The upgrade. Same tokens, now blended with whichever theme is active, so
   switching to emerald or crimson pulls the spectrum with it instead of
   leaving six fixed colours sitting on a different brand. */
@supports (color: color-mix(in srgb, red 50%, blue)) {
    :root {
        --rc-void: color-mix(in srgb, var(--color-brand-950) 88%, #000 12%);
        --rc-void-2: color-mix(in srgb, var(--color-brand-950) 96%, #000 4%);
        --rc-glass-line-lit: color-mix(in srgb, var(--color-brand-400) 45%, transparent);

        --rc-h1: color-mix(in srgb, #22d3ee 62%, var(--color-brand-500));
        --rc-h2: color-mix(in srgb, #818cf8 62%, var(--color-brand-500));
        --rc-h3: color-mix(in srgb, #f472b6 55%, var(--color-accent));
        --rc-h4: color-mix(in srgb, #34d399 58%, var(--color-brand-500));
        --rc-h6: color-mix(in srgb, #a78bfa 60%, var(--color-brand-600));
    }
}

.rc-hue-1 { --rc-hue: var(--rc-h1); }
.rc-hue-2 { --rc-hue: var(--rc-h2); }
.rc-hue-3 { --rc-hue: var(--rc-h3); }
.rc-hue-4 { --rc-hue: var(--rc-h4); }
.rc-hue-5 { --rc-hue: var(--rc-h5); }
.rc-hue-6 { --rc-hue: var(--rc-h6); }

/* ==========================================================================
   1. BANDS — the two canvases
   ========================================================================== */

/* Deep navy band. `isolation` keeps the decorative layers from bleeding into
   whatever section follows, and z-index on the content keeps it above them. */
.rc-dark {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    color: var(--rc-on-dark);
    background-color: var(--rc-void);
    /* A five-blob colour mesh rather than one blue glow: cyan and violet on the
       left, orange and pink on the right. Saturated enough to read as colour at
       a glance, sparse enough that white body text still clears AA on top. */
    background-image:
        radial-gradient(48rem 34rem at 8% -12%, color-mix(in srgb, var(--rc-h1) 34%, transparent) 0%, transparent 62%),
        radial-gradient(42rem 30rem at 38% -6%, color-mix(in srgb, var(--rc-h2) 30%, transparent) 0%, transparent 60%),
        radial-gradient(40rem 30rem at 96% 4%, color-mix(in srgb, var(--color-accent) 22%, transparent) 0%, transparent 58%),
        radial-gradient(34rem 26rem at 78% 96%, color-mix(in srgb, var(--rc-h3) 20%, transparent) 0%, transparent 60%),
        radial-gradient(52rem 40rem at 30% 118%, color-mix(in srgb, var(--color-brand-500) 30%, transparent) 0%, transparent 62%);
}

/* Engineering grid — the texture that says "network" without an illustration.
   Masked so it fades before the band edges instead of stopping on a hard line. */
.rc-dark::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(to right, rgb(255 255 255 / 0.035) 1px, transparent 1px),
        linear-gradient(to bottom, rgb(255 255 255 / 0.035) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: radial-gradient(70% 60% at 50% 35%, #000 0%, transparent 100%);
    mask-image: radial-gradient(70% 60% at 50% 35%, #000 0%, transparent 100%);
}

.rc-dark > * {
    position: relative;
    z-index: 1;
}

/* Headings inside a dark band are white by default so no markup has to say so. */
.rc-dark h1,
.rc-dark h2,
.rc-dark h3,
.rc-dark h4 {
    color: var(--rc-on-dark);
}

/* Light band — paper, with a faint dot field so it is not a flat white slab. */
.rc-light {
    position: relative;
    isolation: isolate;
    background-color: var(--rc-paper);
}

/* Tinted mesh + dot field. The mesh is at a few percent — enough that the band
   is not a flat grey slab, nowhere near enough to fight the text on it. */
.rc-light::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        radial-gradient(color-mix(in srgb, var(--color-brand-500) 16%, transparent) 1px, transparent 1px),
        radial-gradient(36rem 26rem at 6% 0%, color-mix(in srgb, var(--rc-h1) 16%, transparent), transparent 60%),
        radial-gradient(32rem 24rem at 94% 8%, color-mix(in srgb, var(--rc-h3) 13%, transparent), transparent 58%),
        radial-gradient(38rem 28rem at 60% 100%, color-mix(in srgb, var(--rc-h2) 12%, transparent), transparent 60%);
    background-size: 28px 28px, auto, auto, auto;
    -webkit-mask-image: radial-gradient(90% 80% at 50% 0%, #000 0%, transparent 100%);
    mask-image: radial-gradient(90% 80% at 50% 0%, #000 0%, transparent 100%);
    opacity: 0.6;
}

/* The seam between a dark band and the light content below it. */
.rc-seam {
    height: 1px;
    background-image: linear-gradient(
        to right,
        transparent,
        color-mix(in srgb, var(--color-brand-400) 55%, transparent),
        color-mix(in srgb, var(--color-accent) 45%, transparent),
        transparent
    );
}

/* ==========================================================================
   2. SURFACES
   ========================================================================== */

.rc-glass {
    position: relative;
    border: 1px solid var(--rc-glass-line);
    border-radius: var(--rc-radius);
    background-color: var(--rc-glass);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    /* The inset highlight is what reads as "glass" rather than "grey box". */
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.06);
}

.rc-glass-hover {
    transition:
        border-color 0.3s var(--rc-ease),
        transform 0.3s var(--rc-ease),
        box-shadow 0.3s var(--rc-ease),
        background-color 0.3s var(--rc-ease);
}

/* The hover glow takes the tile's own hue, so a row of tiles lights up in
   different colours instead of five identical blue shadows. */
.rc-glass-hover:hover {
    transform: translateY(-3px);
    border-color: color-mix(in srgb, var(--rc-hue) 55%, transparent);
    background-color: var(--rc-glass-strong);
    box-shadow:
        inset 0 1px 0 rgb(255 255 255 / 0.08),
        0 22px 60px -24px color-mix(in srgb, var(--rc-hue) 75%, transparent);
}

/* Light-canvas card. Flatter and quieter than the dark glass on purpose — the
   content sections carry a lot of text and do not need every card shouting. */
.rc-card {
    position: relative;
    border: 1px solid var(--rc-paper-line);
    border-radius: var(--rc-radius);
    background-color: #fff;
    box-shadow: 0 1px 2px rgb(4 54 95 / 0.04);
    transition:
        border-color 0.3s var(--rc-ease),
        transform 0.3s var(--rc-ease),
        box-shadow 0.3s var(--rc-ease);
}

.rc-card-hover:hover {
    transform: translateY(-3px);
    border-color: color-mix(in srgb, var(--color-brand-400) 60%, transparent);
    box-shadow: 0 24px 50px -28px color-mix(in srgb, var(--color-brand-900) 55%, transparent);
}

/* ==========================================================================
   3. BENTO
   Auto-flowing 6-column grid. Children declare their own span, so a section
   can mix a wide hero tile with narrow stat tiles without a wrapper per row.
   ========================================================================== */

.rc-bento {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

@media (min-width: 768px) {
    .rc-bento {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 16px;
    }
}

.rc-bento > * {
    grid-column: span 2;
}

@media (min-width: 768px) {
    .rc-span-2 { grid-column: span 2; }
    .rc-span-3 { grid-column: span 3; }
    .rc-span-4 { grid-column: span 4; }
    .rc-span-6 { grid-column: span 6; }
    .rc-row-2 { grid-row: span 2; }
}

/* ==========================================================================
   4. TYPE
   ========================================================================== */

.rc-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.85rem 0.35rem 0.5rem;
    border: 1px solid var(--rc-glass-line);
    border-radius: 999px;
    background-color: var(--rc-glass);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--rc-on-dark-soft);
}

.rc-eyebrow-light {
    border-color: color-mix(in srgb, var(--color-brand-500) 22%, transparent);
    background-color: color-mix(in srgb, var(--color-brand-500) 7%, transparent);
    color: var(--color-brand-700);
}

/* Live dot — a network is up or it is not, so the hero says so. */
.rc-dot {
    position: relative;
    display: inline-grid;
    place-items: center;
    width: 1.1rem;
    height: 1.1rem;
    flex: none;
}

.rc-dot::before,
.rc-dot::after {
    content: '';
    position: absolute;
    border-radius: 999px;
    background-color: var(--color-accent);
}

.rc-dot::before {
    width: 0.45rem;
    height: 0.45rem;
}

.rc-dot::after {
    width: 1.1rem;
    height: 1.1rem;
    opacity: 0.35;
    animation: rcPing 2.4s var(--rc-ease) infinite;
}

@keyframes rcPing {
    0% { transform: scale(0.4); opacity: 0.5; }
    100% { transform: scale(1); opacity: 0; }
}

/* Display headline. clamp() means one rule covers phone to desktop. */
.rc-display {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.02em;
    font-size: clamp(2.1rem, 1.2rem + 3.6vw, 4rem);
}

.rc-display-sm {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.015em;
    font-size: clamp(1.6rem, 1.1rem + 1.9vw, 2.5rem);
}

/* Bengali conjuncts collide at display sizes with tight leading. */
:lang(bn) .rc-display,
:lang(bn) .rc-display-sm {
    line-height: 1.35;
}

/* The one gradient accent. Used on the words that carry the promise. */
/* Four stops, not two: cyan into brand into violet into orange. Gradient text
   is the loudest thing on the page, so it is the one place the full spectrum
   appears at once. */
.rc-grad {
    background-image: linear-gradient(
        100deg,
        var(--rc-h1) 0%,
        var(--color-brand-300) 30%,
        var(--rc-h6) 58%,
        var(--color-accent-on-brand) 82%,
        var(--color-accent) 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

/* Same idea on the light canvas, where the pale end of the ramp would vanish. */
.rc-grad-ink {
    background-image: linear-gradient(
        100deg,
        var(--color-brand-600) 0%,
        color-mix(in srgb, var(--rc-h6) 70%, var(--color-brand-700)) 40%,
        var(--color-brand-500) 68%,
        var(--color-accent-strong) 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.rc-lead {
    color: var(--rc-on-dark-soft);
    line-height: 1.8;
    font-size: 0.95rem;
}

@media (min-width: 640px) {
    .rc-lead { font-size: 1.02rem; }
}

.rc-muted { color: var(--rc-on-dark-soft); }
.rc-faint { color: var(--rc-on-dark-faint); }

/* Tabular figures so speed and price columns line up. */
.rc-num {
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
}

/* ==========================================================================
   5. NAVBAR
   ========================================================================== */

.rc-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid transparent;
    /* The bar and the hero share one canvas, so at the top of a page they read
       as a single piece of chrome rather than a strip sitting on a banner. */
    background-color: var(--rc-void);
    transition:
        background-color 0.35s var(--rc-ease),
        border-color 0.35s var(--rc-ease),
        backdrop-filter 0.35s var(--rc-ease);
}

/* Transparent over the hero, solid once the page moves — set by Alpine. */
.rc-nav-solid {
    border-bottom-color: var(--rc-glass-line);
    background-color: var(--rc-void);
    background-color: color-mix(in srgb, var(--rc-void) 82%, transparent);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    backdrop-filter: blur(20px) saturate(160%);
}

.rc-navlink {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.85rem;
    border-radius: 10px;
    font-size: 0.82rem;
    font-weight: 600;
    color: rgb(234 242 251 / 0.72);
    transition: color 0.2s var(--rc-ease), background-color 0.2s var(--rc-ease);
}

.rc-navlink:hover {
    color: #fff;
    background-color: rgb(255 255 255 / 0.06);
}

.rc-navlink[aria-current='page'] {
    color: #fff;
    background-color: rgb(255 255 255 / 0.08);
}

/* Active marker: an accent underline, not a colour change. On the mid-blue
   navbar plain accent only clears 2.8:1, which is why the label stays white
   and the orange is a non-text indicator. */
.rc-navlink[aria-current='page']::after {
    content: '';
    position: absolute;
    left: 0.85rem;
    right: 0.85rem;
    bottom: 0.25rem;
    height: 2px;
    border-radius: 2px;
    background-color: var(--color-accent-on-brand);
}

.rc-navlink-mobile {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.8rem 1rem;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    color: rgb(234 242 251 / 0.8);
    transition: background-color 0.2s var(--rc-ease), color 0.2s var(--rc-ease);
}

.rc-navlink-mobile:hover {
    background-color: rgb(255 255 255 / 0.06);
    color: #fff;
}

.rc-navlink-mobile[aria-current='page'] {
    color: #fff;
    background-color: rgb(255 255 255 / 0.09);
    box-shadow: inset 3px 0 0 var(--color-accent-on-brand);
}

/* ==========================================================================
   6. BUTTONS
   The site already has one button component; these are the two treatments it
   cannot express — a glowing primary and a glass secondary for dark bands.
   ========================================================================== */

.rc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.85rem 1.5rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    transition:
        transform 0.25s var(--rc-ease),
        box-shadow 0.25s var(--rc-ease),
        background-color 0.25s var(--rc-ease),
        border-color 0.25s var(--rc-ease);
}

.rc-btn:hover { transform: translateY(-2px); }
.rc-btn:active { transform: translateY(0); }

.rc-btn-primary {
    color: #fff;
    background-image: linear-gradient(135deg, var(--color-brand-500), var(--color-brand-600));
    box-shadow: var(--rc-glow-brand);
}

.rc-btn-primary:hover {
    box-shadow: 0 26px 70px -22px color-mix(in srgb, var(--color-brand-500) 85%, transparent);
}

.rc-btn-accent {
    color: var(--color-brand-950);
    background-image: linear-gradient(135deg, var(--color-accent-on-brand), var(--color-accent));
    box-shadow: var(--rc-glow-accent);
}

.rc-btn-glass {
    color: #fff;
    border-color: var(--rc-glass-line);
    background-color: var(--rc-glass);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.rc-btn-glass:hover {
    border-color: var(--rc-glass-line-lit);
    background-color: var(--rc-glass-strong);
}

.rc-btn-sm {
    padding: 0.6rem 1.1rem;
    font-size: 0.8rem;
}

/* ==========================================================================
   7. HERO
   ========================================================================== */

.rc-hero {
    padding-block: 5rem 6rem;
}

@media (min-width: 768px) {
    .rc-hero { padding-block: 7rem 8rem; }
}

.rc-hero-compact {
    padding-block: 4rem;
}

@media (min-width: 768px) {
    .rc-hero-compact { padding-block: 5.5rem; }
}

.rc-hero-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .rc-hero-grid {
        grid-template-columns: 1.05fr 0.95fr;
        gap: 4rem;
    }
}

/* --- The hero artwork: a fibre core seen head-on ------------------------- */

.rc-orbit {
    position: relative;
    display: grid;
    place-items: center;
    aspect-ratio: 1;
    width: 100%;
    max-width: 26rem;
    margin-inline: auto;
}

.rc-orbit-ring {
    position: absolute;
    border-radius: 999px;
    border: 1px solid var(--rc-glass-line);
}

.rc-orbit-ring:nth-child(1) { inset: 0; }
.rc-orbit-ring:nth-child(2) { inset: 14%; }
.rc-orbit-ring:nth-child(3) { inset: 28%; }

/* The sweep: one conic gradient rotating behind the rings, masked to a ring
   shape. Reads as a radar/fibre pulse and costs one compositor layer. */
.rc-orbit-sweep {
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background-image: conic-gradient(
        from 0deg,
        transparent 0deg,
        transparent 250deg,
        color-mix(in srgb, var(--color-brand-400) 55%, transparent) 330deg,
        color-mix(in srgb, var(--color-accent) 75%, transparent) 360deg
    );
    -webkit-mask-image: radial-gradient(closest-side, transparent 76%, #000 78%, #000 100%);
    mask-image: radial-gradient(closest-side, transparent 76%, #000 78%, #000 100%);
    animation: rcSpin 7s linear infinite;
}

@keyframes rcSpin {
    to { transform: rotate(1turn); }
}

.rc-orbit-core {
    position: relative;
    display: grid;
    place-items: center;
    width: 42%;
    aspect-ratio: 1;
    border-radius: 30px;
    border: 1px solid var(--rc-glass-line);
    background-color: var(--color-brand-800);
    background-image: linear-gradient(150deg, color-mix(in srgb, var(--color-brand-600) 85%, transparent), var(--rc-void-2));
    box-shadow:
        inset 0 1px 0 rgb(255 255 255 / 0.1),
        0 30px 70px -30px color-mix(in srgb, var(--color-brand-500) 90%, transparent);
    animation: rcFloat 7s ease-in-out infinite;
}

@keyframes rcFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* Spec chips pinned to the orbit. */
.rc-chip {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.8rem;
    border: 1px solid var(--rc-glass-line);
    border-radius: 12px;
    background-color: var(--rc-void);
    background-color: color-mix(in srgb, var(--rc-void) 70%, transparent);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--rc-on-dark);
    white-space: nowrap;
    box-shadow: 0 12px 30px -18px #000;
    animation: rcFloat 7s ease-in-out infinite;
}

.rc-chip-a { top: 8%; left: -4%; animation-delay: -1.5s; }
.rc-chip-b { bottom: 14%; right: -4%; animation-delay: -3.5s; }
.rc-chip-c { bottom: 2%; left: 12%; animation-delay: -5s; }

.rc-chip-dot {
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 999px;
    background-color: var(--color-accent);
    flex: none;
}

/* ==========================================================================
   8. STAT / FEATURE TILES
   ========================================================================== */

.rc-stat {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem;
    min-height: 118px;
}

.rc-stat-value {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.02em;
    color: #fff;
    font-variant-numeric: tabular-nums;
}

.rc-stat-label {
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.5;
    color: var(--rc-on-dark-soft);
}

/* Icon plate — one shape for every icon on the site, dark and light. */
.rc-plate {
    display: grid;
    place-items: center;
    width: 2.6rem;
    height: 2.6rem;
    flex: none;
    border-radius: 13px;
    /* Tinted from the tile's hue. A plate on a plain .rc-glass tile falls back
       to the brand blue, so nothing has to opt in. */
    border: 1px solid var(--rc-glass-line);
    border: 1px solid color-mix(in srgb, var(--rc-hue) 34%, transparent);
    background-color: var(--rc-glass-strong);
    background-color: color-mix(in srgb, var(--rc-hue) 20%, transparent);
    color: var(--rc-hue);
    color: color-mix(in srgb, var(--rc-hue) 78%, #fff);
    transition: background-color 0.25s var(--rc-ease), border-color 0.25s var(--rc-ease);
}

.rc-plate-light {
    border-color: var(--color-brand-200);
    border-color: color-mix(in srgb, var(--rc-hue) 26%, transparent);
    background-color: var(--color-brand-50);
    background-color: color-mix(in srgb, var(--rc-hue) 13%, transparent);
    /* Darkened toward the ink so a mid-tone hue still clears contrast on paper. */
    color: var(--rc-hue);
    color: color-mix(in srgb, var(--rc-hue) 72%, var(--color-brand-900));
}

.rc-plate-lg {
    width: 3.1rem;
    height: 3.1rem;
    border-radius: 16px;
}

/* Five shortcuts across, three on a phone. Its own rule because the compiled
   Tailwind has no `sm:grid-cols-5` and cannot be rebuilt to add one. */
.rc-quick-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
}

@media (min-width: 640px) {
    .rc-quick-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

/* Quick-action tile. */
.rc-quick {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    padding: 1.1rem 0.5rem;
    border-radius: var(--rc-radius-sm);
    text-align: center;
    transition: background-color 0.25s var(--rc-ease), transform 0.25s var(--rc-ease);
}

.rc-quick:hover {
    transform: translateY(-2px);
    background-color: color-mix(in srgb, var(--rc-hue) 12%, transparent);
}

.rc-quick:hover .rc-plate {
    border-color: color-mix(in srgb, var(--rc-hue) 60%, transparent);
    background-color: color-mix(in srgb, var(--rc-hue) 34%, transparent);
    color: #fff;
}

.rc-quick-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--rc-on-dark);
    line-height: 1.4;
}

/* ==========================================================================
   9. MARQUEE — the cache-server strip
   ========================================================================== */

.rc-marquee {
    position: relative;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.rc-marquee-track {
    display: flex;
    width: max-content;
    gap: 3rem;
    padding-block: 0.25rem;
    animation: rcMarquee 36s linear infinite;
}

.rc-marquee:hover .rc-marquee-track {
    animation-play-state: paused;
}

@keyframes rcMarquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.rc-marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--rc-on-dark-soft);
    white-space: nowrap;
    transition: color 0.25s var(--rc-ease);
}

.rc-marquee-item:hover { color: #fff; }

.rc-marquee-item::before {
    content: '';
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 999px;
    background-color: var(--color-accent);
    flex: none;
}

/* ==========================================================================
   10. PACKAGE TIER CARD
   ========================================================================== */

.rc-tier {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    border-radius: var(--rc-radius);
    border: 1px solid var(--rc-paper-line);
    background-color: #fff;
    transition:
        transform 0.3s var(--rc-ease),
        box-shadow 0.3s var(--rc-ease),
        border-color 0.3s var(--rc-ease);
}

.rc-tier:hover {
    transform: translateY(-4px);
    border-color: color-mix(in srgb, var(--color-brand-400) 60%, transparent);
    box-shadow: 0 30px 60px -30px color-mix(in srgb, var(--color-brand-900) 60%, transparent);
}

/* The popular tier is the dark one — it inverts against its neighbours instead
   of relying on a badge nobody reads. */
.rc-tier-popular {
    color: var(--rc-on-dark);
    border-color: transparent;
    background-color: var(--rc-void);
    background-image:
        radial-gradient(30rem 20rem at 80% -10%, color-mix(in srgb, var(--color-brand-500) 45%, transparent), transparent 60%),
        radial-gradient(20rem 16rem at 0% 110%, color-mix(in srgb, var(--color-accent) 16%, transparent), transparent 60%);
    box-shadow: 0 30px 70px -32px color-mix(in srgb, var(--color-brand-900) 85%, transparent);
}

.rc-tier-flag {
    position: absolute;
    top: -0.7rem;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.3rem 0.9rem;
    border-radius: 999px;
    background-image: linear-gradient(135deg, var(--color-accent-on-brand), var(--color-accent));
    color: var(--color-brand-950);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    white-space: nowrap;
    box-shadow: var(--rc-glow-accent);
}

.rc-price {
    display: flex;
    align-items: baseline;
    gap: 0.3rem;
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--color-brand-600);
    font-variant-numeric: tabular-nums;
}

.rc-tier-popular .rc-price { color: #fff; }

.rc-price-unit {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-ink-soft);
}

.rc-tier-popular .rc-price-unit { color: var(--rc-on-dark-soft); }

/* Speed split — the two numbers a customer actually compares. */
.rc-speeds {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-block: 1.25rem;
    border-radius: var(--rc-radius-sm);
    border: 1px solid var(--rc-paper-line);
    background-color: var(--rc-paper);
    overflow: hidden;
}

.rc-tier-popular .rc-speeds {
    border-color: var(--rc-glass-line);
    background-color: var(--rc-glass);
}

.rc-speed {
    padding: 0.8rem 0.5rem;
    text-align: center;
}

.rc-speed + .rc-speed {
    border-left: 1px solid var(--rc-paper-line);
}

.rc-tier-popular .rc-speed + .rc-speed {
    border-left-color: var(--rc-glass-line);
}

.rc-speed-value {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1;
    color: var(--color-brand-600);
    font-variant-numeric: tabular-nums;
}

.rc-speed:last-child .rc-speed-value { color: var(--color-brand-500); }

.rc-tier-popular .rc-speed-value { color: #fff; }
.rc-tier-popular .rc-speed:last-child .rc-speed-value { color: var(--color-accent-on-brand); }

.rc-speed-unit {
    font-family: var(--font-sans);
    font-size: 0.6rem;
    font-weight: 600;
    margin-left: 0.15rem;
    color: var(--color-ink-soft);
}

.rc-tier-popular .rc-speed-unit { color: var(--rc-on-dark-faint); }

.rc-speed-label {
    margin-top: 0.3rem;
    font-size: 0.62rem;
    font-weight: 600;
    color: var(--color-ink-soft);
}

.rc-tier-popular .rc-speed-label { color: var(--rc-on-dark-soft); }

.rc-perk {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--color-ink-soft);
}

.rc-tier-popular .rc-perk { color: var(--rc-on-dark-soft); }

.rc-perk-tick {
    display: grid;
    place-items: center;
    width: 1rem;
    height: 1rem;
    flex: none;
    border-radius: 999px;
    background-color: var(--color-brand-100);
    background-color: color-mix(in srgb, var(--color-brand-500) 12%, transparent);
    color: var(--color-brand-500);
}

.rc-tier-popular .rc-perk-tick {
    background-color: rgb(255 255 255 / 0.12);
    color: var(--color-accent-on-brand);
}

/* Segmented control — billing period, customer type, anywhere else. */
.rc-seg {
    display: inline-flex;
    padding: 0.25rem;
    border-radius: 999px;
    border: 1px solid var(--rc-paper-line);
    background-color: var(--rc-paper);
}

.rc-seg-dark {
    border-color: var(--rc-glass-line);
    background-color: var(--rc-glass);
}

.rc-seg-btn {
    padding: 0.45rem 1.1rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-ink-soft);
    transition: background-color 0.25s var(--rc-ease), color 0.25s var(--rc-ease);
}

.rc-seg-btn:hover { color: var(--color-brand-600); }

.rc-seg-btn[aria-pressed='true'] {
    color: #fff;
    background-image: linear-gradient(135deg, var(--color-brand-500), var(--color-brand-600));
    box-shadow: 0 8px 20px -10px color-mix(in srgb, var(--color-brand-500) 90%, transparent);
}

.rc-seg-dark .rc-seg-btn { color: var(--rc-on-dark-soft); }
.rc-seg-dark .rc-seg-btn:hover { color: #fff; }

/* ==========================================================================
   11. SERVICE CARD
   Photo-led. The image is the card's subject, not decoration beside a title,
   so it gets the top third and the copy sits under it.
   ========================================================================== */

.rc-service {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: var(--rc-radius);
    border: 1px solid var(--rc-paper-line);
    background-color: #fff;
    transition:
        transform 0.3s var(--rc-ease),
        border-color 0.3s var(--rc-ease),
        box-shadow 0.3s var(--rc-ease);
}

.rc-service:hover {
    transform: translateY(-3px);
    border-color: color-mix(in srgb, var(--rc-hue) 55%, transparent);
    box-shadow: 0 26px 55px -28px color-mix(in srgb, var(--rc-hue) 60%, transparent);
}

/* --- Media band ---------------------------------------------------------- */

.rc-service-media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background-color: var(--rc-void);
    /* The hue wash doubles as the backdrop behind a transparent PNG and as the
       whole visual when there is no photo at all. */
    background-image:
        radial-gradient(20rem 14rem at 25% 0%, color-mix(in srgb, var(--rc-hue) 55%, transparent), transparent 65%),
        radial-gradient(16rem 12rem at 100% 100%, color-mix(in srgb, var(--color-brand-600) 60%, transparent), transparent 60%);
}

/* The featured card is wider, so its band would be enormous at 16/10. */
.rc-span-4 .rc-service-media { aspect-ratio: 21 / 9; }

/* object-fit here rather than Tailwind's object-cover: that utility is not in
   the shipped stylesheet and there is no Node on this server to rebuild it. */
.rc-service-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--rc-ease);
}

.rc-service:hover .rc-service-media img { transform: scale(1.05); }

/* Scrim, so the index badge stays legible over a bright photo. */
.rc-service-media::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: linear-gradient(to top, rgb(2 12 24 / 0.55), transparent 55%);
}

/* Stand-in when no photo has been uploaded: the icon, large, on the hue wash.
   Deliberately looks composed rather than like a missing image. */
.rc-service-fallback {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #fff;
    opacity: 0.9;
}

.rc-service-fallback svg {
    width: 3.5rem !important;
    height: 3.5rem !important;
}

/* The index, sitting on the media band. */
.rc-service-index {
    position: absolute;
    left: 1rem;
    bottom: 0.75rem;
    z-index: 1;
    font-family: var(--font-display);
    font-size: 2.6rem;
    font-weight: 700;
    line-height: 1;
    color: rgb(255 255 255 / 0.85);
    text-shadow: 0 2px 12px rgb(2 12 24 / 0.5);
    pointer-events: none;
}

/* --- Copy ---------------------------------------------------------------- */

.rc-service-body-wrap {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.25rem 1.4rem 1.5rem;
}

.rc-service-title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.5;
    color: var(--color-brand-600);
}

.rc-service-body {
    margin-top: 0.6rem;
    font-size: 0.78rem;
    line-height: 1.85;
    color: var(--color-ink-soft);
}

/* Featured variant — dark, for the first card in the grid. */
.rc-service-lead {
    color: var(--rc-on-dark);
    border-color: transparent;
    background-color: var(--rc-void);
    background-image: radial-gradient(28rem 18rem at 85% 110%, color-mix(in srgb, var(--rc-hue) 40%, transparent), transparent 62%);
}

.rc-service-lead .rc-service-title { color: #fff; }
.rc-service-lead .rc-service-body { color: var(--rc-on-dark-soft); }

/* ==========================================================================
   12. REASON ROW + FAQ
   ========================================================================== */

.rc-reason {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.95rem 1.1rem;
    border-radius: var(--rc-radius-sm);
    border: 1px solid var(--rc-paper-line);
    background-color: #fff;
    transition:
        transform 0.25s var(--rc-ease),
        border-color 0.25s var(--rc-ease),
        box-shadow 0.25s var(--rc-ease);
}

/* A colour bar on the leading edge, in the row's own hue. */
.rc-reason::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.9rem;
    bottom: 0.9rem;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background-color: var(--rc-hue);
    opacity: 0.75;
    transition: top 0.25s var(--rc-ease), bottom 0.25s var(--rc-ease), opacity 0.25s var(--rc-ease);
}

.rc-reason {
    position: relative;
    overflow: hidden;
}

.rc-reason:hover::before {
    top: 0;
    bottom: 0;
    opacity: 1;
}

.rc-reason:hover {
    transform: translateX(4px);
    border-color: color-mix(in srgb, var(--rc-hue) 50%, transparent);
    box-shadow: 0 18px 40px -26px color-mix(in srgb, var(--rc-hue) 60%, transparent);
}

.rc-reason-arrow {
    margin-left: auto;
    color: color-mix(in srgb, var(--rc-hue) 55%, transparent);
    transition: transform 0.25s var(--rc-ease), color 0.25s var(--rc-ease);
}

.rc-reason:hover .rc-reason-arrow {
    transform: translateX(3px);
    color: var(--rc-hue);
}

.rc-faq {
    position: relative;
    overflow: hidden;
    border-radius: var(--rc-radius-sm);
    border: 1px solid var(--rc-paper-line);
    background-color: #fff;
    transition:
        border-color 0.25s var(--rc-ease),
        box-shadow 0.25s var(--rc-ease);
}

/* Colour bar on the leading edge, in the row's own hue. A stub when closed, it
   runs the full height once the answer is open — so an open row reads as open
   from the edge of the card, not only from the icon. */
.rc-faq::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1.15rem;
    height: 1.6rem;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background-color: var(--rc-hue);
    opacity: 0.65;
    transition: height 0.3s var(--rc-ease), top 0.3s var(--rc-ease), opacity 0.25s var(--rc-ease);
}

.rc-faq:hover {
    border-color: color-mix(in srgb, var(--rc-hue) 45%, transparent);
    box-shadow: 0 16px 34px -24px color-mix(in srgb, var(--rc-hue) 65%, transparent);
}

.rc-faq:hover::before { opacity: 1; }

/* :has() is progressive: where it is unsupported the row keeps its closed
   styling, which is still correct — just less emphatic. */
.rc-faq:has(.rc-faq-q[aria-expanded='true']) {
    border-color: color-mix(in srgb, var(--rc-hue) 55%, transparent);
    box-shadow: 0 20px 44px -26px color-mix(in srgb, var(--rc-hue) 70%, transparent);
}

.rc-faq:has(.rc-faq-q[aria-expanded='true'])::before {
    top: 0;
    height: 100%;
    opacity: 1;
}

.rc-faq-q {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 0.9rem;
    padding: 1.05rem 1.15rem 1.05rem 1.35rem;
    text-align: left;
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.6;
    color: var(--color-brand-700);
    transition: background-color 0.2s var(--rc-ease);
}

.rc-faq-q:hover {
    background-color: var(--color-brand-50);
    background-color: color-mix(in srgb, var(--rc-hue) 6%, transparent);
}

/* Question number. Tabular figures so a two-digit list stays aligned. */
.rc-faq-n {
    flex: none;
    width: 1.6rem;
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: var(--rc-hue);
    opacity: 0.8;
}

.rc-faq-text { flex: 1; }

/* A plus that rotates 45 degrees into a close mark: one icon, two states, and
   the rotation reads as the answer opening rather than a chevron flipping. */
.rc-faq-mark {
    display: grid;
    place-items: center;
    width: 1.8rem;
    height: 1.8rem;
    flex: none;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--rc-hue) 28%, transparent);
    background-color: var(--color-brand-50);
    background-color: color-mix(in srgb, var(--rc-hue) 11%, transparent);
    color: var(--rc-hue);
    transition:
        transform 0.3s var(--rc-ease),
        background-color 0.25s var(--rc-ease),
        color 0.25s var(--rc-ease),
        border-color 0.25s var(--rc-ease);
}

.rc-faq-q[aria-expanded='true'] .rc-faq-mark {
    transform: rotate(45deg);
    border-color: transparent;
    background-color: var(--rc-hue);
    color: #fff;
}

/* Indented to sit under the question text, past the number column. */
.rc-faq-a {
    padding: 0 1.2rem 1.2rem 3.85rem;
    font-size: 0.8rem;
    line-height: 1.9;
    color: var(--color-ink-soft);
}

/* ==========================================================================
   12b. HELPLINE PANEL — the "still have questions" card beside the answers
   ========================================================================== */

.rc-helpline {
    position: relative;
    overflow: hidden;
    padding: 1.75rem;
    border-radius: var(--rc-radius);
    border: 1px solid var(--rc-glass-line);
    color: var(--rc-on-dark);
    background-color: var(--rc-void);
    background-image:
        radial-gradient(26rem 18rem at 100% -10%, color-mix(in srgb, var(--rc-h1) 45%, transparent), transparent 62%),
        radial-gradient(22rem 16rem at -10% 110%, color-mix(in srgb, var(--rc-h3) 32%, transparent), transparent 60%);
    box-shadow: 0 30px 70px -34px color-mix(in srgb, var(--color-brand-900) 85%, transparent);
}

/* Sticks beside a long list of answers instead of leaving a column of dead
   space — the hotline stays reachable however far down you have read. */
@media (min-width: 1024px) {
    .rc-helpline-sticky {
        position: sticky;
        top: 5.5rem;
    }
}

.rc-helpline-promise {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 0.8rem;
    border-radius: var(--rc-radius-sm);
    border: 1px solid var(--rc-glass-line);
    background-color: var(--rc-glass);
    transition: background-color 0.25s var(--rc-ease), border-color 0.25s var(--rc-ease);
}

.rc-helpline-promise:hover {
    background-color: var(--rc-glass-strong);
    border-color: color-mix(in srgb, var(--rc-hue) 55%, transparent);
}

/* ==========================================================================
   13. FOOTER
   ========================================================================== */

.rc-foot-title {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-accent-on-brand);
}

.rc-foot-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.8rem;
    color: var(--rc-on-dark-soft);
    transition: color 0.2s var(--rc-ease), transform 0.2s var(--rc-ease);
}

.rc-foot-link:hover {
    color: #fff;
    transform: translateX(3px);
}

.rc-social {
    display: grid;
    place-items: center;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 11px;
    border: 1px solid var(--rc-glass-line);
    background-color: var(--rc-glass);
    color: var(--rc-on-dark-soft);
    transition: all 0.25s var(--rc-ease);
}

.rc-social:hover {
    color: #fff;
    border-color: var(--rc-glass-line-lit);
    background-color: var(--rc-glass-strong);
    transform: translateY(-2px);
}

/* ==========================================================================
   14. UTILITIES
   ========================================================================== */

.rc-shell {
    margin-inline: auto;
    width: 100%;
    max-width: 80rem;
    padding-inline: 1rem;
}

@media (min-width: 640px) { .rc-shell { padding-inline: 1.5rem; } }
@media (min-width: 1024px) { .rc-shell { padding-inline: 2rem; } }

.rc-section { padding-block: 4rem; }

@media (min-width: 768px) { .rc-section { padding-block: 6rem; } }

.rc-section-tight { padding-block: 2.5rem; }

@media (min-width: 768px) { .rc-section-tight { padding-block: 3.5rem; } }

.rc-rule {
    height: 1px;
    background-image: linear-gradient(to right, transparent, var(--rc-glass-line), transparent);
}

.rc-divider-light {
    height: 1px;
    background-image: linear-gradient(to right, transparent, var(--color-hairline), transparent);
}

/* Reveal on scroll. Alpine's intersect plugin flips `data-rc-in`; without JS
   the element simply stays visible, so content never depends on the script. */
[data-rc-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s var(--rc-ease), transform 0.7s var(--rc-ease);
}

[data-rc-reveal][data-rc-in] {
    opacity: 1;
    transform: none;
}

/* ==========================================================================
   15. MOTION
   Every animation above is decoration. Anyone who asked for less motion gets
   the layout with none of it.
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    .rc-orbit-sweep,
    .rc-orbit-core,
    .rc-chip,
    .rc-marquee-track,
    .rc-dot::after {
        animation: none !important;
    }

    .rc-btn:hover,
    .rc-glass-hover:hover,
    .rc-card-hover:hover,
    .rc-tier:hover,
    .rc-service:hover,
    .rc-reason:hover,
    .rc-social:hover {
        transform: none;
    }

    [data-rc-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ==========================================================================
   16. LEAD FORM
   The contact block is the page's conversion point, so it is a dark band —
   the last strong moment before the FAQ. That means every control inside it
   has to be restyled for a dark surface.

   These rules are descendant selectors on .rc-fields rather than a `tone`
   prop on x-ui.field. One block then covers every control the component can
   render — input, select, textarea, label, hint and error — including the
   ones added later, and the field primitive stays untouched for the light
   forms elsewhere on the site.
   ========================================================================== */

.rc-lead-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--rc-radius-lg);
    border: 1px solid var(--rc-glass-line);
    background-color: var(--rc-void-2);
    box-shadow: 0 40px 90px -40px #000;
}

/* Left panel — the route for someone who would rather talk than type. */
.rc-lead-aside {
    position: relative;
    padding: 2rem 1.75rem;
    background-image:
        radial-gradient(24rem 20rem at 0% 0%, color-mix(in srgb, var(--rc-h2) 46%, transparent), transparent 62%),
        radial-gradient(20rem 18rem at 100% 100%, color-mix(in srgb, var(--rc-h3) 34%, transparent), transparent 60%);
}

@media (min-width: 640px) {
    .rc-lead-aside { padding: 2.5rem 2rem; }
}

.rc-lead-form {
    padding: 2rem 1.75rem;
}

@media (min-width: 640px) {
    .rc-lead-form { padding: 2.5rem 2rem; }
}

/* Numbered step label. The form is long; numbering the two halves tells you
   how much is left without turning it into a multi-page wizard. */
.rc-step {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--rc-on-dark);
}

.rc-step-n {
    display: grid;
    place-items: center;
    width: 1.65rem;
    height: 1.65rem;
    flex: none;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--rc-hue) 45%, transparent);
    background-color: var(--rc-glass-strong);
    background-color: color-mix(in srgb, var(--rc-hue) 20%, transparent);
    font-family: var(--font-display);
    font-size: 0.72rem;
    color: var(--rc-hue);
}

/* --- Controls ----------------------------------------------------------- */

.rc-fields label {
    color: var(--rc-on-dark-soft) !important;
    font-size: 0.7rem;
    letter-spacing: 0.02em;
}

.rc-fields input,
.rc-fields select,
.rc-fields textarea {
    border-color: var(--rc-glass-line) !important;
    background-color: rgb(255 255 255 / 0.05) !important;
    color: var(--rc-on-dark) !important;
    transition: border-color 0.2s var(--rc-ease), background-color 0.2s var(--rc-ease), box-shadow 0.2s var(--rc-ease);
}

.rc-fields input::placeholder,
.rc-fields textarea::placeholder {
    color: rgb(234 242 251 / 0.35) !important;
}

.rc-fields input:focus,
.rc-fields select:focus,
.rc-fields textarea:focus {
    border-color: var(--rc-hue) !important;
    background-color: rgb(255 255 255 / 0.08) !important;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--rc-hue) 22%, transparent) !important;
}

.rc-fields input:disabled,
.rc-fields select:disabled {
    background-color: rgb(255 255 255 / 0.03) !important;
    color: var(--rc-on-dark-faint) !important;
}

/* The option list is drawn by the OS, not by us: without an explicit dark
   background the popup inherits white text on white on most platforms. */
.rc-fields option {
    background-color: #0a1b2e;
    color: var(--rc-on-dark);
}

/* x-ui.field paints the select chevron as an inline style — a navy SVG, which
   is invisible on a dark control. An inline style can only be beaten with
   !important, so this is the one place that is unavoidable. */
.rc-fields select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23eaf2fb' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E") !important;
}

/* Hints and validation errors. */
.rc-fields p { color: var(--rc-on-dark-faint) !important; }
.rc-fields .text-rose-600 { color: #fda4af !important; }
.rc-fields .border-rose-400 { border-color: #fb7185 !important; }

/* --- Service choice tiles ------------------------------------------------ */

.rc-choice {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.75rem 0.85rem;
    border-radius: var(--rc-radius-sm);
    border: 1px solid var(--rc-glass-line);
    background-color: var(--rc-glass);
    cursor: pointer;
    transition:
        border-color 0.25s var(--rc-ease),
        background-color 0.25s var(--rc-ease),
        transform 0.25s var(--rc-ease);
}

.rc-choice:hover {
    transform: translateY(-2px);
    border-color: color-mix(in srgb, var(--rc-hue) 55%, transparent);
    background-color: var(--rc-glass-strong);
}

/* :has() carries the selected state so the radio can stay visually hidden but
   still focusable. Where :has() is unsupported the tile simply never lights
   up — the radio is still there and the form still submits, so nothing that
   matters depends on it. */
.rc-choice:has(input:checked) {
    border-color: var(--rc-hue);
    background-color: color-mix(in srgb, var(--rc-hue) 18%, transparent);
    box-shadow: 0 12px 30px -18px color-mix(in srgb, var(--rc-hue) 85%, transparent);
}

.rc-choice:has(input:focus-visible) {
    outline: 2px solid var(--rc-hue);
    outline-offset: 2px;
}

.rc-choice-label {
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--rc-on-dark-soft);
}

.rc-choice:has(input:checked) .rc-choice-label {
    color: #fff;
}

.rc-choice-tick {
    margin-left: auto;
    display: grid;
    place-items: center;
    width: 1.1rem;
    height: 1.1rem;
    flex: none;
    border-radius: 999px;
    border: 1px solid var(--rc-glass-line);
    color: transparent;
    transition: all 0.25s var(--rc-ease);
}

.rc-choice:has(input:checked) .rc-choice-tick {
    border-color: transparent;
    background-color: var(--rc-hue);
    color: var(--color-brand-950);
}

/* The extra block a new connection needs. Tinted, not another glass panel, so
   it is visibly conditional rather than looking like more of the same form. */
.rc-conditional {
    border-radius: var(--rc-radius-sm);
    border: 1px solid color-mix(in srgb, var(--color-accent) 38%, transparent);
    background-color: rgb(247 148 30 / 0.08);
    padding: 1rem;
}

.rc-privacy {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.7rem;
    color: var(--rc-on-dark-faint);
}

.rc-success {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.9rem;
    border-radius: var(--rc-radius-sm);
    border: 1px solid color-mix(in srgb, var(--rc-h4) 50%, transparent);
    background-color: color-mix(in srgb, var(--rc-h4) 14%, transparent);
    font-size: 0.75rem;
    line-height: 1.7;
    color: var(--rc-on-dark);
}
