/* =====================================================
   Vibers - лендинг
   Двухслойная палитра: тёмный hero + светлое тело,
   один акцентный коралл, зрелая типографика.
   ===================================================== */

:root {
  /* Палитра */
  --bg-dark: #0E1015;
  --bg-deep: #07080B;
  --bg-light: #FAF8F4;
  --bg-soft: #F2EFE8;
  --bg-card: #FFFFFF;

  --text-on-dark: #F2EFE8;
  --text-on-dark-muted: #9FA1A8;
  --text-primary: #16181D;
  --text-muted: #6B6E78;
  --text-subtle: #9094A0;

  --border: #E5E2DA;
  --border-strong: #2A2D34;

  --accent: #E94823;
  --accent-soft: #FFE8DF;
  --accent-deep: #B83617;

  /* Размеры */
  --container: 1140px;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;

  /* Тени */
  --shadow-sm: 0 1px 2px rgba(15, 16, 21, 0.04), 0 1px 1px rgba(15, 16, 21, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 16, 21, 0.06), 0 2px 6px rgba(15, 16, 21, 0.04);
  --shadow-lg: 0 24px 60px rgba(15, 16, 21, 0.10), 0 8px 16px rgba(15, 16, 21, 0.05);

  /* Шрифт */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-light);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

/* ========== Контейнер ========== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 768px) {
  .container { padding: 0 40px; }
}

/* ========== Заголовки ========== */
h1, h2, h3, h4 {
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0;
}

h1 { font-size: clamp(36px, 6vw, 72px); }
h2 { font-size: clamp(28px, 4vw, 44px); }
h3 { font-size: clamp(20px, 2.6vw, 26px); }

p { margin: 0 0 1em; }

strong { font-weight: 600; color: var(--text-primary); }

/* ========== Кнопки ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  border: 1.5px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.06s ease;
  white-space: nowrap;
  text-decoration: none;
}

.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn--primary:hover {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
}

.btn--ghost {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border);
}
.btn--ghost:hover {
  border-color: var(--text-primary);
  background: rgba(0,0,0,0.02);
}

.hero .btn--ghost {
  color: var(--text-on-dark);
  border-color: rgba(242, 239, 232, 0.3);
}
.hero .btn--ghost:hover {
  border-color: rgba(242, 239, 232, 0.7);
  background: rgba(242, 239, 232, 0.06);
}

.btn--lg {
  padding: 16px 28px;
  font-size: 16px;
}

.btn--block {
  width: 100%;
}

/* ========== Навигация ========== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(14, 16, 21, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid rgba(242, 239, 232, 0.08);
  color: var(--text-on-dark);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 24px;
}

.nav__brand {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.nav__brand-name { color: var(--text-on-dark); }
.nav__brand-divider { color: rgba(242, 239, 232, 0.3); }
.nav__brand-parent {
  color: var(--text-on-dark-muted);
  font-weight: 500;
  font-size: 14px;
}

.nav__links {
  display: none;
  gap: 28px;
  font-size: 15px;
}

.nav__links a {
  color: var(--text-on-dark-muted);
  transition: color 0.18s ease;
}
.nav__links a:hover { color: var(--text-on-dark); }

.nav__cta {
  padding: 9px 16px;
  font-size: 14px;
}

@media (min-width: 900px) {
  .nav__links { display: flex; }
}

/* ========== Hero ========== */
.hero {
  position: relative;
  background: var(--bg-dark);
  color: var(--text-on-dark);
  padding: 96px 0 120px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 720px;
  height: 720px;
  background: radial-gradient(circle, rgba(233, 72, 35, 0.18) 0%, rgba(233, 72, 35, 0) 60%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -50%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(120, 130, 200, 0.10) 0%, rgba(120, 130, 200, 0) 60%);
  pointer-events: none;
}

.hero__inner { position: relative; z-index: 1; }

.hero__eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-on-dark-muted);
  margin: 0 0 24px;
}

