:root{
  --bg:#f6f7fb;
  --surface:#ffffff;
  --ink:#0b1020;
  --muted:#55627a;
  --line:rgba(15, 23, 42, .10);

  --aqua:#2ee7ff;
  --violet:#7c5cff;
  --mint:#6ef7c8;

  --shadow:0 22px 60px rgba(11,16,32,.10);
  --shadow2:0 40px 90px rgba(11,16,32,.14);
  --radius:26px;

  --max:1100px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Manrope, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:var(--bg);
  color:var(--ink);
}
a{text-decoration:none;color:inherit}
img{max-width:100%;display:block}
.wrap{max-width:var(--max);margin:auto;padding:0 24px}
h1,h2,h3{font-family:"Space Grotesk", Manrope, system-ui, sans-serif}
p{line-height:1.65}

/* ✅ Make anchor jumps land below sticky header (from styles.css) */
section, [id]{ scroll-margin-top: 110px; }

/* Header (matches enrol) */
.site-header{
  position:sticky;top:0;
  background:rgba(246,247,251,.72);
  backdrop-filter:blur(14px);
  z-index:1000;
  border-bottom:1px solid rgba(15, 23, 42, .10);
}
.nav{display:flex;align-items:center;gap:16px;padding:14px 0}
.brand{display:flex;align-items:center;gap:12px;font-weight:900}
.brand-name{letter-spacing:.2px}

.mark{
  width:54px;height:54px;border-radius:18px;
  position:relative;
  display:grid;place-items:center;
  background:linear-gradient(135deg, rgba(46,231,255,.24), rgba(124,92,255,.24));
  border:1px solid rgba(15, 23, 42, .10);
  box-shadow:0 18px 45px rgba(124,92,255,.12);
  overflow:hidden;
}
.mark::before{
  content:"";
  position:absolute; inset:-40%;
  background:conic-gradient(from 180deg, rgba(46,231,255,.85), rgba(124,92,255,.85), rgba(110,247,200,.75), rgba(46,231,255,.85));
  animation:ring 5.5s linear infinite;
  filter:blur(10px);
  opacity:.55;
}
.mark::after{
  content:"";
  position:absolute; inset:1px;
  background:rgba(246,247,251,.85);
  border-radius:16px;
  border:1px solid rgba(15, 23, 42, .08);
}
@keyframes ring{to{transform:rotate(360deg)}}

.mark img{
  position:relative; z-index:2;
  width:100%; height:100%;
  object-fit:cover;
  border-radius:16px;
}
.mark-fallback{
  position:relative; z-index:2;
  font-weight:1100;
  color:rgba(11,16,32,.85);
}
.mark:not(.no-img) .mark-fallback{display:none}

