/* ═══════════════════════════════════════════════════════════
   BUDGET CHALLENGE — PROGRAM PAGE (preview, v2)
   Two-pillar frame: Teach the textbook. Coach the simulation.
   Visual language matches StateStandards / Sponsors / Effectiveness.
   ═══════════════════════════════════════════════════════════ */

:root {
  --bc-blue: #4070B8;
  --bc-blue-dark: #1A4E8A;
  --bc-blue-soft: #E8F0FA;
  --bc-green: #70B840;
  --bc-amber: #EC971F;
  --bc-purple: #4C40B8;
  --bc-text: rgb(65, 65, 65);
  --bc-body: rgb(114, 113, 113);
  --bc-secondary: rgb(85, 85, 85);
  --bc-border: #CCCCCC;
  --bc-light-bg: #F9F9F9;
  --bc-light-bg-2: #F5F5F5;
  --bc-card-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 4px 12px rgba(0,0,0,0.04);
  --bc-card-shadow-hover: 0 8px 24px rgba(0,0,0,0.12), 0 2px 6px rgba(0,0,0,0.06);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: 'Open Sans', Arial, sans-serif;
  color: var(--bc-text);
  background: #FFFFFF;
  line-height: 1.5;
}
a { color: var(--bc-blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4, h5 { font-family: 'Ubuntu', sans-serif; font-weight: 500; color: var(--bc-text); }

.container { max-width: 1140px; margin: 0 auto; padding: 0 32px; }

/* ─── Site header (preview only — DNN supplies real header in production) ─── */
.site-header {
  border-bottom: 1px solid var(--bc-border);
  padding: 14px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
}
.site-header .brand { font-family: 'Ubuntu', sans-serif; font-weight: 700; font-size: 18px; color: var(--bc-blue); }
.site-header nav a {
  margin-left: 22px;
  color: var(--bc-text);
  font-size: 14px;
  font-weight: 600;
}

.bc-section { padding: 56px 0; }
.bc-section h2 { font-size: 30px; margin: 0 0 12px; line-height: 1.2; letter-spacing: -0.3px; }
.bc-section .section-lede { font-size: 17px; color: var(--bc-body); max-width: 760px; margin: 0 0 28px; }

/* ═══ HERO ═══ */
.bc-ss-hero { background: var(--bc-light-bg); padding: 72px 0 56px; }
.bc-ss-hero .container { text-align: center; }
.bc-ss-hero h1 {
  font-size: 52px;
  font-weight: 800;
  margin: 0 0 18px;
  letter-spacing: -1px;
  line-height: 1.05;
}
.bc-ss-hero h1 .accent { color: var(--bc-blue); }
.bc-ss-hero .subhead {
  font-size: 19px;
  color: var(--bc-body);
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.55;
}
.bc-ss-hero .subhead strong { color: var(--bc-text); }
.bc-ss-hero .reg { font-size: 0.55em; vertical-align: super; font-weight: 400; color: var(--bc-body); }

/* ═══ BLUE BANNER — Teach the textbook. Coach the simulation. + EIFLE ═══ */
.bc-banner-blue {
  background: var(--bc-blue);
  color: white;
  padding: 40px 0 60px;
  position: relative;
  overflow: visible;
}

.banner-row-3col {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
  align-items: center;
  color: white;
}
.banner-row-3col .pillar-half {
  font-family: 'Ubuntu', sans-serif;
  font-size: 38px;
  font-weight: 500;
  line-height: 1.15;
  margin: 0;
  color: white;
  white-space: nowrap;
}
.banner-row-3col .pillar-half.left { text-align: right; }
.banner-row-3col .pillar-half.right { text-align: left; }
@media (max-width: 820px) {
  .banner-row-3col { grid-template-columns: 1fr; gap: 28px; }
  .banner-row-3col .pillar-half.left,
  .banner-row-3col .pillar-half.right { text-align: center; }
  .banner-row-3col .pillar-half { font-size: 30px; white-space: normal; }
}

/* "Teach" / "Coach" — italicized + slightly larger than the rest.
   margin-right adds breathing room because the italic slant compresses
   the visual gap to the next word. */
.banner-row-3col .role {
  font-style: italic;
  font-size: 1.18em;
  font-weight: 500;
  letter-spacing: -0.5px;
  margin-right: 0.32em;
}

/* EIFLE in the center column */
.banner-eifle-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.banner-eifle-stack img {
  height: 106px;
  width: auto;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.22));
}
.banner-eifle-stack .label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  font-weight: 700;
  text-align: center;
  line-height: 1.35;
  color: white;
  opacity: 0.95;
}
.banner-eifle-stack .label .three-time { display: block; font-size: 14px; }
.banner-eifle-stack .label strong { display: block; font-size: 16px; letter-spacing: 0.5px; }
.banner-eifle-stack .eifle-explainer {
  margin-top: 2px;
  text-align: center;
  line-height: 1.25;
  color: white;
  opacity: 0.78;
  max-width: 220px;
}
.banner-eifle-stack .eifle-explainer .tagline {
  display: block;
  font-style: italic;
  font-size: 10.5px;
  letter-spacing: 0.2px;
}
.banner-eifle-stack .eifle-explainer .awarder {
  display: block;
  font-size: 9.5px;
  letter-spacing: 0.1px;
  margin-top: 1px;
  opacity: 0.92;
}

/* Keyword treatment — colored underline + downward chevron, no horizontal padding so periods sit flush */
.kw {
  position: relative;
  display: inline-block;
  padding: 0 0 8px;
  color: white;
}
.kw::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: 0;
  height: 5px;
  border-radius: 3px;
}
.kw::before {
  content: '';
  position: absolute;
  left: 50%; bottom: -34px;
  transform: translateX(-50%);
  width: 0; height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
}
.kw.to-textbook::after    { background: var(--bc-green); }
.kw.to-textbook::before   { border-top: 14px solid var(--bc-green); }
.kw.to-simulation::after  { background: var(--bc-amber); }
.kw.to-simulation::before { border-top: 14px solid var(--bc-amber); }

