/* =========================================================
   Modern Robotics & Physical AI — Robotics Corner
   ========================================================= */

:root {
  --ink: #0f172b;
  --ink-2: #1e293b;
  --body: #475569;
  --muted: #5d6b80;
  --faint: #64748b;
  --bg: #f8fafc;
  --white: #ffffff;
  --line: #e6ecf3;
  --line-soft: #eef3f8;
  --cyan: #06b6d4;
  --cyan-600: #0891b2;
  --cyan-700: #0e7490;
  --cyan-50: #ecfeff;
  --emerald: #00bb7f;
  --emerald-600: #059669;
  --emerald-50: #ecfdf5;
  --violet: #8b5cf6;
  --violet-50: #f5f3ff;
  --amber: #f59e0b;
  --amber-50: #fffbeb;
  --grad: linear-gradient(100deg, #06b6d4 0%, #00bb7f 100%);
  --grad-soft: linear-gradient(135deg, #ecfeff 0%, #edfdf6 100%);
  --shadow-sm: 0 1px 2px rgba(15, 23, 43, .04), 0 8px 24px -18px rgba(15, 23, 43, .18);
  --shadow-md: 0 2px 6px rgba(15, 23, 43, .04), 0 18px 44px -24px rgba(15, 23, 43, .22);
  --shadow-lg: 0 30px 80px -42px rgba(15, 23, 43, .45);
  --radius: 20px;
  --font-display: "Sora", ui-sans-serif, system-ui, sans-serif;
  --font-sans: "Inter Tight", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p, ul, ol { margin: 0; }
ul { padding: 0; list-style: none; }
svg { display: block; }
[hidden] { display: none !important; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }.ic {
  width: 1em;
  height: 1em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

::selection { background: rgba(6, 182, 212, .18); color: var(--ink); }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform .2s ease;
}
.skip-link:focus { transform: none; }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 28px;
}

/* ---------- scroll progress ---------- */
.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  background: transparent;
  z-index: 120;
  pointer-events: none;
}
.scroll-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--grad);
  box-shadow: 0 0 12px rgba(6, 182, 212, .55);
  transition: width .08s linear;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 20px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
  white-space: nowrap;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease, color .25s ease;
}
.btn .ic { font-size: 16px; }
.btn-lg { padding: 15px 24px; font-size: 15px; border-radius: 14px; }
.btn-lg .ic { font-size: 17px; }
.btn-small { padding: 9px 14px; font-size: 12.5px; border-radius: 10px; }
.btn-small .ic { font-size: 14px; }

.btn-primary {
  color: #fff;
  background: linear-gradient(100deg, #06b6d4, #00bb7f);
  box-shadow: 0 10px 24px -10px rgba(6, 182, 212, .75), inset 0 1px 0 rgba(255, 255, 255, .22);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px -12px rgba(6, 182, 212, .8), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.btn-light {
  background: rgba(255, 255, 255, .8);
  border-color: var(--line);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
}
.btn-light:hover { transform: translateY(-2px); border-color: rgba(6, 182, 212, .35); color: var(--cyan-700); }
.btn-outline {
  background: #fff;
  border-color: var(--line);
  color: var(--ink-2);
}
.btn-outline:hover { border-color: rgba(6, 182, 212, .4); color: var(--cyan-700); background: var(--cyan-50); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--body);
  border-color: transparent;
}
.btn-ghost:hover { color: var(--cyan-700); background: var(--cyan-50); }
.btn-dark-outline {
  background: rgba(255, 255, 255, .04);
  border-color: rgba(255, 255, 255, .16);
  color: #fff;
}
.btn-dark-outline:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .3); transform: translateY(-2px); }

