
  :root {
      --bg:#fafbfc; --fg:#141a1f; --muted:#5f6b7a; --accent:#3b6fd8; --card:#ffffff; --line:#e6e8ee;
      --pad: clamp(14px, 2.2vw, 24px);
    }
    @media (prefers-color-scheme: dark) {
      :root {
        --bg:#0f1320; --fg:#e6eaf2; --muted:#9aa3b2; --accent:#7aa2ff; --card:#141a2a; --line:#232c3d;
      }
    }
    html, body { margin:0; padding:0; background:var(--bg); color:var(--fg); font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Arial, sans-serif; font-size:17px; line-height:1.7; }
    a { color:var(--accent); text-decoration:none; }
    a:hover { text-decoration:underline; }
    .container { max-width: 1240px; margin: 0 auto; padding: 0 var(--pad); }
    header { position:sticky; top:0; z-index:1000; background: rgba(250,251,252,0.7); backdrop-filter: blur(8px); border-bottom:1px solid var(--line); }
    @media (prefers-color-scheme: dark) { header { background: rgba(15,19,32,0.7); } }
    .nav { display:flex; align-items:center; justify-content:flex-start; padding: 10px var(--pad); }
    .nav h1 { font-size: clamp(18px, 2.4vw, 22px); margin:0; font-weight:700; letter-spacing:0.3px; }
    .nav ul { display:flex; gap:16px; list-style:none; margin:0; padding:0; flex-wrap:wrap; }
    .nav a { color:var(--fg); opacity:0.9; font-size:14px; }

    .hero { padding: 60px 0 36px; border-bottom:1px solid var(--line); background: none; }
    .hero h2 { font-size: clamp(26px, 5vw, 40px); margin:0 0 8px; }
    .hero p { color:var(--muted); margin: 0 0 20px; font-size: clamp(14px, 2.2vw, 18px); }
    .cta-row { display:flex; gap:12px; flex-wrap:wrap; }
    .btn { display:inline-block; padding:12px 16px; border-radius:12px; background:var(--accent); color:#ffffff; font-weight:700; border:1px solid transparent; }
    .btn

    section { padding: 40px 0; border-bottom:1px solid var(--line); }
    h3 { font-size: clamp(20px, 3.4vw, 28px); margin:0 0 10px; }
    .sub { color:var(--muted); margin-top:2px; font-size:14px; }

    .grid { display:grid; gap:16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
    .card { background:var(--card); border:1px solid var(--line); border-radius:14px; padding:16px; }
    .card h4 { margin:0 0 6px; font-size:18px; }
    .small { font-size:13px; color:var(--muted); display:block; margin-top:12px; }

    .list { margin:10px 0 0 18px; }
    .list li { margin-bottom:6px; }

    blockquote { margin:0; padding:0; }
    .quote { background:var(--card); border:1px solid var(--line); border-radius:14px; padding:16px; }
    .quote p { margin:0 0 8px; }
    .quote .by { color:var(--muted); font-size:13px; }

    table { width:100%; border-collapse:collapse; font-size:15px; }
    th, td { padding:12px; border-bottom:1px solid var(--line); text-align:left; }
    th { color:var(--muted); font-weight:600; }

    .contact { display:grid; gap:18px; grid-template-columns: 1.2fr 1fr; }
    form { display:grid; gap:10px; }
    label { font-size:14px; color:var(--muted); }
    input, textarea { width:100%; padding:10px 12px; border-radius:10px; border:1px solid var(--line); background:#ffffff; color:var(--fg); }
    @media (prefers-color-scheme: dark) { input, textarea { background:#0d1422; color:var(--fg); border:1px solid var(--line); } }
    textarea { min-height:120px; }
    .disclaimer { font-size:12px; color:var(--muted); }

    footer { padding: 30px 0; color:var(--muted); font-size:14px; }

    
    

    @media (max-width: 800px) { .contact { grid-template-columns: 1fr; } }
      /* Image placeholders */
    .hero-inner { display:grid; gap:24px; grid-template-columns: 1.2fr 1fr; align-items:center; }
    @media (max-width: 900px) { .hero-inner { grid-template-columns: 1fr; } }
    .imgph { width:100%; background:linear-gradient(135deg, #f1f4f8, #e7ebf3); border:1px dashed var(--line); border-radius:14px; display:grid; place-items:center; color:var(--muted); font-size:14px; }
    @media (prefers-color-scheme: dark) { .imgph { background:#0d1422; } }
    .imgph.small { border-radius:12px; }
    .avatarph { width:220px; aspect-ratio:1; border-radius:50%; background:linear-gradient(135deg,#dfe7f7,#eaf0ff); border:1px dashed var(--line); display:grid; place-items:center; color:var(--muted); font-weight:700; }
    @media (prefers-color-scheme: dark) { .avatarph { background:#101a2d; } }
    .card .imgph { margin-bottom:10px; }
    .split { display:grid; gap:18px; grid-template-columns: 1fr 260px; align-items:start; }
    @media (max-width: 800px) { .split { grid-template-columns: 1fr; } }

    /* Remove resize handle on the contact form textarea */
    #contactForm textarea { resize: none !important; }
  
    /* ===== FINAL LOCKED OVERRIDES (do not remove) ===== */
    /* Contact two-column layout and spacing */
    @media (min-width: 801px) {
      .contact {
        gap: 40px !important;
        grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) !important;
        align-items: start !important;
      }
    }
    .contact > * { min-width: 0 !important; }

    /* Keep contact cards white, never blue */
    #contact .card {
      background: var(--card) !important;
      border: 1px solid var(--line) !important;
      border-radius: 14px !important;
      color: var(--fg) !important;
    }

    /* Form card should fully wrap fields, with padding and clipping */
    #contactForm,
    #contactForm.card {
      display: block !important;
      background: var(--card) !important;
      border: 1px solid var(--line) !important;
      border-radius: 14px !important;
      padding: 20px !important;
      overflow: hidden !important;
      box-sizing: border-box !important;
    }
    #contactForm input, #contactForm textarea {
      box-sizing: border-box !important;
      width: 100% !important;
    }

    /* Bullet indentation inside cards - tight and consistent */
    .card .list {
      margin: 10px 0 0 0 !important;
      padding-left: 12px !important;
      list-style-position: outside !important;
    }
    .card .list li { margin-bottom: 8px !important; }
    /* ===== END OVERRIDES ===== */

  
    /* Hamburger button */
    .nav-toggle {
      display: none;
      background: none;
      border: none;
      font-size: 26px;
      cursor: pointer;
      color: var(--fg);
    }

    @media (max-width: 700px) {
      .nav ul {
        display: none;
        flex-direction: column;
        background: var(--card);
        position: absolute;
        top: 50px;
        right: 10px;
        padding: 12px;
        border: 1px solid var(--line);
        border-radius: 10px;
        z-index: 2000;
      }
      .nav ul
      .nav-toggle {
        display: block;
      }
    }

    
    
    @media (prefers-color-scheme: dark) {  }


    
    /* Social proof banner */
    
    .proof-card{display:flex;gap:16px;align-items:center;justify-content:flex-start;border:1px solid var(--line);border-radius:16px;padding:16px 18px;background:var(--surface);box-shadow:0 6px 18px rgba(0,0,0,.07)}
    .proof-card .stars{font-size:28px;letter-spacing:3px;line-height:1;margin-right:14px;}
    .proof-card p{font-size:clamp(1.05rem,1.2vw+0.8rem,1.6rem);margin:0}
    .proof-card a{font-weight:600}
    
    /* LinkedIn badge wrapper */
    .li-badge-wrap{margin-top:12px}


    
    /* Keep site title on a single line */
    .brand, .brand * { white-space: nowrap; }
    


    /* Mobile tweaks */
    @media (max-width: 500px) {
      body { font-size: 15px; line-height: 1.6; }
      .hero h2 { font-size: 22px; }
      .cta-row { flex-direction: column; gap: 8px; }
      .grid { grid-template-columns: 1fr; }
      .nav { padding: 6px var(--pad); }
      .nav h1 { font-size: 16px; }
    }

  

/* === Single-line banner tweaks === */
.nav { flex-wrap: nowrap !important; }
.nav ul { flex-wrap: nowrap !important; gap: 12px !important; }
.nav h1 { white-space: nowrap !important; margin-right: 12px; }
@media (min-width: 701px) and (max-width: 1240px) {
  .nav a { font-size: 13px !important; }
  .nav ul { gap: 10px !important; }
}


/* === HARD LOCK: header stays on a single line === */
.nav, .nav ul { white-space: nowrap !important; }
.nav a { white-space: nowrap !important; display:inline-block !important; }
.nav { flex-wrap: nowrap !important; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.nav ul { flex-wrap: nowrap !important; gap: 12px !important; }
.nav li { display:inline-block !important; }
@media (min-width: 701px) and (max-width: 1180px) {
  .nav a { font-size: 13px !important; }
  .nav ul { gap: 8px !important; }
  .nav h1 { font-size: 18px !important; }
}


/* === Social proof sizing to align with logo === */
  /* allow full width */
.proof-card { 
  width: 100% !important; 
  display: flex !important; 
  align-items: center !important; 
  justify-content: flex-start !important; 
}
.proof-card p { flex: 1; }

.proof-card .stars { margin-right: 12px; }


#testimonials .proof-card { margin-bottom: 24px; }


#testimonials .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  row-gap: 48px;
  column-gap: 24px;
  align-items: stretch;
}
#testimonials .quote { display: flex; flex-direction: column; justify-content: space-between; height: 100%; }


#testimonials .proof-card {
  max-width: 1240px;  /* align with container width */
  margin: 0 auto 32px auto; /* centre and add bottom gap */
}

#offer .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  row-gap: 48px; /* more space between rows */
  column-gap: 24px;
  align-items: stretch;
}

#offer .card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
}

#offer .small {
  display: block;
  margin-top: 32px; /* ensure space between grid and text */
  clear: both;
}

#offer .card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
}


/* Align proof cards with other testimonial boxes */
.proof-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-sizing: border-box;
  width: 100% !important;
  height: 100% !important;
}

#testimonials .proof-card {
  grid-column: 1 / -1;  /* span full row */
  margin: 0 0 24px 0;
}


/* Responsive columns for  testimonials grid */
@media (max-width: 1100px) {
  #testimonials .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  row-gap: 48px;
  column-gap: 24px;
  align-items: stretch;
}
}
@media (max-width: 700px) {
  #testimonials .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  row-gap: 48px;
  column-gap: 24px;
  align-items: stretch;
}
}


