/* ==========================================================
   Claude Code on Practice — webinar landing
   Aesthetic: warm paper light theme + terminal accents
   Fonts: Instrument Serif (display italic) · JetBrains Mono · Manrope
   ========================================================== */

:root {
  /* paper / light surface */
  --bg: #faf7f2;
  --bg-soft: #f3eee2;
  --bg-paper: #efe9d9;
  --bg-card: #ffffff;

  /* ink */
  --text: #14130f;
  --text-muted: #5e5a4f;
  --text-dim: #8c8775;

  /* accent — Claude clay/orange */
  --accent: #cc6b3a;
  --accent-deep: #a64f24;
  --accent-soft: #f5d3bc;

  /* code/terminal */
  --code-bg: #1a1916;
  --code-text: #f0eadf;
  --code-green: #8ec07c;
  --code-yellow: #d8a657;
  --code-red: #ea6962;
  --code-dim: #7c6f64;
  --code-cursor: #f0eadf;

  /* lines */
  --line: #ddd4be;
  --line-strong: #1a1916;

  /* radius / shadows */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
  --shadow-sm: 0 2px 0 rgba(20,19,15,0.08);
  --shadow-md: 0 8px 30px -8px rgba(20,19,15,0.18);
  --shadow-card: 0 1px 0 rgba(20,19,15,0.06), 0 18px 40px -22px rgba(20,19,15,0.20);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-image:
    radial-gradient(circle at 20% 0%, rgba(204,107,58,0.06), transparent 50%),
    radial-gradient(circle at 90% 30%, rgba(20,19,15,0.04), transparent 40%);
  overflow-x: hidden;
}

/* paper grain (subtle SVG noise) */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .35;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.07  0 0 0 0 0.07  0 0 0 0 0.05  0 0 0 0.05 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  mix-blend-mode: multiply;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.mono { font-family: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace; font-feature-settings: "ss02", "ss05"; }

.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 24px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ==========================================================
   TYPOGRAPHY HELPERS
   ========================================================== */
em {
  font-family: "Instrument Serif", "Times New Roman", serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.005em;
}

.kicker {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-transform: lowercase;
  border: 1px solid var(--line);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 22px;
  background: rgba(255,255,255,0.4);
}

.section-title {
  font-family: "Manrope", system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0 0 28px;
  color: var(--text);
}
.section-title em {
  font-size: 1.05em;
  letter-spacing: -0.015em;
}
.section-title--big {
  font-size: clamp(36px, 6vw, 80px);
}
.section-title--center { text-align: center; }

/* ==========================================================
   TOPBAR
   ========================================================== */
.topbar {
  position: relative;
  z-index: 5;
  border-bottom: 1px solid var(--line);
  background: rgba(250,247,242,0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  font-size: 13px;
}
.topbar__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: inherit;
  transition: opacity .15s ease;
}
.topbar__brand:hover { opacity: 0.7; }
.topbar__logo-img {
  width: 28px; height: 28px;
  border-radius: 7px;
  object-fit: cover;
  display: block;
  background: #fff;
  border: 1px solid var(--line);
}
.topbar__logo { font-size: 14px; }
.topbar__sep { color: var(--text-dim); font-weight: 400; }
.topbar__page { color: var(--text-muted); font-weight: 400; font-size: 12.5px; }
.topbar__status { display: flex; align-items: center; gap: 8px; color: var(--text-muted); font-size: 12.5px; }
.status-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(204,107,58,0.15);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(204,107,58,0.15); }
  50%      { box-shadow: 0 0 0 7px rgba(204,107,58,0.05); }
}

/* ==========================================================
   BUTTONS
   ========================================================== */
.btn {
  --btn-bg: var(--text);
  --btn-fg: var(--bg);
  --btn-border: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  font-family: "Manrope", system-ui, sans-serif;
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  letter-spacing: -0.005em;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1.5px solid var(--btn-border);
  border-radius: 999px;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  text-align: center;
  white-space: nowrap;
  user-select: none;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 20px -6px rgba(20,19,15,0.35); }
.btn:active { transform: translateY(0); }

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

.btn--outline {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  --btn-border: var(--text);
}
.btn--outline:hover { --btn-bg: var(--text); --btn-fg: var(--bg); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  --btn-border: var(--line);
}
.btn--ghost:hover { --btn-bg: var(--bg-paper); --btn-border: var(--text); }

.btn--lg { padding: 18px 28px; font-size: 16px; }
.btn--block { width: 100%; }

.btn__arrow {
  display: inline-block;
  transition: transform .18s ease;
  font-weight: 500;
}
.btn:hover .btn__arrow { transform: translateX(4px); }

/* ==========================================================
   HERO
   ========================================================== */
.hero {
  position: relative;
  padding: 70px 0 100px;
  overflow: hidden;
}
.hero::before {
  /* big italic mark behind content */
  content: "";
  position: absolute;
  top: 50%; left: -8%;
  width: 60%; height: 200%;
  background: radial-gradient(circle, rgba(204,107,58,0.10), transparent 60%);
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 0;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* container-type — чтобы h1 мерился по своей колонке, а не по вьюпорту:
   на 7.5vw «CLAUDE CODE» перерастал колонку и заезжал на терминал */
.hero__content { min-width: 0; container-type: inline-size; }
.hero__date {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.hero__date-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--text);
  color: var(--bg);
  padding: 10px 8px 10px 18px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: -0.005em;
  box-shadow: 0 8px 24px -10px rgba(20,19,15,0.35);
}
.hero__date-day {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.78);
}
.hero__date-time {
  font-family: "JetBrains Mono", monospace;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0;
  background: var(--accent);
  color: #fff;
  padding: 6px 14px;
  border-radius: 999px;
  line-height: 1;
}
.hero__date-tag {
  font-size: 12.5px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.hero__title {
  font-family: "Manrope", system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(46px, 7.5vw, 100px);
  line-height: 0.94;
  letter-spacing: -0.04em;
  margin: 0 0 26px;
  display: flex;
  flex-direction: column;
}
/* Пока герой в две колонки, размер h1 считается от ширины своей колонки
   (cqw), а не от вьюпорта: на 7.5vw «CLAUDE CODE» перерастал колонку
   и заезжал на терминал. Ниже 1025px колонка одна — работает базовый vw. */
@media (min-width: 1025px) {
  .hero__title { font-size: clamp(46px, 14.4cqw, 100px); }
}
.hero__line { display: block; }
.hero__line--italic {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1.04em;
  letter-spacing: -0.02em;
  color: var(--accent);
}
.hero__line--italic em {
  font-size: 1em;
  color: var(--accent-deep);
}
.hero__line--small {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-weight: 400;
  font-size: 0.42em;
  color: var(--text-muted);
  letter-spacing: -0.01em;
  margin-top: 4px;
}

.hero__sub {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0 0 26px;
  max-width: 540px;
}
.hero__sub strong { color: var(--text); font-weight: 700; }

.hero__bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hero__bullets li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.6);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  font-size: 15.5px;
  font-weight: 500;
}
.bullet-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  background: var(--text);
  color: var(--bg);
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 700;
}

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

/* HERO TERMINAL */
.hero__visual {
  position: relative;
  min-width: 0;
}
.terminal {
  background: var(--code-bg);
  border-radius: var(--r-lg);
  box-shadow: 0 30px 80px -30px rgba(20,19,15,0.45), 0 1px 0 rgba(255,255,255,0.04) inset;
  overflow: hidden;
  transform: rotate(-1deg);
  transition: transform .35s ease;
}
.terminal:hover { transform: rotate(0); }
.terminal__bar {
  background: #2a2722;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot--red { background: var(--code-red); }
.dot--yellow { background: var(--code-yellow); }
.dot--green { background: var(--code-green); }
.terminal__title {
  margin-left: auto;
  margin-right: 8px;
  color: var(--code-dim);
  font-size: 11.5px;
}
.terminal__body {
  padding: 22px 22px 26px;
  color: var(--code-text);
  font-size: 13.5px;
  line-height: 1.65;
}
.terminal__body p { margin: 0; }
.t-prompt { color: var(--code-green); font-weight: 700; }
.t-at { color: var(--code-dim); }
.t-host { color: var(--code-yellow); font-weight: 600; }
.t-path { color: #7da7d8; margin-left: 4px; }
.t-arrow { color: var(--code-dim); margin-left: 4px; }
.t-typed { color: var(--code-text); }
.t-cursor {
  display: inline-block;
  background: var(--code-cursor);
  color: var(--code-bg);
  margin-left: 1px;
  animation: blink 1.05s steps(2) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.t-out { color: var(--code-text); }
.t-dim { color: var(--code-dim); }
.t-ok { color: var(--code-green); font-weight: 700; }
.t-running { color: var(--code-yellow); }
.spinner { display: inline-block; animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* sticker over terminal */
.hero__sticker {
  position: absolute;
  right: -10px;
  bottom: -34px;
  z-index: 2;
}
.sticker {
  background: var(--accent);
  color: #fff;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transform: rotate(8deg);
  box-shadow: 0 18px 40px -16px rgba(204,107,58,0.6);
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: rotate(8deg) translateY(0); }
  50%      { transform: rotate(6deg) translateY(-6px); }
}
.sticker__num { font-family: "Instrument Serif", serif; font-style: italic; font-size: 56px; line-height: 0.9; }
.sticker__label { font-size: 10.5px; line-height: 1.25; margin-top: 4px; letter-spacing: 0.02em; }

/* ==========================================================
   TICKER
   ========================================================== */
.ticker {
  background: var(--text);
  color: var(--bg);
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  overflow: hidden;
  padding: 14px 0;
  position: relative;
  z-index: 1;
}
.ticker__track {
  display: flex;
  gap: 36px;
  white-space: nowrap;
  width: max-content;
  animation: tick 30s linear infinite;
}
.ticker__item {
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--bg);
}
@keyframes tick {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ==========================================================
   STORY
   ========================================================== */
.story {
  padding: 100px 0;
  border-bottom: 1px solid var(--line);
}
.story__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 70px;
  align-items: center;
}
.story__text p {
  font-size: 18px;
  color: var(--text);
  margin: 0 0 18px;
  max-width: 600px;
}
.story__text strong { font-weight: 700; }
.story__text p:last-of-type { margin-bottom: 28px; }

.story__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.story-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px 22px;
  text-align: left;
  box-shadow: var(--shadow-card);
  transition: transform .25s ease, box-shadow .25s ease;
}
.story-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -22px rgba(20,19,15,0.28); }
.story-card__num {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-size: 64px;
  line-height: 0.95;
  color: var(--text);
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}
.story-card__label {
  font-family: "JetBrains Mono", monospace;
  font-size: 11.5px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: lowercase;
  line-height: 1.5;
}
.story-card--accent {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.story-card--accent .story-card__num,
.story-card--accent .story-card__label { color: #fff; }

.story-card--dark {
  background: var(--text);
  border-color: var(--text);
  color: var(--bg);
}
.story-card--dark .story-card__num { color: var(--bg); }
.story-card--dark .story-card__label { color: rgba(255,255,255,0.7); }

/* ==========================================================
   PROGRAM
   ========================================================== */
.program {
  padding: 110px 0;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.program::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(20,19,15,0.04) 1px, transparent 1px);
  background-size: 80px 100%;
  pointer-events: none;
}
.program > .container { position: relative; z-index: 1; }
.program__lead {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 0 60px;
}
.program__items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.program__item {
  display: flex;
  gap: 22px;
  padding: 30px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  transition: transform .25s ease, box-shadow .25s ease;
  position: relative;
}
.program__item:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 60px -28px rgba(20,19,15,0.30);
}
.program__num {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.04em;
  flex-shrink: 0;
  border-right: 1px solid var(--line);
  padding-right: 22px;
  min-width: 32px;
}
.program__head {
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: 21px;
  line-height: 1.25;
  margin: 0 0 10px;
  color: var(--text);
  letter-spacing: -0.01em;
}
.program__body p {
  margin: 0;
  font-size: 15.5px;
  color: var(--text-muted);
  line-height: 1.55;
}
.program__item--special {
  background: var(--text);
  border-color: var(--text);
  color: var(--bg);
}
.program__item--special .program__num { color: var(--accent); border-right-color: rgba(255,255,255,0.15); }
.program__item--special .program__head { color: var(--bg); }
.program__item--special .program__body p { color: rgba(255,255,255,0.75); }
.program__badge {
  display: inline-block;
  margin-top: 14px;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.08em;
}
.program__cta {
  margin-top: 50px;
  text-align: center;
}

/* ==========================================================
   GIFTS
   ========================================================== */