/* ---------- header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding-top: 6px;
  transition: background .35s ease, box-shadow .35s ease, border-color .35s ease, backdrop-filter .35s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom-color: rgba(226, 232, 240, .9);
  box-shadow: 0 12px 30px -24px rgba(15, 23, 43, .4);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 74px;
}
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 44px; width: auto; transition: transform .3s ease; }
.brand:hover img { transform: scale(1.03); }

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 5px;
  background: rgba(255, 255, 255, .62);
  border: 1px solid rgba(226, 232, 240, .9);
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(15, 23, 43, .03);
  backdrop-filter: blur(12px);
}
.nav-link {
  position: relative;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--body);
  border-radius: 10px;
  border: 1px solid transparent;
  transition: color .25s ease, background .25s ease, border-color .25s ease;
  white-space: nowrap;
}
.nav-link:hover { color: var(--cyan-700); background: #f1f5f9; }
.nav-link.on {
  color: var(--cyan-700);
  background: var(--cyan-50);
  border-color: #cffafe;
}

.header-actions { display: flex; align-items: center; gap: 6px; flex: none; }
.header-glossary { font-size: 13px; padding: 9px 12px; }
.header-cta { font-size: 13px; padding: 10px 16px; }
.menu-btn {
  display: none;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  transition: background .2s ease, border-color .2s ease;
}
.menu-btn .ic { font-size: 21px; }
.menu-btn:hover { background: #f8fafc; border-color: #cbd5e1; }
.menu-btn .menu-close { display: none; }
.menu-btn[aria-expanded="true"] .menu-open { display: none; }
.menu-btn[aria-expanded="true"] .menu-close { display: block; }

.mobile-menu {
  margin: 0 20px;
  padding: 14px;
  background: rgba(255, 255, 255, .97);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 24px 50px -22px rgba(15, 23, 43, .35);
  backdrop-filter: blur(18px);
  animation: menuIn .22s ease both;
}
.mobile-menu nav { display: grid; gap: 2px; margin-bottom: 10px; }
.mobile-menu nav a {
  padding: 11px 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
}
.mobile-menu nav a:hover { background: var(--cyan-50); color: var(--cyan-700); }
.mobile-menu .btn { width: 100%; }
@keyframes menuIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 154px 0 64px;
  overflow: hidden;
  background:
    radial-gradient(1100px 520px at 50% -8%, rgba(165, 243, 252, .5) 0%, rgba(248, 250, 252, 0) 68%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 62%, #f8fafc 100%);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.orb {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .5;
}
.orb-cyan { top: -180px; left: -120px; background: rgba(34, 211, 238, .35); }
.orb-emerald { top: -140px; right: -140px; background: rgba(16, 185, 129, .28); }
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(15, 23, 43, .045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 43, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 55% at 50% 0%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 0%, #000 20%, transparent 75%);
}
.hero-inner { position: relative; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .85);
  box-shadow: 0 1px 2px rgba(15, 23, 43, .04);
  color: var(--cyan-700);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  line-height: 1.2;
}
.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 0 3px rgba(6, 182, 212, .13);
}

.hero h1 {
  margin: 24px auto 0;
  max-width: 1000px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(42px, 6.6vw, 82px);
  line-height: 1.02;
  letter-spacing: -.045em;
  color: var(--ink);
}
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hero-lead {
  margin: 24px auto 0;
  max-width: 760px;
  font-size: clamp(15.5px, 1.5vw, 18px);
  line-height: 1.68;
  color: var(--body);
}
.hero-cta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.hero-chips {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 26px;
}
.hero-chips li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 13px;
  background: rgba(255, 255, 255, .85);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--body);
  box-shadow: 0 1px 2px rgba(15, 23, 43, .03);
}
.hero-chips .ic { font-size: 14px; color: var(--cyan-600); }

/* ---------- interactive lab ---------- */
.lab {
  position: relative;
  max-width: 980px;
  margin: 52px auto 0;
  padding: 14px;
  background: rgba(255, 255, 255, .9);
  border: 1px solid rgba(226, 232, 240, .95);
  border-radius: 28px;
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, .8);
  text-align: left;
  backdrop-filter: blur(12px);
}
.lab::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(120deg, rgba(6, 182, 212, .45), rgba(0, 187, 127, .12) 42%, rgba(6, 182, 212, .06) 70%, rgba(0, 187, 127, .4));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.lab-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 5px 8px 13px;
  flex-wrap: wrap;
}
.lab-tabs {
  display: inline-flex;
  gap: 2px;
  padding: 4px;
  background: #f1f5f9;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
}
.lab-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 13px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
  transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}
