/* Costco Large Group LANDING (/LargeGroup/), remake (T1, marketing-landing class).
   Reuses the BLESSED Large Group design system 1:1 (tokens + components: buttons, fields, card,
   radius, shadow, Costco Sans Micro, verified palette), EXTENDED with a real marketing-page layout:
   header w/ logo+nav, full-width hero w/ dark scrim, 3-up value grid, inlined RequestDemo card, footer.
   Real Costco palette (verified vs live theme.css) + Costco Sans Micro (self-hosted from the clone).
   Mobile-first, WCAG 2.2 AA defaults. No third-party, no pixels (SECURE-MULTISTEP-LEAD-FORM). */


:root{
  --blue:#005DAB; --blue-dark:#004a8a;        /* Costco primary (Continue) */
  --red:#E31936; --red-dark:#c2142e;          /* .greenButton CTA + accent */
  --focus:#DE2127;                            /* input focus ring (theme.css:1701) */
  --ink:#1f2733; --body:#444; --muted:#6a717b;
  --line:#d9dee4; --soft:#f4f7fa; --bg:#fff;
  --font:"Costco Sans Micro",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  --maxw:660px;            /* form card width (matches the blessed exemplar) */
  --pagew:1120px;          /* marketing content max width */
  --radius:14px;
}


.wrap{width:100%;max-width:var(--pagew);margin:0 auto;padding:0 20px}
@media(max-width:480px){ .wrap{padding:0 16px} }


/* ===================== BUTTONS (from the blessed system) ===================== */
.btn{font-family:inherit;font-weight:700;font-size:1.02rem;border:0;border-radius:10px;padding:14px 24px;
  cursor:pointer;min-height:50px;display:inline-flex;align-items:center;gap:9px;justify-content:center;
  text-decoration:none}