/* ═══ SEMESTER GRAPHIC ═══ */
.bc-ss-semester { background: white; padding: 56px 0 64px; }
.bc-ss-semester h2 { text-align: center; font-size: 26px; margin: 0 0 8px; }
.bc-ss-semester .section-lede { text-align: center; margin: 0 auto 36px; max-width: 740px; }

.semester-graphic { max-width: 940px; margin: 0 auto; }

.sem-strip-label {
  text-align: center;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--bc-secondary);
  font-weight: 700;
  margin-bottom: 10px;
}

.sem-weeks {
  display: grid;
  grid-template-columns: repeat(18, 1fr);
  gap: 3px;
  margin-bottom: 30px;
}
.sem-weeks .wk {
  background: var(--bc-green);
  color: white;
  font-size: 11px;
  font-weight: 600;
  text-align: center;
  padding: 10px 0;
  border-radius: 3px;
}

.sem-sim-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 20px;
  animation: simSlide 11s ease-in-out infinite;
  will-change: transform;
}
.sem-arrow {
  font-size: 26px;
  color: var(--bc-secondary);
  user-select: none;
  opacity: 0.85;
}
/* Combined slidable unit: 2-week Setup (amber) + 10-week Simulation (green).
   Total width = 12 of 18 weeks = 66.7% of parent. Inner flex weights match
   the actual week counts (2 + 10). */
.sem-combined-block {
  display: flex;
  width: 66.7%;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}
.sem-setup-block {
  background: var(--bc-amber);
  color: white;
  flex: 2;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.sem-sim-block {
  background: var(--bc-blue);
  color: white;
  flex: 10;
  padding: 16px 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.sem-setup-block .label-major,
.sem-sim-block .label-major {
  font-family: 'Ubuntu', sans-serif;
  font-weight: 700;
  line-height: 1.15;
}
.sem-sim-block   .label-major { font-size: 18px; }
.sem-setup-block .label-major { font-size: 13px; }
.sem-setup-block .label-minor,
.sem-sim-block .label-minor {
  opacity: 0.95;
  margin-top: 4px;
  letter-spacing: 0.3px;
}
.sem-sim-block   .label-minor { font-size: 12px; }
.sem-setup-block .label-minor { font-size: 10px; }
@media (max-width: 700px) {
  .sem-combined-block { width: 86%; }
}

/* Subtle slide animation applied to the whole .sem-sim-row so the arrows + setup +
   simulation all translate together as a single unit. Pattern:
   forward 1 week → back 2 weeks → forward 1 → forward 1 → smooth return.
   Each move takes ~1.65s, then a ~0.55s hold before the next move (≈0.5s pause).
   Translate values are % of the row's full width. 1 week of an 18-week
   semester ≈ 5.6% of the row. */
@keyframes simSlide {
  0%   { transform: translateX(0); }
  15%  { transform: translateX(5.6%); }    /* moved +1 week */
  20%  { transform: translateX(5.6%); }    /* hold ~0.5s */
  35%  { transform: translateX(-5.6%); }   /* moved -2 weeks (net -1) */
  40%  { transform: translateX(-5.6%); }   /* hold */
  55%  { transform: translateX(0); }       /* moved +1 (back to 0) */
  60%  { transform: translateX(0); }       /* hold */
  75%  { transform: translateX(5.6%); }    /* moved +1 (+1 from start) */
  80%  { transform: translateX(5.6%); }    /* hold */
  95%  { transform: translateX(0); }       /* smooth return for clean loop */
  100% { transform: translateX(0); }       /* hold */
}
@media (prefers-reduced-motion: reduce) {
  .sem-sim-row { animation: none; }
}

.sem-slide-hint {
  text-align: center;
  font-size: 13px;
  color: var(--bc-secondary);
  margin-top: 14px;
  font-style: italic;
}

.sem-caption {
  text-align: center;
  font-size: 14px;
  color: var(--bc-body);
  margin: 26px auto 0;
  max-width: 760px;
  line-height: 1.6;
}
.sem-caption strong { color: var(--bc-text); }

@media (max-width: 700px) {
  .sem-weeks { grid-template-columns: repeat(9, 1fr); }
  .sem-weeks .wk:nth-child(n+10) { display: none; }
  .sem-sim-block { width: 70%; }
}

/* ═══ THE TEXTBOOK section (light gray) ═══ */
.bc-ss-textbook { background: var(--bc-light-bg); padding: 52px 0; }
.section-pillar-head { display: flex; align-items: center; gap: 18px; margin-bottom: 8px; }
.section-pillar-head .pillar-tag {
  font-family: 'Ubuntu', sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--bc-green);   /* Textbook section default — matches the green chevron above */
  font-weight: 700;
}
.section-pillar-head h2 { margin: 0; font-size: 36px; line-height: 1.1; }
.section-intro-grid {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 24px;
  align-items: start;
  margin-bottom: 20px;
}
.section-intro-grid img.icon { width: 100px; height: 100px; }
.section-intro-grid .lede p { font-size: 17px; color: var(--bc-body); margin: 0 0 12px; line-height: 1.55; }
@media (max-width: 700px) { .section-intro-grid { grid-template-columns: 1fr; } }

.standards-callout {
  background: white;
  border-left: 4px solid var(--bc-blue);
  padding: 10px 18px;
  border-radius: 0 6px 6px 0;
  margin-bottom: 20px;
  font-size: 15px;
  color: var(--bc-text);
  box-shadow: var(--bc-card-shadow);
  white-space: nowrap;
}
@media (max-width: 920px) {
  .standards-callout { white-space: normal; }
}
.standards-callout strong { color: var(--bc-blue-dark); }

.cluster-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (max-width: 700px) { .cluster-grid { grid-template-columns: 1fr; } }
.cluster {
  background: white;
  border: 1px solid var(--bc-border);
  border-radius: 8px;
  padding: 16px 18px;
  cursor: pointer;
  transition: border-color .18s, box-shadow .18s;
}
.cluster:hover { border-color: var(--bc-blue); box-shadow: var(--bc-card-shadow); }
.cluster-head { display: flex; align-items: center; justify-content: space-between; }
.cluster-head h3 { margin: 0; font-family: 'Ubuntu', sans-serif; font-weight: 500; font-size: 17px; }
.cluster-head .toggle { font-size: 22px; color: var(--bc-blue); font-weight: 300; transition: transform .2s; }
.cluster.open .toggle { transform: rotate(45deg); }
.cluster-body { display: none; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--bc-light-bg-2); font-size: 14px; color: var(--bc-body); }
.cluster.open .cluster-body { display: block; }
.cluster-body ul { margin: 0; padding-left: 18px; }
.cluster-body li { margin-bottom: 4px; }