.gifts {
  padding: 110px 0;
  border-bottom: 1px solid var(--line);
}
.gifts__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 50px;
}
.gifts__grid--3 {
  grid-template-columns: repeat(3, 1fr);
}
.gift-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform .25s ease, box-shadow .25s ease;
  box-shadow: var(--shadow-card);
}
.gift-card:hover { transform: translateY(-4px) rotate(-0.5deg); }
.gift-card__icon {
  display: inline-block;
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.05em;
}
.gift-card__title {
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.25;
  color: var(--text);
  letter-spacing: -0.01em;
}
.gift-card__desc {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.55;
}
.gift-card--accent {
  background: var(--text);
  border-color: var(--text);
  color: var(--bg);
}
.gift-card--accent .gift-card__icon { color: var(--accent-soft); }
.gift-card--accent .gift-card__title { color: var(--bg); }
.gift-card--accent .gift-card__desc { color: rgba(255,255,255,0.72); }

/* ==========================================================
   SPEAKER
   ========================================================== */
.speaker {
  padding: 110px 0;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.speaker__inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: center;
}
.speaker__photo-wrap { position: relative; }
.speaker__photo-frame {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--text);
  aspect-ratio: 4 / 5;
  box-shadow: 0 30px 80px -30px rgba(20,19,15,0.4);
  transform: rotate(-2deg);
  transition: transform .35s ease;
}
.speaker__photo-frame:hover { transform: rotate(0); }
.speaker__photo {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: contrast(1.05) saturate(0.95);
}
.speaker__caption {
  position: absolute;
  left: 18px; bottom: 18px;
  background: rgba(20,19,15,0.85);
  color: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 11.5px;
  letter-spacing: 0.05em;
  line-height: 1.4;
  backdrop-filter: blur(6px);
}
.speaker__caption-name {
  color: var(--accent-soft);
  font-weight: 700;
}
.speaker__signature {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.signature-line {
  flex: 1;
  height: 1px;
  background: var(--line-strong);
}
.signature-text {
  font-size: 11px;
  color: var(--text-muted);
}

.speaker__name {
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: clamp(48px, 6vw, 88px);
  line-height: 0.92;
  letter-spacing: -0.04em;
  margin: 0 0 24px;
}
.speaker__name em { color: var(--accent); }

.speaker__lead {
  font-size: 18px;
  color: var(--text-muted);
  margin: 0 0 26px;
  max-width: 540px;
}
.speaker__list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.speaker__list li {
  position: relative;
  padding-left: 26px;
  font-size: 15.5px;
  line-height: 1.5;
}
.speaker__list li::before {
  content: "→";
  position: absolute;
  left: 0; top: 1px;
  font-family: "JetBrains Mono", monospace;
  color: var(--accent);
  font-size: 13px;
}
.speaker__meta {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.speaker__meta-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 16px;
  font-size: 13.5px;
}
.speaker__meta-label {
  color: var(--text-dim);
  font-size: 11.5px;
  letter-spacing: 0.05em;
  padding-top: 2px;
}
.speaker__meta-val { color: var(--text); }

/* ==========================================================
   AUDIENCE
   ========================================================== */
.audience { padding: 110px 0; border-bottom: 1px solid var(--line); }
.audience__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 60px;
}
.audience__card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform .22s ease, border-color .22s ease;
}
.audience__card:hover { transform: translateY(-3px); border-color: var(--accent); }
.audience__icon {
  display: inline-block;
  width: fit-content;
  padding: 6px 12px;
  background: var(--bg-paper);
  border-radius: 8px;
  color: var(--accent-deep);
  font-size: 13px;
  letter-spacing: 0;
}
.audience__title {
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.005em;
  color: var(--text);
}
.audience__desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ==========================================================
   ABOUT (company)
   ========================================================== */
.about {
  padding: 110px 0;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
/* «Зерокодер — фундаментальное / образование в области ИИ» должно лечь
   ровно в две строки: на общем размере 80px первая строка шире контейнера. */
@media (min-width: 701px) {
  .about .section-title--big { font-size: clamp(32px, 5.2vw, 72px); }
}
.about__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 50px 0 36px;
}
.about__card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 36px 22px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.about__card--accent {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.about__card--accent .about__num { color: #fff; }
.about__card--accent .about__desc { color: rgba(255,255,255,0.85); }
.about__num {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-weight: 400;
  font-size: 56px;
  line-height: 0.95;
  letter-spacing: -0.025em;
  color: var(--text);
}
.about__num-unit {
  font-family: "JetBrains Mono", monospace;
  font-style: normal;
  font-weight: 500;
  font-size: 15px;
  margin-left: 4px;
  vertical-align: middle;
  letter-spacing: 0;
  color: var(--text-muted);
}
.about__card--accent .about__num-unit { color: rgba(255,255,255,0.7); }
.about__desc {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.5;
}
.about__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}
.badge {
  background: rgba(255,255,255,0.6);
  border: 1px solid var(--line);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  color: var(--text);
  letter-spacing: 0.02em;
  text-transform: lowercase;
}

/* ==========================================================
   TARIFF
   ========================================================== */
.tariff { padding: 110px 0; border-bottom: 1px solid var(--line); text-align: center; }
.tariff__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 50px;
  text-align: left;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}
.tariff__card {
  background: var(--bg-card);
  border: 1.5px solid var(--line);
  border-radius: var(--r-xl);
  padding: 38px 32px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  transition: transform .25s ease, border-color .25s ease;
}
.tariff__card:hover { transform: translateY(-4px); }
.tariff__head { display: flex; flex-direction: column; gap: 6px; }
.tariff__name {
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.005em;
  color: var(--text-muted);
  text-transform: lowercase;
}
.tariff__price {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-size: 84px;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--text);
}
.tariff__price-unit {
  font-family: "JetBrains Mono", monospace;
  font-style: normal;
  font-size: 18px;
  letter-spacing: 0;
  color: var(--text-muted);
  margin-left: 4px;
}
.tariff__old {
  font-size: 13px;
  color: var(--text-dim);
  text-decoration: line-through;
}
.tariff__features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.tariff__features li {
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--text);
  position: relative;
  padding-left: 32px;
}
.tariff__features strong { font-weight: 700; }
.check {
  position: absolute;
  left: 0;
  top: 1px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--bg-paper);
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
}
.tariff__card--featured {
  background: var(--text);
  border-color: var(--text);
  color: var(--bg);
}
.tariff__card--featured .tariff__name { color: var(--accent-soft); }
.tariff__card--featured .tariff__price { color: var(--bg); }
.tariff__card--featured .tariff__price-unit { color: rgba(255,255,255,0.65); }
.tariff__card--featured .tariff__features li { color: var(--bg); }
.tariff__card--featured .check { background: rgba(255,255,255,0.1); color: var(--accent); }
.tariff__card--featured .tariff__old { color: rgba(255,255,255,0.5); }
.tariff__link {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(204,107,58,0.4);
  text-underline-offset: 3px;
  transition: text-decoration-color .2s ease, color .2s ease;
}
.tariff__link:hover {
  color: #ffb892;
  text-decoration-color: var(--accent);
}
.tariff__badge {
  position: absolute;
  top: -14px; left: 32px;
  background: var(--accent);
  color: #fff;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.06em;
}

/* ==========================================================
   HERO BOTTOM
   ========================================================== */
.hero--bottom {
  padding: 100px 0;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.hero--bottom .hero__title { font-size: clamp(40px, 6vw, 80px); }
.bottom-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 32px;
  box-shadow: var(--shadow-card);
}
.bottom-card__head {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 18px;
  letter-spacing: 0.04em;
}
.bottom-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.bottom-card__list li {
  font-size: 15.5px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--bg-soft);
  border-radius: var(--r-md);
  border: 1px solid var(--line);
}
.bottom-card__list .mono {
  color: var(--accent);
  font-weight: 700;
}
.hero__visual--bottom { transform: none; }

/* ==========================================================
   PRESS / СМИ
   ========================================================== */
.press {
  padding: 110px 0;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.press__lead {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 50px;
}
.press__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  text-align: left;
}
.press-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px 24px;
  color: inherit;
  text-decoration: none;
  min-height: 180px;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
  position: relative;
}
.press-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 18px 40px -22px rgba(20,19,15,0.20);
}
.press-card__source {
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--accent);
  text-transform: uppercase;
}
.press-card__title {
  font-family: "Manrope", sans-serif;
  font-weight: 600;
  font-size: 16.5px;
  line-height: 1.35;
  color: var(--text);
  letter-spacing: -0.005em;
  flex: 1;
}
.press-card__meta {
  font-size: 11.5px;
  color: var(--text-dim);
  letter-spacing: 0.04em;
  margin-top: auto;
}
.press-card--featured {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}
.press-card--featured .press-card__source { color: var(--accent-soft); }
.press-card--featured .press-card__title { color: var(--bg); }
.press-card--featured .press-card__meta { color: rgba(255,255,255,0.55); }

.press__logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 36px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.press-logo {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-weight: 400;
  font-size: 28px;
  color: var(--text-muted);
  letter-spacing: -0.02em;
  transition: color .2s ease, transform .2s ease;
}
.press-logo:hover { color: var(--text); transform: translateY(-2px); }

/* ==========================================================
   FOOTER — стандартный подвал Зерокодера, стили в конце файла
   (блок obshchie-bloki/_footer, самодостаточный, свои токены)
   ========================================================== */

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 50px; }
  .hero__sticker { right: 8%; bottom: -28px; }
  .story__inner { grid-template-columns: 1fr; gap: 40px; }
  .program__items { grid-template-columns: 1fr; }
  .gifts__grid { grid-template-columns: repeat(2, 1fr); }
  .gifts__grid--3 { grid-template-columns: repeat(2, 1fr); }
  .speaker__inner { grid-template-columns: 1fr; gap: 50px; }
  .audience__grid { grid-template-columns: repeat(2, 1fr); }
  .about__grid { grid-template-columns: repeat(2, 1fr); }
  .press__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
  body { font-size: 16px; }
  .container { padding: 0 18px; }
  .topbar__page, .topbar__sep { display: none; }
  .topbar__logo { font-size: 13px; }
  .topbar__logo-img { width: 24px; height: 24px; }
  .topbar__status .mono { font-size: 11px; }

  .hero { padding: 40px 0 70px; }
  .hero__title { font-size: clamp(40px, 12vw, 64px); }
  .hero__line--small { font-size: 0.5em; }
  .hero__sub { font-size: 16px; }
  .hero__date { gap: 8px; }
  .hero__date-pill { padding: 6px 6px 6px 14px; gap: 8px; }
  .hero__date-day { font-size: 12.5px; }
  .hero__date-time { font-size: 14px; padding: 5px 10px; }
  .hero__date-tag { font-size: 11px; }

  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }
  .terminal { transform: none; }
  .terminal__body { font-size: 12px; padding: 18px 16px 22px; }
  .terminal__title { font-size: 10.5px; }
  .hero__sticker { right: -6px; bottom: -24px; }
  .sticker { width: 102px; height: 102px; }
  .sticker__num { font-size: 42px; }
  .sticker__label { font-size: 9.5px; }

  .story { padding: 70px 0; }
  .story__cards { grid-template-columns: 1fr 1fr; gap: 12px; }
  .story-card { padding: 22px 18px; }
  .story-card__num { font-size: 48px; }

  .section-title { font-size: clamp(28px, 8vw, 42px); }
  .section-title--big { font-size: clamp(32px, 10vw, 56px); }

  .program { padding: 70px 0; }
  .program__items { gap: 14px; }
  .program__item { padding: 22px 20px; gap: 14px; flex-direction: row; }
  .program__num { padding-right: 14px; min-width: 26px; }
  .program__head { font-size: 18px; }
  .program__body p { font-size: 14.5px; }

  .gifts { padding: 70px 0; }
  .gifts__grid { grid-template-columns: 1fr; gap: 14px; margin-top: 36px; }
  .gifts__grid--3 { grid-template-columns: 1fr; }
  .gift-card { padding: 24px 22px; }

  .press { padding: 70px 0; }
  .press__grid { grid-template-columns: 1fr; gap: 12px; }
  .press-card { min-height: 0; padding: 22px 20px; }
  .press__logos { gap: 22px; margin-top: 40px; padding-top: 32px; }
  .press-logo { font-size: 22px; }

  .speaker { padding: 70px 0; }
  .speaker__photo-frame { transform: none; }
  .speaker__name { font-size: clamp(40px, 11vw, 60px); }
  .speaker__lead { font-size: 16px; }
  .speaker__meta-row { grid-template-columns: 1fr; gap: 4px; }

  .audience { padding: 70px 0; }
  .audience__grid { grid-template-columns: 1fr; gap: 12px; margin-top: 36px; }

  .about { padding: 70px 0; }
  .about__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .about__card { padding: 26px 18px; }
  .about__num { font-size: 46px; }
  .about__num-unit { font-size: 13px; }

  .tariff { padding: 70px 0; }
  .tariff__grid { grid-template-columns: 1fr; gap: 18px; margin-top: 36px; }
  .tariff__card { padding: 30px 24px; }
  .tariff__price { font-size: 64px; }

  .hero--bottom { padding: 70px 0; }
}

/* prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ==========================================================
   COUNTDOWN
   ========================================================== */
