/* ==========================================================================
   Middle East Tech Institution — metinstitution.com
   Design system + site styles
   --------------------------------------------------------------------------
   Contents
   01. Design tokens
   02. Reset & base
   03. Layout primitives
   04. Typography
   05. Buttons & links
   06. Header & navigation
   07. Hero
   08. Cards & grids
   09. Sections & bands
   10. Curriculum accordion
   11. Pricing
   12. Tables
   13. Forms
   14. Footer
   15. Utilities & motion
   16. Responsive
   ========================================================================== */

/* ==========================================================================
   01. Design tokens
   ========================================================================== */
:root {
  /* Brand — deep institutional blue with a restrained gold accent */
  --brand-900: #0A2247;
  --brand-800: #0E2E5C;
  --brand-700: #14396F;
  --brand-600: #1B4B8F;
  --brand-500: #2563AE;
  --brand-400: #4A85CB;
  --brand-100: #DCE8F7;
  --brand-50:  #EEF4FC;

  --accent-700: #8A6116;
  --accent-600: #A8761F;
  --accent-500: #C08A2E;
  --accent-100: #F7EDD8;
  --accent-50:  #FCF7EC;

  /* Neutrals */
  --ink:       #0B1B33;
  --ink-2:     #33435C;
  --ink-3:     #5B6B84;
  --muted:     #7788A0;
  --line:      #E2E9F3;
  --line-soft: #EDF2F9;
  --bg:        #FFFFFF;
  --bg-soft:   #F7FAFD;
  --bg-tint:   #EFF5FC;

  /* Status */
  --success-600: #12715F;
  --success-50:  #E6F4F0;

  /* Type */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Source Serif 4", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-mono: "SFMono-Regular", ui-monospace, Menlo, Consolas, "Liberation Mono", monospace;

  /* Spacing scale */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;
  --sp-9: 6rem;

  /* Radii */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 22px;
  --r-full: 999px;

  /* Elevation — soft, paper-like */
  --shadow-xs: 0 1px 2px rgba(11, 27, 51, 0.05);
  --shadow-sm: 0 2px 6px rgba(11, 27, 51, 0.06);
  --shadow-md: 0 8px 24px rgba(11, 27, 51, 0.08);
  --shadow-lg: 0 20px 48px rgba(11, 27, 51, 0.11);

  /* Layout */
  --container: 1180px;
  --container-narrow: 820px;
  --header-h: 76px;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   02. Reset & base
   ========================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

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

h1, h2, h3, h4, h5, h6, p, figure, blockquote, ul, ol, dl { margin: 0; }
ul, ol { padding: 0; list-style: none; }

a { color: var(--brand-600); text-decoration: none; }
a:hover { color: var(--brand-800); }

button { font: inherit; color: inherit; cursor: pointer; }

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: var(--sp-7) 0;
}

::selection { background: var(--brand-100); color: var(--brand-900); }

:focus-visible {
  outline: 3px solid var(--brand-400);
  outline-offset: 2px;
  border-radius: var(--r-sm);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--brand-800);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 var(--r-md) 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; color: #fff; }

/* ==========================================================================
   03. Layout primitives
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}
.container--narrow { max-width: var(--container-narrow); }

.section { padding-block: var(--sp-9); }
.section--sm { padding-block: var(--sp-8); }
.section--flush-top { padding-top: 0; }
.section--soft { background: var(--bg-soft); }
.section--tint { background: var(--bg-tint); }
.section--line { border-top: 1px solid var(--line); }

.stack > * + * { margin-top: var(--sp-4); }
.stack-lg > * + * { margin-top: var(--sp-6); }

.grid { display: grid; gap: var(--sp-5); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--sp-8);
  align-items: center;
}
.split--reverse > *:first-child { order: 2; }

/* ==========================================================================
   04. Typography
   ========================================================================== */
h1, h2, h3, h4 {
  color: var(--ink);
  line-height: 1.18;
  letter-spacing: -0.02em;
  font-weight: 700;
}

h1 { font-size: clamp(2.25rem, 1.4rem + 3.4vw, 3.65rem); }
h2 { font-size: clamp(1.75rem, 1.2rem + 2.1vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.45rem); line-height: 1.3; }
h4 { font-size: 1.05rem; line-height: 1.4; letter-spacing: -0.01em; }