/* "See the full chapter list" CTA on the left + centered text + cover on the right.
   Three columns: button | text (centered, fills space) | cover (right, large). */
.see-chapters-row {
  margin: 22px 0 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px 36px;
  align-items: center;
}
@media (max-width: 800px) {
  .see-chapters-row { grid-template-columns: 1fr; gap: 24px; align-items: start; text-align: center; }
}

.see-chapters-row .book-text {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.see-chapters-row .book-claim {
  font-family: 'Ubuntu', sans-serif;
  font-weight: 500;
  font-size: 19px;
  color: var(--bc-blue-dark);
  line-height: 1.25;
  margin: 0;
  max-width: none;
  white-space: nowrap;
}
@media (max-width: 800px) {
  .see-chapters-row .book-claim { white-space: normal; max-width: 420px; }
}
.see-chapters-row .book-detail {
  font-size: 14px;
  color: var(--bc-body);
  line-height: 1.45;
  margin: 4px 0 0;
}
.see-chapters-row .book-prices {
  font-size: 14px;
  color: var(--bc-secondary);
  margin: 6px 0 0;
}
.see-chapters-row .book-prices .price {
  font-family: 'Ubuntu', sans-serif;
  font-weight: 700;
  color: var(--bc-text);
}
.see-chapters-row .book-buy {
  margin-top: 8px;
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--bc-blue);
  text-transform: uppercase;
  letter-spacing: 0.7px;
  text-decoration: none;
  border-bottom: 1px solid var(--bc-blue);
  padding-bottom: 1px;
}
.see-chapters-row .book-buy:hover { color: var(--bc-blue-dark); border-bottom-color: var(--bc-blue-dark); text-decoration: none; }

.see-chapters-row .book-cover-link {
  display: block;
  justify-self: end;
  transition: transform .2s;
  border-radius: 4px;
}
.see-chapters-row .book-cover-link:hover { transform: translateY(-2px); text-decoration: none; }
.see-chapters-row .book-cover-link:hover .book-cover-large {
  box-shadow: 0 10px 26px rgba(0,0,0,0.26), 0 2px 6px rgba(0,0,0,0.14);
}
.see-chapters-row .book-cover-large {
  width: 150px;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.20), 0 1px 3px rgba(0,0,0,0.12);
  display: block;
  transition: box-shadow .2s;
}
@media (max-width: 800px) {
  .see-chapters-row .book-cover-link { justify-self: center; }
  .see-chapters-row .book-cover-large { width: 130px; }
}
@media (max-width: 480px) {
  .see-chapters-row .book-cover-large { width: 110px; }
}
.see-chapters-btn,
.see-engagement-btn {
  background: var(--bc-green);
  color: white;
  border: none;
  font-family: 'Ubuntu', sans-serif;
  font-weight: 500;
  font-size: 18px;
  padding: 16px 26px;
  border-radius: 8px;
  cursor: pointer;
  transition: transform .15s, box-shadow .18s, background .15s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  position: relative;
  overflow: hidden;
}
.see-chapters-btn:hover,
.see-engagement-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0,0,0,0.18); background: #5da030; }
.see-chapters-btn .arrow,
.see-engagement-btn .arrow { font-size: 19px; line-height: 1; position: relative; z-index: 1; }
.see-chapters-btn > :not(::before),
.see-engagement-btn > :not(::before) { position: relative; z-index: 1; }

/* Subtle shimmer — a soft white highlight sweeps diagonally across the button
   roughly once every 8 seconds, with a long pause in between so it draws the
   eye when noticed but doesn't feel like a flashing gimmick. */
.see-chapters-btn::before,
.see-engagement-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(105deg, transparent 38%, rgba(255,255,255,0.42) 50%, transparent 62%);
  transform: translateX(-150%);
  animation: chapBtnShimmer 5.5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes chapBtnShimmer {
  0%, 9%   { transform: translateX(-150%); }   /* hold off-screen left (~0.5s) */
  48%      { transform: translateX(150%); }    /* slow sweep (~2.15s) */
  100%     { transform: translateX(150%); }    /* hold off-screen right (~2.85s) */
}
@media (prefers-reduced-motion: reduce) {
  .see-chapters-btn::before,
  .see-engagement-btn::before { animation: none; }
}

/* Engagement Score card — keep on the green Teacher Resources theme */
.bc-ss-teachers .system-card.is-engagement:hover {
  border-color: var(--bc-green);
}
.see-chapters-hint { font-size: 14px; color: var(--bc-secondary); margin: 0; font-style: italic; }