.countdown {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--accent-deep);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 6px 14px;
  margin: -14px 0 22px;
  font-variant-numeric: tabular-nums;
}
.countdown:empty { display: none; }
.countdown--live { color: #fff; background: var(--accent); }

/* ==========================================================
   HERO ARTIFACT (подпись страницы: терминал → готовый файл)
   ========================================================== */
.hero__visual { padding-bottom: 18px; }

.artifact {
  position: relative;
  z-index: 2;
  width: 82%;
  margin: -26px 0 0 6%;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: 0 22px 50px -26px rgba(20,19,15,0.45);
  transform: rotate(1.2deg);
  transition: transform .35s ease;
  overflow: hidden;
}
.artifact:hover { transform: rotate(0); }
.artifact__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}
.artifact__label { font-size: 11px; color: var(--text-muted); letter-spacing: 0.02em; }
.artifact__live { font-size: 10.5px; color: var(--accent-deep); letter-spacing: 0.02em; white-space: nowrap; }
.artifact__body {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: flex-end;
  padding: 16px 18px 18px;
}
.artifact__kpis { display: flex; flex-direction: column; gap: 12px; }
.artifact__kpi { display: flex; flex-direction: column; gap: 2px; }
.artifact__kpi-num {
  font-family: "Instrument Serif", serif;
  font-size: 30px;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--text);
}
.artifact__kpi-lbl { font-size: 10px; color: var(--text-dim); letter-spacing: 0.06em; text-transform: uppercase; }
.artifact__chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 74px;
}
.artifact__chart span {
  flex: 1;
  height: var(--h);
  background: var(--line);
  border-radius: 3px 3px 0 0;
  animation: grow 1.1s cubic-bezier(.2,.8,.3,1) backwards;
}
.artifact__chart span:nth-child(2) { animation-delay: .06s; }
.artifact__chart span:nth-child(3) { animation-delay: .12s; }
.artifact__chart span:nth-child(4) { animation-delay: .18s; }
.artifact__chart span:nth-child(5) { animation-delay: .24s; }
.artifact__chart span:nth-child(6) { animation-delay: .30s; }
.artifact__chart span:nth-child(7) { animation-delay: .36s; }
.artifact__chart span:nth-child(8) { animation-delay: .42s; }
.artifact__chart span.is-peak { background: var(--accent); }
@keyframes grow { from { height: 4px; opacity: 0; } }

/* ==========================================================
   ДОСТУП ИЗ РОССИИ
   ========================================================== */
/* ручные переносы в заголовке нужны только на широком экране —
   на мобильном строка и так узкая, лишний <br> ломает её на обрывки */
@media (max-width: 700px) { .br-desk { display: none; } }
.access {
  padding: 100px 0;
  background: var(--bg-paper);
  border-bottom: 1px solid var(--line);
}
.access__lead {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 760px;
  margin: 0 0 54px;
  line-height: 1.6;
}
.access__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 46px;
}
.access-step {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px 26px;
  box-shadow: var(--shadow-card);
  position: relative;
  transition: transform .25s ease;
}
.access-step:hover { transform: translateY(-3px); }
.access-step__num {
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.access-step__title {
  font-weight: 700;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
}
.access-step p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-muted);
}

.access__term {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 28px;
  align-items: center;
}
.terminal--flat { transform: none; }
.terminal--flat:hover { transform: none; }

.access__flags { display: grid; gap: 10px; }
.access-flag {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: var(--r-md);
  background: var(--bg-card);
  border: 1px solid var(--line);
  font-size: 15px;
  color: var(--text-muted);
  text-decoration: line-through;
  text-decoration-color: rgba(20,19,15,0.25);
}
.access-flag__mark {
  font-size: 13px;
  color: var(--text-dim);
  flex-shrink: 0;
}
.access-flag--ok {
  background: var(--text);
  border-color: var(--text);
  color: var(--bg);
  font-weight: 600;
  text-decoration: none;
}
.access-flag--ok .access-flag__mark { color: var(--code-green); }

/* ==========================================================
   ЧТО СОБЕРЁМ (карточки результатов + мини-превью)
   ========================================================== */
.builds {
  padding: 110px 0;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}
.builds__lead {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 640px;
  margin: 22px auto 0;
  text-align: center;
  line-height: 1.6;
}
.builds__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 54px;
}
.build-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 20px 20px 26px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.build-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 56px -30px rgba(20,19,15,0.32);
}
.build-card__meta {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 8px;
}
.build-card__title {
  font-weight: 700;
  font-size: 19px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
}
.build-card p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-muted);
}
.build-card--dark {
  background: var(--text);
  border-color: var(--text);
}
.build-card--dark .build-card__title { color: var(--bg); }
.build-card--dark p { color: rgba(255,255,255,0.72); }
.build-card--dark .build-card__meta { color: var(--accent-soft); }

/* --- мини-превью артефактов --- */
.mock {
  position: relative;
  height: 136px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--bg-soft);
  padding: 14px;
  margin-bottom: 18px;
  overflow: hidden;
}
.build-card--dark .mock {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.12);
}

/* 01 дашборд */
.mock--chart { display: flex; flex-direction: column; gap: 12px; }
.mock__row { display: flex; gap: 8px; }
.mock__pill { width: 46px; height: 9px; border-radius: 999px; background: var(--accent); opacity: .85; }
.mock__pill--sm { width: 26px; background: var(--line-strong); opacity: .25; }
.mock__bars { display: flex; align-items: flex-end; gap: 7px; flex: 1; }
.mock__bars i { flex: 1; height: var(--h); background: rgba(20,19,15,0.18); border-radius: 3px 3px 0 0; }
.mock__bars i.is-peak { background: var(--accent); }

/* 02 парсинг */
.mock--table { display: flex; flex-direction: column; gap: 9px; }
.mock__line { height: 9px; border-radius: 3px; background: rgba(20,19,15,0.14); width: 100%; }
.mock__line:first-child { background: var(--line-strong); opacity: .55; width: 40%; }
.mock__line--60 { width: 60%; }
.mock__line--85 { width: 85%; }
.mock__line--45 { width: 45%; }
.mock__line--70 { width: 70%; }
.mock__cursor {
  position: absolute;
  right: 12px;
  bottom: 11px;
  font-size: 10.5px;
  color: #fff;
  background: var(--accent);
  padding: 3px 8px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

/* 03 презентация */
.mock--slide { display: flex; align-items: center; gap: 9px; }
.mock__slide {
  flex: 1;
  aspect-ratio: 16 / 10;
  border-radius: 5px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  justify-content: center;
}
.mock__slide span { display: block; height: 5px; border-radius: 2px; background: rgba(20,19,15,0.16); width: 80%; }
.mock__slide-b { width: 55% !important; }
.mock__slide.is-active {
  background: var(--text);
  border-color: var(--text);
  transform: scale(1.12);
  box-shadow: 0 10px 24px -12px rgba(20,19,15,0.5);
}
.mock__slide.is-active span { background: var(--accent); }
.mock__slide.is-active .mock__slide-b { background: rgba(255,255,255,0.35); }

/* 04 инфографика */
.mock--info { display: flex; align-items: center; gap: 16px; }
.mock__donut {
  width: 74px; height: 74px;
  border-radius: 50%;
  flex-shrink: 0;
  background: conic-gradient(var(--accent) 0 62%, var(--accent-soft) 62% 82%, rgba(20,19,15,0.15) 82% 100%);
  -webkit-mask: radial-gradient(circle, transparent 54%, #000 55%);
  mask: radial-gradient(circle, transparent 54%, #000 55%);
}
.mock__info-lines { display: flex; flex-direction: column; gap: 9px; flex: 1; }
.mock__info-lines span { height: 9px; border-radius: 3px; background: rgba(20,19,15,0.16); }
.mock__info-lines .w70 { width: 70%; }
.mock__info-lines .w50 { width: 50%; background: var(--accent); opacity: .8; }

/* 05 рилсы */
.mock--reel { display: flex; align-items: center; gap: 14px; }
.mock__phone {
  width: 62px;
  height: 104px;
  border-radius: 8px;
  background: var(--text);
  position: relative;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 22px -12px rgba(20,19,15,0.6);
}
.mock__play {
  width: 0; height: 0;
  border-left: 13px solid var(--accent);
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  margin-left: 3px;
}
.mock__subs { position: absolute; bottom: 9px; left: 8px; right: 8px; display: flex; flex-direction: column; gap: 3px; }
.mock__subs span { height: 4px; border-radius: 2px; background: rgba(255,255,255,0.55); }
.mock__subs .w60 { width: 60%; }
.mock__timeline { display: flex; gap: 4px; flex: 1; align-items: center; }
.mock__timeline i { flex: 1; height: 26px; border-radius: 3px; background: rgba(20,19,15,0.16); }
.mock__timeline i.is-cut { flex: 0 0 6px; height: 10px; background: var(--accent); }

/* 06 автопилот */
.mock--bot { display: flex; flex-direction: column; gap: 8px; justify-content: center; }
.mock__msg { height: 15px; width: 72%; border-radius: 8px 8px 8px 2px; background: rgba(255,255,255,0.14); }
.mock__msg--in { width: 52%; margin-left: auto; border-radius: 8px 8px 2px 8px; background: var(--accent); }
.mock__msg--wide { width: 88%; }
.mock__clock {
  position: absolute;
  right: 12px;
  bottom: 10px;
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--code-green);
}

/* программа: широкий финальный пункт */
.program__item--wide { grid-column: 1 / -1; }

/* ==========================================================
   RESPONSIVE — новые секции
   ========================================================== */
@media (max-width: 1024px) {
  .access__grid { grid-template-columns: 1fr; }
  .access__term { grid-template-columns: 1fr; gap: 20px; }
  .builds__grid { grid-template-columns: repeat(2, 1fr); }
  .artifact { width: 86%; margin-left: 0; }
  .hero__sticker { right: 4%; bottom: -20px; }
}

@media (max-width: 700px) {
  .countdown { font-size: 11.5px; padding: 5px 12px; margin: -8px 0 18px; }

  .artifact { width: 100%; margin: -18px 0 0; transform: none; }
  .artifact__body { padding: 14px 14px 16px; gap: 14px; }
  .artifact__kpi-num { font-size: 25px; }
  .artifact__chart { height: 58px; gap: 5px; }
  .hero__sticker { right: -4px; bottom: -26px; }

  .access { padding: 70px 0; }
  .access__lead { font-size: 16px; margin-bottom: 32px; }
  .access__grid { gap: 14px; margin-bottom: 30px; }
  .access-step { padding: 24px 22px; }
  .access-step__title { font-size: 18px; }
  .access-flag { font-size: 14px; padding: 12px 16px; }

  .builds { padding: 70px 0; }
  .builds__lead { font-size: 16px; }
  .builds__grid { grid-template-columns: 1fr; gap: 14px; margin-top: 34px; }
  .build-card { padding: 16px 16px 22px; }
  .build-card__title { font-size: 18px; }
  .mock { height: 124px; }
}

/* мелкая подстрока героя на этой странице — компактнее */
.hero__line--small { font-size: 0.5em; letter-spacing: 0.005em; color: var(--accent); }
@media (max-width: 700px) { .hero__line--small { font-size: 0.52em; } }

@media (max-width: 700px) {
  /* стикер меньше и ниже — чтобы не съедать график в карточке-артефакте */
  .hero__sticker { right: -2px; bottom: -30px; }
  .sticker { width: 92px; height: 92px; }
  .sticker__num { font-size: 38px; }
  .sticker__label { font-size: 9px; }
}

/* ==========================================================
   ГЛОССАРИЙ
   Один раскрывающийся блок, внутри все термины — так просил
   заказчик. Отдельных аккордеонов на каждый термин быть не должно.
   ========================================================== */
.glossary {
  padding: 100px 0;
  background: var(--bg-paper);
  border-bottom: 1px solid var(--line);
}
.gloss {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.gloss__toggle {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 26px 32px;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: 20px;
  color: var(--text);
  transition: background .2s ease;
}
.gloss__toggle::-webkit-details-marker { display: none; }
.gloss__toggle:hover { background: var(--bg-soft); }
.gloss__count {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: var(--accent);
  border-radius: 999px;
  padding: 4px 10px;
  line-height: 1;
}
/* шеврон — та же графика, что у стрелок кнопок: две линии, без картинок */
.gloss__chevron {
  margin-left: auto;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: translateY(-3px) rotate(45deg);
  transition: transform .25s ease;
}
.gloss[open] .gloss__chevron { transform: translateY(2px) rotate(-135deg); }
.gloss__list {
  margin: 0;
  padding: 0 32px 8px;
  border-top: 1px solid var(--line);
}
.gloss__item {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.gloss__item:last-child { border-bottom: none; }
.gloss__term {
  margin: 0;
  font-weight: 700;
  font-size: 16.5px;
  color: var(--text);
  line-height: 1.35;
}
.gloss__alt {
  display: block;
  font-weight: 500;
  font-size: 13.5px;
  color: var(--text-dim);
}
.gloss__def {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--text-muted);
}

@media (max-width: 700px) {
  .glossary { padding: 60px 0; }
  .gloss__toggle { padding: 20px; font-size: 17px; gap: 10px; }
  .gloss__list { padding: 0 20px 4px; }
  .gloss__item { grid-template-columns: 1fr; gap: 6px; padding: 16px 0; }
  .gloss__alt { display: inline; }
  .gloss__def { font-size: 15px; }
}
/* ============================================================
   ZEROCODER FOOTER — стили переиспользуемого подвала
   Источник: лендинг Neuroclub (sites.zerocoder.ru/neuroclub/)
   Самодостаточный: все токены заданы на .footer, внешних
   зависимостей нет. Шрифт Manrope наследуется от сайта;
   если его нет — см. README (Google Fonts).
   Брейкпоинты Tilda: 4 колонки → 2 (≤959) → 1 (≤639).
   ============================================================ */

.footer {
  /* локальные токены блока — не конфликтуют с сайтом-хозяином */
  --zc-space-3: 12px;
  --zc-space-4: 16px;
  --zc-space-5: 24px;
  --zc-space-6: 32px;
  --zc-space-7: 48px;
  --zc-space-8: 64px;
  --zc-space-9: 96px;
  --zc-accent: #97e017;
  --zc-easing: cubic-bezier(0.22, 1, 0.36, 1);

  background: #1a2438;
  color: rgba(255, 255, 255, 0.7);
  padding: var(--zc-space-9) 0 var(--zc-space-6);
  font-size: 15px;
  font-family: 'Manrope', Arial, sans-serif;
}

.footer__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer__top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: var(--zc-space-8);
  padding-bottom: var(--zc-space-7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--zc-space-5);
}

.footer__logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.footer__logo-img {
  display: block;
  height: 36px;
  width: auto;
  max-width: 220px;
}

.footer__address {
  display: block;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.55);
}

.footer__badges {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 14px;
  width: fit-content;
}

.footer__badge-img {
  display: block;
  height: 44px;
  width: auto;
}

.footer__badge-img--rk { height: 48px; }
.footer__badge-img--sk { height: 36px; }

.footer__col {
  font-size: 15px;
}

.footer__col h4 {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  margin: 0 0 var(--zc-space-4);
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--zc-space-3);
}