.btn--send{background:var(--red);color:#fff} .btn--send:hover{background:var(--red-dark)}
.btn--primary{background:var(--blue);color:#fff} .btn--primary:hover{background:var(--blue-dark)}
/* Secondary/ghost CTA (FIX 2): blue outline on white, slightly smaller, so the red hero CTA
   is the single unambiguous primary action. */
.btn--ghost{background:#fff;color:var(--blue);border:1.5px solid var(--blue);
  font-weight:600;font-size:.96rem;padding:11px 20px;min-height:46px}
.btn--ghost:hover{background:var(--soft);border-color:var(--blue-dark);color:var(--blue-dark)}
.btn:focus-visible{outline:3px solid #fff;outline-offset:3px}
.btn--back{background:none;color:var(--muted);font-weight:600;padding:14px 6px;min-height:50px}
.btn--back:hover{color:var(--ink)}
.btn--back:focus-visible{outline:3px solid var(--focus)}
/* secondary CTA row on white sections gets a normal focus ring */
.linkrow .btn:focus-visible{outline:3px solid var(--focus);outline-offset:2px}

/* ===================== VALUE SECTION (3-up) ===================== */
.values{padding:56px 0 8px;background:var(--bg)}
.values h2.section-title{font-weight:800;color:var(--ink);font-size:clamp(1.5rem,4.5vw,2rem);
  line-height:1.12;text-align:center;margin:0 0 .5em}
.values__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-top:32px}
/* FIX 3: more breathing room between cards when they stack on phone (18px -> 28px). */
@media(max-width:760px){ .values__grid{grid-template-columns:1fr;gap:28px} }
/* FIX 3: red top-rule dropped (red reserved for the form card + the primary CTA); blue headings kept. */
.prop{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:26px 24px;
  box-shadow:0 6px 28px rgba(15,30,50,.06),0 1px 2px rgba(15,30,50,.05)}
/* H3 >= largest body (hero lede computes to 20.8px); 1.35rem = 21.6px keeps heading > body. */
.prop h3{font-weight:700;color:var(--blue);font-size:1.35rem;line-height:1.2;margin:0 0 .5em}
.prop p{margin:0;color:var(--body);font-size:1rem}

/* secondary CTA row under the value props */
.linkrow{display:flex;flex-wrap:wrap;gap:12px;justify-content:center;padding:40px 0 8px}

/* ===================== FORM SECTION (inlined RequestDemo card) ===================== */
.form-section *{box-sizing:border-box}
.form-section{padding:56px 0 64px;background:var(--soft)}
.form-section__head{text-align:center;max-width:60ch;margin:0 auto 28px}
.form-section__head h2{font-weight:800;color:var(--ink);font-size:clamp(1.5rem,4.5vw,2rem);line-height:1.12;margin:0 0 .4em}
.form-section__head p{margin:0;color:var(--body);font-size:1.05rem}

.card{background:var(--bg);width:100%;max-width:var(--maxw);margin:0 auto;border-radius:var(--radius);
  box-shadow:0 6px 28px rgba(15,30,50,.10),0 1px 2px rgba(15,30,50,.06);overflow:hidden}
.card__bar{height:5px;background:var(--red)}
.card__pad{padding:28px}
@media(max-width:480px){ .card__pad{padding:20px 16px} }

.brand{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}
.brand__logos{display:inline-flex;align-items:center;gap:28px;min-width:0}
.brand .logo-cbc{height:96px;width:auto;display:block}
.brand .logo-costco{height:30px;width:auto;display:block}
.brand .logo-div{width:1px;height:64px;background:rgba(0,0,0,.18);flex:none}
@media(max-width:480px){ .brand__logos{gap:14px} .brand .logo-cbc{height:52px} .brand .logo-costco{height:16px} .brand .logo-div{height:34px} }
.brand__step{font-size:.82rem;font-weight:600;color:var(--muted);white-space:nowrap}

/* element is <h2 class="form-title"> (the hero h1 is the page's single h1); selector must match it. */
h2.form-title{font-weight:800;color:var(--ink);font-size:clamp(1.4rem,4.5vw,1.8rem);line-height:1.12;margin:.1em 0 .35em}
.lede{color:var(--body);font-size:1rem;margin:0 0 1.25rem}

/* progress */
.prog{display:flex;gap:8px;margin:0 0 20px}
.prog span{flex:1;height:6px;border-radius:999px;background:#e6ebf1}
.prog span.on{background:var(--blue)}

fieldset{border:0;margin:0;padding:0;min-width:0}
legend{padding:0;font-weight:600;color:var(--ink);font-size:1.05rem;margin-bottom:.75rem}
.grid{display:grid;grid-template-columns:1fr 1fr;gap:14px 16px}
.full{grid-column:1/-1}
@media(max-width:560px){ .grid{grid-template-columns:1fr} }

.field{display:flex;flex-direction:column;gap:6px;min-width:0}
.field label{font-weight:500;color:var(--ink);font-size:.92rem}
.req{color:var(--red);font-weight:700}
.field input,.field textarea{font-family:inherit;font-size:16px;color:var(--ink);background:#fff;
  border:1px solid var(--line);border-radius:9px;padding:12px 13px;width:100%;transition:border-color .12s,box-shadow .12s}
.field textarea{min-height:130px;resize:vertical}
.field input::placeholder,.field textarea::placeholder{color:#9aa3ad}
.field input:focus,.field textarea:focus{outline:none;border-color:var(--focus);box-shadow:0 0 0 3px rgba(222,33,39,.18)}
.field input[aria-invalid="true"],.field textarea[aria-invalid="true"]{border-color:var(--red);background:#fff7f8}

/* summary of step 1 shown on step 2 */
.who{display:flex;justify-content:space-between;align-items:center;gap:10px;background:var(--soft);
  border:1px solid var(--line);border-radius:10px;padding:10px 13px;margin-bottom:18px;font-size:.9rem}
.who b{color:var(--ink)} .who a{color:var(--blue);font-weight:600;text-decoration:none}
.who a:hover{text-decoration:underline}

/* error summary */
.errs{display:none;border:1px solid var(--red);background:#fff5f6;border-radius:10px;padding:12px 14px;margin-bottom:18px}
.errs.show{display:block} .errs h2{margin:0 0 6px;font-size:.95rem;color:var(--red-dark)}
.errs ul{margin:0;padding-left:18px} .errs a{color:var(--red-dark)}

.actions{display:flex;gap:12px;align-items:center;margin-top:24px;flex-wrap:wrap}
.btn--cont{background:var(--blue);color:#fff} .btn--cont:hover{background:var(--blue-dark)}
.btn--cont:focus-visible{outline:3px solid var(--focus);outline-offset:2px}
.btn--go{background:var(--red);color:#fff} .btn--go:hover{background:var(--red-dark)}
.btn--go:focus-visible{outline:3px solid var(--focus);outline-offset:2px}
@media(max-width:480px){ .actions{flex-direction:column-reverse;align-items:stretch} .actions .btn{width:100%} }

.foot-note{margin-top:22px;padding-top:14px;border-top:1px solid var(--line);color:var(--muted);font-size:.8rem;text-align:center}

.step[hidden]{display:none}

/* thank-you */
.done{text-align:center;padding:18px 4px}
.done__mark{width:64px;height:64px;border-radius:50%;background:rgba(0,93,171,.10);color:var(--blue);
  display:grid;place-items:center;margin:0 auto 16px;font-size:30px;font-weight:800}
.done h2{margin-bottom:.4em}
.done p{font-size:1.05rem;max-width:42ch;margin:0 auto}

/* ===================== FOOTER ===================== */
.site-footer{background:var(--ink);color:#cdd6e0;font-size:.9rem;padding:40px 0 30px}
.site-footer a{color:#fff;text-decoration:none}
.site-footer a:hover{text-decoration:underline}
.site-footer a:focus-visible{outline:3px solid #fff;outline-offset:2px}
.site-footer__grid{display:grid;grid-template-columns:1fr auto;gap:26px 40px;align-items:start}
@media(max-width:640px){ .site-footer__grid{grid-template-columns:1fr} }
.site-footer__brand{font-weight:600;color:#fff;font-size:1rem;margin:0 0 8px}
.site-footer__contact{display:flex;flex-direction:column;gap:4px}
.site-footer__contact a, .site-footer__contact span{display:inline-flex;align-items:center;min-height:30px}
.site-footer__fax{color:#9aa6b3;font-size:.84rem}

/* Site Map columns (restored regulated chrome) */
.site-footer__sitemap{margin-top:30px;padding-top:24px;border-top:1px solid #38424f}
.site-footer__sitemap-h{color:#fff;font-size:1.05rem;font-weight:700;margin:0 0 16px}
.site-footer__cols{display:grid;grid-template-columns:repeat(3,1fr);gap:24px 32px}
.site-footer__col{display:flex;flex-direction:column}
.site-footer__col a{color:#cdd6e0;text-decoration:none;padding:3px 0;min-height:36px;
  display:inline-flex;align-items:center;line-height:1.3}
.site-footer__col a:hover{color:#fff;text-decoration:underline}
@media(max-width:780px){ .site-footer__cols{grid-template-columns:1fr 1fr;gap:18px 24px} }
@media(max-width:480px){ .site-footer__cols{grid-template-columns:1fr} }

.site-footer__legal{margin-top:30px;padding-top:22px;border-top:1px solid #38424f;color:#9aa6b3;font-size:.78rem;line-height:1.5}
.site-footer__legal p{margin:0 0 12px}
.site-footer__links a{color:#cdd6e0;font-weight:600;text-decoration:none}
.site-footer__links a:hover{color:#fff;text-decoration:underline}
.site-footer__attn strong{color:#fff}
.site-footer__attn a,.site-footer__legal a{color:#9cc4ec}
/* WCAG 1.4.1: in-paragraph legal links (e.g. HealthCare.gov in the attn disclaimer) must be
   distinguishable without relying on color alone -> underline them. The link-bar nav row
   (.site-footer__links) is a distinct pipe-separated row, not an in-text-block, so it is exempt. */
.site-footer__attn a{text-decoration:underline}
/* WCAG 1.4.3: lift the filing-code line to the same body grey (6.07:1 on the #1f2733 footer)
   instead of #7f8b98 (4.33:1, below the 4.5 AA floor at this size). Copy unchanged. */
.site-footer__legal .filing{color:#9aa6b3;font-size:.72rem;margin-top:4px;margin-bottom:0}
