/* ============================================================================
   PCP Checker — GB3 brand skin v1 (2026-10-06). Mobile-first.
   Look: cream base, purple + lime accents, display type, one card in the hero.
   Token NAMES are the contract with gb2-mo/mo.css (it reads --mpc-plum etc. with
   plum fallbacks) — rename nothing, change values only.
   The #gform_wrapper_1 / #gform_wrapper_2 machinery and .mpc-legal are carried
   over from the previous skin; retinted via the tokens.
   ========================================================================== */
:root {
    --mpc-plum:        #7661BB;   /* primary: buttons, links, eyebrow, em */
    --mpc-plum-deep:   #251745;   /* band, footer, dark strip */
    --mpc-plum-tint:   #ECE1CC;   /* surface-2: subtle panels */
    --mpc-purple2:     #9A85E3;   /* glow, hover */
    --mpc-yellow:      #D6FF8C;   /* lime: ticks, secondary buttons (name kept for mo.css) */
    --mpc-lime:        #D6FF8C;
    --mpc-blue:        #7661BB;
    --mpc-green:       #1C9C63;
    --mpc-green-ink:   #D6FF8C;
    --mpc-cream:       #F4ECDD;   /* page background */
    --mpc-cream-deep:  #E7DDC8;   /* borders, dividers */
    --mpc-surface:     #FFFDF8;   /* cards */
    --mpc-sky:         #251745;   /* footer (name kept) */
    --mpc-ink:         #1B1330;
    --mpc-ink-2:       #1B1330;
    --mpc-muted:       #52496C;
    --mpc-muted-soft:  #6D6588;
    --mpc-line:        #E7DDC8;
    --mpc-line-cool:   #E2D8C2;
    --mpc-white:       #FFFFFF;
    /* legacy aliases the preserved #gform_wrapper rules resolve against */
    --mpc-emerald:       #7661BB;
    --mpc-emerald-bright:#9A85E3;
    --mpc-emerald-ink:   #251745;
    --mpc-emerald-bg:    #FFFDF8;
    --mpc-charcoal:      #1B1330;
    --mpc-charcoal-deep: #14101F;
    --mpc-charcoal-ink:  #1B1330;
    --mpc-gold:          #E8A33D;
    --mpc-font:    "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --mpc-display: "Clash Display", "Hanken Grotesk", -apple-system, "Segoe UI", Roboto, sans-serif;
    --mpc-radius-card: 20px;
    --mpc-shadow-card: 0 26px 60px rgba(27,19,48,.14);
    --mpc-shadow-btn:  0 12px 28px rgba(118,97,187,.28);
}
@font-face { font-family: "Clash Display"; font-weight: 400; font-display: swap; src: url("fonts/ClashDisplay-Regular.woff2") format("woff2"); }
@font-face { font-family: "Clash Display"; font-weight: 500; font-display: swap; src: url("fonts/ClashDisplay-Medium.woff2") format("woff2"); }
@font-face { font-family: "Clash Display"; font-weight: 600; font-display: swap; src: url("fonts/ClashDisplay-Semibold.woff2") format("woff2"); }
@font-face { font-family: "Clash Display"; font-weight: 700; font-display: swap; src: url("fonts/ClashDisplay-Bold.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-weight: 400; font-display: swap; src: url("fonts/HankenGrotesk-Regular.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-weight: 500; font-display: swap; src: url("fonts/HankenGrotesk-Medium.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-weight: 700; font-display: swap; src: url("fonts/HankenGrotesk-Bold.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-weight: 800; font-display: swap; src: url("fonts/HankenGrotesk-ExtraBold.woff2") format("woff2"); }

/* ---- base ---- */
body, .wp-site-blocks, .mpc-custom-header, .mpc-foot, button, input, select, textarea { font-family: var(--mpc-font); }
body { color: var(--mpc-ink); background: var(--mpc-cream); -webkit-font-smoothing: antialiased; }
h1, h2, h3, .mpc-display { font-family: var(--mpc-display); font-weight: 600; letter-spacing: -.01em; line-height: 1.08; }
[class^="mpc-"], [class*=" mpc-"] { box-sizing: border-box; }
.mpc-wrap { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.mpc-wrap-narrow { max-width: 820px; margin: 0 auto; padding: 0 20px; }

/* ---- compliance band (printed at wp_body_open, every page) ---- */
.mpc-band { background: var(--mpc-plum-deep); color: var(--mpc-cream); font-size: 13px; line-height: 1.45; text-align: center; padding: 10px 16px; border-bottom: 2px solid var(--mpc-plum); }
.mpc-band p { max-width: 1000px; margin: 0 auto; }
@media (max-width: 600px) { .mpc-band { font-size: 11.5px; } }

/* ---- header ---- */
.mpc-custom-header { background: transparent; position: relative; z-index: 20; }
.mpc-header-inner { max-width: 1140px; margin: 0 auto; padding: 14px 20px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; }
.mpc-brand { text-decoration: none; }
.mpc-brand-text { font-family: var(--mpc-display); font-weight: 700; font-size: 22px; color: var(--mpc-ink); letter-spacing: -.02em; }
.mpc-brand-text b { color: var(--mpc-plum); font-weight: 700; }
.mpc-nav-desktop { display: none; }
.mpc-burger { display: inline-flex; background: none; border: 0; color: var(--mpc-ink); padding: 6px; cursor: pointer; }
.mpc-claim, .mpc-cta-pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--mpc-plum); color: #fff; font-family: var(--mpc-font); font-weight: 800; font-size: 13px; letter-spacing: .09em; text-transform: uppercase; text-decoration: none; border: 0; border-radius: 999px; padding: 13px 22px; box-shadow: var(--mpc-shadow-btn); transition: transform .15s, background .15s; cursor: pointer; }
.mpc-claim:hover, .mpc-cta-pill:hover { background: var(--mpc-purple2); transform: translateY(-1px); color: #fff; }
.mpc-btn-lime { background: var(--mpc-lime); color: var(--mpc-ink); border-radius: 14px; box-shadow: none; text-transform: none; letter-spacing: 0; font-size: 15px; }
@media (min-width: 768px) {
  .mpc-burger { display: none; }
  .mpc-nav-desktop { display: flex; gap: 22px; justify-self: center; }
  .mpc-nav-desktop a { color: var(--mpc-muted); text-decoration: none; font-weight: 500; font-size: 15px; }
}

/* ---- hero: cream, two radial glows, grain, 2 columns ---- */
.mpc-hero { position: relative; overflow: hidden; background: var(--mpc-cream); padding: 28px 0 56px; }
.mpc-hero::before, .mpc-hero::after { content: ""; position: absolute; border-radius: 50%; filter: blur(48px); pointer-events: none; }
.mpc-hero::before { width: 560px; height: 560px; right: -160px; top: -200px; background: rgba(154,133,227,.5); }
.mpc-hero::after  { width: 420px; height: 420px; left: -140px; bottom: -200px; background: rgba(214,255,140,.45); }
.mpc-hero-grain { position: absolute; inset: 0; pointer-events: none; opacity: .08; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='160' height='160' filter='url(%23n)' opacity='.6'/></svg>"); }
.mpc-hero-inner { position: relative; z-index: 1; max-width: 1140px; margin: 0 auto; padding: 0 20px; display: grid; grid-template-columns: 1fr; gap: 28px; }
.mpc-eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--mpc-plum); font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.mpc-eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--mpc-plum); }
.mpc-hero-title { font-size: 38px; margin: 12px 0 8px; }
.mpc-hero-title em { font-style: normal; color: var(--mpc-plum); }
.mpc-bignum { font-family: var(--mpc-display); font-weight: 700; font-size: 72px; line-height: .95; letter-spacing: -.03em; color: var(--mpc-ink); }
.mpc-bignum .pound { color: var(--mpc-plum); font-size: .55em; vertical-align: top; margin-right: 2px; }
.mpc-bignum sup { font-size: 14px; color: var(--mpc-muted); margin-left: 4px; }
.mpc-bignum-sub { color: var(--mpc-plum); font-weight: 600; font-size: 16px; margin: 4px 0 14px; }
.mpc-hero-lede { color: var(--mpc-muted); font-size: 15px; line-height: 1.6; max-width: 46ch; margin: 0 0 18px; }
.mpc-hero-footnote { color: var(--mpc-muted-soft); font-size: 11px; line-height: 1.5; margin-top: 16px; max-width: 60ch; }
.mpc-qcard, .mpc-form-card { position: relative; background: var(--mpc-surface); border: 1px solid var(--mpc-line); border-radius: var(--mpc-radius-card); box-shadow: var(--mpc-shadow-card); padding: 22px 20px; }
.mpc-qcard-progress { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--mpc-muted); }
.mpc-qcard-progress .bar { flex: 1; height: 6px; background: var(--mpc-cream-deep); border-radius: 999px; overflow: hidden; }
.mpc-qcard-progress .bar > i { display: block; height: 100%; width: 33%; background: var(--mpc-plum); border-radius: 999px; }
.mpc-qcard h2 { font-size: 20px; margin: 0 0 14px; }
.mpc-qcard-foot { display: flex; gap: 8px; align-items: flex-start; color: var(--mpc-muted-soft); font-size: 11.5px; line-height: 1.45; margin-top: 12px; }
@media (min-width: 900px) {
  .mpc-hero { padding: 40px 0 72px; }
  .mpc-hero-inner { grid-template-columns: 1.08fr .92fr; gap: 48px; align-items: start; }
  .mpc-hero-title { font-size: 46px; }
  .mpc-bignum { font-size: 96px; }
}

