/* ===== Brand tokens — locked Stage 1 against the live logo vector ===== */
    :root {
      --blue:        #00a6ce;   /* Legends sky blue — sampled from logo vector */
      --blue-dark:   #0089ad;
      --heading:     #4e738a;   /* slate — logo wordmark color */
      --body:        #5d6e7e;   /* gray-blue body text (approved design choice) */
      --paper:       #ffffff;
      --card:        #f5f7f9;   /* Why Legends card bg (live theme color_23) */
      --band:        #ebeff4;   /* How We Work lavender band (live theme color_26) */
      --line:        #e6e9ee;
      --ink:         #2a3b4d;
      --maxw:        1180px;
    }

    * { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }
    body {
      font-family: 'Mulish', system-ui, -apple-system, sans-serif;
      color: var(--body); background: var(--paper); line-height: 1.7;
      -webkit-font-smoothing: antialiased;
    }
    h1, h2, h3, h4, .eyebrow, .pill { font-family: 'Poppins', system-ui, sans-serif; }
    h1, h2, h3, h4 { color: var(--heading); }
    a { color: inherit; text-decoration: none; }
    img { max-width: 100%; height: auto; display: block; }
    .wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

    /* ===== Header ===== */
    header.site { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
    .nav { display: flex; align-items: center; justify-content: space-between; height: 92px; }

    /* Logo — real Legends wordmark */
    .logo { display: flex; align-items: center; }
    .logo img { height: 62px; width: auto; display: block; }

    .menu { display: flex; align-items: center; gap: 30px; list-style: none; }
    .menu a { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 16px; color: var(--blue); }
    .menu a:hover { color: var(--blue-dark); }
    /* Login CTA — .btn pill adapted to the nav context (kills .btn's section
       margin and keeps white text over .menu's blue link color) */
    .menu a.btn { color: #fff; margin-top: 0; padding: 11px 26px; }
    .menu a.btn:hover { color: #fff; }
    .burger { display: none; background: none; border: 0; font-size: 28px; color: var(--blue); cursor: pointer; }

    /* ===== Hero (slim full-bleed banner carousel — slides are pre-made banner
       images with the text baked in; each is shown WHOLE, no crop/zoom.
       Strip proportions match the live site: ~5.42:1 banner under the nav.) ===== */
    .hero { position: relative; background: var(--paper); overflow: hidden; }
    .hero .slides { position: relative; width: 100%; }
    .hero .slide { position: absolute; inset: 0; opacity: 0; transition: opacity .7s ease; }
    /* First slide stays in flow at its intrinsic ratio — it sizes the strip,
       so the full banner width always shows; no fixed height to crop against. */
    .hero .slide:first-child { position: relative; }
    .hero .slide.on { opacity: 1; }
    .hero .slide a { display: block; height: 100%; }
    .hero .slide img { width: 100%; height: 100%; object-fit: contain; }
    .hero .slide:first-child img { height: auto; }
    .hero-arrow {
      position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px;
      border-radius: 50%; background: rgba(20,28,40,.45); color: #fff; border: 0;
      display: grid; place-items: center; font-size: 16px; cursor: pointer; z-index: 2;
    }
    .hero-arrow:hover { background: rgba(20,28,40,.7); }
    .hero-arrow.left { left: 12px; } .hero-arrow.right { right: 12px; }

    /* ===== Section scaffold ===== */
    section { padding: 76px 0; }

    /* National Strategy split */
    .intro .wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
    .intro h1, .intro h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 700; line-height: 1.1; letter-spacing: -.01em; }
    .intro p { font-size: 19px; }

    /* Why Legends */
    .why { text-align: center; }
    .why > .wrap > h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 700; margin-bottom: 48px; }
    .cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 22px; text-align: left; }
    .card {
      background: var(--card); border-radius: 18px; padding: 30px 26px;
      transition: transform .15s ease, box-shadow .15s ease;
    }
    .card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(28,40,55,.08); }
    .card .logo-ph {
      height: 56px; margin-bottom: 22px; display: flex; align-items: center; justify-content: center;
      background: #fff; border: 1px dashed #c6cdd6; border-radius: 10px; color: #9aa4b0;
      font-size: 12px; font-family: 'Poppins', sans-serif; font-weight: 600;
    }
    .card h3 { color: var(--blue); font-weight: 700; font-size: 19px; line-height: 1.25; margin-bottom: 12px; }
    .card p { font-size: 16px; }
    .card a.more { display: inline-block; margin-top: 10px; color: var(--blue); font-weight: 700; font-family: 'Poppins', sans-serif; }
    .card a.more:hover { text-decoration: underline; }

    /* How We Work band */
    .how { background: var(--band); }
    .how .wrap { display: grid; grid-template-columns: auto 1fr 1fr; gap: 26px; align-items: start; }
    .pill {
      background: var(--blue); color: #fff; font-weight: 700; font-size: 22px;
      padding: 16px 34px; border-radius: 40px; white-space: nowrap; align-self: center;
    }
    .division { background: #fff; border-radius: 16px; padding: 30px 30px; }
    .division h3 { font-weight: 700; font-size: 23px; margin-bottom: 12px; }
    .division p { font-size: 16px; }
    .how-tagline { text-align: center; font-family: 'Poppins', sans-serif; font-weight: 700;
                   color: var(--heading); font-size: clamp(20px, 2.6vw, 28px); margin-top: 48px; }
    .how-tagline span { color: var(--blue); }

    /* What is a rep */
    .rep { background: var(--paper); text-align: center; }
    .rep .wrap { max-width: 880px; }
    .rep .eyebrow { color: var(--blue); font-weight: 700; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; }
    .rep h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 700; margin: 12px 0 18px; }
    .rep p { font-size: 19px; }
    .btn {
      display: inline-block; font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 16px;
      background: var(--blue); color: #fff; padding: 15px 34px; border-radius: 40px; margin-top: 26px;
      transition: background .15s ease, transform .15s ease;
    }
    .btn:hover { background: var(--blue-dark); transform: translateY(-1px); }

    /* Footer */
    footer.site { background: #16212e; color: #aeb9c6; padding: 60px 0 26px; }
    footer.site h4 { color: #fff; font-weight: 600; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px; }
    .foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 44px; padding-bottom: 38px; border-bottom: 1px solid rgba(255,255,255,.1); }
    .foot-cta { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 26px; color: #fff; line-height: 1.2; margin-bottom: 14px; }
    footer.site a { color: #aeb9c6; } footer.site a:hover { color: var(--blue); }
    .foot-links { list-style: none; display: grid; gap: 10px; font-size: 16px; }
    .foot-meta { display: flex; justify-content: space-between; padding-top: 22px; font-size: 14px; color: #7e8a98; flex-wrap: wrap; gap: 10px; }
    .foot-social { display: flex; gap: 16px; }
    .foot-social svg { vertical-align: middle; }

    @media (max-width: 900px) {
      .menu { display: none; } .burger { display: block; }
      .intro .wrap { grid-template-columns: 1fr; gap: 24px; }
      .how .wrap { grid-template-columns: 1fr; } .pill { justify-self: start; }
      .foot-grid { grid-template-columns: 1fr; gap: 26px; }
    }

/* ===================== Inner-page shared components ===================== */
.page-banner { background: var(--band); padding: 54px 0; }
.page-banner .eyebrow { color: var(--blue); font-weight: 700; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; }
.page-banner h1 { font-family: 'Poppins', sans-serif; color: var(--heading); font-weight: 700; font-size: clamp(30px, 4vw, 46px); line-height: 1.1; margin-top: 10px; }
.page-banner p { font-size: 18px; max-width: 720px; margin-top: 12px; }

/* Two-division duo with a plus between */
.duo { display: grid; grid-template-columns: 1fr auto 1fr; gap: 28px; align-items: center; }
.duo .plus { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 54px; color: var(--blue); line-height: 1; }
.duo .div-card { background: var(--card); border-radius: 18px; padding: 40px 34px; text-align: center; }
.duo .div-card h2 { font-family: 'Poppins', sans-serif; color: var(--heading); font-weight: 700; font-size: 26px; margin-bottom: 10px; }
.duo .div-card p { font-size: 18px; color: var(--body); }
.center-cta { text-align: center; margin-top: 36px; }

/* Logo wall */
.logo-wall-head { text-align: center; font-family: 'Poppins', sans-serif; font-weight: 600; color: var(--heading); font-size: 22px; margin-bottom: 28px; }
.logo-wall { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 18px; }
.logo-wall .lw {
  background: #fff; border: 1px solid var(--line); border-radius: 12px; height: 90px;
  display: grid; place-items: center; color: #9aa4b0; font-size: 12px;
  font-family: 'Poppins', sans-serif; font-weight: 600; text-align: center; padding: 10px;
}
.logo-wall .lw img { max-height: 100%; width: auto; object-fit: contain; }

/* Find your rep region grid */
.rep-finder { background: var(--band); text-align: center; }
.rep-finder h2 { font-family: 'Poppins', sans-serif; color: var(--heading); font-weight: 700; font-size: clamp(28px, 3.4vw, 40px); }
.rep-finder p.sub { font-size: 18px; margin: 8px 0 28px; }
.region-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; max-width: 760px; margin: 0 auto; }
.region-grid a {
  background: #fff; border: 1px solid var(--line); border-radius: 40px; padding: 14px 20px;
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 15px; color: var(--blue);
  transition: background .15s ease, border-color .15s ease;
}
.region-grid a:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.map-ph {
  max-width: 620px; margin: 0 auto 28px; aspect-ratio: 16/9; background: #fff;
  border: 1px dashed #c6cdd6; border-radius: 14px; display: grid; place-items: center;
  color: #9aa4b0; font-size: 13px; font-family: 'Poppins', sans-serif; font-weight: 600;
}

@media (max-width: 760px) {
  .duo { grid-template-columns: 1fr; }
  .duo .plus { transform: rotate(0); margin: 4px auto; }
}

/* ===================== Stage 2 components (additive only) ===================== */

/* Mobile nav dropdown */
@media (max-width: 900px) {
  .menu.open {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 92px; left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 10px 28px 18px; z-index: 60;
  }
  .menu.open li { padding: 10px 0; border-top: 1px solid var(--line); }
}

/* For Sales Reps row — live-match: one row of pill | narrow bold heading |
   paragraph with inline Learn More link | small Join the Movement logo.
   The logo source is genuinely 177×224; display below native size so it is
   never upscaled. */
.reps-row { display: grid; grid-template-columns: auto 1fr 1.9fr auto; gap: 38px; align-items: center; }
.reps-row h2 { font-size: 24px; line-height: 1.35; }
.reps-row p { font-size: 17px; }
.reps-row p .more { color: var(--blue); font-weight: 700; font-family: 'Poppins', sans-serif; white-space: nowrap; }
.reps-row p .more:hover { text-decoration: underline; }
.reps-row .jtm-logo { width: 120px; height: auto; }
@media (max-width: 980px) {
  .reps-row { grid-template-columns: 1fr; gap: 22px; }
  .reps-row .pill { justify-self: start; }
  .reps-row .jtm-logo { margin: 0 auto; }
}
.tagteam img { height: 84px; width: auto; }

/* Centered section heading + optional sub */
.section-head { text-align: center; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 700; }
.section-head p.sub { font-size: 18px; max-width: 760px; margin: 10px auto 0; }

/* Checkmark feature grid */
.check-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 26px; }
.check-item { display: flex; gap: 16px; align-items: flex-start; }
.check-item img { width: 38px; height: 38px; flex: none; margin-top: 3px; }
.check-item h3 { font-size: 19px; margin-bottom: 6px; color: var(--heading); }
.check-item p { font-size: 16px; }

/* Alternating media + text rows */
.media-row { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.media-row + .media-row { margin-top: 64px; }
.media-row img { border-radius: 16px; width: 100%; }
.media-row.rev > :first-child { order: 2; }
.media-row h2 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 14px; }
.media-row h3 { font-size: 21px; margin-bottom: 10px; }
.media-row p + p { margin-top: 12px; }
@media (max-width: 820px) { .media-row { grid-template-columns: 1fr; gap: 22px; } .media-row.rev > :first-child { order: 0; } }

/* Stacked image gallery (marketing collages, ad banners) */
.stack-gallery { display: grid; gap: 30px; max-width: 980px; margin: 0 auto; }
.stack-gallery img { width: auto; max-width: 100%; margin: 0 auto; border-radius: 16px; box-shadow: 0 10px 30px rgba(28,40,55,.10); }
.stack-gallery figcaption { font-family: 'Poppins', sans-serif; font-weight: 600; color: var(--heading);
  font-size: 17px; margin-top: 10px; text-align: center; }

/* Team grid */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 30px 24px; }
.person { text-align: center; }
.person img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: top; border-radius: 14px; }
.person h3 { font-size: 18px; font-weight: 700; margin-top: 14px; line-height: 1.3; }
.person p.role { font-size: 14.5px; margin-top: 4px; }
.person a.li { display: inline-block; margin-top: 6px; color: var(--blue); font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 13px; }
.person a.li:hover { color: var(--blue-dark); }