.links{margin-left:auto;display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.links a{
  font-weight:800;
  padding:10px 14px;
  border-radius:999px;
  line-height:1;
  color:rgba(11,16,32,.78);
  border:1px solid transparent;
  transition:transform .18s ease, background .18s ease, border-color .18s ease;
}
.links a:hover{
  background:rgba(124,92,255,.08);
  border-color:rgba(124,92,255,.18);
  transform:translateY(-1px);
}
.links .link-cta{
  background:linear-gradient(135deg, rgba(46,231,255,.22), rgba(124,92,255,.18));
  border:1px solid rgba(124,92,255,.22);
}
.links a.active{
  background:rgba(15, 23, 42, .06);
  border-color:rgba(15, 23, 42, .10);
}

/* Hero */
.hero{
  position:relative;
  overflow:hidden;
  padding:74px 0 54px;
  background:
    radial-gradient(900px 420px at 15% 15%, rgba(46,231,255,.22), transparent 60%),
    radial-gradient(800px 420px at 85% 30%, rgba(124,92,255,.22), transparent 60%),
    radial-gradient(900px 520px at 55% 110%, rgba(110,247,200,.16), transparent 60%),
    linear-gradient(180deg, #ffffff, #f6f7fb);
  border-bottom:1px solid rgba(15, 23, 42, .08);
}
.hero::before{
  content:"";
  position:absolute; inset:0;
  background-image:
    linear-gradient(rgba(15, 23, 42, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, .05) 1px, transparent 1px);
  background-size:60px 60px;
  opacity:.35;
  mask-image:radial-gradient(60% 60% at 30% 20%, #000 40%, transparent 80%);
  pointer-events:none;
}
.hero-grid{
  position:relative;
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:28px;
  align-items:start;
  z-index:1;
}
.pill{
  display:inline-flex;align-items:center;
  padding:10px 14px;
  border-radius:999px;
  font-weight:1000;
  color:rgba(11,16,32,.80);
  background:rgba(255,255,255,.72);
  border:1px solid rgba(15, 23, 42, .10);
  box-shadow:0 14px 32px rgba(11,16,32,.06);
}
h1{
  font-size:54px;
  line-height:1.03;
  margin:16px 0 10px;
  letter-spacing:-.9px;
}
.lead{
  max-width:680px;
  font-size:18px;
  color:rgba(11,16,32,.70);
}
.chips{margin-top:16px;display:flex;gap:10px;flex-wrap:wrap}
.chip{
  display:inline-flex;align-items:center;
  padding:9px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.70);
  border:1px solid rgba(15, 23, 42, .10);
  font-weight:900;
  font-size:13px;
  color:rgba(11,16,32,.72);
}

/* Futuristic hero card */
.hero-card{display:flex}
.glass{
  width:100%;
  background:rgba(255,255,255,.78);
  border:1px solid rgba(15, 23, 42, .10);
  border-radius:32px;
  box-shadow:var(--shadow2);
  overflow:hidden;
  position:relative;
}
.glass::before{
  content:"";
  position:absolute; inset:-40%;
  background:conic-gradient(from 180deg, rgba(46,231,255,.25), rgba(124,92,255,.25), rgba(110,247,200,.18), rgba(46,231,255,.25));
  filter:blur(24px);
  opacity:.20;
}
.glass-top{
  position:relative;
  display:flex;
  gap:8px;
  padding:14px 16px;
  border-bottom:1px solid rgba(15, 23, 42, .08);
}
.signal{
  width:10px;height:10px;border-radius:999px;
  background:linear-gradient(135deg, var(--violet), var(--aqua));
  opacity:.65;
}
.glass-body{
  position:relative;
  padding:18px 18px 20px;
}
.metric{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  padding:12px 12px;
  border-radius:18px;
  background:rgba(255,255,255,.75);
  border:1px solid rgba(15, 23, 42, .08);
  margin-bottom:10px;
}
.metric .k{font-weight:1000;color:rgba(11,16,32,.72)}
.metric .v{font-weight:1100;letter-spacing:-.2px}
.divider{
  height:1px;
  background:rgba(15, 23, 42, .10);
  margin:14px 4px 12px;
}
.mini{margin:0;color:rgba(11,16,32,.62);font-weight:800}

/* Sections */
.section{padding:74px 0}
.section.alt{
  background:
    radial-gradient(900px 420px at 10% 20%, rgba(46,231,255,.10), transparent 60%),
    radial-gradient(900px 420px at 90% 40%, rgba(124,92,255,.10), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.55), rgba(246,247,251,1));
  border-top:1px solid rgba(15, 23, 42, .08);
  border-bottom:1px solid rgba(15, 23, 42, .08);
}
.section-head{max-width:760px}
.section-head h2{
  margin:0;
  font-size:38px;
  letter-spacing:-.6px;
}
.section-head p{margin:10px 0 0}
.muted{color:var(--muted)}

/* Cards */
.cards{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:14px;
  margin-top:22px;
}
.card{
  background:rgba(255,255,255,.78);
  border:1px solid rgba(15, 23, 42, .10);
  border-radius:26px;
  box-shadow:var(--shadow);
  padding:18px;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover{
  transform:translateY(-3px);
  box-shadow:0 34px 80px rgba(11,16,32,.12);
  border-color:rgba(124,92,255,.22);
}
.card h3{margin:0 0 8px;letter-spacing:-.3px}
.card p{margin:0}

/* Two-col */
.two-col{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:18px;
  align-items:start;
}

/* List */
.list{display:grid;gap:12px;margin-top:16px}
.li{
  display:flex; gap:12px; align-items:flex-start;
  padding:14px;
  border-radius:20px;
  background:rgba(255,255,255,.75);
  border:1px solid rgba(15, 23, 42, .08);
}
.dot{
  width:10px;height:10px;border-radius:999px;
  margin-top:6px;
  background:linear-gradient(135deg, var(--violet), var(--aqua));
  box-shadow:0 10px 20px rgba(124,92,255,.16);
  flex:0 0 auto;
}
.li strong{display:block;font-weight:1100}
.li p{margin:4px 0 0;color:rgba(11,16,32,.62);font-weight:800;font-size:13px}

/* Actions */
.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:18px}
.btn{
  padding:14px 16px;
  border-radius:999px;
  font-weight:1000;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid transparent;
  line-height:1;
  cursor:pointer;
  transition:transform .18s ease, box-shadow .18s ease;
}
.btn:hover{transform:translateY(-2px)}
.btn-primary{
  color:#07101a;
  background:linear-gradient(135deg, rgba(46,231,255,.85), rgba(124,92,255,.80));
  box-shadow:0 18px 40px rgba(124,92,255,.18);
}
.btn-ghost{
  background:rgba(255,255,255,.70);
  border:1px solid rgba(15, 23, 42, .12);
  color:rgba(11,16,32,.78);
}
.btn-ghost:hover{box-shadow:0 18px 40px rgba(11,16,32,.08)}

/* Panel */
.panel{
  background:rgba(255,255,255,.78);
  border:1px solid rgba(15, 23, 42, .10);
  border-radius:28px;
  box-shadow:var(--shadow2);
  padding:20px;
  position:relative;
  overflow:hidden;
}
.panel::before{
  content:"";
  position:absolute; inset:-40%;
  background:conic-gradient(from 180deg, rgba(46,231,255,.20), rgba(124,92,255,.18), rgba(110,247,200,.14), rgba(46,231,255,.20));
  filter:blur(24px);
  opacity:.18;
}
.panel h3{position:relative;margin:0 0 10px;letter-spacing:-.3px}
.panel p{position:relative;margin:0}
.panel-row{position:relative;display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}
.pill-mini{
  padding:8px 12px;
  border-radius:999px;
  background:rgba(124,92,255,.10);
  border:1px solid rgba(124,92,255,.18);
  font-weight:1000;
  font-size:12px;
  color:rgba(11,16,32,.75);
}
.panel-foot{position:relative;margin-top:14px}
.tiny{font-size:13px;color:rgba(11,16,32,.65);font-weight:800}

/* Programs */
.programs{
  display:grid;
  grid-template-columns:repeat(5, 1fr);
  gap:14px;
  margin-top:18px;
}
.program{
  background:rgba(255,255,255,.78);
  border:1px solid rgba(15, 23, 42, .10);
  border-radius:26px;
  box-shadow:var(--shadow);
  padding:16px;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.program:hover{
  transform:translateY(-3px);
  box-shadow:0 34px 80px rgba(11,16,32,.12);
  border-color:rgba(46,231,255,.25);
}
.program-top{
  display:flex; align-items:center; justify-content:space-between; gap:10px;
  margin-bottom:10px;
}
.program-title{font-weight:1100;letter-spacing:-.2px}
.program-tag{
  font-weight:1000;
  font-size:12px;
  padding:7px 10px;
  border-radius:999px;
  background:rgba(46,231,255,.12);
  border:1px solid rgba(46,231,255,.20);
  color:rgba(11,16,32,.75);
}
.go{display:inline-block;margin-top:10px;font-weight:1100;color:rgba(68,56,255,.95)}

/* Footer */
.site-footer{
  background:linear-gradient(180deg, rgba(255,255,255,.0), rgba(246,247,251,1));
  border-top:1px solid rgba(15, 23, 42, .10);
  padding:70px 0 44px;
}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:40px}
.site-footer h4{margin:0 0 12px}
.site-footer p,.site-footer a{color:rgba(11,16,32,.72)}
.footer-title{margin:0;font-weight:1100}
.small{font-size:13px}
.dim{opacity:.65}

/* Reveal */
.reveal{
  opacity:0;
  transform:translateY(14px);
  transition:opacity .55s ease, transform .55s ease;
  transition-delay:var(--d, 0ms);
}
.reveal.is-visible{opacity:1;transform:translateY(0)}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  *{animation:none!important;transition:none!important;scroll-behavior:auto!important}
  .reveal{opacity:1;transform:none}
}

