/* AI Sandbox Lab - shared site styles (redesign 2026-09).
   Fonts: pages load IBM Plex Sans + IBM Plex Mono from Google Fonts in <head>.
   Layout primitives: .container, .section(--alt|--dark), .eyebrow, .h-*, .lead.
   Shared chrome: .site-header, .brand, .site-nav, .lang-link, .site-footer.
   Components: .btn, .card, .cells, .path, .stats, .fit, .sessions, .features,
   .logos, .corp, .tslider, .price-card, .faq, .cta-band, .tg-fab, .tg-pop.
   Inner pages: .page-hero, .breadcrumbs, .notice, .prose, .doc + .toc, .form/.field/.input,
   .tabs, .accordion, .pill. Live reference: .claude/redesign/components.html. */

:root {
  --bg: #faf9f6;
  --bg-alt: #f1efe8;
  --paper: #ffffff;
  --ink: #14131c;
  --text: #14131c;
  --text-2: #3a3a42;
  --muted: #55555f;
  --muted-2: #6b6b73;
  --faint: #9a978d;
  --accent: #ff5a36;
  --accent-ink: #d93d1b; /* accent for small text on light bg */
  --border: #e2ded3;
  --border-2: #d8d4c8;
  --on-dark: #faf9f6;
  --on-dark-2: #c9c6bd;
  --on-dark-muted: #a8a59c;
  --dark-border: #4a4952;
  --shadow: 0 8px 24px rgba(20,19,28,0.08);
  --paper-shadow: 0 8px 24px rgba(20,19,28,0.08); /* used by consent.js */
  --font: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --maxw: 1180px;
  --gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, p, ul, ol, blockquote, figure { margin: 0; }
ul, ol { padding: 0; }
img, svg { max-width: 100%; }
a { color: var(--accent-ink); text-decoration: none; }
a:hover { color: var(--ink); }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
[id] { scroll-margin-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---------- Layout ---------- */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 900px; }
.section { padding: 80px 0; }
.section--tight { padding: 64px 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--ink); color: var(--on-dark); }
.section--dark a { color: var(--accent); }
.section--dark a:hover { color: var(--on-dark); }

