/* Design Plan:
 * 1. Subject: Pusat Tuisyen Cemerlang, an elite, professional academic coaching & learning centre for primary and secondary students.
 * 2. Visual elements & materials: Deep executive navy slate (#0f172a / #1e293b), crisp gallery white (#ffffff), refined warm parchment background (#f8fafc), prestigious emerald teal accent (#0d9488), muted slate typography (#475569), subtle silver hairpins (#e2e8f0).
 * 3. Category contrast: Unprofessional tuition sites often look cluttered, childish, with loud cartoon elements or haphazard colours. This site projects high-calibre academic rigor, institution-grade credibility, clear structured tables, and a calm, confident enrolment experience.
 * 4. The Idea: On this site, the atmosphere of an established private academic academy becomes a structured, high-clarity enrolment portal with real-time seat tracking and verified KPM syllabus alignment.
 * 5. One bold element: The executive live seat reservation matrix that pairs real-time capacity monitoring with instant quota locking.
 */

:root {
  --color-ground: #f8fafc;
  --color-ground-soft: #f1f5f9;
  --color-ink: #0f172a;
  --color-ink-muted: #475569;
  --color-ink-faint: #94a3b8;
  --color-accent: #0f766e;
  --color-accent-hover: #115e59;
  --color-accent-light: #f0fdfa;
  --color-navy: #1e293b;
  --color-surface: #ffffff;
  --color-border: #e2e8f0;
  --color-border-light: #f1f5f9;
  --color-border-focus: #0f766e;
  --color-success-bg: #ecfdf5;
  --color-success-ink: #065f46;
  --color-error-bg: #fef2f2;
  --color-error-ink: #991b1b;

  --font-display: Seravek, 'Gill Sans Nova', Ubuntu, Calibri, 'DejaVu Sans', source-sans-pro, sans-serif;
  --font-body: Inter, Roboto, 'Helvetica Neue', 'Arial Nova', 'Nimbus Sans', Arial, sans-serif;

  --text-xs: 0.8125rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-md: 1.125rem;
  --text-lg: 1.375rem;
  --text-xl: 1.875rem;
  --text-2xl: 2.5rem;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;

  --radius-subtle: 6px;
  --radius-pill: 9999px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

::selection {
  background-color: color-mix(in oklch, var(--color-accent) 20%, transparent);
  color: var(--color-ink);
}

body {
  background-color: var(--color-ground);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--color-accent-hover);
  text-decoration: underline;
}

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}
