/* ═══════════════════════════════════════════════════════════════
   Global Education Observatory (GEO)
   Shared Stylesheet  ·  Charcoal / Teal / Terracotta
   ═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600&family=DM+Mono:wght@400;500&display=swap');

/* ── Variables ─────────────────────────────────────────────────── */
:root {
  --charcoal:      #1C2B3A;
  --charcoal-light:#243447;
  --charcoal-mid:  #2E4057;
  --teal:          #00897B;
  --teal-light:    #00A896;
  --teal-muted:    #004D45;
  --teal-wash:     #E0F2F0;
  --terra:         #E07B54;
  --terra-light:   #F0956D;
  --terra-wash:    #FDF0EA;
  --white:         #FAFAFA;
  --off-white:     #F2F0EB;
  --text-primary:  #1C2B3A;
  --text-secondary:#4A6076;
  --text-muted:    #7A94A8;
  --border:        #D8E3EC;
  --border-light:  #EBF2F7;

  --font-display:  'DM Serif Display', Georgia, serif;
  --font-body:     'DM Sans', system-ui, sans-serif;
  --font-mono:     'DM Mono', 'Courier New', monospace;

  --radius-sm:     4px;
  --radius:        10px;
  --radius-lg:     18px;
  --radius-xl:     28px;

  --shadow-sm:     0 1px 3px rgba(28,43,58,0.08), 0 1px 2px rgba(28,43,58,0.04);
  --shadow:        0 4px 16px rgba(28,43,58,0.10), 0 1px 4px rgba(28,43,58,0.06);
  --shadow-lg:     0 12px 40px rgba(28,43,58,0.14), 0 4px 12px rgba(28,43,58,0.08);
  --shadow-teal:   0 8px 32px rgba(0,137,123,0.20);

  --transition:    all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-primary);
  background: var(--white);
}
img { display: block; max-width: 100%; }
a  { color: inherit; text-decoration: none; }

/* ── Typography ────────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-body);
  font-weight: 600;
  line-height: 1.25;
  color: var(--charcoal);
}
.serif { font-family: var(--font-display); font-weight: 400; }
.mono  { font-family: var(--font-mono); }

/* ── Layout ────────────────────────────────────────────────────── */
.container        { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 32px; }
.container--narrow{ max-width: 800px;  margin: 0 auto; padding: 0 32px; }

/* ── Site Nav ──────────────────────────────────────────────────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(28,43,58,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.site-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  padding: 0 32px;
  max-width: 1180px;
  margin: 0 auto;
}

.site-nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
}

.site-nav__brand-mark {
  width: 28px; height: 28px;
  background: var(--teal);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 14px; color: white;
  flex-shrink: 0;
}

.site-nav__brand-text {
  font-weight: 600; font-size: 15px;
  color: var(--white); letter-spacing: 0.01em;
}

.site-nav__brand-sub {
  font-size: 11px; font-weight: 400;
  color: rgba(255,255,255,0.40);
  letter-spacing: 0.05em; text-transform: uppercase;
  display: block; line-height: 1;
}

.site-nav__links {
  display: flex; align-items: center;
  gap: 4px; list-style: none;
}

.site-nav__links a {
  font-size: 13.5px; font-weight: 500;
  color: rgba(255,255,255,0.60);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.site-nav__links a:hover { color: var(--white); background: rgba(255,255,255,0.08); }
.site-nav__links a.active { color: var(--teal-light); }

.site-nav__links .nav-divider {
  width: 1px; height: 18px;
  background: rgba(255,255,255,0.12);
  margin: 0 6px;
}

/* ── Badges ────────────────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--font-mono); font-size: 11px;
  font-weight: 500; letter-spacing: 0.04em;
  text-transform: uppercase; padding: 3px 9px;
  border-radius: 20px; white-space: nowrap;
}

.badge--available {
  background: rgba(0,137,123,0.12); color: var(--teal);
  border: 1px solid rgba(0,137,123,0.25);
}
.badge--available::before {
  content: ''; width: 6px; height: 6px;
  background: var(--teal); border-radius: 50%;
  animation: pulse-teal 2s infinite;
}

.badge--soon {
  background: rgba(224,123,84,0.10); color: var(--terra);
  border: 1px solid rgba(224,123,84,0.22);
}
.badge--soon::before {
  content: ''; width: 6px; height: 6px;
  background: var(--terra); border-radius: 50%;
}

@keyframes pulse-teal {
  0%,100% { opacity:1; box-shadow: 0 0 0 0 rgba(0,137,123,0.4); }
  50%      { opacity:0.7; box-shadow: 0 0 0 4px rgba(0,137,123,0); }
}

/* ── Buttons ───────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-body); font-size: 14px; font-weight: 500;
  padding: 10px 20px; border-radius: var(--radius);
  border: none; cursor: pointer;
  transition: var(--transition); white-space: nowrap;
}
.btn svg { width: 15px; height: 15px; flex-shrink: 0; }

.btn--primary { background: var(--teal); color: white; box-shadow: var(--shadow-teal); }
.btn--primary:hover { background: var(--teal-light); transform: translateY(-1px); box-shadow: 0 10px 36px rgba(0,137,123,0.28); }

.btn--secondary { background: white; color: var(--charcoal); border: 1.5px solid var(--border); box-shadow: var(--shadow-sm); }
.btn--secondary:hover { border-color: var(--teal); color: var(--teal); transform: translateY(-1px); }

.btn--ghost { background: transparent; color: rgba(255,255,255,0.75); border: 1.5px solid rgba(255,255,255,0.2); }
.btn--ghost:hover { background: rgba(255,255,255,0.08); color: white; border-color: rgba(255,255,255,0.4); }

.btn--disabled { background: var(--border); color: var(--text-muted); cursor: not-allowed; pointer-events: none; }

/* ── Section label ─────────────────────────────────────────────── */
.section-label {
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 12px;
}

/* ── Tags ──────────────────────────────────────────────────────── */
.tag {
  display: inline-block; font-size: 12px; font-weight: 500;
  padding: 3px 10px; border-radius: 20px;
  background: var(--off-white); color: var(--text-secondary);
  border: 1px solid var(--border);
}
.tag--teal { background: var(--teal-wash); color: var(--teal-muted); border-color: rgba(0,137,123,0.18); }

/* ── Footer ────────────────────────────────────────────────────── */
.site-footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.45);
  padding: 40px 32px;
}

.site-footer__inner {
  max-width: 1180px; margin: 0 auto;
  display: flex; align-items: center;
  justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}

.site-footer__brand { font-family: var(--font-display); font-size: 18px; color: var(--white); }
.site-footer__meta  { font-size: 13px; line-height: 1.6; margin-top: 4px; }

.site-footer__links { display: flex; gap: 20px; list-style: none; }
.site-footer__links a { font-size: 13px; color: rgba(255,255,255,0.40); transition: var(--transition); }
.site-footer__links a:hover { color: var(--teal-light); }

/* ── Animations ────────────────────────────────────────────────── */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.animate-fade-up { animation: fade-up 0.55s cubic-bezier(0.4,0,0.2,1) both; }
.animate-fade-in { animation: fade-in 0.4s ease both; }
.delay-1 { animation-delay: 0.08s; }
.delay-2 { animation-delay: 0.16s; }
.delay-3 { animation-delay: 0.24s; }
.delay-4 { animation-delay: 0.32s; }
.delay-5 { animation-delay: 0.40s; }

/* ── Responsive ────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .container, .container--narrow { padding: 0 20px; }
  .site-nav__links { display: none; }
  .site-footer__inner { flex-direction: column; align-items: flex-start; }
}
