/* =============================================================================
   Stanford AI Training Hub — shared shell + design system (hand-written, no
   frameworks). Loaded by every public hub page: /, /browse, /tracks/:id,
   /whats-new, /learning-paths and /library/:id.

   Visual direction: the approved "AI Catalyst" editorial mockup —
     • Newsreader (serif, 500/600) for huge display headings with tight
       line-height and negative tracking; Manrope for body/UI; DM Mono for
       eyebrows, kickers, labels and meta (uppercase, letter-spaced).
     • Palette: ink #2e2d29 · ink-soft #53565a · forest #2e2d29 (dark surface:
       brand mark, featured cards, live-session band, footer) · teal #b1040e
       (THE interactive accent) · mint #f2dcd9 · lime #d98c8c (accent-on-dark)
       · paper #ffffff (page) · white #ffffff (cards) · line #e4e1db.
     • Cardinal #8c1515 appears ONLY in the one-line institution strip.
   Contrast (WCAG 2.2 AA): teal on paper 4.7:1, on white 4.9:1; ink-soft on
   paper 7.1:1; forest on paper 13.9:1; lime on forest 12.3:1; #820000 on
   mint 6.0:1; #c6c3bd on forest 9.9:1.
   ========================================================================== */

:root {
  --ink: #2e2d29;
  --ink-soft: #53565a;
  --forest: #2e2d29;
  --forest-deep: #232220;
  --teal: #b1040e;
  --teal-dark: #820000;
  --mint: #f2dcd9;
  --mint-soft: #faf4f3;
  --lime: #d98c8c;
  --paper: #ffffff;
  --white: #ffffff;
  --line: #e4e1db;
  --line-soft: #efede9;
  --cardinal: #8c1515;         /* institution strip ONLY */
  --shadow: 0 18px 55px rgba(46, 45, 41, .12);
  --shadow-1: 0 2px 10px rgba(46, 45, 41, .07);
  --sans: "Manrope", system-ui, "Segoe UI", Arial, sans-serif;
  --serif: "Newsreader", Georgia, serif;
  --mono: "DM Mono", Consolas, monospace;

  /* Legacy aliases (rules ported from earlier passes reference these) */
  --grey: var(--ink-soft);
  --muted: var(--ink-soft);
  --border: var(--line);
  --border-soft: var(--line-soft);
  --fog: #f6f5f2;
  --fill: #f6f5f2;
  --card: var(--white);
  --red: var(--teal);
  --red-dark: var(--teal-dark);
  --green: #820000;
  --ok: #820000;
  --warn: #92510a;
  --shadow-2: var(--shadow-1);
  --shadow-3: var(--shadow);
  --radius: 4px;
  --radius-lg: 6px;
  --font: var(--sans);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
button, input, select, textarea { font: inherit; }
a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--teal-dark); }
/* Links that ARE dark forest surfaces (the whole card is the anchor) must
   not take the global teal-dark hover - it is near-invisible on forest
   (owner report 2026-08-29). They keep white text; the arrow circles
   carry the hover affordance instead. */
a.vs-track:hover, a.vs-track:hover h3,
a.featured:hover, a.featured:hover h3,
.lp-jump a:hover, .vs-jump a:hover,
.hub-section.dark a:hover { color: #fff; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible,
:focus-visible { outline: 3px solid #d46a6a; outline-offset: 3px; border-radius: 2px; }
::selection { background: rgba(140, 21, 21, .18); }

.material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
  font-size: 20px;
  vertical-align: -4px;
  flex-shrink: 0;
  color: var(--ink-soft);
  /* Hidden until hub-shell.js confirms the ligature font loaded — otherwise
     icons render as their literal names on devices where the Google-hosted
     font is blocked or times out. All font icons are aria-hidden decoration
     with text labels, so staying hidden is the correct failure mode. */
  visibility: hidden;
}
html.icons-ready .material-symbols-outlined { visibility: visible; }

.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;
}

/* Display type — Newsreader, huge and tight */
h1, h2, h3, h4 { color: inherit; margin: 0; }
h1 { font: 600 clamp(28px, 3.2vw, 40px)/1.05 var(--serif); letter-spacing: -.03em; }
/* Heroes keep the display scale; detail-page h1s sit at h2 scale (owner
   ruling 2026-08-31: 'these must be h2 and not h1'). */
.hub-hero h1 { font: 600 clamp(44px, 5vw, 75px)/.95 var(--serif); letter-spacing: -.04em; }
h1 em { color: var(--teal); font-style: italic; font-weight: 500; }
h2 { font: 600 clamp(28px, 3.2vw, 40px)/1 var(--serif); letter-spacing: -.03em; }
h3 { font: 600 1.35rem/1.15 var(--serif); letter-spacing: -.02em; }

.hub-wrap { width: min(1200px, calc(100% - 48px)); margin-inline: auto; }

.kicker, .hub-kicker-label {
  font: 500 14px var(--mono); color: var(--teal);
  letter-spacing: .12em; text-transform: uppercase; margin-bottom: 10px;
}
.eyebrow-line {
  font: 500 14px var(--mono); letter-spacing: .12em; text-transform: uppercase;
  color: var(--teal); display: flex; align-items: center; gap: 10px; margin: 0 0 20px;
}
/* dash removed per owner 2026-08-29 ("looks like an emdash") */

.text-link {
  font: 700 13px var(--sans); color: var(--ink); text-decoration: none;
  border-bottom: 1px solid var(--ink); padding-bottom: 4px;
}
.text-link span { display: inline-block; margin-left: 8px; transition: transform .2s; }
.text-link:hover { color: var(--teal); border-color: var(--teal); }
.text-link:hover span { transform: translateX(4px); }

/* ---------------------------------------------------------------------------
   Shell: skip link · cardinal institution strip · sticky blurred header
   ------------------------------------------------------------------------ */
.skip-link {
  position: absolute; left: -999px; top: 12px; z-index: 200;
  background: var(--white); color: var(--ink); border: 1px solid var(--line);
  padding: 10px 16px; font-weight: 700; text-decoration: none;
}
.skip-link:focus { left: 12px; }

