/* ============================================================
   Only Scroll Club — Stylesheet
   Matches original onlyscrollclub.com design
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@300;400;600;700&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }

:root {
  --gold:       #D4AF37;
  --gold-light: #FFD700;
  --gold-dark:  #B8942C;
  --dark:       #1a1a1a;
  --dark2:      #2a2a2a;
  --text:       #1a1a1a;
  --text-light: #666666;
  --bg-light:   #f8f8f8;
  --white:      #ffffff;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
main { flex: 1; }
p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

/* ── Header ─────────────────────────────────────────────────── */
.site-header {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 100%);
  border-bottom: 2px solid var(--gold);
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.site-logo {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 1px;
}
.site-logo:hover { color: var(--gold-light); }
.site-nav { display: flex; gap: 2rem; }
.site-nav a { color: var(--gold); font-weight: 500; font-size: 15px; transition: color 0.2s; }
.site-nav a:hover, .site-nav a.active { color: var(--gold-light); }

/* ── Loyalty banner slot ────────────────────────────────────── */
#loyalty-banner { width: 100%; }

/* ── Home hero ──────────────────────────────────────────────── */
.home-main { padding: 0; }

.home-hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 100%);
  border-bottom: 3px solid var(--gold);
  padding: 80px 20px;
  text-align: center;
}
.home-hero-title {
  font-family: 'Josefin Sans', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--gold-light);
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
  margin-bottom: 1rem;
}
.home-hero-sub {
  font-size: 1.2rem;
  color: var(--gold);
  max-width: 680px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: var(--dark);
  padding: 15px 40px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1.05rem;
  border: 2px solid var(--gold);
  transition: all 0.3s;
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(212,175,55,0.4);
  color: var(--dark);
}

.home-categories { padding: 60px 20px; }
.section-heading {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 2.2rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-align: center;
  margin-bottom: 40px;
}

/* ── Page header ────────────────────────────────────────────── */
.page-header { text-align: center; padding: 56px 20px 40px; }
.page-header h1 {
  font-family: 'Josefin Sans', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.page-header-sub { font-size: 1.1rem; color: var(--text-light); }

/* ── Breadcrumb ─────────────────────────────────────────────── */
.breadcrumb { font-size: 13px; color: var(--gold-dark); margin-bottom: 24px; }
.breadcrumb a { color: var(--gold-dark); }
.breadcrumb a:hover { color: var(--gold); text-decoration: underline; }

/* ── Category grid ──────────────────────────────────────────── */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 60px;
}
.category-card {
  display: block;
  background: var(--white);
  border: 2px solid var(--gold);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  transition: all 0.3s;
}
.category-card:hover {
  box-shadow: 0 10px 30px rgba(212,175,55,0.3);
  transform: translateY(-5px);
}
.category-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.4rem;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  box-shadow: 0 4px 15px rgba(212,175,55,0.3);
  transition: all 0.3s;
}
.category-card:hover .category-icon {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(212,175,55,0.5);
}
.category-card-title {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--text);
  margin-bottom: 0.8rem;
}
.category-card-desc {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
  line-height: 1.5;
}
.category-card-count {
  display: inline-block;
  background: var(--bg-light);
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 0.88rem;
  font-weight: 600;
}

/* ── Topic grid ─────────────────────────────────────────────── */
.topics-main, .category-main { padding-bottom: 60px; }

.topic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 40px;
}
.topic-card {
  display: block;
  background: var(--white);
  border: 2px solid var(--gold);
  border-radius: 10px;
  padding: 25px;
  transition: all 0.3s;
}
.topic-card:hover {
  box-shadow: 0 5px 20px rgba(212,175,55,0.2);
  transform: translateY(-2px);
}
.topic-card-title {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}
.topic-card-subtitle { color: var(--text-light); font-size: 0.9rem; margin-bottom: 12px; line-height: 1.5; }
.topic-card-meta { font-size: 0.85rem; color: var(--gold-dark); font-weight: 600; }

/* ── Topic guide page ───────────────────────────────────────── */
.topic-main { padding: 0 20px 72px; }

.topic-article { max-width: 100%; }

.topic-header {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 100%);
  border-bottom: 3px solid var(--gold);
  padding: 52px 20px 40px;
  margin: 0 -20px 36px;
  text-align: center;
}
.topic-title {
  font-family: 'Josefin Sans', sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  color: var(--gold-light);
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
  margin-bottom: 12px;
  letter-spacing: 1px;
}
.topic-subtitle {
  font-size: 1.1rem;
  color: var(--gold);
  max-width: 640px;
  margin: 0 auto 14px;
}
.topic-meta {
  display: flex; align-items: center; justify-content: center;
  gap: 16px; font-size: 13px; color: var(--gold-dark);
}
.topic-category-link a { color: var(--gold-dark); }
.topic-category-link a:hover { color: var(--gold); text-decoration: underline; }