/* "Built into every chapter" — now more prominent + clickable feature chips */
.features-heading {
  margin: 0 0 4px;
  font-family: 'Ubuntu', sans-serif;
  font-weight: 500;
  font-size: 22px;
  color: var(--bc-text);
}
.features-hint {
  font-size: 13px;
  color: var(--bc-secondary);
  margin: 0 0 18px;
  font-style: italic;
}
.textbook-features {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
@media (max-width: 700px) { .textbook-features { grid-template-columns: repeat(3, 1fr); } }
.feature-chip {
  background: white;
  border: 1px solid var(--bc-border);
  border-radius: 10px;
  padding: 18px 12px 14px;
  text-align: center;
  font-size: 13px;
  color: var(--bc-text);
  font-weight: 600;
  cursor: pointer;
  transition: border-color .18s, box-shadow .18s, transform .18s;
  font-family: inherit;
  /* Subtle resting glow — always visible to signal "click me." */
  box-shadow: 0 0 14px rgba(112, 184, 64, 0.18), 0 2px 4px rgba(0,0,0,0.04);
}
.feature-chip:hover {
  border-color: var(--bc-green);
  /* Stronger glow on hover. */
  box-shadow: 0 0 28px rgba(112, 184, 64, 0.45), 0 8px 18px rgba(0,0,0,0.10);
  transform: translateY(-2px);
}
.feature-chip img { width: 56px; height: 56px; margin-bottom: 8px; display: block; margin-left: auto; margin-right: auto; }
.feature-chip .chip-label { display: block; }
.feature-chip .chip-more { display: block; font-size: 10px; font-weight: 700; color: var(--bc-green); text-transform: uppercase; letter-spacing: 0.7px; margin-top: 4px; opacity: 0; transition: opacity .18s; }
.feature-chip:hover .chip-more { opacity: 1; }

/* Chapter list inside any modal (chapter list + 6 feature modals) */
/* Per-chapter feature teaser shown inside the chapter-list modal — visual cue
   that primes the user for the 6 clickable feature chips on the page itself. */
.bc-program2026-modal .modal-feature-teaser {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 4px 0 24px;
  padding: 16px 20px;
  background: var(--bc-light-bg);
  border-radius: 8px;
}
.bc-program2026-modal .modal-feature-teaser .label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--bc-secondary);
  font-weight: 700;
}
.bc-program2026-modal .modal-feature-teaser .row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 22px;
  justify-content: space-between;
}
.bc-program2026-modal .modal-feature-teaser .item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: var(--bc-text);
  font-weight: 600;
  text-align: center;
  line-height: 1.2;
  flex: 1 1 auto;
  min-width: 80px;
}
.bc-program2026-modal .modal-feature-teaser .item img {
  width: 42px;
  height: 42px;
}

.chapter-list-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 24px;
}
@media (max-width: 700px) { .chapter-list-grid { grid-template-columns: 1fr; } }
.chapter-row {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--bc-light-bg-2);
}
.chapter-row .ch-num {
  font-family: 'Ubuntu', sans-serif;
  font-weight: 700;
  color: var(--bc-green);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding-top: 2px;
}
.chapter-row .ch-body h4 {
  margin: 0 0 3px;
  font-size: 14px;
  font-family: 'Ubuntu', sans-serif;
  font-weight: 500;
  line-height: 1.2;
}
.chapter-row .ch-body p {
  margin: 0;
  font-size: 13px;
  color: var(--bc-body);
  line-height: 1.4;
}

.proof-stat-inline {
  margin-top: 28px;
  font-size: 14px;
  color: var(--bc-secondary);
  text-align: right;
  font-style: italic;
}
.proof-stat-inline strong { color: var(--bc-text); font-style: normal; }

/* ═══ THE SIMULATION section (white) ═══ */
.bc-ss-simulation { background: white; padding: 72px 0; }
.bc-ss-simulation .section-pillar-head .pillar-tag { color: var(--bc-amber); }   /* matches the amber chevron above */

/* Simulation section — keep all internal accents on the amber theme */
.bc-ss-simulation .sim-tile:hover {
  border-color: var(--bc-amber);
}
.bc-ss-simulation .system-card:hover {
  border-color: var(--bc-amber);
}
.bc-ss-simulation .system-card .deeper {
  color: var(--bc-amber);
  border-color: var(--bc-amber);
}
.bc-ss-simulation .system-card .deeper:hover {
  background: var(--bc-amber);
  color: white;
}
.bc-ss-simulation .quote-btn-combined:hover {
  box-shadow: 0 0 18px rgba(236, 151, 31, 0.30), 0 4px 12px rgba(0,0,0,0.08);
}

/* +Investing card — keep on the original purple theme as a deliberate accent against the amber-themed simulation section */
.bc-ss-simulation .system-card.is-investing:hover {
  border-color: var(--bc-purple);
}
.bc-ss-simulation .system-card.is-investing .deeper {
  color: var(--bc-purple);
  border-color: var(--bc-purple);
}
.bc-ss-simulation .system-card.is-investing .deeper:hover {
  background: var(--bc-purple);
  color: white;
}

/* sim hover-tile grid (re-uses the front/back face pattern) */
.sim-tile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 14px;
}
@media (max-width: 880px) { .sim-tile-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .sim-tile-grid { grid-template-columns: 1fr; } }
.sim-tile {
  background: white;
  border: 1px solid var(--bc-border);
  border-radius: 10px;
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  gap: 18px;
  transition: border-color .18s, box-shadow .18s, transform .18s;
}
.sim-tile:hover {
  border-color: var(--bc-purple);
  box-shadow: var(--bc-card-shadow-hover);
  transform: translateY(-2px);
}
.sim-tile h3 { font-size: 19px; margin: 0; font-family: 'Ubuntu', sans-serif; font-weight: 500; line-height: 1.25; color: var(--bc-text); }

.tile-quote-actions {
  width: 100%;
  display: flex;
  gap: 8px;
}

/* CTA cell — hosts the amber shimmer button in the tile grid (replaces a tile slot) */
.sim-tile-cta {
  border: none;
  background: transparent;
  align-items: center;
  justify-content: center;
  padding: 18px;
}
.sim-tile-cta:hover {
  border: none;
  box-shadow: none;
  transform: none;
}

/* Combined "Heard in the classroom" button — both voices live behind one click */
.quote-btn-combined {
  flex: 1;
  font-size: 13px;
  padding: 10px 12px;
  letter-spacing: 0.01em;
}
.quote-btn-combined .qmark-pair {
  display: inline-flex;
  align-items: center;
  gap: 0;
  margin-right: 4px;
}
.quote-btn-combined .qmark-pair .qmark {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 0.55;
  position: relative;
  top: 5px;
}
.quote-btn-combined .qmark-pair .qmark.amber { color: var(--bc-amber); }
.quote-btn-combined .qmark-pair .qmark.blue { color: var(--bc-blue); margin-left: -4px; }
.quote-btn-combined:hover {
  border-color: var(--bc-text);
  box-shadow: 0 0 18px rgba(76, 64, 184, 0.18), 0 4px 12px rgba(0,0,0,0.08);
  color: var(--bc-text);
  transform: translateY(-1px);
}