/* The ONLY cardinal element on the site */
.hub-topstrip { height: 34px; background: var(--cardinal); color: #fff; display: flex; align-items: center; }
.hub-topstrip .hub-wrap {
  display: flex; align-items: center; justify-content: space-between; gap: .7rem;
  font: 500 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; padding: 0;
}
.hub-topstrip a { color: #fff; text-decoration: none; }
.hub-topstrip a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.hub-topstrip .sep { opacity: .6; }
.hub-topstrip .strip-tag { opacity: .92; }

.hub-header {
  position: sticky; top: 0; z-index: 40;
  height: 82px; display: flex; align-items: center;
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid rgba(46, 45, 41, .12);
  backdrop-filter: blur(16px);
}
.hub-header .hub-wrap { display: flex; align-items: center; gap: 32px; width: min(1200px, calc(100% - 48px)); }
.hub-wordmark {
  display: inline-flex; align-items: center; gap: 12px;
  font-weight: 800; letter-spacing: -.03em; font-size: 20px; font-family: var(--sans);
  color: var(--ink); text-decoration: none; white-space: nowrap;
}
.hub-wordmark .brand-mark {
  width: 34px; height: 34px; border-radius: 50%; background: var(--cardinal);
  display: grid; place-items: center; color: #fff; flex-shrink: 0;
  font: 600 15px var(--serif); letter-spacing: 0;
}
.hub-wordmark em { color: inherit; font-style: normal; padding: 0; }
.hub-wordmark:hover { color: var(--ink); }

.hub-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; font-size: 14px; font-weight: 600; }
.hub-nav a { position: relative; color: var(--ink); text-decoration: none; padding: 4px 0; }
.hub-nav a .material-symbols-outlined { display: none; }
.hub-nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -5px; height: 2px;
  background: var(--teal); transition: .25s;
}
.hub-nav a:hover::after, .hub-nav a[aria-current="page"]::after { right: 0; }
.hub-nav a:hover { color: var(--ink); }

