/* ============================================================
   LEARNSPACE — style.css 
   Fonts  : Fraunces · Inter
   Palette: professional monochrome + slate blue accent
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,700;0,9..144,900;1,9..144,300&family=Inter:wght@400;500;600;700&display=swap');

/* ── TOKENS ─────────────────────────────────────────────── */
:root {
  --ink:        #111111;
  --ink-2:      #444444;
  --muted:      #888888;
  --border:     #E0E0E0;
  --surface:    #F7F7F7;
  --white:      #ffffff;

  --accent:     #1A3A5C;
  --accent-lt:  #EBF0F6;
  --accent-md:  #2E5C8A;

  --ok:         #1a7a4a;  --ok-bg:   #e6f5ed;
  --warn:       #a05c00;  --warn-bg: #fef4e6;
  --err:        #b91c1c;  --err-bg:  #fde8e8;
  --info:       #1d4ed8;  --info-bg: #e8effe;

  --sh:         0 1px 4px rgba(0,0,0,.06);
  --sh-md:      0 4px 20px rgba(0,0,0,.08);
  --sh-lg:      0 8px 40px rgba(0,0,0,.12);

  --r:          8px;
  --r-lg:       14px;
  --r-sm:       5px;
  --ease:       all .18s cubic-bezier(.4,0,.2,1);
  --nav-h:      64px;
}

/* ── RESET ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
body  {
  font-family: 'Inter', sans-serif;
  background: var(--white);
  color: var(--ink);
  line-height: 1.65;
  font-size: 15.5px;
  overflow-x: hidden;
}
ul    { list-style: none; }
a     { text-decoration: none; color: inherit; transition: var(--ease); }
img   { display: block; max-width: 100%; }
button { font-family: inherit; }

/* ── TYPE ───────────────────────────────────────────────── */
h1,h2,h3 { font-family:'Fraunces',serif; line-height:1.1; color:var(--ink); }
h1 { font-size:clamp(2.6rem,6vw,4.8rem); font-weight:900; letter-spacing:-.02em; }
h2 { font-size:clamp(1.8rem,3.5vw,2.8rem); font-weight:700; letter-spacing:-.01em; }
h3 { font-size:clamp(1.1rem,2vw,1.5rem); font-weight:700; }
h4 { font-size:1rem; font-weight:700; margin-bottom:6px; }
h5 { font-size:.7rem; font-weight:700; text-transform:uppercase; letter-spacing:.12em; color:var(--muted); margin-bottom:10px; }
p  { color:var(--ink-2); }
.mono { font-family:monospace; }

/* ── LAYOUT ─────────────────────────────────────────────── */
.container { max-width:100%; margin:0 auto; padding:0 48px; }
.section   { padding:88px 0; }
.section--surface { background:var(--surface); }

