/* Симпозиум — общая система */

:root {
  /* Графит */
  --ink-0: #0B0E10;
  --ink-1: #14181B;
  --ink-2: #2A3036;
  --ink-3: #4A555C;
  --ink-4: #6E7A82;
  --ink-5: #9AA5AC;

  /* Off-white / surfaces */
  --bg: #F4F6F7;
  --surface: #FFFFFF;
  --surface-2: #ECEFF1;
  --line: #DCE3E6;
  --line-soft: #E8ECEE;

  /* Бирюза (primary) */
  --teal: oklch(0.72 0.11 195);
  --teal-ink: oklch(0.45 0.10 200);
  --teal-soft: oklch(0.94 0.04 195);
  --teal-tint: oklch(0.97 0.02 195);

  /* Флажные акценты — приглушённые */
  --it-green: oklch(0.62 0.13 152);
  --it-red:   oklch(0.58 0.16 25);
  --ru-blue:  oklch(0.50 0.13 255);
  --ru-red:   oklch(0.55 0.16 25);

  /* Тёплый акцент */
  --cream: #F4EFE6;

  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 22px;

  --font-sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'IBM Plex Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink-1);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  overflow-x: hidden;
}

/* типографика */
.h-display {
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.95;
}

.mono { font-family: var(--font-mono); font-feature-settings: 'tnum' 1; }
.cap  { text-transform: uppercase; letter-spacing: 0.14em; font-size: 11px; font-weight: 600; }
.cap-mono { font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.12em; font-size: 11px; }

a { color: inherit; }

/* Утилиты */
.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 56px;
}
@media (max-width: 900px) { .container { padding: 0 24px; } }

.divider { height: 1px; background: var(--line); border: 0; }

/* кнопочные пилюли (только декоративные — формы регистрации нет) */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  background: var(--surface);
  color: var(--ink-2);
}
.pill .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--teal);
}
.pill.ru .dot { background: linear-gradient(180deg,#fff 0 33%, #1E5BD8 33% 66%, #D32027 66%); }
.pill.it .dot { background: linear-gradient(90deg,#1A8754 0 33%, #fff 33% 66%, #CE2B37 66%); }

/* Speaker placeholder — striped svg */
.placeholder {
  background:
    repeating-linear-gradient(45deg,
      var(--surface-2) 0 8px,
      transparent 8px 16px),
    var(--teal-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-4);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Параллакс-слой */
.plx {
  will-change: transform;
}

/* Скрыть скроллбар у горизонтальных бегунков */
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { scrollbar-width: none; }

/* Floating molecule blobs */
.molecule {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  pointer-events: none;
}

/* Sticky page chrome */
.chrome {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(244, 246, 247, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}

.flag-stripe {
  display: inline-flex;
  width: 14px; height: 10px;
  border-radius: 1.5px;
  overflow: hidden;
  vertical-align: middle;
  border: 1px solid rgba(0,0,0,0.06);
}
.flag-stripe.ru > * { flex: 1; }
.flag-stripe.it > * { flex: 1; }
.flag-stripe.ru .s1 { background: #fff; }
.flag-stripe.ru .s2 { background: #1E5BD8; }
.flag-stripe.ru .s3 { background: #D32027; }
.flag-stripe.it .s1 { background: #1A8754; }
.flag-stripe.it .s2 { background: #fff; }
.flag-stripe.it .s3 { background: #CE2B37; }
.flag-stripe.ru { flex-direction: column; }
.flag-stripe.it { flex-direction: row; }
