:root {
  --dark: #0d1b2a;
  --dark-2: #071522;
  --blue: #2448ff;
  --blue-2: #e8effd;
  --green: #42c84d;
  --green-dark: #149d32;
  --text: #111827;
  --muted: #667085;
  --line: #dce3ee;
  --soft: #f5f6fa;
  --white: #ffffff;
  --danger: #c93535;
  --shadow: 0 18px 44px rgba(13, 27, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 16px;
  letter-spacing: 0;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background-image:
    linear-gradient(rgba(36, 72, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(36, 72, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), transparent 72%);
}

button,
input,
select {
  font: inherit;
  letter-spacing: 0;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 790px;
  margin-bottom: 22px;
  color: var(--white);
  font-size: 4.1rem;
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: 2.6rem;
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 32px));
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  transform: translateX(-50%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--dark);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  grid-template-rows: 1fr 1fr;
  width: 32px;
  height: 26px;
  overflow: hidden;
  background: var(--dark);
  border-radius: 5px;
}

.brand-mark span:first-child {
  background: var(--blue);
}

.brand-mark span:last-child {
  background: var(--green);
}

.brand-text {
  font-size: 0.94rem;
  font-weight: 850;
  line-height: 0.88;
}

.small-cta,
.primary-btn,
.telegram-btn {
  border-radius: 8px;
}

.small-cta {
  min-height: 42px;
  padding: 0 18px;
  color: var(--white);
  background: var(--blue);
  border: 0;
  font-weight: 800;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.72fr);
  gap: 56px;
  align-items: center;
  min-height: 760px;
  padding: 130px max(24px, calc((100% - 1180px) / 2)) 72px;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(13, 27, 42, 0.98), rgba(13, 27, 42, 0.9)),
    var(--dark);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-copy::before {
  position: absolute;
  top: -52px;
  left: 0;
  width: 86px;
  height: 4px;
  content: "";
  background: linear-gradient(90deg, var(--green), var(--blue));
}

.eyebrow {
  margin-bottom: 16px;
  color: var(--green);
  font-size: 0.84rem;
  font-weight: 850;
  text-transform: uppercase;
}

.lead-text {
  max-width: 720px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.22rem;
  line-height: 1.55;
}

.event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.event-meta span {
  padding: 10px 14px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  font-weight: 750;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.hero-actions p {
  max-width: 360px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.4;
}

.primary-btn {
  min-height: 54px;
  padding: 0 24px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), #1635cc);
  border: 0;
  box-shadow: 0 14px 34px rgba(36, 72, 255, 0.32);
  font-weight: 850;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.primary-btn:hover {
  box-shadow: 0 18px 42px rgba(36, 72, 255, 0.42);
  transform: translateY(-2px);
}

.hero-visual {
  position: relative;
  min-height: 500px;
}

.hero-visual img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.34);
}

.hero-visual::before,
.hero-visual::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.hero-visual::before {
  inset: 0;
  background:
    linear-gradient(90deg, rgba(13, 27, 42, 0.38), transparent 45%),
    linear-gradient(180deg, transparent, rgba(13, 27, 42, 0.36));
  border-radius: 8px;
}

.hero-visual::after {
  top: 20px;
  right: 20px;
  bottom: 20px;
  left: 20px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
}

.hero-card {
  position: absolute;
  right: 28px;
  bottom: 28px;
  width: 280px;
  padding: 18px;
  color: var(--white);
  background: rgba(13, 27, 42, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
}

.hero-card span {
  display: block;
  margin-bottom: 7px;
  color: var(--green);
  font-weight: 850;
  text-transform: uppercase;
}

.hero-card strong {
  display: block;
  line-height: 1.25;
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 96px 0;
}

.section-head {
  max-width: 780px;
  margin-bottom: 34px;
}

.section-head p:not(.eyebrow),
.registration-copy p,
.telegram-copy p,
.speaker-copy p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.6;
}

.intro {
  background: var(--white);
}

.learning-grid,
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.info-card,
.segment,
.registration-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.info-card {
  min-height: 238px;
  padding: 24px;
}

.icon,
.segment span {
  display: inline-grid;
  place-items: center;
  height: 38px;
  margin-bottom: 34px;
  color: var(--blue);
  background: rgba(36, 72, 255, 0.08);
  border: 1px solid rgba(36, 72, 255, 0.14);
  border-radius: 8px;
  font-weight: 900;
}

.icon {
  width: 42px;
}

.info-card p,
.segment p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.audience {
  width: 100%;
  max-width: none;
  padding: 96px max(16px, calc((100% - 1180px) / 2));
  background: var(--blue-2);
}