.breadcrumb { padding: 20px 0 0; }

/* ── Topic content ──────────────────────────────────────────── */
.topic-content { margin-bottom: 36px; }

.topic-content .content-section {
  background: var(--white);
  padding: 36px 40px;
  border-radius: 15px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  margin-bottom: 28px;
}
.topic-content .content-section h2 {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 1.7rem;
  font-weight: 600;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--gold);
  letter-spacing: 0.5px;
}
.topic-content .content-section h3 {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  margin: 18px 0 8px;
}
.topic-content .jumpstart-callout {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 100%);
  border: 2px solid var(--gold);
  border-radius: 15px;
  padding: 36px 40px;
  margin: 36px 0;
}
.topic-content .jumpstart-callout h2 {
  font-family: 'Josefin Sans', sans-serif;
  color: var(--gold-light);
  border: none;
  margin-bottom: 14px;
}
.topic-content .jumpstart-callout p { color: var(--gold); }
.topic-content .jumpstart-callout strong { color: var(--gold-light); }

.topic-content p  { margin-bottom: 1em; }
.topic-content ul, .topic-content ol { padding-left: 1.5em; margin-bottom: 1em; }
.topic-content li { margin-bottom: 0.35em; }
.topic-content strong { font-weight: 700; }

.topic-content table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 14px; }
.topic-content th {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 100%);
  color: var(--gold); padding: 14px; text-align: left;
  font-family: 'Josefin Sans', sans-serif; letter-spacing: 0.5px;
}
.topic-content td { padding: 11px 14px; border-bottom: 1px solid #e8e8e8; }
.topic-content tr:nth-child(even) td { background: var(--bg-light); }

.topic-content .career-paths-grid,
.topic-content .skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px; margin: 28px 0;
}
/* Career cards — white bg, all-around border, hover lift */
.topic-content .career-card {
  background: #fff;
  border-radius: 14px;
  border: 2px solid #e8e8e8;
  padding: 28px 24px;
  transition: all 0.3s ease;
}
.topic-content .career-card:hover {
  border-color: var(--gold);
  box-shadow: 0 8px 24px rgba(212,175,55,0.15);
  transform: translateY(-4px);
}
.topic-content .career-card h3 {
  font-family: 'Josefin Sans', sans-serif;
  color: var(--gold);
  font-size: 1.15rem;
  margin: 0 0 16px;
}
.topic-content .career-card p {
  color: #555;
  font-size: 0.93rem;
  line-height: 1.65;
  margin: 0 0 10px;
}
.topic-content .career-card strong { color: #1a1a1a; }
/* Skill cards — cream bg, gold left border */
.topic-content .skill-card {
  background: #f8f4e8;
  border-left: 5px solid var(--gold);
  border-radius: 10px;
  padding: 22px 20px;
}
.topic-content .skill-card h3 {
  font-family: 'Josefin Sans', sans-serif;
  color: #1a1a1a;
  font-size: 1.05rem;
  margin: 0 0 10px;
}
.topic-content .skill-card p { font-size: 0.92rem; color: #555; line-height: 1.6; margin: 0; }

/* process-step / step-circle rules consolidated below (~line 850) */

/* ── Featured product block (download-cta) ──────────────────── */
.download-cta {
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
  border: 2px solid var(--gold);
  border-radius: 16px;
  padding: 44px 40px;
  margin: 40px 0;
}
.download-cta .cta-content > h2 {
  font-family: 'Josefin Sans', sans-serif;
  color: var(--gold-light);
  font-size: 1.7rem;
  margin: 0 0 12px;
  border: none;
}
.download-cta .cta-content > p {
  color: #ccc;
  font-size: 1rem;
  margin: 0 0 20px;
}
.featured-product-card {
  background: #fff;
  border: 3px solid var(--gold);
  border-radius: 15px;
  padding: 35px;
  margin: 28px 0;
  text-align: center;
}
.featured-product-card h3 {
  font-family: 'Josefin Sans', sans-serif;
  color: var(--gold);
  font-size: 1.4rem;
  margin: 0 0 12px;
}
.featured-product-card > p {
  color: #555;
  font-size: 1.05rem;
  margin: 0 0 20px;
}
.featured-bullets {
  list-style: none;
  padding: 0;
  margin: 20px auto;
  max-width: 600px;
  text-align: left;
}
.featured-bullets li {
  padding: 10px 0;
  border-bottom: 1px solid #e0e0e0;
  color: #333;
  font-size: 0.97rem;
}
.featured-bullets li:last-child { border-bottom: none; }
.featured-cta-wrap { text-align: center; margin-top: 28px; }
.download-button {
  display: inline-block;
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #1a1a1a;
  font-weight: 700;
  font-family: 'Josefin Sans', sans-serif;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease;
}
.download-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212,175,55,0.4);
}
.pricing-note {
  text-align: center;
  color: #999;
  font-size: 0.88rem;
  margin-top: 16px;
  margin-bottom: 0;
}
/* Secondary "additional resources" card inside download-cta */
.additional-card {
  background: #fff;
  border: 2px solid #e0e0e0;
  border-radius: 15px;
  padding: 25px 28px;
  margin: 20px 0 0;
  text-align: left;
}
.additional-card h4 {
  font-family: 'Josefin Sans', sans-serif;
  color: #1a1a1a;
  font-size: 1.1rem;
  margin: 0 0 12px;
}
.additional-card > p {
  color: #555;
  font-size: 0.97rem;
  margin: 0 0 14px;
}
.additional-items {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}
.additional-items li {
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
  color: #333;
  font-size: 0.95rem;
}
.additional-items li:last-child { border-bottom: none; }
.additional-items li strong { color: var(--gold); }
.additional-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 18px;
}
.additional-btn {
  flex: 1;
  min-width: 140px;
  padding: 11px 16px;
  background: #f8f8f8;
  border: 2px solid var(--gold);
  border-radius: 8px;
  text-align: center;
  text-decoration: none;
  color: #1a1a1a;
  font-weight: 600;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.93rem;
  transition: all 0.3s ease;
}
.additional-btn:hover {
  background: var(--gold);
  color: #1a1a1a;
}
@media (max-width: 600px) {
  .additional-links { flex-direction: column; }
  .additional-btn { min-width: unset; }
}
/* Simple inline CTA button (used in some career-dev topics) */
.cta-button {
  display: inline-block;
  padding: 12px 28px;
  background: var(--gold);
  color: #1a1a1a;
  font-weight: 700;
  font-family: 'Josefin Sans', sans-serif;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.97rem;
  transition: all 0.3s ease;
}
.cta-button:hover { background: var(--gold-light); transform: translateY(-2px); }
@media (max-width: 768px) {
  .download-cta { padding: 30px 20px; }
  .featured-product-card { padding: 24px 18px; }
}