/* Collection modal — multiple quotes (students + 1 teacher) stacked */
.bc-program2026-modal .modal-content.modal-quote-collection {
  text-align: left;
  padding: 28px 32px 32px !important;
}
.bc-program2026-modal .modal-content.modal-quote-collection .quote-collection-heading {
  font-size: 13px;
  font-weight: 600;
  color: var(--bc-secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 4px 0 22px;
  text-align: center;
}
.bc-program2026-modal .modal-content.modal-quote-collection .quote-collection-heading strong { color: var(--bc-text); }
.quote-block {
  margin: 0 0 14px;
  padding: 14px 18px 12px 22px;
  border-left: 4px solid;
  border-radius: 6px;
}
.quote-block:last-child { margin-bottom: 0; }
.quote-block.is-student { border-left-color: var(--bc-amber); background: rgba(236,151,31,0.06); }
.quote-block.is-teacher { border-left-color: var(--bc-blue); background: rgba(64,112,184,0.06); margin-top: 18px; }
.quote-block .quote-block-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.quote-block.is-student .quote-block-label { color: var(--bc-amber); }
.quote-block.is-teacher .quote-block-label { color: var(--bc-blue); }
.quote-block .quote-text {
  font-size: 15px;
  line-height: 1.55;
  font-style: italic;
  color: var(--bc-text);
  margin: 0 0 6px;
}
.quote-block .quote-attribution {
  font-size: 12px;
  color: var(--bc-secondary);
  margin: 0;
  letter-spacing: 0.04em;
}

/* Sim-experience paragraph + amber shimmer button beneath the tile grid */
.sim-experience {
  margin-top: 28px;
  text-align: center;
}
.sim-experience p {
  font-size: 17px;
  color: var(--bc-body);
  line-height: 1.55;
  max-width: 780px;
  margin: 0 auto 22px;
  text-align: left;
}
.see-sim-world-btn {
  background: var(--bc-amber);
  color: white;
  border: none;
  font-family: 'Ubuntu', sans-serif;
  font-weight: 500;
  font-size: 18px;
  padding: 16px 26px;
  border-radius: 8px;
  cursor: pointer;
  transition: transform .15s, box-shadow .18s, background .15s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  position: relative;
  overflow: hidden;
}
.see-sim-world-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0,0,0,0.2); background: #d6851a; }
.see-sim-world-btn .arrow { font-size: 19px; line-height: 1; position: relative; z-index: 1; }
.see-sim-world-btn > :not(::before) { position: relative; z-index: 1; }
.see-sim-world-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(105deg, transparent 38%, rgba(255,255,255,0.45) 50%, transparent 62%);
  transform: translateX(-150%);
  animation: simWorldBtnShimmer 5.5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes simWorldBtnShimmer {
  0%, 9%   { transform: translateX(-150%); }
  48%      { transform: translateX(150%); }
  100%     { transform: translateX(150%); }
}
@media (prefers-reduced-motion: reduce) {
  .see-sim-world-btn::before { animation: none; }
}

/* Vendors-modal two-cell banner — orange "first" + green "then" (text-only, no chrome) */
.vendor-modal-banner {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 28px;
  margin: 4px 0 18px;
  align-items: stretch;
}
.vendor-modal-banner-cell {
  font-family: 'Ubuntu', sans-serif;
  font-weight: 600;
  font-size: 22px;
  line-height: 1.28;
  text-align: center;
  padding: 4px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.vendor-modal-banner-cell--orange { color: var(--bc-amber); }
.vendor-modal-banner-cell--green  { color: var(--bc-green); }
@media (max-width: 600px) {
  .vendor-modal-banner { grid-template-columns: 1fr; gap: 10px; }
  .vendor-modal-banner-cell { font-size: 19px; padding: 4px 0; }
}

.quote-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 7px 10px;
  background: white;
  border: 1px solid var(--bc-border);
  border-radius: 6px;
  font-size: 12px;
  font-family: 'Ubuntu', sans-serif;
  color: var(--bc-secondary);
  cursor: pointer;
  transition: all .18s ease-out;
}
.quote-btn .qmark {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 0.6;
  position: relative;
  top: 5px;
}
.quote-btn-student .qmark { color: var(--bc-amber); }
.quote-btn-teacher .qmark { color: var(--bc-blue); }
.quote-btn-student:hover {
  border-color: var(--bc-amber);
  box-shadow: 0 0 18px rgba(236, 151, 31, 0.45);
  color: var(--bc-text);
  transform: translateY(-1px);
}
.quote-btn-teacher:hover {
  border-color: var(--bc-blue);
  box-shadow: 0 0 18px rgba(64, 112, 184, 0.45);
  color: var(--bc-text);
  transform: translateY(-1px);
}

/* Featured-quote modal */
.bc-program2026-modal.quote-modal .quote-source-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  margin: 4px 0 4px;
}
.bc-program2026-modal.quote-modal.is-student .quote-source-tag {
  background: rgba(236, 151, 31, 0.15);
  color: var(--bc-amber);
}
.bc-program2026-modal.quote-modal.is-teacher .quote-source-tag {
  background: rgba(64, 112, 184, 0.15);
  color: var(--bc-blue);
}
.bc-program2026-modal.quote-modal .quote-mark-open,
.bc-program2026-modal.quote-modal .quote-mark-close {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 700;
  font-size: 96px;
  line-height: 0.4;
  display: block;
}
.bc-program2026-modal.quote-modal .quote-mark-open { margin: 18px 0 22px; }
.bc-program2026-modal.quote-modal .quote-mark-close { margin: 18px 0 8px; }
.bc-program2026-modal.quote-modal.is-student .quote-mark-open,
.bc-program2026-modal.quote-modal.is-student .quote-mark-close { color: var(--bc-amber); }
.bc-program2026-modal.quote-modal.is-teacher .quote-mark-open,
.bc-program2026-modal.quote-modal.is-teacher .quote-mark-close { color: var(--bc-blue); }
.bc-program2026-modal.quote-modal .quote-text {
  font-size: 19px;
  line-height: 1.5;
  color: var(--bc-text);
  font-style: italic;
  font-family: 'Ubuntu', sans-serif;
  font-weight: 400;
  margin: 0;
}
.bc-program2026-modal.quote-modal .quote-attribution {
  font-size: 13px;
  color: var(--bc-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 6px;
}

.vendors-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--bc-purple);
  cursor: pointer;
  border-bottom: 1px dashed var(--bc-purple);
  padding-bottom: 1px;
  background: none;
  border-left: none;
  border-right: none;
  border-top: none;
  font-family: inherit;
}