.eyebrow {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: 12px;
}
.section--dark .eyebrow, .eyebrow--bright { color: var(--accent); }
.h-hero {
  font-size: clamp(34px, 5.4vw, 54px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  max-width: 1000px;
}
.h-hero .accent, .h-section .accent { color: var(--accent-ink); }
.h-section {
  font-size: clamp(27px, 3.4vw, 36px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 16px;
  max-width: 720px;
}
.section--dark .h-section { color: var(--on-dark); }
.h-sub { font-size: 22px; line-height: 1.3; font-weight: 700; margin-bottom: 18px; }
.lead { font-size: 17px; line-height: 1.65; color: var(--text-2); max-width: 720px; }
.section-head { margin-bottom: 40px; }
.section-head .lead { margin-top: 4px; }
.center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  border: 1px solid transparent;
  border-radius: 0;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  transition: background .15s, color .15s, border-color .15s, opacity .15s;
  -webkit-appearance: none;
  appearance: none;
}
.btn svg { width: 16px; height: 16px; flex: none; }
.btn--dark { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.btn--dark:hover { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.btn--accent { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.btn--accent:hover { opacity: .85; color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--on-dark); }
.btn--ghost-light { background: transparent; color: var(--on-dark); border-color: var(--dark-border); }
.btn--ghost-light:hover { border-color: var(--on-dark); color: var(--on-dark); }
.btn--block { display: flex; width: 100%; }
.btn--sm { padding: 10px 18px; font-size: 14.5px; }
.btn[disabled] { opacity: .6; cursor: default; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { font-weight: 600; color: var(--accent-ink); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,249,246,0.92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.site-header__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--ink);
  white-space: nowrap;
}
.brand:hover { color: var(--ink); }
.brand svg { width: 22px; height: 22px; flex: none; }
.site-nav { display: flex; align-items: center; gap: 24px; }
.site-nav__links { display: flex; align-items: center; gap: 24px; }
.site-nav__links a { font-size: 14.5px; font-weight: 500; color: var(--text-2); }
.site-nav__links a:hover, .site-nav__links a[aria-current="page"] { color: var(--ink); }
.lang-link {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--text-2);
  padding: 4px 0;
}
.lang-link:hover { color: var(--accent-ink); }
.lang-switch { display: inline-flex; align-items: center; gap: 10px; }
.lang-link[aria-current] { color: var(--ink); font-weight: 600; cursor: default; }
.lang-link[aria-current]:hover { color: var(--ink); }
@media (max-width: 1080px) { .site-nav__links .nav-opt { display: none; } }
@media (max-width: 820px) {
  .site-nav__links { display: none; }
  .site-nav { gap: 16px; }
}
@media (max-width: 400px) {
  .brand { font-size: 16px; gap: 8px; }
  .site-header .btn--sm { padding: 9px 12px; font-size: 13.5px; }
  .site-nav { gap: 12px; }
  .lang-switch { gap: 8px; }
}
@media (max-width: 480px) {
  .lang-link[aria-current] { display: none; }
}

/* Language dropdown: assets/lang-switch.js upgrades .lang-switch (or bare .lang-link anchors)
   into a button (globe + native name) and a menu; the inline links stay the no-JS fallback. */
.lang-dd { position: relative; display: inline-flex; }
.lang-dd__btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 12px; background: transparent; border: 1px solid var(--border-2);
  color: var(--text-2); font: inherit; font-size: 13.5px; font-weight: 500; line-height: 1.2;
  cursor: pointer; white-space: nowrap; -webkit-appearance: none; appearance: none;
  transition: color .15s, border-color .15s;
}
.lang-dd__btn::after { content: ""; width: 6px; height: 6px; margin-left: 1px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .15s; }
.lang-dd.open .lang-dd__btn::after { transform: rotate(225deg) translateY(-1px); }
.lang-dd__btn:hover, .lang-dd:focus-within .lang-dd__btn, .lang-dd.open .lang-dd__btn { color: var(--ink); border-color: var(--ink); }
.lang-dd__globe { flex: none; }
.lang-dd__code { display: none; font-family: var(--mono); font-size: 12.5px; font-weight: 600; letter-spacing: .04em; }
.lang-dd__menu {
  position: absolute; top: calc(100% + 8px); right: 0; min-width: 184px;
  background: var(--paper); border: 1px solid var(--border); box-shadow: var(--shadow);
  padding: 6px; display: none; z-index: 60;
}
.lang-dd.open .lang-dd__menu { display: block; } /* click-to-open only: a hover-open menu cannot be closed while the pointer rests on it */
.site-nav .lang-dd__menu .lang-link { /* .site-nav prefix: outranks page-local .site-nav .lang-link rules on legacy pages */
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 9px 12px; font-family: var(--font); font-size: 14.5px; font-weight: 500; letter-spacing: 0;
  color: var(--ink); white-space: nowrap;
}
.site-nav .lang-dd__menu .lang-link:hover, .site-nav .lang-dd__menu .lang-link:focus-visible { background: var(--bg-alt); color: var(--ink); }
.site-nav .lang-dd__menu .lang-link[aria-current] { display: flex; font-weight: 600; cursor: default; }
.lang-dd__check { flex: none; color: var(--accent-ink); }
@media (max-width: 480px) {
  /* Icon only: the native name does not fit next to the CTA at 375 px (header overflows); the button's aria-label carries it. */
  .lang-dd__btn { padding: 0 10px; min-height: 40px; min-width: 44px; gap: 6px; }
  .lang-dd__name, .lang-dd__code { display: none; }
}

/* ---------- Hero ---------- */
.hero { padding: 72px 0 48px; }
.hero__text { max-width: 1000px; }
.hero__sub { font-size: 19px; line-height: 1.6; color: var(--text-2); max-width: 680px; margin-bottom: 14px; }
.hero__sub strong { color: var(--ink); font-weight: 600; }
.hero__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin: 0 0 20px; }
.hero__price-amount { font-family: var(--mono); font-size: 28px; line-height: 1.2; font-weight: 600; color: var(--ink); }
.hero__price-meta { font-size: 15px; line-height: 1.5; color: var(--muted); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.quote {
  border-left: 3px solid var(--accent);
  margin: 28px 0 0;
  padding: 2px 0 2px 20px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  max-width: 680px;
}
.quote__by { margin-top: 10px; font-size: 14px; color: var(--muted-2); }
.quote__by strong { color: var(--ink); }

/* Featured participant proof, between the offer and format selection. */
.graduate-proof {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 32px;
  margin-top: 32px;
  padding: 28px 32px;
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  background: var(--paper);
}
.graduate-proof__person { display: flex; align-items: flex-start; gap: 14px; }
.graduate-proof__person img { flex: none; width: 80px; height: 80px; border-radius: 50%; object-fit: cover; }
.graduate-proof__name { display: inline-block; color: var(--ink); font-size: 16px; font-weight: 600; line-height: 1.4; }
.graduate-proof__name:hover { color: var(--accent-ink); text-decoration: underline; }
.graduate-proof__name span { color: var(--accent-ink); }
.graduate-proof__role { margin-top: 4px; font-size: 13px; line-height: 1.4; color: var(--muted); }
.graduate-proof__label { margin-top: 8px; font-size: 12px; color: var(--muted-2); }
.graduate-proof__story blockquote { font-size: clamp(20px, 2vw, 24px); line-height: 1.3; font-weight: 600; letter-spacing: -.01em; }
.graduate-proof__context { margin-top: 12px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.graduate-proof__footer { margin-top: 16px; }
.graduate-proof__timing { font-size: 13px; color: var(--muted); }
.graduate-proof__timing strong { font-family: var(--mono); color: var(--ink); font-weight: 600; }
.graduate-proof__more { margin-top: 12px; }
.graduate-proof__more summary { width: fit-content; min-height: 44px; padding: 10px 0; cursor: pointer; color: var(--accent-ink); font-size: 14px; font-weight: 500; }
.graduate-proof__more summary:hover { color: var(--ink); }
.graduate-proof__full { padding-top: 12px; border-top: 1px solid var(--border); font-size: 15px; color: var(--text-2); }
.graduate-proof__full p + p { margin-top: 14px; }
.graduate-proof--corp { margin-top: 16px; }
.graduate-proof__person .graduate-proof__logo { display: block; width: auto; height: 20px; margin-top: 12px; border-radius: 0; object-fit: contain; }
@media (max-width: 860px) {
  .graduate-proof { grid-template-columns: 1fr; gap: 20px; padding: 24px; }
  .graduate-proof__person { align-items: center; }
  .graduate-proof__person img { width: 64px; height: 64px; }
  .graduate-proof__label { margin-top: 3px; }
}
@media (max-width: 480px) {
  .graduate-proof { padding: 20px; }
}

/* Path split */
.path { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 44px; }
.path__card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--border);
  padding: 28px 28px 24px;
  color: var(--ink);
  transition: box-shadow .15s, border-color .15s;
}
.path__card:hover { border-color: var(--ink); box-shadow: var(--shadow); color: var(--ink); }
.path__k { font-family: var(--mono); font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 10px; }
.path__title { font-size: 21px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 8px; }
.path__body { font-size: 15px; line-height: 1.55; color: var(--muted); flex: 1; }
.path__go { margin-top: 16px; font-size: 14.5px; font-weight: 600; color: var(--accent-ink); }
.path__card--dark { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }
.path__card--dark:hover { border-color: var(--ink); box-shadow: 0 8px 24px rgba(20,19,28,0.35); color: var(--on-dark); }
.path__card--dark .path__k { color: var(--on-dark-muted); }
.path__card--dark .path__body { color: var(--on-dark-2); }
.path__card--dark .path__go { color: var(--accent); }

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 48px;
}
.stats--3 { grid-template-columns: repeat(3, 1fr); }
.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #22c55e; margin-right: 6px; vertical-align: 1px; animation: live-dot-pulse 1.4s ease-in-out infinite; }
@keyframes live-dot-pulse { 0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34,197,94,.5); } 50% { opacity: .35; box-shadow: 0 0 0 5px rgba(34,197,94,0); } }
@media (prefers-reduced-motion: reduce) { .live-dot { animation: none; } }
.stats__item { background: var(--bg); padding: 22px 20px; }
.stats__n { font-family: var(--mono); font-size: 30px; font-weight: 500; letter-spacing: -0.01em; line-height: 1.2; }
.stats__label { font-size: 13.5px; color: var(--muted-2); margin-top: 4px; line-height: 1.45; }