/* ── Share buttons ───────────────────────────────────────────── */
.share-buttons-top { margin-bottom: 20px; }
.share-buttons-inner {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  padding: 14px 18px; background: var(--bg-light);
  border: 1px solid #e0e0e0; border-radius: 10px;
}
.share-label { font-size: 13px; color: var(--text-light); margin-right: 4px; }
.share-btn {
  padding: 7px 16px; border: 2px solid var(--gold); border-radius: 20px;
  background: var(--white); color: var(--text); font-size: 13px; font-weight: 600;
  cursor: pointer; transition: all 0.2s; font-family: inherit;
}
.share-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--dark); }

/* ── Premium products ───────────────────────────────────────── */
.premium-products {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 100%);
  border: 2px solid var(--gold); border-radius: 15px;
  padding: 36px 40px; margin: 40px 0; text-align: center;
}
.premium-products-heading {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 1.6rem; color: var(--gold-light); margin-bottom: 24px; letter-spacing: 1px;
}
.premium-products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.premium-product-card {
  display: block; background: rgba(255,255,255,0.05);
  border: 2px solid var(--gold-dark); border-radius: 10px;
  padding: 20px; transition: all 0.3s;
}
.premium-product-card:hover {
  border-color: var(--gold-light); background: rgba(212,175,55,0.1); transform: translateY(-3px);
}
.premium-product-title { font-family: 'Josefin Sans', sans-serif; font-size: 14px; font-weight: 600; color: var(--gold); margin-bottom: 6px; }
.premium-product-price { font-size: 13px; color: var(--gold-light); font-weight: 700; }

/* ── Related topics ─────────────────────────────────────────── */
.related-topics { margin-top: 48px; }
.related-topics-heading {
  font-family: 'Josefin Sans', sans-serif; font-size: 1.5rem; font-weight: 600;
  margin-bottom: 20px; padding-bottom: 10px; border-bottom: 3px solid var(--gold);
}
.related-topics-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.related-topic-card {
  display: block; background: var(--white); border: 2px solid var(--gold);
  border-radius: 10px; padding: 18px 20px; transition: all 0.3s;
}
.related-topic-card:hover { box-shadow: 0 5px 15px rgba(212,175,55,0.2); transform: translateY(-2px); }
.related-topic-title { font-family: 'Josefin Sans', sans-serif; font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.related-topic-time { font-size: 12px; color: var(--gold-dark); font-weight: 600; }

/* ── Loyalty banner ─────────────────────────────────────────── */
.lb { width: 100%; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; }

.lb--progress {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px;
  background: var(--dark2); border-bottom: 2px solid var(--gold);
  padding: 14px 24px;
}
.lb__hl-sm { display: block; font-weight: 700; font-size: 14px; color: var(--gold-light); }
.lb__sub-sm { color: var(--gold-dark); font-size: 13px; }
.lb--progress .lb__copy { flex: 1; min-width: 180px; }
.lb__bar-wrap { display: flex; align-items: center; gap: 10px; }
.lb__bar-track { width: 140px; height: 6px; background: #444; border-radius: 3px; overflow: hidden; }
.lb__bar-fill { height: 100%; background: var(--gold); border-radius: 3px; transition: width 0.4s ease; }
.lb__bar-label { font-size: 12px; color: var(--gold-dark); white-space: nowrap; }

.lb--panel {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 100%);
  border-bottom: 2px solid var(--gold); padding: 28px 24px;
}
.lb--join { border: 2px solid var(--gold); border-radius: 15px; margin: 28px 0; border-bottom: 2px solid var(--gold); }

.lb__inner { max-width: 620px; }
.lb__emoji { font-size: 28px; margin-bottom: 8px; }
.lb__kicker { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gold-dark); font-weight: 600; margin-bottom: 8px; }
.lb__hl { font-family: 'Josefin Sans', sans-serif; font-size: 1.5rem; font-weight: 700; color: var(--gold-light); margin-bottom: 8px; line-height: 1.3; }
.lb__sub { font-size: 14px; color: var(--gold); margin-bottom: 20px; line-height: 1.6; }

