/* Uplift Learning - Classic / Editorial style | emerald + gold on cream, serif headings */
:root {
  --ink: #22302a;
  --emerald: #1b5e4b;
  --emerald-dark: #164a3c;
  --gold: #b6893f;
  --gold-soft: #cba14f;
  --cream: #f8f5ee;
  --cream-2: #f1ebdd;
  --card: #fffdf8;
  --text: #2c332e;
  --muted: #6d6657;
  --line: #e3dccc;
  --whatsapp: #1f8f4e;
  --maxw: 1100px;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 78px; }
body { font-family: var(--sans); color: var(--text); background: var(--cream); line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 26px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.18; color: var(--ink); letter-spacing: 0.005em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.7rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.25rem; }
.eyebrow { font-family: var(--sans); text-transform: uppercase; letter-spacing: 0.22em; font-size: 0.72rem; font-weight: 600; color: var(--gold); margin-bottom: 12px; }
.eyebrow.gold { color: var(--gold-soft); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--sans); font-weight: 600; font-size: 0.95rem; padding: 13px 26px; border-radius: 2px; cursor: pointer; border: 1.5px solid transparent; transition: all .18s ease; }
.btn-sm { padding: 9px 18px; font-size: 0.86rem; }
.btn-lg { padding: 15px 30px; font-size: 1rem; }
.btn-block { display: flex; width: 100%; }
.btn-solid { background: var(--emerald); color: #fff; border-color: var(--emerald); }
.btn-solid:hover { background: var(--emerald-dark); border-color: var(--emerald-dark); }
.btn-line { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-line:hover { border-color: var(--emerald); color: var(--emerald); }

/* Announcement + header */
.announce { background: var(--ink); color: #efe9db; text-align: center; font-size: 0.82rem; letter-spacing: 0.04em; padding: 9px 16px; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(248,245,238,0.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; }
.seal { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--emerald); color: #f5e6c8; font-family: var(--serif); font-weight: 700; font-size: 0.92rem; letter-spacing: -0.02em; border: 2px solid var(--gold); flex: none; }
.brand-text { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; color: var(--ink); }
.brand-thin { color: var(--muted); font-style: italic; }
.nav { display: flex; gap: 30px; }
.nav a { font-size: 0.94rem; color: var(--ink); }
.nav a:hover { color: var(--emerald); }
.header-cta { display: flex; gap: 10px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); }

/* Hero */
.hero { padding: 84px 0 76px; background:
  radial-gradient(900px 380px at 50% -8%, rgba(27,94,75,0.06), transparent),
  var(--cream); border-bottom: 1px solid var(--line); }
.hero-inner { text-align: center; max-width: 860px; margin: 0 auto; }
.kicker { font-family: var(--sans); text-transform: uppercase; letter-spacing: 0.24em; font-size: 0.74rem; font-weight: 600; color: var(--gold); margin-bottom: 22px; }
.hero h1 { margin-bottom: 22px; }
.lede { font-size: 1.16rem; color: var(--muted); max-width: 40em; margin: 0 auto 30px; }
.lede.sm { font-size: 1.04rem; margin: 12px 0 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.hero-rule { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 40px; color: var(--muted); font-size: 0.86rem; letter-spacing: 0.03em; }
.hero-rule span { height: 1px; width: 64px; background: var(--line); }

/* Sections */
.section { padding: 82px 0; }
.head { margin-bottom: 48px; }
.head.center { max-width: 640px; margin-left: auto; margin-right: auto; }
.band-cream { background: var(--cream-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; }
.cols-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; }
.cols-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 26px; }

/* Pillars */
.pillar { text-align: center; padding: 12px 14px; }
.pillar .num { font-family: var(--serif); font-size: 1.5rem; color: var(--gold); display: inline-block; width: 54px; height: 54px; line-height: 50px; border: 1.5px solid var(--gold); border-radius: 50%; margin-bottom: 18px; }
.pillar h3 { margin-bottom: 10px; }
.pillar p { color: var(--muted); font-size: 0.98rem; }

/* Panels */
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 4px; padding: 34px; }
.panel h3 { margin-bottom: 12px; padding-bottom: 12px; border-bottom: 2px solid var(--gold); display: inline-block; }
.panel p { color: var(--muted); margin-bottom: 16px; }
.serif-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.serif-list li { position: relative; padding-left: 22px; font-size: 0.97rem; }
.serif-list li::before { content: "·"; position: absolute; left: 0; color: var(--gold); }

/* Flow / how */
.flow { position: relative; }
.flow-step { text-align: center; padding: 0 10px; }
.flow-step .dot { display: grid; place-items: center; width: 46px; height: 46px; margin: 0 auto 16px; border-radius: 50%; background: var(--emerald); color: #f5e6c8; font-family: var(--serif); font-weight: 700; }
.flow-step h3 { margin-bottom: 6px; }
.flow-step p { color: var(--muted); font-size: 0.92rem; }

/* Feature quote */
.band-quote { background: var(--emerald); color: #eef4f0; border-top: 6px solid var(--gold); }
.band-quote .quote-mark { font-family: var(--serif); font-size: 5rem; line-height: 0.5; color: var(--gold-soft); height: 46px; }
.band-quote .stars { color: var(--gold-soft); letter-spacing: 5px; margin-bottom: 18px; font-size: 1.1rem; }
.feature-quote { font-family: var(--serif); font-size: clamp(1.35rem, 3vw, 1.9rem); font-style: italic; line-height: 1.5; color: #fff; }
.quote-by { margin-top: 22px; font-size: 0.95rem; letter-spacing: 0.05em; color: #cfe0d8; }

/* Dark approach */
.band-dark { background: var(--ink); color: #d9e0da; }
.on-dark { color: #fff; }
.dark-item { text-align: center; padding: 8px; }
.dark-item h3 { color: #fff; margin-bottom: 10px; }
.dark-item p { color: #adb8af; font-size: 0.96rem; }

/* Contact */
.contact { align-items: center; gap: 44px; }
.contact-dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; margin-top: 22px; }
.contact-dl dt { font-weight: 600; color: var(--ink); }
.contact-dl dd { color: var(--muted); }
.contact-dl a { color: var(--emerald); font-weight: 600; }
.book-card { background: var(--card); border: 1px solid var(--line); border-top: 4px solid var(--emerald); border-radius: 4px; padding: 34px; }
.book-card h3 { margin-bottom: 8px; }
.book-card > p { color: var(--muted); margin-bottom: 22px; }

/* Footer */
.site-footer { background: var(--ink); color: #cfd6ce; padding: 40px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand strong { color: #fff; font-family: var(--serif); }
.footer-brand p { font-size: 0.85rem; color: #9aa79c; }
.footer-copy { font-size: 0.84rem; color: #9aa79c; }

@media (max-width: 860px) {
  .nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .site-header.open .nav { display: flex; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background: var(--card); padding: 18px 26px; gap: 16px; border-bottom: 1px solid var(--line); }
  .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; gap: 30px; }
  .contact { gap: 30px; }
}
/* ---- Resources page (classic) ---- */
.subhero { padding: 60px 0 40px; background: var(--cream); border-bottom: 1px solid var(--line); text-align: center; }
.subhero h1 { margin-bottom: 14px; }
.subhero p { color: var(--muted); max-width: 40em; margin: 0 auto; font-size: 1.08rem; }
.res-block { margin-bottom: 48px; }
.res-head { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.res-head h2 { font-size: 1.5rem; }
.res-badge { font-family: var(--serif); font-weight: 700; color: var(--emerald); border: 1.5px solid var(--gold); border-radius: 3px; padding: 6px 14px; font-size: 0.95rem; white-space: nowrap; }
.res-card { display: block; background: var(--card); border: 1px solid var(--line); border-radius: 4px; padding: 26px; transition: all .18s ease; }
.res-card:hover { border-color: var(--emerald); transform: translateY(-3px); }
.res-card h3 { font-size: 1.1rem; margin-bottom: 6px; }
.res-card p { color: var(--muted); font-size: 0.92rem; }
.res-card em { font-style: normal; color: var(--gold); font-weight: 600; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; }
.res-cta { text-align: center; background: var(--emerald); color: #fff; border-top: 6px solid var(--gold); border-radius: 4px; padding: 52px 24px; margin-top: 24px; }
.res-cta h2 { color: #fff; margin-bottom: 10px; }
.res-cta p { color: #cfe0d8; margin-bottom: 24px; }

/* ---- Student page (classic) ---- */
.student-hero { background: var(--emerald); color: #eef4f0; border-top: 6px solid var(--gold); padding: 46px 0; }
.student-hero h1 { color: #fff; }
.student-hero .tag { display: inline-block; background: rgba(255,255,255,.14); border: 1px solid rgba(245,230,200,.4); color: #f5e6c8; padding: 6px 14px; border-radius: 3px; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.05em; margin-bottom: 14px; }
.student-hero .sub { color: #cfe0d8; margin-top: 6px; }
.st-panel { background: var(--card); border: 1px solid var(--line); border-radius: 4px; padding: 28px; margin-bottom: 22px; }
.st-panel h2 { font-size: 1.25rem; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--gold); display: inline-block; }
.next-lesson { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.rag { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.rag:last-child { border-bottom: none; }
.rag .dotr { width: 12px; height: 12px; border-radius: 50%; flex: none; }
.r-green { background: #1b7a4b; } .r-amber { background: #c98a1e; } .r-red { background: #b23b32; }
.rag .topic { flex: 1; } .rag .status { font-size: 0.85rem; color: var(--muted); font-weight: 600; }
.st-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.st-list li { display: flex; gap: 14px; align-items: baseline; }
.st-list .when { min-width: 96px; font-weight: 600; color: var(--emerald); font-size: 0.9rem; }
.st-list a { color: var(--emerald); font-weight: 600; }
.private-note { font-size: 0.82rem; color: var(--muted); margin-top: 10px; }
/* ---- About / Meet your tutor ---- */
.about-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 44px; align-items: center; }
.about-card { background: var(--card); border: 1px solid var(--line); border-radius: 4px; padding: 34px; text-align: center; border-top: 4px solid var(--gold); }
.about-portrait { width: 132px; height: 132px; border-radius: 50%; margin: 0 auto 18px; background: var(--emerald); color: #f5e6c8; font-family: var(--serif); font-size: 3rem; font-weight: 700; display: grid; place-items: center; border: 3px solid var(--gold); overflow: hidden; }
.about-portrait img { width: 100%; height: 100%; object-fit: cover; }
.about-card h3 { font-size: 1.4rem; margin-bottom: 4px; }
.about-card .role { color: var(--muted); font-size: 0.92rem; margin-bottom: 16px; }
.about-facts { list-style: none; text-align: left; display: flex; flex-direction: column; gap: 10px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.about-facts li { display: flex; gap: 10px; align-items: baseline; font-size: 0.92rem; color: var(--muted); }
.about-facts .lbl { color: var(--gold); font-weight: 700; flex: none; }
.about-body p { color: var(--muted); margin-bottom: 16px; }
.about-body p strong { color: var(--ink); }
.badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.badge { display: inline-flex; align-items: center; gap: 7px; background: var(--cream-2); border: 1px solid var(--line); border-radius: 3px; padding: 8px 14px; font-size: 0.85rem; font-weight: 600; color: var(--ink); }
.badge .tick { color: var(--emerald); font-weight: 700; }

/* ---- Pricing ---- */
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: stretch; }
.price-card { background: var(--card); border: 1px solid var(--line); border-top: 4px solid var(--emerald); border-radius: 4px; padding: 38px 34px; text-align: center; display: flex; flex-direction: column; }
.price-card .tier { font-family: var(--sans); text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.72rem; font-weight: 700; color: var(--gold); margin-bottom: 14px; }
.price-fig { font-family: var(--serif); font-size: 3.4rem; font-weight: 700; color: var(--emerald); line-height: 1; }
.price-fig .per { font-family: var(--sans); font-size: 1rem; font-weight: 500; color: var(--muted); }
.price-sub { color: var(--muted); font-size: 0.95rem; margin: 10px 0 22px; }
.price-list { list-style: none; text-align: left; display: flex; flex-direction: column; gap: 11px; flex-grow: 1; margin-bottom: 26px; }
.price-list li { position: relative; padding-left: 26px; font-size: 0.95rem; color: var(--muted); }
.price-list li::before { content: "\2713"; position: absolute; left: 0; color: var(--emerald); font-weight: 700; }
.price-card.trial { background: var(--emerald); border-color: var(--gold); color: #eef4f0; }
.price-card.trial .tier { color: var(--gold-soft); }
.price-card.trial h3, .price-card.trial .price-fig { color: #fff; }
.price-card.trial .price-fig .per, .price-card.trial .price-sub { color: #cfe0d8; }
.price-card.trial .price-list li { color: #dce8e2; }
.price-card.trial .price-list li::before { color: var(--gold-soft); }
.price-note-line { text-align: center; margin-top: 24px; color: var(--muted); font-size: 0.92rem; }

@media (max-width: 860px) {
  .about-grid, .price-grid { grid-template-columns: 1fr; gap: 30px; }
}
/* ---- FAQ (native details, no JS) ---- */
.faq-wrap { max-width: 780px; margin: 0 auto; }
.faq-wrap details { background: var(--card); border: 1px solid var(--line); border-radius: 4px; margin-bottom: 12px; overflow: hidden; transition: border-color .18s ease; }
.faq-wrap details[open] { border-color: var(--emerald); }
.faq-wrap summary { padding: 18px 22px; font-family: var(--sans); font-weight: 600; color: var(--ink); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-wrap summary::-webkit-details-marker { display: none; }
.faq-wrap summary::after { content: "+"; font-family: var(--serif); font-size: 1.5rem; color: var(--gold); flex: none; line-height: 1; }
.faq-wrap details[open] summary::after { content: "\2013"; }
.faq-wrap .faq-a { padding: 0 22px 20px; color: var(--muted); font-size: 0.96rem; }
.faq-wrap .faq-a p + p { margin-top: 10px; }

/* ---- Enquiry form ---- */
.form-card { background: var(--card); border: 1px solid var(--line); border-top: 4px solid var(--emerald); border-radius: 4px; padding: 34px; }
.form-card h3 { margin-bottom: 6px; }
.form-card > p { color: var(--muted); font-size: 0.95rem; margin-bottom: 22px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field label .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; font-family: var(--sans); font-size: 0.95rem; color: var(--ink);
  background: var(--cream); border: 1px solid var(--line); border-radius: 3px; transition: border-color .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--emerald); background: #fff; }
.field textarea { resize: vertical; min-height: 96px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-note { font-size: 0.8rem; color: var(--muted); margin-top: 14px; text-align: center; }
.form-status { display: none; padding: 14px 16px; border-radius: 3px; font-size: 0.92rem; margin-bottom: 16px; }
.form-status.ok { display: block; background: #e8f3ee; border: 1px solid var(--emerald); color: var(--emerald-dark); }
.form-status.err { display: block; background: #fbeceb; border: 1px solid #b23b32; color: #8f2f27; }

/* ---- Floating WhatsApp ---- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 200;
  display: inline-flex; align-items: center; gap: 10px;
  background: #1f8f4e; color: #fff; font-family: var(--sans); font-weight: 600; font-size: 0.92rem;
  padding: 13px 20px 13px 16px; border-radius: 999px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.22); transition: transform .18s ease, box-shadow .18s ease;
}
.wa-float:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0,0,0,0.28); }
.wa-float svg { flex: none; }
@media (max-width: 560px) {
  .wa-float { right: 14px; bottom: 14px; padding: 13px; }
  .wa-float .wa-label { display: none; }
  .field-row { grid-template-columns: 1fr; }
}

/* ---- Resources: year group layout ---- */
.subhero-lede { color: var(--muted); max-width: 44em; margin: 0 auto; font-size: 1.06rem; }
.res-stats { display: flex; justify-content: center; gap: 44px; margin-top: 30px; flex-wrap: wrap; }
.res-stats div { text-align: center; }
.res-stats strong { display: block; font-family: var(--serif); font-size: 2rem; color: var(--emerald); line-height: 1; }
.res-stats span { font-size: 0.82rem; color: var(--muted); letter-spacing: 0.04em; }

.yr-block { margin-bottom: 42px; }
.yr-head { display: flex; align-items: center; gap: 18px; padding-bottom: 14px; border-bottom: 2px solid var(--gold); margin-bottom: 4px; }
.yr-badge { font-family: var(--serif); font-weight: 700; font-size: 0.95rem; color: #fff; background: var(--emerald); padding: 8px 16px; border-radius: 3px; white-space: nowrap; }
.yr-head h2 { font-size: 1.35rem; margin: 0; }
.yr-sub { font-size: 0.85rem; color: var(--muted); margin: 0; }
.yr-count { margin-left: auto; font-size: 0.82rem; color: var(--muted); white-space: nowrap; }

.topic-list { display: flex; flex-direction: column; }
.topic { display: flex; align-items: center; gap: 20px; padding: 16px 4px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.topic:last-child { border-bottom: none; }
.topic-info { flex: 1; min-width: 210px; }
.topic-info h3 { font-size: 1.05rem; margin-bottom: 2px; }
.topic-info p { font-size: 0.83rem; color: var(--muted); margin: 0; }
.topic-links { display: flex; gap: 10px; flex-wrap: wrap; }
.pdf { display: inline-flex; align-items: center; gap: 7px; font-family: var(--sans); font-size: 0.85rem; font-weight: 600; padding: 9px 16px; border-radius: 3px; border: 1.5px solid transparent; transition: all .16s ease; white-space: nowrap; }
.pdf::before { content: "PDF"; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.06em; padding: 2px 5px; border-radius: 2px; background: rgba(255,255,255,0.22); }
.pdf-q { background: var(--emerald); color: #fff; }
.pdf-q:hover { background: var(--emerald-dark); transform: translateY(-2px); }
.pdf-a { background: transparent; color: var(--gold); border-color: var(--gold); }
.pdf-a::before { background: rgba(182,137,63,0.16); }
.pdf-a:hover { background: var(--gold); color: #fff; transform: translateY(-2px); }
.topic.soon { opacity: 0.55; }
.pdf-soon { background: var(--cream-2); color: var(--muted); border-color: var(--line); cursor: default; }
.pdf-soon::before { background: rgba(0,0,0,0.06); }

@media (max-width: 620px) {
  .yr-head { flex-wrap: wrap; gap: 12px; }
  .yr-count { margin-left: 0; width: 100%; }
  .topic { align-items: flex-start; }
  .topic-links { width: 100%; }
  .pdf { flex: 1; justify-content: center; }
  .res-stats { gap: 28px; }
}
/* ================= QUIZ ================= */
.qz-bar { height: 6px; background: var(--cream-2); border-radius: 999px; overflow: hidden; }
.qz-bar-fill { height: 100%; width: 0; background: var(--emerald); transition: width .25s ease; }
.qz-progress { font-size: .82rem; color: var(--muted); margin: 8px 0 22px; text-align: right; }
.qz-sec { font-family: var(--serif); font-size: 1.1rem; color: var(--emerald); margin: 26px 0 10px; padding-bottom: 8px; border-bottom: 2px solid var(--gold); }
.qz-sec:first-child { margin-top: 0; }
.qz-q { display: flex; align-items: center; gap: 14px; padding: 12px 4px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.qz-num { width: 26px; height: 26px; flex: none; border: 1.4px solid var(--gold); border-radius: 50%; color: var(--gold); font-size: .76rem; font-weight: 700; display: grid; place-items: center; }
.qz-eq { flex: 1; min-width: 130px; font-size: 1.02rem; }
.qz-in { display: flex; align-items: center; gap: 8px; }
.qz-in label { font-size: .92rem; color: var(--muted); font-weight: 600; }
.qz-in input { width: 92px; padding: 9px 11px; font-family: var(--sans); font-size: .98rem; text-align: center; background: var(--cream); border: 1px solid var(--line); border-radius: 3px; }
.qz-in input:focus { outline: none; border-color: var(--emerald); background: #fff; }
.qz-note { text-align: center; font-size: .8rem; color: var(--muted); margin-top: 12px; }

.qz-result { animation: fadeUp .35s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.qz-score { display: flex; align-items: center; gap: 30px; background: var(--card); border: 1px solid var(--line); border-top: 4px solid var(--emerald); border-radius: 4px; padding: 30px; flex-wrap: wrap; }
.qz-ring { width: 132px; height: 132px; flex: none; }
.qz-ring circle:last-of-type { transition: stroke-dashoffset 1s ease; }
.qz-ring-n { font-family: var(--serif); font-size: 26px; font-weight: 700; fill: var(--emerald); }
.qz-ring-l { font-size: 10px; fill: var(--muted); letter-spacing: .1em; text-transform: uppercase; }
.qz-score h2 { font-size: 1.5rem; margin: 8px 0 6px; }
.qz-score p { color: var(--muted); font-size: .96rem; }
.qz-guide { font-size: .8rem !important; font-style: italic; margin-top: 8px; }
.qz-band { display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 4px 11px; border-radius: 3px; color: #fff; }
.b-green { background: #1b7a4b; } .b-green2 { background: var(--emerald); }
.b-amber { background: #c98a1e; } .b-red { background: #b23b32; }

.qz-h { font-family: var(--serif); font-size: 1.18rem; color: var(--ink); margin: 34px 0 14px; }
.qz-bars { display: flex; flex-direction: column; gap: 15px; }
.qz-blabel { display: flex; justify-content: space-between; font-size: .9rem; font-weight: 600; margin-bottom: 5px; }
.qz-blabel span { color: var(--muted); font-weight: 500; }
.qz-btrack { height: 11px; background: var(--cream-2); border-radius: 999px; overflow: hidden; }
.qz-bfill { height: 100%; border-radius: 999px; transition: width .8s ease; }
.f-green { background: #1b7a4b; } .f-amber { background: #c98a1e; } .f-red { background: #b23b32; }

.qz-tips { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.qz-tips li { padding: 13px 16px; border-radius: 3px; font-size: .93rem; border-left: 4px solid; background: var(--card); }
.t-ok { border-color: #1b7a4b; } .t-mid { border-color: #c98a1e; } .t-low { border-color: #b23b32; }

.qz-line { width: 100%; max-width: 540px; }
.qz-pt { font-size: 11px; fill: var(--muted); font-weight: 600; }
.qz-hist-empty { color: var(--muted); font-size: .92rem; font-style: italic; }

.qz-table { width: 100%; border-collapse: collapse; font-size: .9rem; background: var(--card); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.qz-table th { background: var(--emerald); color: #fff; text-align: left; padding: 10px 12px; font-family: var(--serif); font-weight: 600; font-size: .88rem; }
.qz-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); }
.qz-table tr:last-child td { border-bottom: none; }
.qz-table .wa { color: #b23b32; font-weight: 600; }
.qz-table .ca { color: var(--emerald); font-weight: 700; }
.qz-allright { color: var(--emerald); font-weight: 600; }

.qz-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 30px 0 0; }
.qz-cta { margin-top: 34px; background: var(--emerald); border-top: 5px solid var(--gold); border-radius: 4px; padding: 32px; text-align: center; color: #fff; }
.qz-cta h3 { color: #fff; font-size: 1.3rem; margin-bottom: 8px; }
.qz-cta p { color: #cfe0d8; margin-bottom: 18px; }
.qz-cta .btn-solid { background: var(--gold); border-color: var(--gold); }
.qz-cta .btn-solid:hover { background: #a2782f; border-color: #a2782f; }

@media (max-width: 620px) {
  .qz-q { gap: 10px; }
  .qz-eq { min-width: 100%; order: 2; }
  .qz-in { order: 3; margin-left: auto; }
  .qz-score { gap: 18px; justify-content: center; text-align: center; }
  .qz-actions .btn { flex: 1; }
}
.pdf-online { background: var(--gold); color: #fff; }
.pdf-online::before { content: "NEW"; background: rgba(255,255,255,0.25); }
.pdf-online:hover { background: #a2782f; transform: translateY(-2px); }
/* ---- Legal / prose pages ---- */
.legal { max-width: 780px; margin: 0 auto; }
.legal .updated { display: inline-block; background: var(--cream-2); border: 1px solid var(--line); border-radius: 3px; padding: 6px 14px; font-size: .82rem; color: var(--muted); margin-bottom: 30px; }
.legal h2 { font-size: 1.3rem; color: var(--emerald); margin: 34px 0 10px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.legal h3 { font-size: 1.02rem; margin: 22px 0 6px; }
.legal p { color: var(--muted); margin-bottom: 12px; }
.legal ul { margin: 0 0 14px 20px; color: var(--muted); }
.legal li { margin-bottom: 7px; }
.legal strong { color: var(--ink); }
.legal a { color: var(--emerald); font-weight: 600; }
.legal-toc { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 3px; padding: 20px 24px; margin-bottom: 30px; }
.legal-toc p { font-weight: 600; color: var(--ink); margin-bottom: 8px; font-size: .9rem; }
.legal-toc ol { margin-left: 18px; font-size: .9rem; }
.legal-toc li { margin-bottom: 4px; }
.callout { background: var(--cream-2); border-left: 4px solid var(--emerald); border-radius: 3px; padding: 18px 22px; margin: 20px 0; }
.callout p:last-child { margin-bottom: 0; }
.callout.warn { border-left-color: var(--gold); }
.contact-box { background: var(--emerald); color: #fff; border-radius: 4px; padding: 26px 28px; margin-top: 34px; }
.contact-box h3 { color: #fff; margin-top: 0; }
.contact-box p { color: #cfe0d8; }
.contact-box a { color: var(--gold-soft); }
a.badge { transition: all .16s ease; }
a.badge:hover { border-color: var(--emerald); color: var(--emerald); transform: translateY(-2px); }
/* ---- 3-tier pricing ---- */
.price-grid.three { grid-template-columns: repeat(3, 1fr); gap: 22px; }
.price-card.feature { border-top-width: 5px; box-shadow: 0 10px 34px rgba(27,94,75,0.14); position: relative; }
.price-card .pop { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--gold); color: #fff; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 4px 12px; border-radius: 3px; white-space: nowrap; }

/* ---- block booking offer ---- */
.block-offer { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  background: var(--emerald); border-top: 5px solid var(--gold); border-radius: 4px; padding: 30px 34px; margin-top: 30px; color: #fff; }
.block-offer h3 { color: #fff; margin: 8px 0 6px; }
.block-offer p { color: #cfe0d8; font-size: .95rem; max-width: 34em; margin: 0; }
.offer-tag { display: inline-block; background: var(--gold); color: #fff; font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 4px 12px; border-radius: 3px; }
.offer-figures { display: flex; gap: 26px; flex-wrap: wrap; }
.offer-figures > div { text-align: center; background: rgba(255,255,255,0.08); border: 1px solid rgba(245,230,200,0.28); border-radius: 4px; padding: 14px 20px; min-width: 132px; }
.offer-figures .was { display: block; font-size: .82rem; color: #a9c4b8; text-decoration: line-through; }
.offer-figures strong { display: block; font-family: var(--serif); font-size: 1.7rem; color: var(--gold-soft); line-height: 1.15; }
.offer-figures .lbl { display: block; font-size: .72rem; color: #cfe0d8; margin-top: 3px; }

/* ---- one-to-one vs group comparison ---- */
.compare .cmp { border-top: 4px solid var(--emerald); position: relative; }
.compare .cmp-group { border-top-color: var(--gold); }
.cmp-tag { display: inline-block; background: var(--emerald); color: #fff; font-size: .74rem; font-weight: 700; letter-spacing: .06em; padding: 5px 12px; border-radius: 3px; margin-bottom: 14px; }
.cmp-tag.alt { background: var(--gold); }
.cmp h3 { margin-bottom: 8px; border: none; padding: 0; }
.cmp-best { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: .9rem; }

@media (max-width: 900px) {
  .price-grid.three { grid-template-columns: 1fr; }
  .block-offer { justify-content: center; text-align: center; }
  .offer-figures { justify-content: center; width: 100%; }
}
/* keep the header on one line at all desktop widths */
.header-inner { min-width: 0; }
.nav { gap: 20px; min-width: 0; }
.nav a { padding: 0.5rem 0.5rem; }
@media (max-width: 1180px) {
  .nav { gap: 12px; }
  .header-cta .btn-line { display: none; }
}
/* ---- Mobile usability fixes ---- */
/* iOS Safari zooms the page in whenever a focused input is under 16px.
   Force 16px on small screens so tapping a field never zooms. */
@media (max-width: 860px) {
  .field input, .field select, .field textarea,
  .qz-in input, .o-form input { font-size: 16px; }
  /* hamburger needs a proper 44px tap target */
  .nav-toggle { min-width: 44px; min-height: 44px; justify-content: center; align-items: center; }
}
/* ---- mock exam promo on the homepage ---- */
.mock-promo { display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap;
  background: var(--card); border: 1px solid var(--line); border-left: 5px solid var(--gold); border-radius: 4px;
  padding: 26px 30px; margin-top: 22px; }
.mock-promo h3 { margin: 10px 0 6px; }
.mock-promo p { color: var(--muted); font-size: .95rem; max-width: 46em; margin: 0; }
.mock-promo .btn { flex: none; }
@media (max-width: 700px) { .mock-promo { justify-content: center; text-align: center; } .mock-promo .btn { width: 100%; } }
/* ---- inline booking block in the contact section ---- */
.book-inline { margin-top: 26px; padding: 22px 24px; background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--emerald); border-radius: 4px; }
.book-inline h3 { font-size: 1.05rem; margin-bottom: 5px; }
.book-inline p { color: var(--muted); font-size: .9rem; margin-bottom: 16px; }
/* 404 quick links */
a.panel { transition: all .18s ease; }
a.panel:hover { border-color: var(--emerald); transform: translateY(-3px); }
/* Formspree honeypot: off-screen rather than display:none so bots still fill it */
.fs-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }