/* The Study Design Co. — styles for every page */

:root {
  --ink: #10222B;
  --ink-soft: #3C4E58;
  --ink-faint: #6B7A83;
  --blue: #007CB7;
  --blue-dark: #00618F;
  --gold: #D29923;
  --gold-dark: #B07F14;
  --cream: #F4EAD2;
  --cream-soft: #FAF4E8;
  --page: #FCFCF9;
  --white: #FFFFFF;
  --line: #E4E0D4;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 1px 2px rgba(16, 34, 43, .04), 0 8px 24px rgba(16, 34, 43, .06);
  --shadow-lift: 0 2px 4px rgba(16, 34, 43, .05), 0 16px 40px rgba(16, 34, 43, .10);
  --maxw: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .display {
  font-family: Poppins, Inter, -apple-system, sans-serif;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0;
}

p { margin: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 20px;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(252, 252, 249, .88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}

.site-header img { height: 34px; width: auto; }

.header-note {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-faint);
}

.back-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.back-link:hover { color: var(--blue); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 22px;
  border: 0;
  border-radius: 12px;
  font-family: Poppins, Inter, sans-serif;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 6px 18px rgba(0, 124, 183, .28); }
.btn-blue:hover { background: var(--blue-dark); box-shadow: 0 10px 26px rgba(0, 124, 183, .34); }

.btn-gold { background: var(--gold); color: var(--ink); box-shadow: 0 6px 18px rgba(210, 153, 35, .30); }
.btn-gold:hover { background: var(--gold-dark); color: #fff; box-shadow: 0 10px 26px rgba(210, 153, 35, .36); }

.btn-ink { background: var(--ink); color: #fff; box-shadow: 0 6px 18px rgba(16, 34, 43, .22); }
.btn-ink:hover { background: #1C3745; }

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}
.btn-outline:hover { border-color: var(--ink); background: var(--white); }

/* ---------- Hero (index) ---------- */

.hero {
  min-height: calc(100svh - 72px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: clamp(20px, 4vh, 52px);
  background:
    radial-gradient(ellipse 60% 50% at 12% 0%, var(--cream) 0%, transparent 62%),
    radial-gradient(ellipse 50% 40% at 92% 8%, rgba(0, 124, 183, .07) 0%, transparent 60%);
}

.hero-head {
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
  margin-bottom: clamp(14px, 2.4vh, 26px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 11px;
}
.eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.hero h1 {
  font-size: clamp(28px, 3.7vw, 44px);
  margin-bottom: 10px;
}
.hero h1 em {
  font-style: normal;
  color: var(--blue);
}

.hero-sub {
  font-size: clamp(15.5px, 1.3vw, 18px);
  color: var(--ink-soft);
  max-width: 700px;
  margin-inline: auto;
}

/* ---------- Course cards ---------- */

.course-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 2vw, 26px);
  align-items: stretch;
}

.course-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 2.2vh, 28px);
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  position: relative;
  overflow: hidden;
}
.course-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
}
.course-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}
.course-card.is-blue::before { background: var(--blue); }
.course-card.is-blue:hover { border-color: rgba(0, 124, 183, .35); }
.course-card.is-gold::before { background: var(--gold); }
.course-card.is-gold:hover { border-color: rgba(210, 153, 35, .45); }

.course-tag {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.is-blue .course-tag { color: var(--blue); }
.is-gold .course-tag { color: var(--gold-dark); }

.course-card h2 {
  font-size: clamp(23px, 2.2vw, 29px);
  margin-bottom: 12px;
}

.benefits {
  list-style: none;
  margin: 0 0 clamp(14px, 1.8vh, 20px);
  padding: 0;
  display: grid;
  gap: clamp(7px, 0.9vh, 10px);
}
.benefits li {
  position: relative;
  padding-left: 30px;
  font-size: clamp(14.5px, 1.05vw, 15.5px);
  line-height: 1.42;
  color: var(--ink-soft);
}
.benefits li strong { color: var(--ink); font-weight: 600; }
.benefits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .34em;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 11px;
}
.is-blue .benefits li::before {
  background-color: rgba(0, 124, 183, .12);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23007CB7' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 8.5l3.6 3.6L13.5 4.6'/%3E%3C/svg%3E");
}
.is-gold .benefits li::before {
  background-color: rgba(210, 153, 35, .16);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23B07F14' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 8.5l3.6 3.6L13.5 4.6'/%3E%3C/svg%3E");
}

.card-foot { margin-top: auto; }

.price-from {
  font-size: 14.5px;
  color: var(--ink-faint);
  margin-bottom: 12px;
}
.price-from b { color: var(--ink); font-weight: 600; }

.hero-trust {
  margin-top: clamp(14px, 2vh, 22px);
  text-align: center;
}
.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
  font-family: Poppins, Inter, sans-serif;
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
  box-shadow: 0 6px 18px rgba(16, 34, 43, .20);
}
.hero-trust span::before {
  content: "\2605";
  color: var(--gold);
  font-size: 17px;
  line-height: 1;
}

/* ---------- Money-back guarantee (student landing page) ---------- */

.guarantee { padding-block: clamp(28px, 4vh, 44px); }
.guarantee-card {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 28px);
  max-width: 900px;
  margin-inline: auto;
  padding: clamp(22px, 3vw, 32px) clamp(22px, 3.5vw, 40px);
  background: var(--white);
  border: 2px solid var(--gold);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
}
.guarantee-icon {
  flex: none;
  display: flex; align-items: center; justify-content: center;
  width: 72px; height: 72px;
  border-radius: 50%;
  background: rgba(210, 153, 35, .14);
  color: var(--gold-dark);
}
.guarantee-label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 6px;
}
.guarantee-headline {
  font-family: Poppins, Inter, sans-serif;
  font-weight: 700;
  font-size: clamp(19px, 2.2vw, 25px);
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 12px;
}

/* ---------- Generic sections ---------- */

section.band { padding-block: clamp(56px, 8vh, 96px); }
section.band.cream { background: var(--cream-soft); border-block: 1px solid var(--line); }

