/* ─────────────────────────────────────────────────────────────────────────────
   TEMP COLLECTIVE — main.css
   Shared design system. Every page imports this.
   ───────────────────────────────────────────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Archivo:wght@800;900&display=swap');

/* Akira Expanded — hosted on Squarespace CDN.
   To self-host: download font.woff2, place in /assets/fonts/, update src below. */
@font-face {
  font-family: 'Akira';
  src: url('https://file.squarespace-cdn.com/content/v2/namespaces/fonts/libraries/6964bf8bb49d680ca8a11e00/assets/9771e8c7-8387-42bb-89d8-c75c4fc48647/font.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* ── TOKENS ────────────────────────────────────────────────────────────────── */
:root {
  --red:    #ec0e0e;
  --ink:    #242424;
  --paper:  #f5f5f5;
  --white:  #ffffff;
  --dark:   #1a1a1a;
  --muted:  #8a8a85;
  --border: #e0e0dc;
  --border-muted: #c0c0bb;

  --dark-mid:  #3a3a3a;   /* Rising / mid-gray sections */
  --dark-card: #2a2a2a;   /* Intensive dark cards */
  --essentials: #f4b400;  /* Essentials — gold */
  --rising:     #ff6a13;  /* Rising — orange */
  --intensive:  #ec0e0e;  /* Intensive — red (matches --red) */

  --font-display: 'Akira', 'Archivo', sans-serif;
  --font-body:    'Poppins', sans-serif;

  --fs-section: clamp(36px, 6.5vw, 68px);
  --fs-title:   clamp(20px, 2.5vw, 32px);
  --fs-lead:    17px;
  --fs-body:    15px;
  --fs-small:   13px;
  --fs-micro:   11px;

  --wrap:       1200px;
  --wrap-wide:  1440px;
  --gutter:     clamp(20px, 4vw, 40px);
  --section-y:  clamp(72px, 9vw, 108px);
  --radius-btn: 300px;
}

/* ── RESET ─────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
img, video { display: block; max-width: 100%; }
a     { color: inherit; text-decoration: none; }
button { border: none; background: none; cursor: pointer; font: inherit; color: inherit; }
ul    { list-style: none; }

/* ── BASE ──────────────────────────────────────────────────────────────────── */
body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--red); color: #fff; }

/* ── LAYOUT ────────────────────────────────────────────────────────────────── */
.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap-wide {
  max-width: var(--wrap-wide);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ── TYPOGRAPHY ────────────────────────────────────────────────────────────── */
.display {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.93;
  letter-spacing: -0.01em;
}
.eyebrow {
  font-size: var(--fs-micro);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--red);
}
.red { color: var(--red); }

/* ── BUTTON ────────────────────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 14px 44px;
  border-radius: var(--radius-btn);
  transition: opacity .15s, transform .12s;
  white-space: nowrap;
  cursor: pointer;
}
.btn:hover { opacity: .85; transform: translateY(-1px); }

/* ── SECTION HEADER ────────────────────────────────────────────────────────── */
.sec-head {
  text-align: center;
  padding-top: var(--section-y);
  padding-bottom: 52px;
}
.sec-head .badge {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  padding: 6px 16px;
  border-radius: 30px;
  margin-bottom: 20px;
}
.sec-head .badge.dark { background: var(--dark); }
.sec-head h2 {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: var(--fs-section);
  line-height: 0.95;
  letter-spacing: -0.01em;
}
.sec-head .rule {
  width: 52px;
  height: 4px;
  background: var(--red);
  margin: 18px auto 0;
}
.sec-head .sub {
  margin: 18px auto 0;
  max-width: 560px;
  font-size: var(--fs-lead);
  color: var(--muted);
  line-height: 1.55;
}

/* ── ACCORDION ─────────────────────────────────────────────────────────────── */
.accordion      { border-top: 1px solid var(--border); }
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-btn  {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-align: left;
  color: var(--ink);
}
.accordion-icon {
  position: relative;
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1.5px solid rgba(36,36,36,0.35);
  font-size: 0;
  margin-left: 20px;
  transition: transform .2s, background .2s, border-color .2s, color .2s;
}
.accordion-icon::before,
.accordion-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 1.5px;
  background: currentColor;
  transform: translate(-50%, -50%);
}
.accordion-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}
.accordion-item.open .accordion-icon {
  transform: rotate(45deg);
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .28s ease, padding .28s ease;
  padding: 0;
  font-size: var(--fs-body);
  color: var(--muted);
  line-height: 1.7;
}
.accordion-item.open .accordion-body {
  max-height: 1200px;
  padding-bottom: 24px;
}
.accordion-body ul { list-style: none; }
.accordion-body ul li {
  padding: 6px 0 6px 20px;
  position: relative;
}
.accordion-body ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 700;
}