.hero__title {
  font-size: clamp(40px, 6.4vw, 80px);
  font-weight: 800;
  letter-spacing: -0.035em;
  margin: 0 0 24px;
  max-width: 14ch;
}

.hero__title-accent {
  color: var(--accent);
}

.hero__lead {
  font-size: clamp(17px, 1.6vw, 21px);
  color: var(--text-on-dark-muted);
  max-width: 60ch;
  margin: 0 0 40px;
  line-height: 1.55;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 56px;
  padding: 24px 0;
  margin: 0 0 40px;
  border-top: 1px solid rgba(242, 239, 232, 0.12);
  border-bottom: 1px solid rgba(242, 239, 232, 0.12);
}

.hero__meta-item { display: flex; flex-direction: column; gap: 4px; }
.hero__meta-label {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-on-dark-muted);
}
.hero__meta-value { font-size: 16px; font-weight: 500; }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ========== Секции ========== */
.section { padding: 88px 0; }
.section--soft { background: var(--bg-soft); }
.section--modules { padding: 88px 0; }
.section--pricing { padding: 88px 0 100px; }
.section--signup { padding: 88px 0 120px; }

.section__eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 20px;
}

.section__title {
  font-size: clamp(28px, 3.6vw, 40px);
  letter-spacing: -0.025em;
  max-width: 18ch;
  margin: 0 0 32px;
}

.section__title--full { max-width: 24ch; }

.section__lead {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 60ch;
  margin: -12px 0 48px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 900px) {
  .grid-2 {
    grid-template-columns: 1fr 1.4fr;
    gap: 80px;
  }
}

.prose p { color: var(--text-muted); margin: 0 0 1em; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--text-primary); }