.display {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-600);
  margin-bottom: var(--sp-3);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--accent-500);
  border-radius: 2px;
}
.eyebrow--center { justify-content: center; }

.lead {
  font-size: clamp(1.05rem, 1rem + 0.35vw, 1.2rem);
  line-height: 1.68;
  color: var(--ink-3);
}

.section-head { max-width: 720px; margin-bottom: var(--sp-7); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: var(--sp-4); }

.prose > * + * { margin-top: var(--sp-4); }
.prose h2 { margin-top: var(--sp-7); }
.prose h3 { margin-top: var(--sp-6); }
.prose ul { list-style: none; }
.prose ul li {
  position: relative;
  padding-left: 26px;
  margin-top: var(--sp-2);
}
.prose ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--brand-400);
}
.prose ol { counter-reset: n; }
.prose ol li {
  counter-increment: n;
  position: relative;
  padding-left: 34px;
  margin-top: var(--sp-3);
}
.prose ol li::before {
  content: counter(n);
  position: absolute;
  left: 0;
  top: 0.15em;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: var(--r-full);
  background: var(--brand-50);
  color: var(--brand-700);
  font-size: 0.75rem;
  font-weight: 700;
}
.prose strong { color: var(--ink); font-weight: 650; }

/* Checked list — used for outcomes / "what you'll learn" */
.check-list { display: grid; gap: var(--sp-3); }
.check-list li {
  position: relative;
  padding-left: 34px;
  color: var(--ink-2);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.32em;
  width: 21px;
  height: 21px;
  border-radius: var(--r-full);
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
}
.check-list li::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 0.63em;
  width: 7px;
  height: 4px;
  border-left: 2px solid var(--brand-600);
  border-bottom: 2px solid var(--brand-600);
  transform: rotate(-45deg);
}

/* Badges & pills */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--r-full);
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  background: var(--brand-50);
  color: var(--brand-700);
  border: 1px solid var(--brand-100);
}
.badge--accent {
  background: var(--accent-50);
  color: var(--accent-700);
  border-color: var(--accent-100);
}
.badge--solid { background: var(--brand-700); color: #fff; border-color: transparent; }
.badge--ghost { background: rgba(255,255,255,0.12); color: #fff; border-color: rgba(255,255,255,0.28); }

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4) var(--sp-6);
  align-items: center;
}
.meta-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.9rem;
  color: var(--ink-3);
}
.meta-item svg { width: 18px; height: 18px; flex: none; color: var(--brand-500); }
.meta-item strong { color: var(--ink); font-weight: 650; }

/* ==========================================================================
   05. Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 26px;
  border: 1px solid transparent;
  border-radius: var(--r-md);
  font-size: 0.94rem;
  font-weight: 650;
  letter-spacing: 0.005em;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: background 0.18s var(--ease), color 0.18s var(--ease),
              border-color 0.18s var(--ease), transform 0.18s var(--ease),
              box-shadow 0.18s var(--ease);
}
.btn svg { width: 17px; height: 17px; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--brand-700);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover { background: var(--brand-800); color: #fff; box-shadow: var(--shadow-md); }

.btn--accent {
  background: var(--accent-500);
  color: #2A1E06;
  box-shadow: var(--shadow-sm);
}
.btn--accent:hover { background: var(--accent-600); color: #fff; box-shadow: var(--shadow-md); }

.btn--outline {
  background: #fff;
  color: var(--brand-700);
  border-color: var(--line);
  box-shadow: var(--shadow-xs);
}
.btn--outline:hover { border-color: var(--brand-400); color: var(--brand-800); background: #fff; }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: transparent;
  padding-inline: 12px;
}
.btn--ghost:hover { color: var(--brand-700); background: var(--brand-50); }

.btn--on-dark {
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(4px);
}
.btn--on-dark:hover { background: rgba(255, 255, 255, 0.18); color: #fff; }

.btn--light { background: #fff; color: var(--brand-800); }
.btn--light:hover { background: var(--brand-50); color: var(--brand-900); }

.btn--sm { padding: 9px 18px; font-size: 0.86rem; }
.btn--lg { padding: 16px 32px; font-size: 1rem; }
.btn--block { width: 100%; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  align-items: center;
}
.btn-row--center { justify-content: center; }

/* Text link with arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 650;
  font-size: 0.92rem;
  color: var(--brand-600);
}
.link-arrow svg {
  width: 15px;
  height: 15px;
  transition: transform 0.2s var(--ease);
}
.link-arrow:hover svg { transform: translateX(4px); }

/* ==========================================================================
   06. Header & navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 1px 16px rgba(11, 27, 51, 0.06);
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: none;
  color: var(--ink);
}
.brand:hover { color: var(--ink); }
.brand__mark { width: 38px; height: 38px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name {
  font-size: 1.02rem;
  font-weight: 750;
  letter-spacing: -0.015em;
  color: var(--brand-900);
}
.brand__sub {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 9px 13px;
  border-radius: var(--r-sm);
  font-size: 0.92rem;
  font-weight: 550;
  color: var(--ink-2);
  transition: color 0.16s var(--ease), background 0.16s var(--ease);
}
.nav__link:hover { color: var(--brand-700); background: var(--brand-50); }
.nav__link.is-active { color: var(--brand-700); font-weight: 650; }
.nav__link svg { width: 13px; height: 13px; opacity: 0.65; transition: transform 0.2s var(--ease); }

.nav__actions { display: flex; align-items: center; gap: var(--sp-2); flex: none; }

/* Dropdown */
.nav__item { position: relative; }
.nav__dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  width: 360px;
  padding: var(--sp-3);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), visibility 0.18s;
}
.nav__item:hover .nav__dropdown,
.nav__item:focus-within .nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav__item:hover .nav__link svg { transform: rotate(180deg); }