/* ── STATS BAR ─────────────────────────────────────────────────────────────── */
.stats-bar   { background: var(--dark); }
.stats-grid  {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-cell   {
  padding: 44px 24px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.stat-cell:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(42px, 5.5vw, 68px);
  line-height: 1;
  color: var(--red);
}
.stat-lbl {
  margin-top: 10px;
  font-size: var(--fs-micro);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.6);
}

/* ── TESTIMONIAL CAROUSEL ──────────────────────────────────────────────────── */
.testi-track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 2px;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.testi-track::-webkit-scrollbar { display: none; }
.testi-card {
  flex: 0 0 400px;
  scroll-snap-align: start;
  background: var(--white);
  border: 1px solid var(--border);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.testi-top {
  display: flex;
  align-items: center;
  gap: 14px;
}
.testi-avatar-init {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--dark);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.testi-avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  flex-shrink: 0;
}
.testi-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--fs-title);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1;
  color: var(--ink);
}
.testi-prog {
  font-size: var(--fs-micro);
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}
.testi-quote {
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--muted);
  flex: 1;
}
.testi-quote::before { content: '\201C'; color: var(--red); font-weight: 700; font-style: normal; }
.testi-quote::after  { content: '\201D'; color: var(--red); font-weight: 700; font-style: normal; }
.carousel-controls {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  justify-content: flex-end;
}
.carousel-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  transition: background .15s, color .15s, border-color .15s;
}
.carousel-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ── AFFILIATE TICKER ──────────────────────────────────────────────────────── */
.affiliates-label {
  text-align: center;
  font-size: var(--fs-micro);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--red);
  padding-bottom: 20px;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.affiliate-strip {
  overflow: hidden;
  padding: 28px 0;
  min-height: 128px; /* 72px logo + 28px padding top/bottom */
}
.affiliate-track {
  display: flex;
  gap: 72px;
  width: max-content;
  align-items: center;
  animation: ticker 30s linear infinite;
  will-change: transform;
}
@media (hover: hover) {
  .affiliate-strip:hover .affiliate-track.ready { animation-play-state: paused; }
}
.affiliate-logo {
  height: 72px;
  width: auto;
  min-width: 60px;
  filter: grayscale(1) brightness(0);
  flex-shrink: 0;
  opacity: 1;
  transition: opacity .2s;
}
@media (hover: hover) {
  .affiliate-logo:hover { opacity: 0.6; }
}
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── HEADER ────────────────────────────────────────────────────────────────── */
#site-header { position: sticky; top: 0; z-index: 100; transition: transform .3s ease; }
@media (max-width: 860px) {
  #site-header.header-hidden { transform: translateY(-100%); }
}
.site-header {
  background: rgba(245,245,245,0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 0 11px;
  position: relative;
}
.site-logo-img { height: 44px; width: auto; display: block; }
.site-nav {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 36px;
}
.site-nav > a,
.nav-drop > a {
  font-size: var(--fs-small);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink);
  transition: color .12s;
}
.site-nav > a:hover,
.nav-drop > a:hover { color: var(--red); }
.site-nav > a.active {
  color: #242424;
  border: 1.5px solid var(--border-muted);
  padding: 5px 14px;
  border-radius: 300px;
}
.nav-drop { display: flex; align-items: center; position: relative; }
.nav-drop::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 6px;
  background: transparent;
}
.nav-drop-menu {
  display: none;
  position: absolute;
  top: 100%;
  margin-top: 2px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border: 1px solid var(--border);
  min-width: 190px;
  z-index: 101;
}
.nav-drop-menu a {
  display: block;
  padding: 11px 16px;
  font-size: var(--fs-micro);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink);
  border-bottom: 1px solid var(--border);
  transition: color .12s, background .12s;
}
.nav-drop-menu a:last-child { border-bottom: none; }
.nav-drop-menu a:hover { background: var(--paper); color: var(--red); }
.nav-drop:hover .nav-drop-menu { display: block; }

