/* =================================================================== THEME GRADIENT =================================================================== */
/* A theme layer, not a section: <html class="theme-gradient"> swaps every flat-orange accent for
   var(--orange) — fills, accent text, accent borders and
   icons (stroke: url(#riq-gradient), the <svg> defs after the skip link) — and makes the text on
   those orange fills white. No keyframes: fills and accent text are static.
   Load it after every section file (and before theme-light.css). */

html.theme-gradient {

    /* ------------------------------------------------------------------ accent text */
    /* accent text is a plain colour, never a clipped gradient (client, 2026-12-03) */
    & .text-gradient, & .stage__eyebrow, & .stage__dot { color: var(--orange); }
    /* no loops on accents: the hero dot's glint (stage-glint) would show as a blob on gradient text */
    & .stage__dot { animation: none; }
    & .stage__eyebrow::before { background: var(--orange); }

    /* ------------------------------------------------------------------ buttons + icons */
    /* primary buttons: the gradient, warm glow on hover */
    & .btn-primary {
        background: var(--orange);
        box-shadow: 0 0 0 0 transparent;
        transition: box-shadow var(--ease), filter var(--ease), color var(--ease);
        &:hover { box-shadow: var(--shadow-glow); filter: saturate(1.15) brightness(1.04); }
    }

    /* inline icons that were orange take the page's SVG gradient (24-unit viewBox icons) */
    & .riq-stop--1 { stop-color: var(--orange); }
    & .riq-stop--2 { stop-color: var(--orange); }
    & .site-header__plus-svg { stroke: url(#riq-gradient); }

    /* ------------------------------------------------------------------ ON ORANGE: white text
       Every element painted with the gradient re-scopes the "text on orange" tokens to paper, so
       its text, rules, bullets and icons (all drawn with --black / --black-20/30) turn white. */
    & .btn-primary,
    & .offer .offer__item,
    & .questions .questions__toggle {
        --black: var(--paper);
        --black-20: var(--paper-40);
        --black-30: var(--paper-40);
    }

    /* ------------------------------------------------------------------ chrome */
    & .cookie-banner .cookie-banner__btn:hover { border-color: transparent; background: var(--orange); color: var(--paper); }

    /* ------------------------------------------------------------------ sections */
    /* the big bands: the gradient, with a warm glow beneath, never a black shadow */
    & .outro { background: var(--orange); }


    & .offer .offer__item::before { background: var(--orange); }
    & .questions .questions__item[open] .questions__toggle { border-color: transparent; background: var(--orange); }

    /* =================================================================== RESPONSIVE =================================================================== */
    @media (max-width: 991.98px) {
        & .site-header .site-header__menu-line { background: var(--orange); }
    }
}
