/* FSM AI Unit – design system
   Palette from the original home page + the unit logo:
   navy #0D1B2A / #1B263B, steel #415A77, mist #778DA9, light #E0E1DD, cyan #00B4D8, logo blue #0B5A80 / #5EC5E5 */
:root {
  --ink: #0D1B2A;
  --ink-2: #1B263B;
  --ink-3: #243450;
  --steel: #415A77;
  --mist: #778DA9;
  --light: #E0E1DD;
  --cyan: #00B4D8;
  --cyan-600: #0096B4;
  --cyan-50: #E3F7FB;
  --brand: #0B5A80;
  --sky: #5EC5E5;
  --paper: #F5F7FA;
  --paper-2: #EBEFF4;
  --white: #FFFFFF;
  --text: #13202F;
  --muted: #536378;
  --line: #DCE3EC;
  --line-dark: rgba(224, 225, 221, .12);

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --fs-xs: .78rem; --fs-sm: .875rem; --fs-md: 1rem; --fs-lg: 1.125rem;
  --fs-xl: clamp(1.25rem, 1.1rem + .6vw, 1.5rem);
  --fs-2xl: clamp(1.6rem, 1.3rem + 1.3vw, 2.25rem);
  --fs-3xl: clamp(2.1rem, 1.5rem + 2.6vw, 3.5rem);
  --fs-4xl: clamp(2.6rem, 1.6rem + 4.4vw, 5.25rem);

  --r-sm: 10px; --r: 16px; --r-lg: 24px; --pill: 999px;
  --shadow-sm: 0 1px 2px rgba(13, 27, 42, .06), 0 2px 8px rgba(13, 27, 42, .05);
  --shadow: 0 10px 30px -12px rgba(13, 27, 42, .25);
  --shadow-lg: 0 30px 60px -20px rgba(13, 27, 42, .35);
  --header-h: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--font); font-size: var(--fs-md); line-height: 1.6; color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.12; letter-spacing: -.022em; margin: 0 0 .5em; font-weight: 800; }
p { margin: 0 0 1em; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
main:focus { outline: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--cyan); color: var(--ink); font-weight: 700; border-radius: var(--r-sm); text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: min(1200px, 100% - 2 * clamp(18px, 4vw, 40px)); margin-inline: auto; }
.wrap-narrow { width: min(820px, 100% - 2 * clamp(18px, 4vw, 40px)); margin-inline: auto; }