.section-head {
  max-width: 680px;
  margin: 0 auto clamp(32px, 5vh, 52px);
  text-align: center;
}
.section-head h2 { font-size: clamp(26px, 3.2vw, 38px); margin-bottom: 12px; }
.section-head p { color: var(--ink-soft); font-size: 17px; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.step-n {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  font-family: Poppins, sans-serif;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 16px;
}
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { color: var(--ink-soft); font-size: 15.5px; }

/* ---------- Credibility statement ---------- */

.statement {
  background: var(--ink);
  padding-block: clamp(44px, 7vh, 72px);
  text-align: center;
}
.statement p {
  max-width: 820px;
  margin-inline: auto;
  font-family: Poppins, Inter, sans-serif;
  font-weight: 600;
  font-size: clamp(21px, 2.6vw, 30px);
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: #fff;
}

/* ---------- Pricing (course pages) ---------- */

.page-hero {
  padding-block: clamp(44px, 7vh, 76px) clamp(28px, 4vh, 44px);
  text-align: center;
  background: radial-gradient(ellipse 70% 60% at 50% 0%, var(--cream) 0%, transparent 65%);
}
.page-hero h1 { font-size: clamp(30px, 4.4vw, 48px); margin-bottom: 14px; }
.page-hero p {
  color: var(--ink-soft);
  font-size: clamp(16px, 1.5vw, 19px);
  max-width: 640px;
  margin-inline: auto;
}

.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: start;
  padding-bottom: clamp(56px, 8vh, 92px);
}

.tier {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  box-shadow: var(--shadow);
}
.tier.featured {
  border: 2px solid var(--gold);
  box-shadow: var(--shadow-lift);
}
.tier.top { background: var(--ink); color: #fff; border-color: var(--ink); }
.tier.top .tier-name { color: var(--cream); }
.tier.top .tier-blurb, .tier.top .incl li { color: #C9D4DA; }
.tier.top .incl li strong { color: #fff; }
.tier.top .tier-price { color: #fff; }
.tier.top .tier-price span { color: #96A6AF; }
.tier.top .incl-head { color: #8FA3AD; border-color: rgba(255,255,255,.14); }

.tier-flag {
  align-self: flex-start;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.flag-gold { background: var(--gold); color: var(--ink); }
.flag-cream { background: rgba(244, 234, 210, .22); color: var(--cream); }
.flag-ghost { background: var(--cream); color: var(--ink-soft); }

.tier-name {
  font-family: Poppins, sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.tier-blurb {
  font-size: 15px;
  color: var(--ink-soft);
  margin-bottom: 18px;
  min-height: 44px;
}
.tier-price {
  font-family: Poppins, sans-serif;
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 4px;
}
.tier-price span {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-faint);
  letter-spacing: 0;
}
.tier-pay {
  font-size: 14px;
  color: var(--ink-faint);
  margin-bottom: 20px;
}
.tier .btn { margin-bottom: 22px; }

.incl-head {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  padding-top: 18px;
  border-top: 1px solid var(--line);
  margin-bottom: 14px;
}
.incl {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 11px;
}
.incl li {
  position: relative;
  padding-left: 27px;
  font-size: 15px;
  line-height: 1.45;
  color: var(--ink-soft);
}
.incl li strong { color: var(--ink); font-weight: 600; }
.incl li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .3em;
  width: 17px; height: 17px;
  border-radius: 50%;
  background-color: rgba(0, 124, 183, .12);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23007CB7' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 8.5l3.6 3.6L13.5 4.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px;
}
.incl li.plus::before {
  background-color: rgba(210, 153, 35, .18);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23B07F14' stroke-width='2.8' stroke-linecap='round'%3E%3Cpath d='M8 3v10M3 8h10'/%3E%3C/svg%3E");
}
.tier.top .incl li::before {
  background-color: rgba(244, 234, 210, .16);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23F4EAD2' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 8.5l3.6 3.6L13.5 4.6'/%3E%3C/svg%3E");
}
.tier.top .incl li.plus::before {
  background-color: rgba(210, 153, 35, .30);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23F0C46A' stroke-width='2.8' stroke-linecap='round'%3E%3Cpath d='M8 3v10M3 8h10'/%3E%3C/svg%3E");
}

.carry {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  background: var(--cream-soft);
  border-radius: 10px;
  padding: 11px 14px;
  margin-bottom: 16px;
}
.tier.top .carry { background: rgba(244, 234, 210, .12); color: var(--cream); }

.places {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--gold-dark);
  margin-bottom: 16px;
}
.places::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(210, 153, 35, .22);
}
.tier.top .places { color: #E9BF62; }

/* ---------- FAQ ---------- */

.faq { max-width: 780px; margin-inline: auto; display: grid; gap: 12px; }
.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 4px 22px;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  font-family: Poppins, sans-serif;
  font-weight: 600;
  font-size: 17px;
  padding: 18px 28px 18px 0;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 14px;
  font-size: 24px;
  font-weight: 400;
  color: var(--blue);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 20px; color: var(--ink-soft); font-size: 16px; }

/* ---------- Final CTA ---------- */

.final-cta { text-align: center; }
.final-cta h2 { font-size: clamp(26px, 3.4vw, 40px); margin-bottom: 14px; }
.final-cta p { color: var(--ink-soft); margin-bottom: 28px; font-size: 17px; }
.cta-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-row .btn { width: auto; min-width: 240px; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink);
  color: #A8B7BF;
  padding-block: 46px;
  font-size: 14.5px;
}
.site-footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.site-footer img { height: 30px; width: auto; }
.site-footer a { color: #D8E2E7; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }

/* =====================================================================
   B2B — teacher pages (teachers/*.html)
   ===================================================================== */

.header-nav { display: flex; align-items: center; gap: 22px; }
.nav-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: none;
}
.nav-link:hover { color: var(--blue); }
.nav-link { white-space: nowrap; }
.nav-refer {
  white-space: nowrap; font-weight: 600; font-size: 14px; color: var(--ink); text-decoration: none;
  background: var(--gold); padding: 8px 14px; border-radius: 999px;
}
.nav-refer:hover { filter: brightness(1.06); }
@media (max-width: 1040px) { .nav-refer .refer-long { display: none; } .nav-refer { padding: 7px 12px; } }
/* Purchase order link: full wording on wide screens, short wording on mid-size screens, hidden below 960px (the button by Terms and Conditions stays) */
.nav-po .po-short { display: none; }
@media (max-width: 1120px) {
  .nav-po .po-long { display: none; }
  .nav-po .po-short { display: inline; }
}
@media (max-width: 960px) {
  .header-nav .nav-po { display: none; }
}
.btn { text-align: center; }

/* ---------- Teacher hero ---------- */

.t-hero {
  min-height: calc(100svh - 72px);
  display: flex;
  align-items: center;
  padding-block: clamp(28px, 5vh, 64px);
  background:
    radial-gradient(ellipse 55% 60% at 8% 0%, var(--cream) 0%, transparent 62%),
    radial-gradient(ellipse 45% 45% at 95% 15%, rgba(0, 124, 183, .08) 0%, transparent 60%);
}
.t-hero-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.t-hero h1 {
  font-size: clamp(32px, 4.2vw, 54px);
  margin-bottom: 16px;
}
.t-hero h1 em { font-style: normal; color: var(--blue); }
.t-hero-sub {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--ink-soft);
  margin-bottom: clamp(20px, 3vh, 30px);
  max-width: 560px;
}
.t-hero .btn { width: auto; padding: 17px 30px; font-size: 18px; }
.t-hero-note {
  margin-top: 12px;
  font-size: 14px;
  color: var(--ink-faint);
}
.t-hero .hero-trust { text-align: left; margin-top: clamp(20px, 3vh, 30px); }

.pack-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 2.6vh, 30px);
  box-shadow: var(--shadow-lift);
  position: relative;
  overflow: hidden;
}
.pack-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--gold));
}
.pack-card h2 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-family: Inter, sans-serif;
  margin-bottom: 14px;
}
.pack-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(9px, 1.3vh, 13px);
}
.pack-list li {
  position: relative;
  padding-left: 30px;
  font-size: 15.5px;
  line-height: 1.42;
  color: var(--ink-soft);
}
.pack-list li strong { color: var(--ink); font-weight: 600; }
.pack-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .3em;
  width: 19px; height: 19px;
  border-radius: 50%;
  background-color: rgba(0, 124, 183, .12);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23007CB7' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 8.5l3.6 3.6L13.5 4.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 11px;
}