.audience .section-head,
.audience-grid {
  width: min(1180px, 100%);
  margin-right: auto;
  margin-left: auto;
}

.segment {
  min-height: 220px;
  padding: 24px;
}

.segment span {
  width: 54px;
  color: var(--green-dark);
  background: rgba(66, 200, 77, 0.1);
  border-color: rgba(66, 200, 77, 0.22);
}

.speaker {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 54px;
  align-items: center;
}

.speaker-photo {
  display: grid;
  place-items: center;
  width: 280px;
  aspect-ratio: 1;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(36, 72, 255, 0.92), rgba(66, 200, 77, 0.92)),
    var(--dark);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.speaker-photo span {
  font-size: 4rem;
  font-weight: 900;
}

.speaker-role {
  margin-bottom: 14px;
  color: var(--green-dark) !important;
  font-weight: 850;
}

.speaker-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.speaker-tags li {
  padding: 9px 12px;
  color: var(--dark);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 750;
}

.registration {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(420px, 0.86fr);
  gap: 54px;
  align-items: start;
}

.registration-copy {
  position: sticky;
  top: 120px;
}

.registration-form {
  display: grid;
  gap: 16px;
  padding: 28px;
}

.registration-form label {
  display: grid;
  gap: 8px;
  color: var(--dark);
  font-weight: 750;
}

.registration-form input,
.registration-form select {
  width: 100%;
  min-height: 54px;
  padding: 0 15px;
  color: var(--text);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: none;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.registration-form input:focus,
.registration-form select:focus {
  background: var(--white);
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(36, 72, 255, 0.12);
}

.registration-form .primary-btn {
  width: 100%;
  margin-top: 4px;
}

.policy,
.form-status {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.policy a {
  color: var(--blue);
  font-weight: 750;
}

.form-status {
  min-height: 22px;
  color: var(--green-dark);
  font-weight: 750;
}

.telegram {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  padding: 72px max(16px, calc((100% - 1180px) / 2));
  color: var(--white);
  background: var(--dark);
}

.telegram-copy {
  max-width: 760px;
}

.telegram-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.74);
}

.telegram-btn {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  color: var(--white);
  background: var(--blue);
  text-decoration: none;
  font-weight: 850;
}

.telegram-btn span {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: var(--blue);
  background: var(--white);
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 900;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 26px;
  justify-content: center;
  padding: 28px 16px 34px;
  color: var(--muted);
  background: var(--white);
  border-top: 1px solid var(--line);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 620ms ease,
    transform 620ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 100ms;
}

.delay-2 {
  transition-delay: 180ms;
}

@media (max-width: 1060px) {
  .hero,
  .speaker,
  .registration {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  h1 {
    font-size: 3.35rem;
  }

  h2 {
    font-size: 2.2rem;
  }

  .hero-visual {
    min-height: auto;
  }

  .learning-grid,
  .audience-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .registration-copy {
    position: static;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 15px;
  }

  .site-header {
    top: 10px;
    right: 10px;
    left: 10px;
    width: auto;
    padding: 10px;
    transform: none;
  }

  .small-cta {
    display: none;
  }

  .hero {
    gap: 34px;
    padding: 112px 10px 54px;
  }

  h1 {
    font-size: 2.55rem;
    line-height: 1.03;
  }

  h2 {
    font-size: 1.9rem;
  }

  .lead-text,
  .section-head p:not(.eyebrow),
  .registration-copy p,
  .telegram-copy p,
  .speaker-copy p {
    font-size: 1rem;
  }

  .hero-actions,
  .telegram {
    grid-template-columns: 1fr;
  }

  .event-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .event-meta span {
    text-align: center;
  }

  .primary-btn,
  .telegram-btn,
  .small-cta {
    width: auto;
  }

  .hero-actions .primary-btn,
  .telegram-btn {
    width: 100%;
  }

  .hero-visual img {
    height: 330px;
  }

  .hero-card {
    right: 14px;
    bottom: 14px;
    left: 14px;
    width: auto;
  }

  .section,
  .audience,
  .registration,
  .speaker {
    width: min(100% - 20px, 1180px);
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .audience,
  .telegram {
    width: 100%;
    padding-right: 10px;
    padding-left: 10px;
  }

  .learning-grid,
  .audience-grid {
    grid-template-columns: 1fr;
  }

  .speaker-photo {
    width: 100%;
    max-width: 280px;
  }

  .registration-form {
    padding: 20px;
  }

  .telegram {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}