.bullets {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.bullets li {
  position: relative;
  padding-left: 24px;
  color: var(--text-muted);
}
.bullets li::before {
  content: '';
  position: absolute;
  top: 0.8em;
  left: 0;
  width: 12px;
  height: 1px;
  background: var(--accent);
}

/* ========== Outcomes ========== */
.outcomes {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 700px) { .outcomes { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (min-width: 1000px) { .outcomes { grid-template-columns: repeat(3, 1fr); } }

.outcomes__item {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.outcomes__item:hover {
  border-color: var(--text-subtle);
  transform: translateY(-2px);
}
.outcomes__num {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.04em;
}
.outcomes__item p { margin: 0; color: var(--text-muted); }

/* ========== Modules ========== */
.modules {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.module {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.module:hover {
  border-color: var(--text-subtle);
  box-shadow: var(--shadow-md);
}

.module__head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: start;
  margin: 0 0 24px;
}

.module__num {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.04em;
  padding: 8px 12px;
  background: var(--accent-soft);
  border-radius: 999px;
  align-self: start;
  white-space: nowrap;
}

.module__meta { display: flex; flex-direction: column; gap: 8px; }

.module__date {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.module__title {
  font-size: clamp(22px, 2.4vw, 28px);
  letter-spacing: -0.02em;
}

.module__body { color: var(--text-muted); }
.module__body p { margin: 0 0 16px; }
.module__body p:last-child { margin-bottom: 0; }

.module__result {
  margin-top: 8px !important;
  padding: 16px 20px;
  background: var(--bg-soft);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text-primary);
}

.module--demo {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  border-color: var(--bg-dark);
}
.module--demo .module__date { color: var(--text-on-dark-muted); }
.module--demo .module__num {
  background: rgba(233, 72, 35, 0.18);
  color: var(--accent);
}
.module--demo .module__body { color: var(--text-on-dark-muted); }
.module--demo strong { color: var(--text-on-dark); }
.module--demo .module__result {
  background: rgba(242, 239, 232, 0.06);
  color: var(--text-on-dark);
}

/* ========== Tech accordion внутри модуля ========== */
.tech {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px dashed var(--border);
}
.tech summary {
  cursor: pointer;
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  user-select: none;
  padding: 6px 0;
}
.tech summary::-webkit-details-marker { display: none; }
.tech summary::before {
  content: '+';
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 1px solid currentColor;
  border-radius: 50%;
  text-align: center;
  line-height: 16px;
  font-size: 14px;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.tech[open] summary::before {
  content: '−';
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.tech summary:hover { color: var(--text-primary); }

.module--demo .tech summary { color: var(--text-on-dark-muted); }
.module--demo .tech { border-top-color: rgba(242, 239, 232, 0.12); }

.tech ul {
  margin: 16px 0 0;
  padding: 0 0 0 18px;
  color: var(--text-muted);
}
.tech li { margin: 0 0 8px; }
.tech li:last-child { margin-bottom: 0; }
.module--demo .tech ul { color: var(--text-on-dark-muted); }

/* ========== Принципы ========== */
.principles {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 700px) { .principles { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .principles { grid-template-columns: repeat(3, 1fr); } }

.principle {
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.principle h3 {
  font-size: 18px;
  margin: 0 0 12px;
  color: var(--text-primary);
}
.principle p { color: var(--text-muted); margin: 0; font-size: 15px; }

/* ========== Pricing ========== */
.pricing {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: stretch;
}
@media (min-width: 850px) { .pricing { grid-template-columns: repeat(3, 1fr); } }

.tier {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.tier:hover { border-color: var(--text-subtle); transform: translateY(-2px); }

.tier--featured {
  border-color: var(--accent);
  border-width: 2px;
  box-shadow: var(--shadow-lg);
}
@media (min-width: 850px) {
  .tier--featured { transform: translateY(-12px); }
  .tier--featured:hover { transform: translateY(-14px); }
}

.tier__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 14px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 999px;
}

.tier__head { margin: 0 0 24px; }
.tier__name {
  font-size: 22px;
  margin: 0 0 8px;
}
.tier__desc {
  margin: 0;
  color: var(--text-muted);
  font-size: 15px;
}

.tier__price {
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 0 0 24px;
}
.tier__price-amount {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.tier__features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
}
.tier__features li {
  position: relative;
  padding-left: 26px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.5;
}
.tier__features li::before {
  content: '';
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

.pricing__note {
  margin: 32px 0 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 15px;
}

/* ========== Потоки ========== */
.streams {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 850px) { .streams { grid-template-columns: repeat(3, 1fr); } }

.stream {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.stream:hover {
  border-color: var(--text-subtle);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.stream__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.stream__num {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.stream__seats {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  padding: 5px 11px;
  background: var(--accent-soft);
  border-radius: 999px;
  white-space: nowrap;
}

.stream__period {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin: 0;
}

.stream__dates {
  list-style: none;
  padding: 16px 0 0;
  margin: 0;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stream__dates li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text-primary);
}

.stream__date-label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-subtle);
}

.stream__cta { margin-top: auto; }

/* ========== Callout (гарантия) ========== */
.callout {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  padding: 56px 48px;
  border-radius: var(--radius-lg);
  text-align: left;
  position: relative;
  overflow: hidden;
}
.callout::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(233, 72, 35, 0.16) 0%, rgba(233, 72, 35, 0) 60%);
}
.callout > * { position: relative; }
.callout__eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 16px;
}
.callout__title {
  font-size: clamp(24px, 3.2vw, 36px);
  max-width: 28ch;
  margin: 0 0 16px;
}
.callout__text {
  color: var(--text-on-dark-muted);
  margin: 0;
  max-width: 56ch;
  font-size: 17px;
}

/* ========== FAQ ========== */
.faq {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
}
.faq__item {
  border-bottom: 1px solid var(--border);
}
.faq__item summary {
  cursor: pointer;
  list-style: none;
  padding: 24px 40px 24px 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  position: relative;
  user-select: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  font-weight: 400;
  color: var(--text-subtle);
  transition: transform 0.18s ease, color 0.18s ease;
}
.faq__item[open] summary::after {
  content: '−';
  color: var(--accent);
}
.faq__item summary:hover { color: var(--accent); }
.faq__body {
  padding: 0 0 24px;
  color: var(--text-muted);
  max-width: 70ch;
}
.faq__body p { margin: 0; }

/* ========== Стек-аккордеон ========== */
.stack-accordion {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
}
.stack-accordion summary {
  cursor: pointer;
  list-style: none;
  padding: 28px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.stack-accordion summary::-webkit-details-marker { display: none; }
.stack-accordion__title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.stack-accordion__hint {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted);
}
.stack-accordion__body {
  padding: 0 32px 32px;
  border-top: 1px solid var(--border);
  margin-top: -1px;
}
.stack-accordion[open] .stack-accordion__hint::before {
  content: '- ';
}

.stack-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0 0;
  font-size: 15px;
}
.stack-table th, .stack-table td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.stack-table th {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 500;
}
.stack-table td:first-child { color: var(--text-primary); font-weight: 500; }
.stack-table td:nth-child(2) { font-family: var(--font-mono); font-size: 14px; }
.stack-table td:last-child { color: var(--text-muted); }

/* ========== Signup ========== */
.signup {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  max-width: 760px;
  margin: 0 auto;
}
.signup__eyebrow { color: var(--accent); margin: 0 0 12px; }
.signup__title {
  font-size: clamp(28px, 3.6vw, 40px);
  margin: 0 0 16px;
}
.signup__lead {
  color: var(--text-muted);
  margin: 0 0 32px;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 600px) {
  .form__row { grid-template-columns: 1fr 1fr; }
}

.form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form__label {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 500;
}
.form input,
.form select,
.form textarea {
  font: inherit;
  font-size: 16px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-light);
  color: var(--text-primary);
  transition: border-color 0.18s ease, background 0.18s ease;
}
.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
}
.form textarea { resize: vertical; min-height: 84px; }
.form button[type="submit"] { margin-top: 12px; }

.signup__alt {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 28px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--border);
  font-size: 15px;
}
.signup__alt-link {
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
  transition: color 0.18s ease, border-color 0.18s ease;
}
.signup__alt-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* ========== Спикер ========== */
.speaker-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
}
@media (min-width: 700px) {
  .speaker-card {
    grid-template-columns: auto 1fr;
    gap: 40px;
    padding: 48px;
  }
}

.speaker-avatar {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--bg-soft);
  display: block;
}

.speaker-info { min-width: 0; }
.speaker-name {
  font-size: clamp(24px, 2.8vw, 32px);
  letter-spacing: -0.025em;
  margin: 0 0 6px;
}
.speaker-role {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--accent);
  margin: 0 0 24px;
  text-transform: uppercase;
}

