/* ==========================================================================
   MathsHaqs homepage draft 2 — a different page STRUCTURE, but MathsHaqs's own look:
   Baloo 2 + Nunito Sans (the site's fonts), pill buttons, yellow highlight blocks,
   navy nav, brush-style class labels and the poster's blue / yellow / green / purple.
   ========================================================================== */

:root {
  --navy: #0B2A4A;
  --blue: #0A8AF0;
  --blue-deep: #0870C4;
  --yellow: #FFE21F;
  --green: #1E9E5A;
  --green-deep: #157A45;
  --green-bright: #3DD17F;
  --purple: #8B2FF0;
  --purple-deep: #6D28D9;
  --soft: #EEF6FF;
  --line: #C9DFF5;
  --muted: rgba(11, 42, 74, 0.78);

  --gold: var(--yellow);
  --cream: #FFFFFF;
  --cream-card: #FFFFFF;
  --c-foundation: #0A8AF0;
  --c-higher: #16C964;
  --c-ks3: #8B2FF0;
  --font-display: 'Baloo 2', 'Fredoka', system-ui, sans-serif;
  --font: 'Nunito Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --shadow-gold: 0 10px 22px rgba(11, 42, 74, 0.2);
  --shadow-green: 0 10px 22px rgba(30, 158, 90, 0.28);
  --shadow-md: 0 8px 22px rgba(11, 42, 74, 0.12);
  --nav-h: 78px;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

body {
  margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.65;
  color: var(--navy); background: #fff; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
h1, h2, h3 { font-family: var(--font-display); font-weight: 800; line-height: 1.08; margin: 0 0 0.5em; }
p { margin: 0 0 1em; }
a { color: inherit; }
img { max-width: 100%; }
.nw { white-space: nowrap; }

.sy-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.sy-section { padding: 68px 0; }
.sy-section-soft { background: var(--soft); }
.sy-section-tight { padding: 4px 0 68px; }
.sy-h2 { font-size: clamp(2rem, 6.2vw, 3.2rem); text-align: center; margin-bottom: 0.4em; }
.sy-lead { font-size: clamp(1.08rem, 2.4vw, 1.25rem); color: var(--muted); max-width: 720px; margin: 0 auto 1.6em; text-align: center; }
.sy-fine { font-size: 0.98rem; color: var(--muted); margin-top: 24px; text-align: center; }
.sy-eyebrow {
  display: table; margin: 0 auto 14px; font-family: var(--font-display); font-weight: 800; font-size: 1rem;
  letter-spacing: 0.04em; background: var(--navy); color: #fff; padding: 4px 16px 3px; border-radius: 999px;
}
.sy-eyebrow-light { background: var(--yellow); color: var(--navy); }
.sy-section .sy-eyebrow, .sy-teacher-copy p.sy-eyebrow { color: #fff; }
.sy-section .sy-eyebrow-light, .sy-stats .sy-eyebrow-light { color: var(--navy); }

/* yellow highlight block (as on the poster) */
.hl, mark { background: var(--yellow); color: var(--navy); border-radius: 8px; padding: 0 0.22em 0.04em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* ---- Pill buttons ---- */
.sy-btn {
  display: inline-block; font-family: var(--font-display); font-weight: 800; font-size: 1.12rem; line-height: 1.2;
  text-decoration: none; text-align: center; padding: 14px 30px 12px; border-radius: 999px; border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease; cursor: pointer;
}
.sy-btn:hover { transform: translateY(-2px); }
.sy-btn:active { transform: translateY(0); }
.sy-btn:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.sy-btn-blue { background: var(--blue); color: #fff; box-shadow: 0 10px 22px rgba(10, 138, 240, 0.3); }
.sy-btn-blue:hover { background: var(--blue-deep); }
.sy-btn-yellow { background: var(--yellow); color: var(--navy); box-shadow: 0 10px 22px rgba(11, 42, 74, 0.22); }
.sy-btn-navy { background: var(--navy); color: #fff; }
.sy-btn-navy:hover { background: #12406d; }
.sy-btn-white { background: #fff; color: var(--navy); box-shadow: 0 8px 18px rgba(11, 42, 74, 0.22); }
.sy-btn-white-purple { background: #fff; color: var(--purple-deep); }
.sy-btn-ghost-purple { background: var(--purple-deep); color: #fff; border-color: #fff; box-shadow: 0 10px 22px rgba(109, 40, 217, 0.35); }
.sy-btn-ghost-purple:hover { background: var(--purple); }
.sy-btn-outline { background: #fff; color: var(--navy); border-color: var(--navy); }
.sy-btn-outline:hover { background: var(--navy); color: #fff; }
.sy-btn-sm { padding: 9px 22px 7px; font-size: 1.02rem; }

.btn { display: inline-block; text-decoration: none; font-family: var(--font-display); font-weight: 800; text-align: center; border-radius: 999px; transition: transform 0.15s ease; }
.btn-gold { background: var(--yellow); color: var(--navy); padding: 14px 30px 12px; font-size: 1.1rem; box-shadow: var(--shadow-gold); }
.btn-gold:hover { transform: translateY(-2px); }

/* ---- Purple bar ---- */
.top-bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 14px;
  background: var(--purple-deep); color: #fff; text-decoration: none; padding: 10px 16px; text-align: center; line-height: 1.3;
  font-family: var(--font-display); font-weight: 700; font-size: 0.98rem;
}
.top-bar strong { color: var(--yellow); }
.top-bar-cta { background: #fff; color: var(--purple-deep); border-radius: 999px; padding: 4px 14px 3px; font-weight: 800; white-space: nowrap; }
.top-bar:hover .top-bar-cta { background: var(--yellow); color: var(--navy); }

/* ---- Navy nav ---- */
.nav { position: sticky; top: 0; z-index: 50; background: var(--navy); color: #fff; border-bottom: 3px solid var(--green); }
.nav-inner { max-width: var(--wrap); margin: 0 auto; padding: 8px 22px; min-height: var(--nav-h); display: flex; align-items: center; gap: 20px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.logo img { border-radius: 50%; display: block; }
.logo-word { display: none; }
.nav-links { display: none; gap: 26px; }
.nav-links a { text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }
.nav-links a:hover { color: var(--yellow); }
.nav-cta { display: none; }
.nav .sy-btn-blue { background: var(--yellow); color: var(--navy); box-shadow: none; }
.nav-toggle { background: none; border: 0; padding: 10px; cursor: pointer; display: flex; flex-direction: column; gap: 5px; }
.nav-toggle span { display: block; width: 28px; height: 3px; background: #fff; border-radius: 2px; transition: transform 0.2s, opacity 0.2s; }
.nav.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.nav-links-mobile { display: none; background: var(--navy); padding: 6px 22px 16px; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.nav.nav-open .nav-links-mobile { display: block; }
.nav-links-mobile a { display: block; padding: 14px 0; text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.nav-links-mobile a:last-child { border-bottom: 0; }
.nav-toggle:focus-visible { outline: 3px solid var(--yellow); border-radius: 8px; }
@media (min-width: 980px) {
  .nav-links { display: flex; margin: 0 auto; }
  .nav-cta { display: inline-block; }
  .nav-toggle, .nav-links-mobile, .nav.nav-open .nav-links-mobile { display: none; }
  .logo { margin-right: 0; }
}

/* ---- Hero ---- */
.sy-hero { padding: 40px 0 44px; background: #fff; }
.sy-hero-grid { display: grid; grid-template-columns: 1fr; gap: 30px; align-items: center; justify-items: center; text-align: center; }
.sy-hero h1 { font-size: clamp(2.1rem, 6.8vw, 3.2rem); margin-bottom: 0.3em; line-height: 1.12; }
.sy-hero-sub { font-size: clamp(1.1rem, 3vw, 1.35rem); font-weight: 600; max-width: 560px; margin: 0 auto 16px; }
.sy-rating { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 10px; background: var(--soft); border: 2px solid var(--line); border-radius: 999px; padding: 6px 18px; font-weight: 800; font-size: 0.95rem; margin-bottom: 22px; }
.sy-stars { color: #F2B400; font-size: 1.2rem; letter-spacing: 0.08em; line-height: 1; }
.sy-hero-actions { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.sy-hero-actions .sy-btn { max-width: 100%; }

.sy-hero-photo { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.sy-hero-photo img {
  display: block; width: min(300px, 70vw); height: auto; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 12%;
  border-radius: 50%; border: 6px solid var(--yellow); box-shadow: 0 12px 30px rgba(11, 42, 74, 0.22);
}
.sy-hero-photo figcaption { background: var(--navy); color: #fff; border-radius: 20px; padding: 12px 20px; line-height: 1.35; font-size: 0.95rem; max-width: 340px; }
.sy-hero-photo figcaption strong { display: block; font-family: var(--font-display); font-size: 1.25rem; color: var(--yellow); line-height: 1.1; }
.sy-hero-photo figcaption span { display: block; }
@media (min-width: 900px) {
  .sy-hero { padding: 56px 0 60px; }
  .sy-hero-grid { grid-template-columns: 1.25fr 0.75fr; gap: 56px; text-align: left; justify-items: start; }
  .sy-hero-sub { margin-left: 0; }
  .sy-hero-actions { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .sy-hero-photo { justify-self: center; }
  .sy-hero-photo img { width: min(340px, 100%); }
}

/* ---- Opening offer strip (from the poster) ---- */
.sy-offer { background: var(--yellow); padding: 28px 0; }
.sy-offer-grid { display: grid; grid-template-columns: 1fr; gap: 8px; text-align: center; justify-items: center; align-items: center; }
.sy-offer p { margin: 0; }
.sy-offer-tag { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; text-transform: uppercase; letter-spacing: 0.02em; }
.sy-offer-price { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 6vw, 2.8rem); line-height: 1; }
.sy-offer-price span { font-size: 1.8em; background: var(--navy); color: var(--yellow); border-radius: 14px; padding: 0 0.16em 0.02em; margin-right: 6px; display: inline-block; line-height: 1.02; }
.sy-offer-text { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px !important; }
.sy-offer-text mark { background: #fff; white-space: nowrap; font-weight: 800; }
@media (min-width: 980px) {
  .sy-offer-grid { grid-template-columns: auto auto 1fr auto; gap: 28px; text-align: left; justify-items: start; }
  .sy-offer-text { margin-bottom: 0 !important; }
  .sy-offer-grid .sy-btn { justify-self: end; }
}

/* ---- Class cards: white cards, thick coloured outline, brush-style class label ---- */
.sy-class-grid { display: grid; grid-template-columns: 1fr; gap: 22px; margin-top: 10px; }
.sy-class { background: #fff; border: 4px solid var(--cc); border-radius: 26px; padding: 26px 22px 26px; display: flex; flex-direction: column; align-items: center; text-align: center; color: var(--navy); }
.sy-class-foundation { --cc: var(--blue); }
.sy-class-higher { --cc: var(--c-higher); }
.sy-class-ks3 { --cc: var(--c-ks3); }
.sy-class p { margin: 0; }
.sy-class-tag { font-family: var(--font-display); font-weight: 800; font-size: 0.95rem; background: var(--soft); border-radius: 999px; padding: 3px 14px 2px; margin-bottom: 14px !important; }
.sy-tag-yellow { background: var(--yellow) !important; }
.sy-class-head { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-bottom: 8px; }
.sy-class-head img { border-radius: 50%; width: 136px; height: 136px; }
.sy-class-head h3 {
  margin: 0; display: inline-block; background: var(--cc); color: #fff; font-style: italic; text-transform: uppercase; font-size: 1.6rem;
  padding: 10px 26px 8px; transform: rotate(-2deg); clip-path: polygon(1.5% 12%, 99% 0, 97.5% 90%, 100% 100%, 2% 94%, 0 40%);
  text-shadow: 0 2px 0 rgba(11, 42, 74, 0.4);
}
.sy-class-foundation .sy-class-head h3 { background: var(--yellow); color: var(--navy); text-shadow: none; }
.sy-class-who { font-weight: 700; font-size: 1.02rem; color: var(--muted); margin: 10px 0 14px !important; }
.sy-class-time { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 7vw, 2.3rem); line-height: 1; white-space: nowrap; }
.sy-class-day { font-weight: 700; color: var(--muted); margin: 6px 0 20px !important; }
.sy-class .sy-btn { margin-top: auto; }
.sy-class-foundation .sy-btn-white { background: var(--yellow); box-shadow: none; }
.sy-class-higher .sy-btn-white, .sy-class-ks3 .sy-btn-white { background: var(--yellow); box-shadow: none; }
.sy-class-note { font-size: 0.95rem; font-weight: 700; line-height: 1.4; color: var(--blue-deep); margin-top: 14px !important; }
.sy-section .launch-countdown { margin: 22px auto 0; max-width: 520px; background: var(--navy); border-color: var(--blue); }
@media (min-width: 900px) {
  .sy-class-grid { grid-template-columns: repeat(3, 1fr); }
  .sy-class { padding: 28px 22px 28px; }
}

/* ---- How it works: numbered rows ---- */
.sy-steps { list-style: none; margin: 26px 0 24px; padding: 0; display: grid; grid-template-columns: 1fr; gap: 14px; }
.sy-steps li { display: flex; align-items: flex-start; gap: 16px; background: #fff; border: 3px solid var(--line); border-radius: 22px; padding: 20px 20px; }
.sy-step-n { flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--navy); color: var(--yellow); font-family: var(--font-display); font-weight: 800; font-size: 1.9rem; line-height: 1; display: grid; place-items: center; padding-top: 4px; }
.sy-steps h3 { margin: 0 0 4px; font-size: 1.35rem; }
.sy-steps p { margin: 0; color: var(--muted); }
.sy-why { background: var(--navy); color: #fff; border-radius: 20px; padding: 18px 22px; margin: 0 0 26px; font-size: 1.08rem; text-align: center; }
.sy-why strong { color: var(--yellow); }
.sy-section .sy-why + p { text-align: center; }
@media (min-width: 800px) { .sy-steps { grid-template-columns: 1fr 1fr; } }

/* ---- Numbers band ---- */
.sy-stats { background: var(--navy); color: #fff; padding: 64px 0; text-align: center; }
.sy-stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 8px; }
.sy-stat-grid > div { background: rgba(255, 255, 255, 0.07); border: 2px solid rgba(255, 255, 255, 0.22); border-radius: 22px; padding: 22px 12px 20px; }
.sy-stat-grid p { margin: 0; }
.sy-stat-num { font-family: var(--font-display); font-size: clamp(2.8rem, 10vw, 4.2rem); font-weight: 800; line-height: 1; color: var(--yellow); }
.sy-stat-text { margin-top: 8px !important; font-size: 1rem; font-weight: 700; color: rgba(255, 255, 255, 0.9); line-height: 1.35; }
@media (min-width: 900px) { .sy-stat-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; } }

/* ---- Teacher ---- */
.sy-teacher { display: grid; grid-template-columns: 1fr; gap: 34px; align-items: start; }
.sy-teacher-photo { position: relative; max-width: 420px; margin: 0 auto; }
.sy-teacher-photo img { width: 100%; height: auto; border-radius: 26px; display: block; box-shadow: var(--shadow-md); }
.sy-teacher-photo::after {
  content: "12+ years"; position: absolute; right: -8px; bottom: -14px; background: var(--green); color: #fff;
  font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; line-height: 1; padding: 16px 18px 12px; border-radius: 50%;
  width: 96px; height: 96px; display: grid; place-items: center; text-align: center; border: 4px solid #fff;
}
.sy-teacher-copy .sy-eyebrow { margin-left: 0; }
.sy-teacher-copy .sy-h2 { text-align: left; font-size: clamp(1.9rem, 5.4vw, 2.7rem); }
.sy-teacher-copy p { color: var(--muted); }
.sy-teacher-copy p strong { color: var(--navy); }
.sy-checks { list-style: none; margin: 0 0 22px; padding: 0; }
.sy-checks li { position: relative; padding-left: 34px; margin-bottom: 14px; line-height: 1.5; color: var(--navy); }
.sy-checks li::before {
  content: "✓"; position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--green); color: #fff; font-weight: 800; font-size: 0.8rem; display: grid; place-items: center;
}
.sy-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sy-chips span { background: var(--yellow); border-radius: 999px; padding: 5px 14px 3px; font-family: var(--font-display); font-weight: 800; font-size: 1rem; }
@media (min-width: 900px) { .sy-teacher { grid-template-columns: 0.8fr 1.2fr; gap: 56px; } .sy-teacher-photo { position: sticky; top: calc(var(--nav-h) + 20px); } }

/* ---- Reviews carousel (mechanics are used by script.js) ---- */
.testimonial-carousel { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.carousel-viewport { overflow: hidden; flex: 1; }
.carousel-track { display: flex; list-style: none; margin: 0; padding: 0; transition: transform 0.5s ease; }
.carousel-slide { flex: 0 0 100%; padding: 2px; }
.testimonial-card { background: #fff; border: 3px solid var(--line); border-left: 10px solid var(--yellow); border-radius: 22px; padding: 26px 26px 22px; height: 100%; }
.stars { color: #F2B400; font-size: 1.4rem; letter-spacing: 0.1em; margin-bottom: 8px; }
.testimonial-quote { font-size: clamp(1.05rem, 2.4vw, 1.2rem); line-height: 1.6; margin-bottom: 12px; }
.testimonial-author { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; margin: 0; color: var(--blue-deep); }
.carousel-arrow { flex: none; width: 46px; height: 46px; border-radius: 50%; border: 3px solid var(--navy); background: #fff; color: var(--navy); display: grid; place-items: center; cursor: pointer; transition: background 0.15s, color 0.15s; }
.carousel-arrow svg { width: 20px; height: 20px; }
.carousel-arrow:hover { background: var(--navy); color: #fff; }
.carousel-dots { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.carousel-dot { width: 12px; height: 12px; padding: 0; border-radius: 50%; border: 0; background: var(--line); cursor: pointer; }
.carousel-dot.is-active { background: var(--navy); transform: scale(1.25); }
@media (max-width: 560px) { .carousel-arrow { width: 38px; height: 38px; } .testimonial-carousel { gap: 6px; } }

/* ---- Joined late (the site's green band) ---- */
.sy-late { background: var(--green); color: #fff; border-radius: 28px; padding: 40px 24px 44px; text-align: center; }
.sy-late .sy-h2, .sy-late .sy-lead { color: #fff; }
.sy-late .sy-lead { opacity: 0.96; }
.sy-late-grid { display: grid; grid-template-columns: 1fr; gap: 14px; margin: 22px 0 30px; text-align: left; }
.sy-late-grid div { background: rgba(255, 255, 255, 0.16); border: 2px solid rgba(255, 255, 255, 0.5); border-radius: 18px; padding: 18px; }
.sy-late-grid h3 { font-size: 1.2rem; margin-bottom: 6px; }
.sy-late-grid p { margin: 0; }
.sy-late .sy-btn-blue { background: var(--yellow); color: var(--navy); box-shadow: none; }
@media (min-width: 800px) { .sy-late { padding: 52px 44px 56px; } .sy-late-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---- Pricing ---- */
.sy-price-card { background: var(--navy); color: #fff; border-radius: 28px; padding: 38px 24px; display: grid; grid-template-columns: 1fr; gap: 26px; align-items: center; text-align: center; }
.sy-price-card p { margin: 0; }
.sy-price-card .sy-eyebrow { background: var(--yellow); color: var(--navy); }
.sy-price-big { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 6vw, 2.8rem); line-height: 1; }
.sy-price-big span { color: var(--yellow); font-size: clamp(5.5rem, 22vw, 8rem); }
.sy-price-sub { margin-top: 10px !important; font-size: 1.15rem; font-weight: 700; }
.sy-checks-light li { color: #fff; text-align: left; }
.sy-checks-light li::before { background: var(--yellow); color: var(--navy); }
.sy-price-note { font-size: 0.98rem; opacity: 0.92; margin: 6px 0 20px !important; line-height: 1.45; }
@media (min-width: 900px) { .sy-price-card { grid-template-columns: 0.9fr 1.1fr; padding: 48px 48px; gap: 48px; text-align: left; } .sy-price-card .sy-eyebrow { margin-left: 0; } }

/* ---- Can't make Saturday ---- */
.sy-other { background: var(--purple-deep); color: #fff; border-radius: 28px; padding: 38px 24px; text-align: center; }
.sy-other .sy-h2 { color: #fff; }
.sy-other .sy-h2 .hl { color: var(--navy); }
.sy-other .sy-lead { color: rgba(255, 255, 255, 0.94); }
.sy-other-note { font-size: 0.95rem; opacity: 0.92; margin: 16px 0 0; }
@media (min-width: 800px) { .sy-other { padding: 48px 44px; } }

/* ---- FAQ accordion (mechanics are used by script.js) ---- */
.sy-faq-wrap { max-width: 820px; }
.accordion { display: flex; flex-direction: column; margin-top: 18px; }
.accordion-item { border-bottom: 3px solid var(--line); }
.accordion-item:first-child { border-top: 3px solid var(--line); }
.accordion-item h3 { margin: 0; }
.accordion-trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: none; border: 0; padding: 20px 0; text-align: left; cursor: pointer; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.15rem, 3vw, 1.4rem); line-height: 1.2; color: var(--navy); }
.accordion-trigger:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 8px; }
.accordion-icon { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--yellow); color: var(--navy); display: grid; place-items: center; font-size: 1.5rem; font-weight: 800; line-height: 1; padding-bottom: 3px; transition: transform 0.2s; }
.accordion-trigger[aria-expanded="true"] .accordion-icon { transform: rotate(45deg); }
.accordion-panel { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.accordion-panel p { color: var(--muted); padding-right: 8px; }
.accordion-panel p:last-child { padding-bottom: 8px; }
.accordion-panel ul { margin: 0 0 12px; padding: 0 8px 6px 1.3rem; color: var(--muted); }
.accordion-panel li { margin-bottom: 8px; }
.accordion-panel .btn-purple, .accordion-panel a.btn-purple { display: inline-block; background: var(--purple-deep); color: #fff; padding: 11px 22px 9px; border-radius: 999px; font-family: var(--font-display); font-weight: 800; text-decoration: none; }
.faq-contact { text-align: center; margin-top: 34px; }
.faq-contact p { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; }

/* ---- Final call to action ---- */
.sy-final { background: var(--green); color: #fff; text-align: center; padding: 68px 0; }
.sy-final h2 { font-size: clamp(2rem, 6.4vw, 3.4rem); max-width: 820px; margin: 0 auto 26px; }
.sy-final .hl { color: var(--navy); }

/* ---- Footer ---- */
.footer { background: var(--navy); color: #fff; text-align: center; padding: 46px 0 36px; }
.footer p { margin: 0 0 10px; }
.footer-logo { font-family: var(--font-display); font-weight: 800; font-size: 1.9rem; }
.footer-logo span { color: var(--green-bright); }
.footer-tag { font-weight: 700; }
.footer-mission { max-width: 560px; margin: 0 auto 18px !important; color: rgba(255, 255, 255, 0.82); font-size: 0.98rem; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; }
.footer-links a { color: #fff; font-weight: 700; }
.footer-links a:hover { color: var(--yellow); }


/* ==== Carried over unchanged from styles.css: WhatsApp float + Foundation countdown ==== */
/* ---- Floating WhatsApp button (appended to every page by script.js) ---- */
.whatsapp-float {
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 200;
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  max-width: calc(100vw - 32px);
}

.whatsapp-float-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  box-shadow: var(--shadow-green);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.whatsapp-float-icon svg { width: 30px; height: 30px; }

.whatsapp-float-caption {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.25;
  color: var(--navy);
  background: var(--gold);
  padding: 9px 16px 8px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  min-width: 0;
}

.whatsapp-float:hover .whatsapp-float-icon,
.whatsapp-float:focus-visible .whatsapp-float-icon {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(30, 158, 90, 0.38);
}
.whatsapp-float:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 4px;
  border-radius: 999px;
}

@media (max-width: 480px) {
  .whatsapp-float { right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); gap: 8px; }
  .whatsapp-float-icon { width: 48px; height: 48px; }
  .whatsapp-float-icon svg { width: 25px; height: 25px; }
  .whatsapp-float-caption {
    font-size: 0.82rem;
    padding: 7px 12px 6px;
    max-width: 150px;
    white-space: normal;
  }
}

/* ---- Launch countdown ---- */
.launch-countdown {
  --lc: var(--c-higher);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border: 2px solid var(--lc);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  max-width: 100%;
}
.launch-countdown[hidden] { display: none; }
.launch-countdown[data-stage="ks3"] { --lc: var(--c-ks3); }
.launch-countdown[data-stage="foundation"] { --lc: var(--c-foundation); }
.lc-label {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  line-height: 1.2;
  color: #fff;
}
.lc-units { display: flex; flex-wrap: nowrap; justify-content: center; gap: 8px; }
.lc-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 56px;
  padding: 6px 8px 5px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--lc) 22%, transparent);
  border: 1px solid var(--lc);
  color: #fff;
  line-height: 1.1;
}
.lc-unit b {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.6rem;
  font-variant-numeric: tabular-nums;
}
.lc-unit span {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.launch-countdown.is-live { flex-direction: row; gap: 10px; }
.launch-countdown.is-live .lc-label::before {
  content: "";
  display: inline-block;
  width: 10px; height: 10px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--lc);
  box-shadow: 0 0 0 0 var(--lc);
  animation: lc-pulse 1.6s infinite;
}
@keyframes lc-pulse {
  0%   { box-shadow: 0 0 0 0 color-mix(in srgb, var(--lc) 70%, transparent); }
  100% { box-shadow: 0 0 0 10px transparent; }
}
@media (prefers-reduced-motion: reduce) { .launch-countdown.is-live .lc-label::before { animation: none; } }
@media (max-width: 380px) {
  .lc-unit { min-width: 50px; padding: 5px 6px 4px; }
  .lc-unit b { font-size: 1.4rem; }
}

/* ---- Floating countdown that follows you down the page ----
   A copy of the top countdown, shown only once the original has scrolled out of view.
   Wide screens: small box at the left edge. Everything else: slim bar at the bottom. */
.lc-join { margin-top: 2px; padding: 9px 24px 7px; font-size: 1rem; }
.launch-countdown .lc-join { align-self: center; }

.lc-float {
  --lc: var(--c-higher);
  position: fixed;
  z-index: 90;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px 14px;
  background: var(--navy);
  border: 2px solid var(--lc);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  color: #fff;
}
.lc-float[data-stage="ks3"] { --lc: var(--c-ks3); }
.lc-float[data-stage="foundation"] { --lc: var(--c-foundation); }
.lc-float.is-visible { display: flex; }
.lc-float .lc-label { font-size: 0.95rem; }
.lc-float .lc-unit { min-width: 0; }
.lc-float.is-live .lc-label::before {
  content: "";
  display: inline-block;
  width: 9px; height: 9px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--lc);
}

/* Bottom bar (phones and narrower laptop windows) */
@media (max-width: 1399px) {
  .lc-float {
    left: 0; right: 0; bottom: 0;
    flex-wrap: wrap;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px));
    border-width: 2px 0 0;
  }
  .lc-float .lc-units { gap: 5px; }
  .lc-float .lc-unit { padding: 3px 7px 2px; min-width: 44px; border-radius: 9px; }
  .lc-float .lc-unit b { font-size: 1.1rem; }
  .lc-float .lc-unit span { font-size: 0.6rem; }
  .lc-float .lc-label { flex-basis: 100%; text-align: center; font-size: 0.85rem; }
  .lc-float .lc-join { padding: 7px 18px 5px; font-size: 0.95rem; }
  /* lift the WhatsApp button above the bar while the bar is showing */
  body.has-lc-float .whatsapp-float { bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 480px) {
  .lc-float { gap: 4px 10px; }
}

/* Left-edge box (wide screens: the page margin is wide enough that it covers nothing) */
@media (min-width: 1400px) {
  .lc-float {
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 150px;
    flex-direction: column;
    padding: 14px 10px 14px;
    border-radius: 18px;
  }
  .lc-float .lc-label { text-align: center; }
  .lc-float .lc-units { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
  .lc-float .lc-unit { padding: 4px 4px 3px; }
  .lc-float .lc-unit b { font-size: 1.25rem; }
  .lc-float .lc-unit span { font-size: 0.62rem; }
}

/* Bolder floating countdown: gold bar, navy digits, bigger type (easy to spot while scrolling) */
.lc-float {
  background: var(--gold);
  border-color: var(--navy);
  color: var(--navy);
  box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.4);
}
.lc-float .lc-label { color: var(--navy); font-size: 1.2rem; }
.lc-float.is-live .lc-label::before { background: var(--navy); }
.lc-float .lc-unit { background: var(--navy); border-color: var(--navy); color: #fff; }
.lc-float .lc-unit span { color: var(--cream); }
.lc-float .lc-join { background: var(--navy); color: var(--gold); box-shadow: none; }
.lc-float .lc-join:hover { background: #12406d; }
@media (max-width: 1399px) {
  .lc-float { padding: 12px 14px calc(12px + env(safe-area-inset-bottom, 0px)); gap: 8px 18px; }
  .lc-float .lc-units { gap: 8px; }
  .lc-float .lc-unit { padding: 5px 10px 4px; min-width: 62px; border-radius: 11px; }
  .lc-float .lc-unit b { font-size: 1.7rem; }
  .lc-float .lc-unit span { font-size: 0.7rem; }
  .lc-float .lc-label { font-size: 1.15rem; }
  .lc-float .lc-join { padding: 10px 26px 8px; font-size: 1.1rem; }
  body.has-lc-float .whatsapp-float { bottom: calc(118px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 600px) {
  .lc-float .lc-unit { min-width: 54px; padding: 4px 8px 3px; }
  .lc-float .lc-unit b { font-size: 1.5rem; }
  body.has-lc-float .whatsapp-float { bottom: calc(150px + env(safe-area-inset-bottom, 0px)); }
}
@media (min-width: 1400px) {
  .lc-float { width: 190px; padding: 18px 12px; }
  .lc-float .lc-label { font-size: 1.1rem; }
  .lc-float .lc-unit b { font-size: 1.6rem; }
  .lc-float .lc-unit span { font-size: 0.68rem; }
}


/* experience wording: highlighted phrase + smaller bracket on the same heading */
.sy-h1-note, .sy-h2-note { display: block; margin-top: 0.45em; font-size: 0.4em; font-weight: 700; line-height: 1.3; color: var(--muted); }
.sy-eyebrow-long { max-width: 680px; border-radius: 18px; text-align: center; line-height: 1.3; padding: 8px 20px 6px; }
.sy-teacher-copy .sy-h2 .sy-h2-note { font-size: 0.5em; }

.sy-offer-price small { display: block; font-size: 0.42em; font-weight: 700; margin-top: 6px; letter-spacing: 0.01em; }