.lab-tab .tab-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #cbd5e1;
  transition: background .2s ease;
}
.lab-tab:hover { color: var(--ink-2); }
.lab-tab.is-active {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(15, 23, 43, .12);
}
.lab-tab.is-active .tab-dot { background: var(--grad); box-shadow: 0 0 0 3px rgba(6, 182, 212, .12); }
.live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #047857;
  white-space: nowrap;
}
.live > span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 3px rgba(0, 187, 127, .14);
  animation: pulse 2s ease infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .35; }
}

.lab-stage {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  padding: 20px 20px 6px;
  background:
    radial-gradient(90% 120% at 12% 0%, rgba(6, 182, 212, .16) 0%, rgba(11, 20, 36, 0) 55%),
    radial-gradient(80% 100% at 100% 100%, rgba(0, 187, 127, .13) 0%, rgba(11, 20, 36, 0) 60%),
    #0b1424;
  border: 1px solid rgba(255, 255, 255, .06);
}
.lab-stage-head {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  pointer-events: none;
}
.lab-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -.02em;
  color: #f1f5f9;
  line-height: 1.3;
}
.lab-sub {
  margin-top: 4px;
  max-width: 560px;
  font-size: 12.5px;
  line-height: 1.55;
  color: #8fa3bd;
}
.lab-chip {
  flex: none;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(34, 211, 238, .28);
  background: rgba(34, 211, 238, .1);
  color: #67e8f9;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .04em;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
#labCanvas {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 316px;
  margin-top: 4px;
  cursor: crosshair;
  touch-action: none;
}
.lab-glow {
  position: absolute;
  left: 50%;
  bottom: -180px;
  width: 520px;
  height: 300px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(6, 182, 212, .22), transparent);
  pointer-events: none;
}
.lab-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 8px 2px;
}
.lab-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.4;
}
.lab-hint .ic { font-size: 14px; color: var(--cyan-600); }