.grid-2    { display:grid; grid-template-columns:repeat(2,1fr); gap:24px; }
.grid-3    { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.grid-4    { display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.grid-auto { display:grid; grid-template-columns:repeat(auto-fill,minmax(270px,1fr)); gap:20px; }
.flex      { display:flex; }
.flex-c    { display:flex; align-items:center; }
.flex-bc   { display:flex; align-items:center; justify-content:space-between; }
.text-center { text-align:center; }
.hidden    { display:none !important; }
.mb-2  { margin-bottom:16px; }
.mb-3  { margin-bottom:28px; }
.mt-1  { margin-top:8px; }
.mt-2  { margin-top:16px; }

/* ── SECTION HEADER ─────────────────────────────────────── */
.section-header        { margin-bottom:52px; }
.section-header.text-center .section__eyebrow { justify-content:center; }
.section-header h2     { margin:8px 0 12px; }
.section-header p      { max-width:540px; }
.section-header.text-center p { margin:0 auto; }
.section__sub { font-size:.95rem; }

.section__eyebrow {
  display:inline-flex; align-items:center; gap:10px;
  font-size:.68rem; font-weight:700; color:var(--accent);
  text-transform:uppercase; letter-spacing:.14em;
}
.section__eyebrow::before {
  content:''; display:block; width:24px; height:1px;
  background:var(--accent); flex-shrink:0;
}

/* ── BUTTONS ────────────────────────────────────────────── */
.btn {
  display:inline-flex; align-items:center; gap:8px;
  padding:11px 24px; border-radius:var(--r-sm);
  font-size:.875rem; font-weight:600;
  font-family:'Inter',sans-serif;
  border:none; cursor:pointer;
  transition:var(--ease); white-space:nowrap; line-height:1;
}
.btn--accent  { background:var(--accent); color:var(--white); }
.btn--accent:hover  { background:var(--accent-md); transform:translateY(-1px); box-shadow:var(--sh-md); }
.btn--primary { background:var(--ink); color:var(--white); }
.btn--primary:hover { background:#2d2d2d; transform:translateY(-1px); box-shadow:var(--sh); }
.btn--outline { background:transparent; color:var(--ink); border:1.5px solid var(--border); }
.btn--outline:hover { border-color:var(--ink); }
.btn--ghost   { background:transparent; color:var(--muted); }
.btn--ghost:hover   { color:var(--ink); background:var(--surface); }
.btn--teal    { background:var(--accent); color:var(--white); }
.btn--teal:hover    { background:var(--accent-md); transform:translateY(-1px); }
.btn--gold    { background:var(--ink); color:var(--white); }
.btn--gold:hover    { background:#2d2d2d; transform:translateY(-1px); }
.btn--sm   { padding:7px 16px; font-size:.8rem; }
.btn--lg   { padding:14px 32px; font-size:.92rem; }
.btn--full { width:100%; justify-content:center; }
.btn[disabled]     { opacity:.45; cursor:not-allowed; transform:none !important; }
.btn--loading      { position:relative; color:transparent !important; pointer-events:none; }
.btn--loading::after {
  content:''; position:absolute; width:16px; height:16px;
  border-radius:50%; border:2px solid rgba(255,255,255,.35);
  border-top-color:white; animation:spin .7s linear infinite;
}

/* ── NAVBAR ─────────────────────────────────────────────── */
.navbar {
  position:sticky; top:0; z-index:900;
  height:var(--nav-h);
  background:rgba(255,255,255,.97);
  backdrop-filter:blur(12px); -webkit-backdrop-filter:blur(12px);
  border-bottom:1px solid var(--border);
  transition:box-shadow .2s;
}
.navbar.scrolled { box-shadow:var(--sh); }
.navbar .container { height:100%; display:flex; align-items:center; justify-content:space-between; }

.navbar__logo {
  font-family:'Fraunces',serif;
  font-size:1.35rem; font-weight:900; color:var(--ink);
  letter-spacing:-.02em;
}
.navbar__logo span { color:var(--accent); }

.navbar__links { display:flex; align-items:center; gap:36px; }
.navbar__links a { font-size:.84rem; font-weight:500; color:var(--muted); }
.navbar__links a:hover { color:var(--ink); }
.navbar__links a.active { color:var(--ink); font-weight:600; }

/* demo CTA in nav */
.navbar__demo {
  margin-left: 24px;
  flex-shrink: 0;
}
@media (max-width:640px) { .navbar__demo { display:none; } }

/* hamburger */
.nav-toggle {
  display:none; flex-direction:column; justify-content:center;
  gap:5px; width:36px; height:36px;
  background:none; border:none; cursor:pointer;
}
.nav-toggle span {
  display:block; height:1.5px; width:22px; background:var(--ink);
  transition:var(--ease); margin:0 auto;
}

/* drawer */
.nav-drawer {
  position:fixed; top:0; right:-280px; width:280px; height:100%;
  background:var(--white); z-index:1000; transition:right .28s cubic-bezier(.4,0,.2,1);
  padding:24px; border-left:1px solid var(--border);
}
.nav-drawer.open { right:0; }
.nav-drawer__close {
  background:none; border:1px solid var(--border); cursor:pointer;
  font-size:.9rem; color:var(--muted); padding:6px 10px; border-radius:var(--r-sm);
  margin-bottom:28px; display:block;
}
.nav-drawer ul { display:flex; flex-direction:column; gap:4px; }
.nav-drawer ul li a {
  display:block; padding:10px 12px; border-radius:var(--r-sm);
  font-size:.92rem; font-weight:500; color:var(--ink-2);
}
.nav-drawer ul li a:hover { background:var(--surface); color:var(--ink); }
.nav-overlay {
  display:none; position:fixed; inset:0; background:rgba(0,0,0,.3); z-index:999;
}
.nav-overlay.open { display:block; }

/* ── HERO ───────────────────────────────────────────────── */
.hero {
  padding:100px 0 80px;
  border-bottom:1px solid var(--border);
  position:relative;
  overflow:hidden;
}

/* subtle grid texture */
.hero::before {
  content:'';
  position:absolute; inset:0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size:56px 56px;
  opacity:.35;
  pointer-events:none;
}

.hero .container { position:relative; z-index:1; }

.hero__inner    { max-width:780px; }
.hero__eyebrow  {
  font-size:.7rem; font-weight:700; text-transform:uppercase;
  letter-spacing:.16em; color:var(--accent);
  display:flex; align-items:center; gap:10px; margin-bottom:22px;
}
.hero__eyebrow::before {
  content:''; width:28px; height:1px; background:var(--accent);
}

.hero h1        { margin-bottom:24px; line-height:1.05; }
.hero h1 .highlight {
  /* Signature element: outlined/stroke text — editorial and memorable */
  -webkit-text-stroke:2px var(--ink);
  color:transparent;
  font-style:italic;
}

.hero__subtitle {
  font-size:1.08rem; color:var(--ink-2);
  max-width:560px; line-height:1.7; margin-bottom:40px;
}

.hero__actions  { display:flex; align-items:center; gap:14px; flex-wrap:wrap; }

/* centered hero variant */
.hero--centered .hero__inner  { max-width:680px; margin:0 auto; text-align:center; }
.hero--centered .hero__eyebrow { justify-content:center; }
.hero--centered .hero__eyebrow::before { display:none; }
.hero--centered .hero__subtitle { margin-left:auto; margin-right:auto; }
.hero--centered .hero__actions { justify-content:center; }

/* ── DIVIDER RULE ───────────────────────────────────────── */
.rule { border:none; border-top:1px solid var(--border); }

/* ── OFFER CARDS ─────────────────────────────────────────── */
.offer-card {
  padding:36px 32px;
  border:1px solid var(--border);
  border-radius:var(--r);
  background:var(--white);
  transition:var(--ease);
}
.offer-card:hover {
  border-color:var(--ink);
  transform:translateY(-2px);
  box-shadow:var(--sh-md);
}
.offer-card__icon {
  width:46px; height:46px;
  border-radius:var(--r-sm);
  display:flex; align-items:center; justify-content:center;
  font-size:1.1rem; margin-bottom:20px;
  background:var(--surface);
  color:var(--ink);
}
.offer-card h4 { font-size:1rem; font-weight:700; margin-bottom:8px; color:var(--ink); }
.offer-card p  { font-size:.88rem; color:var(--muted); line-height:1.6; }

/* neutralise coloured icon variants from original */
.offer-card__icon--red,
.offer-card__icon--gold,
.offer-card__icon--teal { background:var(--surface); color:var(--ink); }

/* ── CURRICULA ──────────────────────────────────────────── */
.curricula-grid {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:1px;
  border:1px solid var(--border);
  border-radius:var(--r);
  overflow:hidden;
  background:var(--border);
}
.curricula-card {
  display:flex; flex-direction:column; align-items:flex-start;
  gap:8px; padding:28px 24px;
  background:var(--white);
  transition:var(--ease);
}
.curricula-card:hover { background:var(--accent); }
.curricula-card:hover .curricula-card__flag,
.curricula-card:hover .curricula-card__name { color:var(--white); }
.curricula-card--all { background:var(--surface); }
.curricula-card--all:hover { background:var(--accent); }

.curricula-card__flag { font-size:1.4rem; line-height:1; }
.curricula-card__name {
  font-size:.82rem; font-weight:600; color:var(--ink);
  transition:color .18s;
}
/* ── HERO TUTOR CHIP ─────────────────────────────────────── */
.hero__tutor-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 40px;
  padding: 7px 14px 7px 12px;
  font-size: .78rem;
  color: var(--ink-2);
  margin-bottom: 20px;
  transition: var(--ease);
  text-decoration: none;
}
.hero__tutor-chip:hover {
  border-color: var(--ink);
  color: var(--ink);
}
.hero__tutor-chip i {
  color: var(--accent);
  font-size: .82rem;
}
.hero__tutor-chip strong {
  color: var(--accent);
  font-weight: 600;
}

/* ── FOOTER ACTION CARDS ────────────────────────────────── */
.footer-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  margin-bottom: 48px;
}
.footer-action-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  background: var(--white);
  transition: var(--ease);
  text-decoration: none;
}
.footer-action-card:hover {
  background: var(--accent);
}
.footer-action-card:hover .footer-action-card__icon,
.footer-action-card:hover .footer-action-card__body strong,
.footer-action-card:hover .footer-action-card__body span,
.footer-action-card:hover .footer-action-card__arrow {
  color: var(--white);
}
.footer-action-card__icon {
  width: 40px; height: 40px; flex-shrink: 0;
  border-radius: var(--r-sm);
  background: var(--surface);
  display: flex; align-items: center; justify-content: center;
  font-size: .95rem;
  color: var(--ink);
  transition: var(--ease);
}
.footer-action-card__body {
  flex: 1;
  display: flex; flex-direction: column; gap: 2px;
}
.footer-action-card__body strong {
  font-size: .88rem; font-weight: 600; color: var(--ink);
  transition: var(--ease);
}
.footer-action-card__body span {
  font-size: .75rem; color: var(--muted);
  transition: var(--ease);
}
.footer-action-card__arrow {
  font-size: .75rem; color: var(--muted);
  transition: var(--ease);
}

@media (max-width: 640px) {
  .footer-actions { grid-template-columns: 1fr; }
}

/* ── FOOTER ─────────────────────────────────────────────── */
.footer {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding-top: 64px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 52px;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.footer__logo {
  font-family: 'Fraunces', serif;
  font-size: 1.25rem; font-weight: 900;
  color: var(--ink); letter-spacing: -.02em;
  margin-bottom: 10px;
}
.footer__logo span { color: var(--accent); }
.footer-col p { font-size: .85rem; color: var(--muted); line-height: 1.65; max-width: 240px; }
.footer-col h5 { margin-bottom: 14px; }
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a { font-size: .84rem; color: var(--muted); }
.footer-col ul li a:hover { color: var(--ink); }

.footer__social { display: flex; gap: 10px; margin-top: 18px; }
.footer__social a {
  width: 34px; height: 34px;
  border: 1px solid var(--border); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .78rem; color: var(--muted); transition: var(--ease);
}
.footer__social a:hover { border-color: var(--ink); color: var(--ink); }

.footer-col__btn {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 18px; border-radius: var(--r-sm);
  font-size: .82rem; font-weight: 600;
  border: 1.5px solid var(--border);
  background: var(--white); color: var(--ink);
  transition: var(--ease); text-decoration: none;
  width: 100%;
}
.footer-col__btn:hover { border-color: var(--ink); }
.footer-col__btn--primary {
  background: var(--white); color: var(--ink); border-color: var(--border);
}
.footer-col__btn--primary:hover { border-color: var(--ink); transform: none; }

.footer__bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0; font-size: .78rem; color: var(--muted);
}
.footer__bottom a { color: var(--muted); }
.footer__bottom a:hover { color: var(--ink); }

@media (max-width: 1000px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer__bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* ── CONTENT CARDS ──────────────────────────────────────── */
.content-card {
  background:var(--white);
  border:1px solid var(--border);
  border-radius:var(--r);
  overflow:hidden;
  transition:var(--ease);
}
.content-card:hover { box-shadow:var(--sh-md); transform:translateY(-2px); border-color:#ccc; }
.card__thumb { position:relative; aspect-ratio:16/9; background:var(--surface); cursor:pointer; overflow:hidden; }
.card__thumb img { width:100%; height:100%; object-fit:cover; }
.card__body { padding:16px 18px; }
.card__title { font-size:.9rem; font-weight:600; color:var(--ink); margin-bottom:4px; }
.card__meta  { font-size:.75rem; color:var(--muted); }

/* ── BADGES ─────────────────────────────────────────────── */
.badge {
  display:inline-flex; align-items:center; gap:5px;
  padding:3px 10px; border-radius:20px;
  font-size:.7rem; font-weight:600; text-transform:uppercase; letter-spacing:.06em;
}
.badge-red    { background:var(--err-bg);  color:var(--err); }
.badge-teal   { background:var(--ok-bg);   color:var(--ok); }
.badge-gold   { background:var(--warn-bg); color:var(--warn); }
.badge-gray   { background:var(--surface); color:var(--muted); }
.badge-purple { background:var(--accent-lt); color:var(--accent); }

/* ── FORMS ──────────────────────────────────────────────── */
.form-group   { margin-bottom:18px; }
.form-label   { display:block; font-size:.82rem; font-weight:600; margin-bottom:6px; color:var(--ink); }
.form-control {
  width:100%; padding:10px 14px;
  border:1.5px solid var(--border); border-radius:var(--r-sm);
  font-size:.875rem; font-family:'Inter',sans-serif;
  background:var(--white); color:var(--ink); transition:var(--ease);
}
.form-control:focus { outline:none; border-color:var(--ink); box-shadow:0 0 0 3px rgba(17,17,17,.05); }
.form-control::placeholder { color:#bbb; }
.form-hint  { font-size:.75rem; color:var(--muted); margin-top:4px; }
.form-row   { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
textarea.form-control { resize:vertical; min-height:110px; }
select.form-control   { cursor:pointer; }

/* ── MODAL ──────────────────────────────────────────────── */
.modal-overlay {
  display:none; position:fixed; inset:0; z-index:2000;
  background:rgba(0,0,0,.5);
  backdrop-filter:blur(4px); -webkit-backdrop-filter:blur(4px);
  align-items:center; justify-content:center; padding:20px;
}
.modal-overlay.open { display:flex; }
.modal-box {
  background:var(--white); border-radius:var(--r-lg); padding:36px;
  width:100%; max-width:480px; box-shadow:var(--sh-lg);
  position:relative; max-height:90vh; overflow-y:auto;
  animation:slideUp .22s ease;
}
.modal-box--wide { max-width:740px; }
.modal-close {
  position:absolute; top:14px; right:14px;
  width:32px; height:32px; border-radius:50%;
  border:1px solid var(--border); background:none;
  cursor:pointer; font-size:.88rem; color:var(--muted);
  display:flex; align-items:center; justify-content:center; transition:var(--ease);
}
.modal-close:hover { background:var(--surface); color:var(--ink); }
.modal-title { font-family:'Fraunces',serif; font-size:1.4rem; font-weight:700; margin-bottom:20px; }
.modal-video-title { font-family:'Fraunces',serif; font-size:1.05rem; font-weight:700; margin-top:14px; }

/* ── TOAST ──────────────────────────────────────────────── */
.toast-container { position:fixed; bottom:24px; right:24px; z-index:9999; display:flex; flex-direction:column; gap:8px; }
.toast {
  background:var(--ink); color:var(--white);
  padding:12px 18px; border-radius:var(--r);
  font-size:.84rem; font-weight:500;
  box-shadow:var(--sh-lg); display:flex; align-items:center; gap:10px;
  animation:slideUp .22s ease; max-width:300px;
}
.toast--success { background:var(--ok); }
.toast--error   { background:var(--err); }
.toast--warning { background:var(--warn); }

/* ── FILTER BAR ─────────────────────────────────────────── */
.filter-bar { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:28px; }
.filter-pill {
  padding:6px 18px; border-radius:20px; font-size:.8rem; font-weight:500;
  border:1px solid var(--border); background:var(--white); color:var(--muted);
  cursor:pointer; transition:var(--ease);
}
.filter-pill:hover,
.filter-pill.active { background:var(--ink); color:var(--white); border-color:var(--ink); }

/* ── CONTENT GRID ───────────────────────────────────────── */
.content-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(270px,1fr)); gap:20px; }

/* ── EMPTY STATE ────────────────────────────────────────── */
.empty-state { text-align:center; padding:60px 24px; background:var(--surface); border-radius:var(--r); border:1px dashed var(--border); }
.empty-state__icon { font-size:2rem; margin-bottom:14px; }
.empty-state h4    { margin-bottom:8px; }

/* ── PAGE HERO ──────────────────────────────────────────── */
.page-hero { background:var(--ink); color:var(--white); padding:56px 0; }
.page-hero h1 { color:var(--white); font-size:clamp(1.8rem,4vw,2.8rem); margin-bottom:8px; }
.page-hero p  { color:rgba(255,255,255,.45); font-size:.95rem; margin:0; }

/* ── TABLE ──────────────────────────────────────────────── */
.table-wrap { overflow-x:auto; border-radius:var(--r); border:1px solid var(--border); }
table       { width:100%; border-collapse:collapse; font-size:.84rem; }
thead th    { background:var(--ink); color:var(--white); font-weight:600; padding:11px 16px; text-align:left; font-size:.78rem; }
tbody td    { padding:11px 16px; border-bottom:1px solid var(--border); vertical-align:middle; }
tbody tr:last-child td { border-bottom:none; }
tbody tr:hover td { background:var(--surface); }

/* ── PROGRESS ───────────────────────────────────────────── */
.progress      { height:4px; background:var(--surface); border-radius:2px; overflow:hidden; }
.progress__bar { height:100%; background:var(--accent); border-radius:2px; transition:width .4s ease; }

/* ── PAGINATION ─────────────────────────────────────────── */
.pagination { display:flex; align-items:center; justify-content:center; gap:6px; margin-top:40px; }
.pagination a, .pagination span {
  display:flex; align-items:center; justify-content:center;
  width:36px; height:36px; border-radius:var(--r-sm);
  font-size:.82rem; font-weight:600;
  border:1px solid var(--border); background:var(--white); color:var(--muted);
  transition:var(--ease);
}
.pagination a:hover   { border-color:var(--ink); color:var(--ink); }
.pagination span.on   { background:var(--ink); color:var(--white); border-color:var(--ink); }

/* ── SIDEBAR / APP LAYOUT ───────────────────────────────── */
.app-layout { display:grid; grid-template-columns:240px 1fr; min-height:calc(100vh - var(--nav-h)); }
.sidebar {
  background:var(--ink); padding:28px 0;
  position:sticky; top:var(--nav-h); height:calc(100vh - var(--nav-h)); overflow-y:auto;
}
.sidebar__logo { padding:0 20px 22px; border-bottom:1px solid rgba(255,255,255,.07); margin-bottom:14px; font-family:'Fraunces',serif; font-size:1.2rem; font-weight:900; }
.sidebar__logo span { color:rgba(255,255,255,.55); }
.sidebar__lbl { font-size:.62rem; font-weight:700; text-transform:uppercase; letter-spacing:.12em; color:rgba(255,255,255,.25); padding:0 20px; margin:12px 0 4px; }
.sidebar__link {
  display:flex; align-items:center; gap:10px;
  padding:9px 12px; margin:1px 8px;
  border-radius:var(--r-sm); font-size:.83rem;
  color:rgba(255,255,255,.52); cursor:pointer; transition:var(--ease);
  border:none; background:none; width:calc(100% - 16px);
  font-family:'Inter',sans-serif; text-align:left;
}
.sidebar__link:hover  { background:rgba(255,255,255,.06); color:var(--white); }
.sidebar__link.active { background:rgba(255,255,255,.11); color:var(--white); }
.sidebar__link i      { width:17px; text-align:center; font-size:.8rem; flex-shrink:0; }
.sidebar__badge { margin-left:auto; background:var(--err); color:var(--white); font-size:.6rem; font-weight:700; padding:1px 6px; border-radius:10px; }
.main-content { padding:28px 32px; background:var(--white); }

/* ── STAT CARDS ─────────────────────────────────────────── */
.stat-card { background:var(--white); border:1px solid var(--border); border-radius:var(--r); padding:22px; }
.stat-card__icon { width:44px; height:44px; border-radius:var(--r-sm); display:flex; align-items:center; justify-content:center; font-size:1.1rem; margin-bottom:14px; background:var(--surface); color:var(--ink); }
.stat-card__num   { font-family:'Fraunces',serif; font-size:2rem; font-weight:900; color:var(--ink); }
.stat-card__label { font-size:.75rem; color:var(--muted); margin-top:2px; }
.stat-card--red   .stat-card__icon { background:var(--err-bg);  color:var(--err); }
.stat-card--teal  .stat-card__icon { background:var(--ok-bg);   color:var(--ok); }
.stat-card--gold  .stat-card__icon { background:var(--warn-bg); color:var(--warn); }
.stat-card--blue  .stat-card__icon { background:var(--info-bg); color:var(--info); }

/* ── KEYFRAMES ──────────────────────────────────────────── */
@keyframes spin    { to { transform:rotate(360deg); } }
@keyframes pulse   { 0%,100%{opacity:1;} 50%{opacity:.4;} }
@keyframes slideUp { from{opacity:0;transform:translateY(12px);} to{opacity:1;transform:translateY(0);} }

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width:1000px) {
  .container { padding: 0 28px; }      
  .curricula-grid { grid-template-columns:repeat(3,1fr); }
  .footer-grid  { grid-template-columns:1fr 1fr; gap:28px; }
}
@media (max-width:900px) {
  .grid-3       { grid-template-columns:1fr 1fr; }
  .app-layout   { grid-template-columns:1fr; }
  .sidebar      { display:none; }
  .main-content { padding:20px 16px; }
}
@media (max-width:640px) {
  .container { padding: 0 16px; }      
  .grid-2, .grid-3  { grid-template-columns:1fr; }
  .curricula-grid    { grid-template-columns:repeat(2,1fr); }
  .footer-grid       { grid-template-columns:1fr; gap:24px; }
  .navbar__links     { display:none; }
  .nav-toggle        { display:flex; }
  .hero              { padding:64px 0 52px; }
  .hero__actions     { flex-direction:column; align-items:stretch; }
  .hero__actions .btn { width:100%; justify-content:center; }
  .educator-strip__inner { flex-direction:column; align-items:flex-start; }
  .form-row          { grid-template-columns:1fr; }
  .footer__bottom    { flex-direction:column; gap:8px; text-align:center; }
}

@media (prefers-reduced-motion:reduce) {
  *, *::before, *::after { animation-duration:.01ms !important; transition-duration:.01ms !important; }
}
.tutors-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:20px; margin-top:24px; }
.tutor-card { background:var(--white); border:1px solid var(--border); border-radius:14px; padding:22px; text-align:center; }
.tutor-card__photo { width:72px; height:72px; border-radius:50%; object-fit:cover; margin:0 auto 12px; display:block; }
.tutor-card__photo--placeholder { display:flex; align-items:center; justify-content:center; background:var(--accent-lt); color:var(--ink); font-weight:700; font-size:1.4rem; }
.tutor-card__name { font-weight:700; font-size:.96rem; }
.tutor-card__school { font-size:.78rem; color:var(--muted); margin-bottom:6px; }
.tutor-card__subjects { font-size:.76rem; color:var(--accent); margin-bottom:8px; }
.tutor-card__bio { font-size:.82rem; color:var(--muted); line-height:1.45; }
.enrol-link-box { display:flex; align-items:center; gap:8px; background:#f5f5f5; padding:10px 14px; border-radius:8px; font-family:monospace; font-size:.82rem; flex-wrap:wrap; }

/* ============================================================
   FUNDAZI BRAND REFRESH — appended, additive only.
   Adds a secondary warm-gold accent alongside the existing ink/
   slate-blue palette, plus components for the new homepage
   "ecosystem" section. Nothing above this line was removed.
   ============================================================ */

:root {
  --gold:     #C9932A;
  --gold-lt:  #FBF2E1;
  --gold-md:  #A87621;
}

/* ── ECOSYSTEM CARDS (homepage "Two doors, one ecosystem") ── */
.ecosystem-grid { align-items: stretch; }

.ecosystem-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  box-shadow: var(--sh);
  transition: var(--ease);
}
.ecosystem-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-md);
}
.ecosystem-card__icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--accent-lt);
  color: var(--accent);
  font-size: 1.15rem;
  margin-bottom: 6px;
}
.ecosystem-card h4 { margin-bottom: 2px; }
.ecosystem-card p  { font-size: .9rem; flex: 1; }
.ecosystem-card .btn { align-self: flex-start; margin-top: 6px; }

.ecosystem-card--featured {
  background: linear-gradient(155deg, var(--accent) 0%, var(--accent-md) 100%);
  border-color: transparent;
  color: var(--white);
}
.ecosystem-card--featured h4,
.ecosystem-card--featured p { color: var(--white); }
.ecosystem-card--featured p { opacity: .88; }
.ecosystem-card--featured .ecosystem-card__icon {
  background: rgba(255,255,255,.16);
  color: var(--white);
}
.ecosystem-card--featured .btn--accent {
  background: var(--gold);
  color: var(--ink);
}
.ecosystem-card--featured .btn--accent:hover { background: #dba63a; }

.btn--sm { padding: 8px 18px; font-size: .8rem; }

@media (max-width: 900px) {
  .ecosystem-grid.grid-3 { grid-template-columns: 1fr; }
}
.fundazi-brand-logo{display:block;width:170px;height:auto;max-height:70px;object-fit:contain}@media(max-width:640px){.fundazi-brand-logo{width:140px;max-height:58px}}