/* ---------- Package detail grid ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 26px 28px;
}
.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--cream);
  font-size: 20px;
  margin-bottom: 16px;
}
.feature h3 { font-size: 19px; margin-bottom: 8px; }
.feature p { color: var(--ink-soft); font-size: 15.5px; }
.feature p + p { margin-top: 10px; }
.feature .sub-item { margin-top: 12px; padding-left: 14px; border-left: 3px solid var(--cream); }
.feature .sub-item b { color: var(--ink); font-weight: 600; }
.feature.wide { grid-column: span 2; }

/* ---------- Subject callouts (Business Management blue, Economics gold) ---------- */

.subject-callout, .cat-subject {
  --sc-accent: var(--gold);
  --sc-accent-dark: var(--gold-dark);
  --sc-tint: rgba(210, 153, 35, .16);
  --sc-line: rgba(210, 153, 35, .30);
  --sc-bg: linear-gradient(135deg, #FFF8E6 0%, var(--cream-soft) 100%);
  --sc-tag-text: var(--ink);
}
.subject-callout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(22px, 3vw, 40px);
  align-items: center;
  margin-bottom: 22px;
  padding: clamp(24px, 3vw, 34px);
  background: var(--sc-bg);
  border: 1.5px solid var(--sc-line);
  border-left: 6px solid var(--sc-accent);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.subject-callout.is-blue, .cat-subject.is-blue {
  --sc-accent: var(--blue);
  --sc-accent-dark: var(--blue-dark);
  --sc-tint: rgba(0, 124, 183, .12);
  --sc-line: rgba(0, 124, 183, .28);
  --sc-bg: linear-gradient(135deg, #EAF5FB 0%, #F6FAFC 100%);
  --sc-tag-text: #fff;
}
.sc-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: var(--sc-accent);
  color: var(--sc-tag-text);
  padding: 5px 11px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.subject-callout h3 { font-size: clamp(22px, 2.4vw, 28px); margin-bottom: 10px; }
.sc-head p { color: var(--ink-soft); font-size: 16px; }
.sc-points { display: grid; gap: 12px; }
.sc-point {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--sc-line);
  border-radius: 14px;
  padding: 14px 16px;
}
.sc-point b { display: block; font-family: Poppins, Inter, sans-serif; font-weight: 600; font-size: 16px; color: var(--ink); }
.sc-point span:not(.sc-icon) { display: block; font-size: 14.5px; color: var(--ink-soft); line-height: 1.4; }
.sc-icon {
  flex: none;
  display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--sc-tint);
  color: var(--sc-accent-dark);
}

/* ---------- HITS band ---------- */

