/* 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). */

@font-face{font-family:"Costco Sans Micro";src:url("assets/CostcoSansMicro-Regular.woff2") format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:"Costco Sans Micro";src:url("assets/CostcoSansMicro-Medium.woff2") format("woff2");font-weight:500;font-display:swap}
@font-face{font-family:"Costco Sans Micro";src:url("assets/CostcoSansMicro-Semibold.woff2") format("woff2");font-weight:600;font-display:swap}
@font-face{font-family:"Costco Sans Micro";src:url("assets/CostcoSansMicro-Black.woff2") format("woff2");font-weight:800;font-display:swap}

: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;
}
*{box-sizing:border-box}
html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; }
body{margin:0;background:var(--bg);color:var(--body);font-family:var(--font);font-size:16px;line-height:1.5}
img{max-width:100%;display:block}
a{color:var(--blue)}

.wrap{width:100%;max-width:var(--pagew);margin:0 auto;padding:0 20px}
@media(max-width:480px){ .wrap{padding:0 16px} }

/* ===================== TOP DISCLAIMER BAR (third-party / Costco channel-separation) ===================== */
.topbar{background:var(--soft);color:var(--muted);font-size:.8rem;line-height:1.45;
  text-align:center;padding:8px 20px;border-bottom:1px solid var(--line)}
.topbar a{color:var(--blue);font-weight:600}
@media(max-width:480px){ .topbar{padding:8px 16px;text-align:left} }

/* ===================== BREADCRUMB ===================== */
.breadcrumb{background:#fff;border-bottom:1px solid var(--line)}
.breadcrumb__inner{display:flex;align-items:center;gap:8px;flex-wrap:wrap;
  padding:10px 20px;font-size:.88rem;color:var(--muted)}
.breadcrumb__inner a{color:var(--blue);text-decoration:none;font-weight:600}
.breadcrumb__inner a:hover{text-decoration:underline}
.breadcrumb__inner strong{color:var(--ink);font-weight:700}

/* ===================== HEADER ===================== */
.site-header{background:#fff;border-bottom:1px solid var(--line)}
.site-header__bar{height:4px;background:var(--red)}
.site-header__inner{display:flex;align-items:center;justify-content:space-between;gap:14px;
  padding:14px 20px;max-width:var(--pagew);margin:0 auto}
.site-header__logo{display:inline-flex;align-items:center;gap:28px;min-height:44px}
.site-header__logo .logo-cbc{height:116px;width:auto}
.site-header__logo .logo-costco{height:36px;width:auto}
.site-header__logo .logo-div{width:1px;height:80px;background:rgba(0,0,0,.18);flex:none}
.site-header__logo:focus-visible{outline:3px solid var(--focus);outline-offset:2px;border-radius:6px}
@media(max-width:480px){ .site-header__logo .logo-cbc{height:56px} .site-header__logo .logo-costco{height:18px} .site-header__logo .logo-div{height:38px} }
/* Header welcome line (regulated marketplace welcome copy) */
.site-header__welcome{flex:1;min-width:0;text-align:center;color:var(--blue);font-weight:600;
  font-size:.96rem;line-height:1.25;padding:0 14px}
@media(max-width:900px){ .site-header__welcome{font-size:.86rem;padding:0 8px} }
@media(max-width:760px){ .site-header__welcome{display:none} }
.site-nav{display:flex;align-items:center;gap:6px}
.site-nav a{display:inline-flex;align-items:center;min-height:44px;padding:0 14px;border-radius:8px;
  color:var(--ink);font-weight:600;font-size:.96rem;text-decoration:none}
.site-nav a:hover{background:var(--soft);color:var(--blue)}
.site-nav a:focus-visible{outline:3px solid var(--focus);outline-offset:2px}

/* hamburger (phone) */
.nav-toggle{display:none;align-items:center;justify-content:center;width:44px;height:44px;
  background:none;border:1px solid var(--line);border-radius:9px;cursor:pointer;color:var(--ink)}
.nav-toggle:focus-visible{outline:3px solid var(--focus);outline-offset:2px}
.nav-toggle .bar{display:block;width:22px;height:2px;background:currentColor;margin:3px 0;border-radius:2px}
@media(max-width:640px){
  .nav-toggle{display:inline-flex}
  .site-nav{position:absolute;left:0;right:0;top:100%;flex-direction:column;align-items:stretch;gap:0;
    background:#fff;border-bottom:1px solid var(--line);box-shadow:0 8px 22px rgba(15,30,50,.10);
    padding:8px 12px;display:none;z-index:30}
  .site-nav.open{display:flex}
  .site-nav a{min-height:48px;padding:0 12px;border-radius:8px}
  .site-header__inner{position:relative}
}

/* ===================== HERO ===================== */
/* FIX 4: taller, deliberate hero band on desktop (>=420px); inner content vertically centered
   so the headline panel reads as composed rather than letterboxed. Real photo kept. */
.hero{position:relative;color:#fff;isolation:isolate;display:flex;align-items:center;min-height:480px}
.hero__media{position:absolute;inset:0;z-index:-2;
  background:#012b4f url("assets/large-groups-bg.jpg") center/cover no-repeat}
/* Constraint 5: a REAL dark scrim layer with a solid-ish color, so white text never sits on a bare photo.
   FIX 4: scrim tightened (higher opacities) so the dark side under the panel feels intentional. */
.hero__scrim{position:absolute;inset:0;z-index:-1;
  background:linear-gradient(100deg, rgba(0,28,56,.92) 0%, rgba(0,36,72,.82) 50%, rgba(0,40,80,.62) 100%)}
.hero__inner{width:100%;max-width:var(--pagew);margin:0 auto;padding:64px 20px 72px}
/* Constraint 5: the text panel itself carries a REAL solid-ish dark background-color, so the
   contrast check (which walks ANCESTORS, not the sibling scrim) computes white-on-dark, not
   white-on-white. Doubles as a high-end content panel sitting over the hero photo + scrim. */
.hero__copy{max-width:600px;background:rgba(0,32,62,.86);
  padding:30px 32px;border-radius:var(--radius);border-left:5px solid var(--red)}
@media(max-width:480px){ .hero__copy{padding:24px 20px} }
.hero h1{font-weight:800;color:#fff;font-size:clamp(2rem,6vw,3rem);line-height:1.08;margin:0 0 .5em;
  text-shadow:0 1px 14px rgba(0,20,40,.35)}
.hero__lede{color:#eaf2fa;font-size:clamp(1.05rem,2.4vw,1.3rem);line-height:1.5;margin:0 0 1.6em;max-width:54ch}
.hero__ctas{display:flex;flex-wrap:wrap;gap:12px}
/* FIX 4: relax the desktop min-height on phone so the band hugs its content instead of over-stretching. */
@media(max-width:480px){ .hero{min-height:0} .hero__inner{padding:44px 16px 52px} .hero__ctas{flex-direction:column;align-items:stretch} }

/* ===================== 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{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:6px 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}
.site-footer__legal .filing{color:#7f8b98;font-size:.72rem;margin-top:4px;margin-bottom:0}