.footer__col a {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s var(--zc-easing);
}

.footer__col a:hover {
  color: var(--zc-accent);
}

.footer__col--contacts {
  display: flex;
  flex-direction: column;
  gap: var(--zc-space-5);
}

.footer__contact-block h4 {
  margin-bottom: 4px;
}

.footer__contact-value {
  display: inline-block;
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: color 0.2s;
}

.footer__contact-value:hover {
  color: var(--zc-accent);
}

.footer__socials {
  display: flex;
  gap: 12px;
  margin-top: 6px;
}

.footer__social {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: transform 0.2s var(--zc-easing), box-shadow 0.2s;
}

.footer__social--tg { background: #2aabee; }
.footer__social--wa { background: #25d366; }
.footer__social--yt { background: #ff0000; }
/* MAX — готовый брендовый бейдж (svg с вшитым градиентом), скругляем под круги */
.footer__social--max { overflow: hidden; }

.footer__social-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.footer__social:hover {
  transform: translateY(-2px) scale(1.06);
  box-shadow: 0 8px 20px -6px rgba(0, 0, 0, 0.5);
}

.footer__social svg {
  width: 22px;
  height: 22px;
}

.footer__bottom {
  padding-top: var(--zc-space-6);
  display: flex;
  justify-content: space-between;
  gap: var(--zc-space-5);
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

.footer__copy {
  letter-spacing: 0.01em;
}

.footer__legal {
  display: flex;
  gap: var(--zc-space-7);
  flex-wrap: wrap;
}

/* Horizontal tablet и меньше — 2 колонки */
@media (max-width: 959px) {
  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: var(--zc-space-6);
  }
}

/* Mobile — 1 колонка */
@media (max-width: 639px) {
  .footer__top {
    grid-template-columns: 1fr;
  }
}


/* фикс-CTA внизу экрана, только мобилка */
.mcta { display: none; }
@media (max-width: 700px) {
  .mcta {
    display: block;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 900;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: var(--bg);
    border-top: 1px solid var(--line);
  }
  .mcta .btn { width: 100%; padding: 16px 22px; font-size: 16px; }
  body { padding-bottom: calc(82px + env(safe-area-inset-bottom)); }
}

/* ==========================================================
   OPENAI-ПРАКТИКУМ: сноска в герое, блок подарков, нижний герой
   ========================================================== */
.hero__note {
  margin: 18px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-dim);
  max-width: 540px;
}
.hero__note a {
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.hero__note a:hover { color: var(--accent); }

/* Блок подарков повторяется в герое и после кнопок — одна разметка, два размера */
.bonus {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 32px;
  box-shadow: var(--shadow-card);
}
.bonus--wide {
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
  text-align: left;
}
.bonus__head {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}
.bonus__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.bonus__list li {
  font-size: 15.5px;
  line-height: 1.45;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}
.bonus__list .mono {
  color: var(--accent);
  font-weight: 700;
  line-height: 1.45;
}

/* Блок «а еще» в программе — отбивка от основных пунктов */
.program__more { margin-top: 56px; }
.program__more .kicker { margin-bottom: 26px; }

/* Нижний герой без правой колонки — контент по центру страницы */
.hero__inner--single {
  grid-template-columns: 1fr;
  max-width: 780px;
}

@media (max-width: 1024px) {
  .bonus--wide { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 700px) {
  .bonus { padding: 22px 18px; }
  .bonus--wide { margin-top: 28px; }
  .bonus__list li { font-size: 15px; padding: 12px 14px; }
  .program__more { margin-top: 40px; }
}

/* На узких экранах италик-строка героя должна помещаться целиком:
   иначе «OpenAI» падает одним словом на последнюю строку */
@media (max-width: 700px) {
  .hero__line--italic { font-size: 0.76em; }
}

/* ==========================================================
   DARK COSMIC THEME — тёмный космос + сеть модулей
   Блок идёт последним и переопределяет светлую paper-тему.
   Светлые правила выше намеренно оставлены: удалив этот блок,
   страница вернётся к исходному оформлению.
   ========================================================== */
:root {
  /* глубокий космос */
  --bg: #070a1a;
  --bg-soft: #0a0e22;
  --bg-paper: #0d1229;
  --bg-card: rgba(21, 28, 61, 0.62);

  /* текст: проверен на контраст по фону #070a1a */
  --text: #eef1ff;         /* ~17:1 */
  --text-muted: #b6bde6;   /* ~9.5:1 */
  --text-dim: #8b93c4;     /* ~6:1  */

  /* акцент — фиолет/индиго, второй акцент — холодный голубой */
  --accent: #8b7cff;
  --accent-deep: #6a54f0;
  --accent-soft: #cdc6ff;
  --accent-cyan: #5ad7ff;

  --line: rgba(150, 165, 255, 0.16);
  --line-strong: rgba(150, 165, 255, 0.30);

  --shadow-sm: 0 2px 0 rgba(0,0,0,0.30);
  --shadow-md: 0 14px 40px -18px rgba(0,0,0,0.75);
  --shadow-card: 0 1px 0 rgba(255,255,255,0.04) inset, 0 26px 60px -34px rgba(0,0,0,0.85);
  --glow-accent: 0 18px 50px -18px rgba(124, 92, 255, 0.55);
}

html { background: #070a1a; }
body {
  color: var(--text);
  background-color: #070a1a;
  /* три мягких пятна на весь экран — фон сквозной через все блоки */
  background-image:
    radial-gradient(1200px 720px at 10% -8%, rgba(124, 92, 255, 0.14), transparent 62%),
    radial-gradient(1050px 640px at 92% 10%, rgba(40, 120, 255, 0.12), transparent 64%),
    radial-gradient(900px 620px at 50% 104%, rgba(168, 84, 255, 0.10), transparent 62%);
  background-attachment: fixed;
  background-repeat: no-repeat;
}

/* звёздная пыль — мелкие точки, тайлом на весь экран */
body::before {
  opacity: 0.5;
  mix-blend-mode: normal;
  background-image:
    radial-gradient(1px 1px at 24px 36px, rgba(255,255,255,0.55), transparent 60%),
    radial-gradient(1px 1px at 128px 92px, rgba(190,210,255,0.45), transparent 60%),
    radial-gradient(1.6px 1.6px at 216px 168px, rgba(255,255,255,0.38), transparent 60%),
    radial-gradient(1px 1px at 312px 252px, rgba(160,190,255,0.40), transparent 60%),
    radial-gradient(1.2px 1.2px at 60px 268px, rgba(205,198,255,0.35), transparent 60%);
  background-size: 360px 300px;
}

/* сеть модулей — узлы на пересечениях и тонкие связи между ними */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(139,124,255,0.30) 1.4px, transparent 2px),
    linear-gradient(to right, rgba(150,165,255,0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(150,165,255,0.055) 1px, transparent 1px);
  background-size: 96px 96px, 96px 96px, 96px 96px;
  -webkit-mask-image: radial-gradient(ellipse 120% 80% at 50% 0%, #000 10%, rgba(0,0,0,0.35) 55%, transparent 90%);
  mask-image: radial-gradient(ellipse 120% 80% at 50% 0%, #000 10%, rgba(0,0,0,0.35) 55%, transparent 90%);
}

/* ---------- топбар ---------- */
.topbar {
  background: rgba(7, 10, 26, 0.72);
  border-bottom: 1px solid var(--line);
}
.topbar__logo-img { background: rgba(255,255,255,0.06); border-color: var(--line); }
.status-dot { box-shadow: 0 0 0 4px rgba(139,124,255,0.18); }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(139,124,255,0.18); }
  50%      { box-shadow: 0 0 0 7px rgba(139,124,255,0.06); }
}

/* ---------- кнопки ---------- */
.btn:hover { box-shadow: 0 10px 30px -10px rgba(0,0,0,0.8); }
.btn--primary {
  --btn-bg: linear-gradient(135deg, #8b7cff 0%, #6a54f0 60%, #4c86ff 100%);
  --btn-fg: #fff;
  --btn-border: rgba(180,170,255,0.55);
  box-shadow: var(--glow-accent);
}
.btn--primary:hover {
  --btn-bg: linear-gradient(135deg, #9b8dff 0%, #7a65ff 60%, #5d95ff 100%);
  box-shadow: 0 22px 60px -16px rgba(124, 92, 255, 0.75);
}
.btn--outline { --btn-fg: var(--text); --btn-border: var(--line-strong); }
.btn--outline:hover { --btn-bg: rgba(255,255,255,0.08); --btn-fg: var(--text); --btn-border: var(--accent); }
.btn--ghost { --btn-fg: var(--text-muted); --btn-border: var(--line); }
.btn--ghost:hover { --btn-bg: rgba(255,255,255,0.06); --btn-fg: var(--text); --btn-border: var(--accent); }

/* ---------- общие элементы ---------- */
.kicker {
  background: rgba(255,255,255,0.045);
  border-color: var(--line);
  color: var(--text-muted);
}
.badge {
  background: rgba(255,255,255,0.045);
  border-color: var(--line);
  color: var(--text-muted);
}

/* ---------- герой ---------- */
.hero::before {
  background: radial-gradient(circle, rgba(124, 92, 255, 0.13), transparent 62%);
}
.hero__date-pill {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line-strong);
  color: var(--text);
  box-shadow: 0 10px 30px -14px rgba(0,0,0,0.9);
}
.hero__date-day { color: var(--text-muted); }
.hero__date-time {
  background: linear-gradient(135deg, #8b7cff, #6a54f0);
  color: #fff;
  box-shadow: 0 0 22px -6px rgba(124,92,255,0.7);
}
.hero__sub strong { color: var(--text); }
.hero__bullets li {
  background: rgba(255,255,255,0.045);
  border-color: var(--line);
  color: var(--text);
}
.bullet-num {
  background: linear-gradient(135deg, rgba(139,124,255,0.9), rgba(90,70,230,0.9));
  color: #fff;
}
.countdown {
  background: rgba(139,124,255,0.16);
  color: #d5cfff;
  border: 1px solid rgba(139,124,255,0.28);
}
.countdown--live { background: var(--accent); color: #fff; }

/* ---------- бегущая строка = лента модулей ---------- */
.ticker {
  background: linear-gradient(90deg, rgba(124,92,255,0.16), rgba(40,120,255,0.12) 50%, rgba(168,84,255,0.14));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--accent-soft);
}
.ticker__item { color: var(--accent-soft); }

/* ---------- секции: фон сквозной, только разделители ---------- */
.program, .speaker, .about, .press, .glossary, .audience, .tariff, .hero--bottom {
  background: transparent;
  border-bottom: 1px solid var(--line);
}
.program::before {
  background-image:
    linear-gradient(to right, rgba(150,165,255,0.05) 1px, transparent 1px);
  background-size: 96px 100%;
}

/* ---------- карточки-модули ---------- */
.program__item,
.audience__card,
.about__card,
.press-card,
.tariff__card,
.gloss,
.bonus {
  background: var(--bg-card);
  border-color: var(--line);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--shadow-card);
}
.program__item:hover,
.audience__card:hover,
.press-card:hover,
.tariff__card:hover {
  border-color: rgba(139,124,255,0.45);
  box-shadow: 0 0 0 1px rgba(139,124,255,0.18), 0 28px 60px -32px rgba(90,60,255,0.6);
}
.program__num { color: var(--accent); }
.program__item--special {
  background: linear-gradient(135deg, rgba(124,92,255,0.30), rgba(40,120,255,0.16));
  border-color: rgba(160,145,255,0.45);
  color: var(--text);
  box-shadow: 0 0 0 1px rgba(139,124,255,0.22), 0 30px 70px -34px rgba(90,60,255,0.7);
}
.program__item--special .program__num { color: var(--accent-soft); border-right-color: rgba(255,255,255,0.18); }
.program__item--special .program__head { color: #fff; }
.program__item--special .program__body p { color: rgba(255,255,255,0.82); }
.program__badge {
  background: rgba(139,124,255,0.2);
  border: 1px solid rgba(139,124,255,0.4);
  color: var(--accent-soft);
}
.audience__icon {
  background: rgba(139,124,255,0.16);
  color: var(--accent-soft);
  border: 1px solid rgba(139,124,255,0.28);
}

/* ---------- подарки ---------- */
.bonus__list li {
  background: rgba(255,255,255,0.04);
  border-color: var(--line);
  color: var(--text);
}
.bonus__list .mono { color: var(--accent-cyan); }
.hero__note { color: var(--text-dim); }
.hero__note a { color: var(--text-muted); }

/* ---------- спикер ---------- */
.speaker__photo-frame {
  background: #0d1229;
  border: 1px solid var(--line-strong);
  box-shadow: 0 34px 80px -34px rgba(90,60,255,0.55);
}
/* фото уходит в общий фон: тёмная растушёвка снизу */
.speaker__photo-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to top, rgba(7,10,26,0.72), rgba(7,10,26,0.10) 48%, transparent 72%);
}
.speaker__photo { filter: grayscale(0.15) contrast(1.05) saturate(0.85) brightness(0.92); }
.speaker__caption {
  background: rgba(10,14,34,0.82);
  border: 1px solid var(--line);
  color: var(--text);
  z-index: 1;
}
.speaker__caption-name { color: var(--accent-soft); }
.signature-line { background: var(--line-strong); }
.speaker__meta-val { color: var(--text); }

/* ---------- Зерокодер в цифрах ---------- */
.about__num { color: var(--text); }
.about__card--accent {
  background: linear-gradient(140deg, rgba(124,92,255,0.85), rgba(74,52,200,0.85));
  border-color: rgba(180,170,255,0.45);
  box-shadow: 0 0 0 1px rgba(139,124,255,0.25), 0 30px 70px -34px rgba(90,60,255,0.75);
}
.about__card--accent .about__desc { color: rgba(255,255,255,0.88); }

/* ---------- тарифы ---------- */
.tariff__name { color: var(--text-muted); }
.tariff__price { color: var(--text); }
.tariff__features li { color: var(--text); }
.check { background: rgba(139,124,255,0.18); color: var(--accent-soft); }
.tariff__card--featured {
  background: linear-gradient(160deg, rgba(124,92,255,0.34), rgba(30,40,120,0.5));
  border-color: rgba(170,158,255,0.45);
  box-shadow: 0 0 0 1px rgba(139,124,255,0.22), 0 34px 80px -36px rgba(90,60,255,0.8);
}
.tariff__card--featured .tariff__name { color: var(--accent-soft); }
.tariff__card--featured .tariff__price { color: #fff; }
.tariff__card--featured .tariff__features li { color: #fff; }
.tariff__card--featured .check { background: rgba(255,255,255,0.18); color: #fff; }
.tariff__link { color: var(--accent-soft); text-decoration-color: rgba(205,198,255,0.5); }
.tariff__link:hover { color: #fff; }

/* ---------- СМИ ---------- */
.press-card__source { color: var(--accent); }
.press-card__title { color: var(--text); }
.press-card__meta { color: var(--text-dim); }
.press-card--featured {
  background: linear-gradient(140deg, rgba(124,92,255,0.28), rgba(40,120,255,0.14));
  border-color: rgba(160,145,255,0.42);
  color: var(--text);
}
.press-card--featured .press-card__source { color: var(--accent-soft); }
.press-card--featured .press-card__title { color: #fff; }
.press-card--featured .press-card__meta { color: rgba(255,255,255,0.6); }
.press-logo { color: var(--text-dim); }
.press-logo:hover { color: var(--accent-soft); }

/* ---------- глоссарий ---------- */
.gloss__toggle { color: var(--text); }
.gloss__toggle:hover { background: rgba(255,255,255,0.05); }
.gloss__count { background: linear-gradient(135deg, #8b7cff, #6a54f0); color: #fff; }
.gloss__chevron { border-color: var(--text-muted); }
.gloss__term { color: var(--text); }
.gloss__def { color: var(--text-muted); }

/* ---------- мобильная кнопка ---------- */
@media (max-width: 700px) {
  .mcta {
    background: rgba(7,10,26,0.92);
    border-top: 1px solid var(--line);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
}

/* подвал Зерокодера ниже — со своими токенами, его не трогаем */

/* Свечение героя: закругляем строго внутри своего бокса — .hero с overflow:hidden
   обрезал прежний градиент, и на фоне был виден вертикальный шов */
.hero::before {
  top: 44%; left: -12%;
  width: 74%; height: 130%;
  background: radial-gradient(closest-side, rgba(124, 92, 255, 0.13), rgba(124, 92, 255, 0.04) 70%, transparent 100%);
}

/* ==========================================================
   КОСМОС ПЕРВОГО ЭКРАНА — туманности + холст с сетью нитей
   ========================================================== */
.hero__sky {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
/* туманности: мягкие пятна 0.08–0.13, медленно дышат и дрейфуют */
.hero__nebula {
  position: absolute;
  display: block;
  border-radius: 50%;
  will-change: transform;
}
.hero__nebula--1 {
  width: 780px; height: 780px;
  top: -18%; left: -12%;
  background: radial-gradient(closest-side, rgba(124, 92, 255, 0.13), rgba(124, 92, 255, 0.04) 58%, transparent 100%);
  animation: nebula-a 34s ease-in-out infinite;
}
.hero__nebula--2 {
  width: 680px; height: 680px;
  top: 6%; right: -14%;
  background: radial-gradient(closest-side, rgba(40, 130, 255, 0.11), rgba(40, 130, 255, 0.03) 60%, transparent 100%);
  animation: nebula-b 42s ease-in-out infinite;
}
.hero__nebula--3 {
  width: 620px; height: 620px;
  bottom: -26%; left: 34%;
  background: radial-gradient(closest-side, rgba(176, 84, 255, 0.10), rgba(176, 84, 255, 0.03) 60%, transparent 100%);
  animation: nebula-c 50s ease-in-out infinite;
}
@keyframes nebula-a {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50%      { transform: translate3d(50px, 34px, 0) scale(1.08); }
}
@keyframes nebula-b {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1.04); }
  50%      { transform: translate3d(-44px, 40px, 0) scale(1); }
}
@keyframes nebula-c {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50%      { transform: translate3d(36px, -30px, 0) scale(1.1); }
}

/* холст с узлами и нитями — рисуется скриптом в конце index.html */
.hero__net {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero__net.is-ready { opacity: 1; }

/* контент и карточка подарков — поверх космоса */
.hero__inner { position: relative; z-index: 1; }

/* ==========================================================
   ГРАДИЕНТЫ И ТЕНИ — аккуратный слой объёма
   ========================================================== */
/* акцентные слова заголовков — градиентом от фиолета к голубому */
.hero__line--italic em,
.section-title em,
.speaker__name em {
  background: linear-gradient(105deg, #cdc6ff 0%, #8b7cff 45%, #5ad7ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@supports not (background-clip: text) {
  .hero__line--italic em, .section-title em, .speaker__name em { color: var(--accent); }
}

/* карточки: верхний блик + более глубокая тень */
.program__item,
.audience__card,
.about__card,
.press-card,
.tariff__card,
.gloss,
.bonus {
  background-color: rgba(21, 28, 61, 0.62);
  background-image: linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0) 46%);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.05) inset,
    0 30px 70px -38px rgba(0,0,0,0.9);
}
.program__item:hover,
.audience__card:hover,
.press-card:hover,
.tariff__card:hover {
  box-shadow:
    0 1px 0 rgba(255,255,255,0.07) inset,
    0 0 0 1px rgba(139,124,255,0.18),
    0 34px 70px -34px rgba(90,60,255,0.55);
}

/* акцентные панели: диагональный градиент + подсветка снизу */
.program__item--special {
  background-image:
    linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0) 50%),
    linear-gradient(135deg, rgba(124,92,255,0.34), rgba(40,120,255,0.14) 70%, rgba(90,215,255,0.12));
}
.tariff__card--featured {
  background-image:
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0) 44%),
    linear-gradient(160deg, rgba(124,92,255,0.36), rgba(30,40,120,0.5) 78%, rgba(90,215,255,0.10));
}
.about__card--accent {
  background-image:
    linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0) 46%),
    linear-gradient(140deg, rgba(124,92,255,0.88), rgba(74,52,200,0.88) 72%, rgba(60,130,255,0.8));
}
.press-card--featured {
  background-image:
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0) 48%),
    linear-gradient(140deg, rgba(124,92,255,0.30), rgba(40,120,255,0.14));
}

/* карточка подарков: тёплая точка света в углу */
.bonus {
  background-image:
    radial-gradient(520px 260px at 88% -10%, rgba(124,92,255,0.16), transparent 70%),
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0) 46%);
}