/* Responsive */
@media(max-width:1100px){
  .programs{grid-template-columns:repeat(2, 1fr)}
  .cards{grid-template-columns:repeat(2, 1fr)}
}
@media(max-width:980px){
  .hero-grid{grid-template-columns:1fr}
  .two-col{grid-template-columns:1fr}
  h1{font-size:44px}
}
@media(max-width:560px){
  .wrap{padding:0 18px}
  .links a{padding:10px 12px}
  .programs{grid-template-columns:1fr}
  .cards{grid-template-columns:1fr}
}

/* =========================
   ✅ MOBILE HEADER (CENTERED) — from styles.css
   ========================= */
@media (max-width: 680px){

  .site-header{
    padding-top: env(safe-area-inset-top);
  }

  /* stacked & centered */
  .nav{
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 12px 0;
  }

  /* brand centered */
  .brand{
    justify-content: center;
    text-align: center;
    gap: 10px;
  }

  .mark{
    width: 44px;
    height: 44px;
    border-radius: 16px;
  }
  .mark::after{ border-radius: 14px; }

  .brand-name{
    font-size: 16px;
    color: var(--ink);
  }

  /* nav links centered row */
  .links{
    margin-left: 0;
    width: 100%;
    justify-content: center;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 10px;
    padding: 2px 6px 6px;
  }
  .links::-webkit-scrollbar{ display:none; }

  .links a{
    white-space: nowrap;
    font-size: 14px;
    padding: 10px 12px;
  }

  /* CTA slightly bigger but still fits */
  .links .link-cta{
    padding: 11px 16px;
  }

  /* anchor jumps land under taller stacked header */
  section, [id]{ scroll-margin-top: 150px; }
}