#social-proof .proof-card {
  max-width: 1240px;
  margin: 0 auto 24px auto;
}


.nowrap { white-space: nowrap; }


h3.subheading {
  font-size: 20px;
  font-weight: 700;
  margin: 40px 0 16px;
  color: var(--accent);
  border-bottom: 2px solid var(--line);
  display: inline-block;
  padding-bottom: 4px;
}


#offer .small {
  display: block;
  margin-top: 40px !important;
  clear: both;
}
 
/* Force section dividers back in */
section {
  padding: 40px 0;
  border-top: 1px solid var(--line) !important;
}


/* Force the reviews note to the same small size as certificates */
.hero .proof-note {
  font-size: 13px !important;
  color: var(--muted) !important;
  display: block !important;
  margin-top: 12px !important;
}





@media (max-width:700px){
  header .nav ul a { touch-action: manipulation; }
}
@media (max-width:700px){
  .nav-toggle{ position:relative; z-index:6001; display:block; }
  header .nav ul.open{ max-width:92vw; }
}



  #offer .imgph { position: relative; }
#offer .imgph 
 


  .row-image {
  margin: 0 0 16px;
  border-radius: 14px;
  overflow: hidden;
}

.row-image img {
  filter: grayscale(50%) brightness(0.9);
  opacity: 0.8;
  width: 100%;
  height: auto;
  border-radius: 14px;
  object-fit: contain;
  display: block;
}
 


  .row-image img {
  filter: grayscale(50%) brightness(0.9);
  opacity: 0.8;
  width: 100%;
  height: auto;
  border-radius: 14px;
  object-fit: cover;
}
 


