:root {
  --navy: #111827;
  --blue: #6fa8ff;
  --blue-dark: #2f6fce;
  --yellow: #d8aa45;
  --green: #6fb39a;
  --ink: #f3eadc;
  --muted: #b7c2d2;
  --line: rgba(216, 170, 69, 0.18);
  --surface: #172033;
  --surface-strong: #1d2a3f;
  --soft: #101827;
  --soft-blue: #223553;
  --cream: #f6ead8;
  --glass: rgba(29, 42, 63, 0.58);
  --glass-strong: rgba(31, 45, 68, 0.74);
  --glass-line: rgba(246, 234, 216, 0.2);
  --glass-highlight: rgba(255, 255, 255, 0.12);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
  --radius: 14px;
  --header-height: 78px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, #0d1422 0%, #111827 42%, #0e1726 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(110deg, rgba(111, 168, 255, 0.08), transparent 34%),
    linear-gradient(290deg, rgba(216, 170, 69, 0.08), transparent 32%);
}

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

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid #f0d27f;
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 100;
  padding: 10px 14px;
  color: #111827;
  background: var(--cream);
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-150%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.fa-solid,
.fa-brands {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='8' fill='black'/%3E%3C/svg%3E");
  display: inline-grid;
  place-items: center;
}

.fa-solid::before,
.fa-brands::before {
  content: "";
  display: block;
  width: 1.15em;
  height: 1.15em;
  background: currentColor;
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}

.fa-book-open-reader,
.fa-book-open {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 5c3 0 5 .7 7 2v12c-2-1.3-4-2-7-2V5zm16 0v12c-3 0-5 .7-7 2V7c2-1.3 4-2 7-2z'/%3E%3C/svg%3E");
}

.fa-chart-line {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 19h16v2H2V3h2v16zm2-3 4-5 4 3 5-8 2 1-6 10-4-3-4 5-1-3z'/%3E%3C/svg%3E");
}

.fa-list-check,
.fa-clipboard-check {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7 3h10v3h3v15H4V6h3V3zm2 2v2h6V5H9zm.2 8.8L8 12.6 6.6 14l2.6 2.6L14 11.8 12.6 10.4l-3.4 3.4zM15 14h3v-2h-3v2zm0 4h3v-2h-3v2z'/%3E%3C/svg%3E");
}

.fa-house-laptop {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='m3 11 9-8 9 8-1.4 1.5L18 11v8h-5v-5h-2v5H6v-8l-1.6 1.5L3 11zm7 8h4v2h-4v-2z'/%3E%3C/svg%3E");
}

.fa-square-root-variable,
.fa-calculator {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 6h16v12H4V6zm3 3v2h2V9H7zm4 0v2h2V9h-2zm4 0v2h2V9h-2zM7 13v2h2v-2H7zm4 0v2h6v-2h-6z'/%3E%3C/svg%3E");
}

.fa-pen-nib,
.fa-language {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M5 19 9 7l6-4 6 6-4 6-12 4zm5-9-2 6 6-2 1-3-2-2-3 1z'/%3E%3C/svg%3E");
}

.fa-flask,
.fa-brain {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 3h6v2h-1v5l5 8c1 1.7-.2 3-2 3H7c-1.8 0-3-1.3-2-3l5-8V5H9V3zm2.6 8-3 5h6.8l-3-5h-.8z'/%3E%3C/svg%3E");
}

.fa-landmark,
.fa-award {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 3 3 8v2h18V8l-9-5zM5 12v6H3v3h18v-3h-2v-6h-3v6h-2v-6h-4v6H8v-6H5z'/%3E%3C/svg%3E");
}

.fa-code {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='m8 16-5-4 5-4 1.3 1.6L6.4 12l2.9 2.4L8 16zm8 0-1.3-1.6 2.9-2.4-2.9-2.4L16 8l5 4-5 4zm-4.3 3h-2.1l2.7-14h2.1l-2.7 14z'/%3E%3C/svg%3E");
}

.fa-layer-group,
.fa-route {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='m12 3 9 5-9 5-9-5 9-5zm-7.5 9L12 16l7.5-4 1.5 1-9 5-9-5 1.5-1zm0 4L12 20l7.5-4 1.5 1-9 5-9-5 1.5-1z'/%3E%3C/svg%3E");
}