.lb__form { display: flex; flex-wrap: wrap; gap: 8px; }
.lb__input {
  flex: 1; min-width: 200px; padding: 12px 18px; border: none; border-radius: 30px;
  font-size: 15px; font-family: inherit; outline: none; background: var(--white); color: var(--dark);
}
.lb__btn {
  padding: 12px 26px; background: var(--gold); color: var(--dark);
  border: 2px solid var(--gold); border-radius: 30px;
  font-size: 15px; font-weight: 700; cursor: pointer; font-family: 'Josefin Sans', sans-serif;
  transition: all 0.3s; white-space: nowrap;
}
.lb__btn:hover:not(:disabled) { background: var(--gold-light); transform: translateY(-2px); }
.lb__btn:disabled { opacity: 0.55; cursor: not-allowed; }
.lb__switch { font-size: 13px; color: var(--gold-dark); margin-top: 14px; }
.lb__switch-btn { background: none; border: none; color: var(--gold-dark); font-size: 13px; cursor: pointer; text-decoration: underline; font-family: inherit; padding: 0; }
.lb__switch-btn:hover { color: var(--gold); }

/* ── Invite widget ──────────────────────────────────────────── */
.ly-invite { margin: 32px 0; }
.ly-invite-inner { background: var(--white); border: 2px solid var(--gold); border-radius: 12px; padding: 24px 28px; }
.ly-invite-title { font-family: 'Josefin Sans', sans-serif; font-weight: 700; font-size: 16px; margin-bottom: 4px; }
.ly-invite-sub { font-size: 13px; color: var(--text-light); margin-bottom: 14px; }
.ly-invite-done { font-size: 14px; color: #3a8a4a; }
.ly-invite-form { display: flex; flex-wrap: wrap; gap: 8px; }
.ly-invite-input { flex: 1; min-width: 180px; padding: 10px 16px; border: 2px solid #ddd; border-radius: 30px; font-size: 14px; font-family: inherit; outline: none; }
.ly-invite-input:focus { border-color: var(--gold); }
.ly-invite-btn { padding: 10px 22px; background: var(--gold); color: var(--dark); border: 2px solid var(--gold); border-radius: 30px; font-size: 14px; font-weight: 700; cursor: pointer; font-family: inherit; transition: all 0.2s; }
.ly-invite-btn:hover:not(:disabled) { background: var(--gold-light); }
.ly-invite-btn:disabled { opacity: 0.55; cursor: not-allowed; }
.ly-invite-note { font-size: 13px; color: #c00; margin-top: 8px; }

/* ── Discount request ───────────────────────────────────────── */
.disc-req { background: var(--bg-light); border: 2px solid var(--gold); border-radius: 12px; padding: 24px 28px; margin: 24px 0; }
.disc-req-text { font-size: 14px; color: var(--text-light); margin-bottom: 12px; }
.disc-req-done { font-size: 14px; color: #3a8a4a; }
.disc-req-form { display: flex; flex-wrap: wrap; gap: 8px; }
.disc-req-input { flex: 1; min-width: 180px; padding: 10px 16px; border: 2px solid #ddd; border-radius: 30px; font-size: 14px; font-family: inherit; outline: none; }
.disc-req-input:focus { border-color: var(--gold); }
.disc-req-btn { padding: 10px 22px; background: var(--gold); color: var(--dark); border: 2px solid var(--gold); border-radius: 30px; font-size: 14px; font-weight: 700; cursor: pointer; font-family: inherit; transition: all 0.2s; }
.disc-req-btn:hover:not(:disabled) { background: var(--gold-light); }
.disc-req-btn:disabled { opacity: 0.7; cursor: not-allowed; }
.disc-req-note { font-size: 13px; color: var(--text-light); margin-top: 8px; }

/* ── Toast ──────────────────────────────────────────────────── */
.osc-toast {
  position: fixed; bottom: 24px; left: 50%;
  transform: translateX(-50%) translateY(16px);
  opacity: 0; transition: opacity 0.25s, transform 0.25s;
  background: var(--dark); color: var(--gold);
  font-family: 'Josefin Sans', sans-serif; font-size: 14px; font-weight: 600;
  padding: 13px 24px; border-radius: 30px; border: 1px solid var(--gold);
  z-index: 9999; max-width: 420px; text-align: center;
  pointer-events: none; box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}
.osc-toast--visible { opacity: 1; transform: translateX(-50%) translateY(0); }
.osc-toast--success { background: #1a3d22; border-color: #4caf50; color: #90ee90; }
.osc-toast--error   { background: #3d1a1a; border-color: #f44336; color: #ffb3b3; }

/* ── Footer ─────────────────────────────────────────────────── */
.site-footer { background: var(--dark); border-top: 2px solid var(--gold); padding: 32px 0; margin-top: auto; }
.site-footer-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 20px;
  font-size: 13px; color: rgba(255,255,255,0.5);
  display: flex; flex-direction: column; gap: 6px;
}
.site-footer a { color: rgba(255,255,255,0.5); }
.site-footer a:hover { color: var(--gold); text-decoration: underline; }
.footer-links { color: rgba(255,255,255,0.35); }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 768px) {
  .home-hero { padding: 56px 20px; }
  .home-hero-title { font-size: 2rem; }
  .category-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .topic-content .content-section { padding: 24px 20px; }
  .premium-products { padding: 28px 20px; }
  .lb--progress { padding: 12px 16px; }
  .lb__bar-track { width: 100px; }
}
@media (max-width: 480px) {
  .category-grid { grid-template-columns: 1fr; }
  .topic-grid { grid-template-columns: 1fr; }
  .site-nav { gap: 16px; }
  .category-icon { width: 64px; height: 64px; font-size: 1.2rem; }
}

/* ── Logo image ─────────────────────────────────────────────── */
.logo-img {
  height: 48px;
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 4px rgba(212,175,55,0.3));
}

/* ── Mobile menu toggle ─────────────────────────────────────── */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--gold);
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
  line-height: 1;
}

/* ── Container (global) ─────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ── Promo banners ──────────────────────────────────────────── */
.promo-banner { padding: 40px 20px; background: var(--bg-light); }
.promo-banner-bottom { margin-top: 0; }
.promo-link {
  display: block; border-radius: 15px; overflow: hidden;
  border: 3px solid var(--gold); transition: all 0.3s;
  box-shadow: 0 5px 20px rgba(212,175,55,0.2);
}
.promo-link:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(212,175,55,0.4); }
.promo-image { width: 100%; height: auto; display: block; }

/* ── About section ──────────────────────────────────────────── */
.about-section { padding: 60px 0; background: var(--bg-light); }
.about-section .section-header h2 {
  font-family: 'Josefin Sans', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 600; letter-spacing: 1px;
  text-align: center; margin-bottom: 24px;
}
.about-text {
  max-width: 800px; margin: 0 auto; text-align: left; line-height: 1.8;
  font-size: 1rem; color: var(--text);
}
.about-text p { margin-bottom: 1.2em; }
.about-text strong { font-weight: 700; }

/* ── Section header ─────────────────────────────────────────── */
.section-header { text-align: center; margin-bottom: 40px; }
.section-header h2 {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 2.2rem; font-weight: 600; letter-spacing: 1px;
  color: var(--text); margin-bottom: 12px;
}
.section-header p { font-size: 1.1rem; color: var(--text-light); max-width: 600px; margin: 0 auto; }

/* ── Full footer ────────────────────────────────────────────── */
.site-footer {
  background: var(--dark);
  border-top: 2px solid var(--gold);
  padding: 0;
  margin-top: auto;
  color: rgba(255,255,255,0.7);
}
.footer-content {
  max-width: 1200px; margin: 0 auto; padding: 40px 20px 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px;
}
.footer-section h3 {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 1rem; font-weight: 700; letter-spacing: 0.5px;
  color: var(--gold); margin-bottom: 14px;
  text-transform: uppercase; font-size: 12px;
}
.footer-section ul { list-style: none; }
.footer-section ul li { margin-bottom: 8px; }
.footer-section a { color: rgba(255,255,255,0.6); font-size: 14px; transition: color 0.2s; }
.footer-section a:hover { color: var(--gold); }
.footer-subscribe { color: var(--gold) !important; font-weight: 600; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center; padding: 18px 20px;
  font-size: 13px; color: rgba(255,255,255,0.45);
}
.footer-bottom a { color: var(--gold); }
.footer-bottom a:hover { text-decoration: underline; }

/* ── Breadcrumb (proper size) ───────────────────────────────── */
.breadcrumb {
  font-size: 14px; color: var(--gold-dark);
  margin-bottom: 20px; padding: 16px 0 0;
  line-height: 1.5;
}
.breadcrumb a { color: var(--gold-dark); }
.breadcrumb a:hover { color: var(--gold); text-decoration: underline; }

/* ── Topic header (full-width dark strip) ───────────────────── */
.topic-header {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 100%);
  border-bottom: 3px solid var(--gold);
  padding: 40px 0 36px;
  margin-bottom: 36px;
}
.topic-header .breadcrumb { color: var(--gold-dark); }
.topic-header .breadcrumb a { color: var(--gold-dark); }
.topic-title { color: var(--gold-light); }
.topic-subtitle { color: var(--gold); }
.topic-meta { color: var(--gold-dark); }