.speaker-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.speaker-list li {
  position: relative;
  padding-left: 22px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-primary);
}
.speaker-list li::before {
  content: '';
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 12px;
  height: 1px;
  background: var(--accent);
}
.speaker-list a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--text-subtle);
  transition: text-decoration-color 0.18s ease;
}
.speaker-list a:hover { text-decoration-color: var(--accent); }

/* ========== AI Community: маркизы фото + 3 карточки ========== */
.aic-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}
@media (min-width: 1000px) {
  .aic-split {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 40px;
  }
}

.aic-photos {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.photo-marquee-outer {
  width: 100%;
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
}
.photo-marquee-track {
  display: flex;
  gap: 12px;
  padding: 12px;
  width: max-content;
  animation: photo-scroll 40s linear infinite;
}
.photo-marquee-track--rev {
  animation: photo-scroll-rev 45s linear infinite;
}
.photo-marquee-track img {
  width: 220px;
  height: 150px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  flex-shrink: 0;
  display: block;
}
@media (min-width: 700px) {
  .photo-marquee-track img { width: 260px; height: 180px; }
}

@keyframes photo-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes photo-scroll-rev {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

.aic-cards {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.comm-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.comm-card:hover {
  border-color: var(--text-subtle);
  transform: translateY(-2px);
}
.comm-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  line-height: 1;
  margin: 0 0 6px;
  box-shadow: 0 4px 12px rgba(15, 16, 21, 0.08);
}

/* Градиентные плашки иконок (canonical theme palette) */
.grad-1 { background: linear-gradient(135deg, #fdba74, #fb7185); }
.grad-2 { background: linear-gradient(135deg, #a78bfa, #60a5fa); }
.grad-3 { background: linear-gradient(135deg, #34d399, #22d3ee); }
.grad-4 { background: linear-gradient(135deg, #fde047, #fb923c); }

/* Ссылка под партнёрами на презентацию */
.partners__link {
  text-align: center;
  margin: 12px 0 0;
  font-size: 15px;
}
.partners__link a {
  color: var(--text-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--text-subtle);
  transition: color 0.18s ease, text-decoration-color 0.18s ease;
}
.partners__link a:hover {
  color: var(--accent);
  text-decoration-color: var(--accent);
}
.comm-card h4 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0;
}
.comm-card p {
  margin: 0;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ========== Партнёры (логотип-стена) ========== */
.partners {
  margin-top: 40px;
  text-align: center;
}
.partners__image {
  max-width: 100%;
  width: 760px;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  display: inline-block;
}

/* Уважаем prefers-reduced-motion: останавливаем маркизу */
@media (prefers-reduced-motion: reduce) {
  .photo-marquee-track,
  .photo-marquee-track--rev {
    animation: none;
  }
}

/* ========== Корпоративный блок ========== */
.section--corporate { padding: 24px 0 120px; }
.corporate {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  padding: 72px 40px;
  border-radius: var(--radius-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
}
@media (min-width: 700px) {
  .corporate { padding: 88px 64px; }
}
.corporate::before {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(233, 72, 35, 0.18) 0%, rgba(233, 72, 35, 0) 60%);
  pointer-events: none;
}
.corporate::after {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(120, 130, 200, 0.10) 0%, rgba(120, 130, 200, 0) 60%);
  pointer-events: none;
}
.corporate > * { position: relative; z-index: 1; }
.corporate__eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 16px;
}
.corporate__title {
  font-size: clamp(28px, 3.6vw, 44px);
  letter-spacing: -0.025em;
  margin: 0 auto 20px;
  max-width: 22ch;
}
.corporate__text {
  color: var(--text-on-dark-muted);
  font-size: 17px;
  max-width: 64ch;
  margin: 0 auto 36px;
  line-height: 1.6;
}
.corporate__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.corporate .btn--ghost {
  color: var(--text-on-dark);
  border-color: rgba(242, 239, 232, 0.3);
}
.corporate .btn--ghost:hover {
  border-color: rgba(242, 239, 232, 0.7);
  background: rgba(242, 239, 232, 0.06);
  color: var(--text-on-dark);
}

/* ========== Footer ========== */
.footer {
  background: var(--bg-deep);
  color: var(--text-on-dark-muted);
  padding: 56px 0 40px;
  font-size: 14px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 800px) {
  .footer__inner {
    grid-template-columns: 1fr 1fr 1fr;
    align-items: start;
  }
}

.footer__brand-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-on-dark);
  margin: 0 0 4px;
  letter-spacing: -0.02em;
}
.footer__brand-parent { margin: 0; }

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
}
.footer__links a {
  color: var(--text-on-dark-muted);
  transition: color 0.18s ease;
}
.footer__links a:hover { color: var(--text-on-dark); }

.footer__meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}
@media (min-width: 800px) { .footer__meta { text-align: right; } }
.footer__meta p { margin: 0; }

/* ========== Утилиты ========== */
::selection {
  background: var(--accent);
  color: #fff;
}