/* ---- dark trust strip ---- */
.mpc-strip { background: var(--mpc-plum-deep); color: var(--mpc-cream); }
.mpc-strip-inner { max-width: 1140px; margin: 0 auto; padding: 14px 20px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; font-size: 13px; font-weight: 700; }
.mpc-strip-inner span { display: inline-flex; align-items: center; gap: 8px; }
.mpc-strip-inner svg { width: 16px; height: 16px; color: var(--mpc-lime); }
.mpc-strip-inner b { color: var(--mpc-lime); font-weight: 800; }

/* ---- generic sections ---- */
.mpc-sec { padding: 56px 0; }
.mpc-sec-alt { background: var(--mpc-plum-tint); }
.mpc-sec-eyebrow { text-align: center; color: var(--mpc-plum); font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 8px; }
.mpc-sec-title { text-align: center; font-size: 28px; margin: 0 0 28px; }
.mpc-sec-title.left { text-align: left; }
.mpc-tickcards { display: grid; gap: 14px; }
.mpc-tickcard { display: flex; gap: 14px; background: var(--mpc-surface); border: 1px solid var(--mpc-line); border-radius: 16px; padding: 18px; }
.mpc-tickcard .tick { flex: 0 0 36px; width: 36px; height: 36px; border-radius: 10px; background: var(--mpc-lime); display: grid; place-items: center; color: var(--mpc-ink); }
.mpc-tickcard h3 { font-size: 17px; margin: 0 0 4px; }
.mpc-tickcard p { margin: 0; color: var(--mpc-muted); font-size: 14px; line-height: 1.5; }
.mpc-twocol { display: grid; gap: 28px; align-items: center; }
@media (min-width: 860px) { .mpc-twocol { grid-template-columns: 1fr 1.25fr; gap: 56px; } }
.mpc-steps { display: grid; gap: 16px; }
.mpc-step { background: var(--mpc-surface); border: 1px solid var(--mpc-line); border-radius: 16px; padding: 22px; }
.mpc-step-pill { display: inline-block; background: var(--mpc-plum); color: #fff; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; margin-bottom: 12px; }
.mpc-step h3 { font-size: 18px; margin: 0 0 6px; }
.mpc-step p { color: var(--mpc-muted); margin: 0; font-size: 14px; line-height: 1.55; }
@media (min-width: 768px) { .mpc-steps, .mpc-tickcards.three { grid-template-columns: repeat(3, 1fr); } }
.mpc-faq details { background: var(--mpc-surface); border: 1px solid var(--mpc-line); border-radius: 14px; padding: 14px 18px; margin-bottom: 10px; }
.mpc-faq summary { cursor: pointer; font-family: var(--mpc-display); font-weight: 600; font-size: 16px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.mpc-faq summary::after { content: "+"; color: var(--mpc-plum); font-size: 20px; line-height: 1; }
.mpc-faq details[open] summary::after { content: "–"; }
.mpc-faq p { color: var(--mpc-muted); font-size: 14px; line-height: 1.6; margin: 10px 0 0; }
.mpc-ctaband { background: linear-gradient(135deg, var(--mpc-plum-deep), var(--mpc-plum)); color: #fff; border-radius: 24px; padding: 36px 24px; text-align: center; }
.mpc-ctaband h2 { color: #fff; font-size: 26px; margin: 0 0 8px; }
.mpc-ctaband p { color: rgba(255,255,255,.8); margin: 0 0 18px; }

/* ---- footer: compact, dark ---- */
.mpc-foot { background: var(--mpc-plum-deep); color: rgba(244,236,221,.85); padding: 40px 0 24px; font-size: 13px; }
.mpc-foot a { color: var(--mpc-cream); text-decoration: none; }
.mpc-foot a:hover { color: var(--mpc-lime); }
.mpc-foot-inner { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.mpc-foot-top { display: grid; gap: 24px; margin-bottom: 24px; }
.mpc-foot .mpc-brand-text { color: #fff; }
.mpc-foot-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.mpc-foot-col h4 { color: #fff; font-size: 13px; margin: 0 0 8px; font-family: var(--mpc-font); font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.mpc-foot-col a { display: block; margin: 0 0 6px; }
.mpc-foot-legal p { font-size: 12px; line-height: 1.55; color: rgba(244,236,221,.7); margin: 0 0 8px; }
.mpc-foot-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 14px; display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: space-between; font-size: 12px; }
.mpc-foot-bottom-links a { margin-right: 12px; }
@media (min-width: 768px) { .mpc-foot-top { grid-template-columns: 1.2fr 2fr; } .mpc-foot-cols { grid-template-columns: repeat(3, 1fr); } }

/* ============================================================================
   CARRIED OVER from the previous skin (v16). Layout + machinery only, retinted
   through the tokens above. Deleted from v16: ticker/marquee, news strip,
   statband, benefits carousel, explainer/timeline, Your-Rights, press logos,
   NWNF pill, the old header/hero/footer colour rules (replaced above).
   ========================================================================== */

/* ---- theme hiding + accessibility ---- */
.mpc-shell, section { -webkit-font-smoothing: antialiased; }

/* interior pages render the theme's wp-block-post-title (off-brand) H1 AND
   our .mpc-legal H1 → hide the theme one; home + thank-you don't use it. */
.wp-block-post-title { display: none !important; }

/* hide the block/Astra theme's own header + footer — our chrome is the only one */
.ast-header-sticked, #ast-desktop-header, .site-header, header.site-header,
.ast-above-header, .ast-below-header, .main-header-bar,
.site-footer, .ast-footer-overlay, footer.site-footer, #colophon,
body.has-mpc-chrome .wp-site-blocks > header,
body.has-mpc-chrome .wp-site-blocks > footer { display: none !important; }
.site-content, #content, .ast-separate-container .ast-article-single {
    padding-top: 0 !important; margin-top: 0 !important;
}
.ast-separate-container .ast-article-single { padding: 0 !important; background: transparent !important; }
.entry-content { margin-top: 0 !important; }

/* focus-visible: consistent accessible ring across chrome + form */
a:focus-visible, button:focus-visible, summary:focus-visible,
.mpc-claim:focus-visible, .mpc-cta-pill:focus-visible, .mpc-cta:focus-visible, .mpc-cta-outline:focus-visible {
    outline: 3px solid rgba(118, 97, 187, 0.45);
    outline-offset: 2px;
}

/* ---- header internals (the chrome markup keeps .mpc-header-actions) ---- */
/* Last grid track on both grids: col 3 on phones (auto 1fr auto), col 4 on desktop. */
.mpc-header-actions { grid-column: -2 / -1; justify-self: end; display: inline-flex; align-items: center; gap: 10px; }
/* Theme link colours must never win over the pill text (v16 needed the same !important). */
.mpc-claim:not(.mpc-btn-lime), .mpc-cta-pill:not(.mpc-btn-lime) { color: #fff !important; }
/* Reference layout at 390px: brand + burger only; the hero pill and the drawer carry the CTA. */
@media (max-width: 767px) { .mpc-header-inner .mpc-claim { display: none; } }

/* ---- mobile slide-in drawer ---- */
.mpc-drawer-backdrop {
    position: fixed; inset: 0; background: rgba(15,15,15,0.45);
    opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s ease;
    z-index: 300;
}
.mpc-drawer {
    position: fixed; top: 0; left: 0; height: 100%; width: min(82vw, 320px);
    background: var(--mpc-white); z-index: 310;
    transform: translateX(-100%); visibility: hidden;
    transition: transform .24s ease, visibility .24s ease;
    box-shadow: 4px 0 30px rgba(15,15,15,0.14);
    display: flex; flex-direction: column; padding: 18px 18px 28px;
    overflow-x: hidden; overflow-y: auto;
}
body.mpc-drawer-open .mpc-drawer { transform: translateX(0); visibility: visible; }
body.mpc-drawer-open .mpc-drawer-backdrop { opacity: 1; visibility: visible; }
body.mpc-drawer-open { overflow: hidden; }
.mpc-drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.mpc-drawer-close {
    width: 40px; height: 40px; border: 0; background: transparent; border-radius: 8px;
    color: var(--mpc-plum); font-size: 26px; line-height: 1; cursor: pointer;
}
.mpc-drawer-close:hover { background: var(--mpc-plum-tint); }
.mpc-drawer nav { display: flex; flex-direction: column; }
.mpc-drawer nav a {
    color: var(--mpc-ink); text-decoration: none;
    font-size: 17px; font-weight: 600; padding: 14px 8px;
    border-bottom: 1px solid var(--mpc-line);
}
.mpc-drawer nav a:hover { color: var(--mpc-plum); }
.mpc-drawer .mpc-claim { margin-top: 18px; width: 100%; padding: 14px; font-size: 16px; }

/* ---- card internals: homepage .mpc-qcard and /mo .mpc-form-card get the same treatment ---- */
.mpc-hero-copy, .mpc-qcard, .mpc-form-card { min-width: 0; }
.mpc-qcard, .mpc-form-card { scroll-margin-top: 24px; }
.mpc-qcard .gform_wrapper, .mpc-form-card .gform_wrapper { margin: 0; }
.mpc-qcard .gform_heading, .mpc-form-card .gform_heading { margin-bottom: 12px; }
.mpc-qcard .gform_page_title, .mpc-qcard .gform_title,
.mpc-form-card .gform_page_title, .mpc-form-card .gform_title { margin: 0 0 4px 0; font-size: 15px; font-weight: 700; color: var(--mpc-ink); }
.mpc-form-card-cta {
    text-align: center; font-size: 13px; color: var(--mpc-muted);
    margin: 0 0 14px 0; font-weight: 600;
}
@media (min-width: 900px) { .mpc-qcard, .mpc-form-card { padding: 28px 26px 24px; } }

/* ---- small accents the mandatory blocks assume ---- */
.mpc-faq summary::-webkit-details-marker { display: none; }
.mpc-hero-reassure {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    color: var(--mpc-muted); font-size: 14px; margin: 14px 0 0 0; text-align: center;
}
.mpc-hero-points { list-style: none; margin: 0 0 22px 0; padding: 0; display: grid; gap: 12px; }
.mpc-hero-points li {
    display: flex; align-items: center; gap: 12px;
    font-size: 16px; color: var(--mpc-ink); line-height: 1.35;
}
.mpc-hero-points li b { font-weight: 800; }
.mpc-check {
    flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%;
    background: var(--mpc-plum); color: var(--mpc-white);
    display: inline-flex; align-items: center; justify-content: center;
}

/* ---- footer internals ---- */
.mpc-foot-brand p { margin: 12px 0 0; max-width: 520px; line-height: 1.6; }
.mpc-foot-legal { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 18px; margin-bottom: 18px; }
.mpc-foot-legal a { color: #FFFFFF; text-decoration: underline; }

/* ---- generic utilities (interior / thank-you content may still use them) ---- */
.mpc-h2 { font-size: 29px; line-height: 1.12; font-weight: 800; letter-spacing: -0.025em; color: var(--mpc-ink); margin: 0 0 10px 0; }
.mpc-sub { font-size: 15px; color: var(--mpc-muted); margin: 0 0 26px 0; line-height: 1.55; }
.mpc-cta {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    width: 100%; background: var(--mpc-plum); color: var(--mpc-white) !important;
    text-decoration: none; font-size: 16px; font-weight: 700;
    padding: 16px 22px; border-radius: 8px; border: 0; cursor: pointer;
    transition: background 0.15s ease; letter-spacing: -0.01em;
}
.mpc-cta:hover { background: var(--mpc-plum-deep); color: var(--mpc-white) !important; }
.mpc-cta-outline {
    display: inline-flex; align-items: center; justify-content: center;
    width: 100%; background: transparent; color: var(--mpc-ink) !important;
    text-decoration: none; font-size: 15px; font-weight: 700;
    padding: 14px 22px; border-radius: 8px; border: 1.5px solid var(--mpc-ink);
    transition: background 0.15s ease;
}
.mpc-cta-outline:hover { background: rgba(15,15,15,0.05); }
.mpc-card {
    background: var(--mpc-white); border: 1px solid var(--mpc-line);
    border-radius: 16px; padding: 24px 20px; margin-bottom: 20px;
}
.mpc-card h2 { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; color: var(--mpc-ink); margin: 0 0 12px 0; }
.mpc-card h3 { font-size: 17px; font-weight: 800; color: var(--mpc-ink); margin: 18px 0 8px 0; }
.mpc-card p { font-size: 15px; color: #2A2E36; line-height: 1.62; margin: 0 0 14px 0; }
.mpc-card p:last-child { margin-bottom: 0; }
.mpc-tag {
    display: inline-block; border: 1px solid var(--mpc-line-cool); border-radius: 5px;
    padding: 1px 7px; font-size: 0.92em; white-space: nowrap;
}
@media (min-width: 768px) {
    .mpc-h2 { font-size: 38px; }
    .mpc-sub { font-size: 16px; margin-bottom: 34px; }
    .mpc-cta, .mpc-cta-outline { width: auto; min-width: 320px; }
    .mpc-center { text-align: center; }
    .mpc-center .mpc-cta, .mpc-center .mpc-cta-outline { margin: 0 auto; }
    .mpc-card { padding: 32px 30px; }
    .mpc-card h2 { font-size: 27px; }
}

/* ============================================================================
   GRAVITY FORMS — form #1 machinery (carried over unchanged; plum rgba → purple)
   ========================================================================== */
/* Primary button + GF submit + GF next */
.wp-block-button__link,
.gform_button, .gform_next_button, .gform-theme-button,
#gform_wrapper_1 .gform_button, #gform_wrapper_1 .gform_next_button,
#gform_wrapper_1 input[type="submit"], .mpc-cta-primary {
    background: var(--mpc-plum) !important; color: var(--mpc-white) !important;
    border: 0 !important; border-radius: 8px !important; padding: 12px 24px !important;
    font-weight: 700 !important; letter-spacing: 0.01em !important;
    transition: background 0.15s ease !important;
}
.wp-block-button__link:hover, .gform_button:hover, .gform_next_button:hover,
.gform-theme-button:hover, #gform_wrapper_1 .gform_button:hover,
#gform_wrapper_1 .gform_next_button:hover, #gform_wrapper_1 input[type="submit"]:hover,
.mpc-cta-primary:hover { background: var(--mpc-plum-deep) !important; }
.gform_previous_button, #gform_wrapper_1 .gform_previous_button {
    background: transparent !important; color: var(--mpc-plum) !important;
    border: 1px solid var(--mpc-plum) !important;
}
.gform_previous_button:hover, #gform_wrapper_1 .gform_previous_button:hover {
    background: var(--mpc-plum-tint) !important; color: var(--mpc-plum-deep) !important;
}

/* Progress bar */
#gform_wrapper_1 .gf_progressbar_wrapper { margin: 0 0 18px 0; }
#gform_wrapper_1 .gf_progressbar_title, #gform_wrapper_1 .gf_progressbar_wrapper h3 {
    font-size: 13px !important; font-weight: 700 !important; color: var(--mpc-ink) !important;
    margin: 0 0 6px 0 !important; letter-spacing: -0.01em;
}
#gform_wrapper_1 .gf_progressbar {
    height: 6px !important; background: var(--mpc-line-cool) !important;
    border-radius: 99px !important; overflow: hidden !important;
}
#gform_wrapper_1 .gf_progressbar_percentage {
    background: linear-gradient(90deg, var(--mpc-plum) 0%, var(--mpc-emerald-bright) 100%) !important;
    border-radius: 99px !important; height: 6px !important;
}
.gf_progressbar_percentage { background: var(--mpc-plum) !important; color: var(--mpc-white) !important; }
.gf_progressbar { background: var(--mpc-line-cool) !important; border-radius: 4px !important; overflow: hidden; }

/* Field labels */
#gform_wrapper_1 .gfield_label {
    font-size: 13px !important; font-weight: 700 !important; color: var(--mpc-ink) !important;
    letter-spacing: -0.005em; margin-bottom: 6px !important;
}
#gform_wrapper_1 .gfield_required { color: #DC2626 !important; font-weight: 700; font-size: 11px; }

/* Text-like inputs */
#gform_wrapper_1 input[type="text"], #gform_wrapper_1 input[type="email"],
#gform_wrapper_1 input[type="tel"], #gform_wrapper_1 input[type="number"],
#gform_wrapper_1 select {
    width: 100%; padding: 12px 14px !important; border: 1px solid var(--mpc-line-cool) !important;
    min-height: 46px !important; box-sizing: border-box !important;
    border-radius: 8px !important; background: var(--mpc-white) !important;
    font-size: 15px !important; color: var(--mpc-ink) !important;
    transition: border-color 0.15s ease, box-shadow 0.15s ease !important;
    box-shadow: inset 0 1px 2px rgba(15,15,15,0.04) !important;
}
#gform_wrapper_1 input[type="text"]:focus, #gform_wrapper_1 input[type="email"]:focus,
#gform_wrapper_1 input[type="tel"]:focus, #gform_wrapper_1 input[type="number"]:focus,
#gform_wrapper_1 select:focus {
    outline: 0 !important; border-color: var(--mpc-plum) !important;
    box-shadow: 0 0 0 3px rgba(118, 97, 187, 0.20) !important;
}
#gform_wrapper_1 input::placeholder { color: #9CA3AF !important; }