.fa-comments,
.fa-envelope {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 5h16v11H8l-4 4V5zm3 4v2h10V9H7zm0 4v2h7v-2H7z'/%3E%3C/svg%3E");
}

.fa-phone {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M6.6 3h3l1.5 5-2 1.3c1 2.1 2.6 3.7 4.6 4.6l1.3-2 5 1.5v3c0 1-.8 1.8-1.8 1.8C10.4 18.2 3.8 11.6 3.8 3.8 3.8 2.8 4.6 3 6.6 3z'/%3E%3C/svg%3E");
}

.fa-instagram {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7 3h10a4 4 0 0 1 4 4v10a4 4 0 0 1-4 4H7a4 4 0 0 1-4-4V7a4 4 0 0 1 4-4zm5 5a4 4 0 1 0 0 8 4 4 0 0 0 0-8zm5.5-1.5a1 1 0 1 0 0 2 1 1 0 0 0 0-2z'/%3E%3C/svg%3E");
}

.fa-stopwatch {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M10 2h4v2h-4V2zm2 4a8 8 0 1 1 0 16 8 8 0 0 1 0-16zm1 4h-2v5l4 2 1-1.7-3-1.5V10z'/%3E%3C/svg%3E");
}

.fa-arrow-right {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='m14 5 7 7-7 7-1.4-1.4 4.6-4.6H3v-2h14.2l-4.6-4.6L14 5z'/%3E%3C/svg%3E");
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.narrow {
  width: min(760px, calc(100% - 40px));
  text-align: center;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(15, 23, 38, 0.6);
  border-bottom: 1px solid var(--glass-line);
  -webkit-backdrop-filter: blur(28px) saturate(1.35);
  backdrop-filter: blur(28px) saturate(1.35);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.18);
}

.nav-shell {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--cream);
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #101827;
  background: linear-gradient(135deg, #e8c971, var(--yellow));
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    0 10px 28px rgba(248, 198, 79, 0.26);
}

.brand-mark i {
  display: none;
}

.brand-mark::before {
  content: "A";
  font-weight: 800;
}

.brand-text {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-text strong {
  color: #8bb8ff;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  background: rgba(246, 234, 216, 0.07);
  border: 1px solid var(--glass-line);
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 var(--glass-highlight);
  -webkit-backdrop-filter: blur(24px) saturate(1.45);
  backdrop-filter: blur(24px) saturate(1.45);
}

.site-nav a {
  padding: 9px 13px;
  color: #c9d3e2;
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 6px;
  transition: color 160ms ease, background 160ms ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--cream);
  background: rgba(216, 170, 69, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  color: #111827;
  background: linear-gradient(135deg, #e5bf62, var(--yellow));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1.1;
  text-decoration: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    0 16px 34px rgba(216, 170, 69, 0.2);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  background: linear-gradient(135deg, #f0cf7f, #d8aa45);
  transform: translateY(-1px);
  box-shadow: 0 18px 38px rgba(216, 170, 69, 0.28);
}

.button-small {
  min-height: 42px;
  padding: 11px 16px;
  font-size: 0.92rem;
}

.button-secondary {
  color: var(--cream);
  background: rgba(246, 234, 216, 0.08);
  border-color: var(--glass-line);
  box-shadow: inset 0 1px 0 var(--glass-highlight);
  -webkit-backdrop-filter: blur(20px) saturate(1.25);
  backdrop-filter: blur(20px) saturate(1.25);
}

.button-secondary:hover {
  color: var(--cream);
  background: rgba(246, 234, 216, 0.13);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 14px 32px rgba(0, 0, 0, 0.14);
}

.button-light {
  color: #111827;
  background: var(--cream);
  border-color: var(--cream);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}

.button-light:hover {
  color: #111827;
  background: #fff4df;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--glass-line);
  border-radius: var(--radius);
  background: rgba(246, 234, 216, 0.08);
  box-shadow: inset 0 1px 0 var(--glass-highlight);
  -webkit-backdrop-filter: blur(20px) saturate(1.35);
  backdrop-filter: blur(20px) saturate(1.35);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--cream);
  border-radius: 99px;
}

.hero,
.page-hero {
  padding: 92px 0 72px;
}

.hero-home {
  min-height: min(760px, calc(100vh - var(--header-height) - 76px));
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(13, 20, 34, 0.98) 0%, rgba(17, 24, 39, 0.93) 48%, rgba(26, 38, 57, 0.68) 100%),
    url("assets/academic-hero.svg") center right / cover;
}

.hero-grid,
.page-hero-grid,
.split,
.booking-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: 52px;
}

