/* pages/rgp1-blocks.css (WP5c1): skin of the mu-plugin blocks (rg-phase1: p1 hero and band, p3 protection, p5 chat link) on home, product, cart, checkout. Shared: loads before the primary page file.
   The plugin draws with its own tokens (--rgp1-*), whose values are the theme palette: they are mapped to the theme tokens once, so every block follows the theme; the rules below are the deliberate differences
   (orange CTA, serif headline, focus colour, tap targets, night-hero scrim). Presentation only: nothing is hidden, moved or re-texted. The p2 selector and buy bar are skinned in product-7385.css (they print on product 7385 only). Notes: docs/skin/rgp1-blocks.md */
body.rgn-theme{--rgp1-p1-font:var(--rgn-font-body);--rgp1-c-primary:var(--rgn-navy);--rgp1-c-text:var(--rgn-ink);--rgp1-c-muted:var(--rgn-muted);--rgp1-c-border:var(--rgn-border);--rgp1-c-bg:var(--rgn-bg);--rgp1-c-bg-alt:var(--rgn-bg-alt);--rgp1-c-accent:var(--rgn-focus);--rgp1-radius:var(--rgn-radius)}

/* buttons: the primary is the theme CTA (orange, dark label); the plugin's navy fill and white hero button are replaced */
body.rgn-theme .rgp1-btn{min-height:48px;line-height:1.25}
body.rgn-theme :is(.rgp1-btn--primary,.rgp1-hero.rgp1-hero--home .rgp1-btn--primary){border:1px solid var(--rgn-orange-edge);background-color:var(--rgn-orange);color:var(--rgn-cta-ink)}
body.rgn-theme :is(.rgp1-btn--primary,.rgp1-hero.rgp1-hero--home .rgp1-btn--primary):is(:visited,:hover,:focus,:active){background-color:var(--rgn-orange-hover);color:var(--rgn-cta-ink)}

/* p1 hero (home): a 55 % night scrim (inset shadow: it paints above the photo and below the copy and the picture) keeps the white copy at AA over stars and clouds; the focus ring turns light orange on the night sky (the theme's focus rule inside .elementor reads --rgn-focus) */
body.rgn-theme .rgp1-hero.rgp1-hero--home{--rgn-focus:var(--rgn-focus-on-dark);--rgp1-c-accent:var(--rgn-focus-on-dark);box-shadow:inset 0 0 0 100vmax color-mix(in srgb,var(--rgn-night) 55%,transparent)}
body.rgn-theme .rgp1-hero.rgp1-hero--home .rgp1-btn--secondary:hover{background-color:var(--rgn-on-dark);color:var(--rgn-night)}
body.rgn-theme .rgp1-hero .rgp1-hero__title{font-family:var(--rgn-font-heading);font-weight:700;line-height:1.15}
body.rgn-theme .rgp1-hero .rgp1-hero__eyebrow{letter-spacing:.08em}
body.rgn-theme .rgp1-hero .rgp1-hero__sub{font-size:var(--rgn-fs-md);line-height:1.5}
body.rgn-theme .rgp1-hero .rgp1-hero__trust{font-size:var(--rgn-fs-base)}

/* p1 selection band and collapsed runs (home) */
body.rgn-theme .rgp1-home__band .rgp1-home__band-title{font-family:var(--rgn-font-heading);font-size:var(--rgn-fs-xl);line-height:var(--rgn-lh-xl)}
body.rgn-theme .rgp1-home__more>.rgp1-home__summary{min-height:56px}
body.rgn-theme .rgp1-home__more[open]>.rgp1-home__summary{background-color:var(--rgn-bg-sky)}

/* p3 protection: theme font (the kit's "Lato Regular" otherwise); links keep a 44 px target below 1024 px (plugin: up to 599 px; K4 on the checkout at V4) */
body.rgn-theme .rgp1-prot{font-family:var(--rgn-font-body)}
@media (max-width:1023px){body.rgn-theme .rgp1-prot{--rgp1-prot-tap:var(--rgn-tap)}}