/* DOB subfields — 3-across on the narrow form card */
#gform_wrapper_1 .gfield--type-date .gform-grid-row { display: flex !important; flex-wrap: nowrap !important; gap: 8px !important; }
#gform_wrapper_1 .gfield--type-date .gform-grid-col { flex: 1 1 0 !important; min-width: 0 !important; width: auto !important; }
#gform_wrapper_1 .gfield--type-date input[type="number"] { min-width: 0 !important; width: 100% !important; }
.gform-theme--foundation #gform_wrapper_1 .gfield--type-date .gform-grid-row { flex-wrap: nowrap !important; }

/* Radio: equal-width cards (Title) */
#gform_wrapper_1 .gfield--type-radio .gchoice { margin: 0 !important; flex: 1 1 0 !important; min-width: 0 !important; display: flex !important; }
#gform_wrapper_1 .gfield--type-radio .gchoice input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; }
#gform_wrapper_1 .gfield--type-radio .gchoice label {
    display: flex; align-items: center; justify-content: center; width: 100%; height: 64px;
    border: 1px solid var(--mpc-plum); border-radius: 14px; font-size: 17px; font-weight: 700;
    color: var(--mpc-plum); cursor: pointer; background: var(--mpc-white);
    transition: all 0.15s ease; user-select: none; white-space: nowrap; line-height: 1;
}
#gform_wrapper_1 .gfield--type-radio .gchoice label:hover { background: var(--mpc-plum-tint); color: var(--mpc-plum-deep); }
#gform_wrapper_1 .gfield--type-radio .gchoice input[type="radio"]:checked + label {
    background: var(--mpc-plum); color: var(--mpc-white); box-shadow: 0 2px 6px rgba(118,97,187,0.30);
}
#gform_wrapper_1 .gfield--type-radio .ginput_container_radio,
#gform_wrapper_1 .gfield--type-radio .gfield_radio {
    display: flex !important; flex-direction: row !important; flex-wrap: nowrap !important; width: 100% !important; gap: 10px !important;
}

