:root {
  --blue: #0764da;
  --cyan: #40a6ff;
  --lavender: #e3eaff;
  --ink: #0c1018;
  --muted: #5c6270;
  --white: #fff;
  --line: rgba(12, 16, 24, .14);
  --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.35;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }
button { cursor: pointer; }
.container { width: min(var(--container), calc(100% - 48px)); margin: 0 auto; }
.section { padding: 42px 0 72px; }
h1, h2, h3, p { margin-top: 0; }
h2 {
  margin-bottom: 34px;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.05;
  font-weight: 500;
  text-align: center;
}

.site-header { padding: 0 0 10px; }
.nav-shell {
  position: relative;
  min-height: 80px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  gap: 34px;
  color: #fff;
  background: var(--blue);
  border-radius: 0 0 10px 10px;
}
.brand { flex: 0 0 auto; }
.brand img { filter: invert(1); }
.nav { display: flex; gap: 30px; margin-left: auto; }
.nav a { font-size: 15px; transition: opacity .2s; }
.nav a:hover { opacity: .7; }
.button {
  min-height: 52px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-weight: 500;
  transition: transform .2s, background .2s;
}
.button:hover { transform: translateY(-2px); }
.button-light { color: #111; background: #fff; }
.button-primary { color: #fff; background: var(--blue); }
.header-cta { min-height: 46px; padding-inline: 20px; font-size: 15px; }
.menu-button { display: none; width: 44px; height: 44px; padding: 10px; border: 0; border-radius: 8px; background: #fff; }
.menu-button span { display: block; height: 2px; margin: 5px 0; background: #111; }

.hero { padding-top: 10px; }
.hero-card {
  position: relative;
  min-height: 670px;
  padding: 42px 42px 40px;
  overflow: hidden;
  background: var(--lavender);
  border-radius: 15px;
}
.meta-row { display: flex; flex-wrap: wrap; gap: 14px; padding-right: 315px; }
.meta-pill { padding: 5px 18px; background: #fff; border-radius: 10px; font-size: 14px; font-weight: 500; }
.partner-logos {
  position: absolute;
  top: 42px;
  right: 42px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.partner-purrweb { width: 125px; }
.partner-divider { width: 1px; height: 40px; background: rgba(0, 0, 0, .2); }
.mriya-life-logo { width: 150px; height: 58px; object-fit: contain; mix-blend-mode: multiply; }
.hero h1 {
  position: relative;
  z-index: 1;
  max-width: 1040px;
  margin: 108px 0 34px;
  font-size: clamp(48px, 5.15vw, 72px);
  line-height: .98;
  font-weight: 400;
  letter-spacing: -.045em;
}
.hero-description { position: relative; z-index: 1; max-width: 800px; margin-bottom: 30px; font-size: 18px; line-height: 1.35; }
.hero-bottom { position: relative; z-index: 1; display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.speaker-lead { max-width: 650px; margin: 0; font-size: 17px; }
.cta-group { display: inline-flex; align-items: stretch; gap: 10px; flex: 0 0 auto; }
.cta-arrow { width: 66px; min-height: 60px; display: grid; place-items: center; color: #111; background: #fff; border: 1px solid #111; border-radius: 10px; font-size: 27px; transition: transform .2s; }
.cta-group:hover .cta-arrow { transform: translateX(3px); }
.cta-group .button { min-width: 214px; min-height: 60px; }
.cta-group-dark .cta-arrow { color: #fff; background: #111; border-color: #111; }
.section-cta { margin-top: 28px; display: flex; justify-content: flex-end; }

.agenda { padding-top: 24px; }
.agenda-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.agenda-card {
  position: relative;
  min-height: 285px;
  padding: 78px 22px 24px;
  border-radius: 10px;
}
.agenda-card p { margin: 0; font-size: 19px; line-height: 1.13; font-weight: 500; }
.agenda-card-blue { color: #fff; background: var(--blue); }
.agenda-card-cyan { color: #fff; background: var(--cyan); }
.agenda-card-light { color: #111; background: var(--lavender); }
.agenda-number {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: #111;
  background: #fff;
  border-radius: 50%;
  font-size: 21px;
  font-weight: 500;
}

.speakers { background: #f7f7f5; }
.speakers-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 72px; max-width: 1040px; margin: 0 auto; }
.speaker-card { min-width: 0; }
.speaker-visual { position: relative; height: 410px; overflow: hidden; border-radius: 15px; }
.speaker-photo { width: 100%; height: 100%; object-fit: contain; object-position: bottom center; }
.speaker-visual-ksenia { background: var(--lavender); }
.speaker-visual-sergey { background: var(--cyan); }
.speaker-company-mriya { position: absolute; top: 18px; right: 18px; width: 138px; display: grid; justify-items: center; gap: 2px; }
.speaker-mriya-life { width: 138px; height: 54px; object-fit: contain; mix-blend-mode: multiply; }
.speaker-company-logo { position: absolute; top: 24px; right: 24px; width: 116px; filter: invert(1); }
.speaker-name { position: relative; width: 82%; min-height: 112px; margin: -70px 0 0 auto; padding: 19px 22px; border-radius: 10px; }
.speaker-name h3 { margin: 0 0 8px; font-size: 25px; font-weight: 500; }
.speaker-name p { margin: 0; }
.speaker-name-blue { color: #fff; background: var(--blue); }
.speaker-name-light { color: #111; background: #fff; }
.speaker-facts { margin: 28px 0 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.speaker-facts li { padding-bottom: 14px; border-bottom: 1px solid var(--line); }

.audience-intro { max-width: 760px; margin: -16px auto 34px; text-align: center; font-size: 18px; }
.audience-panel { padding: 34px 40px; display: grid; grid-template-columns: .8fr 1.4fr; gap: 70px; color: #fff; background: var(--blue); border-radius: 10px; }
.audience-panel h3 { margin: 0; font-size: 34px; line-height: 1.05; }
.audience-list { display: grid; gap: 0; }
.audience-list article { padding: 0 0 22px; display: grid; grid-template-columns: 44px 1fr; gap: 18px; border-bottom: 1px solid rgba(255,255,255,.3); }
.audience-list article + article { padding-top: 22px; }
.audience-list article:last-child { padding-bottom: 0; border-bottom: 0; }
.audience-list p { margin: 0; }
.audience-icon { width: 40px; height: 40px; display: grid; place-items: center; color: #111; background: #fff; border-radius: 50%; font-size: 20px; }

.register { padding-bottom: 84px; background: #111620; }
.register-shell { padding: 52px; display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; color: #fff; background: var(--blue); border-radius: 16px; }
.eyebrow { display: inline-flex; padding: 6px 12px; color: #111; background: #fff; border-radius: 8px; font-size: 13px; text-transform: uppercase; letter-spacing: .07em; }
.register h2 { margin: 28px 0 20px; text-align: left; font-size: clamp(44px, 5vw, 66px); }
.register-copy > p { max-width: 440px; font-size: 20px; }
.register-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.register-meta span { padding: 8px 12px; border: 1px solid rgba(255,255,255,.55); border-radius: 8px; }
.registration-form { padding: 30px; display: grid; gap: 18px; color: #111; background: #fff; border-radius: 12px; }
.registration-form label { display: grid; gap: 7px; font-size: 14px; }
.registration-form input { width: 100%; height: 50px; padding: 0 14px; border: 1px solid #b8bcc5; border-radius: 8px; outline: none; }
.registration-form input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(7,100,218,.14); }
.form-submit { min-height: 58px; padding: 0; display: grid; grid-template-columns: 64px 1fr; align-items: stretch; overflow: hidden; color: #fff; background: var(--blue); border: 0; border-radius: 9px; font-weight: 500; }
.form-submit-arrow { display: grid; place-items: center; color: #111; background: var(--lavender); font-size: 25px; }
.form-submit > span:last-child { display: grid; place-items: center; }
.form-submit:disabled { opacity: .65; cursor: default; }
.consent { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; font-size: 13px; line-height: 1.45; }
.consent input { width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--blue); }
.consent a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.hp-field { position: absolute; left: -4000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; font-size: 14px; line-height: 1.45; }
.form-status:empty { display: none; }
.form-status.is-err { color: #c02716; }

.thanks-modal { position: fixed; z-index: 50; inset: 0; padding: 24px; display: none; align-items: center; justify-content: center; background: rgba(12,16,24,.62); }
.thanks-modal.is-open { display: flex; }
.thanks-modal-card { position: relative; width: min(430px, 100%); padding: 40px 32px 36px; background: #fff; border-radius: 15px; text-align: center; }
.thanks-modal-card h3 { margin: 0 0 12px; font-size: 26px; font-weight: 500; }
.thanks-modal-card p { margin: 0 0 26px; color: var(--muted); font-size: 16px; line-height: 1.45; }
.modal-tg { min-height: 54px; }
.modal-close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; color: var(--ink); background: var(--lavender); border: 0; border-radius: 8px; font-size: 20px; }
body.modal-open { overflow: hidden; }

.footer { padding: 52px 0 110px; color: #fff; background: #111620; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr .8fr; gap: 50px; }
.footer h3 { margin-bottom: 18px; font-size: 16px; }
.footer p { color: #bbc0ca; }
.footer a { display: block; margin-bottom: 10px; text-decoration: underline; text-underline-offset: 3px; }
.footer-brand img { width: 150px; margin-bottom: 24px; filter: invert(1); }
.footer-brand p { max-width: 330px; }
.footer-legal p { margin-bottom: 8px; font-size: 13px; }

.cookie-banner {
  position: fixed;
  z-index: 30;
  right: 20px;
  bottom: 20px;
  width: min(520px, calc(100% - 40px));
  padding: 20px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 16px 50px rgba(0,0,0,.2);
}
.cookie-banner p { margin: 0; font-size: 13px; }
.cookie-banner a { text-decoration: underline; }
.cookie-accept { padding: 10px 18px; color: #fff; background: var(--blue); border: 0; border-radius: 8px; }
.cookie-banner.is-hidden { display: none; }

@media (max-width: 980px) {
  .container { width: min(100% - 32px, var(--container)); }
  .nav { gap: 18px; }
  .nav a { font-size: 14px; }
  .header-cta { display: none; }
  .hero-card { min-height: auto; }
  .meta-row { padding-right: 0; margin-top: 74px; }
  .partner-logos { top: 32px; left: 32px; right: auto; }
  .hero h1 { margin-top: 60px; }
  .hero-bottom { align-items: flex-start; flex-direction: column; }
  .agenda-grid { grid-template-columns: repeat(2, 1fr); }
  .speakers-grid { gap: 28px; }
  .audience-panel { grid-template-columns: 1fr; gap: 34px; }
  .register-shell { grid-template-columns: 1fr; gap: 38px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .section { padding: 30px 0 54px; }
  .container { width: min(100% - 24px, var(--container)); }
  h2 { margin-bottom: 26px; font-size: 32px; }
  .site-header { padding-bottom: 6px; }
  .nav-shell { min-height: 66px; padding: 0 14px; }
  .brand img { width: 132px; }
  .menu-button { display: block; margin-left: auto; }
  .nav {
    position: fixed;
    z-index: 25;
    inset: 0;
    padding: 110px 28px 28px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 26px;
    color: #fff;
    background: var(--blue);
  }
  .nav.is-open { display: flex; }
  .nav a { font-size: 28px; }
  .menu-button { position: relative; z-index: 26; }
  .hero { padding-top: 6px; }
  .hero-card { padding: 24px 20px 26px; border-radius: 12px; }
  .partner-logos { position: static; gap: 14px; }
  .partner-purrweb { width: 104px; }
  .partner-divider { height: 32px; }
  .mriya-life-logo { width: 126px; height: 48px; }
  .meta-row { margin-top: 28px; gap: 8px; }
  .meta-pill { padding: 5px 10px; font-size: 12px; }
  .hero h1 { margin: 48px 0 28px; font-size: 40px; line-height: 1; }
  .hero-description { font-size: 16px; }
  .speaker-lead { font-size: 15px; }
  .cta-group { width: 100%; }
  .cta-group .button { min-width: 0; flex: 1; padding-inline: 14px; }
  .cta-arrow { width: 58px; }
  .section-cta { justify-content: stretch; }
  .agenda-grid { grid-template-columns: 1fr; }
  .agenda-card { min-height: 240px; padding-top: 72px; }
  .agenda-card p { font-size: 18px; }
  .speakers-grid { grid-template-columns: 1fr; gap: 54px; }
  .speaker-visual { height: 360px; }
  .speaker-name { width: 90%; }
  .audience-intro { margin-top: -10px; font-size: 16px; }
  .audience-panel { padding: 26px 20px; }
  .audience-panel h3 { font-size: 29px; }
  .audience-list article { grid-template-columns: 36px 1fr; gap: 12px; }
  .audience-icon { width: 36px; height: 36px; }
  .register { padding-top: 0; }
  .register-shell { width: 100%; padding: 42px 20px; border-radius: 0; }
  .register h2 { font-size: 44px; }
  .registration-form { padding: 22px 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .cookie-banner { right: 12px; bottom: 12px; width: calc(100% - 24px); grid-template-columns: 1fr; gap: 12px; }
}
