/* ============================================================================
 * THE MR GREG TYPE — the locked ad system, one file for every client-facing page (2026-10-25)
 *
 *   the wordmark      Fraunces Black (900), SOFT 100 (the fat, Cooper-backed look), WONK 0,
 *                     cream, the single dusk shadow. Subset font link:
 *                     https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght,SOFT,WONK@9..144,900,100,0&text=Mr%20Greg&display=swap
 *   the display face  big headlines and Greg's typed lines: Fraunces Light (300), WONK 1
 *                     (the Windsor look), cream, the same dusk shadow. Font link:
 *                     https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght,SOFT,WONK@9..144,300,0,1&display=swap
 *   the scrim         wherever display text sits over a scene, a soft radial shade behind it
 *   everything else   small labels as they were (DM Mono), body text DM Sans: untouched here
 *
 * Cream needs a dark ground. On a light panel (an answer's article card, the Check's light page, a
 * bone card) the same face turns ink with no shadow: .wm-ink / .mg-ink on the element or a parent,
 * or the light-ground list below.
 *
 * Markup: <p class="brand"><b>Mr Greg</b><i>By Health Benefits 360</i></p> for the mark; class
 * mg-display (+ mg-scrim over a scene) on new headlines. The registry below dresses each page's
 * existing headlines and Greg lines, so the pages keep their own markup and scripts.
 * Specificity: every rule leads with html so it outranks a page's own one-class rules and the
 * styles Greg's scripts inject at run time.
 * ==========================================================================*/
:root{--mg-cream:#FBF6EC;--mg-ink:#1B2A3A;--mg-dusk:2px 3px 0 rgba(110,72,44,.35);
}

/* ── the wordmark ─────────────────────────────────────────────────────────── */
:where(.brand){margin:0;display:inline-flex;flex-direction:column;gap:.26em;min-width:0;font-size:20px;text-decoration:none}
html .brand b{font-family:Fraunces,Georgia,serif;font-weight:900;font-style:normal;font-size:1em;line-height:1;font-variation-settings:"SOFT" 100,"WONK" 0;letter-spacing:0;padding-bottom:2px;
  white-space:nowrap;color:var(--mg-cream);text-shadow:var(--mg-dusk)}
:where(.brand) i{font:400 .425em/1 "DM Mono",ui-monospace,monospace;font-style:normal;letter-spacing:.18em;text-transform:uppercase;white-space:nowrap;color:#E8EEF0;opacity:.9}
.wm-ink .brand b,html .brand.wm-ink b,html .brand b.wm-ink{color:var(--mg-ink);text-shadow:none}
:where(.wm-ink .brand,.brand.wm-ink) i{color:#5E6B78;opacity:1}

/* ── the display face: big headlines and Greg's typed lines ───────────────── */
html .mg-display,
/* home + the client door: Greg's line in the scene, his prompt, talking mode, the glass answer */
html .gs-thought,html .gs-prompt,html .gtk-h,html .gg-at,
/* the 8 Check pages: Greg's lines, the savings heading */
html .chk-say,html .chk-sav h3,
/* the answer pages: the hook's question and its answer (on the ink panel) */
html .ans-hq,html .ans-rh h3,
/* the quote form (apply_v2 + its editions): the greeting, Greg's typed lines, the plans' opening line */
html #qsec .qs-hi,html #qsec .qs-hiw .hi,html .say,html #qsec .say,html #qsec .say.land,
/* renewal: Greg's line over the scene */
html .hero .say{
  font-family:Fraunces,Georgia,serif;font-weight:300;font-style:normal;font-optical-sizing:auto;
  font-variation-settings:"SOFT" 0,"WONK" 1;letter-spacing:-.005em;color:var(--mg-cream);text-shadow:var(--mg-dusk)}
html .mg-display b,html .say b,html .chk-say b,html .gs-thought b{font-weight:500}

/* light grounds: the same face in ink, no shadow */
html .wm-ink .mg-display,html .mg-ink .mg-display,html .mg-display.mg-ink,
html .ans-card h1,html .chk-light .chk-say,html .chk-read h1,html .chk-read h2.chk-ft,
html .cl-share h2,html .gb-body,
html .codebox h2,html .done h2,html .status h2{
  font-family:Fraunces,Georgia,serif;font-weight:300;font-style:normal;font-optical-sizing:auto;
  font-variation-settings:"SOFT" 0,"WONK" 1;letter-spacing:-.005em;color:var(--mg-ink);text-shadow:none}
/* the plans' chat with Greg keeps its own ink and bone halo (it reads on the sky); only the face changes */
html .gc-tx{font-family:Fraunces,Georgia,serif;font-weight:300;font-optical-sizing:auto;font-variation-settings:"SOFT" 0,"WONK" 1}
html .gb-body b,html .gc-tx b,html .ans-card h1 b{font-weight:500}

/* ── the scrim (Gabe, 2026-10-26: "no visible dark patch anywhere") ─────────────────
   Only where the sky is pale: home's line and prompt, the quote plans' lines on the light sky, renewal's
   line. A dark scene already reads, so the Checks, the quote landing (teal) and talking mode get none: the
   dusk shadow alone. The shade is wide, faint and fully blurred, so it never reads as a shape; it stays in
   the text's own box (inset 0) and the blur carries it out (ink overflow: it never widens the page).
   Its strength is the floor, not taste: cream Light on the pale home sky reads 1.9:1 with no shade; this one
   holds WCAG AA for large text (median 3.1:1 at every phone width, tests/ask-front-door B8). Fainter fails it. */
html .mg-scrim,html .gs-thought,html .gs-prompt,html .stop .say,html .hero .say{isolation:isolate}
html .stop .say,html .hero .say{position:relative}
html .mg-scrim::before,html .gs-thought::before,html .gs-prompt::before,html .stop .say::before,html .hero .say::before{
  content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:rgba(16,34,42,.62);border-radius:2em;filter:blur(1.5em)}
/* what sits in ink inside a Greg line on the shade (the plans' "HEAR THIS") turns cream */
html .stop .say .hear{color:var(--mg-cream);border-color:rgba(251,246,236,.45)}
/* no scrim on a light ground */
html .mg-ink .mg-scrim::before,html .wm-ink .mg-scrim::before{content:none}
/* the quote landing on a wide screen (responsive pass, 2026-10-28): the phone keeps the photo below the words, but from
   900px the cover photo runs behind them (bunting, shirts, a white wall), so the greeting, the line and its italic get the
   same faint blurred shade. The phone is unchanged. */
@media (min-width:900px){
  html #qsHi,html #qsay.land,html #qsec .gsub{position:relative;isolation:isolate}
  html #qsHi::before,html #qsay.land::before,html #qsec .gsub::before{
    content:"";position:absolute;inset:-.35em -.7em;z-index:-1;pointer-events:none;
    background:rgba(16,34,42,.5);border-radius:2em;filter:blur(.9em)}
}