/* ---------- stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 980px;
  margin: 30px auto 0;
  padding: 8px;
  background: rgba(255, 255, 255, .9);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.stat {
  padding: 16px 10px;
  border-right: 1px solid var(--line-soft);
}
.stat:last-child { border-right: 0; }
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 29px;
  line-height: 1.1;
  letter-spacing: -.03em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.stat-unit {
  font-size: 15px;
  font-weight: 600;
  margin-left: 4px;
  letter-spacing: 0;
}
.stat-label {
  display: block;
  margin-top: 5px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--faint);
}

/* ---------- sections ---------- */
.section { position: relative; padding: 96px 0; }
.section-alt { background: var(--white); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.section-tight { padding: 78px 0; }

.section-head {
  max-width: 800px;
  margin: 0 auto 46px;
  text-align: center;
}
.section-head h2 {
  margin: 18px 0 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.12;
  letter-spacing: -.035em;
  color: var(--ink);
}
.lead {
  font-size: 16.5px;
  line-height: 1.68;
  color: var(--body);
  max-width: 720px;
  margin-inline: auto;
}

/* ---------- grids + cards ---------- */
.grid { display: grid; gap: 20px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 1px 2px rgba(15, 23, 43, .025);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(6, 182, 212, .28);
  box-shadow: 0 22px 46px -26px rgba(15, 23, 43, .28);
}
.feature { padding: 26px 24px 28px; }
.feature h3 {
  margin: 17px 0 8px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -.015em;
  color: var(--ink);
}
.feature p { font-size: 14px; line-height: 1.66; color: var(--muted); }

.icon-tile {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(140deg, #ecfeff, #e0f2fe);
  border: 1px solid #cffafe;
  color: var(--cyan-600);
  font-size: 22px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
}
.icon-tile-emerald { background: linear-gradient(140deg, #ecfdf5, #d1fae5); border-color: #d1fae5; color: var(--emerald-600); }
.icon-tile-violet { background: linear-gradient(140deg, #f5f3ff, #ede9fe); border-color: #ede9fe; color: var(--violet); }
.icon-tile-amber { background: linear-gradient(140deg, #fffbeb, #fef3c7); border-color: #fef3c7; color: #d97706; }
.icon-tile-sm { width: 42px; height: 42px; border-radius: 12px; font-size: 19px; flex: none; }

/* ---------- program ---------- */
.program-meta {
  max-width: 860px;
  margin: 0 auto 26px;
  text-align: center;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--muted);
}
.program-meta a {
  color: var(--cyan-700);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(6, 182, 212, .35);
  text-underline-offset: 3px;
}
.program-meta a:hover { text-decoration-color: var(--cyan); }

.program-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  max-width: 980px;
  margin: 0 auto 20px;
  padding: 9px;
  background: rgba(255, 255, 255, .92);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}
.search {
  position: relative;
  flex: 1 1 260px;
  min-width: 220px;
}
.search .ic {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--faint);
  font-size: 16px;
  pointer-events: none;
}
.search input {
  width: 100%;
  padding: 10px 14px 10px 39px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: #f8fafc;
  color: var(--ink);
  font-size: 13.5px;
  outline: none;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.search input::placeholder { color: var(--faint); }
.search input:focus {
  background: #fff;
  border-color: rgba(6, 182, 212, .5);
  box-shadow: 0 0 0 4px rgba(6, 182, 212, .1);
}
.filters { display: flex; align-items: center; gap: 3px; }
.filter {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.filter span {
  font-size: 10.5px;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 5px;
  background: #f1f5f9;
  color: #5b6b82;
}
.filter:hover { background: #f8fafc; color: var(--ink); }
.filter.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.filter.is-active span { background: rgba(255, 255, 255, .13); color: #a5f3fc; }

.parts {
  display: grid;
  gap: 11px;
  max-width: 980px;
  margin: 0 auto;
}
.part {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.part:hover { border-color: rgba(6, 182, 212, .24); }
.part[open] {
  border-color: rgba(6, 182, 212, .32);
  box-shadow: 0 16px 40px -32px rgba(15, 23, 43, .35);
}
.part summary {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 18px 20px;
  list-style: none;
  cursor: pointer;
  transition: background .2s ease;
}
.part summary::-webkit-details-marker { display: none; }
.part summary:hover { background: #fbfdff; }
.part[open] summary { background: linear-gradient(180deg, #f8fdff, #ffffff); }

.part-num {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #f8fafc;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--muted);
  transition: background .3s ease, color .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.part[open] .part-num {
  background: var(--grad);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 10px 20px -10px rgba(6, 182, 212, .75);
}
.part-info { min-width: 0; }
.part-kicker {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cyan-700);
  margin-bottom: 3px;
}
.part-title {
  display: block;
  font-family: var(--font-display);
  font-size: 16.5px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -.015em;
  color: var(--ink);
}
.part-q {
  display: block;
  margin-top: 3px;
  font-size: 12.8px;
  line-height: 1.5;
  color: var(--muted);
}
.part-side {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}
.part-badge {
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  white-space: nowrap;
}
.part-badge.available { background: var(--emerald-50); border-color: #a7f3d0; color: #047857; }
.part-badge.soon { background: #f1f5f9; border-color: #e2e8f0; color: #5b6b82; }
.part-count { font-size: 12px; color: var(--faint); white-space: nowrap; }
.chev {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  color: var(--faint);
  font-size: 16px;
  transform: rotate(-90deg);
  transition: transform .3s ease, background .2s ease, color .2s ease;
}
.part summary:hover .chev { background: var(--cyan-50); color: var(--cyan-600); }
.part[open] .chev { transform: rotate(0deg); color: var(--cyan-600); background: var(--cyan-50); }

.part-body { padding: 2px 20px 16px 90px; }
.part[open] .part-body { animation: openBody .32s ease both; }
@keyframes openBody {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: none; }
}
.lessons { display: grid; gap: 2px; }
.lesson a,
.lesson.is-locked {
  display: grid;
  grid-template-columns: 44px 1fr auto 18px;
  align-items: center;
  gap: 12px;
  padding: 9px 11px;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: background .2s ease, border-color .2s ease;
}
.lesson a:hover { background: #f4feff; border-color: #e3f7fb; }
.lnum {
  display: grid;
  place-items: center;
  min-height: 24px;
  padding: 3px 0;
  border-radius: 7px;
  border: 1px solid #cffafe;
  background: var(--cyan-50);
  font-size: 10.8px;
  font-weight: 700;
  color: var(--cyan-700);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.lnum.check { background: var(--emerald-50); border-color: #a7f3d0; color: var(--emerald-600); font-size: 12px; }
.ltitle { font-size: 13.8px; font-weight: 500; line-height: 1.45; color: var(--ink-2); }
.lesson a:hover .ltitle { color: var(--cyan-700); }
.tag {
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1.35;
}
.tag.core { background: #eff6ff; border-color: #dbeafe; color: #2563eb; }
.tag.deep { background: var(--violet-50); border-color: #ede9fe; color: #7c3aed; }
.tag.check { background: var(--emerald-50); border-color: #d1fae5; color: #047857; }
.larrow {
  font-size: 15px;
  color: var(--cyan);
  opacity: 0;
  transform: translate(-3px, 3px);
  transition: opacity .2s ease, transform .2s ease;
}
.lesson a:hover .larrow { opacity: 1; transform: none; }

.lesson.is-locked {
  grid-template-columns: 44px 1fr auto;
  opacity: .68;
}
.lesson.is-locked .lnum { background: #f8fafc; border-color: var(--line); color: var(--faint); }
.lesson.is-locked .ltitle { color: var(--muted); }
.lesson.is-locked .tag { opacity: .7; }

.part.is-soon { background: #fcfdff; }
.part.is-soon .part-num { background: #fff; color: #5b6b82; border-style: dashed; }
.part.is-soon[open] .part-num { background: #f1f5f9; color: var(--muted); border-style: solid; box-shadow: none; }
.part.is-soon[open] { border-color: var(--line); box-shadow: none; }
.part.is-soon .part-kicker { color: #5b6b82; }

.soon-note {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin: 6px 0;
  padding: 15px 18px;
  border: 1px dashed #bae6fd;
  border-radius: 14px;
  background: linear-gradient(100deg, #f0fdff, #f0fdf7);
}
.soon-pill {
  flex: none;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--grad);
  color: #fff;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  box-shadow: 0 6px 14px -8px rgba(6, 182, 212, .9);
}
.soon-note p { font-size: 13px; line-height: 1.6; color: var(--body); }
.soon-note a { color: var(--cyan-700); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.search-empty {
  padding: 34px 16px;
  text-align: center;
  font-size: 14px;
  color: var(--faint);
}

/* ---------- audience ---------- */
.audience { padding: 28px; }
.aud-head { display: flex; align-items: center; gap: 15px; }
.aud-kicker {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cyan-700);
  margin-bottom: 3px;
}
.audience h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -.02em;
  color: var(--ink);
}
.check-list { display: grid; gap: 11px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line-soft); }
.check-list li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--body);
}
.check-list li::before {
  content: "✓";
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--emerald-50);
  border: 1px solid #d1fae5;
  color: var(--emerald-600);
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
}

.subhead {
  margin: 50px 0 20px;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(21px, 2.4vw, 27px);
  font-weight: 600;
  letter-spacing: -.025em;
  color: var(--ink);
}
.outcome-grid { gap: 16px; }
.outcome { display: flex; align-items: flex-start; gap: 15px; padding: 21px 22px; }
.outcome h4 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.015em;
  color: var(--ink);
  margin-bottom: 4px;
}
.outcome p { font-size: 13.5px; line-height: 1.62; color: var(--muted); }

/* ---------- author ---------- */
.author-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 42px;
  align-items: start;
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(600px 280px at 0% 0%, rgba(6, 182, 212, .1) 0%, transparent 70%),
    radial-gradient(500px 300px at 100% 100%, rgba(0, 187, 127, .09) 0%, transparent 70%),
    #fff;
  box-shadow: var(--shadow-md);
}
.author-card::after {
  content: "";
  position: absolute;
  top: -80px;
  right: -60px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 1px solid rgba(6, 182, 212, .12);
  pointer-events: none;
}
.author-photo { position: relative; }
.author-photo::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 30px;
  background: var(--grad);
  opacity: .18;
  filter: blur(18px);
}
.author-photo img {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 24px;
  border: 5px solid #fff;
  box-shadow: 0 18px 40px -22px rgba(15, 23, 43, .45);
}
.author-body h2 {
  margin: 12px 0 3px;
  font-family: var(--font-display);
  font-size: clamp(27px, 3vw, 35px);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.1;
  color: var(--ink);
}
.author-body .role {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--cyan-700);
}
.author-quote {
  margin: 20px 0 22px;
  padding-left: 18px;
  border-left: 3px solid transparent;
  border-image: var(--grad) 1;
  font-size: 16.5px;
  line-height: 1.65;
  color: #334155;
  max-width: 660px;
}
.contacts { display: flex; flex-wrap: wrap; gap: 8px; }
.author-notes { display: grid; gap: 10px; margin-top: 24px; }
.thanks-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 12px 14px;
  border: 1px solid #cffafe;
  border-radius: 12px;
  background: rgba(236, 254, 255, .7);
  font-size: 13px;
  line-height: 1.6;
  color: var(--body);
}
.thanks-note .ic { font-size: 15px; color: var(--cyan-600); margin-top: 2px; }
.disclaimer { font-size: 12px; line-height: 1.6; color: var(--faint); }

/* ---------- contributors ---------- */
.contributors {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.contributors h2 {
  margin: 14px 0 10px;
  font-family: var(--font-display);
  font-size: clamp(24px, 2.8vw, 32px);
  font-weight: 700;
  letter-spacing: -.03em;
  color: var(--ink);
}
.contributors .lead { font-size: 15px; max-width: 640px; margin: 0; }
.contrib-chips { display: flex; gap: 9px; flex-wrap: wrap; }
.contrib-chips a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  box-shadow: var(--shadow-sm);
  transition: border-color .2s ease, color .2s ease, transform .2s ease;
}
.contrib-chips a:hover { border-color: rgba(6, 182, 212, .4); color: var(--cyan-700); transform: translateY(-2px); }
.contrib-chips .ic { font-size: 16px; color: var(--cyan-600); }

/* ---------- faq ---------- */
.faq {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 9px;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 15px;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.faq-item[open] {
  border-color: rgba(6, 182, 212, .3);
  box-shadow: 0 14px 34px -30px rgba(15, 23, 43, .4);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 17px 20px;
  list-style: none;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.45;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon {
  position: relative;
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #f8fafc;
  transition: background .25s ease, border-color .25s ease, transform .3s ease;
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--cyan-600);
  transform: translate(-50%, -50%);
  transition: transform .25s ease;
}
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-icon { background: var(--cyan-50); border-color: #cffafe; }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-a {
  padding: 0 20px 18px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 720px;
  animation: openBody .28s ease both;
}
.faq-a a { color: var(--cyan-700); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* ---------- CTA ---------- */
.cta-section { padding: 24px 0 96px; }
.cta-card {
  position: relative;
  overflow: hidden;
  padding: 62px 32px;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .03), transparent 40%),
    #0f172b;
  border: 1px solid rgba(255, 255, 255, .07);
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.cta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, #000, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, #000, transparent 78%);
  pointer-events: none;
}
.cta-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.cta-glow-1 { top: -180px; left: -80px; background: rgba(6, 182, 212, .3); }
.cta-glow-2 { bottom: -200px; right: -60px; background: rgba(0, 187, 127, .24); }
.cta-card > * { position: relative; z-index: 1; }
.eyebrow-dark {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .12);
  color: #a5f3fc;
  box-shadow: none;
  backdrop-filter: blur(4px);
}
.cta-card h2 {
  margin: 20px 0 16px;
  font-family: var(--font-display);
  font-size: clamp(32px, 4.2vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.04em;
  color: #fff;
}
.cta-card p { max-width: 620px; margin: 0 auto; font-size: 15.5px; line-height: 1.68; color: #94a3b8; }
.cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 11px; margin-top: 30px; }
.cta-note {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 22px !important;
  font-size: 12px !important;
  color: #94a3b8 !important;
}
.cta-note .ic { font-size: 14px; color: #34d399; }

/* ---------- footer ---------- */
.footer {
  background: #080f1d;
  color: #94a3b8;
  padding: 62px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, .05);
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 44px;
}
.footer-logo {
  display: inline-block;
  padding: 10px 14px;
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .6);
}
.footer-logo img { height: 38px; width: auto; }
.footer-brand p {
  margin: 18px 0 20px;
  max-width: 340px;
  font-size: 13px;
  line-height: 1.7;
  color: #8494a9;
}
.socials { display: flex; gap: 8px; }
.socials a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .09);
  background: rgba(255, 255, 255, .03);
  color: #94a3b8;
  font-size: 16px;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.socials a:hover {
  color: #fff;
  background: rgba(6, 182, 212, .14);
  border-color: rgba(34, 211, 238, .45);
  transform: translateY(-2px);
}
.footer-col h3 {
  margin: 4px 0 14px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #e2e8f0;
}
.footer-col a {
  display: block;
  padding: 5px 0;
  font-size: 13px;
  color: #8494a9;
  transition: color .2s ease, transform .2s ease;
}
.footer-col a:hover { color: #67e8f9; transform: translateX(2px); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .07);
  font-size: 11.5px;
  color: #8494a9;
}
.footer-bottom a { color: #94a3b8; text-decoration: underline; text-underline-offset: 2px; text-decoration-color: rgba(148, 163, 184, .45); }
.footer-bottom a:hover { color: #67e8f9; }
.licenses { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------- reveal ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s cubic-bezier(.2, .7, .2, 1) var(--d, 0s), transform .7s cubic-bezier(.2, .7, .2, 1) var(--d, 0s);
  will-change: opacity, transform;
}
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1120px) {
  .nav-link { padding: 8px 11px; font-size: 12.5px; }
  .header-glossary { display: none; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1023px) {
  .nav { display: none; }
  .menu-btn { display: grid; }
  .header-inner { height: 70px; }
  .hero { padding-top: 140px; }
  .mobile-menu:not([hidden]) { display: block; }
}

@media (max-width: 900px) {
  .author-card { grid-template-columns: 180px 1fr; gap: 30px; padding: 32px; }
  .author-quote { font-size: 15.5px; }
  .contributors { display: block; }
  .contrib-chips { margin-top: 22px; }
  .footer-top { grid-template-columns: 1.6fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand p { max-width: 460px; }
}

@media (max-width: 760px) {
  .wrap { padding-inline: 20px; }
  .section { padding: 76px 0; }
  .section-tight { padding: 62px 0; }
  .section-head { margin-bottom: 34px; }
  .hero { padding: 128px 0 64px; }
  .hero-lead { font-size: 15.5px; }
  .lab { margin-top: 38px; padding: 10px; border-radius: 22px; }
  .lab-stage { padding: 16px 14px 4px; border-radius: 16px; }
  #labCanvas { height: 280px; }
  .lab-stage-head { flex-direction: column; gap: 10px; }
  .lab-title { font-size: 15.5px; }
  .lab-sub { font-size: 12px; }
  .lab-chip { align-self: flex-start; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 14px 8px; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line-soft); }
  .grid-2 { grid-template-columns: 1fr; }
  .outcome-grid { gap: 12px; }
  .part summary { grid-template-columns: 44px 1fr auto; gap: 14px; padding: 16px; }
  .part-num { width: 42px; height: 42px; border-radius: 12px; font-size: 13px; }
  .part-title { font-size: 15px; }
  .part-q { font-size: 12px; }
  .part-count { display: none; }
  .part-body { padding: 0 12px 14px 16px; }
  .part-side { gap: 8px; }
  .part-badge { font-size: 9px; padding: 4px 7px; }
  .author-card { grid-template-columns: 1fr; padding: 26px; gap: 24px; }
  .author-photo { max-width: 168px; }
  .author-quote { border-left: 0; border-image: none; padding-left: 0; margin: 16px 0 20px; }
  .author-body h2 { font-size: 27px; }
  .author-card::after { display: none; }
  .cta-card { padding: 48px 22px; border-radius: 24px; }
  .cta-section { padding: 10px 0 68px; }
  .footer { padding-top: 48px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-col:last-of-type { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; align-items: start; }
  .footer-col:last-of-type h4 { grid-column: 1 / -1; }
  .footer-bottom { display: block; }
  .licenses { margin-top: 10px; gap: 12px; }
}

@media (max-width: 620px) {
  .header-cta { display: none; }
  .brand img { height: 38px; }
  .hero h1 { font-size: clamp(38px, 10.4vw, 54px); }
  .hero-cta .btn { flex: 1 1 auto; }
  .hero-chips { gap: 7px; }
  .hero-chips li { font-size: 11.5px; padding: 7px 11px; }
  .lab-tabs { width: 100%; }
  .lab-tab { flex: 1; justify-content: center; padding: 8px 8px; font-size: 11.5px; }
  .lab-foot { flex-wrap: wrap; }
  .lab-hint { flex: 1 1 200px; }
  .live { display: none; }
  .program-toolbar { flex-direction: column; align-items: stretch; }
  .search { flex: 0 0 auto; min-width: 0; }
  .filters { justify-content: flex-start; overflow-x: auto; }
  .program-meta { text-align: left; }
  .program-meta p { font-size: 12.5px; }
  .soon-note { flex-direction: column; gap: 9px; }
  .lesson a, .lesson.is-locked { grid-template-columns: 40px 1fr auto; gap: 10px; padding: 9px 6px; }
  .lesson a .tag { display: none; }
  .lesson .larrow { display: none; }
  .tag { font-size: 8.5px; }
  .audience { padding: 22px; }
  .audience h3 { font-size: 16.5px; }
  .outcome { padding: 18px; }
  .subhead { margin-top: 40px; }
  .contributors .lead { font-size: 14px; }
  .footer-top { gap: 26px; }
  .cta-card h2 { font-size: 31px; }
  .cta-actions .btn { width: 100%; }
}

@media (max-width: 440px) {
  .wrap { padding-inline: 16px; }
  .lab-hint { font-size: 11.5px; }
  .stats { margin-top: 24px; }
  .stat-num { font-size: 25px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .part-side .part-badge { display: none; }
  .lesson a, .lesson.is-locked { grid-template-columns: 38px 1fr; }
  .lesson.is-locked .tag, .lesson a .tag { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   Course library (root home page) — additive rules
   ========================================================= */
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.course-chip {
  display: inline-block;
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: #64748b; background: #f1f5f9; border: 1px solid var(--line-soft);
  border-radius: 999px; padding: 3px 10px; margin: 10px 0 2px;
}
.course-chip.here { color: #0e7490; background: #ecfeff; border-color: #cffafe; }
@media (max-width: 760px) {
  .grid-3 { grid-template-columns: 1fr; }
}