/* Checkbox (consent page) */
#gform_wrapper_1 .gfield--type-checkbox .gchoice {
    display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px;
    border: 1px solid var(--mpc-line-cool); border-radius: 8px; background: var(--mpc-white);
    margin-bottom: 10px; transition: all 0.15s ease;
}
#gform_wrapper_1 .gfield--type-checkbox .gchoice:hover { border-color: var(--mpc-plum); background: var(--mpc-plum-tint); }
#gform_wrapper_1 .gfield--type-checkbox input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--mpc-plum); margin-top: 1px; cursor: pointer; flex-shrink: 0; }
#gform_wrapper_1 .gfield--type-checkbox .gchoice label { font-size: 13px; line-height: 1.5; color: #374151; cursor: pointer; flex: 1; }

/* Field spacing */
#gform_wrapper_1 .gform-field-label, #gform_wrapper_1 .gfield { margin-bottom: 14px !important; }
#gform_wrapper_1 .gform_fields { gap: 0 !important; }
#gform_wrapper_1 .gfield_description { font-size: 12px !important; color: var(--mpc-muted) !important; margin-top: 6px !important; }

/* Footer buttons */
#gform_wrapper_1 .gform_page_footer, #gform_wrapper_1 .gform-page-footer, #gform_wrapper_1 .gform_footer {
    margin-top: 20px !important; padding-top: 18px !important; border-top: 1px solid var(--mpc-line-cool);
    display: flex; gap: 12px; align-items: center;
}
#gform_wrapper_1 .gform_next_button, #gform_wrapper_1 .gform_button { font-size: 15px !important; padding: 13px 26px !important; width: auto; min-height: 44px; }
.gform_page_footer .gform_next_button.addr-locked { opacity: 0.4 !important; pointer-events: none !important; cursor: not-allowed !important; }