/* пилюли и мелкие элементы — лёгкий объём вместо плоской заливки */
.kicker, .badge {
  background-image: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.01));
  box-shadow: 0 1px 0 rgba(255,255,255,0.05) inset;
}
.hero__date-pill {
  background-image: linear-gradient(180deg, rgba(255,255,255,0.09), rgba(255,255,255,0.02));
}
.hero__bullets li {
  background-image: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0) 60%);
  box-shadow: 0 1px 0 rgba(255,255,255,0.04) inset, 0 18px 40px -30px rgba(0,0,0,0.9);
}
.bonus__list li {
  background-image: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0) 70%);
}
.bullet-num, .audience__icon, .check {
  box-shadow: 0 6px 16px -8px rgba(90,60,255,0.7);
}

/* разделители секций — не сплошная линия, а градиентная нить */
.program, .speaker, .about, .press, .glossary, .audience, .tariff, .hero--bottom {
  border-bottom: none;
  position: relative;
}
.program::after, .speaker::after, .about::after, .press::after,
.glossary::after, .audience::after, .tariff::after, .hero--bottom::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(150,165,255,0.22) 18%, rgba(139,124,255,0.35) 50%, rgba(150,165,255,0.22) 82%, transparent);
  pointer-events: none;
}

/* бегущая строка — мягкие торцы, чтобы лента растворялась в фоне */
.ticker {
  -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
  box-shadow: 0 20px 60px -40px rgba(124,92,255,0.8);
}

/* фото спикера — фиолетовый ореол под рамкой */
.speaker__photo-frame {
  box-shadow:
    0 1px 0 rgba(255,255,255,0.06) inset,
    0 40px 90px -42px rgba(124,92,255,0.65);
}

@media (prefers-reduced-motion: reduce) {
  .hero__nebula { animation: none; }
}
@media (max-width: 700px) {
  .hero__nebula--1 { width: 460px; height: 460px; }
  .hero__nebula--2 { width: 420px; height: 420px; }
  .hero__nebula--3 { width: 400px; height: 400px; }
}

/* ==========================================================
   КТО МЫ — блоки перенесены с svoy-ii-kontur-sep26
   и пересобраны под тёмную тему этого лендинга
   ========================================================== */
.whois { padding: 110px 0; position: relative; }
.whois::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(150,165,255,0.22) 18%, rgba(139,124,255,0.35) 50%, rgba(150,165,255,0.22) 82%, transparent);
}
/* подзаголовки внутри секции */
.whois-h {
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: clamp(24px, 2.8vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 72px 0 24px;
  max-width: 26ch;
}

/* --- верх: «лидеры в обучении ИИ» + две цифры --- */
.whois-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 40px;
  align-items: stretch;
}
.whois-lead {
  background-image:
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0) 46%),
    linear-gradient(135deg, rgba(124,92,255,0.26), rgba(40,120,255,0.10));
  border: 1px solid rgba(160,145,255,0.34);
  border-radius: var(--r-xl);
  padding: 26px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 0 rgba(255,255,255,0.06) inset, 0 30px 70px -38px rgba(90,60,255,0.6);
}
.whois-lead__label {
  font-weight: 700;
  font-size: clamp(17px, 1.5vw, 21px);
  color: var(--text);
  margin-bottom: 16px;
}
.whois-lead__media {
  flex: 1;
  min-height: 0;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--line);
}
.whois-lead__media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }

.whois-stats { display: flex; flex-direction: column; gap: 18px; }
.whois-stat {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 28px 30px;
  background-color: rgba(21, 28, 61, 0.62);
  background-image: linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0) 46%);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: 0 1px 0 rgba(255,255,255,0.05) inset, 0 30px 70px -38px rgba(0,0,0,0.9);
  transition: border-color .22s ease, box-shadow .22s ease;
}
.whois-stat:hover {
  border-color: rgba(139,124,255,0.45);
  box-shadow: 0 0 0 1px rgba(139,124,255,0.18), 0 34px 70px -34px rgba(90,60,255,0.55);
}
.whois-stat__ico { width: 76px; height: 76px; min-width: 76px; }
.whois-stat__ico img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 8px 16px rgba(0,0,0,0.5)); }
.whois-stat p {
  margin: 0;
  font-size: clamp(17px, 1.6vw, 22px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--text);
}
.whois-stat b {
  font-family: "JetBrains Mono", monospace;
  font-weight: 700;
  background: linear-gradient(105deg, #cdc6ff, #8b7cff 55%, #5ad7ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* --- низ: вузы и лицензии --- */
.whois-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 18px;
}
.whois-card {
  background-color: rgba(21, 28, 61, 0.62);
  background-image: linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0) 46%);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 26px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.05) inset, 0 30px 70px -38px rgba(0,0,0,0.9);
}
.whois-card__label {
  display: block;
  font-weight: 700;
  font-size: clamp(15px, 1.2vw, 17px);
  color: var(--text);
  margin-bottom: 18px;
}
.whois-card__label--flat { margin: 0; }
.whois-card__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.whois-sk { height: 48px; width: auto; flex-shrink: 0; border-radius: 8px; }

.whois-logos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.whois-logo {
  background: rgba(255,255,255,0.94);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  aspect-ratio: 5 / 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
}
.whois-logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }

.whois-lic { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.whois-lic img { width: 100%; border-radius: var(--r-md); border: 1px solid var(--line); }

/* --- исследование --- */
.research {
  display: flex;
  align-items: stretch;
  background-color: rgba(21, 28, 61, 0.62);
  background-image: linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0) 46%);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(255,255,255,0.05) inset, 0 30px 70px -38px rgba(0,0,0,0.9);
}
.research__photo { width: 42%; min-width: 320px; flex-shrink: 0; position: relative; }
.research__photo img { width: 100%; height: 100%; object-fit: cover; }
.research__photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(7,10,26,0.10), rgba(7,10,26,0.55));
}
.research__body { flex: 1; padding: 32px; }
.research__body h4 {
  margin: 0 0 14px;
  font-size: clamp(17px, 1.4vw, 20px);
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
}
.research__body p { margin: 0; font-size: 15px; line-height: 1.75; color: var(--text-muted); }
.research__body strong { color: var(--accent-soft); }

/* --- клиенты и СМИ: логотипы на светлых плитках --- */
.clients { display: grid; grid-template-columns: repeat(8, 1fr); gap: 12px; }
.media-logos { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.client, .media-logo {
  background: rgba(255,255,255,0.94);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  aspect-ratio: 3 / 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.client:hover, .media-logo:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -22px rgba(90,60,255,0.7);
}
.client img, .media-logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }

/* --- госслужащие --- */
.gov { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 18px; align-items: stretch; }
.gov__left { display: flex; flex-direction: column; gap: 18px; }
.gov-card {
  background-color: rgba(21, 28, 61, 0.62);
  background-image: linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0) 46%);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 28px 30px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.05) inset, 0 30px 70px -38px rgba(0,0,0,0.9);
}
.gov-card__ico {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8b7cff, #6a54f0);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 15px;
  margin-bottom: 18px;
  box-shadow: 0 8px 20px -8px rgba(124,92,255,0.8);
}
.gov-card h4 {
  margin: 0 0 12px;
  font-size: clamp(15px, 1.25vw, 17px);
  font-weight: 700;
  line-height: 1.4;
  color: var(--text);
}
.gov-card__desc { margin: 0 0 14px; font-size: 15px; line-height: 1.7; color: var(--text-muted); }
.gov-card__desc strong { color: var(--text); }
.gov-regions { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 5px; font-size: 13.5px; color: var(--text-muted); }
.gov-regions li::before { content: "—\00a0"; color: var(--accent); }
.gov-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 30px; font-size: 13.5px; color: var(--text-muted); }

.gov__photo {
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(21, 28, 61, 0.62);
  min-height: 400px;
  box-shadow: 0 30px 70px -38px rgba(0,0,0,0.9);
}
.corp-slider { position: relative; height: 100%; min-height: 400px; }
.corp-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .5s ease; }
.corp-slide.is-active { opacity: 1; }
.corp-slide img { width: 100%; height: 100%; object-fit: cover; }
.corp-btn {
  position: absolute; top: 50%;
  transform: translateY(-50%);
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(7,10,26,0.8);
  color: #fff;
  font-size: 15px;
  cursor: pointer;
  z-index: 2;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s ease, border-color .2s ease;
}
.corp-btn:hover { background: var(--accent-deep); border-color: var(--accent); }
.corp-btn--prev { left: 14px; }
.corp-btn--next { right: 14px; }
.corp-dots { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); display: flex; gap: 6px; z-index: 2; }
.corp-dot { width: 8px; height: 8px; border-radius: 50%; border: 0; padding: 0; background: rgba(255,255,255,0.35); cursor: pointer; }
.corp-dot.is-active { background: var(--accent); box-shadow: 0 0 10px rgba(139,124,255,0.9); }

/* --- лайтбокс для лицензий и рейтинга --- */
.zoomable { cursor: zoom-in; transition: opacity .2s ease; }
.zoomable:hover { opacity: 0.86; }
.lightbox {
  position: fixed; inset: 0;
  background: rgba(5, 7, 20, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 32px;
  z-index: 10001;
  cursor: zoom-out;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: min(1100px, 92vw); max-height: 88vh; border-radius: var(--r-md); border: 1px solid var(--line); box-shadow: 0 40px 90px -30px rgba(0,0,0,0.9); }
.lightbox__close {
  position: absolute; top: 18px; right: 18px;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.08);
  color: #fff; font-size: 22px; line-height: 1;
  cursor: pointer;
}

@media (max-width: 1024px) {
  .whois-top, .whois-bottom, .gov { grid-template-columns: 1fr; }
  .clients { grid-template-columns: repeat(4, 1fr); }
  .media-logos { grid-template-columns: repeat(3, 1fr); }
  .research { flex-direction: column; }
  .research__photo { width: 100%; min-width: 0; min-height: 240px; }
}
@media (max-width: 700px) {
  .whois { padding: 60px 0; }
  .whois-h { margin: 48px 0 20px; }
  .whois-top, .whois-bottom, .gov, .gov__left { gap: 12px; }
  .whois-stat { padding: 20px; gap: 16px; flex-direction: column; align-items: flex-start; }
  .whois-stat__ico { width: 60px; height: 60px; min-width: 60px; }
  .clients { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .media-logos { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .research__body { padding: 22px; }
  .gov-card { padding: 22px; }
  .gov-grid2 { grid-template-columns: 1fr; gap: 4px; }
  .gov__photo, .corp-slider { min-height: 260px; }
  .whois-card { padding: 20px; }
}

/* заголовок секции «Кто мы» длиннее прочих — на общем размере уходил в четыре строки */
.whois .section-title--big { font-size: clamp(30px, 4.6vw, 60px); max-width: 22ch; }

/* ==========================================================
   ШИРОКАЯ СЕТКА — поля по краям как на business-ai-calculator:
   контейнер до 1760px, боковое поле = --edge + --gutter,
   по этой же вертикали стоят топбар, секции и подвал.
   ========================================================== */
:root {
  --edge: 12px;
  --gutter: clamp(20px, 2.6vw, 44px);
  --page: 1760px;
}
.container,
.footer__container {
  width: 100%;
  max-width: var(--page);
  margin-inline: auto;
  padding-inline: calc(var(--edge) + var(--gutter));
}
.topbar__inner { padding-inline: calc(var(--edge) + var(--gutter)); }

/* на широком экране колонки разъезжаются — держим длину строки читаемой */
.hero__inner { gap: clamp(40px, 5vw, 96px); }
.hero__content { max-width: 880px; }
.hero__bullets li { max-width: 820px; }
.hero__note { max-width: 640px; }
.program__lead { max-width: 820px; }
.program__item--special .program__head { max-width: 46ch; }
.gov-card__desc, .gov-card h4 { max-width: 72ch; }
.research__body p { max-width: 86ch; }
.gloss__def { max-width: 96ch; }
.audience__desc, .bonus__list li { max-width: 60ch; }
.tariff__grid { max-width: 1040px; }
.bonus--card .bonus__list li { max-width: none; }

/* от 1600px в программе помещается три колонки — иначе карточки пустеют */
@media (min-width: 1600px) {
  .program__items { grid-template-columns: repeat(3, 1fr); }
  .whois-top, .whois-bottom { gap: 22px; }
}
@media (min-width: 1500px) {
  .clients { gap: 14px; }
  .media-logos { gap: 14px; }
}

/* на мобилке широкие поля съедают строку в топбаре — держим прежние 18px */
@media (max-width: 700px) {
  :root { --gutter: 6px; }
}

/* на широком экране колонка спикера растягивала фото на пол-экрана */
.speaker__photo-wrap { max-width: 520px; }
.speaker__list li, .speaker__meta { max-width: 72ch; }
.speaker__inner { gap: clamp(40px, 5vw, 90px); align-items: center; }

/* ==========================================================
   ПЕРВЫЙ ЭКРАН БЕЗ ПРАВОЙ КАРТОЧКИ
   Карточка подарков из героя снята: контент идёт одной колонкой,
   заголовок держится в две строки по одной фразе в каждой.
   ========================================================== */
.hero > .hero__inner { grid-template-columns: 1fr; }
.hero > .hero__inner > .hero__content { max-width: none; }

/* размер считаем от ширины экрана, чтобы «БОЛЬШОЙ ПРАКТИКУМ»
   и «по вселенной OpenAI» всегда ложились в одну строку каждая */
.hero:not(.hero--bottom) .hero__title { font-size: min(6.6vw, 104px); }
@media (min-width: 1025px) {
  .hero:not(.hero--bottom) .hero__title { font-size: min(6.6vw, 104px); }
}
.hero:not(.hero--bottom) .hero__line { white-space: nowrap; }
.hero:not(.hero--bottom) .hero__line--italic { font-size: 1em; }

.hero:not(.hero--bottom) .hero__sub { max-width: 720px; font-size: clamp(17px, 1.5vw, 21px); }
.hero:not(.hero--bottom) .hero__bullets { max-width: 900px; }

@media (max-width: 700px) {
  .hero:not(.hero--bottom) .hero__title { font-size: min(7.4vw, 44px); }
  .hero:not(.hero--bottom) .hero__line--italic { font-size: 1.02em; }
}

/* ==========================================================
   «КОМУ ТОЧНО СТОИТ БЫТЬ» — карточки с фото-плашкой
   Сетка на 6 колонок: первый ряд — три карточки по 2 колонки,
   второй — две карточки по 3, то есть шире верхних.
   ========================================================== */
.audience__grid { grid-template-columns: repeat(6, 1fr); }
.audience__card {
  grid-column: span 2;
  padding: 0;
  overflow: hidden;
  gap: 0;
}
.audience__card--wide { grid-column: span 3; }

.audience__photo {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0d1229;
  border-bottom: 1px solid var(--line);
}
.audience__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.22,1,.36,1);
}
.audience__card:hover .audience__photo img { transform: scale(1.04); }
/* фото притушено снизу — текст под ним читается как продолжение карточки */
.audience__photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,14,34,0.75), rgba(10,14,34,0.05) 46%, transparent 70%);
  pointer-events: none;
}
.audience__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px;
}

@media (max-width: 1024px) {
  .audience__grid { grid-template-columns: repeat(2, 1fr); }
  .audience__card, .audience__card--wide { grid-column: span 1; }
  .audience__card:last-child { grid-column: span 2; }
}
@media (max-width: 700px) {
  .audience__grid { grid-template-columns: 1fr; }
  .audience__card, .audience__card--wide, .audience__card:last-child { grid-column: span 1; }
  .audience__body { padding: 20px; }
}

/* ==========================================================
   КНОПКИ КРУПНЕЕ — по всему сайту
   ========================================================== */
.btn {
  padding: 17px 30px;
  font-size: 16.5px;
  border-radius: 999px;
  gap: 12px;
}
.btn--lg { padding: 22px 40px; font-size: 19px; }
.btn--block { padding: 20px 32px; font-size: 17px; }
.btn__arrow { font-size: 1.1em; }

/* карточки аудитории без номеров — текст начинается с заголовка */
.audience__body { gap: 14px; }