.hero-copy h1,
.page-hero h1 {
  margin: 0 0 20px;
  color: var(--cream);
  font-size: clamp(3.05rem, 6vw, 5.15rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.page-hero h1 {
  font-size: clamp(2.3rem, 5vw, 4.25rem);
  line-height: 1;
}

.hero-lede,
.page-hero p,
.large-copy {
  margin: 0;
  color: var(--muted);
  font-size: 1.18rem;
  line-height: 1.75;
}

.hero-lede {
  max-width: 620px;
  font-size: clamp(1.12rem, 1.9vw, 1.32rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-actions.centered {
  justify-content: center;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.trust-row span {
  display: inline-flex;
  gap: 6px;
  padding: 10px 12px;
  color: #d2d9e4;
  background: rgba(246, 234, 216, 0.08);
  border: 1px solid var(--glass-line);
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 var(--glass-highlight);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
  backdrop-filter: blur(18px) saturate(1.25);
}

.trust-row strong {
  color: var(--cream);
}

.hero-media {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  min-height: 470px;
  border: 1px solid var(--glass-line);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(17, 24, 39, 0.05) 30%, rgba(10, 15, 25, 0.42) 100%),
    url("assets/study-plan.svg") center / cover;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 30px 80px rgba(0, 0, 0, 0.4);
  padding: 10px;
}

.hero-plan-preview {
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(17, 24, 39, 0.12) 20%, rgba(10, 15, 25, 0.76) 100%),
    url("assets/study-plan.svg") center / cover;
}

.plan-preview-card,
.plan-preview-note {
  position: relative;
  z-index: 1;
  background: rgba(18, 28, 45, 0.74);
  border: 1px solid rgba(246, 234, 216, 0.24);
  border-radius: var(--radius);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 18px 42px rgba(0, 0, 0, 0.28);
  -webkit-backdrop-filter: blur(20px) saturate(1.28);
  backdrop-filter: blur(20px) saturate(1.28);
}

.plan-preview-card {
  width: min(360px, 100%);
  padding: 24px;
}

.plan-preview-card h2 {
  margin: 0 0 18px;
  font-size: 1.35rem;
  line-height: 1.16;
}

.mini-check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  color: #d4dde9;
  list-style: none;
}

.mini-check-list li {
  position: relative;
  padding-left: 30px;
  font-weight: 700;
  line-height: 1.45;
}

.mini-check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 9px;
  height: 15px;
  border: solid var(--green);
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}

.plan-preview-note {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 184px;
  padding: 18px;
}

.plan-preview-note strong,
.plan-preview-note span {
  display: block;
}

.plan-preview-note strong {
  color: var(--cream);
  font-size: 1.6rem;
  line-height: 1;
}

.plan-preview-note span {
  margin-top: 6px;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.35;
}

.section {
  padding: 86px 0;
}

.soft,
.intro-band {
  background: rgba(14, 23, 38, 0.76);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.intro-band {
  padding: 58px 0;
  border-top: 1px solid rgba(216, 170, 69, 0.16);
  border-bottom: 1px solid rgba(216, 170, 69, 0.16);
}

.section-heading {
  width: min(720px, 100%);
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading.align-left {
  margin-left: 0;
  text-align: left;
}

.about-copy {
  display: grid;
  gap: 18px;
  margin-top: 6px;
  text-align: left;
}

.about-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
  text-wrap: balance;
}

h2 {
  margin: 0 0 14px;
  color: var(--cream);
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  color: var(--cream);
  font-size: 1.22rem;
  line-height: 1.25;
}

.section-heading p,
.split p,
.test-proof p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.card-grid {
  display: grid;
  gap: 22px;
}

.card-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.program-card,
.subject-card,
.contact-card,
.page-hero-panel,
.info-stack article,
.steps article,
.calendly-card,
.test-proof,
.score-panel {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035)),
    var(--glass);
  border: 1px solid var(--glass-line);
  border-radius: var(--radius);
  box-shadow:
    inset 0 1px 0 var(--glass-highlight),
    0 18px 46px rgba(0, 0, 0, 0.25);
  -webkit-backdrop-filter: blur(24px) saturate(1.35);
  backdrop-filter: blur(24px) saturate(1.35);
}