/* ── FOOTER ────────────────────────────────────────────────────────────────── */
.site-footer {
  background: #000;
  color: #fff;
  padding: 56px 0 48px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
}
.footer-tagline {
  margin-top: 12px;
  font-size: var(--fs-small);
  color: rgba(255,255,255,0.55);
  max-width: 220px;
  line-height: 1.6;
}
.footer-col h4 {
  font-size: var(--fs-micro);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: var(--fs-small);
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  margin-bottom: 10px;
  transition: color .12s;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: var(--fs-micro);
  color: rgba(255,255,255,0.35);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

/* ── RESPONSIVE ────────────────────────────────────────────────────────────── */
@media (max-width: 860px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-cell:nth-child(2) { border-right: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; }

  .mentor-stats-row {
    gap: 16px;
    flex-wrap: wrap;
  }

  .tier-badge-row { width: 100%; }
}
@media (max-width: 600px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-cell { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .stat-cell:nth-child(3), .stat-cell:nth-child(4) { border-bottom: none; }
  .site-nav { gap: 18px; }
  .site-nav > a, .nav-drop > a { font-size: 11px; }
  .footer-inner { grid-template-columns: 1fr; }
  .testi-card { flex: 0 0 290px; }

  .site-nav > a.active {
    padding: 3px 10px;
    border-radius: 300px;
  }

  .join-cta-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .sec-head .sub { max-width: 100%; }

  .carousel-controls { justify-content: flex-start; }
}

/* ── NAV BADGE ─────────────────────────────────────────────────────────────── */
.nav-badge-open {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: var(--red);
  color: #fff;
  padding: 2px 7px;
  border-radius: 20px;
  margin-left: 4px;
}

/* ── SECTION BACKGROUNDS ───────────────────────────────────────────────────── */
.mentor-section      { background: #f5f5f5; }
.testi-section       { background: #f5f5f5; border-top: 1px solid var(--border); }
.faq-section         { background: #ffffff; }
.affiliates-section  { background: #ffffff; }

/* ── PRICING TIERS ─────────────────────────────────────────────────────────── */
.tiers-section { background: #ffffff; padding-bottom: var(--section-y); }
.tiers-section .wrap { max-width: var(--wrap-wide); }

.pricing-toggle-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 36px;
}
.pricing-toggle {
  display: flex;
  border: 1.5px solid var(--border);
  border-radius: 300px;
  overflow: hidden;
}
.pt-btn {
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 10px 24px;
  border: none;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: background .2s, color .2s;
}
.pt-btn.active {
  background: var(--ink);
  color: #fff;
}

.tier-col { display: flex; flex-direction: column; position: relative; margin-left: -1px; }

.tier-badge-row {
  width: 100%;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}
.tier-badge-row:has(.tier-badge.dark) {
  background: #ec0e0e;
}
.tier-badge {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--ink);
  background: transparent;
  border: none;
  padding: 0;
}
.tier-badge.dark {
  color: #fff;
  background: transparent;
  border: none;
}
/* Empty badge row still reserves its 38px so all cards align */

.tier-card {
  padding: 24px 20px 20px;
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--border);
  text-align: center;
}
.tier-card.dark, .tier-card.mid-dark {
  border-color: rgba(255,255,255,0.07);
}
/* Preserve dark card backgrounds + text color */
.tier-card.dark { background: var(--dark-card); color: #fff; }
.tier-card.mid-dark { background: var(--dark-mid); color: #fff; }

/* Icon */
.tier-icon-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
}
.tier-icon {
  height: 36px;
  width: auto;
  max-width: 60px;
  object-fit: contain;
}

/* Name */
.tier-name-wrap { margin-bottom: 6px; }
.tier-name {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: var(--fs-title);
  line-height: 1;
  text-align: center;
}
.tier-name .accent { color: var(--red); }

/* Desc */
.tier-desc-wrap { margin-bottom: 16px; }
.tier-desc {
  font-size: var(--fs-small);
  color: var(--muted);
  text-align: center;
  line-height: 1.5;
}
.dark .tier-desc,
.mid-dark .tier-desc { color: rgba(255,255,255,0.5); }

/* Price area — layout C */
.tier-pricing {
  margin-top: 8px;
  margin-bottom: 20px;
  padding-top: 16px;
}
.tier-price-main {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  line-height: 1;
}
.tier-price {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(32px, 3.5vw, 44px);
  line-height: 1;
}
.tier-per {
  font-size: var(--fs-small);
  color: var(--muted);
}
.dark .tier-per,
.mid-dark .tier-per { color: rgba(255,255,255,0.4); }

.tier-price-sub {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 6px;
  flex-wrap: wrap;
}
.tier-sub-monthly,
.tier-sub-onetime {
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--muted);
}
.dark .tier-sub-monthly,
.dark .tier-sub-onetime,
.mid-dark .tier-sub-monthly,
.mid-dark .tier-sub-onetime { color: rgba(255,255,255,0.4); }

.tier-save {
  font-size: var(--fs-micro);
  font-weight: 700;
  color: #22c55e;
  border: 1px solid rgba(34,197,94,0.35);
  padding: 2px 8px;
  border-radius: 20px;
  white-space: nowrap;
}

/* Global toggle — monthly/onetime switching */
.tier-price-onetime, .tier-per-onetime, .tier-sub-onetime { display: none; }
.show-onetime .tier-price-monthly  { display: none !important; }
.show-onetime .tier-per-monthly    { display: none !important; }
.show-onetime .tier-sub-monthly    { display: none !important; }
.show-onetime .tier-price-onetime  { display: inline !important; }
.show-onetime .tier-per-onetime    { display: inline !important; }
.show-onetime .tier-sub-onetime    { display: inline !important; }
.show-onetime .tier-save           { display: none !important; }

/* Features — no borders between items */
.tier-features {
  list-style: none;
  margin: 20px 0 0;
  text-align: left;
  max-width: 280px;
  margin-left: auto;
  margin-right: auto;
}
.tier-feature {
  text-align: left;
  display: flex;
  gap: 8px;
  font-size: var(--fs-small);
  line-height: 1.45;
  padding: 4px 0;
  color: var(--ink);
}
.dark .tier-feature,
.mid-dark .tier-feature { color: rgba(255,255,255,0.75); }
.tier-feature.highlight { font-weight: 700; }
.tier-feature.red-feature .tier-feature-text { color: var(--red); font-weight: 700; }
.tier-feature-text { flex: 1; }
.tier-check {
  color: var(--red);
  font-size: 9px;
  flex-shrink: 0;
  margin-top: 3px;
}

/* Hidden features — collapsed by default */
.tier-feature-hidden {
  display: none;
}
.tier-features.features-open .tier-feature-hidden {
  display: flex;
}

/* More toggle — minimal */
.tier-more-btn {
  font-family: var(--font-body);
  font-size: var(--fs-micro);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: transparent;
  border: none;
  color: var(--muted);
  cursor: pointer;
  margin-top: 4px;
  padding: 6px 0;
  display: block;
  text-align: center;
  width: 100%;
}
.tier-more-btn:focus { outline: none; }
.dark .tier-more-btn,
.mid-dark .tier-more-btn { color: rgba(255,255,255,0.35); }
.tier-more-btn:hover { color: var(--ink); }
.dark .tier-more-btn:hover,
.mid-dark .tier-more-btn:hover { color: #fff; }

/* CTA */
.tier-cta { margin-top: auto; padding-top: 16px; }
.tier-cta .btn {
  display: block;
  width: 100%;
  text-align: center;
}

/* Remove any divider/border inside cards */
.tier-card hr,
.tier-card .divider { display: none; }

.tiers-track { width: 100%; margin-bottom: 0; }
.tiers-track + .tiers-track { margin-top: 56px; }
.tiers-track-pair + .tiers-track { margin-top: 56px; }
.track-label {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.track-label::before,
.track-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.track-label span {
  font-size: var(--fs-small);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--ink);
  background: var(--paper);
  padding: 6px 20px;
  border: 1px solid var(--border);
  border-radius: 30px;
  margin: 0 14px;
  white-space: nowrap;
}
.tiers-row {
  display: grid;
}
.tiers-row.three { grid-template-columns: 1fr 1fr 1fr; }

/* Foundational + Performance side by side on desktop */
.tiers-track-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
  max-width: 900px;
  margin-inline: auto;
}
/* Reset the between-track top margin inside the pair — they're side by side, not stacked */
.tiers-track-pair .tiers-track + .tiers-track { margin-top: 0; }
/* Each single card fills its half of the pair */
.tiers-row.single-pair { display: block; }
.tiers-row.single-pair .tier-col {
  margin-left: 0;
  max-width: 380px;
  margin-inline: auto;
}
/* keep the label pill centered over each card */
.tiers-track-pair .track-label { margin-inline: auto; }

/* Match Foundational + Performance card heights (separate rows, so
   equalizeTierHeights() never compares them against each other) */
.tiers-track-pair .tiers-track {
  display: flex;
  flex-direction: column;
}
.tiers-track-pair .tiers-row.single-pair {
  flex: 1;
  display: flex;
}
.tiers-track-pair .tiers-row.single-pair .tier-col {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.tiers-track-pair .tier-card {
  flex: 1;
}

@media (max-width: 960px) {
  .tiers-row.three { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .tiers-track-pair {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .tiers-track-pair + .tiers-track { margin-top: 40px; }
  .tiers-row.single-pair .tier-col {
    max-width: 380px;
    margin-inline: auto;
  }
}

/* MOBILE — always 1 column */
@media (max-width: 600px) {
  .tiers-row.three {
    grid-template-columns: 1fr;
  }
  .tiers-track-pair { max-width: 100%; }
  .tiers-row.single-pair .tier-col {
    margin-left: 0;
    margin-top: 0;
    max-width: none;
    margin-inline: 0;
  }
  .tier-col { margin-left: 0; margin-top: 24px; max-width: none; }
  .tier-col:first-child { margin-top: 0; }
  .tier-card { margin-left: 0; }
  .tier-badge-row { margin-left: 0; }
  /* stacked column — no cross-card alignment to preserve, so collapse
     empty badge rows and let labels hug the cards they introduce */
  .tier-badge-row:empty { display: none; }
}