@media (max-width: 700px) {
  .btn { padding: 16px 26px; font-size: 16px; }
  .btn--lg { padding: 19px 30px; font-size: 17px; }
  .btn--block { padding: 18px 26px; font-size: 16px; }
  .mcta .btn { padding: 19px 24px; font-size: 17px; }
  body { padding-bottom: calc(92px + env(safe-area-inset-bottom)); }
}

/* ==========================================================
   ШАПКА СНЯТА + ЗАГОЛОВОК ГЕРОЯ В ДВЕ РАВНЫЕ СТРОКИ
   ========================================================== */
.hero { padding-top: 56px; }

/* --title-fit считает скрипт в конце index.html: во сколько раз уменьшить
   гротескную строку, чтобы она стала такой же длины, как антиква под ней.
   0.71 — запасное значение, если скрипт не отработал. */
.hero__title { --title-fit: 0.71; }
.hero__line:first-child { font-size: calc(1em * var(--title-fit)); }

.hero:not(.hero--bottom) .hero__title { font-size: min(8.4vw, 132px); }
@media (min-width: 1025px) {
  .hero:not(.hero--bottom) .hero__title { font-size: min(8.4vw, 132px); }
}
.hero--bottom .hero__title { font-size: min(7vw, 104px); }
.hero--bottom .hero__line { white-space: nowrap; }
.hero--bottom .hero__line--italic { font-size: 1em; }

@media (max-width: 700px) {
  .hero { padding-top: 34px; }
  .hero:not(.hero--bottom) .hero__title { font-size: min(9.4vw, 54px); }
  .hero--bottom .hero__title { font-size: min(9.4vw, 54px); }
  .hero:not(.hero--bottom) .hero__line--italic,
  .hero--bottom .hero__line--italic { font-size: 1em; }
}

/* ==========================================================
   ЛОГОТИПЫ ВУЗОВ — во всю плашку
   ========================================================== */
.whois-logo { padding: 0; overflow: hidden; }
.whois-logo img { width: 100%; height: 100%; object-fit: contain; }

/* строки заголовка должны обжимать текст, иначе скрипт меряет ширину колонки,
   а не самой надписи, и подгонка не срабатывает */
.hero__title { align-items: flex-start; }
.hero__line { width: fit-content; }

/* плитка вуза = сама картинка: пропорция взята из файлов (694×524 и т.д.),
   поэтому логотип занимает плашку целиком, без полей по бокам */
.whois-logo { aspect-ratio: 694 / 524; }
.whois-logo img { object-fit: cover; }

/* ==========================================================
   ПРАВКИ ЗАГОЛОВКОВ 17.09
   ========================================================== */
/* «Мы создаем фундаментальное образование / в области ИИ и разработки» — две строки */
.whois .section-title--big { max-width: 34ch; font-size: clamp(28px, 3.9vw, 54px); }

/* кикер «/ для кого» — по центру над заголовком секции */
.audience .kicker,
.tariff .kicker,
.about .kicker {
  display: block;
  width: fit-content;
  margin-inline: auto;
}

/* «Кому точно стоит быть?» — одна строка */
.audience .section-title--big {
  font-size: clamp(30px, 4.4vw, 62px);
  white-space: nowrap;
}

/* у градиентных слов срезался хвост буквы и вопросительный знак:
   background-clip: text режет по краю бокса, добавляем запас справа */
.section-title em,
.hero__line--italic em,
.speaker__name em {
  padding-right: 0.08em;
  margin-right: -0.04em;
}

@media (max-width: 700px) {
  .audience .section-title--big { white-space: normal; font-size: clamp(28px, 8vw, 40px); }
}

/* ==========================================================
   КОМПОЗИЦИЯ ПЕРВОГО ЭКРАНА: окно Codex → результат → стикер
   Приём взят с claude-code-praktikum, пересобран под эту тему
   и под смыслы практикума (режимы OpenAI, Blender, GPT Live 1).
   ========================================================== */
@media (min-width: 1025px) {
  .hero > .hero__inner {
    grid-template-columns: 1.02fr 0.98fr;
    align-items: center;
  }
  .hero > .hero__inner > .hero__content { max-width: none; }
  /* кегль заголовка считаем от своей колонки, иначе строки без переносов вылезают */
  .hero:not(.hero--bottom) .hero__title { font-size: min(12.2cqw, 118px); }
}

.hero__visual { position: relative; z-index: 1; }
@media (max-width: 1024px) {
  .hero__visual { max-width: 620px; }
}

/* --- окно агента --- */
.codex {
  background: linear-gradient(180deg, rgba(16, 22, 52, 0.95), rgba(9, 13, 34, 0.95));
  border: 1px solid rgba(150,165,255,0.22);
  border-radius: var(--r-lg);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.06) inset,
    0 40px 90px -40px rgba(90,60,255,0.75);
  transform: rotate(-1.2deg);
  transition: transform .4s cubic-bezier(.22,1,.36,1);
  overflow: hidden;
}
.codex:hover { transform: rotate(0); }
.codex__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(150,165,255,0.14);
  background: rgba(255,255,255,0.03);
}
.codex__dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(150,165,255,0.35); }
.codex__dot:nth-child(2) { background: rgba(139,124,255,0.55); }
.codex__dot:nth-child(3) { background: rgba(90,215,255,0.5); }
.codex__title { margin-left: 10px; font-size: 11.5px; color: var(--text-dim); letter-spacing: 0.02em; }
.codex__body { padding: 20px 18px 22px; font-size: 13px; line-height: 1.75; }
.codex__body p { margin: 0; }
.codex__sign { color: var(--accent); }
.codex__typed { color: var(--text); }
.codex__cursor {
  color: var(--accent-cyan);
  animation: codex-blink 1.1s steps(1) infinite;
}
@keyframes codex-blink { 0%, 55% { opacity: 1; } 56%, 100% { opacity: 0; } }
.codex__out { color: var(--text-muted); }
.codex__ok { color: var(--accent-cyan); margin-right: 6px; }
.codex__run {
  display: inline-block;
  color: var(--accent);
  margin-right: 6px;
  animation: codex-spin 1.1s linear infinite;
}
@keyframes codex-spin { to { transform: rotate(360deg); } }

/* --- карточка результата --- */
.render {
  position: relative;
  z-index: 2;
  width: 84%;
  margin: -26px 0 0 12%;
  background-color: rgba(21, 28, 61, 0.86);
  background-image: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0) 50%);
  border: 1px solid rgba(150,165,255,0.22);
  border-radius: var(--r-md);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06) inset, 0 30px 70px -34px rgba(0,0,0,0.9);
  transform: rotate(1.4deg);
  transition: transform .4s cubic-bezier(.22,1,.36,1);
  overflow: hidden;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.render:hover { transform: rotate(0); }
.render__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(150,165,255,0.14);
  font-size: 11.5px;
}
.render__name { color: var(--text-muted); }
.render__live { color: var(--accent-cyan); }
.render__body {
  display: grid;
  grid-template-columns: 116px 1fr;
  gap: 18px;
  align-items: center;
  padding: 18px 16px;
}
.render__cube svg { width: 100%; height: auto; display: block; filter: drop-shadow(0 8px 22px rgba(124,92,255,0.45)); }
.render__side { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.render__label { font-size: 11px; color: var(--text-dim); letter-spacing: 0.04em; }

/* столбики голоса: «слушает и говорит одновременно» */
.render__wave { display: flex; align-items: flex-end; gap: 4px; height: 38px; }
.render__wave i {
  flex: 1;
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(180deg, #5ad7ff, #8b7cff);
  transform-origin: bottom;
  animation: wave 1.5s ease-in-out infinite;
}
.render__wave i:nth-child(1) { animation-delay: 0s;    opacity: .55; }
.render__wave i:nth-child(2) { animation-delay: .12s;  opacity: .7; }
.render__wave i:nth-child(3) { animation-delay: .24s;  opacity: .85; }
.render__wave i:nth-child(4) { animation-delay: .36s; }
.render__wave i:nth-child(5) { animation-delay: .18s; }
.render__wave i:nth-child(6) { animation-delay: .42s; opacity: .85; }
.render__wave i:nth-child(7) { animation-delay: .30s; opacity: .7; }
.render__wave i:nth-child(8) { animation-delay: .54s; opacity: .6; }
.render__wave i:nth-child(9) { animation-delay: .22s; opacity: .5; }
@keyframes wave {
  0%, 100% { transform: scaleY(0.22); }
  50%      { transform: scaleY(1); }
}

.render__modes { display: flex; flex-wrap: wrap; gap: 6px; }
.render__modes span {
  font-size: 10.5px;
  letter-spacing: 0.04em;
  padding: 5px 9px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--text-dim);
  background: rgba(255,255,255,0.03);
}
.render__modes .is-on {
  color: #fff;
  border-color: rgba(160,145,255,0.5);
  background: linear-gradient(135deg, rgba(139,124,255,0.45), rgba(90,70,230,0.35));
  box-shadow: 0 6px 18px -8px rgba(124,92,255,0.9);
}

/* --- стикер: всё на одной подписке --- */
.hero__badge {
  position: absolute;
  left: -16px;
  bottom: -26px;
  width: 132px; height: 132px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  text-align: center;
  background: radial-gradient(circle at 30% 25%, rgba(139,124,255,0.55), rgba(20,26,58,0.92) 70%);
  border: 1px solid rgba(160,145,255,0.45);
  box-shadow: 0 20px 50px -22px rgba(124,92,255,0.9);
  transform: rotate(-8deg);
}
.hero__badge-num {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-size: 46px;
  line-height: 1;
  color: #fff;
}
.hero__badge-label { font-size: 10px; line-height: 1.35; color: var(--accent-soft); letter-spacing: 0.04em; }

@media (max-width: 700px) {
  .codex__body { font-size: 12px; padding: 16px 14px 18px; }
  .render { width: 78%; margin-left: 22%; }
  .render__body { grid-template-columns: 88px 1fr; gap: 14px; padding: 14px; }
  .hero__badge { width: 104px; height: 104px; left: -8px; bottom: -18px; }
  .hero__badge-num { font-size: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  .render__wave i, .codex__run, .codex__cursor { animation: none; }
}

/* карточка результата ложится на нижние строки окна — держим там пустой запас
   и не даём столбикам голоса растягиваться на всю колонку */
.render__wave { max-width: 190px; height: 34px; }
.render__side { gap: 10px; }
.hero__badge { width: 124px; height: 124px; left: -10px; bottom: -22px; }
.hero__badge-label { font-size: 9.5px; max-width: 92px; }

/* на мобилке стикер уходил под карточку — сдвигаем карточку правее и уменьшаем стикер */
@media (max-width: 700px) {
  .hero__badge { width: 96px; height: 96px; left: -6px; bottom: -10px; }
  .hero__badge-num { font-size: 32px; }
  .hero__badge-label { font-size: 9px; max-width: 76px; }
  .render__body { grid-template-columns: 74px 1fr; }
  .render__wave { max-width: 150px; height: 28px; }
}

/* композиция героя была слишком широкой — ужимаем весь блок, пропорции сохраняются */
@media (min-width: 1025px) {
  .hero__visual { max-width: 600px; margin-left: auto; }
  .codex__body { font-size: 12.5px; }
  .render { width: 86%; margin-left: 14%; }
}

/* композицию ставим по центру своей колонки, стикер выводим из-под карточки */
@media (min-width: 1025px) {
  .hero__visual { margin-inline: auto; }
  .hero__badge { left: -34px; bottom: -30px; }
}

/* режимы должны укладываться в один ряд */
@media (min-width: 1025px) {
  .render__body { grid-template-columns: 96px 1fr; gap: 14px; }
  .render__modes span { font-size: 10px; padding: 4px 8px; }
  .render__wave { max-width: 170px; }
}

.render__modes { flex-wrap: nowrap; }
.render__modes span { white-space: nowrap; }

/* «Codex» упирался в правый край карточки */
@media (min-width: 1025px) {
  .render__body { padding-right: 20px; }
  .render__modes { gap: 5px; }
}

/* ==========================================================
   ПОДАРКИ УЧАСТНИКАМ — три компактные карточки в ряд
   ========================================================== */
.gifts3 { margin-top: 44px; text-align: center; }
.gifts3__kicker { display: inline-block; margin-bottom: 14px; }
.gifts3__title {
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 auto 26px;
  max-width: 34ch;
}
.gifts3__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  text-align: left;
}
.gift3 {
  display: grid;
  grid-template-columns: minmax(0, 53%) minmax(0, 47%);
  align-items: center;
  gap: 10px;
  padding: 20px 18px;
  min-height: 168px;
  background-color: rgba(21, 28, 61, 0.62);
  background-image: linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0) 52%);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: 0 1px 0 rgba(255,255,255,0.05) inset, 0 24px 56px -34px rgba(0,0,0,0.9);
  transition: border-color .22s ease, box-shadow .22s ease;
}
.gift3:hover {
  border-color: rgba(139,124,255,0.42);
  box-shadow: 0 1px 0 rgba(255,255,255,0.07) inset, 0 0 0 1px rgba(139,124,255,0.16), 0 28px 60px -34px rgba(90,60,255,0.5);
}
.gift3__text { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.gift3__top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.gift3__num { font-size: 11px; color: var(--accent); letter-spacing: 0.06em; }
.gift3__tag {
  font-size: 9.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-soft);
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(139,124,255,0.3);
  background: rgba(139,124,255,0.12);
}
.gift3__name {
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: 17px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--text);
}
.gift3__desc { font-size: 13.5px; line-height: 1.45; color: var(--text-muted); }
.gift3__ico { display: flex; align-items: center; justify-content: center; min-width: 0; }
.gift3__ico img {
  width: 100%;
  max-height: 128px;
  object-fit: contain;
  filter: drop-shadow(0 14px 26px rgba(90,60,255,0.45));
}