.dropdown__link {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 11px 12px;
  border-radius: var(--r-md);
  transition: background 0.15s var(--ease);
}
.dropdown__link:hover { background: var(--brand-50); }
.dropdown__icon {
  width: 34px;
  height: 34px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: var(--r-sm);
  background: var(--brand-50);
  color: var(--brand-600);
}
.dropdown__icon svg { width: 18px; height: 18px; }
.dropdown__title {
  display: block;
  font-size: 0.9rem;
  font-weight: 650;
  color: var(--ink);
  line-height: 1.35;
}
.dropdown__desc {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.45;
  margin-top: 1px;
}
.dropdown__foot {
  margin-top: var(--sp-2);
  padding: 11px 12px 4px;
  border-top: 1px solid var(--line-soft);
}

/* Mobile toggle */
.nav__toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  place-items: center;
}
.nav__toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  position: relative;
  transition: background 0.2s var(--ease);
}
.nav__toggle span::before,
.nav__toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.24s var(--ease);
}
.nav__toggle span::before { top: -6px; }
.nav__toggle span::after { top: 6px; }
.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* Announcement bar */
.announce {
  background: var(--brand-900);
  color: #DCE8F7;
  font-size: 0.83rem;
  text-align: center;
  padding: 9px 24px;
}
.announce a { color: #fff; font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }
.announce a:hover { color: var(--accent-100); }

/* ==========================================================================
   07. Hero
   ========================================================================== */
.hero {
  position: relative;
  padding-block: clamp(3.5rem, 2rem + 6vw, 6.5rem);
  background:
    radial-gradient(900px 460px at 82% -8%, var(--brand-50) 0%, rgba(238, 244, 252, 0) 62%),
    linear-gradient(180deg, #FBFDFF 0%, #FFFFFF 100%);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(760px 460px at 78% 12%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(760px 460px at 78% 12%, #000 0%, transparent 72%);
  pointer-events: none;
  opacity: 0.9;
}
.hero > .container { position: relative; z-index: 1; }

.hero__grid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: var(--sp-8);
  align-items: center;
}
.hero__title { margin-bottom: var(--sp-5); }
.hero__title .accent-underline {
  position: relative;
  white-space: nowrap;
}
.hero__title .accent-underline::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.06em;
  height: 0.28em;
  background: var(--accent-100);
  border-radius: 3px;
  z-index: -1;
}
.hero__actions { margin-top: var(--sp-6); }
.hero__note {
  margin-top: var(--sp-4);
  font-size: 0.86rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero__note svg { width: 16px; height: 16px; color: var(--success-600); flex: none; }

/* Page hero (interior pages) */
.page-hero {
  position: relative;
  padding-block: clamp(2.75rem, 1.8rem + 4vw, 4.5rem);
  background: linear-gradient(180deg, var(--brand-50) 0%, #FFFFFF 100%);
  border-bottom: 1px solid var(--line-soft);
}
.page-hero__inner { max-width: 780px; }
.page-hero h1 { margin-bottom: var(--sp-4); }
.page-hero .meta-row { margin-top: var(--sp-5); }

.page-hero--dark {
  background: linear-gradient(150deg, var(--brand-900) 0%, var(--brand-700) 62%, #17518F 100%);
  border-bottom: 0;
  overflow: hidden;
}
.page-hero--dark::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(700px 400px at 84% 0%, #000, transparent 70%);
  -webkit-mask-image: radial-gradient(700px 400px at 84% 0%, #000, transparent 70%);
  pointer-events: none;
}
.page-hero--dark > .container { position: relative; z-index: 1; }
.page-hero--dark h1 { color: #fff; }
.page-hero--dark .lead { color: rgba(255, 255, 255, 0.82); }
.page-hero--dark .eyebrow { color: var(--accent-500); }
.page-hero--dark .meta-item { color: rgba(255, 255, 255, 0.8); }
.page-hero--dark .meta-item strong { color: #fff; }
.page-hero--dark .meta-item svg { color: var(--accent-500); }

/* Breadcrumb */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: var(--sp-4);
}
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--brand-700); }
.crumbs span[aria-current] { color: var(--ink-2); font-weight: 550; }
.crumbs .sep { opacity: 0.5; }
.page-hero--dark .crumbs,
.page-hero--dark .crumbs a { color: rgba(255, 255, 255, 0.62); }
.page-hero--dark .crumbs a:hover { color: #fff; }
.page-hero--dark .crumbs span[aria-current] { color: rgba(255, 255, 255, 0.92); }

/* ==========================================================================
   08. Cards & grids
   ========================================================================== */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: var(--sp-6);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-xs);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease),
              transform 0.2s var(--ease);
}
.card--hover:hover {
  border-color: var(--brand-100);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.card__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: var(--r-md);
  background: var(--brand-50);
  color: var(--brand-600);
  margin-bottom: var(--sp-4);
  flex: none;
}
.card__icon svg { width: 25px; height: 25px; }
.card__icon--accent { background: var(--accent-50); color: var(--accent-600); }
.card h3 { margin-bottom: var(--sp-3); }
.card p { color: var(--ink-3); font-size: 0.95rem; }
.card__foot {
  margin-top: auto;
  padding-top: var(--sp-5);
}
.card__link::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

/* Course card */
.course-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease),
              transform 0.2s var(--ease);
}
.course-card:hover {
  border-color: var(--brand-100);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.course-card__top {
  position: relative;
  padding: var(--sp-5) var(--sp-5) var(--sp-4);
  background: linear-gradient(135deg, var(--brand-50) 0%, #F8FBFF 100%);
  border-bottom: 1px solid var(--line-soft);
}
.course-card__top--accent {
  background: linear-gradient(135deg, var(--accent-50) 0%, #FFFDF7 100%);
}
.course-card__art {
  width: 100%;
  height: 118px;
  display: grid;
  place-items: center;
}
.course-card__art svg { width: auto; height: 100%; }
.course-card__flag {
  position: absolute;
  top: var(--sp-4);
  right: var(--sp-4);
}
.course-card__body {
  padding: var(--sp-5);
  display: flex;
  flex-direction: column;
  flex: 1;
}
.course-card__body h3 { margin-bottom: var(--sp-2); }
.course-card__body > p { font-size: 0.93rem; color: var(--ink-3); }
.course-card__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-top: var(--sp-4);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--line-soft);
  font-size: 0.8rem;
  color: var(--muted);
}
.course-card__facts span { display: inline-flex; align-items: center; gap: 6px; }
.course-card__facts svg { width: 14px; height: 14px; color: var(--brand-400); }
.course-card__foot {
  margin-top: auto;
  padding-top: var(--sp-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
}
.course-card__price { font-size: 0.86rem; color: var(--muted); }
.course-card__price strong {
  display: block;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

/* Numbered step */
.step { position: relative; padding-left: 66px; }
.step__num {
  position: absolute;
  left: 0;
  top: 0;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: var(--r-md);
  background: var(--brand-700);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}
.step h3 { margin-bottom: var(--sp-2); }
.step p { color: var(--ink-3); font-size: 0.95rem; }

/* Feature strip */
.strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.strip__item {
  background: #fff;
  padding: var(--sp-5);
  text-align: center;
}
.strip__item svg {
  width: 24px;
  height: 24px;
  color: var(--brand-500);
  margin: 0 auto var(--sp-3);
}
.strip__item strong {
  display: block;
  font-size: 0.98rem;
  font-weight: 650;
  color: var(--ink);
  margin-bottom: 3px;
}
.strip__item span { font-size: 0.83rem; color: var(--muted); line-height: 1.5; display: block; }

/* Logo / tool chips */
.chips { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-full);
  background: #fff;
  font-size: 0.84rem;
  font-weight: 550;
  color: var(--ink-2);
  transition: border-color 0.16s var(--ease), color 0.16s var(--ease);
}
.chip:hover { border-color: var(--brand-400); color: var(--brand-700); }
.chip__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-400);
  flex: none;
}