/* ── Featured page ──────────────────────────────────────────── */
.featured-hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 100%);
  border-bottom: 3px solid var(--gold);
  text-align: center; padding: 60px 20px 40px;
}
.featured-hero h1 {
  font-family: 'Josefin Sans', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem); font-weight: 700;
  color: var(--gold-light); letter-spacing: 2px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5); margin-bottom: 12px;
}
.featured-hero p { font-size: 1.2rem; color: var(--gold); max-width: 700px; margin: 0 auto; }

.products-grid {
  max-width: 1200px; margin: 40px auto 60px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}
.product-card {
  display: block; background: var(--white);
  border: 3px solid var(--gold); border-radius: 16px;
  overflow: hidden; transition: all 0.3s; text-decoration: none; color: inherit;
}
.product-card:hover { transform: translateY(-10px); box-shadow: 0 15px 40px rgba(212,175,55,0.3); }
.product-image { width: 100%; aspect-ratio: 5/7; overflow: hidden; position: relative; }
.product-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-content { padding: 28px; }
.product-content h3 { font-family: 'Josefin Sans', sans-serif; font-size: 1.3rem; color: var(--text); margin-bottom: 12px; font-weight: 600; }
.product-content p { color: var(--text-light); line-height: 1.7; margin-bottom: 18px; font-size: 0.95rem; }
.product-cta {
  display: block; text-align: center;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--dark); padding: 14px 24px; border-radius: 30px;
  font-weight: 700; font-size: 1rem; transition: all 0.3s;
}
.product-cta:hover { transform: scale(1.03); box-shadow: 0 5px 20px rgba(212,175,55,0.4); }