/* ---------- Generic cards / cells ---------- */
.cells {
  display: grid;
  grid-template-columns: repeat(var(--cols, 3), 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.cells--2 { --cols: 2; }
.cells--4 { --cols: 4; }
.cells > * { background: var(--paper); padding: 28px; transition: background .15s; }
.cells--hover > *:hover { background: var(--bg-alt); }
.cell__n { font-family: var(--mono); font-size: 12.5px; font-weight: 500; color: var(--accent-ink); margin-bottom: 14px; }
.cell__title { font-size: 16.5px; font-weight: 600; margin-bottom: 8px; line-height: 1.35; }
.cell__body { font-size: 14.5px; line-height: 1.55; color: var(--muted); }

.cards { display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); gap: 24px; }
.card {
  background: var(--paper);
  border: 1px solid var(--border);
  padding: 24px;
  transition: box-shadow .15s;
}
.card:hover { box-shadow: var(--shadow); }
.card__title { font-size: 16px; font-weight: 600; margin-bottom: 10px; line-height: 1.4; }
.card__body { font-size: 14.5px; line-height: 1.55; color: var(--muted); }

/* Fit (for / not for) */
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.fit__list { list-style: none; }
.fit__list li { display: flex; gap: 12px; margin-bottom: 14px; font-size: 15.5px; line-height: 1.55; color: #2c2c33; }
.fit__list li::before { content: '+'; color: var(--accent-ink); font-weight: 700; flex: none; width: 12px; }
.fit__list--no li::before { content: '\2212'; color: var(--faint); }

/* Sessions (curriculum) */
.sessions { margin-top: 8px; }
.session {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 32px;
  padding: 32px 0;
  border-top: 1px solid var(--border);
}
.session:last-child { border-bottom: 1px solid var(--border); }
.session__n { font-family: var(--mono); font-size: 14px; color: var(--muted-2); padding-top: 3px; }
.session__title { font-size: 21px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 10px; line-height: 1.3; }
.session__body { font-size: 15.5px; line-height: 1.6; color: var(--text-2); margin-bottom: 14px; max-width: 680px; }
.session__list { list-style: none; padding: 0; margin: 0 0 14px; max-width: 680px; display: grid; gap: 6px; }
.session__list li { position: relative; padding-left: 18px; font-size: 15.5px; line-height: 1.5; color: var(--text-2); }
.session__list li::before { content: ""; position: absolute; left: 0; top: .65em; width: 7px; height: 7px; background: var(--accent); }
.tag { display: inline-block; background: var(--bg-alt); color: var(--ink); font-size: 13.5px; font-weight: 600; padding: 6px 12px; line-height: 1.4; }

/* Features on dark (support) */
.features { display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); gap: 32px 28px; }
.feature__title { font-size: 16px; font-weight: 600; margin-bottom: 8px; color: var(--on-dark); }
.feature__body { font-size: 14.5px; line-height: 1.55; color: var(--on-dark-muted); }

/* Logos wall */
.logos-cap { font-size: 14px; font-weight: 500; color: var(--muted-2); text-align: center; margin-bottom: 32px; }
.logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 36px 48px; }
.logos a, .logos span { display: inline-flex; align-items: center; }
.logos img {
  height: 26px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .55;
  transition: filter .15s, opacity .15s;
}
.logos a:hover img { filter: none; opacity: 1; }