/* Callout */
.callout {
  display: flex;
  gap: var(--sp-4);
  padding: var(--sp-5);
  border-radius: var(--r-lg);
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
}
.callout--accent { background: var(--accent-50); border-color: var(--accent-100); }
.callout__icon { flex: none; width: 24px; height: 24px; color: var(--brand-600); }
.callout--accent .callout__icon { color: var(--accent-600); }
.callout h4 { margin-bottom: 4px; }
.callout p { font-size: 0.92rem; color: var(--ink-3); }

/* Placeholder marker — content the institution replaces with its own */
.placeholder-note {
  display: flex;
  gap: 12px;
  padding: 14px 18px;
  border: 1px dashed var(--accent-500);
  border-radius: var(--r-md);
  background: var(--accent-50);
  font-size: 0.85rem;
  color: var(--accent-700);
}
.placeholder-note svg { width: 18px; height: 18px; flex: none; margin-top: 2px; }

/* ==========================================================================
   09. Sections & bands
   ========================================================================== */
.cta-band {
  position: relative;
  padding-block: var(--sp-9);
  background: linear-gradient(150deg, var(--brand-900) 0%, var(--brand-700) 60%, #17518F 100%);
  color: #fff;
  overflow: hidden;
}
.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(760px 400px at 50% 120%, #000, transparent 72%);
  -webkit-mask-image: radial-gradient(760px 400px at 50% 120%, #000, transparent 72%);
  pointer-events: none;
}
.cta-band > .container { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.82); }
.cta-band .eyebrow { color: var(--accent-500); }

/* Highlight band (WordPress spotlight) */
.spotlight {
  position: relative;
  border-radius: var(--r-xl);
  padding: clamp(2rem, 1.2rem + 3vw, 3.5rem);
  background: linear-gradient(140deg, #FFFDF7 0%, #FBF3E3 100%);
  border: 1px solid var(--accent-100);
  overflow: hidden;
}
.spotlight__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--sp-7);
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Bordered list panel */
.panel {
  padding: var(--sp-6);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}
.panel--soft { background: var(--bg-soft); box-shadow: none; }
.panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding-bottom: var(--sp-4);
  margin-bottom: var(--sp-4);
  border-bottom: 1px solid var(--line-soft);
}

