:root {
  --white: #ffffff;
  --paper: #f6f7fc;
  --blue: #2f5bff;
  --blue-deep: #1a37c9;
  --yellow: #ffd23f;
  --pink: #ff6b98;
  --mint: #3ccf9a;
  --ink: #11162a;
  --muted: #565f79;
  --line: rgba(17, 22, 42, 0.1);
  --font: "Lexend", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 1rem/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -0.025em; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
mark { background: linear-gradient(100deg, transparent 2%, var(--yellow) 4%, var(--yellow) 96%, transparent 98%); color: inherit; padding: 0 6px; border-radius: 6px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; border-radius: 8px; }
.wrap { max-width: 1232px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }

.btn { display: inline-flex; align-items: center; justify-content: center; padding: 11px 20px; border-radius: 999px; font: 600 0.95rem/1 var(--font); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform 0.2s, background-color 0.2s, box-shadow 0.2s; }
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: 16px 26px; font-size: 1rem; }
.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 12px 26px -12px rgba(47, 91, 255, 0.8); }
.btn-blue:hover { background: var(--blue-deep); }
.btn-ghost { background: #fff; border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--yellow); }

/* Header */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; background: rgba(255, 255, 255, 0.97); border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo svg { width: 38px; height: 38px; }
.logo span { display: flex; flex-direction: column; font-weight: 800; font-size: 1.2rem; line-height: 1; letter-spacing: -0.02em; }
.logo small { font-weight: 500; font-size: 0.7rem; letter-spacing: 0.06em; color: var(--muted); margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 28px; font-weight: 500; }
.nav a:not(.btn) { text-decoration: none; }
.nav a:not(.btn):hover { color: var(--blue); }
.nav-btn { display: none; width: 46px; height: 46px; border: 2px solid var(--ink); border-radius: 50%; background: #fff; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.nav-btn span { display: block; width: 18px; height: 2px; background: var(--ink); transition: transform 0.25s; }
.nav-btn[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-btn[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* Hero */
.hero { padding: 56px 0 80px; background: radial-gradient(circle at 85% 20%, rgba(255, 210, 63, 0.35), transparent 40%), radial-gradient(circle at 10% 90%, rgba(47, 91, 255, 0.12), transparent 45%); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.pill { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 0.85rem; font-weight: 500; }
.live { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(60, 207, 154, 0.3); }
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 5rem); font-weight: 800; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 44ch; font-weight: 300; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.stats { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stats li { padding: 14px; border-radius: 18px; background: var(--paper); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.stats strong { font-size: 1.35rem; font-weight: 800; color: var(--blue); }
.stats span { font-size: 0.82rem; color: var(--muted); line-height: 1.35; }
.hero-art { position: relative; justify-self: center; width: min(100%, 460px); }
.blob { border-radius: 42% 58% 55% 45% / 48% 42% 58% 52%; overflow: hidden; aspect-ratio: 1; border: 6px solid var(--yellow); background: var(--yellow); }
.blob img { width: 100%; height: 100%; object-fit: cover; }
.note { position: absolute; display: flex; flex-direction: column; padding: 12px 16px; border-radius: 6px; font-size: 0.85rem; box-shadow: 0 14px 30px -14px rgba(17, 22, 42, 0.5); }
.note b { font-weight: 700; }
.n1 { left: -26px; top: 10%; background: var(--yellow); transform: rotate(-4deg); }
.n2 { right: -10px; bottom: 8%; background: #fff; transform: rotate(3deg); border-top: 6px solid var(--pink); }

/* Section heads */
.head { display: flex; flex-direction: column; gap: 8px; margin-bottom: 32px; }
.head h2, .results h2, .contact h2 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 800; }
.head p { color: var(--muted); font-weight: 300; }

/* Courses */
.courses { padding: 88px 0; }
.c-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.course { position: relative; padding: 26px 22px 22px; border-radius: 24px; display: flex; flex-direction: column; gap: 12px; border: 2px solid var(--ink); background: #fff; box-shadow: 6px 6px 0 var(--ink); transition: transform 0.2s, box-shadow 0.2s; }
.course:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--ink); }
.course .tag { align-self: flex-start; padding: 5px 12px; border-radius: 999px; font-size: 0.78rem; font-weight: 600; border: 2px solid var(--ink); }
.c-blue .tag { background: #dfe6ff; } .c-yellow .tag { background: var(--yellow); } .c-pink .tag { background: #ffd6e3; } .c-mint .tag { background: #c9f3e2; }
.course h3 { font-size: 1.3rem; font-weight: 700; }
.course p { color: var(--muted); font-size: 0.93rem; flex: 1; font-weight: 300; }
.fee { font-size: 1.6rem; font-weight: 800; }
.fee small { font-size: 0.85rem; font-weight: 400; color: var(--muted); }

/* Batches */
.batches { padding: 88px 0; background: var(--paper); }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.filters button { padding: 10px 18px; border-radius: 999px; border: 2px solid var(--ink); background: #fff; font: 500 0.92rem/1 var(--font); cursor: pointer; color: var(--ink); }
.filters button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.table-wrap { overflow-x: auto; border-radius: 22px; border: 2px solid var(--ink); background: #fff; }
.tt { width: 100%; border-collapse: collapse; min-width: 560px; font-variant-numeric: tabular-nums; }
.tt th { text-align: left; padding: 16px 20px; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); background: var(--paper); border-bottom: 2px solid var(--ink); }
.tt td { padding: 16px 20px; border-bottom: 1px solid var(--line); }
.tt tr:last-child td { border-bottom: 0; }
.tt td:first-child { font-weight: 600; }
.seats { display: inline-grid; place-items: center; min-width: 34px; padding: 4px 10px; border-radius: 999px; background: #c9f3e2; font-weight: 700; }
.seats.low { background: #ffd6e3; color: #b0204d; }

/* Results */
.results { padding: 96px 0; background: var(--blue); color: #fff; }
.results mark { color: var(--ink); }
.res-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.res-grid > div { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.results .lead { color: #d9e1ff; }
.big { margin: 14px 0 0; display: grid; gap: 14px; }
.big div { display: grid; grid-template-columns: 140px 1fr; align-items: center; gap: 16px; padding: 16px 0; border-top: 1px solid rgba(255, 255, 255, 0.25); }
.big dt { font-size: 2.6rem; font-weight: 800; color: var(--yellow); line-height: 1; }
.big dd { margin: 0; color: #e6ebff; }
.quote { margin: 0; background: #fff; color: var(--ink); border-radius: 28px; overflow: hidden; border: 2px solid var(--ink); box-shadow: 10px 10px 0 var(--yellow); }
.quote img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.quote blockquote { margin: 0; padding: 22px 24px 6px; font-size: 1.12rem; font-weight: 500; line-height: 1.45; }
.quote figcaption { padding: 0 24px 22px; color: var(--muted); font-size: 0.9rem; }

/* How */
.how { padding: 96px 0; }
.how-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.how-steps li { padding: 24px; border-radius: 22px; background: var(--paper); display: flex; flex-direction: column; gap: 8px; }
.how-steps span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--yellow); font-weight: 800; font-size: 1.2rem; border: 2px solid var(--ink); }
.how-steps h3 { font-size: 1.15rem; font-weight: 700; margin-top: 6px; }
.how-steps p { color: var(--muted); font-size: 0.93rem; font-weight: 300; }

/* Contact */
.contact { padding: 0 0 96px; }
.contact-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: start; }
.enquiry { padding: clamp(22px, 4vw, 40px); border-radius: 28px; border: 2px solid var(--ink); box-shadow: 10px 10px 0 var(--blue); display: flex; flex-direction: column; gap: 16px; background: #fff; }
.enquiry h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-weight: 600; font-size: 0.88rem; }
.field input, .field select { width: 100%; padding: 13px 14px; border: 2px solid var(--line); border-radius: 14px; background: var(--paper); font: inherit; color: var(--ink); }
.field input:focus, .field select:focus { outline: none; border-color: var(--blue); background: #fff; }
.small { font-size: 0.88rem; color: var(--muted); }
.where { display: flex; flex-direction: column; gap: 14px; padding-top: 8px; min-width: 0; }
.where h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }

.foot { padding-block: 26px; background: var(--ink); color: #c9cde0; font-size: 0.9rem; }
.foot-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

@media (max-width: 1000px) {
  .c-grid, .how-steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav-btn { display: flex; position: relative; z-index: 80; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(320px, 86vw); z-index: 70;
    flex-direction: column; align-items: stretch; gap: 0; padding: calc(96px + env(safe-area-inset-top, 0px)) max(24px, env(safe-area-inset-right, 0px)) 24px 24px;
    background: #fff; border-left: 2px solid var(--ink);
    transform: translateX(100%); visibility: hidden; transition: transform 0.35s, visibility 0.35s;
  }
  .nav.open { transform: none; visibility: visible; }
  .nav a:not(.btn) { padding: 16px 0; border-bottom: 1px solid var(--line); font-weight: 700; font-size: 1.3rem; }
  .nav .btn { margin-top: 20px; }
  .hero-grid, .res-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-art { width: min(86%, 420px); }
}
@media (max-width: 600px) {
  .hero { padding-top: 32px; }
  .cta .btn-lg { width: 100%; }
  .stats { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .stats li { padding: 10px; }
  .stats strong { font-size: 1.05rem; }
  .c-grid, .how-steps, .f2 { grid-template-columns: 1fr; }
  .big div { grid-template-columns: 96px 1fr; }
  .big dt { font-size: 2rem; }
  .n1 { left: -8px; } .n2 { right: -6px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .course { transition: none; } }