/* Ensure hamburger menu appears and can drop down on narrow screens */
@media (max-width: 700px) {
  .nav-toggle{ display:block; }
  .nav ul{ display:none; flex-direction:column; position:absolute; right:10px; top:50px;
           background: var(--card); padding:12px; border:1px solid var(--line); border-radius:8px; box-shadow:0 6px 18px rgba(0,0,0,.08); }
  
}



/* Always hide the checkbox control (it only drives :checked state) */
.nav-checkbox{ position:absolute; width:1px; height:1px; margin:-1px; padding:0; border:0;
  clip:rect(0 0 0 0); clip-path: inset(50%); overflow:hidden; white-space:nowrap; }



  /* Force all star glyphs to gold, everywhere */
  .stars,
  .proof-card .stars {
    color: #DAA520 !important; /* goldenrod */
  }


/* Tiny banner-only tweak: right-align hamburger on small screens */
@media (max-width: 700px){
  .nav { justify-content: space-between; }
  .nav .nav-toggle { margin-left: auto; }
}



@media (max-width:700px){
  header .nav{ position:relative; justify-content:space-between; }
  /* Hide checkbox but keep it focusable for a11y */
  .nav-checkbox{ position:absolute; width:1px; height:1px; margin:-1px; padding:0; border:0; clip:rect(0 0 0 0); overflow:hidden; }
  /* Hamburger label */
  .nav-toggle{ display:inline-block !important; margin-left:auto; cursor:pointer;  position:relative; z-index:5001;}

  /* Dropdown hidden by default */
  header .nav ul{ 
    display:none;
  }
  header .nav ul.open{ display:flex !important; position:absolute; right:var(--pad); top:calc(100% + 8px);
    background:var(--card); border:1px solid var(--line); border-radius:10px;
    box-shadow:0 8px 24px rgba(0,0,0,.12); padding:10px; flex-direction:column; gap:10px;
    z-index:5000; white-space:normal !important;; }
  /* Show when checkbox is checked */
  

  /* Undo previous single-line/scroll rules on small screens */
  .nav, .nav ul{ white-space:normal !important; }
  .nav{ overflow:visible !important; }
}