/* Corporate block */
.corp { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.corp__lead { font-size: 17px; line-height: 1.65; color: var(--text-2); margin-bottom: 16px; }
.corp__note { font-size: 15.5px; line-height: 1.6; color: var(--muted); margin-bottom: 32px; }
.steps { background: var(--paper); border: 1px solid var(--border); padding: 8px; }
.step { display: flex; gap: 18px; padding: 22px 20px; border-bottom: 1px solid var(--border); }
.step:last-child { border-bottom: 0; }
.step__n { font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--accent-ink); padding-top: 2px; flex: none; }
.step__title { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.step__body { font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.checks { margin-top: 48px; }
.checks > * { display: flex; gap: 10px; align-items: flex-start; padding: 24px; font-size: 15px; font-weight: 600; line-height: 1.4; }
.check::before, .checklist li::before { content: '\2713'; color: var(--accent-ink); font-weight: 700; flex: none; }

/* ---------- Testimonials slider ---------- */
.tslider { margin-top: 8px; }
.ttrack {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 2px 0 12px;
}
.ttrack::-webkit-scrollbar { display: none; }
.tcard {
  flex: 0 0 calc((100% - 40px) / 3);
  scroll-snap-align: start;
  background: var(--paper);
  border: 1px solid var(--border);
  padding: 26px;
  display: flex;
  flex-direction: column;
  transition: box-shadow .15s;
}
.tcard:hover { box-shadow: var(--shadow); }
.tcard::before { content: '\201C'; font-family: var(--mono); font-size: 28px; color: var(--accent); line-height: 1; margin-bottom: 12px; }
.tquote { font-size: 14.5px; line-height: 1.6; color: #2c2c33; flex: 1; margin-bottom: 20px; }
.tperson { border-top: 1px solid var(--border); padding-top: 14px; }
.tname { font-size: 14.5px; font-weight: 600; }
.trole { font-size: 13px; color: var(--muted-2); margin-top: 2px; }
.tlink { display: inline-block; margin-top: 8px; font-size: 13.5px; font-weight: 600; color: var(--accent-ink); }
.tcontrols { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 22px; }
.tcontrols button {
  width: 44px; height: 44px;
  border: 1px solid var(--border);
  background: var(--paper);
  color: var(--ink);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s, border-color .15s;
}
.tcontrols button:hover { border-color: var(--ink); }
.tdots { display: flex; gap: 8px; align-items: center; }
.tdots span { width: 8px; height: 8px; background: var(--border-2); cursor: pointer; transition: background .15s; }
.tdots span.active { background: var(--accent); }
@media (max-width: 960px) { .tcard { flex-basis: calc((100% - 20px) / 2); } }
@media (max-width: 640px) { .tcard { flex-basis: 100%; } }

/* ---------- LinkedIn mentions (post screenshots) ---------- */
.mentions { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding: 2px 0 12px; }
.mcard {
  flex: 0 0 calc((100% - 40px) / 3);
  scroll-snap-align: start;
  background: var(--paper);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  color: var(--ink);
  transition: box-shadow .15s;
}
.mcard:hover { box-shadow: var(--shadow); color: var(--ink); }
.mcard__shot { position: relative; max-height: 420px; overflow: hidden; border-bottom: 1px solid var(--border); }
.mcard__shot img { display: block; width: 100%; height: auto; }
.mcard__shot::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 64px; background: linear-gradient(to bottom, transparent, var(--paper)); }
.mcard__meta { display: flex; justify-content: space-between; gap: 12px; padding: 14px 20px 0; font-size: 14.5px; }
.mcard__name { font-weight: 600; }
.mcard__date { font-family: var(--mono); font-size: 12.5px; color: var(--muted-2); white-space: nowrap; }
.mcard__link { padding: 6px 20px 18px; font-size: 13.5px; font-weight: 600; color: var(--accent-ink); }
@media (max-width: 960px) { .mcard { flex-basis: calc((100% - 20px) / 2); } }
@media (max-width: 640px) { .mcard { flex-basis: 100%; } }

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.person { display: flex; gap: 22px; align-items: flex-start; }
.person__photo { width: 112px; height: 112px; object-fit: cover; object-position: center 22%; flex: none; background: var(--bg-alt); }
.person__name { font-size: 19px; font-weight: 700; margin-bottom: 6px; }
.person__bio { font-size: 14.5px; line-height: 1.6; color: var(--text-2); margin-bottom: 8px; }
.team-more { margin-top: 32px; }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--border);
  padding: 32px 28px;
}
.price-card.featured { border-color: var(--ink); box-shadow: 0 12px 32px rgba(20,19,28,0.08); }
.price-card--dark { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }
.price-badge {
  align-self: flex-start;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .05em;
  text-transform: uppercase;
  background: var(--accent);
  color: var(--ink);
  padding: 4px 10px;
  margin-bottom: 14px;
}
.price-tier { font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 8px; }
.price-status { font-size: 15px; font-weight: 600; color: var(--accent-ink); margin-bottom: 18px; }
.price-card--dark .price-tier { color: var(--on-dark-muted); }
.price-card--dark .price-status { color: var(--accent); }
.price-amount { font-size: 44px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.05; margin-bottom: 6px; }
.price-amount sup { font-size: 22px; font-weight: 600; vertical-align: 16px; margin-right: 2px; }
.price-amount.request { font-size: 28px; letter-spacing: -0.01em; }
.price-deadline { font-size: 14px; font-weight: 600; color: var(--accent-ink); margin-top: 6px; }
.seats { margin: 16px 0 6px; padding: 14px 14px 12px; border: 1px solid var(--border); border-radius: 14px; background: var(--paper); }
.seat { --seat-tile: var(--bg-alt); --seat-cheek: var(--accent); display: flex; flex-direction: column; align-items: center; min-width: 0; color: var(--border-2); }
.seat svg { width: 100%; max-width: 52px; height: auto; display: block; }
.seat-name { font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: .02em; color: var(--text-2); margin-top: 4px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.seat--mine { --seat-tile: var(--accent); --seat-cheek: var(--accent); }
.seat--mine .seat-name { color: var(--accent-ink); }
@media (prefers-reduced-motion: no-preference) {
  .seats-wait .seat--taken { opacity: 0; transform: translateY(6px); }
  .seat--taken { transition: opacity .4s ease, transform .4s ease; }
  .seat--taken:nth-child(2) { transition-delay: .12s; }
  .seat--taken:nth-child(3) { transition-delay: .24s; }
  .seat--taken:nth-child(4) { transition-delay: .36s; }
  .seat--mine svg { animation: seat-pop .35s ease-out; }
}
@keyframes seat-pop { from { transform: scale(.85); opacity: 0; } to { transform: scale(1); opacity: 1; } }
/* Seats as a list: one row per booking with name, role and city visible together */
.seats-list { list-style: none; margin: 0; padding: 0; }
.seats-list .seat { flex-direction: row; align-items: center; gap: 10px; padding: 6px 0; border-top: 1px solid var(--border); }
.seats-list .seat:first-child { border-top: 0; padding-top: 0; }
.seats-list .seat svg { width: 34px; max-width: none; flex: none; }
.seat-info { display: flex; flex-direction: column; min-width: 0; }
.seats-list .seat-name { font-family: inherit; font-size: 13.5px; font-weight: 700; letter-spacing: 0; color: var(--ink); margin: 0; }
.seat-meta { font-size: 12px; line-height: 1.4; color: var(--muted-2); }
/* Compact seats: one row of overlapping avatars, the list of names sits behind a disclosure */
.seats-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; }
.seats-avatars { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; }
.seats-avatars .seat { flex: none; }
.seats-avatars .seat svg { width: 28px; max-width: none; border-radius: 7px; box-shadow: 0 0 0 2px var(--paper); }
.seats-avatars .seat--taken + .seat--taken, .seats-avatars .seat--taken + .seat--mine { margin-left: -6px; }
.seats-avatars .seat--free { color: #16a34a; margin-left: 4px; }
.seats-avatars .seat--taken + .seat--free, .seats-avatars .seat--mine + .seat--free { margin-left: 8px; }
.seats-avatars .seat--free svg { background: #effaf3; }
.seats-count { font-size: 13px; font-weight: 600; color: #15803d; white-space: nowrap; }
.seats-more { margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--border); }
.seats-more summary { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); cursor: pointer; list-style: none; }
.seats-more summary::-webkit-details-marker { display: none; }
.seats-more summary::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s ease; }
.seats-more[open] summary::after { transform: translateY(1px) rotate(-135deg); }
.seats-more summary:hover { color: var(--ink); }
.seats-more .seats-list { margin-top: 10px; }
/* Full group: accent counter, "+N" chip after the 10th avatar, waitlist note */
.seats--full { border-color: var(--ink); }
.seats-count--full { color: var(--accent-ink); }
.seats-avatars .seat--over { margin-left: 6px; }
.seats-avatars .seat--over span { display: inline-flex; align-items: center; justify-content: center; min-width: 28px; height: 28px; padding: 0 6px; border-radius: 7px; background: var(--ink); color: #fff; font-family: var(--mono); font-size: 11px; font-weight: 600; box-shadow: 0 0 0 2px var(--paper); }
.seats-wait-note { font-size: 13px; line-height: 1.45; color: var(--muted); margin: 8px 0 0; }
.price-status--full { display: inline-flex; align-items: center; gap: 8px; }
.price-status--full::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
@media (prefers-reduced-motion: no-preference) {
  .seats-avatars .seat--taken:nth-child(5) { transition-delay: .48s; }
  .seats-avatars .seat--taken:nth-child(6) { transition-delay: .6s; }
  .seats-avatars .seat--taken:nth-child(7) { transition-delay: .72s; }
  .seats-avatars .seat--taken:nth-child(8) { transition-delay: .84s; }
  .seats-avatars .seat--taken:nth-child(9) { transition-delay: .96s; }
  .seats-avatars .seat--taken:nth-child(10) { transition-delay: 1.08s; }
  .seats-avatars .seat--taken:nth-child(11) { transition-delay: 1.2s; }
  .seats-avatars .seat--taken:nth-child(12) { transition-delay: 1.32s; }
}
.price-note { font-size: 14px; line-height: 1.55; color: var(--muted); margin: 10px 0 22px; }
.price-card--dark .price-note { color: var(--on-dark-2); }
.checklist { list-style: none; margin-bottom: 24px; flex: 1; }
.checklist li { display: flex; gap: 10px; margin-bottom: 12px; font-size: 14.5px; line-height: 1.5; color: #2c2c33; }
.price-card--dark .checklist li { color: #e5e3da; }
.price-card--dark .checklist li::before { color: var(--accent); }
.price-cta-row { display: flex; flex-direction: column; gap: 10px; }
.cur-switch { display: inline-flex; align-self: flex-start; gap: 2px; background: var(--bg-alt); padding: 3px; margin-bottom: 14px; }
.cur-switch button {
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .04em;
  padding: 6px 14px;
  border: 0;
  background: transparent;
  color: var(--muted-2);
  cursor: pointer;
}
.cur-switch button.active { background: var(--ink); color: var(--on-dark); }
.pricing-foot { margin-top: 20px; font-size: 14px; color: var(--muted-2); }

/* ---------- Promo boxes (materials / self-check) ---------- */
.promos { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.promo { display: flex; flex-direction: column; border: 1px solid var(--border); padding: 36px; background: var(--bg); }
.promo .h-sub { font-size: 24px; letter-spacing: -0.01em; margin-bottom: 12px; }
.promo p { font-size: 15.5px; line-height: 1.6; color: var(--text-2); margin-bottom: 24px; flex: 1; }
.promo .btn { align-self: flex-start; }

/* ---------- FAQ ---------- */
.faq { margin-top: 8px; }
.faq details { border-top: 1px solid var(--border-2); }
.faq details:last-child { border-bottom: 1px solid var(--border-2); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 0;
  font-size: 17px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--mono); font-size: 22px; font-weight: 500; color: var(--accent-ink); line-height: 1; flex: none; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq__a { padding: 0 0 22px; font-size: 15.5px; line-height: 1.65; color: var(--text-2); max-width: 760px; }
.faq__a a { text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Final CTA band ---------- */
.cta-band { background: var(--ink); color: var(--on-dark); text-align: center; padding: 72px 0; }
.cta-band .h-section { margin: 0 auto 24px; color: var(--on-dark); }
.cta-band .btn-row { justify-content: center; }
.cta-band__note { margin-top: 20px; font-size: 14px; color: var(--on-dark-muted); }
.cta-band__note a { color: var(--accent); }

/* ---------- Footer ---------- */
.site-footer { padding: 56px 0 40px; }
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  border-top: 1px solid var(--border);
  padding-top: 36px;
}
.site-footer__about { font-size: 14px; line-height: 1.6; color: var(--muted); margin-top: 12px; max-width: 340px; }
.site-footer__h { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 12px; }
.site-footer__links { list-style: none; }
.site-footer__links li { margin-bottom: 8px; }
.site-footer__links a { font-size: 14px; color: var(--text-2); }
.site-footer__links a:hover { color: var(--accent-ink); }
.site-footer__legal { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--border); font-size: 13px; line-height: 1.8; color: var(--muted-2); }
.site-footer__legal a { color: var(--muted-2); text-decoration: underline; text-underline-offset: 2px; }
.site-footer__legal a:hover { color: var(--ink); }

/* ---------- Floating Telegram button ---------- */
.tg-fab {
  position: fixed;
  right: 24px;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  z-index: 999;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px 13px 16px;
  background: var(--ink);
  color: var(--on-dark);
  font-weight: 600;
  font-size: 15px;
  box-shadow: 0 8px 24px rgba(20,19,28,0.25);
  transition: background .15s, color .15s, transform .15s;
}
.tg-fab svg { width: 20px; height: 20px; flex: none; color: var(--accent); }
.tg-fab:hover { background: var(--accent); color: var(--ink); transform: translateY(-2px); }
.tg-fab:hover svg { color: var(--ink); }
@media (max-width: 600px) {
  .tg-fab { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); padding: 13px; gap: 0; }
  .tg-fab span { display: none; }
  .tg-fab svg { width: 22px; height: 22px; }
}

/* ---------- Modal (Telegram popup + booking form) ---------- */
.tg-pop-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(20,19,28,0.55);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}
.tg-pop-overlay.open { opacity: 1; visibility: visible; }
.tg-pop {
  position: relative;
  width: 100%;
  max-width: 440px;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 36px 32px 30px;
  text-align: center;
  box-shadow: 0 24px 64px rgba(20,19,28,0.28);
  transform: translateY(12px);
  transition: transform .3s cubic-bezier(0.2,0.8,0.2,1);
}
.tg-pop-overlay.open .tg-pop { transform: none; }
.tg-pop-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: var(--muted-2);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.tg-pop-close:hover { background: var(--bg-alt); color: var(--ink); }
.tg-pop-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: var(--accent);
}
.tg-pop-icon svg { width: 26px; height: 26px; }
.tg-pop-handle { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 8px; }
.tg-pop h3 { font-size: 22px; line-height: 1.25; margin-bottom: 12px; font-weight: 700; letter-spacing: -0.01em; }
.tg-pop p { font-size: 15px; line-height: 1.55; color: var(--muted); margin-bottom: 22px; }
.tg-pop-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 15px 22px;
  background: var(--ink);
  color: var(--on-dark);
  font-family: inherit;
  font-weight: 600;
  font-size: 15px;
  border: 0;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.tg-pop-cta svg { width: 18px; height: 18px; }