/* Sticky sidebar layout */
.with-aside {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 348px;
  gap: var(--sp-8);
  align-items: start;
}
.aside-sticky { position: sticky; top: calc(var(--header-h) + 24px); }

/* ==========================================================================
   10. Curriculum accordion
   ========================================================================== */
.accordion { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: #fff; }
.accordion__item + .accordion__item { border-top: 1px solid var(--line); }
.accordion__trigger {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  width: 100%;
  padding: var(--sp-5);
  background: #fff;
  border: 0;
  text-align: left;
  transition: background 0.16s var(--ease);
}
.accordion__trigger:hover { background: var(--bg-soft); }
.accordion__index {
  flex: none;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: var(--r-sm);
  background: var(--brand-50);
  color: var(--brand-700);
  font-size: 0.8rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.accordion__label { flex: 1; min-width: 0; }
.accordion__title {
  display: block;
  font-size: 1rem;
  font-weight: 650;
  color: var(--ink);
  line-height: 1.4;
}
.accordion__sub {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 2px;
}
.accordion__chevron {
  flex: none;
  width: 20px;
  height: 20px;
  color: var(--muted);
  transition: transform 0.24s var(--ease);
}
.accordion__trigger[aria-expanded="true"] .accordion__chevron { transform: rotate(180deg); }
.accordion__trigger[aria-expanded="true"] .accordion__index {
  background: var(--brand-700);
  color: #fff;
}
.accordion__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s var(--ease);
}
.accordion__panel[data-open="true"] { grid-template-rows: 1fr; }
.accordion__panel > div { overflow: hidden; }
.accordion__content {
  padding: 0 var(--sp-5) var(--sp-5) calc(var(--sp-5) + 36px + var(--sp-4));
}
.accordion__content p { font-size: 0.93rem; color: var(--ink-3); }
.accordion__content .check-list { margin-top: var(--sp-4); }
.accordion__content .check-list li { font-size: 0.92rem; }

/* FAQ variant */
.faq .accordion__trigger { padding-block: var(--sp-4); }
.faq .accordion__content { padding-left: var(--sp-5); }

/* ==========================================================================
   11. Pricing
   ========================================================================== */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-5);
  align-items: stretch;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: var(--sp-6);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-xs);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease),
              transform 0.2s var(--ease);
}
.price-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.price-card--featured {
  border-color: var(--brand-600);
  border-width: 2px;
  box-shadow: var(--shadow-lg);
}
.price-card--featured::before {
  content: attr(data-flag);
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 16px;
  border-radius: var(--r-full);
  background: var(--brand-700);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  white-space: nowrap;
}
.price-card__head { padding-bottom: var(--sp-5); border-bottom: 1px solid var(--line-soft); }
.price-card__name { font-size: 1.18rem; font-weight: 700; color: var(--ink); letter-spacing: -0.015em; }
.price-card__desc { font-size: 0.88rem; color: var(--ink-3); margin-top: 6px; }
.price-card__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: var(--sp-4);
}
.price-card__amount {
  font-size: 2.5rem;
  font-weight: 750;
  color: var(--ink);
  letter-spacing: -0.035em;
  line-height: 1;
}
.price-card__currency { font-size: 1.1rem; font-weight: 650; color: var(--ink-3); align-self: flex-start; margin-top: 4px; }
.price-card__unit { font-size: 0.86rem; color: var(--muted); }
.price-card__was {
  font-size: 0.86rem;
  color: var(--muted);
  text-decoration: line-through;
}
.price-card__plan {
  margin-top: 8px;
  font-size: 0.82rem;
  color: var(--brand-600);
  font-weight: 600;
}
.price-card__features { padding-block: var(--sp-5); display: grid; gap: 11px; }
.price-card__features li {
  position: relative;
  padding-left: 28px;
  font-size: 0.9rem;
  color: var(--ink-2);
  line-height: 1.55;
}
.price-card__features li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 0.42em;
  width: 8px;
  height: 5px;
  border-left: 2px solid var(--brand-600);
  border-bottom: 2px solid var(--brand-600);
  transform: rotate(-45deg);
}
.price-card__features li.is-muted { color: var(--muted); }
.price-card__features li.is-muted::before {
  border: 0;
  width: 10px;
  height: 2px;
  background: var(--line);
  top: 0.72em;
  left: 2px;
  transform: none;
}
.price-card__foot { margin-top: auto; }
.price-card__note {
  margin-top: var(--sp-3);
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
}

