/* =====================================================================
   Chem2Cure public website design system (v5)
   One typeface (Inter), one type scale, one set of colours shared
   with the learner portal and admin panel.
   ===================================================================== */

@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/InterVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #0b1b3f;
  --ink-2: #33415c;
  --muted: #5d6a82;
  --line: #e2e8f1;
  --line-2: #cfd8e6;
  --canvas: #f4f7fb;
  --surface: #ffffff;
  --brand: #1a4dd8;
  --brand-ink: #123aa8;
  --brand-tint: #ebf0fd;
  --teal: #0e9fa2;
  --teal-tint: #e3f6f6;
  --amber: #f2a73b;
  --success: #12805a;
  --warn: #a2610a;
  --warn-tint: #fdf2e1;
  --danger: #b9391f;
  --night: #0b1b3f;

  /* type scale (minor third, 17px base) */
  --fs-xs: 0.8rem;
  --fs-sm: 0.9rem;
  --fs-base: 1.0625rem;
  --fs-lg: 1.2rem;
  --fs-xl: 1.45rem;
  --fs-2xl: clamp(1.9rem, 3.2vw, 2.7rem);
  --fs-3xl: clamp(2.5rem, 5.2vw, 4.25rem);

  --r: 10px;
  --r-lg: 18px;
  --max: 1200px;
  --header-h: 72px;
  --focus: 0 0 0 3px rgba(26, 77, 216, 0.3);
}

/* ---------- global reset that also normalises the older pages ---------- */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body.web {
  margin: 0;
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--ink);
  background: var(--surface);
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
}
:where(body.web) :where(h1, h2, h3, h4) { font-family: inherit; color: var(--ink); letter-spacing: -0.02em; margin: 0; }
:where(body.web) h1 { font-size: var(--fs-3xl); line-height: 1.04; font-weight: 760; letter-spacing: -0.035em; }
:where(body.web) h2 { font-size: var(--fs-2xl); line-height: 1.1; font-weight: 740; letter-spacing: -0.03em; }
:where(body.web) h3 { font-size: var(--fs-lg); line-height: 1.3; font-weight: 680; }
:where(body.web) p { margin: 0; }
:where(body.web) svg.lucide { width: 20px; height: 20px; stroke-width: 1.8; flex: none; }
body.web :focus-visible { outline: none; box-shadow: var(--focus); border-radius: 6px; }
.w-container { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.num { font-variant-numeric: tabular-nums; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Older page templates (Training, Discovery, ...) keep their markup but adopt the new scale */
body.web .eyebrow { text-transform: none; letter-spacing: 0; font-size: var(--fs-sm); font-weight: 650; color: var(--teal); }
body.web .eyebrow svg.lucide { width: 17px; height: 17px; }
body.web .hero-lede, body.web .section-heading p { font-size: var(--fs-lg); color: var(--muted); }
body.web .section { padding: 88px 0; }
body.web .section-soft { background: var(--canvas); }
body.web .page-hero { background: linear-gradient(180deg, var(--canvas), var(--surface)); padding: 72px 0 48px; }
body.web .btn { font-weight: 640; font-size: 0.97rem; border-radius: var(--r); min-height: 46px; }
body.web .btn-primary { background: var(--brand); box-shadow: none; }
body.web .btn-primary:hover { background: var(--brand-ink); }
body.web .btn-secondary { border-color: var(--line-2); box-shadow: none; color: var(--ink); }
body.web .feature-card, body.web .program-card, body.web .research-card, body.web .resource-card, body.web .partner-card, body.web .contact-card, body.web .mini-card {
  border-radius: var(--r-lg); box-shadow: none; border: 1px solid var(--line);
}
body.web .container { width: min(var(--max), calc(100% - 48px)); }

/* ---------- buttons ---------- */
.w-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px; padding: 0 22px; border-radius: var(--r); border: 1px solid transparent;
  font: inherit; font-weight: 640; font-size: 0.97rem; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color 150ms ease, border-color 150ms ease, transform 150ms ease;
}
.w-btn:active { transform: translateY(1px); }
.w-btn svg.lucide { width: 18px; height: 18px; }
.w-btn-primary { background: var(--brand); color: #fff; }
.w-btn-primary:hover { background: var(--brand-ink); }
.w-btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line-2); }
.w-btn-ghost:hover { border-color: var(--ink-2); }
.w-btn-light { background: #fff; color: var(--ink); }
.w-btn-light:hover { background: var(--brand-tint); }
.w-btn-outline-light { color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.w-btn-outline-light:hover { border-color: #fff; }
.w-btn-sm { min-height: 38px; padding: 0 14px; font-size: var(--fs-sm); }
.w-link { color: var(--brand); font-weight: 640; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.w-link:hover { text-decoration: underline; }
.w-link svg.lucide { width: 17px; height: 17px; transition: transform 150ms ease; }
.w-link:hover svg.lucide { transform: translateX(3px); }

/* ---------- header ---------- */
.wh { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, 0.9); backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: border-color 200ms ease, box-shadow 200ms ease; }
.wh.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(11, 27, 63, 0.06); }
.wh-inner { height: var(--header-h); display: flex; align-items: center; gap: 28px; }
.wh-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.wh-brand img { width: 36px; height: auto; }
.wh-brand strong { display: block; font-size: 1.08rem; font-weight: 760; letter-spacing: -0.02em; line-height: 1.1; }
.wh-brand small { display: block; font-size: 0.72rem; color: var(--muted); font-weight: 520; }
.wh-nav { display: flex; align-items: center; gap: 2px; margin-right: auto; }
.wh-nav a { padding: 8px 12px; border-radius: 8px; text-decoration: none; color: var(--ink-2); font-weight: 580; font-size: 0.95rem; white-space: nowrap; }
.wh-nav a:hover { color: var(--ink); background: var(--canvas); }
.wh-nav a.active { color: var(--brand); }
.wh-actions { display: flex; align-items: center; gap: 8px; }
.wh-signin { padding: 8px 12px; text-decoration: none; color: var(--ink); font-weight: 620; font-size: 0.95rem; }
.wh-toggle { display: none; width: 42px; height: 42px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; place-items: center; }
.wh-avatar { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 620; font-size: 0.92rem; }
.wh-avatar span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--teal-tint); color: #0a6c6e; font-size: 0.78rem; font-weight: 720; }
.wh-avatar img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }

/* ---------- section scaffolding ---------- */
.w-section { padding: 104px 0; }
.w-section-tight { padding: 72px 0; }
.w-canvas { background: var(--canvas); }
.w-night { background: var(--night); color: #dbe5ff; }
.w-night h2, .w-night h3, .wf h3, .wf h3, .wf h4 { color: #fff; }
.w-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-sm); font-weight: 650; color: var(--teal); margin-bottom: 14px; }
.w-kicker::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.w-night .w-kicker { color: #8fe3e4; }
.w-head { max-width: 46rem; margin-bottom: 48px; }
.w-head p { margin-top: 16px; font-size: var(--fs-lg); color: var(--muted); line-height: 1.55; }
.w-night .w-head p { color: #b9c6e4; }
.w-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.w-head-row .w-head { margin-bottom: 0; }

/* ---------- hero ---------- */
.w-hero { position: relative; overflow: hidden; padding: 64px 0 88px; background: radial-gradient(60% 60% at 85% 20%, rgba(14, 159, 162, 0.10), transparent 70%), radial-gradient(50% 60% at 0% 100%, rgba(26, 77, 216, 0.07), transparent 70%), var(--surface); }
.w-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; }
.w-hero-badge { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: var(--fs-sm); font-weight: 600; color: var(--ink-2); text-decoration: none; margin-bottom: 26px; }
.w-hero-badge b { padding: 3px 10px; border-radius: 999px; background: var(--teal-tint); color: #0a6c6e; font-size: var(--fs-xs); }
.w-hero-badge:hover { border-color: var(--line-2); }
.w-hero h1 { max-width: 14ch; }
.w-hero-lede { margin-top: 24px; font-size: 1.22rem; line-height: 1.55; color: var(--muted); max-width: 34rem; }
.w-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.w-hero-proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); }
.w-hero-proof div { display: grid; gap: 2px; }
.w-hero-proof strong { font-size: 1.6rem; font-weight: 760; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.w-hero-proof span { font-size: var(--fs-sm); color: var(--muted); line-height: 1.4; }
.w-bench { position: relative; padding: 22px; border-radius: 24px; background: linear-gradient(150deg, #13286a, var(--night) 55%, #06344a); box-shadow: 0 40px 80px rgba(11, 27, 63, 0.28); }
.w-bench .win { height: 420px; }
.w-float {
  position: absolute; border-radius: 16px; background: var(--surface); box-shadow: 0 24px 50px rgba(11, 27, 63, 0.22);
  padding: 14px 16px; display: grid; gap: 4px; min-width: 220px;
}
.w-float-next { left: -34px; bottom: -30px; }
.w-float-next small { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: var(--fs-xs); font-weight: 620; }
.w-float-next small svg.lucide { width: 14px; height: 14px; color: var(--teal); }
.w-float-next strong { font-size: 0.95rem; line-height: 1.3; max-width: 15rem; }
.w-float-next .countdown { color: var(--brand); font-weight: 760; font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.w-float-pay { right: 28px; bottom: -24px; display: flex; align-items: center; gap: 10px; min-width: 0; padding: 10px 14px; }
.w-float-pay svg.lucide { color: var(--success); }
.w-float-pay span { font-size: var(--fs-sm); font-weight: 620; }
.w-float-pay small { display: block; font-size: var(--fs-xs); color: var(--muted); font-weight: 520; }

/* ---------- marquee of focus areas ---------- */
.w-marquee { border-block: 1px solid var(--line); overflow: hidden; background: var(--surface); }
.w-marquee-track { display: flex; gap: 48px; padding: 22px 0; width: max-content; animation: marquee 40s linear infinite; }
.w-marquee:hover .w-marquee-track { animation-play-state: paused; }
.w-marquee span { display: inline-flex; align-items: center; gap: 10px; color: var(--ink-2); font-weight: 620; white-space: nowrap; }
.w-marquee svg.lucide { color: var(--teal); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- live courses ---------- */
.w-filters { display: flex; gap: 6px; flex-wrap: wrap; }
.w-filters button { border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); font: inherit; font-weight: 600; font-size: var(--fs-sm); padding: 8px 16px; border-radius: 999px; cursor: pointer; }
.w-filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.w-courses { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.w-course {
  position: relative; display: grid; grid-template-rows: auto 1fr auto; gap: 18px; padding: 24px; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line); transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}
.w-course:hover { border-color: var(--line-2); box-shadow: 0 18px 40px rgba(11, 27, 63, 0.08); transform: translateY(-2px); }
.w-course[hidden] { display: none; }
.w-course-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.w-stub { display: grid; justify-items: center; align-content: center; width: 60px; height: 64px; border-radius: 12px; background: var(--brand-tint); color: var(--brand); border-top: 4px solid currentColor; flex: none; }
.w-stub span { font-size: 0.72rem; font-weight: 650; }
.w-stub strong { font-size: 1.45rem; line-height: 1; font-weight: 760; font-variant-numeric: tabular-nums; }
.w-stub .tba { font-size: 0.95rem; }
.w-course.cat-workshop .w-stub { background: var(--teal-tint); color: var(--teal); }
.w-course.cat-webinar .w-stub, .w-course.cat-seminar .w-stub { background: #f0ebfd; color: #6a3fd4; }
.w-tag { font-size: var(--fs-xs); font-weight: 650; padding: 4px 10px; border-radius: 999px; background: var(--canvas); color: var(--ink-2); white-space: nowrap; }
.w-tag-open { background: #e4f5ee; color: var(--success); }
.w-tag-priority { background: var(--brand-tint); color: var(--brand); }
.w-tag-low { background: var(--warn-tint); color: var(--warn); }
.w-course h3 a { color: inherit; text-decoration: none; }
.w-course h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.w-course p { color: var(--muted); font-size: 0.97rem; margin-top: 8px; }
.w-course-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--muted); font-size: var(--fs-sm); margin-top: 14px; }
.w-course-meta span { display: inline-flex; align-items: center; gap: 6px; }
.w-course-meta svg.lucide { width: 15px; height: 15px; }
.w-course-foot { display: flex; justify-content: space-between; align-items: center; padding-top: 16px; border-top: 1px solid var(--line); }
.w-price { font-weight: 740; font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.w-course-foot .w-link { position: relative; z-index: 1; }

/* ---------- pillars (interactive tabs) ---------- */
.w-pillars { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 40px; align-items: stretch; }
.w-pillar-list { display: grid; gap: 10px; align-content: start; }
.w-pillar-tab {
  display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: center; text-align: left; width: 100%;
  padding: 18px 20px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, 0.1); background: rgba(255, 255, 255, 0.03);
  color: #c9d5ee; font: inherit; cursor: pointer; transition: background-color 160ms ease, border-color 160ms ease;
}
.w-pillar-tab:hover { background: rgba(255, 255, 255, 0.06); }
.w-pillar-tab[aria-selected="true"] { background: rgba(14, 159, 162, 0.14); border-color: rgba(14, 159, 162, 0.55); color: #fff; }
.w-pillar-tab .ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: rgba(255, 255, 255, 0.07); color: #8fe3e4; }
.w-pillar-tab strong { display: block; font-size: 1.05rem; font-weight: 660; color: inherit; }
.w-pillar-tab small { color: #8796b8; font-size: var(--fs-sm); }
.w-pillar-panel { border-radius: 22px; padding: 36px; background: linear-gradient(160deg, rgba(26, 77, 216, 0.25), rgba(14, 159, 162, 0.12)); border: 1px solid rgba(255, 255, 255, 0.12); display: grid; gap: 18px; align-content: start; }
.w-pillar-panel[hidden] { display: none; }
.w-pillar-panel h3 { font-size: var(--fs-xl); }
.w-pillar-panel p { color: #c9d5ee; font-size: var(--fs-lg); line-height: 1.6; }
.w-ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.w-ticks li { position: relative; padding-left: 30px; }
.w-ticks li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 14px; height: 8px; border-left: 2.5px solid var(--teal); border-bottom: 2.5px solid var(--teal); transform: rotate(-45deg); }
.w-night .w-ticks li { color: #e2e9f8; }
.w-night .w-ticks li::before { border-color: #8fe3e4; }

/* ---------- pathway (a real sequence) ---------- */
.w-path { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; position: relative; }
.w-path::before { content: ""; position: absolute; left: 24px; right: 24px; top: 23px; height: 2px; background: var(--line); }
.w-path::after { content: ""; position: absolute; left: 24px; top: 23px; height: 2px; width: 0; background: linear-gradient(90deg, var(--brand), var(--teal)); transition: width 1.6s cubic-bezier(.2,.7,.2,1); }
.w-path::after { width: calc(100% - 48px); }
.w-path li { counter-increment: step; position: relative; padding-right: 28px; }
.w-path li::before { content: counter(step); position: relative; z-index: 1; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--surface); border: 2px solid var(--brand); color: var(--brand); font-weight: 760; margin-bottom: 22px; }
.w-path h3 { margin-bottom: 8px; }
.w-path p { color: var(--muted); }

/* ---------- learner journey ---------- */
.w-journey { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.w-journey-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.w-jcard { padding: 22px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.w-jcard .ico { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 11px; background: var(--teal-tint); color: #0a6c6e; }
.w-jcard small { color: var(--muted); font-weight: 620; font-size: var(--fs-sm); }
.w-jcard strong { font-size: 1.02rem; line-height: 1.35; }
.w-jcard:nth-child(2) { transform: translateY(24px); }
.w-jcard:nth-child(4) { transform: translateY(24px); }

/* ---------- founder ---------- */
.w-founder { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 56px; align-items: center; }
.w-founder-card { border-radius: 22px; background: var(--night); color: #dbe5ff; padding: 34px; display: grid; gap: 20px; position: relative; overflow: hidden; }
.w-founder-card::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; border: 2px solid rgba(14, 159, 162, 0.4); }
.w-founder-id { display: flex; gap: 16px; align-items: center; }
.w-founder-id .mono { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: linear-gradient(150deg, var(--brand), var(--teal)); color: #fff; font-weight: 780; font-size: 1.3rem; }
.w-founder-id strong { display: block; color: #fff; font-size: 1.2rem; }
.w-founder-id span { color: #9fb0d4; font-size: var(--fs-sm); }
.w-founder-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(255, 255, 255, 0.1); border-radius: 14px; overflow: hidden; }
.w-founder-facts div { background: #0f2350; padding: 16px; }
.w-founder-facts strong { display: block; color: #fff; font-size: 1.5rem; font-weight: 760; font-variant-numeric: tabular-nums; }
.w-founder-facts span { font-size: var(--fs-sm); color: #9fb0d4; }
.w-quote { font-size: var(--fs-xl); line-height: 1.45; font-weight: 560; letter-spacing: -0.015em; color: var(--ink); }

/* ---------- partners ---------- */
.w-partners { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.w-partner { padding: 24px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); display: grid; gap: 12px; align-content: start; }
.w-partner .ico { color: var(--brand); }
.w-partner p { color: var(--muted); font-size: 0.97rem; }

/* ---------- FAQ ---------- */
.w-faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.w-faq-list { display: grid; gap: 10px; }
.w-faq details { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); padding: 0 22px; }
.w-faq details[open] { border-color: var(--line-2); box-shadow: 0 10px 30px rgba(11, 27, 63, 0.06); }
.w-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-weight: 640; font-size: 1.04rem; }
.w-faq summary::-webkit-details-marker { display: none; }
.w-faq summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform 180ms ease; margin-top: -4px; }
.w-faq details[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.w-faq details p { padding: 0 0 20px; color: var(--muted); }

/* ---------- CTA band ---------- */
.w-cta { border-radius: 28px; padding: 64px; background: linear-gradient(130deg, var(--brand), #0f3fb8 45%, var(--teal)); color: #fff; display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 32px; align-items: center; position: relative; overflow: hidden; }
.w-cta h2 { color: #fff !important; max-width: 20ch; }
.w-cta p { color: #dfe8ff; margin-top: 12px; font-size: var(--fs-lg); max-width: 36rem; }
.w-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.w-cta svg.w-cta-hex { position: absolute; right: -40px; bottom: -70px; width: 280px; color: rgba(255, 255, 255, 0.14); }

/* ---------- footer ---------- */
.wf { background: var(--night); color: #9fb0d4; padding: 72px 0 32px; }
.wf-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.wf-brand img { width: 150px; background: #fff; border-radius: 14px; padding: 10px 14px; }
.wf-brand p { margin-top: 18px; max-width: 22rem; font-size: 0.95rem; }
.wf h3, .wf h4 { color: #fff; font-size: 0.95rem; font-weight: 660; margin-bottom: 14px; }
.wf ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.wf a { color: #c9d5ee; text-decoration: none; font-size: 0.95rem; }
.wf a:hover { color: #fff; }
.wf-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.1); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: var(--fs-sm); }

/* ---------- reveal on scroll (one orchestrated motion) ---------- */
/* Sections are shown immediately: no fade-in on scroll. */
.reveal, .reveal.is-visible { opacity: 1; transform: none; transition: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .w-marquee-track { animation: none; }
  .w-path::after { transition: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .wh-nav { display: none; position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--surface); border-bottom: 1px solid var(--line); padding: 10px 24px 18px; box-shadow: 0 18px 30px rgba(11, 27, 63, 0.08); }
  .wh-nav a { padding: 12px 8px; font-size: 1rem; }
  .wh.is-open .wh-nav { display: flex; }
  .wh-toggle { display: grid; }
}
@media (max-width: 1024px) {
  .w-hero-grid, .w-pillars, .w-journey, .w-founder, .w-faq { grid-template-columns: 1fr; }
  .w-courses { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .w-partners { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .w-float-next { left: 12px; }
  .w-float-pay { right: 12px; }
  .wf-grid { grid-template-columns: 1fr 1fr; }
  .w-cta { grid-template-columns: 1fr; padding: 44px; }
}
@media (max-width: 680px) {
  :root { --header-h: 64px; }
  .w-section { padding: 72px 0; }
  .w-container { width: calc(100% - 32px); }
  .w-courses, .w-partners, .w-journey-cards { grid-template-columns: 1fr; }
  .w-jcard:nth-child(2), .w-jcard:nth-child(4) { transform: none; }
  .w-path { grid-template-columns: 1fr; gap: 28px; }
  .w-path::before, .w-path::after { display: none; }
  .w-bench { padding: 12px; }
  .w-bench .win { height: 320px; }
  .w-float-pay { display: none; }
  .w-float-next { position: static; margin-top: 14px; }
  .wh-signin, .wh-brand small { display: none; }
  .wf-grid { grid-template-columns: 1fr; }
  .w-cta { padding: 32px; border-radius: 22px; }
  .w-founder-facts { grid-template-columns: 1fr 1fr; }
}
body.web .w-head .w-kicker, body.web .w-kicker { margin: 0 0 14px; font-size: var(--fs-sm); color: var(--teal); line-height: 1.3; }
body.web .w-night .w-kicker { color: #8fe3e4; }

/* Four tracks: plain cards, no tabs */
.w-goals { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.w-goal { display: grid; gap: 10px; align-content: start; padding: 24px; border-radius: 18px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); color: inherit; text-decoration: none; }
.w-goal:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.22); }
.w-goal .ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: rgba(255,255,255,.12); }
.w-goal .ico svg { width: 19px; height: 19px; }
.w-goal h3 { font-size: 1.05rem; margin: 2px 0 0; }
.w-goal p { margin: 0; font-size: .92rem; line-height: 1.6; opacity: .82; }
.w-goal-more { display: inline-flex; align-items: center; gap: 6px; font-size: .86rem; font-weight: 650; opacity: .9; }
.w-goal-more svg { width: 15px; height: 15px; }

/* Rotating molecule in the hero.
   The clip is flattened onto white, and "multiply" blending drops the white
   away so the molecule sits straight on the page with no visible box. */
.w-hero-media { position: relative; display: grid; place-items: center; }
.w-molecule { display: block; width: 100%; max-width: 560px; height: auto; mix-blend-mode: multiply;
  transition: transform 300ms ease-out; will-change: transform; }
.w-hero-media[data-tilted] .w-molecule { transition: transform 90ms linear; }
@media (max-width: 980px) { .w-molecule { max-width: 420px; } }
@media (prefers-reduced-motion: reduce) { .w-molecule { transition: none; transform: none !important; } }

/* ---------------------------------------------------------------
   Learning resources hub
   --------------------------------------------------------------- */

.res-search { position: relative; display: flex; align-items: center; margin-top: 26px; }
.res-search > svg { position: absolute; left: 16px; width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.res-search input { width: 100%; padding: 14px 44px; border-radius: 14px; border: 1px solid var(--line);
  background: #fff; font: inherit; font-size: 1rem; box-shadow: 0 2px 10px rgba(11,27,63,.04); }
.res-search input:focus { outline: none; border-color: var(--brand); box-shadow: var(--focus); }
.res-search button { position: absolute; right: 10px; display: grid; place-items: center; width: 28px; height: 28px;
  border: 0; border-radius: 8px; background: var(--line); color: var(--ink-2); cursor: pointer; }
.res-search button svg { width: 14px; height: 14px; }
.res-count { margin: 12px 0 0; font-size: .86rem; color: var(--muted); min-height: 1.2em; }

.res-jump { position: sticky; top: 64px; z-index: 20; background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.res-jump .w-container { display: flex; gap: 6px; overflow-x: auto; padding-top: 10px; padding-bottom: 10px;
  scrollbar-width: none; }
.res-jump .w-container::-webkit-scrollbar { display: none; }
.res-jump a { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; padding: 7px 13px;
  border-radius: 999px; border: 1px solid transparent; font-size: .85rem; font-weight: 580;
  color: var(--ink-2); text-decoration: none; }
.res-jump a:hover { background: var(--surface-2, #f3f5f8); border-color: var(--line); color: var(--ink); }
.res-jump svg { width: 15px; height: 15px; color: var(--brand); }

.res-section { scroll-margin-top: 120px; }
.res-head { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 22px; }
.res-ico { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 13px;
  background: var(--teal-tint, #e6f5f4); color: #0a6c6e; }
.res-ico svg { width: 21px; height: 21px; }
.res-head h2 { font-size: 1.35rem; margin: 2px 0 6px; }
.res-head p { margin: 0; color: var(--muted); font-size: .94rem; line-height: 1.6; max-width: 70ch; }

.res-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); gap: 14px; }
.res-card { display: grid; gap: 7px; align-content: start; padding: 18px; border-radius: 15px;
  border: 1px solid var(--line); background: #fff; text-decoration: none; color: inherit;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
.res-card:hover { border-color: var(--brand); box-shadow: 0 10px 26px rgba(11,27,63,.09); transform: translateY(-2px); }
.res-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.res-card-top strong { font-size: 1rem; letter-spacing: -.01em; }
.res-card-top svg { width: 15px; height: 15px; color: var(--muted); flex: none; }
.res-card:hover .res-card-top svg { color: var(--brand); }
.res-note { font-size: .875rem; line-height: 1.58; color: var(--ink-2); }
.res-host { font-size: .76rem; color: var(--muted); font-variant-numeric: tabular-nums; }

.res-empty { text-align: center; padding: 48px 20px; border-radius: 18px; border: 1px dashed var(--line); }
.res-empty svg { width: 32px; height: 32px; color: var(--muted); }
.res-empty h2 { margin: 12px 0 6px; font-size: 1.2rem; }
.res-empty p { margin: 0; color: var(--muted); }
.link-like { background: none; border: 0; padding: 0; font: inherit; color: var(--brand); cursor: pointer; text-decoration: underline; }

@media (max-width: 760px) {
  .res-jump { top: 56px; }
  .res-grid { grid-template-columns: 1fr; }
}
.res-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.res-badge { flex: none; padding: 2px 8px; border-radius: 999px; background: #f1f4f9; color: var(--muted);
  font-size: .7rem; font-weight: 620; letter-spacing: .01em; }

/* ---------------------------------------------------------------
   Team page
   --------------------------------------------------------------- */

.tm-head { margin-bottom: 24px; }
.tm-head h2 { font-size: 1.45rem; margin: 0 0 6px; }
.tm-head p { margin: 0; color: var(--muted); font-size: .95rem; max-width: 62ch; }

.tm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 18px; align-items: start; }
.tm-grid-single { grid-template-columns: minmax(0, 620px); }

.tm-card { display: flex; flex-direction: column; gap: 16px; padding: 24px; border-radius: 18px;
  border: 1px solid var(--line); background: #fff;
  box-shadow: 0 1px 2px rgba(11,27,63,.04);
  transition: border-color .16s ease, box-shadow .16s ease; }
.tm-card:hover { border-color: #c7d4ea; box-shadow: 0 14px 34px rgba(11,27,63,.10); }

.tm-top { display: flex; gap: 16px; align-items: flex-start; }
.tm-photo { flex: none; width: 76px; height: 76px; border-radius: 16px; object-fit: cover;
  background: #eef2f8; border: 1px solid var(--line); }
.tm-initials { display: grid; place-items: center; font-size: 1.4rem; font-weight: 700;
  letter-spacing: -.02em; color: #46629c;
  background: linear-gradient(145deg, #eaf0fb, #dfe8f7); }
.tm-id { min-width: 0; }
.tm-id h3 { font-size: 1.1rem; margin: 2px 0 3px; letter-spacing: -.01em; }
.tm-role { margin: 0 0 5px; font-size: .88rem; font-weight: 640; color: var(--brand); }
.tm-affil { margin: 0; font-size: .82rem; color: var(--muted); line-height: 1.5; }
.tm-loc { display: flex; align-items: center; gap: 5px; margin: 6px 0 0; font-size: .78rem; color: var(--muted); }
.tm-loc svg { width: 13px; height: 13px; }

.tm-bio { margin: 0; font-size: .9rem; line-height: 1.65; color: var(--ink-2); }

.tm-tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.tm-tags li { padding: 3px 10px; border-radius: 999px; background: #f1f5fa; color: var(--ink-2);
  font-size: .74rem; font-weight: 580; }

.tm-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.tm-links { display: flex; gap: 7px; }
.tm-link { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px;
  border: 1px solid var(--line); background: #fff; color: var(--ink-2); }
.tm-link:hover { border-color: var(--brand); color: var(--brand); background: #f6f9ff; }
.tm-link svg { width: 15px; height: 15px; }
.tm-nolinks { font-size: .76rem; color: var(--muted); }
.tm-more { display: inline-flex; align-items: center; gap: 5px; font-size: .84rem; font-weight: 620;
  color: var(--brand); text-decoration: none; white-space: nowrap; }
.tm-more:hover { text-decoration: underline; }
.tm-more svg { width: 14px; height: 14px; }

.tm-join { padding: 34px; border-radius: 20px; border: 1px dashed #c7d4ea; background: #f7faff; }
.tm-join-ico { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px;
  background: #e4edfc; color: var(--brand); margin-bottom: 14px; }
.tm-join-ico svg { width: 20px; height: 20px; }
.tm-join h2 { font-size: 1.35rem; margin: 0 0 8px; }
.tm-join p { margin: 0 0 16px; color: var(--muted); max-width: 70ch; line-height: 1.65; }
.tm-join-list { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 8px; }
.tm-join-list li { display: flex; align-items: flex-start; gap: 8px; font-size: .9rem; color: var(--ink-2); }
.tm-join-list svg { width: 15px; height: 15px; flex: none; margin-top: 3px; color: #1b9e6f; }

@media (max-width: 560px) {
  .tm-card { padding: 20px; }
  .tm-top { gap: 13px; }
  .tm-photo { width: 62px; height: 62px; }
  .tm-foot { flex-direction: column; align-items: flex-start; }
}

/* Certificate verification page */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.vf-form { display: flex; gap: 10px; margin-top: 26px; flex-wrap: wrap; }
.vf-field { flex: 1 1 280px; }
.vf-field input { width: 100%; padding: 14px 16px; border-radius: 13px; border: 1px solid var(--line);
  font: inherit; font-size: 1.02rem; font-family: Consolas, Menlo, monospace; letter-spacing: .06em; text-transform: uppercase; }
.vf-field input:focus { outline: none; border-color: var(--brand); box-shadow: var(--focus); }
.vf-hint { margin: 10px 0 0; font-size: .82rem; color: var(--muted); }
.vf-result { display: flex; gap: 14px; margin-top: 28px; padding: 22px; border-radius: 16px; border: 1px solid; }
.vf-result h2 { margin: 0 0 8px; font-size: 1.15rem; }
.vf-result p { margin: 0; font-size: .9rem; line-height: 1.6; }
.vf-result > svg { width: 24px; height: 24px; flex: none; margin-top: 2px; }
.vf-good { background: #effaf4; border-color: #b9e4cd; color: #10543a; }
.vf-bad { background: #fdf2f1; border-color: #f2c9c5; color: #8c2017; }
.vf-details { display: grid; gap: 10px; margin: 0 0 14px; }
.vf-details div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; align-items: baseline; }
.vf-details dt { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; opacity: .72; }
.vf-details dd { margin: 0; font-weight: 620; }
.vf-details .mono { font-family: Consolas, Menlo, monospace; letter-spacing: .05em; }
.vf-note { font-size: .8rem !important; opacity: .8; }
@media (max-width: 560px) { .vf-details div { grid-template-columns: 1fr; gap: 2px; } }
