:root {
  color-scheme: light;
  --nav-height: 68px;
  --ink: #102a4d;
  --night: #122c55;
  --blue: #1d51c3;
  --blue-hover: #123e9f;
  --sky: #edf4ff;
  --paper: #f8faff;
  --muted: #4b6280;
  --line: #d9e4f4;
  --gold: #f7d473;
  --workshop: #101f36;
  --field-blue: #94e1ff;
  --white: #fff;
  --radius: 24px;
  --heading: Sora, Arial, sans-serif;
  --body: Manrope, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-height) + 10px); }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 600 16px/1.7 var(--body);
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
a, button, summary { touch-action: manipulation; }
a:focus-visible, button:focus-visible, summary:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible, iframe:focus-visible {
  outline: 3px solid #a96805;
  outline-offset: 4px;
}
figure { margin: 0; }
p { margin: 0; color: var(--muted); }
h1, h2, h3 {
  margin: 0;
  font-family: var(--heading);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: 1.12;
}
h1 { font-size: clamp(2.7rem, 5.55vw, 5.05rem); }
h1 span { color: var(--blue); }
h2 { font-size: clamp(2rem, 3.8vw, 3.45rem); }
h3 { font-size: 1.12rem; letter-spacing: -.025em; }
.wrap { width: min(72.5rem, calc(100% - 64px)); margin-inline: auto; }
.section { padding-block: clamp(65px, 8vw, 112px); }
.section-label {
  margin-bottom: 15px;
  color: var(--blue);
  font-size: .73rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.lede { margin-top: 23px; max-width: 45ch; font-size: clamp(1rem, 1.45vw, 1.18rem); }
.section-heading { margin-bottom: 37px; max-width: 780px; }
.section-heading > p:last-child:not(.section-label) { margin-top: 16px; }
.section-action { margin-top: 26px; }
.section h2 { text-wrap: balance; }
.skip-link {
  position: absolute;
  z-index: 20;
  top: 10px;
  left: 10px;
  padding: 9px 16px;
  transform: translateY(-160%);
  color: var(--white);
  background: var(--night);
  border-radius: 6px;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  color: #f2f8fa;
  background: #0d2334;
  border-bottom: 1px solid #486273;
}
.nav-wrap { position: relative; min-height: var(--nav-height); display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.nav-wrap .brand { min-height: 44px; gap: 9px; font-size: 1.14rem; letter-spacing: -.045em; }
.nav-wrap .brand-mark { width: 34px; height: 34px; border: 0; border-radius: 8px; }
.site-header :focus-visible { outline-color: var(--gold); }
.nav-menu, .nav-pricing { display: none; }
.brand { display: inline-flex; align-items: center; gap: 12px; font: 800 1.05rem var(--heading); }
.brand-mark {
  display: block;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--white);
}
.brand-mark img { width: 100%; height: 100%; transform: scale(1.7); }
.primary-nav { display: flex; align-items: center; gap: clamp(17px,2.5vw,37px); }
.primary-nav a { display: grid; place-items: center; position: relative; min-height: 44px; color: #d1e0e9; font-size: .88rem; font-weight: 700; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: white; }
.primary-nav a[aria-current="page"]::after { content: ""; position: absolute; bottom: 3px; left: 35%; right: 35%; height: 2px; background: #9fe9d8; border-radius: 2px; }
.button {
  display: inline-flex;
  min-height: 50px;
  padding: 12px 20px;
  justify-content: center;
  align-items: center;
  gap: 15px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: var(--blue);
  color: var(--white);
  font-size: .92rem;
  font-weight: 800;
  line-height: 1.3;
  cursor: pointer;
  transition: background-color .16s ease, box-shadow .16s ease;
}
.button:hover { background: var(--blue-hover); box-shadow: 0 4px 18px #1742982a; }
.nav-wrap .nav-action { min-height: 44px; padding: 10px 17px; font-size: .85rem; color: #ecf8f7; background: #16384a; border: 1px solid #527285; border-radius: 30px; }
.nav-wrap .nav-action:hover { background: #214859; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 23px; margin-top: 26px; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--blue);
  font-size: .94rem;
  font-weight: 800;
}
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }


.home-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #f6faf7;
  background: radial-gradient(ellipse at 89% 28%, #23596b 0, transparent 52%), linear-gradient(120deg,#0d2334 18%,#102f43 57%,#164656);
}
.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .5;
  background-image: radial-gradient(circle,#b6d9da67 .8px,transparent 1px);
  background-size: 17px 17px;
  mask-image: linear-gradient(90deg,transparent 10%,#000 92%);
}
.hero-grid, .split-layout, .contact-grid, .enquiry-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(30px, 5vw, 78px);
  align-items: center;
}
.hero-grid { position: relative; grid-template-columns: 1fr .95fr; padding-block: clamp(40px, 5.3vw, 76px); gap: clamp(44px,6vw,88px); }
.hero-copy { min-width: 0; }
.hero-title h1 { font-size: clamp(2.9rem,5.2vw,4.75rem); line-height: 1.04; letter-spacing: -.065em; }
.hero-title h1 span { display: block; color: #a2e8db; }
.home-hero .section-label { display: flex; align-items: center; gap: 10px; color: #e8f3f0; font-size: .77rem; letter-spacing: .1em; }
.home-hero .section-label span { color: var(--gold); }
.home-hero .lede { max-width: 37ch; color: #dce9f0; font-weight: 500; line-height: 1.55; }
.home-hero .actions { margin-top: 22px; }
.home-hero .button { color: #172b38; background: #ffdc85; border-radius: 30px; }
.home-hero .button:hover { background: #ffe9b2; }
.home-hero .text-link { color: #e3eeef; }
.home-hero :focus-visible { outline-color: var(--gold); }
.hero-rate { display: flex; align-items: baseline; flex-wrap: wrap; gap: 5px 12px; margin-top: 19px; color: #f3f7f6; font-size: .94rem; }
.hero-rate strong { font: 700 clamp(1.4rem,2.6vw,2rem)/1 var(--heading); letter-spacing: -.055em; }
.hero-rate small { padding-inline-start: 12px; border-inline-start: 1px solid #577584; color: #bfd2d9; font-size: .79rem; }

.hero-atom { position: absolute; z-index: 1; left: 49%; top: 9px; width: clamp(90px,10.4vw,146px); }
.atom-art { display: block; width: 100%; height: auto; overflow: visible; }
.orbit { --orbit-color: #97e8ff; --period: 6s; --phase: -1.6s; }
.orbit-warm { --orbit-color: #ffcf75; --period: 6.8s; --phase: -.8s; }
.orbit-mint { --orbit-color: #85f6d2; --period: 8s; --phase: -3.8s; }
.orbit ellipse { fill: none; stroke: var(--orbit-color); stroke-opacity: .66; stroke-width: 1.15; }
.charge-glow { fill: var(--orbit-color); }
.charge-position { transform: translate(146px,75px); }
@supports (offset-path: path("M0 0H1")) {
  .charge-position {
    transform: none;
    offset-path: path("M146 75A66 23 0 1 1 14 75A66 23 0 1 1 146 75Z");
    offset-anchor: 0 0;
    offset-rotate: 0deg;
    animation: charge-orbit var(--period) linear var(--phase) infinite;
    animation-play-state: paused;
  }
  .hero-atom[data-playing="true"] .charge-position { animation-play-state: running; }
}
@keyframes charge-orbit { to { offset-distance: 100%; } }
.atom-motion {
  position: absolute; bottom: -4px; right: -2px; display: grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0;
  border: 0; border-radius: 50%; background: transparent; color: #c8e8e1; cursor: pointer;
}
.atom-motion[hidden] { display: none; }
.atom-motion span { display: grid; place-items: center; width: 22px; height: 22px; border: 1px solid #709991; border-radius: 50%; background: #143a47; }
.atom-motion span::after { content: ""; width: 5px; height: 7px; border-inline: 1.5px solid currentColor; }
.hero-atom[data-playing="false"] .atom-motion span::after { width: 0; height: 0; margin-left: 2px; border: 4px solid transparent; border-right: 0; border-left: 6px solid currentColor; }

.class-window { position: relative; min-width: 0; width: 100%; margin: 0; }
.class-portraits { position: relative; aspect-ratio: 1.66; }
.teacher-frame { position: absolute; z-index: 1; left: 0; bottom: 0; overflow: hidden; width: 58%; aspect-ratio: 309 / 166; border: 4px solid #e9f2ec; border-radius: 15px; background: #cbc9bf; box-shadow: 0 10px 24px #051a2e55; }
.teacher-frame img { position: absolute; width: 373.14%; height: auto; max-width: none; left: -273.14%; top: -65%; }
.lesson-paper { position: absolute; top: 8%; right: 1%; width: 81%; aspect-ratio: 1.61; overflow: hidden; border: 4px solid #b4c9bc; border-radius: 12px; background: #212420; transform: rotate(2deg); box-shadow: 0 16px 34px #041b2c4a; }
.lesson-paper img { position: absolute; width: 145%; height: auto; max-width: none; left: -17%; top: -13%; }
.class-window figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 12px; justify-content: space-between; padding: 15px 2px 0; color: #cbdfe4; font-size: .82rem; }
.teacher-name { display: inline-flex; align-items: center; gap: 11px; color: #fff; font-weight: 800; }
.camera-sign { width: 14px; height: 10px; position: relative; border: 1.5px solid #8cdcc8; border-radius: 3px; }
.camera-sign::after { content: ""; position: absolute; top: 1px; left: 100%; width: 4px; height: 6px; background: #8cdcc8; clip-path: polygon(0 32%,100% 0,100% 100%,0 68%); }

.lesson-sample { min-width: 0; }
.board-disclosure > summary { padding: 13px 5px; cursor: pointer; color: var(--blue); font-size: .93rem; font-weight: 800; }

.science-board {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 13px 14px;
  border: 1px solid #8bbcf285;
  border-radius: 15px;
  color: var(--white);
  background: #152c48;
  box-shadow: 0 15px 32px #08142555;
}
.board-title { display: flex; gap: 5px 12px; align-items: baseline; flex-wrap: wrap; }
.board-title span { color: var(--gold); font-size: .71rem; font-weight: 800; }
.board-title strong { font: 700 .96rem var(--heading); }
.board-visual {
  position: relative;
  height: clamp(98px, 10vw, 145px);
  overflow: hidden;
  margin-block: 8px;
  border: 1px solid #5f8fbe70;
  border-radius: 9px;
  background: #0b2036;
}
.board-visual canvas { display: block; width: 100%; height: 100%; }
.magnet-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.magnet-fallback span { padding: 1px 10px; color: #10273a; font-weight: 800; background: var(--gold); }
.magnet-fallback span + span { background: var(--field-blue); }
.board-visual:has(canvas[data-ready]) .magnet-fallback { display: none; }
.science-help { color: #d3e6f9; font-size: .76rem; line-height: 1.5; }
.board-controls { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 9px; }
.science-control {
  min-height: 36px;
  padding: 4px 10px;
  border: 1px solid #96bbdf88;
  border-radius: 7px;
  color: #f0f8ff;
  background: #183956;
  cursor: pointer;
  font-size: .76rem;
}
.science-control:hover, .science-control[aria-pressed="true"] { background: #27527a; }
.board-controls [hidden], .enquiry-form [hidden] { display: none; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.proof-band { background: #192d49; color: var(--white); border-top: 1px solid #7593b958; }
.proof-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(165px, 1fr));
  gap: 16px 32px;
  padding-block: 26px;
}
.proof-grid > div { display: grid; gap: 5px; padding-left: 13px; border-left: 1px solid #8199bd75; }
.proof-grid strong { color: #fff; font: 700 clamp(1rem, 2.1vw, 1.53rem)/1.25 var(--heading); }
.proof-grid .proof-major { border-left: 3px solid var(--gold); }
.proof-grid .proof-major strong { color: var(--gold); }
.proof-grid span { color: #d5e1f3; font-size: .81rem; }
.proof-date { padding-bottom: 13px; color: #bdcfe8; font-size: .73rem; }

.detail-list { display: grid; gap: 16px; margin-top: 28px; }
.detail-list > div { padding-left: 15px; border-left: 3px solid #b8d0ff; }
.detail-list p { margin-top: 6px; font-size: .94rem; }
.whiteboard-figure, .about-photo {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}
.whiteboard-figure img, .about-photo img { width: 100%; height: auto; }
.whiteboard-figure figcaption, .about-photo figcaption {
  padding: 15px 19px;
  color: var(--muted);
  font-size: .83rem;
  border-top: 1px solid var(--line);
}
.whiteboard-figure figcaption strong, .whiteboard-figure figcaption span { display: block; }
.whiteboard-figure figcaption strong { color: var(--ink); }
.whiteboard-figure figcaption span { margin-top: 2px; }


.comparison-layout { display: grid; grid-template-columns: minmax(0, .71fr) minmax(0, 1.3fr); gap: clamp(26px, 5vw, 75px); align-items: center; }
.comparison-layout .section-heading, .school-directory .section-heading { margin: 0; }
.lesson-comparison { width: 100%; border-spacing: 0; table-layout: fixed; text-align: left; line-height: 1.5; }
.lesson-comparison thead td { width: 20%; }
.lesson-comparison thead th { vertical-align: bottom; padding: 15px clamp(12px, 1.7vw, 23px); background: #edf1f7; border-radius: 15px 15px 0 0; font: 700 clamp(.98rem,1.6vw,1.24rem) var(--heading); }
.lesson-comparison thead th:last-child { color: #10564d; background: #d7ece2; }
.lesson-comparison tbody th { padding: 16px 8px 16px 0; font-size: .82rem; }
.lesson-comparison tbody td { padding: 15px clamp(12px,1.7vw,23px); vertical-align: top; color: #4a5d73; background: #f6f8fb; font-size: .91rem; }
.lesson-comparison tbody td:last-child { background: #edf7f1; color: #204c45; }
.lesson-comparison tbody tr + tr > * { border-top: 1px solid #b9cbcc80; }
.lesson-comparison tbody tr:last-child td { border-radius: 0 0 12px 12px; }
.pupil-icons { display: flex; align-items: center; gap: 5px; height: 29px; margin: 0 0 10px; color: #647d97; }
.pupil-icons i { width: 16px; height: 9px; border-radius: 10px 10px 3px 3px; background: currentColor; position: relative; align-self: flex-end; }
.pupil-icons i::before { content: ""; position: absolute; width: 8px; height: 8px; border-radius: 50%; top: -10px; left: 4px; background: currentColor; }
.private-icons { color: #267162; }
.private-icons b { align-self: end; font: 700 14px var(--body); }

.reviews-section, .teacher-section { background: var(--paper); }
.subject-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(14px,2vw,24px); align-items: start; }
.subject-grid article { border: 1px solid var(--line); border-radius: 17px; overflow: hidden; background: white; }
.subject-grid article > img { width: 100%; height: auto; }
.subject-grid article > div { padding: clamp(17px,2vw,25px); }
.subject-grid .subject-grade { color: var(--blue); font-size: .75rem; font-weight: 800; }
.subject-grid h3 { margin: 6px 0 9px; font-size: 1.45rem; }
.subject-grid p { font-size: .94rem; }
.subject-grid details { margin-top: 18px; border-top: 1px solid var(--line); }
.subject-grid summary { padding-top: 12px; color: #224972; font-size: .88rem; cursor: pointer; }
.subject-grid details p { margin-top: 7px; font-size: .86rem; }

.schools-section { border-block: 1px solid #d7e2ec; background: #f5f8fc; }
.school-directory { display: grid; grid-template-columns: .82fr 1.2fr; align-items: center; gap: clamp(32px,6vw,90px); }
.school-list { list-style: none; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); margin: 0; padding: 0; gap: 0 28px; }
.school-list li { display: flex; align-items: center; padding: 16px 0; border-bottom: 1px solid #c9d6e4; color: #203e60; font: 500 clamp(1.03rem,1.55vw,1.33rem)/1.33 Georgia,serif; }
.school-list li:nth-child(-n+2) { border-top: 2px solid #8299b2; }
.world-section .section-heading { max-width: 700px; }
.world-plate { overflow: hidden; border: 1px solid #b9d3d2; border-radius: 18px; background: #eef6f4; }
.world-plate > img { display: block; width: 100%; height: auto; }
.country-list { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); padding: 0; margin: 0; list-style: none; counter-reset: country; background: #f6faf8; border-top: 1px solid #bfd8d3; }
.country-list li { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 15px clamp(6px,1.4vw,20px); color: #224955; font-size: .82rem; font-weight: 800; line-height: 1.4; counter-increment: country; }
.country-list li::before { content: counter(country); display: grid; place-items: center; flex: 0 0 21px; height: 21px; color: #fff; background: #173f5c; border-radius: 50%; font: 700 .71rem var(--body); }
.country-list li + li { border-left: 1px solid #d4e4de; }

.review-grid { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: clamp(14px,1.8vw,22px); }
.review-card { grid-column: span 2; }
.review-card:nth-child(-n+2) { grid-column: span 3; }

.review-card { overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: var(--white); }
.review-media { aspect-ratio: 16/9; background: var(--night); }
.video-link { position: relative; display: grid; width: 100%; height: 100%; place-items: center; }
.video-link img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-play {
  z-index: 1;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding-left: 2px;
  border-radius: 50%;
  color: var(--night);
  background: var(--gold);
  box-shadow: 0 5px 22px #0d25489c;
  font-size: .85rem;
}
.video-link:hover .video-play { background: var(--white); }
.video-link:focus-visible, .review-media iframe:focus-visible { outline-offset: -4px; }
.review-media iframe { display: block; width: 100%; height: 100%; border: 0; }
.review-card figcaption { padding: 13px 15px; color: var(--ink); font-size: .92rem; font-weight: 800; }

.review-card figcaption span { display: block; margin-bottom: 3px; color: var(--muted); font-size: .75rem; font-weight: 700; }
.review-card figcaption strong { display: block; font: 700 clamp(.95rem,1.6vw,1.17rem)/1.35 var(--heading); }
.plan-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.plan-card {
  padding: clamp(23px, 3.9vw, 39px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
}
.plan-card-featured { border-color: #a7c4f5; background: var(--sky); }
.plan-card h3 { font-size: 1.05rem; }
.plan-price { margin-block: 16px 12px; display: flex; align-items: baseline; gap: 8px; }
.plan-price strong { color: var(--blue); font: 800 clamp(2.7rem, 5.1vw, 4.5rem)/1 var(--heading); letter-spacing: -.075em; }
.plan-price span { color: var(--ink); font-weight: 800; }
.plan-card > p:last-child { font-size: .93rem; }

.faq-section { border-top: 1px solid var(--line); }
.faq-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 35px; align-items: start; }
.faq-list details { border-bottom: 1px solid var(--line); padding: 17px 0; }
.faq-list details:first-child { padding-top: 7px; }
.faq-list summary { cursor: pointer; color: var(--ink); font-weight: 800; }
.faq-list details p { margin-top: 9px; font-size: .94rem; }

.enquiry-process { list-style: none; padding: 0; counter-reset: task; }
.enquiry-process li { position: relative; padding: 8px 0 8px 42px; counter-increment: task; }
.enquiry-process li::before { content: counter(task); position: absolute; display: grid; place-items: center; top: 10px; left: 0; width: 27px; height: 27px; border-radius: 50%; font-size: .76rem; font-weight: 800; }
.enquiry-process li span { display: block; font-size: .88rem; line-height: 1.55; }
.enquiry-section { padding-block: clamp(50px, 6.5vw, 95px); background: var(--night); color: var(--white); }
.enquiry-section .section-label { color: var(--gold); }
.enquiry-section .enquiry-grid > div:first-child > p:not(.section-label) { margin-top: 17px; color: #d1def5; }
.form-card {
  padding: clamp(21px, 3.6vw, 36px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 15px 36px #162f5412;
}

.form-card h2 { font-size: 1.6rem; }
.form-card h2 + p { margin: 8px 0 21px; font-size: .93rem; }
.enquiry-process { display: grid; gap: 5px; margin-top: 22px; }
.enquiry-process li::before { background: #ffd778; color: #1b3250; }
.enquiry-process li span { color: #d1def5; }
.form-intro h2 { font-size: clamp(1.65rem,2.4vw,2.2rem); }
.form-intro h2 + p { margin: 8px 0 22px; }
.enquiry-progress { display: grid; grid-template-columns: 1fr 1fr; padding: 0; margin: 0 0 26px; list-style: none; border: 1px solid var(--line); border-radius: 11px; overflow: hidden; }
.enquiry-progress li { display: flex; align-items: center; gap: 9px; padding: 10px; color: var(--muted); background: #f4f7fb; font-size: .8rem; font-weight: 800; }
.enquiry-progress li[aria-current="step"] { color: #163e73; background: #e1edfc; }
.enquiry-progress li span { display: grid; place-items: center; width: 23px; height: 23px; border: 1px solid #b5c5d8; border-radius: 50%; font-size: .73rem; }
.enquiry-progress li[aria-current="step"] span { color: white; border-color: #2453a2; background: #2453a2; }
.enquiry-step { min-width: 0; padding: 0; margin: 0; border: 0; }
.enquiry-step + .enquiry-step:not([hidden]) { margin-top: 20px; }
.enquiry-step legend { padding: 0 0 13px; color: var(--ink); font: 700 1.12rem/1.5 var(--heading); }
.grade-picker { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px; margin-bottom: 21px; }
.grade-picker label { position: relative; cursor: pointer; }
.grade-picker input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.grade-picker span { display: grid; place-items: center; min-height: 44px; color: #36506f; border: 1px solid #bacde1; border-radius: 8px; font-size: .86rem; font-weight: 800; }
.grade-picker label:hover span { border-color: var(--blue); }
.grade-picker input:checked + span { color: #fff; background: var(--blue); border-color: var(--blue); }
.grade-picker input:focus-visible + span { outline: 3px solid #ad6800; outline-offset: 2px; }
.grade-picker.has-error span { border-color: #a32632; }
.form-extra { margin-top: 20px; border-block: 1px solid var(--line); }
.form-extra summary { padding: 13px 0; color: #26517c; font-size: .87rem; cursor: pointer; }
.form-extra summary small { margin-left: 5px; color: var(--muted); font-size: .7rem; font-weight: 600; }
.form-extra .form-grid { margin-bottom: 16px; }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.form-field-wide { grid-column: 1 / -1; }
.form-field-label { display: flex; align-items: baseline; justify-content: space-between; gap: 4px 6px; flex-wrap: wrap; margin-bottom: 5px; }
.form-field-label span { color: #596f8b; font-size: .68rem; }
.form-field label { color: var(--ink); font-size: .82rem; font-weight: 800; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  min-width: 0;
  min-height: 45px;
  padding: 8px 10px;
  background: var(--paper);
  border: 1px solid #b9cbe2;
  border-radius: 8px;
  color: var(--ink);
  font-size: 1rem;
}
.form-field textarea { display: block; resize: vertical; min-height: 68px; }
.form-field.has-error :is(input, select, textarea) { border-color: #a32632; }
.form-error, .errorlist { margin: 0 0 12px; color: #95202d; font-size: .83rem; }
.form-field .errorlist { margin: 5px 0 0; padding-left: 17px; }
.enquiry-actions { display: flex; gap: 10px; align-items: center; margin-top: 21px; }
.enquiry-actions .button { flex: 1; }
.form-back { min-height: 46px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; color: var(--blue); background: var(--white); font-weight: 800; cursor: pointer; }
.form-privacy { margin-top: 10px; font-size: .75rem; }
.form-privacy a { color: var(--blue); text-decoration: underline; }

.page-hero { padding-block: clamp(58px, 7vw, 102px); background: linear-gradient(120deg, var(--paper), var(--sky)); }
.page-hero h1 { font-size: clamp(2.55rem, 5vw, 4.5rem); }
.pricing-hero h1 { max-width: 17ch; }
.pricing-hero .lede { max-width: 57ch; }
.pricing-hero .plan-grid { margin-top: 31px; }
.about-photo img { aspect-ratio: 1.45; object-fit: cover; }
.contact-grid { align-items: start; grid-template-areas: 'intro form' 'options form'; row-gap: 20px; }
.contact-intro { grid-area: intro; }
.contact-form { grid-area: form; }
.contact-options { grid-area: options; }
.contact-grid h1 { max-width: 13ch; }
.support-panel { padding: 18px 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.support-panel + .support-panel { margin-top: 12px; }
.support-panel h2 { font-size: 1.13rem; }
.support-panel p { margin-top: 8px; overflow-wrap: anywhere; }
.support-panel a, .teacher-contact a { color: var(--blue); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.support-panel p > span { margin-inline: 4px; }
.teacher-contact { margin-top: 17px; font-size: .9rem; }
.teacher-contact a { white-space: nowrap; }
.thank-you { min-height: 300px; }

.site-footer { color: white; background: #101f36; border-top: 1px solid #7996b65e; }
.footer-main { display: grid; grid-template-columns: 1.35fr .9fr .85fr 1fr; gap: clamp(24px,4vw,65px); padding-block: clamp(44px,6vw,86px); }
.footer-brand .brand { font-size: clamp(1.25rem,2vw,1.7rem); }
.footer-brand p { max-width: 24ch; margin: 17px 0 5px; color: #e0ecfa; line-height: 1.55; }
.footer-brand small, .footer-support span, .footer-base { color: #b2c7de; font-size: .78rem; }
.footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.footer-column h2 { margin: 5px 0 9px; color: #f7d473; font: 700 .92rem var(--heading); }
.footer-column a, .footer-base a { color: #e3ebf5; font-size: .88rem; }
.footer-column a:hover, .footer-base a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-support { gap: 4px; }
.footer-support a + span { margin-top: 9px; }
.footer-support a { overflow-wrap: anywhere; }
.footer-base, .footer-base nav { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 21px; }
.footer-base { justify-content: space-between; border-top: 1px solid #41546b; padding-block: 19px; }

@media (max-width: 900px) {
  .wrap { width: min(72.5rem, calc(100% - 42px)); }
  .proof-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .comparison-layout, .school-directory { grid-template-columns: 1fr; gap: 26px; }
  .footer-main { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .country-list { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .country-list li:nth-child(4) { border-left: 0; }
  .country-list li:nth-child(n+4) { border-top: 1px solid #d4e4de; }
}

@media (max-width: 820px) {
  :root { --nav-height: 56px; }
  .nav-wrap { justify-content: flex-start; gap: 12px; }
  .nav-wrap .brand { margin-inline-end: auto; font-size: 1.02rem; }
  .nav-wrap .brand-mark { width: 30px; height: 30px; }
  .primary-nav, .nav-wrap .nav-action { display: none; }
  .nav-pricing { display: grid; place-items: center; min-width: 44px; min-height: 44px; font-size: .85rem; color: #dce7ec; }
  .nav-menu { display: block; }
  .nav-menu summary { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding-inline: 14px; border: 1px solid #587584; border-radius: 25px; color: #f4f9fb; background: #193647; font-size: .83rem; cursor: pointer; list-style: none; }
  .nav-menu summary::-webkit-details-marker { display: none; }
  .menu-glyph { display: grid; align-content: center; gap: 4px; width: 14px; height: 14px; }
  .menu-glyph::before, .menu-glyph::after { content: ""; height: 1.6px; border-radius: 2px; background: currentColor; }
  .nav-menu[open] .menu-glyph::before { transform: translateY(2.8px) rotate(45deg); }
  .nav-menu[open] .menu-glyph::after { transform: translateY(-2.8px) rotate(-45deg); }
  .nav-panel { position: absolute; top: calc(100% + 5px); inset-inline-end: 0; width: min(100%,21rem); max-height: calc(100vh - var(--nav-height) - 15px); max-height: calc(100dvh - var(--nav-height) - 15px); overflow: auto; padding: 8px; border: 1px solid #cfdae3; border-radius: 15px; color: #18374b; background: #fff; box-shadow: 0 15px 36px #091d3642; }
  .nav-panel a { display: flex; align-items: center; justify-content: space-between; min-height: 44px; padding: 8px 14px; border-radius: 8px; font-size: .96rem; }
  .nav-panel a[aria-current="page"] { background: #e9f5f1; color: #19594d; }
  .nav-panel a[aria-current="page"]::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
  .nav-panel .nav-demo { margin-top: 5px; background: #153c4e; color: #fff; }
  .nav-panel :focus-visible { outline-offset: -3px; outline-color: #a16608; }
}

@media (max-width: 690px) {
  .wrap { width: calc(100% - 34px); }
  .section { padding-block: 60px; }
  .hero-grid, .split-layout, .contact-grid, .enquiry-grid, .faq-grid { grid-template-columns: 1fr; }
  .hero-grid { width: min(100% - 34px,31rem); padding-block: clamp(15px,3vh,27px) 18px; gap: clamp(14px,2.4vh,24px); }
  .hero-title { position: relative; display: grid; grid-template-columns: minmax(0,1fr) clamp(76px,23vw,119px); gap: 3px; align-items: center; }
  .hero-title h1 { font-size: clamp(2rem,8.6vw,3.6rem); }
  .hero-atom { position: relative; inset: auto; width: 100%; }
  .atom-motion { right: -7px; bottom: -9px; }
  .home-hero .section-label { margin-bottom: 4px; font-size: .7rem; gap: 8px; }
  .home-hero .lede { margin-top: 6px; max-width: 40ch; font-size: 1rem; line-height: 1.4; }
  .hero-rate { margin-top: 12px; gap: 5px 10px; }
  .hero-rate strong { font-size: 1.4rem; }
  .hero-rate small { padding-inline-start: 10px; }
  .home-hero .actions { margin-top: 12px; gap: 7px 15px; }
  .home-hero .button { min-height: 44px; padding: 10px 16px; gap: 8px; font-size: .86rem; }
  .hero-copy .text-link { font-size: .84rem; gap: 5px; }
  .class-window { overflow: hidden; border: 1px solid #587785; border-radius: 13px; background: #113044; }
  .class-portraits { display: grid; grid-template-columns: 1.04fr 1fr; gap: 2px; aspect-ratio: auto; }
  .teacher-frame, .lesson-paper { position: relative; inset: auto; width: 100%; border: 0; border-radius: 0; box-shadow: none; transform: none; }
  .lesson-paper { aspect-ratio: auto; }
  .class-window figcaption { padding: 8px 10px; gap: 5px 10px; font-size: .71rem; }
  .board-visual { height: 105px; }
  .split-layout, .contact-grid, .enquiry-grid { gap: 25px; }
  .contact-grid { grid-template-areas: 'intro' 'form' 'options'; }
  .teacher-grid > div:last-child { order: -1; }
  .subject-grid { grid-template-columns: 1fr; max-width: 500px; margin-inline: auto; gap: 20px; }
  .review-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .review-grid .review-card { grid-column: auto; }
  .review-grid .review-card:first-child { grid-column: 1/-1; }
  .country-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .country-list li { padding: 12px; }
  .country-list li:nth-child(n) { border-left: 0; }
  .country-list li:nth-child(even) { border-left: 1px solid #d4e4de; }
  .country-list li:nth-child(n+3) { border-top: 1px solid #d4e4de; }
  .school-list { gap: 0 19px; }
  .school-list li { padding: 13px 0; }
  .lesson-comparison tbody th { font-size: .75rem; }
  .review-grid { gap: 12px; }
  .section-heading { margin-bottom: 23px; }
  .footer-main { gap: 27px 16px; }
  .footer-brand, .footer-support { grid-column: 1/-1; }
  .footer-brand p { max-width: none; }
}

@media (max-width: 350px) {
  .home-hero .actions { column-gap: 8px; }
  .home-hero .button { padding-inline: 12px; }
}

@media (max-width: 480px) {
  .plan-grid, .form-grid { grid-template-columns: 1fr; }
  .review-card figcaption { padding: 8px 10px 11px; font-size: .8rem; line-height: 1.45; }
  .video-play { width: 36px; height: 36px; font-size: .69rem; }
  .proof-grid { gap: 14px 8px; }
  .country-list { font-size: .77rem; }
  .lesson-comparison { table-layout: auto; }
  .lesson-comparison tr { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .lesson-comparison thead td { display: none; }
  .lesson-comparison tbody th { grid-column: 1/-1; padding: 9px 0 6px; color: var(--muted); }
  .lesson-comparison tbody td { padding: 11px; font-size: .84rem; }
  .lesson-comparison tbody tr + tr > * { border-top: 0; }
  .enquiry-actions .button { padding-inline: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