/* Mentorship pack card */
.pack-card {
  display: flex;
  flex-direction: column;
  padding: var(--sp-6);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  text-align: center;
  box-shadow: var(--shadow-xs);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}
.pack-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.pack-card--featured { border-color: var(--accent-500); border-width: 2px; box-shadow: var(--shadow-lg); }
.pack-card__qty {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--brand-600);
}
.pack-card__price {
  font-size: 2.6rem;
  font-weight: 750;
  color: var(--ink);
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin-block: var(--sp-3) 4px;
}
.pack-card__rate { font-size: 0.88rem; color: var(--muted); }
.pack-card__save {
  display: inline-block;
  margin-top: var(--sp-3);
  padding: 4px 12px;
  border-radius: var(--r-full);
  background: var(--success-50);
  color: var(--success-600);
  font-size: 0.76rem;
  font-weight: 650;
}
.pack-card ul { margin-block: var(--sp-5); display: grid; gap: 9px; text-align: left; }
.pack-card ul li { font-size: 0.88rem; color: var(--ink-2); padding-left: 24px; position: relative; }
.pack-card ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.42em;
  width: 8px;
  height: 5px;
  border-left: 2px solid var(--brand-500);
  border-bottom: 2px solid var(--brand-500);
  transform: rotate(-45deg);
}
.pack-card__foot { margin-top: auto; }