.hub-ask {
  display: inline-flex; align-items: center; gap: 9px;
  border: 0; background: var(--red); color: #fff; border-radius: 999px;
  padding: 12px 18px; font-weight: 700; font-size: 14px; cursor: pointer; white-space: nowrap;
  transition: transform .2s, background .2s;
}
.hub-ask:hover { transform: translateY(-2px); background: var(--red-dark); }
.hub-ask .material-symbols-outlined { font-size: 17px; color: #fff; }

.hub-menu-btn {
  display: none; margin-left: auto; border: 0; background: transparent;
  color: var(--ink); padding: 8px; min-width: 44px; min-height: 44px; cursor: pointer;
}

/* ---------------------------------------------------------------------------
   Footer — Stanford's solid-black identity treatment (owner ruling
   2026-08-29: "V1" — the very first hub build's footer, not the fog+cardinal
   pass and not the Codex mockup's dark-forest one). Black (#2e2d29) is one
   of Stanford's primary identity colors alongside Cardinal, white and cool
   grey — this is a legitimate, simpler Stanford pattern.
   ------------------------------------------------------------------------ */
/* Deeper than the dark content bands (#2e2d29) + a cardinal rule, so a page
   ending in a dark section (e.g. home's live-sessions band) doesn't visually
   merge into the footer (owner report 2026-08-31). */
.hub-footer { margin-top: auto; background: #1d1c19; color: #fff; border-top: 3px solid var(--cardinal); }
.hub-footer .hub-wrap { display: flex; flex-wrap: wrap; gap: 1.2rem 3rem; padding: 2.2rem 0 1.8rem; align-items: flex-start; }
.hub-footer .foot-brand {
  color: #fff; text-decoration: none; font-family: var(--serif); font-weight: 700; font-size: 1.5rem;
  line-height: 1.05; letter-spacing: -.01em;
}
.hub-footer .foot-brand:hover { color: #fff; }
.hub-footer nav { flex: 1; min-width: 260px; }
.hub-footer ul { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem 1.4rem; margin: 0 0 .5rem; padding: 0; }
.hub-footer a { color: #fff; text-decoration: none; font-size: .9rem; }
.hub-footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.hub-footer .foot-legal a { color: rgba(255, 255, 255, .82); font-size: .84rem; }
.hub-footer p { color: rgba(255, 255, 255, .75); font-size: .82rem; margin: .8rem 0 0; }

/* Page scaffolding */
.hub-page { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
.hub-section { padding: 100px 0; border-bottom: 1px solid var(--line); }
.hub-section.detail-section { padding-top: 40px; }
.hub-section.alt { background: #f6f5f2; }
.hub-section.dark { background: var(--forest); color: #fff; border-bottom: 0; }
.hub-section.dark .kicker { color: var(--lime); }

.hub-section-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 46px; }
.hub-section-head .sec-icon, .hub-section-head .rule { display: none; }
.hub-section-head .head-copy { max-width: 410px; color: var(--ink-soft); margin: 0; font-size: 15px; }
.hub-section-head .sec-link {
  font: 700 13px var(--sans); color: var(--ink); text-decoration: none; white-space: nowrap;
  border-bottom: 1px solid var(--ink); padding-bottom: 4px; display: inline-flex; align-items: center; gap: 8px;
}
.hub-section-head .sec-link:hover { color: var(--teal); border-color: var(--teal); }
.hub-section-head .sec-link .material-symbols-outlined { font-size: 16px; color: currentColor; }
.hub-section-sub { color: var(--ink-soft); margin: -26px 0 46px; max-width: 500px; font-size: 15px; }

/* ---------------------------------------------------------------------------
   Hero — asymmetric two-column grid, giant serif headline with italic accent
   ------------------------------------------------------------------------ */
.hub-hero { position: relative; overflow: hidden; padding: 86px 0 56px; }
.hub-hero::before {
  content: ""; position: absolute; width: 420px; height: 420px;
  border: 1px solid rgba(140, 21, 21, .24); border-radius: 50%;
  right: -105px; top: -190px;
  box-shadow: 0 0 0 42px rgba(140, 21, 21, .04), 0 0 0 84px rgba(140, 21, 21, .025);
}
.hub-hero .hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 80px; align-items: center; position: relative; }
.hub-hero .hero-kicker {
  font: 500 14px var(--mono); letter-spacing: .12em; text-transform: uppercase;
  color: var(--teal); display: flex; align-items: center; gap: 10px; margin: 0 0 20px;
  background: transparent; border: 0; padding: 0;
}
/* dash removed per owner 2026-08-29 ("looks like an emdash") */
.hub-hero .hero-kicker .material-symbols-outlined { display: none; }
.hub-hero p.lede { max-width: 500px; margin: 0 0 30px; color: var(--ink-soft); font-size: 18px; }

.hero-search { max-width: none; margin: 0; }
.hero-search .search-shell {
  display: flex; align-items: center; gap: 12px;
  background: var(--white); border: 1px solid rgba(46, 45, 41, .12); border-radius: 4px;
  padding: 9px 9px 9px 20px; box-shadow: var(--shadow); overflow: visible;
}
/* Inline SVG data-URI, NOT the icon font: on devices where the Material
   Symbols font fails to load, ligature icons degrade to their literal words
   ("search" showed inside the box — owner's manager, 2026-08-31). */
.hero-search .search-shell::before {
  content: ""; width: 20px; height: 20px; flex-shrink: 0;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23b1040e" stroke-width="2" stroke-linecap="round"><circle cx="11" cy="11" r="7"/><path d="m21 21-5.5-5.5"/></svg>') center / contain no-repeat;
}
.hero-search .search-shell:focus-within { border-color: var(--teal); }
.hero-search input { flex: 1; min-width: 0; border: 0; padding: 8px 0; min-height: 0; font-size: 16px; color: var(--ink); background: transparent; }
.hero-search input::placeholder { color: var(--ink-soft); }
.hero-search input:focus { outline: none; }
.hero-search button[type="submit"] {
  display: inline-flex; align-items: center; gap: 8px;
  border: 0; background: var(--teal); color: #fff; cursor: pointer;
  padding: 13px 17px; border-radius: 3px; font-weight: 700; font-size: 15px;
}
.hero-search button[type="submit"]:hover { background: var(--teal-dark); }
.hero-search button[type="submit"] .material-symbols-outlined { display: none; }

.hero-examples { display: flex; flex-wrap: wrap; gap: 7px 18px; margin-top: 15px; align-items: center; }
.hero-examples .lbl { color: var(--ink-soft); font: 500 11px var(--mono); text-transform: uppercase; letter-spacing: .09em; }

.hero-signal {
  margin-top: 34px; display: flex; align-items: center; gap: 14px;
  font: 500 11px var(--mono); text-transform: uppercase; letter-spacing: .09em; color: var(--ink-soft);
}
.hero-signal i { width: 8px; height: 8px; border-radius: 50%; background: #b1040e; box-shadow: 0 0 0 5px rgba(177, 4, 14, .12); }

/* Marquee strip between hero and content */
.hub-marquee { background: var(--forest); color: #fff; overflow: hidden; border-block: 1px solid rgba(255, 255, 255, .1); }
.hub-marquee .marquee-track {
  width: max-content; display: flex; gap: 45px; padding: 10px 0;
  animation: hub-marquee-scroll 32s linear infinite;
  font: 400 11px var(--mono); text-transform: uppercase; letter-spacing: .12em;
}
.hub-marquee .marquee-track span::before { content: "✦"; color: var(--lime); margin-right: 45px; }
@keyframes hub-marquee-scroll { to { transform: translateX(-50%); } }

/* ---------------------------------------------------------------------------
   Start here — asymmetric 40/60: dark featured card + numbered path rows
   ------------------------------------------------------------------------ */
.start-layout { display: grid; grid-template-columns: 40% 60%; min-height: 430px; background: var(--white); border: 1px solid var(--line); }
.featured {
  background: var(--forest); color: #fff; padding: 52px; text-decoration: none;
  display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden;
}
.featured::after {
  content: "AI"; position: absolute; right: -12px; bottom: -40px;
  color: rgba(255, 255, 255, .04); font: 600 190px var(--serif);
}
.num { font: 400 11px var(--mono); letter-spacing: .1em; color: var(--lime); text-transform: uppercase; }
.featured h3 { font: 600 clamp(26px, 2.4vw, 34px)/1.05 var(--serif); letter-spacing: -.03em; margin: 20px 0 16px; max-width: 340px; position: relative; z-index: 1; color: #fff; }
.featured p { color: #c6c3bd; max-width: 330px; position: relative; z-index: 1; margin: 0; font-size: 15px; }
.circle-arrow {
  width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .4);
  display: grid; place-items: center; margin-top: 30px; position: relative; z-index: 1;
  transition: .2s; color: #fff; font-size: 20px;
}
.featured:hover .circle-arrow, .featured:focus-visible .circle-arrow { background: var(--lime); color: var(--forest); border-color: var(--lime); transform: translateX(5px); }

.path-list { display: grid; grid-auto-rows: 1fr; }
.path {
  padding: 42px 48px; display: grid; grid-template-columns: 62px 1fr 42px; align-items: center; gap: 18px;
  border-bottom: 1px solid var(--line); transition: background .2s; text-decoration: none; color: var(--ink);
}
.path:last-child { border-bottom: 0; }
.path:hover { background: var(--mint-soft); color: var(--ink); }
.path-index { font: 500 12px var(--mono); color: var(--teal); }
.path h3 { font: 600 24px/1.15 var(--serif); letter-spacing: -.02em; margin: 0 0 8px; }
.path p { color: var(--ink-soft); margin: 0; font-size: 15px; }
.path .path-arrow { font-size: 22px; color: var(--ink); transition: .2s; }
.path:hover .path-arrow { transform: translateX(5px); }

/* ---------------------------------------------------------------------------
   Vendor academies — sage band, editorial track rows
   ------------------------------------------------------------------------ */
.track-list { border-top: 1px solid rgba(46, 45, 41, .3); }
.track {
  display: grid; grid-template-columns: 90px 1.1fr 1fr 150px; gap: 28px; align-items: center;
  padding: 32px 0; border-bottom: 1px solid rgba(46, 45, 41, .2);
  transition: padding .2s; text-decoration: none; color: var(--ink);
}
.track:hover { padding-left: 12px; color: var(--ink); }
.vendor-circle {
  width: 58px; height: 58px; border: 1px solid rgba(46, 45, 41, .4); border-radius: 50%;
  display: grid; place-items: center; font: 600 24px var(--serif); color: var(--ink); background: transparent;
}
.track-label { font: 500 11px var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--teal); margin-bottom: 6px; }
.track h3 { font: 600 24px/1.15 var(--serif); letter-spacing: -.02em; margin: 0; }
.track-desc { color: var(--ink-soft); font-size: 15px; margin: 0; }
.track-meta { font: 500 11px var(--mono); text-transform: uppercase; letter-spacing: .06em; text-align: right; color: var(--ink); }

/* ---------------------------------------------------------------------------
   Learning Paths page (owner-approved mockup: learning-paths-redesign.html)
   ------------------------------------------------------------------------ */
.lp-hero { padding: 86px 0 90px; overflow: hidden; position: relative; }
.lp-hero::after { content: ""; position: absolute; width: 560px; height: 560px; border: 1px solid rgba(20,123,114,.14); border-radius: 50%; right: -160px; top: -230px; box-shadow: 0 0 0 50px rgba(20,123,114,.03), 0 0 0 100px rgba(20,123,114,.02); }
.lp-hero-grid { display: grid; grid-template-columns: 1fr .75fr; gap: 80px; align-items: end; position: relative; z-index: 1; }
.lp-h1 { font: 600 clamp(44px, 5vw, 75px)/.92 var(--serif); letter-spacing: -.045em; margin: 0; }
.lp-h2 { font: 600 clamp(30px, 3.2vw, 42px)/1 var(--serif); letter-spacing: -.03em; margin: 0; }
.lp-hero-copy { font-size: 19px; color: var(--ink-soft); max-width: 520px; margin: 0 0 28px; }
.lp-stats { display: flex; gap: 30px; border-top: 1px solid var(--line); padding-top: 20px; }
.lp-stats strong { display: block; font: 600 24px var(--serif); }
.lp-stats span { font: 500 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.lp-jump { background: var(--forest); color: #fff; }
.lp-jump .hub-wrap { display: flex; align-items: center; gap: 18px; overflow: auto; scrollbar-width: none; }
.lp-jump .hub-wrap::-webkit-scrollbar { display: none; }
.lp-jump span { font: 500 11.5px var(--mono); color: var(--lime); letter-spacing: .11em; text-transform: uppercase; white-space: nowrap; }
.lp-jump a { padding: 17px 10px; white-space: nowrap; color: #e6e4e0; font-size: 14.5px; font-weight: 600; border-bottom: 2px solid transparent; text-decoration: none; }
.lp-jump a:hover { color: #fff; border-color: var(--lime); }
.lp-paths { padding: 100px 0; }
.lp-section-top { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 50px; }
.lp-section-top p { max-width: 400px; margin: 0; color: var(--ink-soft); }
.lp-path { display: grid; grid-template-columns: 180px 1fr; border-top: 1px solid var(--line); min-height: 330px; }
.lp-path:last-of-type { border-bottom: 1px solid var(--line); }
.lp-side { padding: 44px 28px 40px 0; border-right: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; gap: 12px; }
.lp-num { font: 500 12px var(--mono); color: var(--teal); text-transform: uppercase; letter-spacing: .08em; }
.lp-audience { font: 500 11.5px var(--mono); letter-spacing: .09em; text-transform: uppercase; color: var(--ink-soft); }
.lp-level { display: inline-flex; align-items: center; gap: 7px; font: 500 11px var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.lp-level::before { content: ""; width: 7px; height: 7px; background: var(--teal); border-radius: 50%; }
.lp-main { padding: 42px 0 44px 48px; }
.lp-head { display: grid; grid-template-columns: 1fr 220px; gap: 50px; align-items: start; }
.lp-path h3 { font: 600 clamp(24px, 2.2vw, 32px)/1.05 var(--serif); letter-spacing: -.025em; margin: 0 0 15px; }
.lp-outcome { color: var(--ink-soft); max-width: 610px; margin: 0; }
.lp-duration { text-align: right; font: 500 11.5px var(--mono); text-transform: uppercase; letter-spacing: .07em; color: var(--ink-soft); }
.lp-duration strong { display: block; font: 600 24px var(--serif); text-transform: none; letter-spacing: 0; color: var(--ink); }
.lp-steps { display: grid; margin-top: 45px; position: relative; }
.lp-steps::before { content: ""; height: 1px; background: var(--line); position: absolute; left: 8px; right: 8px; top: 10px; }
.lp-step { position: relative; padding: 30px 20px 0 0; font-size: 14px; color: var(--ink-soft); line-height: 1.45; }
.lp-step::before { content: ""; width: 10px; height: 10px; background: var(--paper); border: 2px solid var(--teal); border-radius: 50%; position: absolute; top: 4px; left: 0; z-index: 1; }
.lp-step strong { display: block; color: var(--ink); font-size: 15px; margin-bottom: 4px; }
.lp-action { display: inline-flex; align-items: center; gap: 11px; font-weight: 750; margin-top: 32px; color: var(--teal); text-decoration: none; }
.lp-action i { width: 35px; height: 35px; border: 1px solid var(--teal); border-radius: 50%; display: grid; place-items: center; font-style: normal; transition: .2s; }
.lp-path:hover .lp-action i { background: var(--teal); color: #fff; transform: translateX(4px); }
.lp-path.dark { background: var(--forest); color: #fff; border: 0; }
.lp-path.dark .lp-side { border-color: rgba(255,255,255,.18); padding-left: 28px; }
.lp-path.dark .lp-main { padding-right: 28px; }
.lp-path.dark .lp-outcome, .lp-path.dark .lp-step, .lp-path.dark .lp-audience, .lp-path.dark .lp-duration { color: #b9b6b0; }
.lp-path.dark .lp-step strong, .lp-path.dark .lp-duration strong { color: #fff; }
.lp-path.dark .lp-steps::before { background: rgba(255,255,255,.22); }
.lp-path.dark .lp-step::before { background: var(--forest); border-color: var(--lime); }
.lp-path.dark .lp-action, .lp-path.dark .lp-num { color: var(--lime); }
.lp-path.dark .lp-action i { border-color: var(--lime); }
.lp-path.dark:hover .lp-action i { background: var(--lime); color: var(--forest); }
.lp-path.dark .lp-level::before { background: var(--lime); }
.lp-cta { background: #faf4f3; padding: 90px 0; }
.lp-cta-grid { display: grid; grid-template-columns: 1fr auto; gap: 50px; align-items: center; }
.lp-cta-grid h2 { max-width: 740px; }
.lp-cta-grid button { background: var(--forest); color: #fff; border: 0; border-radius: 99px; padding: 15px 21px; font: inherit; font-weight: 750; cursor: pointer; }
.lp-cta-grid button:hover { background: var(--teal); }
@media (max-width: 850px) {
  .lp-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .lp-path { grid-template-columns: 110px 1fr; }
  .lp-main { padding-left: 28px; }
  .lp-head { grid-template-columns: 1fr; }
  .lp-duration { text-align: left; }
  .lp-steps { grid-template-columns: 1fr 1fr !important; gap: 25px; }
  .lp-steps::before { display: none; }
}
@media (max-width: 560px) {
  .lp-hero { padding: 58px 0 65px; }
  .lp-h1 { font-size: 58px; }
  .lp-stats { gap: 18px; }
  .lp-paths { padding: 70px 0; }
  .lp-section-top { display: block; }
  .lp-section-top p { margin-top: 20px; }
  .lp-path { display: block; }
  .lp-side { border-right: 0; border-bottom: 1px solid var(--line); padding: 25px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .lp-path.dark .lp-side { padding-left: 15px; }
  .lp-main { padding: 30px 0 48px; }
  .lp-path.dark .lp-main { padding-inline: 15px; }
  .lp-steps { grid-template-columns: 1fr !important; }
  .lp-step { padding-left: 27px; }
  .lp-step::before { top: 34px; }
  .lp-cta-grid { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------------------
   Vendor Sources page (owner-approved mockup: vendor-sources-redesign.html)
   ------------------------------------------------------------------------ */
.vs-hero { padding: 84px 0 72px; position: relative; overflow: hidden; }
.vs-hero::after { content: "SOURCE"; position: absolute; right: -25px; bottom: -52px; color: rgba(20,123,114,.035); font: 600 190px var(--serif); pointer-events: none; }
.vs-hero-grid { display: grid; grid-template-columns: 1fr .8fr; gap: 80px; align-items: end; position: relative; z-index: 1; }
.vs-hero-grid > p { font-size: 19px; color: var(--ink-soft); max-width: 530px; margin: 0; }
.vs-controls { background: var(--forest); color: #fff; }
.vs-controls .hub-wrap { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; }
.vs-jump { display: flex; overflow: auto; scrollbar-width: none; }
.vs-jump::-webkit-scrollbar { display: none; }
.vs-jump a { padding: 18px 14px; white-space: nowrap; color: #e6e4e0; font-size: 14.5px; font-weight: 600; border-bottom: 2px solid transparent; text-decoration: none; }
.vs-jump a:hover { color: #fff; border-color: var(--lime); }
.vs-controls-label { font: 500 11.5px var(--mono); color: var(--lime); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.vs-search { border-left: 1px solid rgba(255,255,255,.18); display: flex; align-items: center; gap: 6px; padding-left: 20px; }
.vs-search input { border: 0; background: transparent; color: #fff; outline: 0; width: 180px; padding: 12px 0; }
.vs-search input::placeholder { color: #a3a09a; }
.vs-search input:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
.vs-directory { padding: 95px 0; }
.vs-vendor { scroll-margin-top: 140px; display: grid; grid-template-columns: 240px 1fr; border-top: 1px solid var(--line); padding: 55px 0 80px; }
.vs-side { padding-right: 40px; }
.vs-letter { width: 58px; height: 58px; border: 1px solid #a3a09a; border-radius: 50%; display: grid; place-items: center; font: 600 26px var(--serif); margin-bottom: 20px; }
.vs-vendor:nth-of-type(even) .vs-letter { background: var(--teal); border-color: var(--teal); color: #fff; }
.vs-vendor h2 { font: 600 30px/1.05 var(--serif); letter-spacing: -.025em; margin: 0 0 13px; }
.vs-note { color: var(--ink-soft); font-size: 15px; margin: 0; line-height: 1.5; }
.vs-track { background: var(--forest); color: #fff; padding: 30px 34px; display: grid; grid-template-columns: 1fr auto; gap: 25px; align-items: center; margin-bottom: 12px; position: relative; overflow: hidden; text-decoration: none; }
.vs-track::after { content: "→"; position: absolute; right: 105px; top: -40px; color: rgba(255,255,255,.04); font: 600 150px var(--serif); pointer-events: none; }
.vs-track-label { font: 500 11.5px var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--lime); }
.vs-track h3 { font: 600 24px/1.1 var(--serif); margin: 9px 0 8px; }
.vs-track p { margin: 0; color: #b9b6b0; max-width: 670px; font-size: 15px; line-height: 1.55; }
.vs-track-link { width: 52px; height: 52px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; display: grid; place-items: center; position: relative; z-index: 1; transition: .2s; }
.vs-track:hover .vs-track-link { background: var(--lime); border-color: var(--lime); color: var(--forest); transform: translateX(4px); }
.vs-course-list { border-top: 1px solid var(--line); }
.vs-course { display: grid; grid-template-columns: 110px 1fr 160px 42px; gap: 22px; align-items: center; padding: 25px 0; border-bottom: 1px solid var(--line); transition: .2s; text-decoration: none; color: inherit; }
.vs-course:hover { padding-left: 10px; background: rgba(46,45,41,.035); }
.vs-level { font: 500 11.5px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--teal); }
.vs-course h3 { font: 600 22px/1.15 var(--serif); margin: 0 0 6px; }
.vs-course p { font-size: 15px; color: var(--ink-soft); margin: 0; max-width: 690px; line-height: 1.55; }
.vs-meta { text-align: right; font: 400 11.5px/1.7 var(--mono); text-transform: uppercase; color: var(--ink-soft); }
.vs-open { width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; transition: .2s; }
.vs-course:hover .vs-open { background: var(--teal); border-color: var(--teal); color: #fff; }
.vs-notice { background: #faf4f3; padding: 70px 0; }
.vs-notice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; }
.vs-notice h2 { font: 600 30px/1.1 var(--serif); letter-spacing: -.025em; margin: 0; }
.vs-notice p { margin: 0; color: var(--ink-soft); }
.vs-notice strong { color: var(--ink); }
@media (max-width: 900px) {
  .vs-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .vs-controls .hub-wrap { grid-template-columns: auto 1fr; }
  .vs-search { display: none; }
  .vs-vendor { grid-template-columns: 1fr; }
  .vs-side { display: grid; grid-template-columns: 80px 1fr; gap: 0 18px; padding: 0 0 30px; }
  .vs-letter { grid-row: 1 / 3; }
  .vs-track { padding: 26px; }
  .vs-course { grid-template-columns: 90px 1fr 40px; }
  .vs-meta { grid-column: 2; text-align: left; }
  .vs-notice-grid { grid-template-columns: 1fr; gap: 25px; }
}
@media (max-width: 560px) {
  .vs-hero { padding: 58px 0; }
  .vs-controls .hub-wrap { display: block; }
  .vs-controls-label { display: block; padding-top: 14px; }
  .vs-directory { padding: 65px 0; }
  .vs-vendor { padding: 40px 0 60px; }
  .vs-track { grid-template-columns: 1fr; }
  .vs-track-link { display: none; }
  .vs-course { grid-template-columns: 1fr 38px; gap: 12px; }
  .vs-level { grid-column: 1; }
  .vs-course h3 { font-size: 22px; }
  .vs-meta { grid-column: 1; }
  .vs-open { grid-column: 2; grid-row: 1 / 4; }
}

/* LinkedIn Learning picks strip (home, inside the Vendor academies band) */
#linkedin-picks { margin-top: 3rem; border-top: 1px solid rgba(46, 45, 41, .3); padding-top: 2rem; }
.li-picks-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1.5rem; margin-bottom: 1.4rem; }
.li-picks-head h3 { font: 600 1.6rem/1.1 var(--serif); letter-spacing: -.02em; margin: 0; }
.li-picks-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; }
.li-pick {
  display: flex; flex-direction: column; gap: .45rem; text-decoration: none; color: inherit;
  background: var(--white); border: 1px solid var(--line); padding: 1.1rem 1.2rem;
  transition: border-color .15s ease, transform .15s ease;
}
.li-pick:hover { border-color: var(--teal); transform: translateY(-2px); }
.li-pick-label { font: 500 10px var(--mono); text-transform: uppercase; letter-spacing: .09em; color: var(--teal); }
.li-pick strong { font: 600 1.15rem/1.25 var(--serif); letter-spacing: -.01em; }
.li-pick p { margin: 0; color: var(--ink-soft); font-size: .88rem; line-height: 1.5; }

/* ---------------------------------------------------------------------------
   What's new — sticky intro column + dated update rows
   ------------------------------------------------------------------------ */
.updates-grid { display: grid; grid-template-columns: 34% 66%; gap: 54px; }
.update-intro { position: sticky; top: 140px; align-self: start; }
.update-intro p { color: var(--ink-soft); max-width: 330px; margin: 24px 0; }
.updates { border-top: 1px solid var(--line); }
.update {
  display: grid; grid-template-columns: 88px 1fr 92px; gap: 18px; align-items: center;
  padding: 22px 0; border-bottom: 1px solid var(--line);
}
.update .date { font: 500 11px var(--mono); color: var(--ink-soft); text-transform: uppercase; }
.update-title { font-weight: 700; letter-spacing: -.015em; color: var(--ink); text-decoration: none; font-size: 16px; }
.update-title:hover { color: var(--teal); }
.badge {
  justify-self: end; font: 500 10px var(--mono); text-transform: uppercase; letter-spacing: .08em;
  background: var(--mint); color: #820000; padding: 5px 9px; border-radius: 99px; white-space: nowrap;
}
.badge.changed { background: var(--paper); border: 1px solid var(--line); color: var(--ink-soft); }
.hub-section.dark .badge { background: rgba(220, 237, 168, .16); color: var(--lime); }

/* Vendor-updates placeholder panel on /whats-new */
.whatsnew-vendor { background: var(--mint-soft); border: 1px solid var(--line); border-left: 3px solid var(--teal); padding: 30px 34px; margin-top: 54px; }
.whatsnew-vendor h2 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 12px; }
.whatsnew-vendor p { color: var(--ink-soft); font-size: 14px; margin: 0; max-width: 62ch; }

/* ---------------------------------------------------------------------------
   Live sessions — dark forest band, serif date numeral event cards
   ------------------------------------------------------------------------ */
.event-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.event-stack { display: grid; gap: 0; }
.event-card {
  border-top: 1px solid rgba(255, 255, 255, .35); border-bottom: 1px solid rgba(255, 255, 255, .35);
  padding: 32px 0; display: grid; grid-template-columns: 90px 1fr; gap: 28px;
}
.event-card + .event-card { border-top: 0; }
.event-date { font: 600 38px/1 var(--serif); text-align: center; color: #fff; }
.event-date small { display: block; font: 500 10px var(--mono); letter-spacing: .1em; text-transform: uppercase; margin-top: 8px; color: var(--lime); }
.event-info .tag { font: 500 10px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--lime); }
.event-info h3 { font: 600 25px/1.15 var(--serif); letter-spacing: -.02em; margin: 12px 0; color: #fff; }
.event-info p { color: #b9b6b0; margin: 0; font-size: 14px; }
.event-info .text-link { color: #fff; border-color: #fff; display: inline-block; margin-top: 20px; }
.event-info .text-link:hover { color: var(--lime); border-color: var(--lime); }

/* ---------------------------------------------------------------------------
   Cards / chips / buttons (shared components used across pages)
   ------------------------------------------------------------------------ */
.hub-grid { display: grid; gap: 20px; }
.hub-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.hub-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.hub-card {
  position: relative; display: flex; flex-direction: column; gap: 10px;
  background: var(--white); border: 1px solid var(--line); padding: 26px;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.hub-card:hover, .hub-card:focus-within { border-color: var(--teal); box-shadow: var(--shadow-1); }
.hub-card .card-link { color: inherit; text-decoration: none; }
.hub-card .card-link::after { content: ""; position: absolute; inset: 0; }
.hub-card .card-link:hover { color: var(--teal); }
.hub-card .card-title { font: 600 22px/1.15 var(--serif); letter-spacing: -.015em; }
.hub-card .card-meta { color: var(--ink-soft); font-size: 13px; line-height: 1.5; }
.hub-card .card-meta .dot { padding: 0 .3rem; opacity: .6; }
.hub-card .card-desc { color: var(--ink-soft); font-size: 14px; line-height: 1.55; margin: 0; }

.hub-tag {
  display: inline-flex; align-items: center; gap: 6px; align-self: flex-start;
  font: 500 11px var(--mono); text-transform: uppercase; letter-spacing: .1em;
  color: var(--teal); background: transparent; padding: 0;
}
.hub-tag .material-symbols-outlined { display: none; }

.card-thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--paper); border: 1px solid var(--line-soft); }
.card-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-thumb .thumb-play { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; text-shadow: 0 2px 10px rgba(0, 0, 0, .55); }
.card-thumb .thumb-play .material-symbols-outlined { font-size: 44px; color: #fff; }

/* Provider / collection monogram — the mockup's vendor circle */
.hub-tile {
  width: 52px; height: 52px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(46, 45, 41, .4); border-radius: 50%;
  font: 600 22px var(--serif); color: var(--ink); background: transparent;
}
.hub-tile .material-symbols-outlined { font-size: 24px; color: var(--ink-soft); }
.hub-tile.tone-soft { background: transparent; }
.hub-tile.lg { width: 64px; height: 64px; font-size: 26px; }

/* Example-query buttons — quiet underlined suggestions */
.hub-chip {
  display: inline-flex; align-items: center; gap: 6px;
  border: 0; border-bottom: 1px solid #a3a09a; border-radius: 0;
  background: transparent; color: var(--ink-soft);
  padding: 4px 0; font-size: 13px; font-weight: 600; cursor: pointer; text-decoration: none;
  transition: color .15s ease, border-color .15s ease;
}
.hub-chip:hover { color: var(--teal); border-color: var(--teal); background: transparent; }
.hub-chip em { font-style: normal; font-size: 12px; color: var(--ink-soft); }

.hub-btn {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--forest); color: #fff; border: 0; border-radius: 999px;
  padding: 12px 20px; cursor: pointer; font-weight: 700; font-size: 14px; text-decoration: none;
  transition: transform .2s, background .2s;
}
.hub-btn:hover { transform: translateY(-2px); background: var(--teal); color: #fff; }
.hub-btn .material-symbols-outlined { color: var(--lime); font-size: 17px; }
.hub-btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.hub-btn.ghost:hover { background: var(--forest); color: #fff; border-color: var(--forest); }
.hub-btn.ghost .material-symbols-outlined { color: currentColor; }

/* Track / path row (numbered course list on /tracks/:id) */
.hub-rowlist { display: flex; flex-direction: column; max-width: 860px; border-top: 1px solid rgba(46, 45, 41, .3); }
.hub-row {
  display: flex; align-items: center; gap: 24px;
  background: transparent; border: 0; border-bottom: 1px solid rgba(46, 45, 41, .2);
  padding: 28px 0; text-decoration: none; color: var(--ink);
  transition: padding .2s;
}
.hub-row:hover { padding-left: 12px; color: var(--ink); }
.hub-row .row-num { font: 500 12px var(--mono); color: var(--teal); width: 40px; flex-shrink: 0; background: transparent; border: 0; height: auto; display: inline-block; }
.hub-row .row-body { flex: 1; min-width: 0; }
.hub-row .row-title { font: 600 24px/1.1 var(--serif); letter-spacing: -.015em; }
.hub-row .row-meta { color: var(--ink-soft); font-size: 13px; margin-top: 6px; }
.hub-row .row-meta .material-symbols-outlined { font-size: 14px; }
.hub-row .row-open {
  font: 500 11px var(--mono); text-transform: uppercase; letter-spacing: .06em;
  color: var(--ink); flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px;
  border: 0; padding: 0;
}
.hub-row:hover .row-open { color: var(--teal); }
.hub-row .row-open .material-symbols-outlined { font-size: 15px; color: currentColor; }

/* Stanford context strip on vendor tracks */
/* ---------------------------------------------------------------------------
   Detail-page head: breadcrumb + eyebrow + h1, one consistent editorial
   treatment (owner report 2026-08-31: the old inline-styled crumb + pill
   looked odd on every detail page). Crumb = quiet mono caps; eyebrow = the
   same red mono kicker used sitewide; generous but tight vertical rhythm.
   ------------------------------------------------------------------------ */
.page-crumbs {
  font: 500 12px var(--mono); letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: 1.8rem; display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
}
.page-crumbs a { color: var(--ink-soft); text-decoration: none; }
.page-crumbs a:hover { color: var(--red); }
.page-crumbs .sep { opacity: .45; }
.page-crumbs [aria-current="page"] { color: var(--ink); }
.page-eyebrow {
  font: 500 14px var(--mono); letter-spacing: .12em; text-transform: uppercase;
  color: var(--red); margin: 0 0 14px;
}
.page-eyebrow .dim { color: var(--ink-soft); }
.detail-head h1 { margin: 0 0 1.1rem; max-width: 20ch; }

/* Prev/next pager at the end of a learning path — stateless "session" flow
   (no login): ordinal links across the curated path order. */
.path-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 3.2rem; border-top: 1px solid var(--line); padding-top: 2rem; }
.path-pager a { border: 1px solid var(--line); padding: 22px 24px; text-decoration: none; color: inherit; display: block; transition: border-color .15s, background .15s; }
.path-pager a:hover { border-color: var(--red); color: inherit; }
.path-pager .dir { font: 500 11.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); display: block; margin-bottom: 8px; }
.path-pager .pp-title { font: 600 21px/1.15 var(--serif); display: block; }
.path-pager .pp-next { text-align: right; background: var(--fog); }
.path-pager .pp-next .dir { color: var(--red); }
.path-pager a:only-child { grid-column: 2; }
@media (max-width: 700px) { .path-pager { grid-template-columns: 1fr; } .path-pager a:only-child { grid-column: 1; } .path-pager .pp-next { text-align: left; } }

.stanford-note {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--mint-soft); border: 1px solid var(--line); border-left: 3px solid var(--teal);
  padding: 20px 24px; margin: 30px 0 34px;
  color: var(--ink-soft); font-size: 14px; max-width: 860px;
}
.stanford-note .material-symbols-outlined { color: var(--teal); margin-top: .1rem; font-size: 19px; }
.stanford-note a { color: var(--teal); font-weight: 700; }
.stanford-note a:hover { color: var(--teal-dark); }
.stanford-note strong { color: var(--ink); }

/* Skeleton loading + empty states */
.hub-skel {
  border: 1px solid var(--line-soft);
  background: linear-gradient(100deg, var(--paper) 30%, var(--white) 50%, var(--paper) 70%);
  background-size: 220% 100%; animation: hub-shimmer 1.5s infinite linear; min-height: 118px;
}
@keyframes hub-shimmer { to { background-position: -220% 0; } }
.hub-empty {
  color: var(--ink-soft); font-size: 14px; background: var(--white);
  border: 1px dashed var(--line); padding: 20px 22px;
}
.hub-empty .material-symbols-outlined { vertical-align: -5px; margin-right: .35rem; font-size: 18px; }
.hub-section.dark .hub-empty { background: transparent; border-color: rgba(255, 255, 255, .3); color: #b9b6b0; }
.hub-section.dark .hub-empty .material-symbols-outlined { color: #b9b6b0; }

/* Coming-soon stub pages */
.hub-stub { max-width: 720px; padding: 100px 0 120px; text-align: left; }
.hub-stub .stub-icon { display: none; }
.hub-stub p { color: var(--ink-soft); max-width: 56ch; margin: 22px 0 34px; font-size: 17px; }

/* ---------------------------------------------------------------------------
   Library resource viewer (/library/:id)
   ------------------------------------------------------------------------ */
.lib-page { padding: 40px 0 110px; }
.lib-crumb { margin-bottom: 34px; font: 500 11px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); }
.lib-crumb a { color: var(--ink-soft); text-decoration: none; }
.lib-crumb a:hover { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.lib-kicker { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 22px; margin-bottom: 14px; }
.lib-kicker .lib-meta { color: var(--ink-soft); font: 500 11px var(--mono); text-transform: uppercase; letter-spacing: .07em; }
.lib-page h1 { max-width: 20ch; font-size: clamp(40px, 5vw, 64px); }
.lib-desc { color: var(--ink-soft); font-size: 17px; max-width: 62ch; margin: 22px 0 0; }
.lib-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 40px; }
.lib-media { max-width: 880px; }
.lib-media video { width: 100%; aspect-ratio: 16 / 9; background: #000; display: block; }
.lib-media .lib-note { color: var(--ink-soft); font-size: 13px; margin: 10px 0 0; }
.lib-slides { display: grid; gap: 22px; }
.lib-slides figure { margin: 0; }
.lib-slides figure.current { outline: 3px solid var(--teal); outline-offset: 5px; }
.lib-slides img { width: 100%; border: 1px solid var(--line); display: block; background: var(--white); }
.lib-slides figcaption { color: var(--ink-soft); font: 500 11px var(--mono); text-transform: uppercase; letter-spacing: .07em; margin-top: 8px; }
.lib-cover img { width: 100%; border: 1px solid var(--line); display: block; background: var(--white); }

/* Legacy home-list names kept so cached JS can't break the page */
.whatsnew-list { display: grid; grid-template-columns: 1fr; gap: 0; }
.whatsnew-item, .whatsnew-entry { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); padding: 14px 0; border-bottom: 1px solid var(--line); }
.whatsnew-item .wn-icon { display: none; }
.wn-badge, .wn-kind { font: 500 10px var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.wn-badge.new, .wn-kind.new { color: #820000; }
.wn-badge.changed, .wn-kind.changed { color: var(--ink-soft); }
.whatsnew-item .wn-title, .whatsnew-entry .wn-title { font-weight: 700; font-size: 15px; color: var(--ink); text-decoration: none; }
.whatsnew-entry .wn-title:hover { color: var(--teal); }
.whatsnew-item .wn-meta, .whatsnew-entry .wn-meta { color: var(--ink-soft); font-size: 12px; }

/* Chat launcher — restyle the EXISTING widget's floating button (widget/ is
   untouched; this is a shell-side override) to the teal circle of the system. */
/* The widget's default bottom:72px assumes a page footer bar to clear;
   our marquee sits near the TOP of the page, so that offset instead
   floats the launcher awkwardly mid-viewport on shorter screens,
   colliding with the marquee strip (owner report 2026-08-29, screenshot).
   Pin it to the true corner, matching standard chat-bubble placement. */
.cbw-root { bottom: 24px !important; right: 24px !important; }
.cbw-panel { bottom: 100px !important; }
.cbw-button { background: var(--teal) !important; box-shadow: 0 12px 35px rgba(46, 45, 41, .28) !important; }
/* The hub's global .material-symbols-outlined color (ink-soft) leaks into
   the widget's launcher glyph, turning the sparkles dark on teal — force
   white inside the widget (owner report 2026-08-29). */
.cbw-button .material-symbols-outlined,
.cbw-launch-icon { color: #fff !important; }
.cbw-button:hover { background: var(--teal-dark) !important; }

/* ---------------------------------------------------------------------------
   Responsive + motion (breakpoints ported from the mockup)
   ------------------------------------------------------------------------ */
@media (max-width: 1020px) {
  .hub-grid.cols-4, .hub-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hub-wrap { width: min(100% - 30px, 720px); }
  .hub-nav { display: none; }
  .hub-nav.open {
    display: flex; position: absolute; left: 0; right: 0; top: 82px;
    background: var(--paper); padding: 25px; flex-direction: column; align-items: flex-start;
    border-bottom: 1px solid var(--line); gap: 18px;
  }
  .hub-menu-btn { display: inline-flex; align-items: center; justify-content: center; }
  .hub-header .hub-wrap { position: relative; }
  .hub-hero { padding: 64px 0; }
  .hub-hero .hero-grid, .event-layout { grid-template-columns: 1fr; gap: 44px; }
  .start-layout { grid-template-columns: 1fr; }
  .featured { min-height: 410px; }
  .track { grid-template-columns: 68px 1fr; }
  .track-desc, .track-meta { grid-column: 2; text-align: left; }
  .updates-grid { grid-template-columns: 1fr; }
  .update-intro { position: static; }
}
@media (max-width: 600px) {
  .hub-topstrip .strip-tag { display: none; }
  .hub-header { height: 70px; }
  .hub-nav.open { top: 70px; }
  .hub-ask { display: none; }
  .hub-hero { padding-top: 50px; }
  h1 { font-size: 48px; }
  .hub-section { padding: 72px 0; }
  .hub-section-head { align-items: start; flex-direction: column; }
  .hub-grid.cols-3, .hub-grid.cols-4 { grid-template-columns: 1fr; }
  .featured { padding: 36px; min-height: 370px; }
  .path { grid-template-columns: 34px 1fr; padding: 30px 25px; }
  .path .path-arrow { display: none; }
  .track { gap: 17px; }
  .vendor-circle, .hub-tile { width: 48px; height: 48px; font-size: 20px; }
  .track h3 { font-size: 25px; }
  .update { grid-template-columns: 70px 1fr; }
  .update .badge { display: none; }
  .event-layout { gap: 40px; }
  .event-card { grid-template-columns: 70px 1fr; gap: 16px; }
  .event-date { font-size: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important; transition: none !important; scroll-behavior: auto !important;
  }
}