/* Text-only rep contact cards */
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.ccard { background: var(--card); border-radius: 16px; padding: 26px 24px; }
.ccard h3 { font-size: 19px; margin-bottom: 6px; }
.ccard p.area { font-size: 15px; margin-bottom: 10px; }
.ccard a { color: var(--blue); font-weight: 600; display: block; font-size: 15px; }
.ccard p.bio { font-size: 15px; margin-top: 10px; }

/* Video embed grid */
.video-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 24px; }
.video-card iframe { width: 100%; aspect-ratio: 16/9; border: 0; border-radius: 12px; display: block; }
.video-card h3 { font-size: 16px; margin-top: 10px; line-height: 1.35; }

/* Labs episode (domain) article */
.lede-line { font-family: 'Poppins', sans-serif; font-weight: 700; color: var(--heading);
  font-size: clamp(20px, 2.4vw, 26px); margin: 26px 0 14px; }
.explore-list { list-style: none; display: grid; gap: 10px; margin-top: 14px; }
.explore-list li { padding-left: 26px; position: relative; font-size: 17px; }
.explore-list li::before { content: ""; position: absolute; left: 0; top: 8px; width: 12px; height: 12px;
  border-radius: 50%; background: var(--blue); }

/* Episode cards on the Labs hub */
.ep-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; }
.ep-card { background: var(--card); border-radius: 16px; overflow: hidden; display: block;
  transition: transform .15s ease, box-shadow .15s ease; }