/* ==========================================================================
   12. Tables
   ========================================================================== */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  -webkit-overflow-scrolling: touch;
}
table.compare {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 0.9rem;
}
table.compare th,
table.compare td {
  padding: 15px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: middle;
}
table.compare thead th {
  background: var(--bg-soft);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
table.compare tbody th {
  font-weight: 600;
  color: var(--ink);
  width: 34%;
}
table.compare tbody tr:last-child th,
table.compare tbody tr:last-child td { border-bottom: 0; }
table.compare tbody tr:hover td,
table.compare tbody tr:hover th { background: #FCFDFF; }
table.compare td.center { text-align: center; }
.tick { color: var(--success-600); font-weight: 700; }
.cross { color: var(--muted); }

/* ==========================================================================
   13. Forms
   ========================================================================== */
.form { display: grid; gap: var(--sp-4); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }

.field { display: grid; gap: 7px; }
.field > label {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink);
}
.field .req { color: #B4232A; }
.field__hint { font-size: 0.78rem; color: var(--muted); }

.input,
.select,
.textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 0.94rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: border-color 0.16s var(--ease), box-shadow 0.16s var(--ease);
  appearance: none;
}
.input::placeholder,
.textarea::placeholder { color: #A8B4C6; }
.input:hover, .select:hover, .textarea:hover { border-color: #C9D6E8; }
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--brand-500);
  box-shadow: 0 0 0 3px rgba(37, 99, 174, 0.14);
}
.textarea { min-height: 138px; resize: vertical; line-height: 1.6; }

.select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235B6B84' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 0.86rem;
  color: var(--ink-3);
  cursor: pointer;
}
.checkbox input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--brand-600);
  flex: none;
  cursor: pointer;
}