.tg-pop-cta:hover { background: var(--accent); color: var(--ink); }
.tg-pop-dismiss {
  display: inline-block;
  margin-top: 14px;
  background: none;
  border: 0;
  color: var(--muted-2);
  font-family: inherit;
  font-size: 14px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.tg-pop-dismiss:hover { color: var(--ink); }
.book-card, .book-card h3, .book-card > p { text-align: left; }
.book-form { display: flex; flex-direction: column; gap: 12px; }
.book-form[hidden] { display: none; }
.book-input {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--border-2);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: inherit;
  font-size: 16px;
}
.book-input::placeholder { color: var(--muted-2); }
.book-input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(255,90,54,0.25); }
.book-textarea { resize: vertical; min-height: 78px; }
.book-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.book-error { color: #b3301a; font-size: 14px; line-height: 1.45; }
.book-error a { color: #b3301a; font-weight: 700; text-decoration: underline; }
.book-promo { display: flex; flex-direction: column; gap: 8px; }
.book-promo[hidden], .book-promo__row[hidden], .book-promo__msg[hidden] { display: none; }
.book-promo__toggle {
  align-self: flex-start;
  background: none;
  border: 0;
  padding: 0;
  color: var(--text-2);
  font-family: inherit;
  font-size: 14px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.book-promo__toggle:hover { color: var(--ink); }
.book-promo__row { display: flex; gap: 8px; }
.book-promo__row .book-input { flex: 1; min-width: 0; text-transform: uppercase; }
.book-promo__row .book-input::placeholder { text-transform: none; }
.book-promo__apply { flex: none; }
.book-promo__apply[disabled] { opacity: .6; cursor: default; }
.book-promo__msg { color: #b3301a; font-size: 14px; line-height: 1.45; }
.book-promo__msg.is-ok { color: #15803d; font-weight: 600; }
.book-submit { margin-top: 4px; }
.book-submit[disabled] { opacity: .6; cursor: default; }
.book-success, .book-success h3 { text-align: center; }
.book-success p { margin-bottom: 0; }
.book-success h3:focus { outline: none; }
.book-invoice { margin-top: 22px; padding: 18px 20px; border: 1px solid var(--border); border-left: 3px solid var(--accent); text-align: left; }
.book-invoice[hidden] { display: none; }
.book-invoice .book-invoice__title { font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.book-invoice__cta { margin-top: 14px; }
.book-invoice__alt { margin-top: 12px; font-size: 14px; color: var(--muted); }
.book-invoice__alt .cta-band__link { text-align: left; }
@media (max-width: 600px) { .tg-pop { padding: 32px 20px 24px; } .tg-pop h3 { font-size: 20px; } }

/* ---------- Homepage events widget ---------- */
.evw-body { margin-top: 32px; }
.ev-tag {
  align-self: flex-start;
  padding: 3px 9px;
  background: var(--accent);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.ev-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 13px;
}
.ev-date svg, .ev-link svg { width: 16px; height: 16px; flex: none; }
.ev-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-ink);
  font-size: 15px;
  font-weight: 600;
}
.ev-link:hover { color: var(--ink); text-decoration: underline; }
.evw-next {
  display: grid;
  grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.evw-next-poster { display: block; line-height: 0; overflow: hidden; }
.evw-next-poster img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--bg-alt);
}
.evw-next-nodate {
  display: grid;
  place-content: center;
  text-align: center;
  aspect-ratio: 1 / 1;
  background: var(--accent);
  color: var(--ink);
}
.evw-next-nodate b { display: block; font-size: 64px; line-height: .92; }
.evw-next-nodate span { display: block; margin-top: 6px; font-weight: 600; }
.evw-next-main { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.evw-next-main h3 { font-size: 26px; line-height: 1.2; letter-spacing: -.01em; }
.evw-next-main p { color: var(--text-2); font-size: 16px; }
.evw-cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 6px; }
.evw-past { margin-top: 32px; }
.evw-past-title { margin-bottom: 12px; color: var(--muted); font-family: var(--mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.evw-strip { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.evw-strip::-webkit-scrollbar { display: none; }
.evw-strip:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.evw-shot { flex: 0 0 clamp(150px, 20vw, 210px); display: block; overflow: hidden; border: 1px solid var(--border); line-height: 0; scroll-snap-align: start; }
.evw-shot:hover { border-color: var(--ink); }
.evw-shot img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; background: var(--bg-alt); }
.evw-more { display: grid; place-content: center; aspect-ratio: 3 / 2; padding: 0 12px; background: var(--paper); color: var(--accent-ink); font-size: 14px; font-weight: 600; line-height: 1.4; text-align: center; }
@media (prefers-reduced-motion: no-preference) {
  .evw-shot img { transition: transform .2s; }
  .evw-shot:hover img { transform: scale(1.04); }
  .evw-strip { scroll-behavior: smooth; }
}

/* ---------- Inner pages (stage 3) ---------- */
/* Page hero: title block at the top of inner pages. */
.page-hero { padding: 64px 0 40px; border-bottom: 1px solid var(--border); }
.page-hero .h-hero { font-size: clamp(30px, 4.4vw, 46px); margin-bottom: 16px; }
.page-hero .lead { font-size: 18px; }
.page-hero .btn-row { margin-top: 28px; }
.breadcrumbs { font-family: var(--mono); font-size: 12.5px; letter-spacing: .04em; color: var(--muted-2); margin-bottom: 16px; }
.breadcrumbs a { color: var(--muted-2); }
.breadcrumbs a:hover { color: var(--accent-ink); }

/* Notice: short callout, e.g. "materials are in Russian". */
.notice {
  border-left: 3px solid var(--accent);
  background: var(--bg-alt);
  padding: 14px 18px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-2);
}
.notice strong { color: var(--ink); }
.notice--dark { background: var(--ink); color: var(--on-dark-2); }
.notice--dark strong { color: var(--on-dark); }

/* Prose: long-form text (guides, notes, legal). Wrap content in .prose. */
.prose { max-width: 760px; font-size: 16.5px; line-height: 1.7; color: var(--text-2); }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: clamp(24px, 3vw, 30px); line-height: 1.2; font-weight: 700; letter-spacing: -0.015em; color: var(--ink); margin-top: 2em; }
.prose h3 { font-size: 20px; line-height: 1.3; font-weight: 700; color: var(--ink); margin-top: 1.6em; }
.prose h4 { font-size: 17px; font-weight: 600; color: var(--ink); margin-top: 1.4em; }
.prose h2 + *, .prose h3 + *, .prose h4 + * { margin-top: .6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .35em; }
.prose li::marker { color: var(--accent-ink); }
.prose a { text-decoration: underline; text-underline-offset: 2px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose blockquote { border-left: 3px solid var(--accent); padding: 2px 0 2px 18px; color: var(--ink); }
.prose hr { border: 0; border-top: 1px solid var(--border); margin: 2.2em 0; }
.prose code { font-family: var(--mono); font-size: .88em; background: var(--bg-alt); padding: .1em .35em; }
.prose pre {
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.6;
  background: var(--ink);
  color: var(--on-dark);
  padding: 18px 20px;
  overflow-x: auto;
  max-width: 100%;
}
.prose pre code { background: transparent; padding: 0; color: inherit; font-size: inherit; }
.prose img { max-width: 100%; height: auto; }
.table-wrap { overflow-x: auto; max-width: 100%; }
.prose table, .table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td, .table th, .table td { border-bottom: 1px solid var(--border); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose th, .table th { font-weight: 600; color: var(--ink); background: var(--bg-alt); }

/* Two-column layout for docs: sticky table of contents + content. */
.doc { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 48px; align-items: start; }
.toc { position: sticky; top: 88px; font-size: 14px; line-height: 1.5; }
.toc__h { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 10px; }
.toc ol, .toc ul { list-style: none; padding: 0; }
.toc li { margin-bottom: 8px; }
.toc a { color: var(--text-2); }
.toc a:hover, .toc a[aria-current="true"] { color: var(--accent-ink); }

/* Forms (generic, same look as the booking modal inputs). */
.form { display: flex; flex-direction: column; gap: 14px; max-width: 520px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field__label { font-size: 14px; font-weight: 600; color: var(--ink); }
.field__hint { font-size: 13px; color: var(--muted-2); }
.input, .select, .textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--border-2);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: inherit;
  font-size: 16px;
}
.input::placeholder, .textarea::placeholder { color: var(--muted-2); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(255,90,54,0.25); }
.textarea { resize: vertical; min-height: 96px; }
.field--error .input, .field--error .select, .field--error .textarea, .input[aria-invalid="true"] { border-color: #b3301a; }
.form-error { color: #b3301a; font-size: 14px; line-height: 1.45; }
.form-success { border-left: 3px solid var(--accent); background: var(--bg-alt); padding: 14px 18px; font-size: 15px; }

/* Tabs (role="tablist" > button[aria-selected]) */
.tabs { display: flex; flex-wrap: wrap; gap: 2px; background: var(--bg-alt); padding: 3px; width: max-content; max-width: 100%; }
.tabs button, .tabs a {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .03em;
  padding: 8px 14px;
  border: 0;
  background: transparent;
  color: var(--muted-2);
  cursor: pointer;
}
.tabs [aria-selected="true"], .tabs .active { background: var(--ink); color: var(--on-dark); }

/* Accordion (details-based, generic version of .faq) */
.accordion details { border-top: 1px solid var(--border); }
.accordion details:last-child { border-bottom: 1px solid var(--border); }
.accordion summary { list-style: none; cursor: pointer; padding: 18px 0; font-weight: 600; font-size: 16.5px; display: flex; justify-content: space-between; gap: 16px; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: '+'; font-family: var(--mono); color: var(--accent-ink); font-size: 20px; line-height: 1; flex: none; transition: transform .2s; }
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion__body { padding: 0 0 20px; }

/* Small helpers */
.pill { display: inline-block; font-family: var(--mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; padding: 3px 9px; background: var(--bg-alt); color: var(--text-2); }
.pill--accent { background: var(--accent); color: var(--ink); }
.muted { color: var(--muted-2); }
.stack > * + * { margin-top: 16px; }

@media (max-width: 860px) {
  .doc { grid-template-columns: 1fr; gap: 24px; }
  .toc { position: static; border: 1px solid var(--border); padding: 16px; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .page-hero { padding: 40px 0 28px; }
  .page-hero .lead { font-size: 16px; }
  .prose { font-size: 16px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .cells--4 { --cols: 2; }
  .features { --cols: 2; }
  .pricing { grid-template-columns: 1fr 1fr; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .corp, .fit, .team, .promos { grid-template-columns: 1fr; }
  .fit { gap: 28px; }
  .corp { gap: 36px; }
  .cards { --cols: 1; }
  .cells { --cols: 2; }
  .stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  :root { --gutter: 16px; }
  .section { padding: 56px 0; }
  .section--tight { padding: 48px 0; }
  .hero { padding: 48px 0 32px; }
  .hero__sub { font-size: 17px; }
  .hero__price-amount { font-size: 24px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .path { grid-template-columns: 1fr; gap: 12px; margin-top: 32px; }
  .path__card { padding: 22px 20px 20px; }
  .cells, .cells--4, .features, .pricing { --cols: 1; grid-template-columns: 1fr; }
  .cells > * { padding: 22px 20px; }
  .session { grid-template-columns: 1fr; gap: 6px; padding: 24px 0; }
  .session__title { font-size: 19px; }
  .stats__n { font-size: 26px; }
  .stats__item { padding: 18px 16px; }
  .logos { gap: 24px 32px; }
  .logos img { height: 22px; max-width: 96px; }
  .person__photo { width: 84px; height: 84px; }
  .price-card { padding: 28px 20px; }
  .promo { padding: 28px 20px; }
  .btn { white-space: normal; }
  .cta-band { padding: 56px 0; }
  .cta-band .btn { width: 100%; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 24px; }
  .lead, .corp__lead { font-size: 16px; }
  .evw-next { grid-template-columns: 1fr; gap: 20px; padding: 20px; }
  .evw-next-main h3 { font-size: 22px; }
  .evw-cta-row { width: 100%; }
  .evw-cta-row .btn { width: 100%; }
}

.cta-band__link { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
.cta-band__link:hover, .cta-band__link:focus-visible { color: var(--accent); }

/* Выпадающее меню "Программы" в шапке */
.nav-dd { position: relative; }
.nav-dd__btn { background: none; border: 0; padding: 4px 0; font: inherit; font-size: 14.5px; font-weight: 500; color: var(--text-2); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.nav-dd__btn::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.nav-dd__btn:hover, .nav-dd:focus-within .nav-dd__btn, .nav-dd.open .nav-dd__btn { color: var(--ink); }
.nav-dd__menu { position: absolute; top: calc(100% + 10px); left: -16px; min-width: 280px; background: var(--bg); border: 1px solid var(--border); box-shadow: 0 12px 32px rgba(20,19,28,.12); padding: 8px; display: none; z-index: 60; }
.nav-dd__menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav-dd:hover .nav-dd__menu, .nav-dd:focus-within .nav-dd__menu, .nav-dd.open .nav-dd__menu { display: block; }
.site-nav__links .nav-dd__menu a { display: block; padding: 10px 12px; color: var(--ink); }
.site-nav__links .nav-dd__menu a:hover { background: var(--bg-alt, rgba(20,19,28,.04)); }
.nav-dd__menu b { display: block; font-size: 14.5px; font-weight: 600; }
.nav-dd__menu span { display: block; font-size: 13px; font-weight: 400; color: var(--text-2); margin-top: 2px; }

.curriculum__facts { margin-top: 18px; }
.curriculum__facts li { font-size: 16.5px; }

.nav-call { white-space: nowrap; }
@media (max-width: 960px) { .nav-call { display: none; } }