/* Patent teaser callout */
.patent-callout {
  background: var(--bc-blue-soft);
  border-left: 4px solid var(--bc-blue);
  padding: 28px 32px;
  border-radius: 0 8px 8px 0;
  margin: 48px 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
.patent-callout h3 {
  font-family: 'Ubuntu', sans-serif;
  font-weight: 500;
  font-size: 24px;
  margin: 0;
  color: var(--bc-blue-dark);
  line-height: 1.2;
}
.patent-callout .short-answer {
  font-family: 'Ubuntu', sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: var(--bc-text);
  margin: 6px 0 12px;
}
.patent-callout p { font-size: 15px; color: var(--bc-secondary); margin: 0 0 14px; line-height: 1.6; }
.patent-callout .patent-numbers {
  font-size: 12px;
  color: var(--bc-blue);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-top: 4px;
}

/* Systems row — vertical stack of full-width wide-and-short cards */
.systems-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 24px;
}
.system-card {
  background: white;
  border: 1px solid var(--bc-border);
  border-radius: 10px;
  padding: 18px 24px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px 24px;
  align-items: center;
  transition: border-color .18s, box-shadow .18s, transform .18s;
}
.system-card .system-card-heading {
  grid-column: 1 / -1;
  font-family: 'Ubuntu', sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--bc-text);
  margin: 0 0 4px;
}
.system-card:hover { border-color: var(--bc-purple); box-shadow: var(--bc-card-shadow-hover); transform: translateY(-2px); }
.system-card .icon-row { display: flex; align-items: center; gap: 12px; margin-bottom: 0; }
.system-card img.icon { width: 56px; height: 56px; flex: none; }
.system-card h3 { margin: 0; font-family: 'Ubuntu', sans-serif; font-weight: 500; font-size: 19px; line-height: 1.2; white-space: nowrap; }
.system-card .bundled {
  display: inline-block;
  background: var(--bc-green);
  color: white;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 4px 8px;
  border-radius: 4px;
  margin-left: 8px;
  text-align: center;
  line-height: 1.3;
}
.system-card p { font-size: 14px; color: var(--bc-body); margin: 0; line-height: 1.5; }
.system-card .deeper {
  font-size: 13px;
  font-weight: 700;
  color: var(--bc-purple);
  text-transform: uppercase;
  letter-spacing: 0.7px;
  cursor: pointer;
  background: none;
  border: 1px solid var(--bc-purple);
  border-radius: 6px;
  padding: 10px 14px;
  font-family: inherit;
  transition: background .15s, color .15s;
  white-space: nowrap;
}
.system-card .deeper:hover { background: var(--bc-purple); color: white; }
.system-card .cta-stack { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.system-card .cta-stack .bundled { margin-left: 0; }
@media (max-width: 720px) {
  .system-card { grid-template-columns: 1fr; gap: 12px; padding: 18px; }
  .system-card h3 { white-space: normal; }
  .system-card .deeper { justify-self: start; }
}

.systems-row-head {
  font-family: 'Ubuntu', sans-serif;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--bc-secondary);
  font-weight: 700;
  text-align: center;
  margin-top: 56px;
}

/* ═══ TEACHER RESOURCES section (light gray) ═══ */
.bc-ss-teachers { background: var(--bc-light-bg); padding: 72px 0; }
.bc-ss-teachers .section-pillar-head .pillar-tag { color: var(--bc-blue); }
.teacher-tile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}
@media (max-width: 880px) { .teacher-tile-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .teacher-tile-grid { grid-template-columns: 1fr; } }
.teacher-tile {
  position: relative;
  background: white;
  border: 1px solid var(--bc-border);
  border-radius: 10px;
  min-height: 200px;
  padding: 22px;
  cursor: pointer;
  transition: border-color .18s, box-shadow .18s, transform .18s;
  overflow: hidden;
}
.teacher-tile:hover { border-color: var(--bc-green); box-shadow: var(--bc-card-shadow-hover); transform: translateY(-2px); }
.teacher-tile .face { position: absolute; inset: 0; padding: 22px; display: flex; flex-direction: column; transition: opacity .25s; }
.teacher-tile .face.front { opacity: 1; }
.teacher-tile .face.back { opacity: 0; background: white; }
.teacher-tile:hover .face.front { opacity: 0; }
.teacher-tile:hover .face.back { opacity: 1; }
.teacher-tile .icon-row { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.teacher-tile img.icon { width: 48px; height: 48px; }
.teacher-tile h3 { font-size: 17px; margin: 0; font-family: 'Ubuntu', sans-serif; font-weight: 500; line-height: 1.2; }
.teacher-tile .tile-blurb { font-size: 14px; color: var(--bc-body); margin: 0; }
.teacher-tile .face.back p { font-size: 13px; color: var(--bc-secondary); margin: 0 0 8px; }

.more-resources-strip {
  margin-top: 22px;
  background: var(--bc-green);
  border: none;
  border-radius: 8px;
  padding: 18px 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  font-size: 13px;
  color: white;
}
.more-resources-strip .ttl { font-weight: 700; color: white; margin-right: 4px; }
.more-resources-strip .item { white-space: nowrap; color: white; }

/* ═══ TOOLS section (white) ═══ */
.bc-ss-tools { background: white; padding: 72px 0; }
.bc-ss-tools .section-pillar-head .pillar-tag { color: var(--bc-purple); }
.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}
@media (max-width: 880px) { .tools-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .tools-grid { grid-template-columns: 1fr; } }
.tool-card {
  background: white;
  border: 1px solid var(--bc-border);
  border-radius: 10px;
  padding: 22px;
  transition: border-color .18s, box-shadow .18s, transform .18s;
}
.tool-card:hover { border-color: var(--bc-amber); box-shadow: var(--bc-card-shadow-hover); transform: translateY(-2px); }
.tool-card .icon-row { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.tool-card img.icon { width: 48px; height: 48px; }
.tool-card h3 { font-size: 17px; margin: 0; font-family: 'Ubuntu', sans-serif; font-weight: 500; line-height: 1.2; }
.tool-card p { font-size: 14px; color: var(--bc-body); margin: 0; line-height: 1.5; }

/* ═══ SUPPORT section (light gray) ═══ */
.bc-ss-support { background: var(--bc-light-bg); padding: 72px 0; }
.bc-ss-support .section-pillar-head .pillar-tag { color: var(--bc-blue); }
.support-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 28px;
}
@media (max-width: 700px) { .support-grid { grid-template-columns: 1fr; } }
.support-card {
  background: white;
  border: 1px solid var(--bc-border);
  border-radius: 10px;
  padding: 24px;
  display: flex;
  gap: 18px;
}
.support-card img.icon { width: 56px; height: 56px; flex-shrink: 0; }
.support-card h3 { margin: 0 0 6px; font-family: 'Ubuntu', sans-serif; font-weight: 500; font-size: 18px; line-height: 1.2; }
.support-card p { margin: 0; font-size: 14px; color: var(--bc-body); line-height: 1.5; }
.support-card p strong { color: var(--bc-text); }