.hits {
  background: var(--ink);
  color: #fff;
  padding-block: clamp(56px, 8vh, 96px);
}
.hits .section-head h2 { color: #fff; }
.hits .section-head p { color: #B7C5CC; }
.hits-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.hit {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 14px;
  padding: 18px 16px;
}
.hit-n {
  font-family: Poppins, sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 6px;
}
.hit h3 { font-size: 16px; color: #fff; margin-bottom: 6px; line-height: 1.25; }
.hit p { font-size: 14px; color: #B7C5CC; line-height: 1.45; }

/* ---------- B2B pricing ---------- */

.subject-tabs {
  display: inline-flex;
  padding: 5px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  margin: 0 auto clamp(28px, 4vh, 40px);
}
.tabs-wrap { text-align: center; }
.subject-tab {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 11px 22px;
  border-radius: 999px;
  font-family: Poppins, Inter, sans-serif;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink-soft);
  cursor: pointer;
}
.subject-tab[aria-selected="true"] { background: var(--ink); color: #fff; }
.subject-tab:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

.b2b-tiers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  align-items: stretch;
}
.b2b-tiers .tier { padding: 26px 22px; }
.b2b-tiers .tier-price { font-size: 38px; }
.b2b-tiers .tier-blurb { min-height: 0; }
.bonus {
  font-size: 14px;
  font-weight: 600;
  color: var(--gold-dark);
  background: rgba(210, 153, 35, .12);
  border-radius: 10px;
  padding: 9px 12px;
  margin-bottom: 16px;
}
.tier.top .bonus { color: #F0C46A; background: rgba(210, 153, 35, .18); }
.tier-select {
  width: 100%;
  margin-bottom: 14px;
  padding: 11px 12px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  font-family: Inter, sans-serif;
  font-size: 14.5px;
  color: var(--ink);
}
.tier-select:focus { outline: none; border-color: var(--blue); }
.tier-spacer { flex: 1; }
.b2b-tiers .tier .btn { margin-bottom: 0; font-size: 15px; padding: 13px 12px; white-space: nowrap; }
.select-label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-faint);
  margin-bottom: 6px;
}

.tier-incl { margin-bottom: 18px; }
.tier-incl li { font-size: 14px; }

.more-products {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 26px;
  font-size: 15px;
  color: var(--ink-soft);
}
.btn-small {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  font-family: Poppins, Inter, sans-serif;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  background: var(--white);
  transition: background .15s ease, color .15s ease;
}
.btn-small:hover { background: var(--ink); color: #fff; }
.btn-small:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

.b2b-tiers.three { grid-template-columns: repeat(3, 1fr); max-width: 980px; margin-inline: auto; }
.price-note { font-size: 14px; color: var(--ink-faint); text-align: center; margin-top: 22px; }

/* ---------- Economics data note (teacher product pages) ---------- */

.data-note {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  max-width: 820px;
  margin: 26px auto 0;
  padding: 16px 20px;
  background: linear-gradient(135deg, #FFF8E6 0%, var(--cream-soft) 100%);
  border: 1.5px solid rgba(210, 153, 35, .30);
  border-left: 5px solid var(--gold);
  border-radius: 14px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-soft);
}
.data-note[hidden] { display: none; }   /* display: flex would otherwise override hidden */
.data-note strong { color: var(--ink); font-weight: 600; }
.data-note-icon {
  flex: none;
  display: flex; align-items: center; justify-content: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(210, 153, 35, .16);
  color: var(--gold-dark);
}
.cat-subject .data-note { max-width: none; margin: 0 0 22px; }

/* ---------- Coming soon pop-up (teachers/soon-popup.js) ---------- */

.soon-pop {
  width: min(460px, calc(100vw - 32px));
  max-height: calc(100svh - 32px);
  padding: 0;
  border: 0;
  border-radius: var(--radius-lg);
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 24px 60px rgba(16, 34, 43, .28);
  overflow: auto;
}
.soon-pop[open] { animation: soon-pop-in .3s ease-out; }
.soon-pop::backdrop { background: rgba(16, 34, 43, .45); }
@keyframes soon-pop-in { from { transform: translateY(14px); opacity: 0; } to { transform: none; opacity: 1; } }
.soon-pop-inner { position: relative; padding: 30px 28px 22px; }
.soon-pop-inner::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--gold));
}
.soon-pop .eyebrow { margin-bottom: 8px; }
.soon-pop h3 { font-size: 25px; margin-bottom: 10px; padding-right: 30px; }
.soon-pop p { font-size: 15.5px; color: var(--ink-soft); margin-bottom: 16px; }
.soon-pop-list { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 7px; }
.soon-pop-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 12px;
  background: var(--cream-soft);
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.35;
}
.soon-pop-list span { flex: none; font-size: 12.5px; font-weight: 700; color: var(--gold-dark); }
.soon-pop .btn { padding: 14px 18px; font-size: 16px; }
.soon-pop-later {
  appearance: none;
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 8px;
  background: none;
  border: 0;
  cursor: pointer;
  font: 500 14px Inter, sans-serif;
  color: var(--ink-faint);
}
.soon-pop-later:hover { color: var(--ink); text-decoration: underline; }
.soon-pop-close {
  position: absolute;
  top: 14px; right: 14px;
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
  border: 0;
  border-radius: 50%;
  background: #F1EFE8;
  color: var(--ink-soft);
  cursor: pointer;
}
.soon-pop-close:hover { background: #E4E1D8; color: var(--ink); }
.soon-pop-close:focus-visible, .soon-pop-later:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

/* ---------- Rollover promotion + licence terms ---------- */

.promo-bar {
  background: var(--gold);
  color: var(--ink);
  text-align: center;
  font-size: 15px;
  line-height: 1.4;
  padding: 10px 20px;
}
.promo-bar b { font-family: Poppins, Inter, sans-serif; font-weight: 700; }
.promo-bar a { color: var(--ink); font-weight: 700; white-space: nowrap; }

.promo-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  max-width: 820px;
  margin: 0 auto 26px;
  padding: 14px 20px;
  background: var(--ink);
  color: #fff;
  border-radius: 14px;
  text-align: center;
  font-size: 15.5px;
}
.promo-strip .promo-pill {
  background: var(--gold);
  color: var(--ink);
  font-family: Poppins, Inter, sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
}
.promo-strip b { color: #F0C46A; }

.tier-price s.std {
  font-size: .5em;
  font-weight: 600;
  color: var(--ink-faint);
  text-decoration-thickness: 2px;
  margin-right: 6px;
  letter-spacing: 0;
  vertical-align: middle;
}
.tier.top .tier-price s.std { color: #8FA3AD; }
.tier-price b.now { font-weight: inherit; }
.save-tag {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  color: #9A3412;
  background: #FDEBDD;
  border-radius: 6px;
  padding: 2px 8px;
  margin-bottom: 4px;
}
.tier.top .save-tag { background: rgba(240, 196, 106, .18); color: #F0C46A; }
.save-tag { align-self: flex-start; }
.b2b-tiers .tier-price { font-size: 34px; white-space: nowrap; }


.plan-line {
  font-family: Poppins, Inter, sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  background: rgba(0, 124, 183, .09);
  border-left: 3px solid var(--blue);
  border-radius: 8px;
  padding: 9px 12px;
  margin-bottom: 14px;
}
.tier.top .plan-line { color: #fff; background: rgba(255, 255, 255, .08); border-left-color: var(--gold); }


.terms-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
}
.po-btn {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  background: var(--white);
  border: 1.5px solid var(--gold);
  border-radius: 999px;
  font-family: Poppins, Inter, sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  text-align: center;
  transition: background .15s ease, color .15s ease;
}
.po-btn:hover { background: var(--gold); color: var(--ink); }
.po-btn:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.terms-btn {
  appearance: none;
  background: #ECEDEA;
  color: var(--ink-faint);
  border: 1px solid #DCDDD8;
  border-radius: 999px;
  padding: 6px 14px;
  font-family: Inter, sans-serif;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.terms-btn:hover { background: #E1E3DE; color: var(--ink-soft); }
.terms-btn:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

.terms-dialog {
  width: min(560px, calc(100vw - 32px));
  border: 0;
  border-radius: var(--radius-lg);
  padding: 28px 28px 24px;
  color: var(--ink);
  box-shadow: 0 24px 60px rgba(16, 34, 43, .28);
}
.terms-dialog::backdrop { background: rgba(16, 34, 43, .45); }
.terms-dialog h3 { font-size: 20px; margin-bottom: 14px; }
.terms-dialog ul { margin: 0 0 22px; padding-left: 20px; display: grid; gap: 8px; color: var(--ink-soft); font-size: 15px; line-height: 1.5; }
.terms-dialog li strong { color: var(--ink); }
.terms-dialog .terms-close { width: auto; padding: 10px 22px; font-size: 15px; }

/* After the promotion ends (set by a script in each page's <head>), show standard prices only. */
.std-only { display: none; }
html.promo-ended .std-only { display: inline; }
html.promo-ended .promo-only { display: none !important; }
html.promo-ended .tier-price b.now { display: none; }
html.promo-ended .tier-price s.std {
  font-size: 1em; font-weight: inherit; color: inherit;
  text-decoration: none; margin-right: 0; vertical-align: baseline; letter-spacing: inherit;
}

/* ---------- Teacher home: top buttons (subjects + book a demo) ---------- */

.hero-quick {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: clamp(18px, 3.2vh, 34px);
}
.quick-subjects { display: flex; gap: 10px; flex-wrap: wrap; }
.quick-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 18px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  box-shadow: var(--shadow);
  font-family: Poppins, Inter, sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink);
  text-decoration: none;
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
}
.quick-btn:hover { transform: translateY(-1px); }
.quick-btn:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.quick-subjects .quick-btn::before {
  content: "";
  flex: none;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--gold);
}
.quick-subjects .quick-btn::after { content: "\2193"; color: var(--ink-faint); font-weight: 500; }
.quick-btn.is-blue::before { background: var(--blue); }
.quick-btn.is-blue:hover { border-color: var(--blue); }
.quick-btn.is-gold:hover { border-color: var(--gold); }
.quick-demo { background: var(--ink); border-color: var(--ink); color: #fff; }
.quick-demo svg { color: var(--gold); flex: none; }
.quick-demo:hover { background: #1C3745; }

/* Subject anchors at the top of the Products section (index.html#bm-products / #eco-products) */
.anchor { display: block; height: 0; }
.anchor, #products { scroll-margin-top: 72px; }

/* ---------- All products page ---------- */

.catalog-wrap { padding-bottom: clamp(56px, 8vh, 92px); }
.catalog {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: clamp(24px, 3vw, 40px);
  align-items: start;
}
.cat-side { position: sticky; top: 96px; }
.cat-side .cat-nav { max-height: calc(100vh - 112px); overflow-y: auto; scrollbar-width: thin; }
.cat-nav {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 14px;
  box-shadow: var(--shadow);
}
.cat-nav-head {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0 0 8px 10px;
}
.cat-nav-group {
  --nav-accent: var(--gold);
  --nav-tint: rgba(210, 153, 35, .14);
  display: grid;
  gap: 2px;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.cat-nav-group.is-blue { --nav-accent: var(--blue); --nav-tint: rgba(0, 124, 183, .10); }
.cat-nav-group:last-child { padding-bottom: 0; margin-bottom: 0; border-bottom: 0; }
.cat-nav a {
  display: block;
  padding: 6px 10px 6px 28px;
  border-radius: 8px;
  font-size: 14.5px;
  line-height: 1.35;
  color: var(--ink-soft);
  text-decoration: none;
  transition: background .15s ease, color .15s ease, opacity .15s ease;
}
.cat-nav a:hover { background: var(--cream-soft); color: var(--ink); }
.cat-nav a:focus-visible { outline: 3px solid var(--blue); outline-offset: 1px; }
.cat-nav a.cat-nav-subject {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-left: 10px;
  font-family: Poppins, Inter, sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
}
.cat-nav-subject::before {
  content: "";
  flex: none;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--nav-accent);
}
.cat-nav a.is-current { background: var(--nav-tint); color: var(--ink); font-weight: 600; }
.cat-nav-sub {
  display: block;
  padding: 8px 10px 2px 28px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.cat-nav-sub em { font-style: normal; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--gold-dark); }
.cat-nav a.is-filtered { opacity: .45; }

.cat-filters {
  display: grid;
  gap: 10px;
  padding: 16px 18px;
  margin-bottom: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.filter-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.filter-label {
  min-width: 66px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.chip {
  appearance: none;
  padding: 7px 14px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--page);
  font-family: Poppins, Inter, sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.chip:hover { border-color: var(--ink-faint); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.cat-count { font-size: 13.5px; color: var(--ink-faint); }

.cat-subject { margin-bottom: clamp(36px, 5vh, 56px); scroll-margin-top: 90px; }
.cat-subject-head {
  display: flex;
  align-items: center;
  gap: 8px 14px;
  flex-wrap: wrap;
  padding: 18px 22px;
  margin-bottom: 22px;
  background: var(--sc-bg);
  border: 1.5px solid var(--sc-line);
  border-left: 6px solid var(--sc-accent);
  border-radius: var(--radius);
}
.cat-subject-head .sc-tag { margin-bottom: 0; }
.cat-subject-head h2 { font-size: clamp(24px, 2.6vw, 30px); }
.cat-soon {
  margin-left: auto;
  padding: 5px 12px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.cat-group { display: grid; gap: 14px; margin-bottom: 30px; scroll-margin-top: 90px; }
.cat-group:last-child { margin-bottom: 0; }
.cat-group-title {
  display: flex;
  align-items: baseline;
  gap: 4px 12px;
  flex-wrap: wrap;
  font-size: 20px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.cat-group-title span { font-family: Inter, sans-serif; font-size: 14px; font-weight: 500; letter-spacing: 0; color: var(--ink-faint); }
.cat-group .b2b-tiers.three { grid-template-columns: repeat(auto-fit, minmax(265px, 1fr)); max-width: none; margin-inline: 0; }
.cat-group .b2b-tiers.pairs { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; margin-inline: 0; }   /* auto margins would shrink it inside the .cat-group grid */

/* Whole course and whole unit: one wide card each */
.tier.prod-wide { flex-direction: row; align-items: center; gap: 28px; padding: 24px 26px; }
.prod-info { flex: 1 1 auto; min-width: 0; }
.prod-info .tier-flag { display: inline-block; }
.prod-wide .tier-blurb { min-height: 0; margin-bottom: 12px; }
.prod-wide .bonus { display: inline-block; margin-bottom: 0; }
.prod-buy { flex: 0 0 240px; display: flex; flex-direction: column; }
.prod-wide .tier-price { font-size: 34px; white-space: nowrap; }
.prod-wide .tier-pay { margin-bottom: 14px; }
.prod-wide .btn { margin-bottom: 0; font-size: 15px; padding: 13px 12px; }

/* One Area of Study: three ways to buy it */
.aos-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.aos-head { padding: 16px 22px 14px; border-bottom: 1px solid var(--line); }
.aos-n {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--sc-accent-dark);
  margin-bottom: 4px;
}
.aos-head h4 { font-size: 18px; line-height: 1.25; }
.aos-options { display: grid; grid-template-columns: repeat(3, 1fr); }
.aos-opt { display: flex; flex-direction: column; padding: 16px 18px 18px; border-left: 1px solid var(--line); }
.aos-opt:first-child { border-left: 0; }
.aos-opt.best { background: var(--cream-soft); }
.opt-flag {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--ink);
  padding: 3px 9px;
  border-radius: 999px;
  margin-bottom: 8px;
}
.opt-name { font-family: Poppins, Inter, sans-serif; font-weight: 600; font-size: 15.5px; line-height: 1.3; color: var(--ink); }
.opt-desc { font-size: 13.5px; line-height: 1.4; color: var(--ink-soft); margin: 3px 0 12px; }
.aos-opt .tier-price { font-size: 26px; white-space: nowrap; margin: auto 0 12px; }
.aos-opt .btn { font-size: 14.5px; padding: 11px 12px; }

/* ---------- Form page ---------- */

.form-page {
  padding-block: clamp(28px, 5vh, 64px);
  min-height: calc(100svh - 72px);
  display: flex;
  align-items: center;
  background: radial-gradient(ellipse 60% 55% at 10% 0%, var(--cream) 0%, transparent 62%);
}
.form-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.form-intro h1 { font-size: clamp(30px, 3.8vw, 46px); margin-bottom: 14px; }
.form-intro > p { color: var(--ink-soft); font-size: clamp(16px, 1.4vw, 18px); margin-bottom: 22px; }

.lead-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3vh, 32px);
  box-shadow: var(--shadow-lift);
  display: grid;
  gap: clamp(12px, 1.7vh, 16px);
}
.field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}
.field input, .field select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--page);
  font-family: Inter, sans-serif;
  font-size: 16px;
  color: var(--ink);
}
.field input:focus, .field select:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(0, 124, 183, .14);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-fine { font-size: 13px; color: var(--ink-faint); line-height: 1.5; }
.req { color: var(--gold-dark); font-weight: 700; }
.opt { color: var(--ink-faint); font-weight: 500; }
.hidden-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field-note { margin-top: 6px; font-size: 13px; color: var(--ink-faint); line-height: 1.45; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Tick boxes and radio buttons as tiles (demo booking, coming soon) */
.choice-set { margin: 0; padding: 0; border: 0; min-width: 0; }
.choice-set legend {
  padding: 0;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.choice-set legend .opt { margin-left: 4px; font-size: 13px; }
.choice-grid { display: grid; gap: 8px; }
.choice-grid.two { grid-template-columns: repeat(2, 1fr); }
.choice-grid.three { grid-template-columns: repeat(3, 1fr); }
.choice {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--page);
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--ink);
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
.choice:hover { border-color: var(--ink-faint); }
.choice input { flex: none; width: 18px; height: 18px; margin: 0; accent-color: var(--blue); }
.choice:has(input:checked) { border-color: var(--blue); background: rgba(0, 124, 183, .06); }
.choice:has(input:focus-visible) { box-shadow: 0 0 0 3px rgba(0, 124, 183, .20); }
.choice small { display: block; font-size: 12.5px; font-weight: 500; color: var(--ink-faint); }

/* Purchase order page */
.form-grid.align-top { align-items: start; }
.form-intro a[href^="mailto:"], .thanks a[href^="mailto:"] { overflow-wrap: anywhere; }
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--page);
  font-family: Inter, sans-serif;
  font-size: 16px;
  color: var(--ink);
  resize: vertical;
}
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(0, 124, 183, .14);
}
.field input[type="number"] { max-width: 140px; }
.field[hidden], .product-hint[hidden] { display: none; }
.choice-grid.one { grid-template-columns: 1fr; }
.product-group { display: grid; gap: 8px; }
.product-group[hidden] { display: none; }
.product-group legend { font-size: 15px; margin-bottom: 2px; }
.product-cat { margin: 6px 0 0; font-size: 13.5px; font-weight: 600; color: var(--ink-soft); }
.product-cat .opt { font-weight: 500; }
.supplier-box {
  margin-top: 26px;
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 5px solid var(--blue);
  border-radius: 14px;
  font-size: 14.5px;
}
.supplier-box h2 { font-size: 17px; margin-bottom: 10px; }
.supplier-box dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 14px; margin: 0; }
.supplier-box dt { font-weight: 600; color: var(--ink); }
.supplier-box dd { margin: 0; color: var(--ink-soft); overflow-wrap: anywhere; }
.supplier-box .field-note { margin-top: 12px; }

