/* Canva x LSETF programme site. Mobile-first. Tokens first, then components in page order. */

:root {
  /* Canva palette */
  --teal: #00c4cc;
  --purple: #7d2ae8;
  --violet: #8b3dff;
  --blue: #4853fa;
  --pink: #ee4dfb;
  --green: #0ba84a;
  /* Neutrals */
  --ink: #0e1318;
  --ink-2: #4a5360;
  --paper: #ffffff;
  --mist: #f5f2ff;
  --dark: #130a26;
  --line: rgba(14, 19, 24, 0.1);
  --line-light: rgba(255, 255, 255, 0.12);

  --grad: linear-gradient(90deg, var(--teal), var(--purple));
  --grad-btn: linear-gradient(90deg, #7d2ae8, #8b3dff 55%, #a259ff);

  --font: "Plus Jakarta Sans", "Segoe UI", Helvetica, Arial, sans-serif;
  --pad: clamp(1.25rem, 5vw, 7rem);
  --radius: 28px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; text-wrap: pretty; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; padding-inline: var(--pad); }

.eyebrow {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--violet);
}
.on-dark .eyebrow { color: var(--teal); }
.eyebrow.light { color: #fff; opacity: 0.85; }

.h2 { font-size: clamp(2.1rem, 5.6vw, 4rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.025em; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--ink-2); }
.on-dark .lead { color: rgba(255, 255, 255, 0.68); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.8rem 1.7rem;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  color: #fff;
  background: var(--grad-btn);
  box-shadow: 0 10px 28px -10px rgba(125, 42, 232, 0.7);
  transition: transform 0.3s var(--ease), box-shadow 0.3s, opacity 0.3s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -10px rgba(125, 42, 232, 0.8); }
.btn:active { transform: translateY(0); }
.btn .arrow { transition: transform 0.3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn.ghost { background: transparent; color: inherit; box-shadow: none; border: 1.5px solid currentColor; opacity: 0.85; }
.btn.ghost:hover { opacity: 1; color: var(--violet); }
.on-dark .btn.ghost:hover { color: var(--teal); }
.btn.white { background: #fff; color: var(--purple); box-shadow: 0 10px 28px -12px rgba(0, 0, 0, 0.5); }
.btn.lg { min-height: 56px; padding: 1rem 2.1rem; font-size: 1.1rem; }
.btn[aria-disabled="true"] { background: #e7e3f3; color: #7a7490; box-shadow: none; pointer-events: none; }

/* Scroll reveal */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal].in { opacity: 1; transform: none; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  padding: 1.4rem clamp(1.5rem, 4vw, 3rem) 0;
  transition: transform 0.4s var(--ease);
  pointer-events: none;
}
.nav.hide { transform: translateY(-120%); }
.nav-bar {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0.6rem 0.5rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 40px -18px rgba(19, 10, 38, 0.45);
}
.lockup { display: flex; align-items: center; min-height: 44px; gap: 0.7rem; text-decoration: none; color: var(--ink); min-width: 0; }
.lockup img { height: 26px; width: auto; }
.lockup img.logo-canva { height: 22px; }
.lockup .x { font-weight: 500; color: #9aa0aa; }
.logo-text { font-weight: 800; font-size: 1.35rem; letter-spacing: -0.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-links { display: none; align-items: center; gap: 0.3rem; }
.nav-links a { padding: 0.55rem 1rem; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 0.97rem; transition: background 0.25s, color 0.25s; }
.nav-links a:hover { background: var(--mist); color: var(--purple); }
.nav-links a[aria-current="page"] { color: var(--purple); }
.nav-cta { display: none; }
.nav-toggle {
  width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--ink); color: #fff;
  display: grid; place-items: center; flex: none;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.2s; }
.nav-toggle span + span { margin-top: 5px; }
.nav.open .nav-toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav.open .nav-toggle span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.nav-menu {
  pointer-events: auto;
  margin-top: 0.6rem;
  padding: 1rem;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 60px -20px rgba(19, 10, 38, 0.5);
  display: grid;
  gap: 0.25rem;
  opacity: 0;
  transform: translateY(-10px) scale(0.98);
  visibility: hidden;
  transition: opacity 0.3s, transform 0.3s var(--ease), visibility 0.3s;
}
.nav.open .nav-menu { opacity: 1; transform: none; visibility: visible; }
.nav-menu a:not(.btn) { padding: 0.9rem 1rem; border-radius: 14px; font-weight: 700; font-size: 1.15rem; text-decoration: none; }
.nav-menu a:not(.btn):active { background: var(--mist); }
.nav-menu .btn { margin-top: 0.5rem; }

/* Small phones: keep both logos and the menu button inside the bar */
@media (max-width: 380px) {
  .nav { padding-inline: 0.75rem; }
  .nav-bar { gap: 0.5rem; padding-left: 0.8rem; }
  .lockup { gap: 0.4rem; }
  .lockup img { height: 22px; }
  .lockup img.logo-canva { height: 18px; }
  .nav-toggle { width: 42px; height: 42px; }
}
.nav-menu .btn { padding-inline: 1rem; min-width: 0; text-align: center; }

@media (min-width: 900px) {
  .nav-links, .nav-cta { display: flex; }
  .nav-toggle, .nav-menu { display: none; }
  .lockup img { height: 34px; }
  .lockup img.logo-canva { height: 28px; }
}

/* ---------- Splash ---------- */
#splash { position: fixed; inset: 0; z-index: 9999; overflow: hidden; }
#splash .splash-panel { position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; background: var(--dark); display: grid; place-items: center; }
#splash .splash-bg { position: absolute; top: 0; left: 0; width: 100vw; height: 100vh; height: 100svh; }
.splash-words { position: absolute; inset: 0; z-index: 2; display: grid; grid-template-rows: repeat(6, 1fr); overflow: hidden; --row: calc(100vh / 6); }
@supports (height: 100svh) { .splash-words { --row: calc(100svh / 6); } }
.sw-row { display: flex; align-items: center; overflow: hidden; }
.sw-track { display: flex; width: max-content; animation: slide 24s linear infinite; will-change: transform; }
.sw-row:nth-child(even) .sw-track { animation-direction: reverse; animation-duration: 30s; }
.sw-track span { flex: none; padding-right: 0.3em; font-size: calc(var(--row) * 1.08); font-weight: 800; line-height: 1; letter-spacing: -0.045em; white-space: nowrap; color: #fff; }
.sw-track span:nth-child(even) { color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, 0.9); }
.sw-row:nth-child(even) .sw-track span:nth-child(odd) { color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, 0.9); }
.sw-row:nth-child(even) .sw-track span:nth-child(even) { color: #fff; -webkit-text-stroke: 0; }
.splash-meter { position: absolute; bottom: 2.2rem; left: 50%; transform: translateX(-50%); z-index: 3; display: grid; justify-items: center; gap: 0.75rem; padding: 0.9rem 1.4rem; border-radius: 999px; background: rgba(19, 10, 38, 0.72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.splash-meter .track { width: min(58vw, 220px); height: 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.18); overflow: hidden; }
.splash-meter .bar { height: 100%; background: linear-gradient(90deg, var(--teal), #7ef0f4); transform: scaleX(0); transform-origin: left center; }
.splash-meter span { font-size: 0.69rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); white-space: nowrap; }
html.no-splash #splash { display: none; }

/* ---------- Animated grainy gradient ---------- */
.grainient { position: absolute; inset: 0; overflow: hidden; background: linear-gradient(135deg, #00a9b3 0%, #2a3fc9 45%, #6a1fd6 100%); }
.grainient i { position: absolute; border-radius: 50%; opacity: 0.95; will-change: transform; background: radial-gradient(circle at center, var(--blob) 0%, color-mix(in srgb, var(--blob) 55%, transparent) 38%, transparent 70%); }
.grainient i:nth-child(1) { --blob: var(--teal); width: 95vmax; height: 95vmax; left: -36vmax; top: -40vmax; animation: drift1 18s ease-in-out infinite alternate; }
.grainient i:nth-child(2) { --blob: var(--purple); width: 90vmax; height: 90vmax; right: -38vmax; bottom: -42vmax; animation: drift2 22s ease-in-out infinite alternate; }
.grainient i:nth-child(3) { --blob: #4b2fb8; width: 60vmax; height: 60vmax; left: 22%; top: 20%; animation: drift3 26s ease-in-out infinite alternate; }
.grainient i:nth-child(4) { --blob: var(--pink); width: 44vmax; height: 44vmax; right: 2%; top: -18vmax; opacity: 0.5; animation: drift1 30s ease-in-out infinite alternate-reverse; }
.grainient::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.22;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@keyframes drift1 { to { transform: translate(18vmax, 12vmax) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-16vmax, -14vmax) scale(1.1); } }
@keyframes drift3 { to { transform: translate(-12vmax, 10vmax) scale(1.3); } }

/* ---------- Hero ---------- */
.hero-wrap { padding: 0.75rem; background: var(--paper); }
.hero-card {
  position: relative;
  overflow: hidden;
  min-height: calc(100svh - 1.5rem);
  border-radius: 24px;
  background: var(--dark);
  color: #fff;
  display: flex;
  flex-direction: column;
}
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; opacity: 0.4; mix-blend-mode: luminosity; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(19, 10, 38, 0.15), rgba(19, 10, 38, 0.6)); }
.hero-inner { position: relative; z-index: 2; flex: 1; display: grid; gap: 2.25rem; align-content: center; padding: 7.5rem 1.5rem 2.5rem; text-align: center; }
.hero h1, .hero-card h1 { font-size: clamp(2.6rem, 9vw, 5.4rem); font-weight: 800; line-height: 1.02; letter-spacing: -0.035em; }
.hero-card h1 span { display: block; }
.hero-card h1 em { font-style: normal; color: #7ef0f4; }
.hero-side { display: grid; gap: 2rem; justify-items: center; }
.trust { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.avatars { display: flex; }
.avatars img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 2px solid var(--dark); margin-left: -12px; }
.avatars img:first-child { margin-left: 0; }
.trust b { display: block; font-size: 1.05rem; }
.trust small { color: rgba(255, 255, 255, 0.72); font-size: 0.93rem; }
.hero-copy { max-width: 26rem; display: grid; gap: 1.4rem; justify-items: center; }
.hero-copy p { color: rgba(255, 255, 255, 0.85); font-size: 1.08rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }
.hero-in { opacity: 0; transform: translateY(26px); }
html.reduced .hero-in { opacity: 1; transform: none; }

@media (min-width: 768px) {
  .hero-wrap { padding: 1rem; }
  .hero-card { border-radius: 32px; min-height: calc(100svh - 2rem); }
}
@media (min-width: 1024px) {
  .hero-inner { grid-template-columns: 1.25fr 0.5fr 1fr; text-align: left; padding: 9rem var(--pad) 4rem; align-items: stretch; align-content: stretch; }
  .hero-inner h1 { align-self: center; }
  .hero-side { grid-column: 3; justify-items: start; align-content: space-between; padding-block: 2rem; }
  .trust { flex-direction: row; text-align: left; }
  .hero-copy { justify-items: start; }
  .hero-actions { justify-content: flex-start; }
  .hero-photo { opacity: 0.45; }
}

/* ---------- Image tile marquee ---------- */
.tiles { background: var(--dark); overflow: hidden; }
.tiles-track { display: flex; width: max-content; animation: slide 46s linear infinite; }
.tiles:hover .tiles-track { animation-play-state: paused; }
.tile { position: relative; flex: none; width: 300px; height: 280px; overflow: hidden; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(19, 10, 38, 0.75), transparent 55%); opacity: 0; transition: opacity 0.5s; }
.tile span { position: absolute; left: 1.5rem; bottom: 1.4rem; z-index: 1; color: #fff; font-weight: 700; font-size: 1.1rem; opacity: 0; transform: translateY(8px); transition: opacity 0.5s, transform 0.5s var(--ease); }
.tile:hover img { transform: scale(1.06); }
.tile:hover::after, .tile:hover span { opacity: 1; transform: none; }
@media (min-width: 768px) { .tile { width: 360px; height: 400px; } }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- About + pinned zoom ---------- */
.about { padding-block: clamp(5rem, 12vw, 11rem) clamp(4rem, 8vw, 7rem); position: relative; overflow: hidden; }
.about-top { display: grid; gap: 1.5rem; }
.about-top h2 { font-size: clamp(1.75rem, 3.9vw, 3rem); font-weight: 500; line-height: 1.14; letter-spacing: -0.02em; }
.about-top h2 b { font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.about-stats { display: grid; gap: 2.5rem; margin-top: clamp(3rem, 8vw, 7rem); padding-top: 2.5rem; border-top: 1px solid var(--line); }
.stat b { display: block; white-space: nowrap; font-size: clamp(3.2rem, 5.4vw, 4.4rem); font-weight: 800; line-height: 1; letter-spacing: -0.04em; }
.stat span { font-size: 1.2rem; color: var(--ink-2); }
.about-copy p { font-size: 1.2rem; color: var(--ink-2); }
.about-copy .hero-actions { margin-top: 2rem; justify-content: flex-start; }
@media (min-width: 768px) { .about-stats { grid-template-columns: 1fr 1fr 1.6fr; gap: 3.5rem; } }
@media (min-width: 1024px) { .about-top { grid-template-columns: 1fr 1.6fr; gap: 4rem; } }

.zoom { position: relative; height: 100vh; height: 100svh; overflow: hidden; }
.zoom > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.hotspot { position: absolute; left: 1rem; right: 1rem; bottom: 1.5rem; }
.hotspot .dot, .hotspot .dash { display: none; }
.hotspot .tip { position: static !important; width: auto !important; }
.hotspot .dot { position: relative; width: 20px; height: 20px; }
.hotspot .dot::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--teal); animation: ping 1.4s cubic-bezier(0, 0, 0.2, 1) infinite; }
.hotspot .dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--violet); border: 2px solid #fff; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35); }
.hotspot .dash { position: absolute; top: 9px; left: 20px; width: 96px; border-top: 2px dashed #fff; }
.hotspot .tip { position: absolute; top: -44px; left: 124px; width: 15rem; padding: 1rem; background: #fff; border-radius: 14px; box-shadow: 0 24px 50px -16px rgba(0, 0, 0, 0.45); }
.tip h3 { font-size: 0.95rem; font-weight: 800; }
.tip p { font-size: 0.8rem; color: var(--ink-2); margin-top: 0.25rem; line-height: 1.45; }
.tip a { display: block; margin-top: 0.75rem; padding: 0.55rem; text-align: center; font-size: 0.8rem; font-weight: 700; text-decoration: none; color: #fff; background: var(--violet); border-radius: 9px; transition: background 0.25s; }
.tip a:hover { background: var(--purple); }
@keyframes ping { 75%, 100% { transform: scale(2.2); opacity: 0; } }
@media (min-width: 768px) {
  .hotspot { top: 46%; left: 54%; right: auto; bottom: auto; }
  .hotspot .dot, .hotspot .dash { display: block; }
  .hotspot .tip { position: absolute !important; width: 15rem !important; }
}

/* ---------- Features: text that opens into a dark panel ---------- */
.feat-intro { max-width: 56rem; margin-inline: auto; text-align: center; padding-inline: var(--pad); }
.feat-intro h2 { font-size: clamp(2.2rem, 6.4vw, 4.6rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.03em; margin-top: 1.5rem; }
.feat-intro p { margin: 1.75rem auto 0; max-width: 40rem; }
.feat-intro .btn { margin-top: 2.25rem; }
.feat-light { background: var(--mist); padding-block: 5rem; position: relative; }
.dots { background-image: radial-gradient(rgba(125, 42, 232, 0.22) 1.5px, transparent 1.6px); background-size: 26px 26px; }
.feat-dark { position: relative; overflow: hidden; background: var(--dark); color: #fff; }
.feat-grid { position: relative; z-index: 1; display: grid; gap: 1.5rem; padding: 4rem var(--pad); }
.fcard {
  position: relative;
  overflow: hidden;
  min-height: 380px;
  padding: 1.75rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line-light);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  transition: transform 0.35s var(--ease), border-color 0.3s, background 0.3s, box-shadow 0.3s;
}
.fcard::before { content: ""; position: absolute; width: 18rem; height: 18rem; left: var(--mx, 50%); top: var(--my, 50%); transform: translate(-50%, -50%); border-radius: 50%; background: rgba(0, 196, 204, 0.3); filter: blur(60px); opacity: 0; transition: opacity 0.3s; pointer-events: none; }
.fcard:hover { transform: translateY(-6px); border-color: rgba(0, 196, 204, 0.55); background: rgba(255, 255, 255, 0.1); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7); }
.fcard:hover::before { opacity: 1; }
.fcard h3 { position: relative; font-size: clamp(1.5rem, 2.6vw, 1.9rem); font-weight: 800; line-height: 1.15; }
.fcard h3 small { display: block; font-size: 0.95rem; font-weight: 700; color: rgba(255, 255, 255, 0.75); letter-spacing: 0.1em; margin-bottom: 0.6rem; }
.fcard p { position: relative; max-width: 24rem; font-size: 1.1rem; color: rgba(255, 255, 255, 0.72); }
.fcard .big { position: absolute; right: 1.5rem; bottom: 0.5rem; font-size: clamp(6rem, 12vw, 10rem); font-weight: 800; line-height: 1; letter-spacing: -0.05em; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.28); transition: transform 0.5s var(--ease), -webkit-text-stroke-color 0.3s; pointer-events: none; }
.fcard:hover .big { transform: translate(10px, -12px); -webkit-text-stroke-color: rgba(126, 240, 244, 0.8); }
.feat-note { position: relative; z-index: 1; padding: 0 var(--pad) 4rem; color: rgba(255, 255, 255, 0.6); font-size: 0.95rem; max-width: 52rem; }

/* Pinned version at every screen size, enabled by JS adding .pinned */
.feat.pinned { position: relative; height: 100vh; height: 100svh; overflow: hidden; }
.feat.pinned .feat-light { position: absolute; inset: 0; padding: 0; display: grid; place-items: center; }
.feat.pinned .feat-dark { position: absolute; inset: 0; z-index: 2; clip-path: inset(50% 50% 50% 50% round 999px); transform: translateZ(0); }
.feat.pinned .feat-ghost { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; pointer-events: none; }
.feat.pinned .feat-ghost .feat-intro > :not(.btn) { visibility: hidden; }
.feat.pinned .feat-ghost .btn { pointer-events: auto; }
.feat.pinned .feat-light .btn { visibility: hidden; }
.feat.pinned .feat-scroll { transform-origin: center top; will-change: transform; }
.feat.pinned .feat-grid { padding-top: 6.5rem; }
@media (min-width: 768px) {
  .feat-grid { grid-template-columns: 1fr 1fr; gap: 6rem clamp(2rem, 6vw, 7rem); padding-block: 6rem 4rem; }
  .fcard { min-height: 560px; padding: 3rem; }
  .fcard:nth-child(even) { margin-top: 4rem; }
  .feat-note { padding-bottom: 7rem; }
}
.feat:not(.pinned) .feat-ghost { display: none; }

/* ---------- Journey carousel ---------- */
.journey { padding-block: clamp(5rem, 11vw, 9rem); overflow: hidden; }
.journey-head { display: grid; gap: 1.5rem; margin-bottom: 3rem; }
.journey-path { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.journey-path button { min-height: 42px; padding: 0.45rem 1.05rem; border-radius: 999px; border: 1.5px solid var(--violet); background: transparent; color: var(--purple); font-weight: 700; font-size: 0.95rem; transition: background 0.25s, color 0.25s, transform 0.25s; }
.journey-path button:hover { background: var(--violet); color: #fff; transform: translateY(-2px); }
.journey-path button[aria-current="true"] { background: var(--violet); color: #fff; box-shadow: 0 10px 24px -12px rgba(125, 42, 232, 0.8); }
.carousel { --stepw: min(82vw, 360px); display: flex; gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: var(--pad); padding: 1.25rem var(--pad) 3rem; scrollbar-width: none; overscroll-behavior-x: contain; }
.carousel::-webkit-scrollbar { display: none; }
.carousel::after { content: ""; flex: none; width: calc(100% - var(--stepw) - var(--pad) * 2); }
.step {
  flex: none;
  width: var(--stepw);
  min-height: 400px;
  scroll-snap-align: start;
  border-radius: var(--radius);
  padding: 2rem;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: transform 0.5s var(--ease), box-shadow 0.5s;
}
.step::after { content: ""; position: absolute; width: 15rem; height: 15rem; right: -5rem; top: -5rem; border-radius: 50%; background: rgba(255, 255, 255, 0.16); pointer-events: none; }
.step:nth-child(7n + 1) { background: var(--blue); }
.step:nth-child(7n + 2) { background: var(--purple); }
.step:nth-child(7n + 3) { background: var(--pink); color: var(--ink); }
.step:nth-child(7n + 4) { background: var(--teal); color: var(--ink); }
.step:nth-child(7n + 5) { background: var(--green); }
.step:nth-child(7n + 6) { background: var(--dark); }
.step:nth-child(7n) { background: linear-gradient(135deg, var(--teal), var(--purple)); }
.step .num { font-size: 6rem; font-weight: 800; line-height: 1; letter-spacing: -0.05em; color: #fff; }
.step:nth-child(7n + 3) .num, .step:nth-child(7n + 4) .num { color: var(--ink); }
.step h3 { font-size: 2rem; font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }
.step p { margin-top: 0.75rem; font-size: 1.08rem; font-weight: 500; }
.step:not(.active) { transform: scale(0.94); }
.step.active { box-shadow: 0 34px 60px -28px rgba(19, 10, 38, 0.65); transform: translateY(-6px); }
.pager { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1rem; }
.pager .dots-nav { display: flex; gap: 0.35rem; flex-wrap: wrap; }
.pager .dots-nav button { width: 28px; height: 28px; padding: 0; border: 0; background: none; display: grid; place-items: center; }
.pager .dots-nav button::before { content: ""; width: 10px; height: 10px; border-radius: 999px; background: #d5cff0; transition: width 0.35s var(--ease), background 0.3s; }
.pager .dots-nav button[aria-current="true"]::before { width: 28px; background: var(--violet); }
.pager .arrows { display: flex; gap: 0.6rem; }
.round { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; color: var(--ink); font-size: 1.25rem; display: grid; place-items: center; transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s; }
.round:hover:not(:disabled) { background: var(--violet); border-color: var(--violet); color: #fff; transform: scale(1.06); }
.round:disabled { opacity: 0.35; cursor: default; }
@media (min-width: 1024px) { .journey-head { grid-template-columns: 1fr 1fr; align-items: end; } }

/* ---------- Dark section: programme details + FAQ ---------- */
.details { background: var(--dark); color: #fff; padding-block: clamp(5rem, 12vw, 11rem); position: relative; overflow: hidden; }
.details .glow { position: absolute; width: 46vmax; height: 46vmax; right: -18vmax; top: 12%; border-radius: 50%; background: radial-gradient(circle, rgba(125, 42, 232, 0.55), transparent 65%); pointer-events: none; }
.split { position: relative; display: grid; gap: 3rem; }
.split + .split { margin-top: clamp(5rem, 12vw, 10rem); }
.split-side h2 { margin-top: 1.5rem; }
.split-side .lead { margin-top: 1.5rem; max-width: 28rem; }
.split-side .btn { margin-top: 2.25rem; }
@media (min-width: 1024px) {
  .split { grid-template-columns: 5fr 7fr; gap: 5rem; }
  .split-side > div { position: sticky; top: 8rem; }
}
.rows { border-top: 1px solid var(--line-light); }
.row { display: grid; grid-template-columns: auto 1fr; gap: 1.25rem; padding: 1.75rem 0; border-bottom: 1px solid var(--line-light); }
.row .n { flex: none; min-width: 44px; padding: 0 0.5rem; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: rgba(255, 255, 255, 0.08); border: 1px solid var(--line-light); color: var(--teal); }
.row h3 { font-size: 1.3rem; font-weight: 700; line-height: 1.3; }
.row p { margin-top: 0.4rem; color: rgba(255, 255, 255, 0.65); }
.pending { display: inline-block; margin-top: 0.6rem; padding: 0.2rem 0.7rem; border-radius: 999px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; color: #ffe08a; border: 1px dashed rgba(255, 224, 138, 0.6); }

.faq-group { padding: 2.25rem 0 0.75rem; font-size: 0.82rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal); }
.faq-group:first-child { padding-top: 0.75rem; }
.faq-body ul { margin: 0.5rem 0 0.9rem; padding-left: 1.2rem; color: rgba(255, 255, 255, 0.72); font-size: 1.05rem; max-width: 42rem; }
.faq-body li { margin-top: 0.35rem; padding-right: 3rem; }
.faq-body p + p { margin-top: 0.6rem; }
.faq-body .btn { margin: 0.25rem 0 1.9rem; }
.faq-body a:not(.btn) { color: var(--teal); }
.faq-item { border-bottom: 1px solid var(--line-light); }
.faq-item button { width: 100%; display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem; padding: 1.75rem 0; background: none; border: 0; color: #fff; text-align: left; }
.faq-item h3 { font-size: clamp(1.15rem, 2vw, 1.45rem); font-weight: 700; line-height: 1.35; transition: color 0.3s; }
.faq-item .pm { position: relative; flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.25); transition: background 0.3s, border-color 0.3s; }
.faq-item .pm::before, .faq-item .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 2px; margin: -1px 0 0 -8px; background: currentColor; border-radius: 2px; transition: transform 0.3s ease-in-out; }
.faq-item .pm::after { transform: rotate(90deg); }
.faq-item.open .pm { background: var(--violet); border-color: var(--violet); }
.faq-item.open .pm::after { transform: rotate(0); }
.faq-item.open h3, .faq-item button:hover h3 { color: var(--teal); }
.faq-body { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows 0.4s ease-in-out, opacity 0.4s; }
.faq-item.open .faq-body { grid-template-rows: 1fr; opacity: 1; }
.faq-body > div { overflow: hidden; }
.faq-body p { padding: 0 3.5rem 1.9rem 0; color: rgba(255, 255, 255, 0.65); font-size: 1.08rem; max-width: 42rem; }

/* ---------- Outlined word marquee ---------- */
.words { overflow: hidden; padding-block: clamp(2.5rem, 6vw, 5rem); background: var(--paper); }
.words-track { display: flex; width: max-content; animation: slide 30s linear infinite; }
.words-track.rev { animation-direction: reverse; animation-duration: 38s; }
.words span { flex: none; padding-right: 0.45em; font-size: clamp(3.4rem, 11vw, 9rem); font-weight: 800; line-height: 1.08; letter-spacing: -0.04em; white-space: nowrap; }
.words span:nth-child(even) { color: transparent; -webkit-text-stroke: 2px var(--violet); }
.words .rev span:nth-child(odd) { color: transparent; -webkit-text-stroke: 2px var(--teal); }
.words .rev span:nth-child(even) { color: var(--ink); -webkit-text-stroke: 0; }

/* ---------- Apply / notify ---------- */
.apply { padding: 0.75rem; }
.apply-card { position: relative; overflow: hidden; border-radius: 24px; color: #fff; background: var(--dark); }
.apply-inner { position: relative; z-index: 1; display: grid; gap: 3rem; padding: clamp(3rem, 8vw, 7rem) clamp(1.5rem, 6vw, 6rem); }
.apply-inner h2 { font-size: clamp(2.3rem, 6vw, 4.4rem); font-weight: 800; line-height: 1.03; letter-spacing: -0.03em; }
.apply-inner .lead { color: rgba(255, 255, 255, 0.85); margin-top: 1.5rem; max-width: 30rem; }
.apply-inner .btn { margin-top: 2rem; }
.fineprint { margin-top: 1.25rem; font-size: 0.9rem; color: rgba(255, 255, 255, 0.72); max-width: 30rem; }
@media (min-width: 768px) { .apply { padding: 1rem; } .apply-card { border-radius: 32px; } }
@media (min-width: 1024px) { .apply-inner { grid-template-columns: 1.1fr 1fr; align-items: center; gap: 5rem; } }

.form { background: #fff; color: var(--ink); border-radius: 22px; padding: 1.5rem; display: grid; gap: 1rem; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.6); }
.form h3 { font-size: 1.4rem; font-weight: 800; }
.form > p { color: var(--ink-2); font-size: 0.97rem; }
.field { display: grid; gap: 0.35rem; }
.field label { font-size: 0.88rem; font-weight: 700; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 0.7rem 0.95rem; font: inherit; color: var(--ink);
  border: 1.5px solid #d9d5e6; border-radius: 12px; background: #fff; transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(139, 61, 255, 0.16); }
.two { display: grid; gap: 1rem; }
@media (min-width: 560px) { .two { grid-template-columns: 1fr 1fr; } .form { padding: 2rem; } }
.consent { display: grid; grid-template-columns: auto 1fr; gap: 0.7rem; align-items: start; font-size: 0.86rem; color: var(--ink-2); line-height: 1.5; }
.consent input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--violet); }
.form-msg { font-size: 0.93rem; font-weight: 600; min-height: 1.4em; }
.form-msg.ok { color: #0a7d38; }
.form-msg.err { color: #b3261e; }
.form .btn[disabled] { opacity: 0.6; pointer-events: none; }

/* ---------- Footer ---------- */
.footer { padding: clamp(3rem, 7vw, 5rem) var(--pad) 2rem; }
.footer-top { display: grid; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--line); }
.footer .lockup img { height: 40px; }
.footer .lockup img.logo-canva { height: 32px; }
.footer .lockup { flex-wrap: wrap; }
@media (max-width: 420px) {
  .footer .lockup img { height: 30px; }
  .footer .lockup img.logo-canva { height: 24px; }
}
.footer p { color: var(--ink-2); font-size: 0.97rem; max-width: 30rem; margin-top: 1rem; }
.footer nav { display: grid; gap: 0.25rem; align-content: start; }
.footer nav b { font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 0.5rem; }
.footer nav a { display: flex; align-items: center; min-height: 44px; padding: 0.2rem 0; text-decoration: none; font-weight: 600; transition: color 0.2s; }
.footer nav a:hover { color: var(--violet); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; justify-content: space-between; padding-top: 1.5rem; font-size: 0.86rem; color: var(--ink-2); }
@media (min-width: 768px) { .footer-top { grid-template-columns: 2fr 1fr 1fr; } }

/* ---------- Inner page hero ---------- */
.page-hero { padding: 0.75rem; }
.page-hero-card { position: relative; overflow: hidden; border-radius: 24px; color: #fff; background: var(--dark); }
.page-hero-inner { position: relative; z-index: 1; padding: 8.5rem clamp(1.5rem, 6vw, 6rem) clamp(3rem, 7vw, 5.5rem); max-width: 60rem; }
.page-hero h1 { font-size: clamp(2.6rem, 8vw, 5rem); font-weight: 800; line-height: 1.02; letter-spacing: -0.035em; margin-top: 1.25rem; }
.page-hero .lead { color: rgba(255, 255, 255, 0.85); margin-top: 1.5rem; max-width: 36rem; }
@media (min-width: 768px) { .page-hero { padding: 1rem; } .page-hero-card { border-radius: 32px; } }

/* ---------- Training bands and session cards (DHET card pattern) ---------- */
.band { position: relative; padding-block: clamp(4rem, 10vw, 8rem); color: #fff; overflow: hidden; }
.band.blue { background: var(--blue); }
.band.pink { background: var(--pink); color: var(--ink); }
.band.green { background: var(--green); }
.band-head { display: grid; gap: 1rem; margin-bottom: 2.5rem; }
.band-head h2 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.03em; }
.band-head p { max-width: 38rem; font-size: 1.1rem; opacity: 0.92; }
.band .shape { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, 0.12); pointer-events: none; will-change: transform; }
.band .shape.a { width: 34vmax; height: 34vmax; right: -12vmax; top: -10vmax; }
.band .shape.b { width: 18vmax; height: 18vmax; left: -6vmax; bottom: -6vmax; background: rgba(0, 0, 0, 0.08); }

.chips { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.chip { min-height: 44px; padding: 0.5rem 1.15rem; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, 0.55); background: transparent; color: inherit; font-weight: 700; font-size: 0.95rem; transition: background 0.25s, color 0.25s, border-color 0.25s; }
.chip:hover { background: rgba(255, 255, 255, 0.16); }
.chip[aria-pressed="true"] { background: #fff; color: var(--blue); border-color: #fff; }
.chips.light .chip { border-color: #d9d5e6; }
.chips.light .chip:hover { background: var(--mist); }
.chips.light .chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

.cards { position: relative; display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }

.scard { display: flex; flex-direction: column; background: #fff; color: var(--ink); border-radius: 22px; overflow: hidden; box-shadow: 0 24px 50px -30px rgba(19, 10, 38, 0.55); transition: transform 0.4s var(--ease), box-shadow 0.4s; }
.scard:hover { transform: translateY(-8px); box-shadow: 0 40px 70px -30px rgba(19, 10, 38, 0.65); }
.scard-img { position: relative; aspect-ratio: 16 / 11; overflow: hidden; }
.scard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.scard:hover .scard-img img { transform: scale(1.06); }
.badge { position: absolute; top: 0.9rem; left: 0.9rem; padding: 0.3rem 0.8rem; border-radius: 999px; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.03em; background: #fff; color: var(--ink); box-shadow: 0 6px 16px -6px rgba(0, 0, 0, 0.4); }
.badge.open { background: var(--green); color: #fff; }
.badge.upcoming { background: var(--blue); color: #fff; }
.badge.done { background: var(--ink); color: #fff; }
.scard-body { flex: 1; display: flex; flex-direction: column; gap: 0.8rem; padding: 1.35rem 1.35rem 1.5rem; }
.scard .topic { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--violet); }
.scard h3 { font-size: 1.35rem; font-weight: 800; line-height: 1.2; letter-spacing: -0.015em; }
.scard p { font-size: 0.97rem; color: var(--ink-2); line-height: 1.55; }
.meta { list-style: none; margin: 0.25rem 0 0; padding: 0; display: grid; gap: 0.3rem; font-size: 0.93rem; }
.meta li { display: grid; grid-template-columns: 6.2rem 1fr; gap: 0.5rem; }
.meta b { font-weight: 700; color: var(--ink-2); }
.cert { font-size: 0.86rem; color: var(--ink-2); padding: 0.7rem 0.85rem; background: var(--mist); border-radius: 12px; }
.scard-actions { margin-top: auto; display: grid; gap: 0.5rem; padding-top: 0.5rem; }
.scard .btn { width: 100%; border-radius: 12px; background: var(--violet); box-shadow: none; }
.scard .btn:hover { background: var(--purple); transform: none; }
.scard .btn.ghost { background: transparent; color: var(--violet); border-color: var(--violet); opacity: 1; }
.scard .btn.ghost:hover { background: var(--mist); }
.scard .btn[aria-disabled="true"] { background: #efecf7; color: #7a7490; }

.pagination { display: flex; justify-content: center; align-items: center; gap: 0.4rem; margin-top: 2.5rem; flex-wrap: wrap; }
.pagination button { min-width: 46px; height: 46px; padding: 0 0.9rem; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, 0.6); background: transparent; color: inherit; font-weight: 800; transition: background 0.25s, color 0.25s, transform 0.25s; }
.pagination button:hover:not(:disabled) { background: rgba(255, 255, 255, 0.2); transform: translateY(-2px); }
.pagination button[aria-current="page"] { background: #fff; color: var(--ink); border-color: #fff; }
.pagination button:disabled { opacity: 0.4; cursor: default; }
.pagination.light button { border-color: #d9d5e6; }
.pagination.light button:hover:not(:disabled) { background: var(--mist); }
.pagination.light button[aria-current="page"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.empty { grid-column: 1 / -1; padding: 2.5rem; border-radius: 22px; border: 2px dashed rgba(255, 255, 255, 0.6); text-align: center; font-weight: 600; }
.light-sec .empty { border-color: #d9d5e6; color: var(--ink-2); }

/* ---------- Resources ---------- */
.light-sec { padding-block: clamp(3.5rem, 8vw, 6rem); }
.toolbar { display: grid; gap: 1rem; margin-bottom: 2rem; }
.search { position: relative; max-width: 28rem; }
.search input { width: 100%; min-height: 52px; padding: 0.8rem 1.2rem; font: inherit; border: 1.5px solid #d9d5e6; border-radius: 999px; }
.search input:focus { outline: 0; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(139, 61, 255, 0.16); }
.rcard { position: relative; display: flex; flex-direction: column; gap: 0.75rem; min-height: 250px; padding: 1.6rem; border-radius: 22px; text-decoration: none; color: #fff; overflow: hidden; transition: transform 0.4s var(--ease), box-shadow 0.4s; }
.rcard:hover { transform: translateY(-8px) rotate(-0.6deg); box-shadow: 0 34px 60px -30px rgba(19, 10, 38, 0.7); }
.rcard.c0 { background: var(--blue); }
.rcard.c1 { background: var(--purple); }
.rcard.c2 { background: var(--green); }
.rcard.c3 { background: var(--dark); }
.rcard.c4 { background: var(--pink); color: var(--ink); }
.rcard.c5 { background: var(--teal); color: var(--ink); }
.rcard .type { align-self: flex-start; padding: 0.25rem 0.8rem; border-radius: 999px; font-size: 0.78rem; font-weight: 800; background: rgba(255, 255, 255, 0.22); }
.rcard h3 { font-size: 1.55rem; font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; }
.rcard p { font-size: 0.98rem; opacity: 0.9; }
.rcard .go { margin-top: auto; display: flex; align-items: center; justify-content: space-between; font-weight: 800; }
.rcard .go i { width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; font-style: normal; transition: transform 0.4s var(--ease); }
.rcard:hover .go i { transform: rotate(-45deg); }
.rcard::after { content: ""; position: absolute; width: 12rem; height: 12rem; right: -4rem; top: -4rem; border-radius: 50%; background: rgba(255, 255, 255, 0.12); transition: transform 0.6s var(--ease); pointer-events: none; }
.rcard:hover::after { transform: scale(1.5); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .step:not(.active), .step.active { transform: none; }
}

/* ---------- Template cards (Canva template previews) ---------- */
.tcard { display: flex; flex-direction: column; background: #fff; color: var(--ink); border-radius: 22px; overflow: hidden; text-decoration: none; border: 1px solid var(--line); box-shadow: 0 24px 50px -34px rgba(19, 10, 38, 0.5); transition: transform 0.4s var(--ease), box-shadow 0.4s; }
.tcard:hover { transform: translateY(-8px); box-shadow: 0 40px 70px -30px rgba(19, 10, 38, 0.55); }
.tcard-imgs { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0.6rem; padding: 1rem 1rem 0; background: var(--mist); }
.tcard-imgs img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; background: #fff; border: 1px solid var(--line); border-bottom: 0; border-radius: 10px 10px 0 0; box-shadow: 0 10px 24px -14px rgba(19, 10, 38, 0.6); transition: transform 0.5s var(--ease); }
.tcard-imgs img:nth-child(2) { transform: translateY(-0.5rem); }
.tcard:hover .tcard-imgs img { transform: translateY(-0.4rem); }
.tcard:hover .tcard-imgs img:nth-child(2) { transform: translateY(-0.9rem); }
.tcard-body { display: flex; flex-direction: column; gap: 0.6rem; padding: 1.2rem 1.35rem 1.4rem; flex: 1; }
.tcard .type { align-self: flex-start; padding: 0.25rem 0.8rem; border-radius: 999px; font-size: 0.78rem; font-weight: 800; background: var(--mist); color: var(--purple); }
.tcard h3 { font-size: 1.35rem; font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; }
.tcard p { font-size: 0.95rem; color: var(--ink-2); }
.tcard .go { margin-top: auto; padding-top: 0.5rem; display: flex; align-items: center; justify-content: space-between; font-weight: 800; color: var(--purple); }
.tcard .go i { width: 40px; height: 40px; border-radius: 50%; background: var(--violet); color: #fff; display: grid; place-items: center; font-style: normal; transition: transform 0.4s var(--ease); }
.tcard:hover .go i { transform: rotate(-45deg); }

/* ---------- Plain text page (privacy notice) ---------- */
.prose { max-width: 46rem; margin: 0 auto; padding: clamp(3rem, 7vw, 5rem) var(--pad); }
.prose h2 { font-size: 1.5rem; font-weight: 800; margin-top: 2.5rem; }
.prose p, .prose li { color: var(--ink-2); margin-top: 0.9rem; }
.prose ul { padding-left: 1.2rem; }

/* ---------- Section head shared by the new blocks ---------- */
.sec-head { display: grid; gap: 1.5rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
@media (min-width: 1024px) { .sec-head { grid-template-columns: 1.1fr 1fr; align-items: end; gap: 4rem; } }

/* ---------- Who can apply: checklist ---------- */
.elig { padding-block: clamp(4rem, 10vw, 8rem); background: var(--mist); }
.check-grid { display: grid; gap: 1rem; }
@media (min-width: 640px) { .check-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .check-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }
.check-card { position: relative; padding: 1.6rem 1.6rem 1.6rem 4.6rem; background: #fff; border-radius: 20px; border: 1px solid var(--line); transition: transform 0.35s var(--ease), box-shadow 0.35s; }
.check-card:hover { transform: translateY(-5px); box-shadow: 0 30px 50px -30px rgba(19, 10, 38, 0.45); }
.check-card .tick { position: absolute; left: 1.4rem; top: 1.5rem; width: 40px; height: 40px; border-radius: 50%; background: var(--green); }
.check-card .tick::after { content: ""; position: absolute; left: 14px; top: 9px; width: 9px; height: 16px; border: solid #fff; border-width: 0 3px 3px 0; transform: rotate(45deg); }
.check-card h3 { font-size: 1.15rem; font-weight: 800; line-height: 1.25; }
.check-card p { margin-top: 0.4rem; color: var(--ink-2); font-size: 0.97rem; }
.docs { position: relative; overflow: hidden; margin-top: 2rem; border-radius: 24px; color: #fff; background: var(--dark); }
.docs-inner { position: relative; z-index: 1; padding: clamp(1.5rem, 4vw, 2.75rem); display: grid; gap: 1.75rem; }
.docs-head h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 800; letter-spacing: -0.02em; }
.docs-head p { margin-top: 0.6rem; color: rgba(255, 255, 255, 0.85); max-width: 60rem; }
.doc-grid { display: grid; gap: 1rem; }
@media (min-width: 640px) { .doc-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .doc-grid { grid-template-columns: repeat(4, 1fr); } }
/* Solid white cards on the gradient, the same card language as the training page */
.doc { position: relative; display: grid; gap: 0.3rem; padding: 1.5rem 1.4rem 1.4rem; border-radius: 20px; background: #fff; color: var(--ink); box-shadow: 0 30px 60px -32px rgba(19, 10, 38, 0.7); transition: transform 0.35s var(--ease), box-shadow 0.35s; }
.doc:hover { transform: translateY(-6px); box-shadow: 0 40px 70px -32px rgba(19, 10, 38, 0.8); }
.doc-icon { width: 50px; height: 50px; margin-bottom: 0.75rem; border-radius: 14px; display: grid; place-items: center; background: var(--grad-btn); color: #fff; box-shadow: 0 10px 22px -10px rgba(125, 42, 232, 0.8); }
.doc-icon svg { width: 26px; height: 26px; }
.doc b { font-size: 1.55rem; font-weight: 800; letter-spacing: -0.02em; }
.doc > span:not(.doc-icon) { font-size: 0.88rem; color: var(--ink-2); }
.doc em { font-style: normal; font-weight: 700; font-size: 0.93rem; color: var(--purple); margin-top: 0.7rem; padding-top: 0.7rem; border-top: 2px solid var(--mist); }

/* ---------- Key dates: timeline ---------- */
.dates { padding-block: clamp(4rem, 10vw, 8rem); overflow: hidden; }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 2rem; }
.timeline::before { content: ""; position: absolute; left: 13px; top: 8px; bottom: 8px; width: 3px; border-radius: 3px; background: linear-gradient(180deg, var(--teal), var(--purple)); }
.tl { position: relative; padding-left: 3rem; }
.tl-dot { position: absolute; left: 4px; top: 6px; width: 21px; height: 21px; border-radius: 50%; background: #fff; border: 3px solid var(--violet); box-sizing: border-box; }
.tl.done .tl-dot { background: var(--violet); }
.tl.now .tl-dot { background: var(--green); border-color: var(--green); box-shadow: 0 0 0 8px rgba(11, 168, 74, 0.18); }
.tl time { display: inline-block; padding: 0.25rem 0.75rem; border-radius: 999px; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.04em; background: var(--mist); color: var(--purple); }
.tl.now time { background: var(--green); color: #fff; }
.tl.now time::after { content: "  ·  Now open"; }
.tl.next time::after { content: "  ·  Next"; }
.tl h3 { margin-top: 0.7rem; font-size: 1.25rem; font-weight: 800; line-height: 1.2; }
.tl p { margin-top: 0.4rem; color: var(--ink-2); font-size: 0.95rem; max-width: 24rem; }
@media (min-width: 900px) {
  .timeline { grid-template-columns: repeat(5, 1fr); gap: 1.5rem; padding-top: 2.6rem; }
  .timeline::before { left: 2%; right: 2%; top: 9px; bottom: auto; width: auto; height: 3px; background: linear-gradient(90deg, var(--teal), var(--purple)); }
  .tl { padding-left: 0; padding-right: 1rem; }
  .tl-dot { left: 0; top: -2.6rem; }
}

/* ---------- Selection framework ---------- */
.score { padding: 0.75rem; }
.score-card { position: relative; overflow: hidden; border-radius: 24px; color: #fff; background: var(--dark); }
.score-inner { position: relative; z-index: 1; padding: clamp(3rem, 7vw, 6rem) clamp(1.25rem, 5vw, 5rem); }
.score-inner .lead { color: rgba(255, 255, 255, 0.85); }
.score-inner .h2 { color: #fff; }
@media (min-width: 768px) { .score { padding: 1rem; } .score-card { border-radius: 32px; } }
.sc-grid { display: grid; gap: 1rem; }
@media (min-width: 640px) { .sc-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .sc-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }
.fcard.sc { min-height: 300px; padding: 1.75rem; gap: 1.25rem; }
.fcard.sc:nth-child(even) { margin-top: 0; }
.fcard.sc h3 { font-size: 1.3rem; padding-right: 3.5rem; }
.fcard.sc p { font-size: 1rem; }
.fcard.sc .big { font-size: 5.5rem; right: 1.25rem; bottom: 1.25rem; }
.sc-bar { position: relative; display: block; height: 7px; border-radius: 7px; background: rgba(255, 255, 255, 0.22); overflow: visible; }
.sc-bar::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 7px; background: linear-gradient(90deg, #7ef0f4, #ffffff); box-shadow: 0 0 14px rgba(126, 240, 244, 0.9); transition: width 2.8s cubic-bezier(0.25, 0.1, 0.25, 1) 0.35s; }
.sc-bar::before { content: ""; position: absolute; top: 50%; left: 0; width: 15px; height: 15px; margin: -7.5px 0 0 -7.5px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(126, 240, 244, 0.35), 0 0 18px rgba(126, 240, 244, 1); opacity: 0; transition: left 2.8s cubic-bezier(0.25, 0.1, 0.25, 1) 0.35s, opacity 0.3s 0.35s; }
[data-reveal].in .sc-bar::before { animation: capPulse 1.6s ease-in-out 3.2s infinite; }
@keyframes capPulse { 0%, 100% { box-shadow: 0 0 0 4px rgba(126, 240, 244, 0.35), 0 0 18px rgba(126, 240, 244, 1); } 50% { box-shadow: 0 0 0 9px rgba(126, 240, 244, 0.15), 0 0 26px rgba(126, 240, 244, 1); } }
[data-reveal].in .sc-bar::after { width: calc(var(--w) * 4); }
[data-reveal].in .sc-bar::before { left: calc(var(--w) * 4); opacity: 1; }
.fcard.sc .big { color: transparent; -webkit-text-stroke: 1.5px rgba(126, 240, 244, 0.75); }
/* Scale-in reveal for the score cards */
[data-reveal="scale"] { transform: translateY(18px) scale(0.92); }
[data-reveal="scale"].in { transform: none; }
.targets { margin-top: 2rem; padding: clamp(1.75rem, 4vw, 3rem); border-radius: 24px; background: #fff; color: var(--ink); display: grid; gap: 2rem; }
.targets-head h3 { margin-top: 0.75rem; font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 800; letter-spacing: -0.025em; line-height: 1.1; }
.targets-head p { margin-top: 0.75rem; color: var(--ink-2); max-width: 46rem; }
.target-grid { display: grid; gap: 1.5rem 2rem; }
@media (min-width: 640px) { .target-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .target-grid { grid-template-columns: repeat(4, 1fr); } }
.target { padding-top: 1.25rem; border-top: 3px solid var(--teal); }
.target b { display: block; font-size: clamp(3.4rem, 6vw, 5rem); font-weight: 800; line-height: 1; letter-spacing: -0.045em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.target > span { display: block; margin-top: 0.6rem; font-size: 1rem; font-weight: 600; color: var(--ink-2); }

/* ---------- Support card with copy button ---------- */
.support-card { margin-top: 2rem; padding: 1.4rem; border-radius: 20px; background: rgba(255, 255, 255, 0.07); border: 1px solid var(--line-light); }
.support-label { display: block; font-size: 0.82rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal); }
.support-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; margin-top: 0.8rem; }
.support-email { font-size: clamp(1.15rem, 2.4vw, 1.5rem); font-weight: 800; color: #fff; text-decoration: none; word-break: break-all; }
.support-email:hover { color: var(--teal); }
.copy-btn { min-height: 40px; padding: 0.4rem 1rem; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, 0.5); background: transparent; color: #fff; font-weight: 700; font-size: 0.9rem; transition: background 0.25s, color 0.25s; }
.copy-btn:hover { background: #fff; color: var(--purple); }
.copy-btn.done { background: var(--green); border-color: var(--green); color: #fff; }
.support-card p { margin-top: 0.8rem; font-size: 0.92rem; color: rgba(255, 255, 255, 0.72); }