.ep-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(28,40,55,.10); }
/* Guide covers are ~4:5 portrait — frame matches so the whole cover shows */
.ep-card img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: top; }
.ep-card .ep-body { padding: 20px 22px 24px; }
.ep-card h3 { font-size: 18px; color: var(--heading); line-height: 1.3; }
.ep-card p { font-size: 15px; margin-top: 8px; }

/* Subscribe band */
.subscribe { background: var(--band); text-align: center; }
.subscribe .wrap { max-width: 760px; }
.subscribe h2 { font-size: clamp(24px, 3vw, 32px); }
.subscribe p { font-size: 17px; margin-top: 10px; }

/* Region pages */
.region-head { display: grid; grid-template-columns: 320px 1fr; gap: 48px; align-items: center; }
.region-head img { width: 100%; border-radius: 16px; }
.region-head .states { font-family: 'Poppins', sans-serif; font-weight: 700; color: var(--blue);
  font-size: clamp(20px, 2.6vw, 28px); line-height: 1.5; margin-top: 16px; text-transform: uppercase; }
@media (max-width: 760px) { .region-head { grid-template-columns: 1fr; gap: 20px; } }
.merger { background: var(--card); border-radius: 18px; padding: 40px 36px;
  display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: center; }
.merger img { width: 100%; border-radius: 12px; background: #fff; }
.merger h2 { font-size: clamp(22px, 2.8vw, 30px); margin-bottom: 14px; }
.merger p + p { margin-top: 12px; }
.merger .rep-line { font-family: 'Poppins', sans-serif; font-weight: 700; color: var(--heading); margin-top: 16px; }
@media (max-width: 760px) { .merger { grid-template-columns: 1fr; gap: 20px; } }

/* Case study */
.case { background: var(--band); border-radius: 18px; padding: 44px 40px;
  display: grid; grid-template-columns: 240px 1fr; gap: 44px; align-items: center; }
.case img { width: 100%; }
.case h2 { font-size: clamp(22px, 2.8vw, 30px); margin-bottom: 12px; }
.case p.result { font-size: 19px; font-weight: 600; color: var(--heading); }
@media (max-width: 760px) { .case { grid-template-columns: 1fr; gap: 20px; } }

/* Forms (HubSpot embed) */
.form-wrap { max-width: 680px; margin: 0 auto; background: var(--card); border-radius: 18px; padding: 40px 36px; }
.form-wrap h2 { font-size: clamp(22px, 2.8vw, 30px); margin-bottom: 8px; }
.form-wrap p.sub { font-size: 16px; margin-bottom: 22px; }
.hs-form-slot { min-height: 220px; }
.hs-form-note { border: 1px dashed #c6cdd6; border-radius: 12px; background: #fff; padding: 26px;
  color: #9aa4b0; font-size: 14px; font-family: 'Poppins', sans-serif; font-weight: 600; text-align: center; }

/* Inline ad video */
.ad-video { max-width: 700px; margin: 0 auto; }
.ad-video video { width: 100%; border-radius: 16px; display: block; }

/* Full-width banner video */
.banner-video { width: 100%; display: block; }

/* Secondary button */
.btn.ghost { background: #fff; color: var(--blue); border: 2px solid var(--blue); }
.btn.ghost:hover { background: var(--blue); color: #fff; }

/* Contact info block */
.info-cols { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; }
@media (max-width: 820px) { .info-cols { grid-template-columns: 1fr; } }
.info-list { list-style: none; display: grid; gap: 12px; margin-top: 14px; }
.info-list li { padding-left: 26px; position: relative; font-size: 16.5px; }
.info-list li::before { content: ""; position: absolute; left: 0; top: 8px; width: 12px; height: 12px;
  border-radius: 50%; background: var(--blue); }
.info-list li strong { color: var(--heading); }

/* Plain prose article (privacy) */
.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { font-size: 24px; margin: 34px 0 12px; }
.prose p + p { margin-top: 12px; }