.program-card,
.subject-card,
.contact-card,
.info-stack article {
  padding: 28px;
}

.program-card > i,
.subject-card > i,
.contact-card > i {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  margin-bottom: 22px;
  color: #f1d17f;
  background: rgba(216, 170, 69, 0.15);
  border: 1px solid rgba(216, 170, 69, 0.2);
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.program-card a i,
.contact-card a i,
.contact-list i {
  width: 1.1em;
  height: 1.1em;
  color: currentColor;
}

.program-card p,
.subject-card p,
.contact-card p,
.info-stack p,
.steps p {
  margin: 0;
  color: var(--muted);
}

.program-card a,
.contact-card a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  color: #9fc2ff;
  font-weight: 800;
  text-decoration: none;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.steps article {
  padding: 24px;
}

.steps span {
  display: block;
  margin-bottom: 22px;
  color: var(--green);
  font-size: 0.92rem;
  font-weight: 800;
}

.school-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.school-list span {
  padding: 15px 16px;
  color: var(--cream);
  background: var(--glass);
  border: 1px solid var(--glass-line);
  border-radius: var(--radius);
  font-weight: 800;
  box-shadow:
    inset 0 1px 0 var(--glass-highlight),
    0 10px 24px rgba(0, 0, 0, 0.18);
  -webkit-backdrop-filter: blur(20px) saturate(1.25);
  backdrop-filter: blur(20px) saturate(1.25);
}

.trust-list {
  grid-template-columns: 1fr;
}

.trust-list span {
  position: relative;
  padding-left: 44px;
}

.trust-list span::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 17px;
  width: 9px;
  height: 15px;
  border: solid var(--green);
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}

.cta-section {
  padding-top: 0;
}

.cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 44px;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(111, 168, 255, 0.16), rgba(216, 170, 69, 0.12)),
    var(--glass-strong);
  border: 1px solid var(--glass-line);
  border-radius: 22px;
  box-shadow:
    inset 0 1px 0 var(--glass-highlight),
    var(--shadow);
  -webkit-backdrop-filter: blur(28px) saturate(1.4);
  backdrop-filter: blur(28px) saturate(1.4);
}

.cta-card h2,
.cta-card p {
  color: #ffffff;
}

.cta-card p {
  margin: 0;
  opacity: 0.84;
}

