:root {
  --green-900: #1f4a2d;
  --green-700: #2c5f3d;
  --green-500: #4a8a5c;
  --green-300: #7ba86f;
  --green-50:  #eef5ef;
  --sky-100:   #e8f1f6;
  --sky-200:   #cde3ec;
  --ink-900:   #14241c;
  --ink-700:   #2a3b32;
  --ink-500:   #5b6b65;
  --ink-300:   #97a39d;
  --line:      #b8c4bd;
  --surface:   #f7fafb;
  --white:     #ffffff;
  --shadow-sm: 0 1px 2px rgba(20, 36, 28, 0.04), 0 1px 3px rgba(20, 36, 28, 0.06);
  --shadow-md: 0 4px 12px rgba(20, 36, 28, 0.06), 0 2px 4px rgba(20, 36, 28, 0.04);
  --shadow-lg: 0 12px 32px rgba(20, 36, 28, 0.08), 0 4px 8px rgba(20, 36, 28, 0.04);
  --radius-sm: 8px;
  --radius:    12px;
  --radius-lg: 20px;
  --container: 1140px;
  --gutter:    24px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  font-size: 17px;
}

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-feature-settings: "cv11", "ss01", "ss03";
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink-900);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink-900);
  margin: 0 0 0.5em;
  letter-spacing: -0.025em;
}
h1 { font-weight: 800; letter-spacing: -0.035em; }
h2 { letter-spacing: -0.03em; }
h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1em; color: var(--ink-700); }
p.lead { font-size: 1.2rem; color: var(--ink-700); }

a { color: var(--green-700); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: 96px 0;
}
.section--tight { padding: 64px 0; }
.section--alt { background: var(--surface); }
.section--sky { background: linear-gradient(180deg, var(--sky-100) 0%, var(--white) 100%); }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-700);
  margin-bottom: 12px;
}

.section-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head p { color: var(--ink-500); }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 72px;
  min-width: 0;
}
.nav-inner > * { min-width: 0; }
.brand { flex-shrink: 0; }
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink-900);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.brand:hover { text-decoration: none; }
.brand-mark { width: 36px; height: 36px; }
.brand-name {
  font-size: 0.95rem;
  white-space: nowrap;
  line-height: 1.15;
}
.brand-name em {
  display: block;
  font-style: normal;
  font-weight: 500;
  color: var(--green-700);
  font-size: 0.62rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
}
.nav-links a {
  color: var(--ink-700);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 8px 0;
  position: relative;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--green-700); text-decoration: none; }
.nav-links a.is-active { color: var(--green-700); }
.nav-links a.is-active::after {
  content: "";
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--green-500);
  border-radius: 2px;
}

.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-cta .btn-primary { padding: 10px 18px; font-size: 0.85rem; }
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  width: 40px; height: 40px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  color: var(--ink-700);
}
.nav-toggle svg { width: 20px; height: 20px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  font-family: inherit;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.12s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary {
  background: var(--green-700);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--green-900); box-shadow: var(--shadow-md); }