/* ═══ STUDENT DATA PRIVACY section (white) ═══ */
.bc-ss-privacy { background: white; padding: 72px 0; }
.bc-ss-privacy .section-pillar-head .pillar-tag { color: var(--bc-secondary); }
.bc-ss-privacy .section-pillar-head h2 { font-size: 32px; }
.privacy-lede { font-size: 17px; color: var(--bc-body); max-width: 740px; margin: 0 0 28px; }

.privacy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (max-width: 700px) { .privacy-grid { grid-template-columns: 1fr; } }
.privacy-item {
  background: var(--bc-light-bg);
  border-left: 3px solid var(--bc-blue);
  padding: 16px 20px;
  border-radius: 0 6px 6px 0;
}
.privacy-item h4 { margin: 0 0 6px; font-family: 'Ubuntu', sans-serif; font-weight: 500; font-size: 15px; color: var(--bc-blue-dark); text-transform: uppercase; letter-spacing: 0.6px; }
.privacy-item p { margin: 0; font-size: 14px; color: var(--bc-body); line-height: 1.55; }

/* ═══ TWIN CTA (full-width blue) ═══ */
.bc-ss-cta { background: var(--bc-blue); padding: 56px 0; color: white; }
.bc-ss-cta .container { text-align: center; }
.bc-ss-cta h2 { color: white; font-size: 30px; margin: 0 0 10px; }
.bc-ss-cta p { font-size: 17px; margin: 0 auto 24px; max-width: 700px; opacity: 0.95; }
.cta-buttons { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.cta-btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: transform .15s, box-shadow .15s;
}
.cta-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0,0,0,0.2); text-decoration: none; }
.cta-btn.primary { background: var(--bc-amber); color: white; }
.cta-btn.secondary { background: white; color: var(--bc-blue); }

/* ═══ Footer (preview only) ═══ */
.site-footer { background: #343434; color: white; padding: 32px; text-align: center; font-size: 13px; opacity: 0.95; }
.site-footer a { color: white; text-decoration: underline; }

/* ═══ MODALS — vendors / trophies / +Investing / engagement ═══ */
/* Bootstrap 3 owns .modal, .modal-backdrop, and .close as global classes.
   Our per-modal visual treatment is scoped under .bc-program2026-modal
   (applied on each outer .modal element in ModalsPane.html) so we adjust
   appearance on Program-page modals only — without overriding Bootstrap's
   defaults for other modals on the site. */
/* === MODAL OVERRIDES — Bootstrap 3 ===
   Bootstrap owns .modal, .modal-dialog, .modal-content, .close as global
   classes. All Program-page modal styling is scoped under
   .bc-program2026-modal (added to outer .modal element in ModalsPane.html)
   so we adjust only Program's modals — never Bootstrap defaults globally.
   --- */

/* DIALOG WIDTH — explicit width:880px on desktop overrides BS3's .modal-lg
   width:900px and is constrained to fit the viewport on narrow screens.
   Quote modals get a narrower 640px dialog (rule below). */
.bc-program2026-modal .modal-dialog {
  width: 880px;
  max-width: calc(100% - 60px);
  margin: 30px auto;
}
@media (max-width: 939px) {
  .bc-program2026-modal .modal-dialog { width: auto; }
}
@media (max-width: 767px) {
  .bc-program2026-modal .modal-dialog { margin: 10px; max-width: calc(100% - 20px); }
}

/* Quote modals — narrower dialog (no corner icon, less content) */
.bc-program2026-modal.quote-modal .modal-dialog {
  width: 640px;
  max-width: calc(100% - 60px);
}
@media (max-width: 699px) {
  .bc-program2026-modal.quote-modal .modal-dialog { width: auto; }
}

/* CONTENT PANEL */
.bc-program2026-modal .modal-content {
  background: white;
  border: none;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.25);
  padding: 36px 40px 32px;
  position: relative;
}
.bc-program2026-modal .modal-content h2 {
  margin: 0 0 6px;
  font-size: 28px;
  line-height: 1.15;
}
.bc-program2026-modal .modal-content .modal-lede {
  color: var(--bc-body);
  font-size: 16px;
  margin: 0 0 22px;
  max-width: 700px;
  line-height: 1.55;
}

/* CORNER-ICON modals — only the 7 modals that actually have a .modal-corner-icon
   reserve the 144px padding-right for the icon. Quote modals and vendor/trophy/
   investing/engagement modals (no corner icon) get full title width. */