.site-footer {
  padding: 64px 0 26px;
  color: #bfc9d6;
  background: rgba(9, 15, 26, 0.92);
  border-top: 1px solid rgba(246, 234, 216, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr;
  gap: 44px;
}

.footer-brand {
  color: #ffffff;
  margin-bottom: 18px;
}

.site-footer p {
  max-width: 390px;
  margin: 0;
  color: #bfc9d6;
}

.site-footer h3 {
  color: #ffffff;
  font-size: 1rem;
}

.site-footer a:not(.brand) {
  display: block;
  margin: 8px 0;
  color: #bfc9d6;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--yellow);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 42px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom p {
  font-size: 0.92rem;
}

.site-footer .footer-bottom a {
  display: inline-flex;
  margin: 0;
  font-size: 0.92rem;
}

.page-hero {
  background:
    linear-gradient(135deg, rgba(14, 23, 38, 0.98), rgba(26, 39, 59, 0.92)),
    url("assets/library-hero.svg") center / cover;
  border-bottom: 1px solid rgba(216, 170, 69, 0.16);
}

.subject-hero,
.test-hero,
.parent-hero,
.booking-hero,
.payment-hero {
  padding-top: 96px;
}

.parent-hero {
  background:
    linear-gradient(135deg, rgba(13, 20, 34, 0.98), rgba(26, 38, 57, 0.86)),
    url("assets/parent-hero.svg") center / cover;
}

.page-hero-panel {
  padding: 30px;
}

.page-hero-panel h2 {
  font-size: 1.5rem;
}

.parent-hero-panel {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 22px 0 0;
  color: var(--muted);
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 9px;
  height: 15px;
  border: solid var(--green);
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}

.subject-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.info-stack {
  display: grid;
  gap: 16px;
}

.score-panel {
  display: grid;
  gap: 14px;
  padding: 26px;
  background:
    linear-gradient(135deg, rgba(13, 20, 34, 0.9), rgba(36, 67, 49, 0.88)),
    url("assets/test-prep.svg") center / cover;
}

.score-panel div {
  padding: 18px;
  color: #ffffff;
  background: rgba(246, 234, 216, 0.1);
  border: 1px solid rgba(246, 234, 216, 0.18);
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(16px) saturate(1.25);
  backdrop-filter: blur(16px) saturate(1.25);
}

.score-panel span,
.score-panel strong {
  display: block;
}

.score-panel span {
  opacity: 0.76;
  font-weight: 700;
}

.score-panel strong {
  margin-top: 4px;
  font-size: 1.35rem;
}

.test-proof {
  width: min(820px, 100%);
  margin: 0 auto;
  padding: 38px;
  text-align: center;
}

.parent-proof {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1.15fr);
  gap: 44px;
  align-items: start;
}

.parent-proof > div:first-child {
  position: sticky;
  top: 104px;
}

.parent-proof-grid {
  display: grid;
  gap: 16px;
}

.parent-proof-grid article {
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035)),
    var(--glass);
  border: 1px solid var(--glass-line);
  border-radius: var(--radius);
  box-shadow:
    inset 0 1px 0 var(--glass-highlight),
    0 18px 46px rgba(0, 0, 0, 0.2);
  -webkit-backdrop-filter: blur(24px) saturate(1.35);
  backdrop-filter: blur(24px) saturate(1.35);
}

.parent-proof-grid span {
  display: block;
  margin-bottom: 16px;
  color: var(--green);
  font-size: 0.92rem;
  font-weight: 800;
}

.booking-grid {
  align-items: start;
  grid-template-columns: minmax(280px, 0.75fr) minmax(340px, 1.25fr);
}

.booking-copy {
  position: sticky;
  top: 104px;
}

.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.contact-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  color: var(--cream);
  background: rgba(246, 234, 216, 0.08);
  border: 1px solid var(--glass-line);
  border-radius: var(--radius);
  font-weight: 800;
  text-decoration: none;
  box-shadow: inset 0 1px 0 var(--glass-highlight);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
  backdrop-filter: blur(18px) saturate(1.25);
}

.booking-fallback {
  margin-top: 18px;
}

.booking-mobile-note {
  display: none;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.55;
}

.privacy-note {
  margin: 16px 0 0;
  padding: 14px 16px;
  color: #f2ddad;
  background: rgba(216, 170, 69, 0.12);
  border: 1px solid rgba(216, 170, 69, 0.26);
  border-radius: var(--radius);
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.55;
}

.calendly-card {
  overflow: hidden;
  padding: 10px;
}

.calendly-widget {
  width: 100%;
  min-width: 0;
  height: 680px;
}

.calendly-placeholder {
  display: grid;
  min-height: 100%;
  place-content: center;
  gap: 14px;
  padding: 30px;
  text-align: center;
}

.calendly-placeholder p {
  max-width: 420px;
  margin: 0 auto;
  color: var(--muted);
}

.calendly-placeholder .button {
  justify-self: center;
}

.contact-card a {
  overflow-wrap: anywhere;
}

.payment-hero {
  min-height: calc(100vh - 320px);
  display: grid;
  place-items: center;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.faq-grid article,
.legal-stack article {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035)),
    var(--glass);
  border: 1px solid var(--glass-line);
  border-radius: var(--radius);
  box-shadow:
    inset 0 1px 0 var(--glass-highlight),
    0 18px 46px rgba(0, 0, 0, 0.22);
  -webkit-backdrop-filter: blur(24px) saturate(1.35);
  backdrop-filter: blur(24px) saturate(1.35);
}