.btn-ghost {
  background: transparent;
  color: var(--ink-900);
  border-color: var(--line);
}
.btn-ghost:hover { background: var(--sky-100); border-color: var(--sky-200); }
.btn-lg { padding: 14px 28px; font-size: 1rem; }
.btn .arr { transition: transform 0.2s ease; }
.btn:hover .arr { transform: translateX(3px); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 88px 0 64px;
  background:
    radial-gradient(1200px 600px at 80% -10%, var(--sky-200) 0%, transparent 60%),
    linear-gradient(180deg, var(--sky-100) 0%, var(--white) 80%);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero h1 { margin-bottom: 20px; }
.hero p.lead { font-size: 1.3rem; max-width: 560px; color: var(--ink-700); }
.hero-ctas {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.hero-art {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--sky-200);
  border-radius: 28px;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.hero-art::before, .hero-art::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
}
.hero-art::before { width: 60%; height: 60%; top: -10%; right: -10%; }
.hero-art::after  { width: 40%; height: 40%; bottom: -8%; left: -8%; background: rgba(123, 168, 111, 0.25); }
.hero-art svg { width: 60%; height: 60%; position: relative; z-index: 1; }

/* Trust bar */
.trust {
  margin-top: 56px;
  background: var(--white);
  border: 3px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  box-shadow: var(--shadow-sm);
}
.trust-item .num {
  font-family: "Inter", sans-serif; font-variant-numeric: tabular-nums;
  font-size: 2rem;
  font-weight: 700;
  color: var(--green-700);
  line-height: 1;
}
.trust-item .lbl {
  font-size: 0.9rem;
  color: var(--ink-500);
  margin-top: 6px;
}

/* ---------- About / Philosophy ---------- */
.philosophy {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.principle {
  padding: 28px;
  background: var(--white);
  border: 3px solid var(--line);
  border-radius: var(--radius);
}
.principle .num-mark {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: var(--green-50);
  color: var(--green-700);
  font-weight: 700;
  font-family: "Inter", sans-serif; font-variant-numeric: tabular-nums;
  margin-bottom: 12px;
}
.principle h3 { margin-bottom: 8px; }
.principle p { margin: 0; color: var(--ink-500); }

/* Training block */
.training {
  margin-top: 56px;
  padding: 36px 40px;
  background: var(--green-50);
  border: 1px solid var(--green-300);
  border-radius: var(--radius-lg);
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.training h3 { color: var(--green-900); margin-bottom: 14px; }
.training p { margin: 0; color: var(--ink-700); max-width: 720px; margin-left: auto; margin-right: auto; }

/* Careers card */
.careers-card {
  background: linear-gradient(135deg, var(--green-700), var(--green-900));
  color: #e6efe9;
  border-radius: var(--radius-lg);
  padding: 48px 48px;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
}
.careers-card .eyebrow { color: var(--green-300); }
.careers-card h2 { color: var(--white); margin-bottom: 18px; }
.careers-card p { color: #cfdcd4; max-width: 640px; margin-left: auto; margin-right: auto; }
.careers-card a { color: var(--white); text-decoration: underline; }
.careers-card a.btn {
  text-decoration: none;
  background: var(--white);
  color: var(--green-900);
}
.careers-card a.btn:hover { background: #f4faf5; color: var(--green-900); }
@media (max-width: 600px) {
  .careers-card { padding: 36px 24px; }
  .training { padding: 28px 24px; }
}

/* Tutor cards */
.tutors {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.tutor {
  padding: 28px;
  background: var(--white);
  border: 3px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.tutor-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.tutor-avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-500), var(--green-700));
  color: var(--white);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-family: "Inter", sans-serif; font-variant-numeric: tabular-nums;
  font-size: 1.3rem;
}
.tutor-role {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-700);
  background: var(--green-50);
  padding: 3px 10px;
  border-radius: 999px;
  margin-top: 4px;
}
.tutor-meta { font-size: 0.88rem; color: var(--ink-500); margin-top: 6px; font-weight: 500; }
.tutor-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}
.tag {
  display: inline-block;
  padding: 4px 10px;
  background: var(--sky-100);
  color: var(--green-700);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 500;
}

/* ---------- Subjects ---------- */
.subjects {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.subject-card {
  background: var(--white);
  border: 3px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.subject-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* Subject card colour variants */
.subject-card--maths   { background: #e8f1f6; border-color: #9bc1d3; }
.subject-card--maths   .subject-icon { background: #cde3ec; color: #1a4d63; }
.subject-card--maths:hover { border-color: #1a4d63; }

.subject-card--science { background: #eaf4ec; border-color: #9cc7a5; }
.subject-card--science .subject-icon { background: #cce5d0; color: #1f4a2d; }
.subject-card--science:hover { border-color: #1f4a2d; }

.subject-card--cs      { background: #fdf6dd; border-color: #d9c777; }
.subject-card--cs      .subject-icon { background: #f7e8a4; color: #6d5a08; }
.subject-card--cs:hover { border-color: #6d5a08; }

.subject-card--english { background: #fbe7e0; border-color: #d9a796; }
.subject-card--english .subject-icon { background: #f5cdbc; color: #7a3a25; }
.subject-card--english:hover { border-color: #7a3a25; }
.subject-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--green-50);
  color: var(--green-700);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}
.subject-card h3 { margin-bottom: 12px; }
.subject-card ul {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.subject-card li {
  padding: 8px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 0.92rem;
  color: var(--ink-700);
}
.subject-card li strong { color: var(--ink-900); font-weight: 600; }
.subject-card .boards {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  font-size: 0.82rem;
  color: var(--ink-500);
}

/* ---------- University prep banner ---------- */
.uniprep {
  margin-top: 56px;
  padding: 36px 44px;
  background: linear-gradient(135deg, #d8f0ed 0%, #b7e2dd 100%);
  border: 3px solid #3a8a85;
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 36px;
  align-items: center;
  box-shadow: var(--shadow-sm);
}
.uniprep-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #1f5b58;
  margin-bottom: 10px;
}
.uniprep h3 {
  color: #143f3c;
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin: 0 0 10px;
}
.uniprep p {
  color: #1f5b58;
  margin: 0;
  font-size: 1rem;
  line-height: 1.55;
}
.uniprep-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.uniprep-tag {
  background: rgba(255, 255, 255, 0.72);
  color: #1f5b58;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid rgba(31, 91, 88, 0.25);
  white-space: nowrap;
}
@media (max-width: 800px) {
  .uniprep {
    grid-template-columns: 1fr;
    padding: 28px 24px;
    gap: 20px;
  }
  .uniprep h3 { font-size: 1.3rem; }
}

/* ---------- Formats comparison ---------- */
.formats {
  background: var(--white);
  border: 3px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.formats-table {
  width: 100%;
  border-collapse: collapse;
}
.formats-table th, .formats-table td {
  padding: 18px 24px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
  vertical-align: top;
}
.formats-table th:first-child, .formats-table td:first-child {
  background: var(--surface);
  font-weight: 600;
  color: var(--ink-900);
  width: 22%;
}
.formats-table thead th { font-family: "Inter", sans-serif; font-variant-numeric: tabular-nums; font-size: 1.05rem; color: var(--green-700); }
.formats-table tr:last-child td { border-bottom: none; }

.format-pick {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.format-pick > div {
  padding: 28px;
  background: var(--white);
  border: 3px solid var(--line);
  border-radius: var(--radius);
}
.format-pick h4 { color: var(--green-700); margin-bottom: 12px; }
.format-pick ul { margin: 0; padding-left: 20px; color: var(--ink-700); font-size: 0.95rem; }
.format-pick li { margin-bottom: 6px; }

/* ---------- How It Works ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.step {
  background: var(--white);
  border: 3px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 20px;
  position: relative;
}
.step-num {
  font-family: "Inter", sans-serif; font-variant-numeric: tabular-nums;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--sky-200);
  line-height: 1;
  margin-bottom: 8px;
}
.step h4 { margin-bottom: 8px; font-size: 1rem; }
.step p { font-size: 0.88rem; color: var(--ink-500); margin: 0; }

.dont {
  margin-top: 48px;
  padding: 28px;
  background: var(--sky-100);
  border-radius: var(--radius);
}
.dont h4 { color: var(--green-700); margin-bottom: 12px; }
.dont ul { columns: 2; column-gap: 32px; padding-left: 20px; margin: 0; color: var(--ink-700); }
.dont li { margin-bottom: 4px; break-inside: avoid; }

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: start;
}
.pricing-table {
  background: var(--white);
  border: 3px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.pricing-table table {
  width: 100%;
  border-collapse: collapse;
}
.pricing-table th, .pricing-table td {
  padding: 16px 22px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}
.pricing-table thead th {
  background: var(--surface);
  color: var(--ink-900);
  font-family: "Inter", sans-serif; font-variant-numeric: tabular-nums;
  font-size: 1.02rem;
}
.pricing-table tbody tr:last-child td { border-bottom: none; }
.pricing-table .price { font-weight: 700; color: var(--green-700); font-family: "Inter", sans-serif; font-variant-numeric: tabular-nums; }

.pricing-side {
  background: var(--white);
  border: 3px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.pricing-side h4 { color: var(--green-700); }
.pricing-side ul { padding-left: 20px; margin: 0 0 18px; color: var(--ink-700); font-size: 0.95rem; }
.pricing-side ul li { margin-bottom: 6px; }

/* ---------- Unsure callout ---------- */
.unsure-card {
  background: linear-gradient(135deg, var(--sky-100) 0%, var(--sky-200) 100%);
  border: 3px solid #9bc1d3;
  border-radius: var(--radius-lg);
  padding: 32px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  box-shadow: var(--shadow-sm);
}
.unsure-card h3 {
  margin: 0 0 8px;
  color: var(--ink-900);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.unsure-card p {
  margin: 0;
  color: var(--ink-700);
  max-width: 560px;
}
.unsure-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
}
.unsure-actions .btn { width: 100%; justify-content: center; }
.btn-whatsapp {
  background: #25D366;
  color: #fff;
}
.btn-whatsapp:hover { background: #1da851; color: #fff; }
.btn-whatsapp svg { flex-shrink: 0; }

@media (max-width: 800px) {
  .unsure-card {
    flex-direction: column;
    text-align: center;
    padding: 28px 24px;
  }
  .unsure-card h3 { font-size: 1.2rem; }
  .unsure-actions { width: 100%; }
}

/* ---------- Reviews ---------- */
.review-stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}
.stat {
  text-align: center;
  padding: 24px 12px;
  background: var(--white);
  border: 3px solid var(--line);
  border-radius: var(--radius);
}
.stat .pct {
  font-family: "Inter", sans-serif; font-variant-numeric: tabular-nums;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--green-700);
  line-height: 1;
}
.stat .lbl { font-size: 0.85rem; color: var(--ink-500); margin-top: 8px; }

.testimonial-carousel {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  min-height: 260px;
}
.testimonial {
  position: absolute;
  inset: 0;
  padding: 44px 48px 40px;
  background: var(--white);
  border: 3px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.55s ease, transform 0.55s ease;
  pointer-events: none;
}
.testimonial.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.testimonial::before {
  content: "\201C";
  font-family: "Inter", sans-serif;
  font-size: 5.5rem;
  line-height: 0.6;
  color: var(--sky-200);
  position: absolute;
  top: 28px; left: 36px;
}
.testimonial blockquote {
  margin: 0 0 20px;
  font-size: 1.3rem;
  line-height: 1.55;
  color: var(--ink-900);
  font-weight: 500;
  position: relative;
  z-index: 1;
}
.testimonial cite {
  font-style: normal;
  font-size: 0.92rem;
  color: var(--green-700);
  font-weight: 600;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.carousel-dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background: var(--line);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}
.carousel-dots button:hover { background: var(--green-300); }
.carousel-dots button.is-active {
  background: var(--green-700);
  transform: scale(1.4);
}

@media (max-width: 700px) {
  .testimonial-carousel { min-height: 340px; }
  .testimonial { padding: 32px 22px 28px; }
  .testimonial blockquote { font-size: 1.05rem; }
  .testimonial::before { font-size: 4rem; top: 22px; left: 22px; }
}

/* ---------- FAQ ---------- */
.faq-group { margin-bottom: 32px; }
.faq-group h3 {
  font-size: 1rem;
  font-family: -apple-system, "Inter", sans-serif;
  font-weight: 600;
  color: var(--green-700);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}
.faq-item {
  background: var(--white);
  border: 3px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  background: transparent;
  border: none;
  text-align: left;
  padding: 18px 24px;
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  color: var(--ink-900);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-q::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--green-700);
  font-weight: 400;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.faq-item[open] .faq-q::after { content: "\2013"; }
.faq-a {
  padding: 0 24px 18px;
  color: var(--ink-700);
  font-size: 0.95rem;
}
.faq-a p { margin: 0; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-form {
  background: var(--white);
  border: 3px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-700);
  margin-bottom: 6px;
}
.field label .req { color: #c0392b; font-weight: 700; margin-left: 2px; }
.field label .opt { color: var(--ink-300); font-weight: 500; margin-left: 4px; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  background: var(--white);
  color: var(--ink-900);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--green-500);
  box-shadow: 0 0 0 3px var(--green-50);
}
.field textarea { min-height: 100px; resize: vertical; }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-note {
  margin-top: 18px;
  padding: 14px 16px;
  background: var(--green-50);
  border-left: 3px solid var(--green-500);
  border-radius: 6px;
  font-size: 0.88rem;
  color: var(--ink-700);
}
.form-status {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 500;
}
.form-status.is-success {
  background: var(--green-50);
  color: var(--green-900);
  border: 1px solid var(--green-300);
}
.form-status.is-error {
  background: #fdecec;
  color: #8a1f1f;
  border: 1px solid #f3c2c2;
}

.contact-side h3 { font-size: 1.6rem; }
.contact-side dl {
  margin: 0;
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 22px 26px;
}
.contact-side dt {
  color: var(--ink-500);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  align-self: center;
}
.contact-side dd { margin: 0; color: var(--ink-900); font-size: 1.15rem; line-height: 1.5; }
.contact-side dd a { color: var(--green-700); font-weight: 500; }
.contact-side > div h4 { font-size: 1.15rem; }
.contact-side > div p { font-size: 1.05rem !important; }

@media (max-width: 600px) {
  .contact-side h3 { font-size: 1.35rem; }
  .contact-side dt { font-size: 0.9rem; }
  .contact-side dd { font-size: 1.05rem; }
}

/* ---------- Footer ---------- */
.footer {
  background: #0f2218;
  color: #b9c8c0;
  padding: 64px 0 24px;
}
.footer a { color: #d6e1da; }
.footer a:hover { color: var(--white); text-decoration: none; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.4fr 1.4fr;
  gap: 40px;
}
.footer h4 {
  color: var(--white);
  font-family: -apple-system, "Inter", sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.footer .brand { color: var(--white); margin-bottom: 12px; }
.footer .brand-name em { color: var(--green-300); }
.footer-tag { font-size: 0.92rem; max-width: 320px; color: #99a8a0; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; font-size: 0.93rem; }
.footer-contact { font-size: 0.93rem; line-height: 1.9; }
.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: #889589;
}

/* ---------- Floating contact widget ---------- */
.fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 70;
}
.fab-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  background: var(--green-700);
  color: var(--white);
  border: none;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(20, 36, 28, 0.25), 0 2px 6px rgba(20, 36, 28, 0.15);
  transition: transform 0.18s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.fab-toggle:hover {
  background: var(--green-900);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(20, 36, 28, 0.3), 0 4px 10px rgba(20, 36, 28, 0.18);
}
.fab-toggle .fab-icon-close { display: none; }
.fab.is-open .fab-toggle .fab-icon-open { display: none; }
.fab.is-open .fab-toggle .fab-icon-close { display: inline-block; }
.fab.is-open .fab-toggle .fab-label { display: none; }
.fab.is-open .fab-toggle { padding: 14px; }

.fab-panel {
  position: absolute;
  bottom: calc(100% + 14px);
  right: 0;
  width: 340px;
  max-width: calc(100vw - 48px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(20, 36, 28, 0.18), 0 6px 16px rgba(20, 36, 28, 0.08);
  padding: 22px 24px 24px;
  transform: translateY(10px);
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.22s ease;
  pointer-events: none;
}
.fab-panel[hidden] { display: none; }
.fab.is-open .fab-panel {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.fab-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.fab-header h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink-900);
}
.fab-close {
  background: transparent;
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--ink-500);
  transition: background 0.15s ease, color 0.15s ease;
}
.fab-close:hover { background: var(--surface); color: var(--ink-900); }

.fab-list {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 10px 14px;
  margin: 0 0 18px;
}
.fab-list dt {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-500);
  align-self: start;
  padding-top: 1px;
}
.fab-list dd {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-900);
  line-height: 1.5;
}
.fab-list dd a { color: var(--green-700); font-weight: 500; }

.fab-cta {
  display: block;
  width: 100%;
  text-align: center;
  padding: 11px 18px;
  font-size: 0.9rem;
}

@media (max-width: 600px) {
  .fab { right: 16px; bottom: 16px; }
  .fab-toggle { padding: 12px 18px; font-size: 0.88rem; }
  .fab-panel { width: 300px; padding: 18px 20px 20px; }
}

/* ---------- Contact pill (inline + fixed mirror of FAB) ---------- */
.contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  background: var(--green-700);
  color: var(--white);
  border-radius: 999px;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(20, 36, 28, 0.2), 0 2px 4px rgba(20, 36, 28, 0.12);
  transition: transform 0.18s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.contact-pill:hover {
  background: var(--green-900);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(20, 36, 28, 0.26), 0 3px 8px rgba(20, 36, 28, 0.16);
}
.contact-pill-lg {
  padding: 14px 22px;
  font-size: 0.98rem;
}
.contact-pill-fixed {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 70;
  padding: 14px 22px;
  font-size: 0.95rem;
  box-shadow: 0 8px 20px rgba(20, 36, 28, 0.25), 0 2px 6px rgba(20, 36, 28, 0.15);
}

@media (max-width: 600px) {
  .contact-pill-fixed { left: 16px; bottom: 16px; padding: 12px 18px; font-size: 0.88rem; }
  /* Hide the inline header pill on mobile — fixed pill + FAB already cover it */
  .nav-cta .contact-pill { display: none; }
}

/* ---------- "Not sure where to start?" popup ---------- */
.unsure-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}
.unsure-modal[hidden] { display: none; }
.unsure-modal.is-visible { opacity: 1; pointer-events: auto; }
.unsure-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 36, 28, 0.55);
  backdrop-filter: blur(2px);
}
.unsure-modal-card {
  position: relative;
  max-width: 720px;
  width: 100%;
  transform: translateY(12px);
  transition: transform 0.25s ease;
}
.unsure-modal.is-visible .unsure-modal-card { transform: translateY(0); }
.unsure-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink-900);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.15s ease;
}
.unsure-modal-close:hover { background: var(--white); }
body.unsure-open { overflow: hidden; }

/* ---------- Cookie banner ---------- */
.cookie {
  position: fixed;
  left: 24px; right: 24px; bottom: 24px;
  max-width: 480px;
  background: var(--white);
  border: 3px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-lg);
  z-index: 60;
  display: none;
}
.cookie.is-visible { display: block; }
.cookie p { font-size: 0.88rem; margin-bottom: 12px; color: var(--ink-700); }
.cookie-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.cookie-actions .btn { padding: 8px 14px; font-size: 0.85rem; }

/* Hide tagline on narrower viewports so nav fits */
@media (max-width: 1180px) {
  .brand-name em { display: none; }
  .nav-links { gap: 14px; }
  .nav-links a { font-size: 0.82rem; }
  .nav-cta .btn-primary { padding: 8px 14px; font-size: 0.8rem; }
}

/* ---------- Mobile ---------- */
@media (max-width: 1024px) {
  .section { padding: 64px 0; }
  .hero { padding: 56px 0 40px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-art { max-width: 320px; margin: 0 auto; }
  .trust { grid-template-columns: repeat(2, 1fr); padding: 20px; }
  .philosophy, .tutors, .subjects, .format-pick, .contact-grid, .pricing-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .review-stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .dont ul { columns: 1; }
  .field-row { grid-template-columns: 1fr; }

  .nav-links {
    display: none;
    position: absolute;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 16px 24px 24px;
    gap: 0;
    box-shadow: var(--shadow-md);
  }
  .nav-links.is-open { display: flex; }
  .nav-links li { border-bottom: 1px solid var(--line); }
  .nav-links li:last-child { border-bottom: none; }
  .nav-links a { display: block; padding: 14px 0; }
  .nav-toggle { display: inline-flex; }
  .nav-cta .btn:not(.nav-toggle) { display: none; }
}

@media (max-width: 540px) {
  .steps { grid-template-columns: 1fr; }
  .review-stats { grid-template-columns: 1fr; }
  .trust { grid-template-columns: 1fr; }
}

/* ---------- A11y ---------- */
:focus-visible {
  outline: 2px solid var(--green-500);
  outline-offset: 2px;
  border-radius: 4px;
}
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--green-700);
  color: var(--white);
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  z-index: 100;
}
.skip-link:focus { left: 0; }