/* Shared additions for group page and replacement LinkedIn card */
.linkedin-profile-card{border:1px solid var(--line);border-radius:14px;padding:18px;background:var(--card);max-width:430px}
.linkedin-profile-head{display:flex;gap:14px;align-items:center;margin-bottom:14px}
.linkedin-profile-head img{width:64px;height:64px;border-radius:50%;object-fit:cover}
.linkedin-profile-name{font-size:20px;font-weight:700;line-height:1.25}
.linkedin-profile-label{font-size:13px;color:var(--muted);font-weight:600;margin-top:2px}
.group-hero-grid{display:grid;gap:28px;grid-template-columns:1.2fr 1fr;align-items:center}
.group-logo{text-align:center;margin-bottom:18px}.group-logo img{width:100%;max-width:360px;height:auto}
.group-facts{display:flex;gap:9px;flex-wrap:wrap;margin:18px 0}
.group-pill{border:1px solid var(--line);background:var(--card);border-radius:999px;padding:7px 11px;font-size:14px}
.group-callout{border:2px solid var(--accent)!important}.group-price{font-size:30px;font-weight:800;line-height:1.1;margin-bottom:6px}
.group-form-checks{display:grid;gap:7px}.group-form-checks label{display:flex;gap:9px;align-items:flex-start;color:var(--fg)}
.group-form-checks input{width:auto!important;margin-top:7px}.group-page textarea{resize:vertical}
@media(max-width:900px){.group-hero-grid{grid-template-columns:1fr}}

.group-hero-integrated{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:42px;align-items:center}
.group-hero-logo{display:flex;align-items:center;justify-content:center}
.group-hero-logo img{display:block;width:100%;max-width:285px;height:auto}
.group-strategy-callout{margin-top:28px}
@media(max-width:800px){.group-hero-integrated{grid-template-columns:1fr;gap:22px}.group-hero-logo{justify-content:flex-start}.group-hero-logo img{max-width:220px}}

/* Keep linked site title identical in size to the homepage title */
.nav h1 a {
  font-size: inherit !important;
  font-weight: inherit !important;
  letter-spacing: inherit !important;
  opacity: 1 !important;
}

.group-credentials{color:var(--muted);font-size:16px;line-height:1.6;margin:14px 0 18px}
.group-hero-logo img{width:100%;max-width:360px;height:auto}
.group-about{display:grid;grid-template-columns:180px minmax(0,1fr);gap:28px;align-items:start}
.group-about-photo img{width:180px;height:180px;object-fit:cover;border-radius:14px;border:1px solid var(--line)}
.group-review-proof{margin:20px 0 8px;padding:16px 18px;border:1px solid var(--line);border-radius:14px;background:var(--card)}
@media(max-width:700px){.group-about{grid-template-columns:1fr}.group-about-photo img{width:140px;height:140px}}

/* ===== Cross-page hero consistency ===== */

/* Both hero layouts use identical column proportions and gap. */
.hero .hero-grid,
.hero .group-hero-integrated {
  grid-template-columns: minmax(0, 760px) 360px !important;
  column-gap: 72px !important;
  justify-content: space-between;
  align-items: center;
}

/* Both logos occupy exactly the same 360px box. */
.hero .hero-logo,
.hero .group-hero-logo {
  width: 360px !important;
  max-width: 360px !important;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero .hero-logo img,
.hero .group-hero-logo img {
  display: block;
  width: 360px !important;
  max-width: 360px !important;
  height: auto !important;
}

/* Match the width, type and line-height of the introductory copy. */
.hero .hero-grid > div:first-child,
.hero .group-hero-integrated > div:first-child {
  width: 100%;
  max-width: 760px;
}
.hero .group-hero-integrated > div:first-child > p {
  max-width: 760px;
}

/* Match the order and vertical rhythm around CTA + summary line. */
.group-credentials {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  margin: 14px 0 0;
}
.group-page .hero .cta-row {
  margin-bottom: 0;
}

/* Keep both pages responsive in the same way. */
@media (max-width: 980px) {
  .hero .hero-grid,
  .hero .group-hero-integrated {
    grid-template-columns: minmax(0, 1fr) 300px !important;
    column-gap: 36px !important;
  }
  .hero .hero-logo,
  .hero .group-hero-logo,
  .hero .hero-logo img,
  .hero .group-hero-logo img {
    width: 300px !important;
    max-width: 300px !important;
  }
}
@media (max-width: 760px) {
  .hero .hero-grid,
  .hero .group-hero-integrated {
    grid-template-columns: 1fr !important;
  }
  .hero .hero-logo,
  .hero .group-hero-logo {
    width: 100% !important;
    max-width: none !important;
    justify-content: flex-start;
  }
  .hero .hero-logo img,
  .hero .group-hero-logo img {
    width: 240px !important;
    max-width: 240px !important;
  }
}

/* ===== Exact hero alignment across homepage and group landing page ===== */
.hero .hero-inner,
.hero .group-hero-integrated {
  display: grid !important;
  grid-template-columns: minmax(0, 760px) 420px !important;
  column-gap: 72px !important;
  justify-content: space-between !important;
  align-items: start !important;
}

.hero .hero-inner > div:first-child,
.hero .group-hero-integrated > div:first-child {
  width: 100% !important;
  max-width: 760px !important;
}

.hero .shared-hero-logo {
  width: 420px !important;
  height: 280px !important;
  padding-top: 38px !important;
  display: flex !important;
  align-items: flex-start !important;
  justify-content: center !important;
  box-sizing: border-box !important;
}

.hero .shared-hero-logo img {
  display: block !important;
  width: 420px !important;
  max-width: 420px !important;
  height: auto !important;
  object-fit: contain !important;
}

/* Keep the group summary in the same position relative to its CTA as the
   homepage credentials line. */
.group-credentials {
  margin-top: 10px !important;
  color: var(--muted) !important;
  font-size: 16px !important;
  line-height: 1.6 !important;
}

@media (max-width: 1050px) {
  .hero .hero-inner,
  .hero .group-hero-integrated {
    grid-template-columns: minmax(0, 1fr) 340px !important;
    column-gap: 36px !important;
  }
  .hero .shared-hero-logo {
    width: 340px !important;
    height: 240px !important;
  }
  .hero .shared-hero-logo img {
    width: 340px !important;
    max-width: 340px !important;
  }
}

@media (max-width: 800px) {
  .hero .hero-inner,
  .hero .group-hero-integrated {
    grid-template-columns: 1fr !important;
  }
  .hero .shared-hero-logo {
    width: 100% !important;
    height: auto !important;
    padding-top: 20px !important;
    justify-content: flex-start !important;
  }
  .hero .shared-hero-logo img {
    width: 260px !important;
    max-width: 260px !important;
  }
}

/* ===== Hero logo overlap fix =====
   Same anchored logo position on both pages, without a fixed-height box. */
.hero .hero-inner,
.hero .group-hero-integrated {
  grid-template-columns: minmax(0, 760px) 420px !important;
  column-gap: 72px !important;
  justify-content: space-between !important;
  align-items: start !important;
}

.hero .shared-hero-logo {
  width: 420px !important;
  max-width: 420px !important;
  height: auto !important;
  min-height: 0 !important;
  padding-top: 38px !important;
  padding-bottom: 0 !important;
  display: flex !important;
  align-items: flex-start !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  position: static !important;
}

.hero .shared-hero-logo img {
  display: block !important;
  width: 420px !important;
  max-width: 420px !important;
  height: auto !important;
  position: static !important;
}

/* Ensure anything following the hero starts only after the full logo height. */
.hero {
  overflow: visible !important;
}
.hero + section {
  clear: both;
}

@media (max-width: 1050px) {
  .hero .hero-inner,
  .hero .group-hero-integrated {
    grid-template-columns: minmax(0, 1fr) 340px !important;
    column-gap: 36px !important;
  }
  .hero .shared-hero-logo {
    width: 340px !important;
    max-width: 340px !important;
    height: auto !important;
  }
  .hero .shared-hero-logo img {
    width: 340px !important;
    max-width: 340px !important;
  }
}
@media (max-width: 800px) {
  .hero .hero-inner,
  .hero .group-hero-integrated {
    grid-template-columns: 1fr !important;
  }
  .hero .shared-hero-logo {
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    padding-top: 20px !important;
    justify-content: flex-start !important;
  }
  .hero .shared-hero-logo img {
    width: 260px !important;
    max-width: 260px !important;
  }
}

/* Exact reuse of homepage summary and review styling on group landing page */
.group-page .hero .group-hero-integrated + .proof-card {
  margin-top: 24px;
}

/* ===== Group form containment ===== */
.group-page form.card,
.group-page form.card * {
  box-sizing: border-box;
}
.group-page form.card input:not([type="checkbox"]):not([type="hidden"]),
.group-page form.card select,
.group-page form.card textarea {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
}

/* ===== Strategy callout alignment =====
   Keep it within the same site container/card width as the other content. */
.group-page .group-strategy-callout {
  width: 100% !important;
  max-width: 100% !important;
  margin: 28px 0 0 !important;
  box-sizing: border-box !important;
}

/* Final containment safeguards */
.group-page #groupForm {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}
.group-page #groupForm input:not([type="checkbox"]):not([type="hidden"]),
.group-page #groupForm select,
.group-page #groupForm textarea {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* Match the strategy callout to the homepage TMUA/ESAT callout */
.group-page .group-strategy-callout {
  padding: 22px !important;
}
.group-page .group-strategy-callout h4 {
  font-size: 24px !important;
  line-height: 1.25 !important;
  margin: 0 0 12px !important;
}
.group-page .group-strategy-callout p {
  font-size: 16px !important;
  line-height: 1.6 !important;
  margin: 0 !important;
  color: var(--fg) !important;
}

/* ===== Group-page card consistency ===== */
.group-page .grid3 > .card,
.group-page .grid4 > .card {
  border: 1px solid var(--line) !important;
  border-radius: 14px !important;
  background: var(--card) !important;
  box-shadow: none !important;
}

/* Keep card padding and heading spacing consistent across both sections. */
.group-page .grid3 > .card,
.group-page .grid4 > .card {
  padding: 22px !important;
}
.group-page .grid3 > .card h3,
.group-page .grid3 > .card h4,
.group-page .grid4 > .card h3,
.group-page .grid4 > .card h4 {
  margin-top: 0 !important;
}

/* ===== Exact typography consistency across group-page cards ===== */
.group-page .grid3 > .card h3,
.group-page .grid3 > .card h4,
.group-page .grid4 > .card h3,
.group-page .grid4 > .card h4 {
  font-size: 22px !important;
  line-height: 1.3 !important;
  font-weight: 700 !important;
  margin: 0 0 16px !important;
}

.group-page .grid3 > .card p,
.group-page .grid3 > .card li,
.group-page .grid4 > .card p,
.group-page .grid4 > .card li {
  font-size: 16px !important;
  line-height: 1.6 !important;
}

.group-page .grid3 > .card .small,
.group-page .grid4 > .card .small {
  font-size: 14px !important;
  line-height: 1.5 !important;
}


/* ===== Homepage polish pass ===== */
.hero-personal { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:14px; }
.hero-personal .hero-photo { width:250px; height:250px; object-fit:cover; border-radius:50%; box-shadow:0 12px 30px rgba(0,0,0,.14); }
.hero-personal .hero-mini-logo { width:150px; height:auto; object-fit:contain; }
.home-group-strip { padding:18px 0 !important; }
.home-group-strip .group-strip-inner { border-left:4px solid var(--accent); padding:12px 18px; display:flex; align-items:center; justify-content:space-between; gap:24px; background:var(--card); border-radius:0 12px 12px 0; }
.home-group-strip h3 { margin:0 0 4px; font-size:21px; }
.home-group-strip p { margin:0; line-height:1.45; }
.home-group-strip .group-strip-meta { margin-top:5px; }
.home-group-strip .btn { flex:0 0 auto; }
.teach-section .grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
.lesson-demo { margin:0 auto 24px; max-width:900px; }
.lesson-demo img { width:100%; max-height:410px; object-fit:cover; object-position:top; border-radius:14px; display:block; }
.lesson-demo figcaption { margin-top:8px; text-align:center; font-size:14px; color:var(--muted); }
.fit-note { margin-top:14px; }
@media (max-width:900px){
 .teach-section .grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .hero-personal .hero-photo { width:210px; height:210px; }
 .home-group-strip .group-strip-inner { align-items:flex-start; }
}
@media (max-width:600px){
 .teach-section .grid { grid-template-columns:1fr; }
 .home-group-strip .group-strip-inner { flex-direction:column; gap:12px; }
 .hero-personal .hero-photo { width:180px; height:180px; }
 .lesson-demo img { max-height:260px; }
}


/* ===== Group landing page final visual fixes ===== */
.group-page .hero .group-hero-integrated {
  grid-template-columns: minmax(0, 760px) 420px !important;
  column-gap: 72px !important;
  justify-content: space-between !important;
  align-items: center !important;
}
.group-page .hero .hero-personal {
  width: 420px;
  justify-self: center;
}
.group-page .group-price-card {
  padding: 28px 30px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  gap: 16px !important;
}
.group-page .group-price-main {
  display: flex !important;
  align-items: baseline !important;
  gap: 7px !important;
  margin: 0 !important;
  line-height: 1 !important;
}
.group-page .group-price {
  display: inline-block !important;
  font-family: inherit !important;
  font-size: 34px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  margin: 0 !important;
}
.group-page .group-price-unit {
  display: inline-block !important;
  font-family: inherit !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
}
.group-page .group-price-details {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 8px !important;
  margin: 0 !important;
  font-family: inherit !important;
  font-size: 17px !important;
  line-height: 1.55 !important;
}
.group-page .group-price-details strong,
.group-page .group-price-details span {
  display: block !important;
  margin: 0 !important;
  font-family: inherit !important;
  font-size: inherit !important;
  line-height: inherit !important;
}
.group-page .group-price-details strong { font-weight: 700 !important; }
@media (max-width: 1050px) {
  .group-page .hero .group-hero-integrated {
    grid-template-columns: minmax(0, 1fr) 340px !important;
    column-gap: 36px !important;
  }
  .group-page .hero .hero-personal { width: 340px; }
}
@media (max-width: 800px) {
  .group-page .hero .group-hero-integrated { grid-template-columns: 1fr !important; }
  .group-page .hero .hero-personal { width: 100%; align-items:flex-start; }
}

/* ===== Shared hero identity: portrait + prominent logo side by side ===== */
.hero-personal {
  width: 520px !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 28px !important;
}
.hero-personal .hero-photo {
  width: 235px !important;
  height: 235px !important;
  flex: 0 0 235px !important;
}
.hero-personal .hero-mini-logo {
  width: 245px !important;
  max-width: 245px !important;
  height: auto !important;
  flex: 0 0 245px !important;
}
.hero .hero-inner,
.hero .group-hero-integrated {
  grid-template-columns: minmax(0, 720px) 520px !important;
  column-gap: 48px !important;
  align-items: center !important;
}
.group-page .hero .hero-personal { width: 520px !important; }

@media (max-width: 1150px) {
  .hero .hero-inner,
  .hero .group-hero-integrated {
    grid-template-columns: minmax(0, 1fr) 430px !important;
    column-gap: 30px !important;
  }
  .hero-personal,
  .group-page .hero .hero-personal { width: 430px !important; gap:20px !important; }
  .hero-personal .hero-photo { width:200px !important; height:200px !important; flex-basis:200px !important; }
  .hero-personal .hero-mini-logo { width:210px !important; max-width:210px !important; flex-basis:210px !important; }
}
@media (max-width: 800px) {
  .hero .hero-inner,
  .hero .group-hero-integrated { grid-template-columns:1fr !important; }
  .hero-personal,
  .group-page .hero .hero-personal {
    width:100% !important;
    flex-direction:row !important;
    justify-content:center !important;
    align-items:center !important;
    margin-top:20px;
  }
}
@media (max-width: 520px) {
  .hero-personal,
  .group-page .hero .hero-personal { gap:14px !important; }
  .hero-personal .hero-photo { width:145px !important; height:145px !important; flex-basis:145px !important; }
  .hero-personal .hero-mini-logo { width:155px !important; max-width:155px !important; flex-basis:155px !important; }
}

/* ===== Pricing card refinement ===== */
.group-page #groups .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.group-page #groups .card h3 { font-size: 21px !important; white-space: nowrap; }
.group-page .group-price-card { gap: 14px !important; }
.group-page .group-price-details { gap: 12px !important; }
.group-page .group-price-benefits { margin: 2px 0 4px 0 !important; padding: 0 !important; list-style: none !important; }
.group-page .group-price-benefits li { margin: 0 0 7px !important; padding-left: 24px; position: relative; font-size: 16px !important; line-height: 1.45 !important; }
.group-page .group-price-benefits li::before { content: "✓"; position: absolute; left: 0; font-weight: 700; color: var(--accent); }
.group-page .group-price-card .btn { margin-top: 2px; }
@media (max-width: 1100px) {
  .group-page #groups .card h3 { white-space: normal; }
}
@media (max-width: 900px) {
  .group-page #groups .grid { grid-template-columns: 1fr; }
}
\n\n/* ===== FINAL SITE-WIDE TYPOGRAPHY AND CARD CONSISTENCY ===== */
/* Section headings: same visual hierarchy on both pages. */
main section > .container > h2,
main section > .container > h3 {
  font-size: clamp(24px, 3.2vw, 30px) !important;
  line-height: 1.25 !important;
  font-weight: 750 !important;
  margin: 0 0 20px !important;
  color: var(--fg) !important;
  letter-spacing: 0 !important;
}

/* Secondary headings outside cards. */
main section > .container > h3.subheading {
  font-size: 20px !important;
  line-height: 1.3 !important;
  font-weight: 700 !important;
  margin: 34px 0 16px !important;
  color: var(--fg) !important;
  border: 0 !important;
  padding: 0 !important;
}

/* All ordinary content cards share one visual treatment. */
.card {
  background: var(--card) !important;
  border: 1px solid var(--line) !important;
  border-radius: 14px !important;
  padding: 22px !important;
  box-shadow: none !important;
  color: var(--fg) !important;
  box-sizing: border-box !important;
}

/* All card titles use the same typography regardless of h3/h4 markup. */
.card > h3,
.card > h4,
.card > div > h3,
.card > div > h4 {
  font-size: 21px !important;
  line-height: 1.3 !important;
  font-weight: 700 !important;
  margin: 0 0 14px !important;
  color: var(--fg) !important;
  letter-spacing: 0 !important;
}

/* Consistent body copy and lists inside cards. */
.card p,
.card li {
  font-size: 16px !important;
  line-height: 1.6 !important;
  color: var(--fg) !important;
}
.card p { margin-top: 0; }
.card ul:not(.group-price-benefits) { margin-top: 12px; }

/* The group price card is important through content, not a different border. */
.group-page .group-callout,
.group-page .group-price-card,
.group-page .group-strategy-callout {
  border: 1px solid var(--line) !important;
  background: var(--card) !important;
  box-shadow: none !important;
}

/* Price card typography keeps the price prominent while matching the site font. */
.group-page .group-price-card {
  padding: 22px !important;
}
.group-page .group-price {
  font-family: inherit !important;
  font-size: 34px !important;
  line-height: 1 !important;
  font-weight: 800 !important;
}
.group-page .group-price-unit {
  font-family: inherit !important;
  font-size: 16px !important;
  line-height: 1.4 !important;
  font-weight: 400 !important;
}
.group-page .group-price-details,
.group-page .group-price-details strong,
.group-page .group-price-details span,
.group-page .group-price-benefits li {
  font-family: inherit !important;
  font-size: 16px !important;
  line-height: 1.55 !important;
}

/* Remove the earlier special oversized strategy-callout heading. */
.group-page .group-strategy-callout h4 {
  font-size: 21px !important;
  line-height: 1.3 !important;
  margin: 0 0 14px !important;
}
.group-page .group-strategy-callout p {
  font-size: 16px !important;
  line-height: 1.6 !important;
}

/* Form and explanatory cards follow the same title/body system. */
.group-page #register .card h3 {
  font-size: 21px !important;
  line-height: 1.3 !important;
  font-weight: 700 !important;
  margin-bottom: 14px !important;
}