/* ============================================================================
   LOADING OVERLAY
   ========================================================================== */
.mpc-loading-overlay {
    position: fixed; inset: 0; background: rgba(15,15,15,0.7); z-index: 9999;
    display: flex; align-items: center; justify-content: center; opacity: 0;
    pointer-events: none; transition: opacity 0.2s ease;
}
.mpc-loading-overlay.active { opacity: 1; pointer-events: auto; }
.mpc-loading-spinner {
    width: 56px; height: 56px; border: 4px solid var(--mpc-emerald-bright);
    border-top-color: transparent; border-radius: 50%; animation: mpc-spin 0.8s linear infinite;
}
@keyframes mpc-spin { to { transform: rotate(360deg); } }

/* ============================================================================
   LEGAL / ABOUT / CONTACTS body copy (carried over)
   ========================================================================== */
.mpc-legal { max-width: 820px; margin: 0 auto; padding: 44px 16px 60px; color: #374151; font-size: 15px; line-height: 1.75; }
.mpc-legal h1 { font-size: 30px; color: var(--mpc-ink); letter-spacing: -0.5px; margin: 0 0 6px; font-weight: 800; }
.mpc-legal .mpc-legal-sub { color: var(--mpc-muted); font-size: 14px; margin: 0 0 28px; }
.mpc-legal h2 { font-size: 20px; color: var(--mpc-ink); margin: 30px 0 8px; font-weight: 800; }
.mpc-legal h3 { font-size: 16px; color: var(--mpc-ink); margin: 22px 0 6px; }
.mpc-legal p, .mpc-legal li { margin: 0 0 12px; }
.mpc-legal ul, .mpc-legal ol { padding-left: 22px; margin: 0 0 14px; }
.mpc-legal a { color: var(--mpc-plum); }
.mpc-legal-callout { background: var(--mpc-plum-tint); border: 1px solid var(--mpc-line); border-radius: 12px; padding: 18px 20px; margin: 0 0 24px; }
@media (min-width: 768px) { .mpc-legal { padding: 56px 24px 72px; } .mpc-legal h1 { font-size: 34px; } }

/* ============================================================================
   SMALL-PHONE polish (<=380px)
   ========================================================================== */
@media (max-width: 380px) {
    .mpc-hero-title { font-size: 32px; }
    .mpc-bignum { font-size: 60px; }
    .mpc-brand-text { font-size: 19px; }
    .mpc-h2 { font-size: 25px; }
    .mpc-qcard, .mpc-form-card { padding: 18px 14px 14px; }
    #gform_wrapper_1 .gfield--type-radio .gchoice label { height: 50px; font-size: 15px; }
}

/* mobile form touch-sizing (kept from v11) */
@media (max-width: 768px) {
    #gform_wrapper_1 input[type="text"], #gform_wrapper_1 input[type="email"],
    #gform_wrapper_1 input[type="tel"], #gform_wrapper_1 input[type="number"],
    #gform_wrapper_1 select { padding: 13px 14px !important; font-size: 16px !important; }
    #gform_wrapper_1 .gfield--type-radio .gchoice label { height: 52px; font-size: 15px; border-radius: 10px; }
    #gform_wrapper_1 .gfield--type-date .gform-grid-row { gap: 6px !important; }
    #gform_wrapper_1 .gform_next_button, #gform_wrapper_1 .gform_previous_button, #gform_wrapper_1 .gform_button {
        width: 100% !important; font-size: 16px !important; padding: 15px 20px !important; min-height: 50px; justify-content: center;
    }
    #gform_wrapper_1 .gform_page_footer .gform_previous_button { flex: 1; }
    #gform_wrapper_1 .gform_page_footer .gform_next_button { flex: 2; }
    #gform_wrapper_1 .gfield--type-text input[name="input_7"] { font-size: 16px !important; }
}