/* ── Responsive additions ───────────────────────────────────── */
@media (max-width: 768px) {
  .mobile-menu-toggle { display: block !important; }
  .site-nav {
    display: none !important;
    position: absolute !important;
    top: 100%;
    left: 0; right: 0;
    background: var(--dark);
    flex-direction: column !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    z-index: 1000;
  }
  .site-nav.active { display: flex !important; }
  .site-nav a {
    padding: 15px 20px !important;
    border-bottom: 1px solid #333;
    font-size: 16px;
  }
  .products-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-content { grid-template-columns: 1fr 1fr; }
  .logo-img { height: 40px; }
}
@media (max-width: 480px) {
  .footer-content { grid-template-columns: 1fr; }
}

/* ============================================================
   Topic content — generic *-grid / *-card patterns
   Covers all 80+ variant classes used across 64 topics
   ============================================================ */

/* ── Any *-grid inside topic content ───────────────────────── */
.topic-content [class$="-grid"],
.topic-content [class$="-list"],
.topic-content .listening-levels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin: 24px 0;
}

/* ── Any *-card inside topic content ───────────────────────── */
.topic-content [class$="-card"] {
  background: #fff;
  border: 2px solid #e8e8e8;
  border-radius: 12px;
  padding: 22px 20px;
  transition: all 0.3s ease;
}
.topic-content [class$="-card"]:hover {
  border-color: var(--gold);
  box-shadow: 0 6px 20px rgba(212,175,55,0.15);
  transform: translateY(-3px);
}
.topic-content [class$="-card"] h3 {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 1.05rem;
  color: var(--text);
  margin: 0 0 10px;
  font-weight: 600;
}
.topic-content [class$="-card"] p {
  color: #555;
  font-size: 0.92rem;
  line-height: 1.65;
  margin: 0 0 8px;
}
.topic-content [class$="-card"] p:last-child { margin-bottom: 0; }

/* ── category-card variant (cream bg + gold left border) ────── */
.topic-content .category-card {
  background: #f8f4e8;
  border: none;
  border-left: 5px solid var(--gold);
  border-radius: 10px;
  box-shadow: none;
}
.topic-content .category-card:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--gold);
}