.bc-program2026-modal .modal-content:has(.modal-corner-icon) h2,
.bc-program2026-modal .modal-content:has(.modal-corner-icon) .modal-lede {
  padding-right: 144px;
}
.bc-program2026-modal .modal-corner-icon {
  position: absolute;
  top: 36px;
  right: 24px;
  width: 102px;
  height: 102px;
}
@media (max-width: 600px) {
  .bc-program2026-modal .modal-content:has(.modal-corner-icon) h2,
  .bc-program2026-modal .modal-content:has(.modal-corner-icon) .modal-lede {
    padding-right: 100px;
  }
  .bc-program2026-modal .modal-corner-icon { width: 72px; height: 72px; right: 18px; top: 38px; }
}
/* The close button — fully override Bootstrap 3 .close defaults
   (float:right; font-size:21px; opacity:0.2; text-shadow:0 1px 0 #fff;
   color:#000; font-weight:bold) so the X sits absolute top-right in our style. */
.bc-program2026-modal .modal-content .close,
.bc-program2026-modal .modal-content button.close {
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--bc-secondary);
  line-height: 1;
  padding: 0;
  float: none;
  opacity: 1;
  text-shadow: none;
  font-weight: normal;
  z-index: 10;
}
.bc-program2026-modal .modal-content .close:hover,
.bc-program2026-modal .modal-content .close:focus,
.bc-program2026-modal .modal-content button.close:hover,
.bc-program2026-modal .modal-content button.close:focus {
  opacity: 1;
  color: var(--bc-text);
  outline: none;
  text-decoration: none;
}
.bc-program2026-modal .modal-content .close > span {
  /* The inner <span aria-hidden="true">&times;</span> — strip any BS defaults
     that might inflate or color it differently. */
  display: inline;
  vertical-align: baseline;
  font-size: inherit;
  color: inherit;
}

/* Vendors */
.vendor-group { margin-bottom: 18px; }
.vendor-group h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.6px; color: var(--bc-blue); margin: 0 0 8px; font-family: 'Open Sans', sans-serif; font-weight: 700; }
.vendor-group ul { margin: 0; padding-left: 20px; font-size: 14px; color: var(--bc-text); }
.vendor-group li { margin-bottom: 4px; }
.vendor-group li strong { font-weight: 600; }

/* Trophy modal grid */
.trophy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 700px) { .trophy-grid { grid-template-columns: 1fr; } }
.trophy-card {
  position: relative;
  background: white;
  border: 1px solid var(--bc-border);
  border-radius: 10px;
  min-height: 240px;
  padding: 24px 18px;
  cursor: pointer;
  overflow: hidden;
  transition: border-color .22s, box-shadow .22s, transform .22s, background .22s;
}
.trophy-card:hover {
  border-color: var(--bc-amber);
  background: rgba(236, 151, 31, 0.05);
  box-shadow: 0 6px 24px rgba(236, 151, 31, 0.20);
  transform: translateY(-2px);
  z-index: 5;
}
.trophy-card.investing { border-style: dashed; }
.trophy-card .investing-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-weight: 700;
  color: var(--bc-amber);
  background: rgba(236, 151, 31, 0.12);
  padding: 3px 7px;
  border-radius: 3px;
  z-index: 2;
}
.trophy-card .face {
  position: absolute;
  inset: 0;
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: opacity .25s ease;
}
.trophy-card .face.front { opacity: 1; justify-content: center; gap: 14px; }
.trophy-card .face.back  { opacity: 0; justify-content: flex-start; gap: 10px; }
.trophy-card:hover .face.front { opacity: 0; }
.trophy-card:hover .face.back  { opacity: 1; }
.trophy-card .face.front .trophy-img { width: 96px; height: 96px; object-fit: contain; }
.trophy-card .face.front .trophy-name {
  font-family: 'Ubuntu', sans-serif;
  font-size: 19px;
  font-weight: 600;
  color: var(--bc-text);
  margin: 0;
  line-height: 1.22;
}
.trophy-card .face.front .trophy-points {
  display: inline-block;
  font-family: 'Ubuntu', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--bc-amber);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 7px 16px;
  border-radius: 20px;
  background: rgba(236, 151, 31, 0.14);
  box-shadow: 0 0 22px rgba(236, 151, 31, 0.45);
}
.trophy-card .face.back .trophy-img { width: 52px; height: 52px; object-fit: contain; }
.trophy-card .face.back .trophy-name {
  font-family: 'Ubuntu', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--bc-amber);
  margin: 0;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.trophy-card .face.back .trophy-how {
  font-size: 13px;
  line-height: 1.5;
  color: var(--bc-text);
  margin: 4px 0 0;
  text-align: left;
}

/* +Investing modal */
.investing-modal-tools {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-top: 20px;
}
.investing-modal-tools .tool-chip { text-align: center; font-size: 11px; color: var(--bc-secondary); font-weight: 600; }
.investing-modal-tools .tool-chip img { width: 48px; height: 48px; margin-bottom: 4px; display: block; margin-left: auto; margin-right: auto; }
@media (max-width: 700px) { .investing-modal-tools { grid-template-columns: repeat(3, 1fr); } }

.theme-list { margin-top: 8px; }
.theme {
  border-top: 1px solid var(--bc-border);
  padding: 16px 0;
}
.theme:last-child { border-bottom: 1px solid var(--bc-border); }
.theme-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0;
}
.theme-head .num {
  width: 28px; height: 28px;
  background: var(--bc-purple);
  color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}
.theme-head h4 { margin: 0; font-size: 15px; font-family: 'Ubuntu', sans-serif; font-weight: 500; flex: 1; }
.theme-body {
  display: block;
  padding: 10px 0 0 42px;
  font-size: 14px;
  color: var(--bc-body);
  line-height: 1.5;
}

.bundled-modal-tag {
  display: inline-block;
  background: var(--bc-green);
  color: white;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 4px 8px;
  border-radius: 3px;
  margin: 0 0 16px;
}

/* Engagement modal — 7 habits, all expanded */
.habit-list { margin-top: 14px; }
.habit-item {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--bc-border);
  align-items: start;
}
.habit-item:last-child { border-bottom: 1px solid var(--bc-border); }
.habit-item .num {
  width: 32px; height: 32px;
  background: var(--bc-green);
  color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 14px;
  font-family: 'Ubuntu', sans-serif;
  flex-shrink: 0;
}
.habit-item .body { font-size: 14px; line-height: 1.5; color: var(--bc-body); }
.habit-item .body strong { color: var(--bc-text); font-weight: 600; }