/* ============================================================================
   2026-07-09 FIX — "Additional support" vulnerability check (field 31)
   The radio styling above is built for the Title field (short pills, nowrap,
   equal-width row). Field 31 has long sentence labels, so those pills overflowed
   and overlapped. Scope ONLY field 31 to full-width stacked, wrapping buttons.
   Title (field 26) keeps its pill row untouched.
   ========================================================================== */
/* 2026-10-27: the reason question (field 50, three sentence answers) overflowed the same way at 390px
   (Lead Ads pack PCK-LA-01 item 8) — stacked with the same rules. */
#gform_wrapper_1 #field_1_31 .ginput_container_radio,
#gform_wrapper_1 #field_1_31 .gfield_radio,
#gform_wrapper_1 #field_1_50 .ginput_container_radio,
#gform_wrapper_1 #field_1_50 .gfield_radio {
    flex-direction: column !important; flex-wrap: wrap !important; gap: 10px !important;
}
#gform_wrapper_1 #field_1_31 .gchoice,
#gform_wrapper_1 #field_1_50 .gchoice { flex: 1 1 auto !important; width: 100% !important; }
#gform_wrapper_1 #field_1_31 .gchoice label,
#gform_wrapper_1 #field_1_50 .gchoice label {
    height: auto !important; min-height: 54px; white-space: normal !important; line-height: 1.35 !important;
    justify-content: flex-start !important; text-align: left !important;
    padding: 13px 16px !important; font-size: 15px !important;
}