/* ── criteria-card variant (gold h3, hover lift) ────────────── */
.topic-content .criteria-card h3 { color: var(--gold); }
.topic-content .criteria-card:hover {
  border-color: var(--gold);
  box-shadow: 0 8px 24px rgba(212,175,55,0.15);
  transform: translateY(-4px);
}

/* ── pitfall-card variant (red problem, green solution) ─────── */
.topic-content .pitfall-card h3 { color: #dc3545; }
.topic-content .pitfall-card p { color: #28a745; font-weight: 500; }

/* ── Jumpstart callout ──────────────────────────────────────── */
.topic-content .jumpstart-callout {
  background: linear-gradient(135deg, #1a1a1a, #2a2a2a) !important;
  border: 3px solid var(--gold) !important;
  border-radius: 20px !important;
  padding: 44px 40px !important;
  margin: 60px 0 !important;
  text-align: center !important;
  box-shadow: none !important;
  transform: none !important;
}
.topic-content .jumpstart-callout h2 {
  color: var(--gold-light) !important;
  font-size: 1.9rem !important;
  margin: 0 0 20px !important;
  border: none !important;
  padding: 0 !important;
  font-family: 'Josefin Sans', sans-serif;
}
.topic-content .jumpstart-callout p {
  color: #f0f0f0 !important;
  font-size: 1.05rem !important;
  line-height: 1.8 !important;
  margin: 0 0 12px !important;
}
.topic-content .jumpstart-callout strong { color: var(--gold-light) !important; }
.topic-content .jumpstart-callout:hover {
  border-color: var(--gold) !important;
  box-shadow: none !important;
  transform: none !important;
}

/* ── Content-section wrapper ────────────────────────────────── */
.topic-content .content-section {
  margin: 36px 0;
  padding: 36px 40px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  border: none;
}
.topic-content .content-section h2 {
  font-family: 'Josefin Sans', sans-serif;
  color: var(--text);
  font-size: 1.6rem;
  font-weight: 600;
  margin: 0 0 24px;
  padding-bottom: 14px;
  border-bottom: 3px solid var(--gold);
  letter-spacing: 0.3px;
}
.topic-content .content-section h3 {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  margin: 16px 0 8px;
}
.topic-content .content-section p {
  color: #444;
  line-height: 1.75;
  margin: 0 0 14px;
  font-size: 0.97rem;
}

/* ── Process flow ───────────────────────────────────────────── */
.topic-content .process-flow { display: flex; flex-direction: column; gap: 0; margin: 40px 0; }
.topic-content .process-step {
  display: flex; gap: 20px; align-items: flex-start;
  background: #fff;
  border: 2px solid #e8e8e8;
  border-radius: 14px; padding: 24px 28px;
  transition: all 0.3s ease; margin-bottom: 6px;
}
.topic-content .process-step:hover {
  border-color: var(--gold);
  box-shadow: 0 6px 20px rgba(212,175,55,0.15);
  transform: translateX(4px);
}
.topic-content .step-circle {
  flex-shrink: 0; width: 52px; height: 52px; min-width: 52px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--dark); display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.4rem; font-family: 'Josefin Sans', sans-serif;
  box-shadow: 0 4px 12px rgba(212,175,55,0.3);
}
.topic-content .step-content h3 { font-family: 'Josefin Sans', sans-serif; font-size: 1.1rem; margin: 0 0 6px; color: var(--text); }
.topic-content .step-content p  { font-size: 0.95rem; color: #555; line-height: 1.6; margin: 0; }
.topic-content .step-connector  { display: flex; padding-left: 38px; color: var(--gold); font-size: 1.4rem; margin: 2px 0; }

/* ── Styled list ────────────────────────────────────────────── */
.topic-content .styled-list { list-style: none; padding: 0; margin: 16px 0; }
.topic-content .styled-list li {
  padding: 10px 14px 10px 36px; position: relative;
  border-bottom: 1px solid #f0f0f0; font-size: 0.95rem; color: #444;
}
.topic-content .styled-list li::before {
  content: "→"; position: absolute; left: 12px; color: var(--gold); font-weight: 700;
}

/* ── Listening levels (hierarchy) ───────────────────────────── */
.topic-content .listening-levels { display: flex; flex-direction: column; gap: 8px; margin: 20px 0; }
.topic-content .level-card {
  padding: 14px 20px; border-radius: 8px;
  border-left: 4px solid var(--gold); background: var(--bg-light);
  border-top: none; border-right: none; border-bottom: none;
}
.topic-content .level-1 { opacity: 1.0; }
.topic-content .level-2 { opacity: 0.88; margin-left: 16px; }
.topic-content .level-3 { opacity: 0.76; margin-left: 32px; }
.topic-content .level-4 { opacity: 0.64; margin-left: 48px; }
.topic-content .level-5 { opacity: 0.52; margin-left: 64px; }

/* ── Product thumbnail grid (3-up in content) ───────────────── */
.topic-content .product-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 40px auto;
  padding: 0;
}
.topic-content .product-grid-3 a {
  display: block; text-decoration: none; transition: transform 0.3s;
  border: none; background: none; padding: 0; border-radius: 0;
}
.topic-content .product-grid-3 a:hover { transform: translateY(-5px); box-shadow: none; }
.topic-content .product-grid-3 img {
  width: 100%; aspect-ratio: 1/1; object-fit: cover;
  border-radius: 12px; border: 2px solid var(--gold); display: block;
}
.topic-content .product-grid-3 p {
  text-align: center; margin: 10px 0 0; color: var(--text);
  font-size: 1rem; font-weight: 600;
}

/* ── Related topics (from content HTML) ─────────────────────── */
.topic-content .related-topics {
  margin: 60px 0 20px;
  padding-top: 40px;
  border-top: 2px solid var(--gold);
}
.topic-content .related-topics h2 {
  text-align: center; color: var(--text);
  margin-bottom: 32px; font-family: 'Josefin Sans', sans-serif;
  font-size: 1.6rem; border: none; padding: 0;
}
.topic-content .topic-cards-mini {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}
.topic-content .mini-card {
  background: #fff; border: 2px solid #e8e8e8; border-radius: 12px;
  padding: 22px; text-decoration: none; display: block; transition: all 0.3s;
  color: var(--text);
}
.topic-content .mini-card:hover {
  border-color: var(--gold); transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(212,175,55,0.2);
}
.topic-content .mini-card h3 {
  color: var(--text); font-size: 1rem; margin: 0 0 8px;
  font-family: 'Josefin Sans', sans-serif; font-weight: 600;
}
.topic-content .mini-card p { color: #666; font-size: 0.88rem; line-height: 1.5; margin: 0; }

/* ── Standalone product-grid-3 (rendered OUTSIDE .topic-content) ── */
.product-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
}
.product-grid-3 a {
  display: block; text-decoration: none; transition: transform 0.3s ease;
}
.product-grid-3 a:hover { transform: translateY(-5px); }
.product-grid-3 img {
  width: 100%; aspect-ratio: 1/1; object-fit: cover;
  border-radius: 12px; border: 2px solid var(--gold); display: block;
}
.product-grid-3 p {
  text-align: center; margin-top: 10px; color: #2c3e50;
  font-size: 1rem; font-weight: 600;
}

/* ── Standalone related-topics / Continue Free Learning ── */
.related-topics {
  margin: 60px 0 20px;
  padding-top: 40px;
  border-top: 2px solid var(--gold);
}
.related-topics-heading {
  text-align: center; color: var(--text);
  margin-bottom: 32px; font-family: 'Josefin Sans', sans-serif;
  font-size: 1.6rem;
}
.topic-cards-mini {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}
.mini-card {
  background: #fff; border: 2px solid #e8e8e8; border-radius: 12px;
  padding: 22px; text-decoration: none; display: block;
  transition: all 0.3s ease; color: var(--text);
}
.mini-card:hover {
  border-color: var(--gold); transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(212,175,55,0.2);
}
.mini-card h3 {
  color: var(--text); font-size: 1rem; margin: 0 0 8px;
  font-family: 'Josefin Sans', sans-serif; font-weight: 600;
}
.mini-card p { color: #666; font-size: 0.88rem; line-height: 1.5; margin: 0; }

/* ── topic-hero (used in some content areas) ────────────────── */
.topic-hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 100%);
  border-bottom: 3px solid var(--gold);
  padding: 52px 20px 40px;
  text-align: center;
}
.topic-hero h1 {
  font-family: 'Josefin Sans', sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 700;
  color: var(--gold-light); text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
  margin-bottom: 12px; letter-spacing: 1px;
}
.topic-hero p { font-size: 1.1rem; color: var(--gold); max-width: 640px; margin: 0 auto 14px; }
.topic-hero .breadcrumb { color: var(--gold-dark); margin-bottom: 16px; }
.topic-hero .breadcrumb a { color: var(--gold-dark); }
.topic-hero .breadcrumb a:hover { color: var(--gold); text-decoration: underline; }

/* ── Responsive content ─────────────────────────────────────── */
@media (max-width: 768px) {
  .topic-content .content-section { padding: 24px 18px; }
  .topic-content [class$="-grid"],
  .topic-content [class$="-list"],
  .topic-content .topic-cards-mini,
  .topic-content .product-grid-3 { grid-template-columns: 1fr !important; }
  .topic-content .jumpstart-callout { padding: 30px 20px !important; }
  .topic-content .level-2,
  .topic-content .level-3,
  .topic-content .level-4,
  .topic-content .level-5 { margin-left: 0; }
  .product-grid-3 { grid-template-columns: 1fr !important; gap: 30px; }
  .topic-cards-mini { grid-template-columns: 1fr !important; }
}