.slot-note { margin: 0 0 8px; }
.slots { display: grid; gap: 8px; }
.slot { display: grid; grid-template-columns: 28px 1.25fr 1fr; gap: 8px; align-items: center; }
.slot-n {
  display: flex; align-items: center; justify-content: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--cream);
  font: 600 13px/1 Poppins, Inter, sans-serif;
  color: var(--ink);
}
.slot input {
  width: 100%;
  min-width: 0;
  padding: 10px 12px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--page);
  font-family: Inter, sans-serif;
  font-size: 15px;
  color: var(--ink);
}
.slot input:focus { outline: none; border-color: var(--blue); background: var(--white); box-shadow: 0 0 0 3px rgba(0, 124, 183, .14); }

/* ---------- Coming soon page ---------- */

.soon-wrap { padding-bottom: clamp(56px, 8vh, 92px); }
.soon-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(28px, 4vw, 52px);
  align-items: start;
}
.form-title { font-size: 22px; }
.soon-grid .lead-form { scroll-margin-top: 90px; }
.releases { display: grid; gap: 30px; }
.month-label {
  display: flex;
  align-items: baseline;
  gap: 4px 12px;
  flex-wrap: wrap;
  font-size: 22px;
  padding-bottom: 10px;
  margin-bottom: 14px;
  border-bottom: 2px solid var(--ink);
}
.month-label span { font-family: Inter, sans-serif; font-size: 14.5px; font-weight: 500; letter-spacing: 0; color: var(--ink-faint); }
.release-list { display: grid; gap: 12px; }
.release {
  --rel-accent: var(--ink-soft);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 18px;
  align-items: center;
  padding: 18px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 5px solid var(--rel-accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.release.is-blue { --rel-accent: var(--blue); }
.release.is-gold { --rel-accent: var(--gold); }
.release-tag {
  grid-column: 1;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.release.is-blue .release-tag { color: var(--blue-dark); }
.release.is-gold .release-tag { color: var(--gold-dark); }
.release h3 { grid-column: 1; font-size: 20px; }
.release p { grid-column: 1; font-size: 15px; color: var(--ink-soft); line-height: 1.5; }
.release .btn-small { grid-column: 2; grid-row: 1 / span 3; cursor: pointer; white-space: nowrap; }

/* ---------- Thank-you page ---------- */

.thanks {
  padding-block: clamp(48px, 9vh, 110px);
  text-align: center;
  background: radial-gradient(ellipse 60% 60% at 50% 0%, var(--cream) 0%, transparent 65%);
}
.thanks-icon {
  width: 64px; height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
}
.thanks h1 { font-size: clamp(30px, 4vw, 46px); margin-bottom: 14px; }
.thanks .lead { color: var(--ink-soft); font-size: clamp(16px, 1.5vw, 19px); max-width: 620px; margin: 0 auto 28px; }
.thanks .btn { width: auto; min-width: 320px; padding: 18px 30px; font-size: 18px; }
.thanks .file-note { margin-top: 12px; font-size: 14px; color: var(--ink-faint); }

/* Order complete page: numbered next steps */
.next-steps { list-style: none; counter-reset: ns; margin: 0 auto 28px; padding: 0; max-width: 620px; text-align: left; display: grid; gap: 12px; }
.next-steps li { counter-increment: ns; position: relative; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px 16px 62px; color: var(--ink-soft); font-size: 16px; line-height: 1.55; }
.next-steps li::before { content: counter(ns); position: absolute; left: 18px; top: 16px; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; font: 600 14px/30px Poppins, Inter, sans-serif; text-align: center; }
.next-steps b { display: block; font-family: Poppins, Inter, sans-serif; font-weight: 600; color: var(--ink); margin-bottom: 2px; }
.next-steps a, .thanks .file-note a { color: var(--blue); overflow-wrap: anywhere; }
.upsell {
  max-width: 760px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 4vh, 40px);
  text-align: center;
  box-shadow: var(--shadow);
}
.upsell h2 { font-size: clamp(22px, 2.6vw, 30px); margin-bottom: 10px; }
.upsell p { color: var(--ink-soft); margin-bottom: 22px; }
.upsell .btn { width: auto; min-width: 260px; }

/* ---------- Contact page ---------- */

.contact {
  min-height: calc(100svh - 72px - 122px);
  padding-block: clamp(48px, 9vh, 110px);
  background: radial-gradient(ellipse 60% 60% at 50% 0%, var(--cream) 0%, transparent 65%);
}
.contact-head { text-align: center; max-width: 620px; margin: 0 auto clamp(32px, 5vh, 48px); }
.contact-head h1 { font-size: clamp(32px, 4.2vw, 50px); margin-bottom: 12px; }
.contact-head p { color: var(--ink-soft); font-size: clamp(16px, 1.5vw, 19px); }

/* ---------- Terms and conditions page ---------- */

.legal { padding-block: clamp(40px, 7vh, 80px); }
.legal-head, .legal-body { max-width: 760px; margin-inline: auto; }
.legal-head { margin-bottom: clamp(20px, 3vh, 32px); }
.legal-head h1 { font-size: clamp(32px, 4.2vw, 50px); margin-bottom: 12px; }
.legal-head p { color: var(--ink-soft); font-size: clamp(16px, 1.5vw, 18px); }
.legal-head .legal-updated { margin-top: 8px; font-size: 14px; color: var(--ink-faint); }
.legal-body h2 { font-size: clamp(20px, 2.2vw, 24px); margin: clamp(26px, 4vh, 36px) 0 10px; }
.legal-body p, .legal-body li { color: var(--ink-soft); }
.legal-body p + ul, .legal-body ul + p { margin-top: 10px; }
.legal-body ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.legal-body a { color: var(--blue); overflow-wrap: anywhere; }
.legal-body a:hover { color: var(--blue-dark); }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  max-width: 860px;
  margin-inline: auto;
}
.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 34px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  min-width: 0;
}
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); border-color: rgba(0, 124, 183, .35); }
.contact-card:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.contact-icon {
  display: flex; align-items: center; justify-content: center;
  width: 54px; height: 54px;
  border-radius: 14px;
  background: var(--cream);
  margin-bottom: 6px;
}
.contact-label {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.contact-value {
  font-family: Poppins, Inter, sans-serif;
  font-size: clamp(16px, 1.7vw, 20px);
  font-weight: 600;
  color: var(--blue);
  overflow-wrap: normal;
  word-break: normal;
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .b2b-tiers { grid-template-columns: repeat(2, 1fr); }
  .b2b-tiers.three { grid-template-columns: repeat(3, 1fr); }
  .hits-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .b2b-tiers.three { grid-template-columns: 1fr; max-width: 480px; }   /* 3 cards need ~830px: below 900px, stack them */
  .catalog { grid-template-columns: 1fr; }
  .cat-side { position: static; }
  .cat-side .cat-nav { max-height: none; overflow: visible; }
  .cat-nav { display: grid; grid-template-columns: 1fr 1fr; column-gap: 12px; }
  .cat-nav-head { grid-column: 1 / -1; }
  .cat-nav-group { padding-bottom: 0; margin-bottom: 0; border-bottom: 0; }
  .tiers { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .steps { grid-template-columns: 1fr; }
  .t-hero-grid, .form-grid, .soon-grid { grid-template-columns: 1fr; }
  .t-hero { min-height: 0; }
  .form-page { min-height: 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature.wide { grid-column: auto; }
  .subject-callout { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .hero { min-height: 0; padding-block: 18px 36px; }
  .course-grid { grid-template-columns: 1fr; }
  .hero-head { margin-bottom: 16px; }
  .eyebrow { font-size: 12px; margin-bottom: 8px; }
  .hero h1 { font-size: clamp(26px, 7vw, 34px); }
  .hero-sub { font-size: 15.5px; line-height: 1.5; }
  .course-card { padding: 20px 18px; }
  .course-card h2 { margin-bottom: 10px; }
  .benefits { gap: 8px; margin-bottom: 16px; }
  .benefits li { font-size: 15px; line-height: 1.38; padding-left: 27px; }
  .price-from { font-size: 14px; margin-bottom: 10px; }
  .header-note { display: none; }
  .guarantee-card { flex-direction: column; text-align: center; }
  .guarantee-icon { width: 60px; height: 60px; }
  .hero-trust span { font-size: 14px; padding: 9px 16px; text-align: left; border-radius: 18px; }
  .site-header .wrap { min-height: 60px; }
  .site-header img { height: 27px; }
  .site-footer img { height: 26px; }
  .cta-row .btn { width: 100%; min-width: 0; }
  .site-footer .wrap { flex-direction: column; text-align: center; }
  .b2b-tiers { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .hits-grid { grid-template-columns: 1fr; }
  .t-hero .btn, .thanks .btn, .upsell .btn { width: 100%; min-width: 0; padding-inline: 18px; font-size: 16.5px; }
  .t-hero { padding-block: 22px 40px; }
  .t-hero h1 { font-size: clamp(28px, 8vw, 36px); }
  .header-nav { gap: 14px; }
  .header-nav .nav-link { font-size: 14px; }
  .header-nav .hide-sm { display: none; }
  .promo-bar { font-size: 14px; padding: 9px 14px; }
  .b2b-tiers.three { grid-template-columns: 1fr; max-width: 480px; }
  .field-row { grid-template-columns: 1fr; }
  .subject-tab { padding: 10px 14px; font-size: 14.5px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact { min-height: 0; }
  .anchor, #products { scroll-margin-top: 60px; }
  .hero-quick { display: grid; grid-template-columns: 1fr; gap: 8px; margin-bottom: 20px; }
  .quick-subjects { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .quick-btn { padding: 10px 12px; font-size: 14px; border-radius: 14px; }
  .quick-subjects .quick-btn { text-align: left; justify-content: flex-start; }
  .quick-subjects .quick-btn::after { margin-left: auto; }
  .cat-nav a { padding-left: 24px; font-size: 14px; }
  .cat-nav a.cat-nav-subject { padding-left: 6px; font-size: 14.5px; }
  .cat-nav-sub { padding-left: 24px; }
  .cat-soon { margin-left: 0; }
  .cat-group .b2b-tiers.pairs { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .cat-filters { padding: 14px; }
  .filter-label { min-width: 0; width: 100%; }
  .cat-subject-head { padding: 14px 16px; }
  .data-note { gap: 12px; padding: 14px 16px; font-size: 14px; }
  .soon-pop-inner { padding: 26px 20px 18px; }
  .soon-pop h3 { font-size: 22px; }
  .soon-pop-list li { font-size: 14px; }
  .tier.prod-wide { flex-direction: column; align-items: stretch; gap: 16px; padding: 22px 20px; }
  .prod-buy { flex-basis: auto; }
  .aos-head { padding: 14px 18px 12px; }
  .aos-options { grid-template-columns: 1fr; }
  .aos-opt { border-left: 0; border-top: 1px solid var(--line); padding: 14px 18px 16px; }
  .aos-opt:first-child { border-top: 0; }
  .choice-grid.three { grid-template-columns: 1fr; }
  .slot { grid-template-columns: 24px 1.4fr 1fr; gap: 6px; }
  .slot-n { width: 24px; height: 24px; font-size: 12px; }
  .slot input { padding: 10px 8px; font-size: 14.5px; }
  .release { grid-template-columns: 1fr; padding: 16px 18px; }
  .release .btn-small { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Order complete page: where to find a purchase */
.find-box { max-width: 620px; margin: 0 auto 28px; text-align: left; background: var(--cream-soft); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 14px; padding: 18px 22px; }
.find-box h2 { font-size: 18px; margin-bottom: 8px; }
.find-box ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; color: var(--ink-soft); font-size: 16px; line-height: 1.55; }
.find-box b { color: var(--ink); }

/* FAQ answers with steps */
.faq details ol, .faq details ul { margin: -8px 0 16px; padding-left: 22px; display: grid; gap: 8px; color: var(--ink-soft); font-size: 16px; line-height: 1.55; }
.faq details li ul { margin: 8px 0 0; gap: 4px; }
.faq details li strong { color: var(--ink); }
.faq details a { color: var(--blue); overflow-wrap: anywhere; }