.faq-grid article {
  padding: 26px;
}

.faq-grid p,
.legal-stack p {
  margin: 0;
  color: var(--muted);
}

.faq-grid a,
.legal-stack a {
  color: #9fc2ff;
  font-weight: 800;
}

.legal-section {
  padding-top: 104px;
}

.legal-copy {
  max-width: 860px;
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--yellow);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-copy h1 {
  max-width: 720px;
  margin: 0;
  color: var(--cream);
  font-size: clamp(2.3rem, 6vw, 4rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.legal-updated {
  margin: 18px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.legal-stack {
  display: grid;
  gap: 16px;
  margin-top: 42px;
}

.legal-stack article {
  padding: 28px;
}

.legal-stack h2 {
  margin: 0 0 14px;
  color: var(--cream);
  font-size: 1.25rem;
}

.legal-stack p + p {
  margin-top: 12px;
}

@media (max-width: 1020px) {
  .card-grid.four,
  .subject-grid,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-nav {
    gap: 2px;
  }

  .site-nav a {
    padding-right: 10px;
    padding-left: 10px;
  }
}

@media (max-width: 940px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .nav-shell {
    min-height: 70px;
    flex-wrap: wrap;
  }

  .nav-shell > .button-small {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: static;
    order: 3;
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    margin-bottom: 14px;
    padding: 10px;
    background: rgba(17, 24, 39, 0.82);
    border-color: var(--glass-line);
    box-shadow:
      inset 0 1px 0 var(--glass-highlight),
      var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 14px;
  }

  .hero,
  .page-hero {
    padding: 58px 0;
  }

  .hero-home {
    min-height: auto;
    background:
      linear-gradient(180deg, rgba(13, 20, 34, 0.98) 0%, rgba(17, 24, 39, 0.92) 100%),
      url("assets/academic-hero.svg") center / cover;
  }

  .hero-grid,
  .page-hero-grid,
  .split,
  .parent-proof,
  .booking-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .parent-proof > div:first-child {
    position: static;
  }

  .hero-media {
    min-height: 310px;
  }

  .hero-plan-preview {
    min-height: 360px;
  }

  .section {
    padding: 62px 0;
  }

  .card-grid.three,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cta-card {
    align-items: flex-start;
    flex-direction: column;
    padding: 30px;
  }

  .booking-copy {
    position: static;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }
}

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

  .button:hover {
    transform: none;
  }
}

@media (max-width: 700px) {
  .booking-mobile-note {
    display: block;
  }

  .calendly-card {
    display: none;
  }
}

@media (max-width: 560px) {
  .brand-text {
    font-size: 1rem;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .hero-copy h1,
  .page-hero h1 {
    font-size: clamp(2.15rem, 11vw, 2.5rem);
    line-height: 1.02;
  }

  .hero-lede,
  .page-hero p,
  .large-copy {
    font-size: 1.04rem;
    line-height: 1.65;
  }

  .button {
    min-height: 46px;
    padding: 12px 16px;
  }

  .hero-actions,
  .hero-actions.centered {
    flex-direction: column;
    align-items: stretch;
  }

  .trust-row {
    flex-direction: column;
  }

  .card-grid.four,
  .subject-grid,
  .steps,
  .school-list {
    grid-template-columns: 1fr;
  }

  .program-card,
  .subject-card,
  .contact-card,
  .page-hero-panel,
  .faq-grid article,
  .legal-stack article,
  .info-stack article,
  .steps article,
  .test-proof {
    padding: 22px;
  }

  .hero-plan-preview {
    min-height: 340px;
    padding: 18px;
  }

  .plan-preview-card {
    padding: 20px;
  }

  .plan-preview-card h2 {
    font-size: 1.18rem;
  }

  .mini-check-list li {
    font-size: 0.95rem;
  }

  .plan-preview-note {
    display: none;
  }

  .calendly-card {
    margin-right: -6px;
    margin-left: -6px;
  }
}