.ico { width: 22px; height: 22px; flex: none; }
.ico-sm { width: 16px; height: 16px; }
.ico-lg { width: 30px; height: 30px; }
.kbd { font-family: var(--mono); font-size: .72rem; padding: 2px 6px; border-radius: 6px; border: 1px solid currentColor; opacity: .7; line-height: 1.3; white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; padding: .85em 1.5em; border-radius: var(--pill); font-weight: 700; font-size: var(--fs-sm); letter-spacing: .01em; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .2s var(--ease), background-color .2s, color .2s, border-color .2s, box-shadow .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: .55em 1.05em; font-size: .82rem; }
.btn-lg { padding: 1em 1.8em; font-size: var(--fs-md); }
.btn-cyan { background: var(--cyan); color: var(--ink); box-shadow: 0 8px 24px -10px rgba(0, 180, 216, .8); }
.btn-cyan:hover { background: var(--light); }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: var(--brand); }
.btn-outline { border-color: currentColor; background: transparent; }
.btn-outline:hover { background: var(--cyan); border-color: var(--cyan); color: var(--ink); }
.btn-ghost { background: rgba(255, 255, 255, .08); color: inherit; border-color: var(--line-dark); }
.btn-ghost:hover { background: rgba(255, 255, 255, .16); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn-icon { display: inline-flex; align-items: center; gap: 8px; height: 42px; min-width: 42px; justify-content: center; padding: 0 10px; border-radius: var(--pill); border: 1px solid transparent; background: transparent; cursor: pointer; transition: background-color .2s; }
.btn-icon:hover { background: rgba(255, 255, 255, .1); }
.link-btn { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; cursor: pointer; }
.arrow-link { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; color: var(--brand); text-decoration: none; }
.arrow-link .ico { transition: transform .2s var(--ease); width: 18px; height: 18px; }
.arrow-link:hover .ico, a:hover > .arrow-link .ico, .card:hover .arrow-link .ico { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; color: var(--light); background: rgba(13, 27, 42, .78); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); border-bottom: 1px solid var(--line-dark); }
.header-row { display: flex; align-items: center; gap: 18px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--light); flex: none; }
.brand img { border-radius: 50%; background: #fff; }
.brand-word { font-weight: 900; font-size: 1.4rem; letter-spacing: .06em; }
.brand-word b { color: var(--cyan); font-weight: 900; }
.nav { margin-left: auto; }
.nav-list { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-item { position: relative; display: flex; align-items: center; }
.nav-link { padding: 8px 4px 8px 12px; font-weight: 600; font-size: .93rem; text-decoration: none; color: rgba(224, 225, 221, .86); border-radius: var(--pill); transition: color .2s; }
.nav-item > .nav-link:last-child { padding-right: 12px; }
.nav-link:hover, .nav-item.is-active > .nav-link, .nav-link[aria-current] { color: #fff; }
.nav-item.is-active::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -13px; height: 2px; background: var(--cyan); border-radius: 2px; }
.nav-toggle { display: inline-grid; place-items: center; width: 26px; height: 30px; padding: 0; border: 0; background: none; cursor: pointer; color: rgba(224, 225, 221, .7); border-radius: 8px; }
.nav-toggle .ico { transition: transform .2s; }
.nav-toggle[aria-expanded="true"] .ico { transform: rotate(180deg); }
.dropdown { position: absolute; top: calc(100% + 12px); left: 50%; transform: translate(-50%, 8px); opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s var(--ease), visibility .18s; z-index: 60; }
.dropdown::before { content: ""; position: absolute; inset: -16px 0 auto; height: 16px; }
.nav-item:hover .dropdown, .nav-item.is-open .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dropdown-inner { min-width: 300px; padding: 10px; display: grid; gap: 2px; background: var(--white); color: var(--text); border-radius: var(--r); box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.dropdown-inner.is-wide { grid-template-columns: 1fr 1fr; min-width: 560px; }
.dd-link { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 12px; text-decoration: none; transition: background-color .15s; }
.dd-link:hover, .dd-link[aria-current] { background: var(--paper); }
.dd-ico { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--cyan-50); color: var(--brand); flex: none; }
.dd-ico .ico { width: 19px; height: 19px; }
.dd-title { display: block; font-weight: 650; font-size: .9rem; line-height: 1.25; }
.dd-desc { display: block; font-size: .74rem; color: var(--muted); }
.ext { color: var(--muted); font-weight: 400; }
.header-actions { display: flex; align-items: center; gap: 6px; flex: none; }
.search-open { border-color: var(--line-dark); padding: 0 12px; color: rgba(224, 225, 221, .86); }
.menu-open { display: none; }

/* Mobile menu */
.mobile-menu { position: fixed; inset: 0; z-index: 80; background: var(--ink); color: var(--light); overflow-y: auto; animation: fade .2s ease; }
.mobile-top { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.mobile-nav { padding: 8px 0 48px; }
.m-group { padding: 16px 0; border-top: 1px solid var(--line-dark); }
.m-head { display: block; font-size: 1.6rem; font-weight: 800; text-decoration: none; letter-spacing: -.02em; }
.m-kids { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.m-kids a { padding: 7px 13px; border-radius: var(--pill); background: rgba(255, 255, 255, .07); text-decoration: none; font-size: .9rem; color: rgba(224, 225, 221, .9); }
.m-install { margin-top: 20px; }
@keyframes fade { from { opacity: 0; } }

@media (max-width: 1020px) {
  .nav { display: none; }
  .menu-open { display: inline-flex; }
  .header-actions { margin-left: auto; }
  .header-actions > .install-btn { display: none !important; }
}

/* ---------- Breadcrumbs ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 22px 0 0; font-size: var(--fs-sm); color: var(--muted); }
.crumbs a { text-decoration: none; color: var(--muted); }
.crumbs a:hover { color: var(--brand); text-decoration: underline; }
.crumbs [aria-current] { color: var(--text); font-weight: 600; }
.dark-top .crumbs { position: absolute; left: 0; right: 0; z-index: 3; color: var(--mist); }
.dark-top .crumbs a { color: var(--mist); }
.dark-top .crumbs [aria-current] { color: var(--light); }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-tight { padding: clamp(40px, 5vw, 64px) 0; }
.section-ink { background: var(--ink); color: var(--light); }
.section-ink-2 { background: var(--ink-2); color: var(--light); }
.section-white { background: var(--white); }
.section-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .14em; color: var(--brand); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--cyan); border-radius: 2px; }
.section-ink .eyebrow, .section-ink-2 .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--cyan); }
.h-section { font-size: var(--fs-3xl); }
.lead { font-size: var(--fs-lg); color: var(--muted); max-width: 64ch; }
.section-ink .lead, .section-ink-2 .lead, .page-hero .lead { color: #A9B8CB; }

/* ---------- Home hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; background: #050B13; color: var(--light); min-height: min(88vh, 860px); display: flex; align-items: flex-end; padding: calc(var(--header-h) + 40px) 0 clamp(48px, 8vw, 96px); margin-top: calc(-1 * var(--header-h)); }
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-bg::before { content: ""; position: absolute; width: 120vmax; height: 40vmax; left: -30vmax; top: -18vmax; background: radial-gradient(closest-side, rgba(255, 255, 255, .17), transparent); transform: rotate(32deg); }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, #050B13 100%), radial-gradient(60% 60% at 80% 30%, rgba(0, 180, 216, .22), transparent 70%); }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(119, 141, 169, .09) 1px, transparent 1px), linear-gradient(90deg, rgba(119, 141, 169, .09) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 70%); }
.hero-orb { position: absolute; right: max(-120px, 4vw - 120px); top: 50%; width: min(56vw, 640px); aspect-ratio: 1; transform: translateY(-50%); }
.hero-orb .ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(94, 197, 229, .25); }
.hero-orb .ring:nth-child(2) { inset: 12%; border-color: rgba(94, 197, 229, .18); border-style: dashed; animation: spin 60s linear infinite; }
.hero-orb .ring:nth-child(3) { inset: 26%; border-color: rgba(0, 180, 216, .35); }
.hero-orb .core { position: absolute; inset: 34%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #5EC5E5, #0B5A80 55%, #0D1B2A 100%); box-shadow: 0 0 120px 20px rgba(0, 180, 216, .28), inset 0 0 40px rgba(255, 255, 255, .15); display: grid; place-items: center; font-weight: 900; color: #CFF3FB; font-size: clamp(2rem, 6vw, 4.6rem); letter-spacing: -.04em; }
.hero-orb .node { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 16px var(--cyan); }
.hero-orb .orbit { position: absolute; inset: 0; animation: spin 40s linear infinite; }
.hero-orb .orbit.rev { inset: 12%; animation-direction: reverse; animation-duration: 55s; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-content { position: relative; max-width: 760px; }
.hero h1 { font-size: var(--fs-4xl); font-weight: 900; letter-spacing: -.04em; line-height: 1.02; background: linear-gradient(180deg, #FAFAFA, #9CA3AF); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: .35em; }
.hero p.lead { font-size: clamp(1.1rem, 1rem + .6vw, 1.5rem); color: var(--mist); max-width: 34ch; }
.hero .btn-row { margin-top: 28px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line-dark); font-size: var(--fs-sm); color: var(--mist); }
.hero-meta b { color: var(--light); font-size: 1.35rem; display: block; font-weight: 800; letter-spacing: -.02em; }
.scroll-cue { z-index: 3; position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); font-size: .68rem; letter-spacing: .25em; text-transform: uppercase; color: var(--mist); display: flex; flex-direction: column; align-items: center; gap: 4px; text-decoration: none; }
.scroll-cue .ico { color: var(--cyan); animation: bob 1.6s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(5px); } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; isolation: isolate; background: var(--ink); color: var(--light); padding: clamp(64px, 8vw, 104px) 0 clamp(44px, 6vw, 72px); }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 80% at 85% 0%, rgba(0, 180, 216, .25), transparent 70%), radial-gradient(40% 60% at 0% 100%, rgba(65, 90, 119, .45), transparent 70%); }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(119, 141, 169, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(119, 141, 169, .07) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(90deg, transparent, #000 60%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); }
.page-hero h1 { font-size: var(--fs-3xl); font-weight: 900; letter-spacing: -.035em; max-width: 20ch; color: #fff; }
.page-hero .lead { margin-bottom: 0; }
.page-hero .btn-row { margin-top: 28px; }
.page-hero-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: rgba(0, 180, 216, .14); color: var(--cyan); border: 1px solid rgba(0, 180, 216, .3); margin-bottom: 22px; }
.page-hero-icon .ico { width: 28px; height: 28px; }
.page-hero.has-crumbs { padding-top: clamp(84px, 10vw, 120px); }

/* ---------- Cards ---------- */
.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.grid-2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.card { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 2.4vw, 28px); box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; color: inherit; text-decoration: none; }
a.card:hover, .card.is-link:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #BFD3E4; }
.card h3 { font-size: var(--fs-xl); margin-bottom: .35em; }
.card p { color: var(--muted); margin-bottom: 1em; }
.card .arrow-link { margin-top: auto; }
.card-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--cyan-50); color: var(--brand); margin-bottom: 18px; flex: none; }
.card-ico .ico { width: 26px; height: 26px; }
.card-ink, a.card-ink { background: var(--ink-2); border-color: var(--line-dark); color: var(--light); box-shadow: none; }
.card-ink p, a.card-ink p { color: var(--mist); }
.card-ink .card-ico { background: rgba(0, 180, 216, .12); color: var(--cyan); }
.card-ink .arrow-link, a.card-ink .arrow-link { color: var(--cyan); }
a.card-ink:hover { border-color: rgba(0, 180, 216, .5); box-shadow: 0 20px 40px -20px rgba(0, 180, 216, .35); }
.card-center { align-items: center; text-align: center; }
.card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: var(--pill); font-size: .72rem; font-weight: 700; letter-spacing: .02em; background: var(--paper-2); color: var(--steel); white-space: nowrap; }
.tag-cyan { background: var(--cyan-50); color: var(--brand); }
.tag-ink { background: rgba(255, 255, 255, .08); color: var(--light); }
.tag-live { background: #E5F7EE; color: #10734A; }
.tag-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }

/* Project card with visual band */
.pcard { padding: 0; overflow: hidden; }
.pcard-visual { position: relative; height: 150px; display: grid; place-items: center; background: linear-gradient(135deg, var(--ink-2), var(--brand)); color: var(--sky); overflow: hidden; }
.pcard-visual::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(94, 197, 229, .25) 1.2px, transparent 1.2px); background-size: 16px 16px; mask-image: linear-gradient(120deg, #000, transparent 75%); -webkit-mask-image: linear-gradient(120deg, #000, transparent 75%); }
.pcard-visual .ico { width: 64px; height: 64px; stroke-width: 1.3; position: relative; transition: transform .35s var(--ease); }
a.pcard:hover .pcard-visual .ico { transform: scale(1.1) rotate(-4deg); }
.pcard-visual.v2 { background: linear-gradient(135deg, #0B5A80, #00B4D8); color: #E3F7FB; }
.pcard-visual.v3 { background: linear-gradient(135deg, #1B263B, #415A77); }
.pcard-body { padding: clamp(20px, 2.4vw, 26px); display: flex; flex-direction: column; flex: 1; }

/* Directory list (projects / resources) */
.dir { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.dir-item { display: flex; gap: 16px; align-items: flex-start; padding: 18px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .2s var(--ease); }
.dir-item:hover { border-color: #9FD9E9; box-shadow: var(--shadow); transform: translateY(-2px); }
.dir-item .card-ico { width: 46px; height: 46px; margin: 0; border-radius: 12px; }
.dir-item h3 { font-size: 1.05rem; margin: 2px 0 4px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.dir-item p { margin: 0; font-size: var(--fs-sm); color: var(--muted); line-height: 1.5; }
.kind { font-family: var(--mono); font-size: .66rem; letter-spacing: .06em; text-transform: uppercase; padding: 2px 7px; border-radius: 6px; background: var(--paper-2); color: var(--steel); font-weight: 500; }
.kind-tool { background: var(--cyan-50); color: var(--brand); }
.kind-app { background: #EEF0FF; color: #3F4AB8; }
.kind-external { background: #FFF4E5; color: #9A5B00; }

/* Filter chips */
.toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 8px 15px; border-radius: var(--pill); border: 1px solid var(--line); background: var(--white); font-size: .85rem; font-weight: 600; color: var(--muted); cursor: pointer; transition: all .15s; }
.chip:hover { border-color: var(--steel); color: var(--text); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.filter-input { flex: 1 1 220px; max-width: 320px; display: flex; align-items: center; gap: 8px; padding: 0 14px; border-radius: var(--pill); border: 1px solid var(--line); background: var(--white); color: var(--muted); }
.filter-input input { border: 0; outline: 0; background: none; padding: 10px 0; font: inherit; font-size: .9rem; width: 100%; color: var(--text); }
.filter-input:focus-within { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(0, 180, 216, .18); }
.empty { padding: 32px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--r); }

/* Split + stats */
.split { display: grid; gap: clamp(28px, 5vw, 72px); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1.05fr 1fr; } .split.rev > :first-child { order: 2; } }
.big-quote { font-size: clamp(1.3rem, 1.05rem + 1vw, 1.85rem); line-height: 1.45; font-weight: 600; letter-spacing: -.015em; color: var(--light); margin: 0; }
.big-quote em { font-style: normal; color: var(--cyan); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }
.stat { padding: 20px; border-radius: var(--r); background: rgba(255, 255, 255, .05); border: 1px solid var(--line-dark); }
.stat b { display: block; font-size: 2.2rem; font-weight: 900; color: #fff; letter-spacing: -.03em; line-height: 1.1; }
.stat span { font-size: var(--fs-sm); color: var(--mist); }

/* File rows (handbook / resources) */
.files { display: grid; gap: 10px; }
.file-row { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; padding: 16px 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.file-row:hover { border-color: #9FD9E9; box-shadow: var(--shadow-sm); }
.file-row h3 { font-size: 1.02rem; margin: 0 0 2px; }
.file-row p { margin: 0; font-size: var(--fs-sm); color: var(--muted); }
.badge { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 12px; font-family: var(--mono); font-size: .72rem; font-weight: 500; letter-spacing: .04em; color: #fff; background: var(--steel); }
.badge-pdf { background: #D93A3A; }
.badge-doc { background: #2F6FDB; }
.badge-web { background: var(--brand); }
.file-row .go { color: var(--mist); }
.file-row:hover .go { color: var(--brand); }

/* Notice */
.notice { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: var(--r); background: var(--cyan-50); border: 1px solid #BEE9F3; color: var(--text); }
.notice .ico { color: var(--brand); margin-top: 2px; }
.notice h3 { font-size: 1rem; margin: 0 0 4px; }
.notice p { margin: 0; color: var(--muted); font-size: var(--fs-sm); }
.notice-ink { background: rgba(255, 255, 255, .05); border-color: var(--line-dark); color: var(--light); }
.notice-ink p { color: var(--mist); }
.notice-ink .ico { color: var(--cyan); }

/* Team */
.team-card { align-items: center; text-align: center; padding-top: 36px; }
.avatar { width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; font-size: 1.8rem; font-weight: 900; color: #fff; margin-bottom: 18px; background: linear-gradient(135deg, #4F46E5, var(--cyan)); box-shadow: 0 12px 30px -12px rgba(0, 180, 216, .7); overflow: hidden; }
.avatar.alt { background: linear-gradient(135deg, #7C3AED, #EC4899); box-shadow: 0 12px 30px -12px rgba(236, 72, 153, .6); }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.role { font-weight: 700; color: var(--brand); font-size: var(--fs-sm); margin-bottom: 12px !important; }
.role.alt { color: #7C3AED; }

/* Steps */
.steps { counter-reset: s; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.step { position: relative; padding: 26px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); }
.step::before { counter-increment: s; content: counter(s, decimal-leading-zero); font-family: var(--mono); font-size: .8rem; color: var(--brand); display: inline-block; padding: 4px 9px; border-radius: 8px; background: var(--cyan-50); margin-bottom: 14px; }
.step h3 { font-size: 1.1rem; }
.step p { color: var(--muted); margin: 0; font-size: .95rem; }

/* Chat demo */
.chat { background: var(--white); color: var(--text); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden; max-width: 460px; width: 100%; margin-inline: auto; }
.chat-head { display: flex; gap: 12px; align-items: center; padding: 16px 18px; background: linear-gradient(135deg, var(--brand), var(--cyan)); color: #fff; }
.chat-head .av { width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .2); display: grid; place-items: center; font-size: 1.3rem; }
.chat-head b { display: block; }
.chat-head span { font-size: .8rem; opacity: .85; }
.chat-body { padding: 18px; display: grid; gap: 10px; background: var(--paper); }
.bubble { max-width: 86%; padding: 11px 14px; border-radius: 16px; font-size: .9rem; line-height: 1.5; }
.bubble.bot { background: var(--white); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.bubble.user { background: var(--ink); color: #fff; justify-self: end; border-bottom-right-radius: 4px; }

/* Skill cards (lesson plans) */
.skill { min-height: 220px; }
.skill .card-ico { background: var(--ink); color: var(--cyan); }
.skill:nth-child(3n+2) .card-ico { background: var(--brand); color: #fff; }
.skill:nth-child(3n) .card-ico { background: var(--cyan); color: var(--ink); }

/* Conference cards */
.conf { display: flex; flex-direction: column; gap: 6px; }
.conf .flag { font-size: 2.2rem; line-height: 1; margin-bottom: 10px; }
.conf .place { font-family: var(--mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--cyan); }

/* Link cards (articles / videos) */
.lcard-visual { height: 120px; border-radius: var(--r); margin-bottom: 18px; display: grid; place-items: center; color: rgba(255, 255, 255, .9); background: linear-gradient(135deg, var(--ink-2), var(--steel)); position: relative; overflow: hidden; }
.lcard-visual .ico { width: 44px; height: 44px; stroke-width: 1.4; }
.lcard-visual.v-cyan { background: linear-gradient(135deg, var(--brand), var(--cyan)); }
.lcard-visual.v-ink { background: linear-gradient(135deg, #050B13, var(--ink-2)); color: var(--cyan); }
.lcard-visual .src { position: absolute; left: 12px; top: 12px; }
.source { font-size: var(--fs-xs); color: var(--muted); margin-top: auto; padding-top: 4px; display: flex; align-items: center; gap: 6px; }

/* Badge banner (Eaquals) */
.banner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: clamp(22px, 3vw, 32px); border-radius: var(--r-lg); background: linear-gradient(120deg, var(--ink), var(--brand)); color: #fff; text-decoration: none; position: relative; overflow: hidden; }
.banner::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; border: 30px solid rgba(255, 255, 255, .07); }
.banner small { font-family: var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--sky); font-size: .72rem; }
.banner h2 { margin: 6px 0 2px; font-size: var(--fs-2xl); }
.banner p { margin: 0; color: #C9E6F1; }

/* Business card */
.vcard { max-width: 560px; margin: 0 auto; background: var(--white); border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.vcard-top { position: relative; padding: 32px 28px 26px; background: radial-gradient(80% 120% at 100% 0%, rgba(0, 180, 216, .35), transparent 60%), var(--ink); color: var(--light); display: flex; gap: 22px; align-items: center; }
.vcard-photo { width: 108px; height: 108px; border-radius: 50%; overflow: hidden; border: 3px solid rgba(255, 255, 255, .85); flex: none; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .6); }
.vcard-photo img { width: 100%; height: 100%; object-fit: cover; }
.vcard-top h1 { font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2rem); color: #fff; margin: 0 0 4px; }
.vcard-top .t { color: var(--cyan); font-weight: 700; margin: 0; }
.vcard-top .o { color: var(--mist); font-size: var(--fs-sm); margin: 4px 0 0; line-height: 1.4; }
.vcard-tags { display: flex; flex-wrap: wrap; gap: 6px; padding: 18px 24px 4px; }
.vcard-list { list-style: none; margin: 0; padding: 8px 12px 12px; }
.vcard-list a, .vcard-list div { display: flex; gap: 14px; align-items: center; padding: 12px; border-radius: 14px; text-decoration: none; }
.vcard-list a:hover { background: var(--paper); }
.vcard-list .card-ico { width: 42px; height: 42px; margin: 0; border-radius: 12px; }
.vcard-list small { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.vcard-list span { font-weight: 600; word-break: break-word; }
.vcard-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 24px 24px; }
.vcard-actions .btn { width: 100%; }

/* Frame pages (tools + apps) */
.frame-bar { position: sticky; top: var(--header-h); z-index: 20; background: var(--white); border-bottom: 1px solid var(--line); }
.frame-bar-row { display: flex; align-items: center; gap: 14px; min-height: 58px; padding: 8px 0; }
.frame-bar .card-ico { width: 38px; height: 38px; margin: 0; border-radius: 10px; }
.frame-bar .card-ico .ico { width: 20px; height: 20px; }
.frame-title { min-width: 0; flex: 1; }
.frame-title .crumbs-mini { font-size: .74rem; color: var(--muted); display: flex; gap: 6px; flex-wrap: wrap; }
.frame-title .crumbs-mini a { color: var(--muted); text-decoration: none; }
.frame-title .crumbs-mini a:hover { color: var(--brand); text-decoration: underline; }
.frame-title h1 { font-size: 1.12rem; margin: 0; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.frame-actions { display: flex; gap: 8px; flex: none; }
.frame-actions .btn { border-color: var(--line); }
.frame-wrap { position: relative; background: var(--paper); }
.frame-wrap iframe { display: block; width: 100%; height: calc(100vh - var(--header-h) - 59px); height: calc(100dvh - var(--header-h) - 59px); min-height: 480px; border: 0; background: var(--white); }
.frame-loading { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: var(--fs-sm); pointer-events: none; }
.frame-loading::before { content: ""; width: 34px; height: 34px; border-radius: 50%; border: 4px solid var(--line); border-top-color: var(--cyan); animation: spin 1s linear infinite; margin: 0 auto 10px; display: block; }
.frame-wrap.is-loaded .frame-loading { display: none; }
.frame-offline { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 10px; padding: 24px; background: var(--paper); }
.frame-offline .ico { margin: 0 auto; width: 40px; height: 40px; color: var(--mist); }
@media (max-width: 640px) {
  .frame-actions .btn span { display: none; }
  .frame-actions .btn { padding: .6em; width: 40px; height: 40px; }
  .frame-title h1 { font-size: 1rem; }
}

/* Footer */
.site-footer { background: #08121D; color: var(--mist); padding: clamp(48px, 6vw, 80px) 0 28px; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1.6fr repeat(4, 1fr); }
.footer-brand p { margin: 16px 0 18px; font-size: var(--fs-sm); max-width: 34ch; }
.footer-col h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 14px; color: var(--light); }
.footer-col h2 a { text-decoration: none; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-col a, .footer-base a { color: var(--mist); text-decoration: none; font-size: var(--fs-sm); }
.footer-col a:hover, .footer-base a:hover { color: var(--cyan); }
.social { display: flex; gap: 8px; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, .05); color: var(--light); transition: background-color .2s, color .2s; }
.social a:hover { background: var(--cyan); color: var(--ink); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line-dark); font-size: .82rem; }
.footer-base p { margin: 0; }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* Search dialog */
.search { position: fixed; inset: 0; z-index: 90; display: grid; justify-items: center; align-items: start; padding: 10vh 16px 16px; }
.search-backdrop { position: absolute; inset: 0; background: rgba(5, 11, 19, .6); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); animation: fade .15s; }
.search-panel { position: relative; width: min(640px, 100%); background: var(--white); border-radius: 20px; box-shadow: var(--shadow-lg); overflow: hidden; animation: pop .18s var(--ease); }
@keyframes pop { from { transform: translateY(-8px) scale(.98); opacity: 0; } }
.search-bar { display: flex; align-items: center; gap: 10px; padding: 6px 12px 6px 18px; border-bottom: 1px solid var(--line); color: var(--muted); }
.search-bar input { flex: 1; border: 0; outline: 0; padding: 14px 0; font: inherit; font-size: 1.05rem; color: var(--text); background: none; min-width: 0; }
.kbd-btn { background: none; border: 0; cursor: pointer; color: var(--muted); }
.search-results { list-style: none; margin: 0; padding: 8px; max-height: min(60vh, 480px); overflow-y: auto; }
.search-results:empty { display: none; }
.search-results a { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 12px; text-decoration: none; }
.search-results a[aria-selected="true"], .search-results a:hover { background: var(--paper); }
.search-results .dd-ico { width: 34px; height: 34px; }
.search-results b { display: block; font-weight: 650; font-size: .95rem; }
.search-results small { display: block; color: var(--muted); font-size: .8rem; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.search-results mark { background: #C9F1FA; color: inherit; border-radius: 3px; padding: 0 1px; }
.search-results .none { padding: 18px; color: var(--muted); text-align: center; }
.search-hint { margin: 0; padding: 10px 18px; border-top: 1px solid var(--line); font-size: .75rem; color: var(--muted); background: var(--paper); }
.search-hint .kbd { opacity: .8; margin: 0 2px; }
@media (max-width: 640px) { .search-hint { display: none; } .search { padding-top: 12px; } .search-open .kbd { display: none; } }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 95; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: var(--pill); font-size: var(--fs-sm); font-weight: 600; box-shadow: var(--shadow-lg); animation: pop .2s var(--ease); max-width: calc(100% - 32px); text-align: center; }

/* Utilities */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-l { margin-top: clamp(28px, 4vw, 48px); }
.center { text-align: center; }
.muted { color: var(--muted); }
.divider { height: 4px; width: 72px; background: var(--cyan); border-radius: 4px; margin: 0 0 24px; }
.center .divider, .section-head.center .divider { margin-inline: auto; }
.prose { max-width: 68ch; }
.prose p { color: var(--muted); }
.inline-links { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: var(--fs-sm); }
.inline-links a { color: var(--brand); font-weight: 600; }
.offline-box { min-height: 60vh; display: grid; place-content: center; text-align: center; gap: 8px; padding: 40px 0; }
.offline-box .ico { margin: 0 auto 8px; width: 48px; height: 48px; color: var(--mist); }

/* Fade-up animation: starts visible-ish, never hides content */
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise .7s var(--ease) both; }
  .rise-2 { animation-delay: .08s; } .rise-3 { animation-delay: .16s; } .rise-4 { animation-delay: .24s; }
  @keyframes rise { from { transform: translateY(14px); opacity: .001; } }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }

@media print {
  .site-header, .site-footer, .search, .toast, .frame-bar, .scroll-cue { display: none !important; }
  .hero, .page-hero, .section-ink, .section-ink-2 { background: #fff !important; color: #000 !important; }
  .hero h1 { color: #000; -webkit-text-fill-color: #000; }
}

/* Phones: keep the hero orb behind and away from the title */
@media (max-width: 760px) {
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 72px); }
  .hero-orb { width: 80vw; right: -38vw; top: 30%; opacity: .3; }
  .hero-orb .core { font-size: 0; }
  .scroll-cue { display: none; }
  .big-quote { font-size: 1.2rem; }
}

/* ---------- Home hero: 3D robot (Spline scene from the original home page) ---------- */
.hero-robot { position: absolute; inset: 0; z-index: 0; }
.hero-robot spline-viewer { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.robot-loader { position: absolute; right: 22%; top: 45%; width: 48px; height: 48px; border-radius: 50%; border: 5px solid var(--steel); border-bottom-color: var(--cyan); animation: spin 1s linear infinite; }
.hero-robot.is-ready .robot-loader { display: none; }
.hero-shade { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(5, 11, 19, .82) 0%, rgba(5, 11, 19, .45) 38%, transparent 62%), linear-gradient(0deg, #050B13 0%, transparent 30%); }
.hero > .wrap { position: relative; z-index: 2; pointer-events: none; }
.hero .btn, .hero a { pointer-events: auto; }
.hero { min-height: min(92vh, 900px); }
@media (max-width: 760px) {
  .hero { min-height: 92vh; }
  .hero-shade { background: linear-gradient(0deg, rgba(5, 11, 19, .96) 0%, rgba(5, 11, 19, .7) 45%, rgba(5, 11, 19, .15) 75%); }
  .robot-loader { right: 50%; top: 30%; transform: translateX(50%); }
}

/* ---------- News ---------- */
.section-news { background: var(--white); border-bottom: 1px solid var(--line); }
.news-count { font-weight: 500; opacity: .7; font-size: .78rem; }
.news-card { gap: 10px; }
.news-card h3 { font-size: 1.12rem; line-height: 1.3; margin: 0; }
.news-card h3 a { text-decoration: none; }
.news-card h3 a:hover { color: var(--brand); text-decoration: underline; }
.news-card p { margin: 0; font-size: .92rem; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.news-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: .8rem; color: var(--muted); }
.news-foot { margin-top: auto; padding-top: 6px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.news-foot .source { margin: 0; padding: 0; }
.news-featured { padding: clamp(24px, 3.4vw, 40px); border-radius: var(--r-lg); background: linear-gradient(135deg, var(--ink), var(--ink-2)); color: var(--light); min-height: 220px; box-shadow: var(--shadow); }
.news-featured h2 { font-size: var(--fs-2xl); color: #fff; margin: 14px 0 10px; }
.news-featured h2 a { text-decoration: none; }
.news-featured h2 a:hover { color: var(--cyan); }
.news-featured .lead { color: #B4C3D6; margin-bottom: 0; }
.news-featured .news-meta { color: var(--mist); }
.news-featured .btn-row { margin-top: 22px; }
.news-featured .btn-outline { color: var(--light); }
.news-featured .empty { color: var(--mist); border-color: var(--line-dark); }
.news-loading { display: flex; align-items: center; gap: 12px; color: var(--mist); min-height: 160px; }
.spinner { width: 22px; height: 22px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .15); border-top-color: var(--cyan); animation: spin .9s linear infinite; display: inline-block; }
.is-loading .sk { display: block; height: 12px; border-radius: 6px; background: linear-gradient(90deg, var(--paper-2), #F7F9FB, var(--paper-2)); background-size: 200% 100%; animation: shimmer 1.2s infinite; }
.is-loading .sk-tag { width: 90px; height: 20px; border-radius: 99px; }
.is-loading .sk-title { height: 20px; width: 85%; }
.is-loading .sk-short { width: 55%; }
@keyframes shimmer { to { background-position: -200% 0; } }
.btn[disabled] { opacity: .45; pointer-events: none; }
@media (min-width: 1000px) { .hero-robot { left: 30%; } }

/* ---------- FSM members-only lock ---------- */
.lock { display: inline-flex; align-items: center; gap: 4px; font-family: var(--mono); font-size: .64rem; letter-spacing: .05em; text-transform: uppercase; padding: 2px 7px; border-radius: 6px; background: #FDECEC; color: #A32020; font-weight: 500; }
.lock .ico { width: 11px; height: 11px; }
.gate { position: absolute; inset: 0; z-index: 5; display: grid; place-items: center; padding: 24px; background: radial-gradient(60% 60% at 50% 0%, rgba(0, 180, 216, .12), transparent 70%), var(--paper); overflow-y: auto; }
.gate-card { width: min(520px, 100%); background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: clamp(24px, 4vw, 36px); text-align: center; animation: pop .25s var(--ease); }
.gate-ico { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 18px; display: grid; place-items: center; background: var(--ink); color: var(--cyan); }
.gate-ico .ico { width: 30px; height: 30px; }
.gate-card h2 { font-size: 1.45rem; margin-bottom: 8px; }
.gate-card p { color: var(--muted); font-size: .95rem; }
.gate-card .btn-row { justify-content: center; margin-top: 20px; }
.gate-card .fine { font-size: .78rem; color: var(--muted); margin: 18px 0 0; }
.gate-card .fine a { color: var(--brand); }
.frame-wrap:fullscreen iframe, .frame-wrap.is-max iframe { height: 100vh; height: 100dvh; }
.frame-wrap.is-max { position: fixed; inset: 0; z-index: 85; }

/* ===== MDU directory ===== */
.mdu-bar { position: sticky; top: var(--header-h); z-index: 20; background: rgba(245, 247, 250, .92); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--line); }
.mdu-bar-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 12px 0; }
.mdu-nav { display: flex; gap: 8px; min-width: 0; flex: 1 1 420px; overflow-x: auto; scrollbar-width: none; padding: 3px; margin: -3px; }
.mdu-nav::-webkit-scrollbar { display: none; }
.mdu-chip { display: inline-flex; align-items: center; gap: 8px; flex: none; padding: 6px 7px 6px 14px; border-radius: var(--pill); border: 1px solid var(--line); background: var(--white); font-size: .85rem; font-weight: 600; color: var(--muted); text-decoration: none; white-space: nowrap; transition: border-color .15s, color .15s, background .15s; }
.mdu-chip:hover { border-color: var(--steel); color: var(--text); }
.mdu-chip:focus-visible { border-radius: var(--pill); outline-offset: 1px; }
.mdu-chip[aria-current="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.mdu-chip.is-empty { opacity: .5; }
.mdu-count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: var(--pill); background: var(--paper-2); color: var(--steel); font-family: var(--mono); font-size: .7rem; font-weight: 500; letter-spacing: 0; }
.mdu-chip[aria-current="true"] .mdu-count { background: rgba(255, 255, 255, .14); color: var(--light); }
.mdu-search { flex: 1 1 240px; max-width: 320px; }
.mdu-status { margin: 0; font-family: var(--mono); font-size: .74rem; letter-spacing: .04em; color: var(--muted); }
.mdu-section { padding-top: clamp(24px, 3vw, 36px); scroll-margin-top: calc(var(--header-h) + 76px); }
.mdu-section-head { display: flex; align-items: center; gap: 14px; padding-bottom: 14px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.mdu-section-head .card-ico { width: 44px; height: 44px; margin: 0; border-radius: 12px; background: var(--ink); color: var(--cyan); }
.mdu-section-head .card-ico .ico { width: 22px; height: 22px; }
.mdu-section-head h2 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0; font-size: var(--fs-xl); letter-spacing: -.02em; }
.mdu-section-head p { margin: 2px 0 0; font-size: var(--fs-sm); color: var(--muted); }
.mdu-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(12px, 1.6vw, 18px); grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.mdu-grid > li { display: flex; min-width: 0; }
.mdu-card { position: relative; flex: 1; display: flex; gap: 16px; align-items: flex-start; min-width: 0; padding: 20px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); color: inherit; text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .2s var(--ease); }
.mdu-card:hover { border-color: #9FD9E9; box-shadow: var(--shadow); transform: translateY(-2px); }
.mdu-card:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: var(--r); }
.mdu-mono { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--cyan-50); color: var(--brand); font-weight: 800; font-size: .95rem; letter-spacing: -.02em; }
.mdu-grid > li:nth-child(3n+2) .mdu-mono { background: #E6EDF5; color: var(--steel); }
.mdu-grid > li:nth-child(3n) .mdu-mono { background: var(--ink-2); color: var(--cyan); }
.mdu-body { display: flex; flex-direction: column; align-self: stretch; min-width: 0; flex: 1; }
.mdu-body h3 { margin: 2px 0 4px; font-size: 1.05rem; letter-spacing: -.01em; padding-right: 22px; }
.mdu-body p { margin: 0 0 14px; font-size: var(--fs-sm); line-height: 1.55; color: var(--muted); }
.mdu-meta { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.mdu-host { font-family: var(--mono); font-size: .72rem; color: var(--steel); overflow-wrap: anywhere; }
.mdu-meta .tag { font-size: .68rem; }
.mdu-go { position: absolute; top: 20px; right: 18px; color: var(--mist); transition: color .2s, transform .2s var(--ease); }
.mdu-card:hover .mdu-go { color: var(--brand); transform: translate(2px, -2px); }
.mdu .empty { margin-top: 24px; }
.mdu .empty .btn { margin-top: 16px; color: var(--text); }
@media (max-width: 640px) {
  .mdu-bar-row { padding: 10px 0; }
  .mdu-nav { flex-basis: 100%; }
  .mdu-search { max-width: none; flex-basis: 100%; }
  .mdu-card { padding: 16px; gap: 14px; }
  .mdu-mono { width: 40px; height: 40px; }
  .mdu-section { scroll-margin-top: calc(var(--header-h) + 118px); }
}

/* ===== Power phrases ===== */
.pp-steps { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); counter-reset: none; }
.pp-steps li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); font-size: var(--fs-sm); color: var(--muted); }
.pp-steps b { color: var(--text); }
.pp-num { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: var(--cyan); font-family: var(--mono); font-weight: 500; }
.pp-builder { background: var(--ink-2); color: var(--light); border-radius: var(--r-lg); padding: clamp(18px, 3vw, 28px); margin-bottom: clamp(32px, 4vw, 48px); display: grid; gap: 18px; }
.pp-b-head h2 { font-size: var(--fs-xl); color: #fff; margin-bottom: 4px; }
.pp-b-head p { margin: 0; color: var(--mist); font-size: var(--fs-sm); }
.pp-b-row { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.pp-field { display: grid; gap: 6px; font-size: var(--fs-xs); font-weight: 600; color: var(--mist); text-transform: uppercase; letter-spacing: .06em; }
.pp-field select { font: inherit; font-size: var(--fs-md); text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--text); background: var(--white); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 10px 12px; min-height: 44px; width: 100%; }
.pp-ticks { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); min-width: 0; }
.pp-ticks legend { padding: 0; margin-bottom: 8px; font-size: var(--fs-xs); font-weight: 600; color: var(--mist); text-transform: uppercase; letter-spacing: .06em; }
.pp-count { margin-left: 8px; padding: 2px 8px; border-radius: var(--pill); background: rgba(0, 180, 216, .15); color: var(--cyan); text-transform: none; letter-spacing: 0; }
.pp-tick { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: var(--r-sm); border: 1px solid var(--line-dark); background: rgba(255, 255, 255, .04); font-size: var(--fs-sm); cursor: pointer; line-height: 1.4; }
.pp-tick input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--cyan); }
.pp-tick:has(input:checked) { border-color: var(--cyan); background: rgba(0, 180, 216, .1); }
.pp-tick:has(input:disabled) { opacity: .45; cursor: not-allowed; }
.pp-preview-wrap { display: grid; gap: 10px; justify-items: start; }
.pp-label { margin: 0; font-size: var(--fs-xs); font-weight: 600; color: var(--mist); text-transform: uppercase; letter-spacing: .06em; }
.pp-preview { margin: 0; width: 100%; padding: 14px 16px; border-radius: var(--r-sm); background: var(--ink); border: 1px solid var(--line-dark); font-family: var(--mono); font-size: .86rem; line-height: 1.6; color: #fff; overflow-wrap: anywhere; }
.pp-group { margin-bottom: clamp(28px, 3vw, 40px); }
.pp-goal { display: flex; align-items: center; gap: 10px; font-size: var(--fs-xl); margin-bottom: 14px; }
.pp-goal .ico { color: var(--brand); }
.pp-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.pp-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; box-shadow: var(--shadow-sm); min-width: 0; }
.pp-chip { display: flex; width: 100%; align-items: flex-start; justify-content: space-between; gap: 10px; text-align: left; padding: 10px 12px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--paper); cursor: pointer; transition: border-color .15s, background-color .15s; }
.pp-chip:hover { border-color: var(--cyan); background: var(--cyan-50); }
.pp-chip code { font-family: var(--mono); font-size: .86rem; font-weight: 500; color: var(--ink); line-height: 1.45; overflow-wrap: anywhere; }
.pp-chip-act { flex: none; display: inline-flex; align-items: center; gap: 4px; font-size: var(--fs-xs); font-weight: 700; color: var(--brand); margin-top: 1px; }
.is-copied .pp-chip-act, .pp-ex-copy.is-copied { color: #10734A; }
.pp-chip.is-copied { border-color: #10734A; background: #E5F7EE; }
.pp-does { margin: 10px 0 0; font-size: var(--fs-sm); color: var(--muted); line-height: 1.5; }
.pp-ex { margin-top: 8px; font-size: var(--fs-sm); }
.pp-ex summary { cursor: pointer; font-weight: 600; color: var(--brand); width: max-content; padding: 2px 0; }
.pp-ex p { margin: 8px 0; padding: 10px 12px; border-left: 3px solid var(--cyan); background: var(--paper); border-radius: 0 var(--r-sm) var(--r-sm) 0; color: var(--text); }
.pp-ex-copy { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; min-height: 36px; border-radius: var(--pill); border: 1px solid var(--line); background: var(--white); font-size: var(--fs-xs); font-weight: 700; color: var(--brand); cursor: pointer; }
.pp-ex-copy:hover { border-color: var(--cyan); }
.pp .chips .chip { min-height: 40px; }
@media (max-width: 480px) { .pp-chip { flex-direction: column; gap: 6px; } }

/* ===== Editorial typography (About statement, Featured articles, Planner, Talks, Profile) ===== */
:root { --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif; }

/* Home: About manifesto */
.manifesto { position: relative; background: var(--ink-2); color: var(--light); padding: clamp(72px, 10vw, 140px) 0; overflow: hidden; isolation: isolate; }
.manifesto::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(60% 80% at 100% 0%, rgba(0, 180, 216, .14), transparent 60%),
  linear-gradient(rgba(119, 141, 169, .06) 1px, transparent 1px) 0 0 / 100% 64px; }
.manifesto .wrap { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .manifesto .wrap { grid-template-columns: 120px 1fr; gap: 48px; } }
.mf-rail { display: none; }
@media (min-width: 900px) {
  .mf-rail { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; font-family: var(--mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--mist); padding-top: 6px; }
  .mf-rail span:first-child { color: var(--cyan); font-size: .9rem; }
  .mf-rail i { display: block; width: 1px; height: 120px; background: linear-gradient(var(--cyan), transparent); }
}
.mf-body { max-width: 980px; }
.manifesto .eyebrow { color: var(--sky); }
.mf-statement { font-family: var(--serif); font-weight: 400; font-size: clamp(2.4rem, 1.4rem + 4vw, 5rem); line-height: 1.02; letter-spacing: -.01em; color: #fff; margin: 0 0 28px; text-wrap: balance; }
.mf-statement em { font-style: italic; color: var(--cyan); }
.mf-lead { font-size: clamp(1.02rem, .95rem + .3vw, 1.2rem); line-height: 1.7; color: #C3CEDC; max-width: 62ch; margin: 0 0 clamp(40px, 6vw, 64px); }
.mf-pillars { list-style: none; padding: 0; margin: 0 0 36px; display: grid; gap: 0; grid-template-columns: 1fr; border-top: 1px solid var(--line-dark); }
@media (min-width: 760px) { .mf-pillars { grid-template-columns: repeat(3, 1fr); } .mf-pillars li + li { border-left: 1px solid var(--line-dark); } }
.mf-pillars li { padding: 26px 24px 26px 0; }
@media (min-width: 760px) { .mf-pillars li + li { padding-left: 24px; } }
@media (max-width: 759px) { .mf-pillars li + li { border-top: 1px solid var(--line-dark); } }
.mf-num { display: block; font-family: var(--mono); font-size: .74rem; color: var(--cyan); letter-spacing: .1em; margin-bottom: 10px; }
.mf-pillars h3 { font-family: var(--serif); font-weight: 400; font-size: 1.9rem; line-height: 1; color: #fff; margin: 0 0 10px; letter-spacing: 0; }
.mf-pillars p { margin: 0; color: var(--mist); font-size: .95rem; line-height: 1.6; }
.manifesto .arrow-link, .mf-link { color: var(--sky); }

/* Articles: editorial reading list */
.editorial { background: var(--paper); }
.ed-head { display: grid; gap: 12px 48px; grid-template-columns: 1fr; align-items: end; margin-bottom: clamp(32px, 5vw, 56px); padding-bottom: 28px; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .ed-head { grid-template-columns: 1.2fr 1fr; } .ed-head .eyebrow { grid-column: 1 / -1; margin-bottom: 0; } }
.ed-title { font-family: var(--serif); font-weight: 400; font-size: clamp(2.6rem, 1.6rem + 4vw, 5rem); line-height: .98; letter-spacing: -.01em; margin: 0; color: var(--ink); }
.ed-title em { font-style: italic; color: var(--brand); }
.ed-intro { margin: 0; color: var(--muted); font-size: 1.05rem; line-height: 1.65; max-width: 44ch; }
.ed-grid { display: grid; gap: 0; grid-template-columns: 1fr; }
@media (min-width: 900px) { .ed-grid { grid-template-columns: 1.35fr 1fr; grid-template-rows: auto auto; column-gap: 56px; } .ed-lead { grid-row: 1 / span 2; } }
.ed-item { position: relative; display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "num kicker go" "num title go" "num meta go"; column-gap: 20px; row-gap: 6px; padding: 26px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.ed-num { grid-area: num; font-family: var(--mono); font-size: .78rem; color: var(--mist); padding-top: 4px; }
.ed-kicker { grid-area: kicker; font-family: var(--mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); }
.ed-item h3 { grid-area: title; font-family: var(--serif); font-weight: 400; font-size: clamp(1.45rem, 1.2rem + .8vw, 1.9rem); line-height: 1.12; letter-spacing: 0; margin: 2px 0 4px; text-wrap: balance; }
.ed-meta { grid-area: meta; font-size: .86rem; color: var(--muted); }
.ed-go { grid-area: go; align-self: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink); transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease), border-color .25s; }
.ed-go .ico { width: 18px; height: 18px; }
.ed-item:hover h3, .ed-item:focus-visible h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.ed-item:hover .ed-go, .ed-item:focus-visible .ed-go { background: var(--ink); border-color: var(--ink); color: #fff; transform: translateX(4px); }
@media (min-width: 900px) {
  .ed-lead { padding: 36px; border: 0; border-radius: var(--r-lg); color: #fff; background:
    radial-gradient(80% 90% at 100% 0%, rgba(0, 180, 216, .35), transparent 55%), linear-gradient(160deg, var(--ink) 0%, var(--ink-2) 60%, var(--brand) 140%);
    grid-template-rows: auto auto 1fr auto; grid-template-areas: "num go" "kicker kicker" "title title" "meta meta"; grid-template-columns: 1fr auto; min-height: 380px; }
  .ed-lead .ed-num { color: var(--sky); }
  .ed-lead .ed-kicker { color: var(--cyan); margin-top: 24px; }
  .ed-lead h3 { font-size: clamp(2rem, 1.4rem + 1.6vw, 3rem); align-self: end; margin-top: 18px; }
  .ed-lead .ed-meta { color: #C3CEDC; margin-top: 10px; }
  .ed-lead .ed-go { align-self: start; border-color: rgba(255, 255, 255, .3); color: #fff; }
  .ed-lead:hover .ed-go { background: var(--cyan); border-color: var(--cyan); color: var(--ink); }
}
.ed-more { margin-top: 28px; }

/* AI Lesson Plans: planner */
.planner .lead { color: #C3CEDC; }
.planner-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line-dark); }
.planner-steps li { display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 22px 0; border-bottom: 1px solid var(--line-dark); }
.planner-steps h3 { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; line-height: 1.1; color: #fff; margin: 0 0 6px; letter-spacing: 0; }
.planner-steps p { margin: 0; color: var(--mist); }

/* Events: conference talks */
.talks { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .talks { grid-template-columns: 1fr 1fr; } }
.talk { display: flex; flex-direction: column; gap: 18px; padding: clamp(24px, 3vw, 36px); border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.talk-place { font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); }
.talk h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.7rem, 1.3rem + 1vw, 2.3rem); line-height: 1.08; letter-spacing: 0; margin: 8px 0 6px; }
.talk-meta { margin: 0; color: var(--muted); font-size: .92rem; }
.talk-theme { margin: 6px 0 0; color: var(--steel); font-size: .92rem; }
.talk-sessions { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.talk-sessions li { display: grid; gap: 4px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.talk-type { font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mist); }
.talk-title { font-weight: 600; color: var(--ink); line-height: 1.4; }
.talk .arrow-link { margin-top: auto; }

/* About us: coordinator profile */
.profile .eyebrow { color: var(--sky); }
.profile-top { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 32px; margin-bottom: 28px; }
.profile-photo { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(0, 180, 216, .5); }
.display-2 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.2rem, 1.4rem + 3vw, 4rem); line-height: 1; letter-spacing: -.005em; color: #fff; margin: 0 0 8px; }
.profile-role { margin: 0; color: var(--sky); font-family: var(--mono); font-size: .8rem; letter-spacing: .06em; }
.profile-summary { font-size: clamp(1.05rem, .95rem + .4vw, 1.3rem); line-height: 1.65; color: #C3CEDC; max-width: 70ch; margin: 0 0 36px; }
.profile-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin: 0 0 clamp(40px, 6vw, 64px); border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
@media (min-width: 760px) { .profile-stats { grid-template-columns: repeat(4, 1fr); } }
.profile-stats div { padding: 22px 18px 22px 0; }
.profile-stats dt { font-family: var(--serif); font-size: clamp(2rem, 1.5rem + 1.5vw, 2.8rem); line-height: 1; color: #fff; }
.profile-stats dd { margin: 8px 0 0; color: var(--mist); font-size: .85rem; }
.profile-grid { display: grid; gap: 40px 64px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .profile-grid { grid-template-columns: 1.2fr 1fr; } }
.profile-h { font-family: var(--mono); font-weight: 500; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); margin: 0 0 18px; }
.profile-grid > div > .profile-h:not(:first-child) { margin-top: 32px; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 20px; border-left: 1px solid var(--line-dark); }
.timeline > li { position: relative; padding: 0 0 28px 8px; }
.timeline > li::before { content: ""; position: absolute; left: -26px; top: 6px; width: 11px; height: 11px; border-radius: 50%; background: var(--ink); border: 2px solid var(--cyan); }
.tl-when { font-family: var(--mono); font-size: .74rem; color: var(--mist); }
.timeline h4 { color: #fff; font-size: 1.1rem; margin: 4px 0 2px; }
.tl-org { margin: 0 0 8px; color: var(--sky); font-size: .92rem; }
.timeline ul { margin: 0; padding-left: 18px; color: #C3CEDC; font-size: .94rem; }
.timeline ul li { margin-bottom: 4px; }
.expertise { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.expertise li { display: grid; gap: 2px; padding-bottom: 12px; border-bottom: 1px solid var(--line-dark); }
.expertise b { color: #fff; font-weight: 600; }
.expertise span, .research span { color: var(--mist); font-size: .92rem; }
.creds { margin: 0; padding-left: 18px; color: #C3CEDC; font-size: .94rem; }
.creds li { margin-bottom: 4px; }
.research { margin: 0; color: #C3CEDC; }
.research b { color: #fff; font-weight: 600; }

/* ===== One display typeface everywhere: serif for page titles, section titles and headlines ===== */
.hero h1, .page-hero h1, .h-section, .news-featured h2, .news-card h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.005em; }
.hero h1 { font-size: clamp(3rem, 1.8rem + 5.4vw, 6.4rem); line-height: .98; }
.page-hero h1 { font-size: clamp(2.6rem, 1.7rem + 3.6vw, 4.6rem); line-height: 1; max-width: 22ch; }
.h-section { font-size: clamp(2.3rem, 1.5rem + 3vw, 4rem); line-height: 1.02; }
.h-section em, .page-hero h1 em { font-style: italic; color: var(--cyan); }
.news-featured h2 { font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.8rem); line-height: 1.05; }
.news-card h3 { font-size: 1.5rem; line-height: 1.12; }
.vcard-top h1, .frame-title h1 { font-family: var(--font); }

/* ===== Prompt builder v2 ===== */
.pp-builder { gap: 26px; padding: clamp(22px, 3.4vw, 40px); }
.pp-b-head .eyebrow { color: var(--sky); }
.pp-b-head h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 1.5rem + 2vw, 3rem); line-height: 1.02; letter-spacing: -.005em; color: #fff; margin: 0 0 10px; }
.pp-b-head h2 em { font-style: italic; color: var(--cyan); }
.pp-b-head p { font-size: var(--fs-md); max-width: 60ch; }
.pp-step { border: 0; padding: 0; margin: 0; min-width: 0; }
.pp-step legend, .pp-legend { display: flex; align-items: center; gap: 10px; padding: 0; margin-bottom: 12px; font-size: var(--fs-sm); font-weight: 600; color: #fff; }
.pp-sn { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--cyan); color: var(--cyan); font-family: var(--mono); font-size: .72rem; }
.pp-tasks { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); }
.pp-task, .pp-level { position: relative; display: grid; gap: 4px; padding: 16px; border-radius: var(--r); border: 1px solid var(--line-dark); background: rgba(255, 255, 255, .03); cursor: pointer; transition: border-color .2s, background-color .2s, transform .2s var(--ease); }
.pp-task:hover, .pp-level:hover { border-color: rgba(0, 180, 216, .5); transform: translateY(-2px); }
.pp-task input, .pp-level input { position: absolute; opacity: 0; pointer-events: none; }
.pp-task-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(0, 180, 216, .12); color: var(--cyan); margin-bottom: 8px; }
.pp-task b, .pp-level b { color: #fff; font-size: .98rem; }
.pp-task small, .pp-level small { color: var(--mist); font-size: .8rem; }
.pp-task:has(input:checked), .pp-level:has(input:checked) { border-color: var(--cyan); background: linear-gradient(160deg, rgba(0, 180, 216, .2), rgba(0, 180, 216, .05)); box-shadow: 0 0 0 1px var(--cyan) inset; }
.pp-task:has(input:checked) .pp-task-ico { background: var(--cyan); color: var(--ink); }
.pp-task:has(input:focus-visible), .pp-level:has(input:focus-visible) { outline: 3px solid var(--cyan); outline-offset: 2px; }
.pp-two { display: grid; gap: 26px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .pp-two { grid-template-columns: 1.3fr 1fr; } }
.pp-levels { display: grid; gap: 8px; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.pp-level { padding: 12px 8px; text-align: center; justify-items: center; }
.pp-level b { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; line-height: 1; }
.pp-level small { font-size: .7rem; }
.pp-topic { width: 100%; min-height: 64px; padding: 0 18px; border-radius: var(--r); border: 1px solid var(--line-dark); background: rgba(255, 255, 255, .05); color: #fff; font: inherit; font-size: 1.02rem; }
.pp-topic::placeholder { color: var(--mist); }
.pp-topic:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(0, 180, 216, .25); }
.pp-tick-grid { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.pp-ticks legend { text-transform: none; letter-spacing: 0; font-size: var(--fs-sm); color: #fff; }
.pp-preview { font-size: .9rem; padding: 18px 20px; border-color: rgba(0, 180, 216, .3); }
@media (max-width: 480px) { .pp-level small { display: none; } .pp-level b { font-size: 1.3rem; } }
.talk-next { background: linear-gradient(160deg, var(--ink) 0%, var(--ink-2) 60%, var(--brand) 160%); border-color: transparent; color: var(--light); }
.talk-next h3, .talk-next .talk-title { color: #fff; }
.talk-next .talk-meta, .talk-next .talk-theme { color: #C3CEDC; }
.talk-next .talk-place, .talk-next .arrow-link { color: var(--sky); }
.talk-next .talk-sessions, .talk-next .talk-sessions li { border-color: var(--line-dark); }
.talk-badge { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: var(--pill); background: var(--cyan); color: var(--ink); letter-spacing: .06em; }