@media (max-width: 1024px) {
  .gifts3__grid { grid-template-columns: repeat(2, 1fr); }
  .gifts3__grid .gift3:last-child { grid-column: span 2; }
}
@media (max-width: 700px) {
  .gifts3 { margin-top: 30px; }
  .gifts3__grid { grid-template-columns: 1fr; gap: 12px; }
  .gifts3__grid .gift3:last-child { grid-column: span 1; }
  .gift3 { min-height: 0; padding: 16px; grid-template-columns: minmax(0, 58%) minmax(0, 42%); }
  .gift3__ico img { max-height: 104px; }
}

/* композиция героя была узковата — расширяем на 100px */
@media (min-width: 1025px) {
  .hero__visual { max-width: 700px; }
}

/* правая колонка героя шире левой: max-width сам по себе не работал —
   ширину задаёт колонка грида, а не сам блок */
@media (min-width: 1025px) {
  .hero > .hero__inner { grid-template-columns: 1fr 1.24fr; gap: clamp(32px, 3.4vw, 64px); }
}

/* ==========================================================
   ПРАВКИ 17.09 (вечер)
   ========================================================== */
/* 1) пункт 07 программы — в одну строку */
.program__item--special .program__head { max-width: none; }

/* 2) подарки: крупнее текст + отдельная секция сразу после первого экрана */
.gifts-sec { padding: 46px 0 8px; }
.gifts-sec .gifts3 { margin-top: 0; }
.gift3 { min-height: 184px; padding: 22px 20px; }
.gift3__num { font-size: 12.5px; }
.gift3__tag { font-size: 11px; padding: 5px 10px; }
.gift3__name { font-size: 20px; }
.gift3__desc { font-size: 15px; }
.gifts3__title { font-size: clamp(24px, 2.4vw, 36px); }

/* 3) карточки композиции героя шире */
@media (min-width: 1025px) {
  .hero > .hero__inner { grid-template-columns: 1fr 1.45fr; }
  .hero__visual { max-width: 780px; }
  .render { width: 92%; margin-left: 8%; }
  .codex__body { font-size: 13.5px; }
  .render__body { grid-template-columns: 116px 1fr; }
  .render__wave { max-width: 210px; height: 38px; }
  .render__modes span { font-size: 11px; padding: 5px 10px; }
  .gift3__name { font-size: 21px; }
}

/* 4) фото спикера ближе к тексту */
.speaker__inner { gap: clamp(24px, 2.2vw, 44px); }

@media (max-width: 700px) {
  .gifts-sec { padding: 34px 0 4px; }
  .gift3__name { font-size: 18px; }
  .gift3__desc { font-size: 14px; }
}

/* колонки героя — как были; шире делаем сами карточки:
   блок выходит за свою колонку влево в промежуток и чуть вправо в поле */
@media (min-width: 1025px) {
  .hero > .hero__inner { grid-template-columns: 1.02fr 0.98fr; gap: clamp(40px, 5vw, 96px); }
  .hero__visual {
    max-width: none;
    width: calc(100% + 150px);
    margin-left: -100px;
    margin-right: -50px;
  }
  .render { width: 92%; margin-left: 8%; }
}

/* влево расширять нельзя — карточки наезжали на текст; растём только вправо, в поле страницы */
@media (min-width: 1025px) {
  .hero__visual { width: calc(100% + 100px); margin-left: 0; margin-right: -100px; }
}

/* +100 уезжало за край экрана — оставляем прибавку в пределах поля страницы */
@media (min-width: 1025px) {
  .hero__visual { width: calc(100% + 46px); margin-right: -46px; }
}

/* карточки уже нужного: сужаем блок на 100px, колонки не трогаем */
@media (min-width: 1025px) {
  .hero__visual { width: calc(100% - 54px); margin-right: 0; margin-left: 54px; }
}

/* ещё -100px к ширине карточек, колонки прежние */
@media (min-width: 1025px) {
  .hero__visual { width: calc(100% - 154px); margin-left: 154px; }
}

/* тот же размер, просто сдвиг на 100px влево — карточки встают по центру колонки */
@media (min-width: 1025px) {
  .hero__visual { margin-left: 54px; margin-right: 100px; }
}

/* подарки внутри программы и блока «Кому точно стоит быть» — отступ сверху 80px */
.program .gifts3,
.audience .gifts3 { margin-top: 80px; }

/* ==========================================================
   ПОДВАЛ — свой фон и ховер ссылок
   ========================================================== */
.footer { background: #101531; }
.footer__col a,
.footer__contact-value {
  transition: color .18s ease, text-decoration-color .18s ease;
}
.footer__col a:hover,
.footer__contact-value:hover {
  color: #7f8eff;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* ==========================================================
   ФОТО В НИЖНЕМ ГЕРОЕ — в стиле фото спикера
   ========================================================== */
.hero__inner--photo {
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  max-width: none;
  gap: clamp(32px, 4vw, 72px);
}
.hero__photo { position: relative; z-index: 1; max-width: 480px; margin-inline: auto; width: 100%; }
.hero__photo-frame {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: #0d1229;
  aspect-ratio: 1055 / 941;
  border: 1px solid var(--line-strong);
  transform: rotate(-2deg);
  transition: transform .35s ease;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.06) inset,
    0 40px 90px -42px rgba(124,92,255,0.65);
}
.hero__photo-frame:hover { transform: rotate(0); }
.hero__photo-frame img { width: 100%; height: 100%; object-fit: cover; }
/* фото уходит в общий фон снизу, как у спикера */
.hero__photo-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to top, rgba(7,10,26,0.72), rgba(7,10,26,0.10) 48%, transparent 72%);
}

@media (max-width: 1024px) {
  .hero__inner--photo { grid-template-columns: 1fr; }
  .hero__photo { max-width: 420px; margin-top: 8px; }
}

/* фото в нижнем герое тянется по высоте текстовой колонки */
@media (min-width: 1025px) {
  .hero__inner--photo { align-items: stretch; }
  .hero__photo { max-width: none; display: flex; }
  .hero__photo-frame { aspect-ratio: auto; width: 100%; height: 100%; }
  .hero__photo-frame img { height: 100%; }
}

/* высота — по блоку, ширина обратно узкая: кадр кропится по своей колонке */
@media (min-width: 1025px) {
  .hero__inner--photo { grid-template-columns: 1.05fr 0.62fr; }
  .hero__photo { max-width: 420px; margin-left: auto; margin-right: 0; }
}

/* возвращаем широкое фото и добавляем высоты; заголовок блока считаем от своей колонки */
@media (min-width: 1025px) {
  .hero__inner--photo { grid-template-columns: 1.05fr 0.95fr; align-items: stretch; }
  .hero__photo { max-width: none; margin-inline: auto; display: flex; }
  .hero__photo-frame { width: 100%; height: auto; margin-block: -34px; min-height: calc(100% + 68px); }
  .hero--bottom .hero__title { font-size: min(12cqw, 96px); }
}

/* 1) отсчёт по ширине плашки с датой (ширину проставляет скрипт) */
.hero:not(.hero--bottom) .countdown {
  justify-content: center;
  box-sizing: border-box;
}

/* 2) карточки «вузы» и «лицензии» равной высоты: плитки логотипов тянутся */
.whois-bottom { align-items: stretch; }
.whois-card { display: flex; flex-direction: column; }
.whois-logos { flex: 1; grid-auto-rows: 1fr; }
.whois-logo { aspect-ratio: auto; height: 100%; }
.whois-logo img { object-fit: contain; padding: 6px; }

/* 4) плитки логотипов клиентов и СМИ — чистый белый фон */
.client, .media-logo, .whois-logo { background: #fff; }

/* отсчёт: ширина по содержимому, высота — как у плашки с датой (ставит скрипт) */
.hero:not(.hero--bottom) .countdown {
  width: auto;
  justify-content: flex-start;
  align-items: center;
}

/* немного шире плашку отсчёта: поля по бокам больше */
.hero:not(.hero--bottom) .countdown { padding-inline: 26px; }

/* в широких карточках нижнего ряда текст тянется на всю ширину плашки */
.audience__card--wide .audience__desc,
.audience__card--wide .audience__title { max-width: none; }

/* тексты в карточках подарков — по верхнему краю, номер и плашка всегда в одну строку */
.gift3 { align-items: start; }
.gift3__ico { align-self: center; }
.gift3__top { flex-wrap: nowrap; }
.gift3__tag { white-space: nowrap; }

/* ==========================================================
   ПРАВКИ 18.09
   ========================================================== */
/* 3) плашки-кикеры пишем как есть, без принудительного нижнего регистра */
.kicker { text-transform: none; }

/* 2) программа: три карточки в ряду до 1000px, «а еще» — четыре в ряд,
   на 1000–1200px по две */
.program__items { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 1000px) {
  .program > .container > .program__items { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1000px) and (max-width: 1200px) {
  .program__more .program__items { grid-template-columns: repeat(2, 1fr); }
  .program__more .program__item--wide { grid-column: span 2; }
}
@media (min-width: 1201px) {
  .program__more .program__items { grid-template-columns: repeat(4, 1fr); }
  .program__more .program__item--wide { grid-column: auto; }
}
@media (max-width: 999px) {
  .program__items { grid-template-columns: 1fr; }
  .program__item--wide { grid-column: auto; }
}

/* 6) описания в карточках «кому подойдет» начинаются на одной линии */
@media (min-width: 701px) {
  .audience__title { min-height: 3.1em; display: flex; align-items: flex-start; }
}

/* в широких карточках нижнего ряда резерв под вторую строку заголовка не нужен */
.audience__card--wide .audience__title { min-height: 0; }

/* карточки программы — вертикально: номер, короткая линия, текст */
.program__item { flex-direction: column; gap: 14px; }
.program__num {
  border-right: none;
  padding-right: 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.program__num::after {
  content: "";
  display: block;
  width: 44px;
  height: 1px;
  background: linear-gradient(to right, rgba(139,124,255,0.75), rgba(150,165,255,0.12));
}
.program__item--special .program__num::after {
  background: linear-gradient(to right, rgba(205,198,255,0.85), rgba(205,198,255,0.15));
}

/* ==========================================================
   ПОПАП РЕГИСТРАЦИИ — виджеты GetCourse рисуются внутри .gcp-w
   ========================================================== */
.gcp {
  position: fixed;
  inset: 0;
  z-index: 9500;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  transition: opacity .22s ease, visibility 0s .22s;
}
.gcp.is-open { visibility: visible; opacity: 1; pointer-events: auto; transition-delay: 0s; }
.gcp-back {
  position: absolute; inset: 0;
  background: rgba(5, 7, 20, 0.82);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.gcp-card {
  position: relative;
  z-index: 1;
  width: min(620px, 100%);
  max-height: min(90vh, 900px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--r-lg);
  border: 1px solid rgba(150,165,255,0.24);
  background: #111828;
  box-shadow: 0 40px 90px -36px rgba(0,0,0,0.9), 0 0 0 1px rgba(139,124,255,0.14);
  transform: translateY(12px);
  transition: transform .25s cubic-bezier(.22,1,.36,1);
}
.gcp.is-open .gcp-card { transform: none; }
.gcp-x {
  position: absolute;
  top: 10px; right: 10px;
  z-index: 2;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  transition: background .18s ease;
}
.gcp-x:hover { background: rgba(255,255,255,0.18); }
.gcp-body { flex: 1 1 auto; min-height: 0; overflow: auto; -webkit-overflow-scrolling: touch; }
.gcp-body iframe { display: block; width: 100%; min-height: 520px; border: 0; }
.gcp-w { display: none; width: 100%; }
.gcp-w.is-on { display: block; }
.gcp-stub { padding: 40px 28px; text-align: center; color: var(--text); }
.gcp-stub b { display: block; font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.gcp-stub p { font-size: 15px; line-height: 1.55; color: var(--text-muted); margin: 0; }
.gcp-stub a { color: var(--accent-soft); text-decoration: underline; }

@media (max-width: 700px) {
  .gcp { padding: 0; align-items: flex-end; }
  .gcp-card {
    width: 100%;
    max-height: 92vh;
    border-radius: var(--r-lg) var(--r-lg) 0 0;
    padding-bottom: env(safe-area-inset-bottom);
  }
}