/* Honeypot — hidden from humans, visible to naive bots */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-error {
  font-size: 0.8rem;
  color: #B4232A;
  display: none;
}
.field.has-error .input,
.field.has-error .select,
.field.has-error .textarea { border-color: #D8555B; }
.field.has-error .form-error { display: block; }

.form-status {
  padding: 13px 16px;
  border-radius: var(--r-md);
  font-size: 0.88rem;
  display: none;
}
.form-status.is-visible { display: block; }
.form-status--error { background: #FDEEEF; color: #97252B; border: 1px solid #F6D3D5; }
.form-status--ok { background: var(--success-50); color: var(--success-600); border: 1px solid #C5E4DC; }

/* ==========================================================================
   14. Footer
   ========================================================================== */
.site-footer {
  background: var(--brand-900);
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
  padding-top: var(--sp-8);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.15fr;
  gap: var(--sp-7);
  padding-bottom: var(--sp-8);
}
.footer__brand { display: inline-flex; align-items: center; gap: 11px; margin-bottom: var(--sp-4); }
.footer__brand .brand__name { color: #fff; }
.footer__brand .brand__sub { color: rgba(255, 255, 255, 0.5); }
.footer__about { font-size: 0.88rem; line-height: 1.7; max-width: 34ch; }
.footer h4 {
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: var(--sp-4);
}
.footer__list { display: grid; gap: 11px; }
.footer__list a { color: rgba(255, 255, 255, 0.68); font-size: 0.89rem; }
.footer__list a:hover { color: #fff; }

.footer__contact { display: grid; gap: 13px; }
.footer__contact li { display: flex; gap: 11px; align-items: flex-start; }
.footer__contact svg { width: 17px; height: 17px; flex: none; margin-top: 3px; color: var(--accent-500); }
.footer__contact a { color: rgba(255, 255, 255, 0.85); }
.footer__contact a:hover { color: #fff; }

.socials { display: flex; gap: 9px; margin-top: var(--sp-5); }
.socials a {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.78);
  transition: background 0.16s var(--ease), color 0.16s var(--ease);
}
.socials a:hover { background: rgba(255, 255, 255, 0.17); color: #fff; }
.socials svg { width: 17px; height: 17px; }

.footer__bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  align-items: center;
  justify-content: space-between;
  padding-block: var(--sp-5);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}
.footer__bar nav { display: flex; flex-wrap: wrap; gap: var(--sp-5); }
.footer__bar a { color: rgba(255, 255, 255, 0.62); }
.footer__bar a:hover { color: #fff; }

/* ==========================================================================
   15. Utilities & motion
   ========================================================================== */
.u-center { text-align: center; }
.u-mt-0 { margin-top: 0 !important; }
.u-mt-3 { margin-top: var(--sp-3); }
.u-mt-4 { margin-top: var(--sp-4); }
.u-mt-5 { margin-top: var(--sp-5); }
.u-mt-6 { margin-top: var(--sp-6); }
.u-mt-7 { margin-top: var(--sp-7); }
.u-mb-4 { margin-bottom: var(--sp-4); }
.u-mb-5 { margin-bottom: var(--sp-5); }
.u-mb-6 { margin-bottom: var(--sp-6); }
.u-small { font-size: 0.85rem; }
.u-muted { color: var(--muted); }
.u-ink { color: var(--ink); }
.u-nowrap { white-space: nowrap; }
.u-hide { display: none !important; }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }

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

/* Decorative code window used in hero art */
.code-window {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  background: #0E2039;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  line-height: 1.85;
}
.code-window__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 15px;
  background: #0A192E;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.code-window__bar i {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}
.code-window__bar span {
  margin-left: 7px;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.42);
  letter-spacing: 0.03em;
}
.code-window__body { padding: 16px 18px 20px; color: #C6D6EC; overflow-x: auto; }
.code-window__body .ln { color: rgba(255,255,255,0.22); user-select: none; display: inline-block; width: 22px; }
.tok-key { color: #7FB4F5; }
.tok-str { color: #9BD9A9; }
.tok-fn  { color: #E8C07D; }
.tok-com { color: #5D7392; font-style: italic; }
.tok-num { color: #D3A0E0; }

/* ==========================================================================
   16. Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--sp-6); }
  .with-aside { grid-template-columns: 1fr; }
  .aside-sticky { position: static; }
}

@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .hero__grid, .spotlight__grid { grid-template-columns: 1fr; gap: var(--sp-6); }
  .split--reverse > *:first-child { order: 0; }
  .hero__art, .split__art { max-width: 560px; margin-inline: auto; }
}

@media (max-width: 860px) {
  :root { --header-h: 68px; }

  .nav__toggle { display: grid; }
  .nav__menu {
    position: fixed;
    inset: var(--header-h) 0 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: var(--sp-5) 24px var(--sp-8);
    background: #fff;
    border-top: 1px solid var(--line);
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.28s var(--ease);
    z-index: 99;
  }
  .nav__menu.is-open { transform: translateX(0); }
  .nav__link {
    padding: 14px 4px;
    font-size: 1.02rem;
    border-radius: 0;
    border-bottom: 1px solid var(--line-soft);
    justify-content: space-between;
  }
  .nav__link:hover { background: transparent; }
  .nav__item { width: 100%; }
  .nav__dropdown {
    position: static;
    transform: none;
    width: 100%;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: 0;
    border-bottom: 1px solid var(--line-soft);
    border-radius: 0;
    padding: var(--sp-2) 0 var(--sp-4);
    display: none;
  }
  .nav__dropdown.is-open { display: block; }
  .nav__item:hover .nav__link svg { transform: none; }
  .nav__link[aria-expanded="true"] svg { transform: rotate(180deg); }
  .nav__actions .btn--ghost { display: none; }
  .nav__actions { margin-left: auto; }
  .nav__menu .btn { margin-top: var(--sp-5); }
}

@media (max-width: 720px) {
  :root { --sp-9: 4rem; --sp-8: 3rem; }
  .container { padding-inline: 20px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; }
  .strip { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .card, .panel, .price-card, .pack-card { padding: var(--sp-5); }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn-row .btn { width: 100%; }
  .nav__actions .btn { width: auto; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bar { flex-direction: column; align-items: flex-start; gap: var(--sp-3); }
  .accordion__content { padding-left: var(--sp-5); }
  .step { padding-left: 0; padding-top: 60px; }
  .step__num { width: 42px; height: 42px; }
  .price-card__amount { font-size: 2.2rem; }
}

/* Print — students print curricula */
@media print {
  .site-header, .site-footer, .cta-band, .nav__toggle, .announce { display: none !important; }
  body { color: #000; }
  .accordion__panel { grid-template-rows: 1fr !important; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.75em; color: #555; }
}