/* 2026-07-09 lean form: hide de-required extra fields (vuln 31, eligibility 24, consent 25) on both forms — reversible */
#gform_wrapper_1 .mpc-off, #gform_wrapper_2 .mpc-off{display:none !important;}


/* ---- Gravity Forms inside the card: retint, no reshaping ---- */
#gform_wrapper_1, #gform_wrapper_2 { font-family: var(--mpc-font); }
#gform_wrapper_1 input[type=text], #gform_wrapper_1 input[type=email], #gform_wrapper_1 input[type=tel], #gform_wrapper_1 input[type=number], #gform_wrapper_1 select,
#gform_wrapper_2 input[type=text], #gform_wrapper_2 input[type=email], #gform_wrapper_2 input[type=tel], #gform_wrapper_2 input[type=number], #gform_wrapper_2 select { background: #fff; border: 1.5px solid var(--mpc-line-cool); border-radius: 12px; min-height: 48px; font-size: 16px; color: var(--mpc-ink); }
#gform_wrapper_1 input:focus, #gform_wrapper_2 input:focus { border-color: var(--mpc-plum); outline: 0; box-shadow: 0 0 0 3px rgba(118,97,187,.18); }
#gform_wrapper_1 .gform_button, #gform_wrapper_2 .gform_button, #gform_wrapper_1 .gform_next_button { background: var(--mpc-plum) !important; color: #fff !important; border: 0 !important; border-radius: 999px !important; font-weight: 800 !important; letter-spacing: .08em; text-transform: uppercase; font-size: 13px !important; padding: 14px 24px !important; width: 100%; box-shadow: var(--mpc-shadow-btn); }
#gform_wrapper_1 .gf_progressbar { background: var(--mpc-cream-deep); border-radius: 999px; height: 6px; }
#gform_wrapper_1 .gf_progressbar_percentage { background: var(--mpc-plum); border-radius: 999px; height: 6px; font-size: 0; }
#gform_wrapper_1 .gf_progressbar_title { font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--mpc-muted); }
.mpc-sig-padbox { border: 2px dashed var(--mpc-line-cool); border-radius: 14px; background: #fff; }

/* Previous button: match the pill language of the Next/Submit buttons above (shape only). */
.gform_previous_button, #gform_wrapper_1 .gform_previous_button, #gform_wrapper_2 .gform_previous_button {
    border-radius: 999px !important; padding: 12px 20px !important; font-weight: 700 !important;
}
