:root {
  color-scheme: light;
  --deep: #083e51;
  --ocean: #0e566d;
  --blue: #2187a1;
  --paper: #fffaf2;
  --white: #fffefd;
  --coral: #dd7652;
  --ink: #123c4d;
  --muted: #61757d;
  --line: rgba(8, 62, 81, .15);
  --shadow: 0 28px 72px rgba(9, 56, 72, .14);
}
@font-face { font-family: "Manrope"; src: url("/assets/Manrope.ttf") format("truetype"); font-style: normal; font-weight: 200 800; font-display: swap; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.55 "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
[lang-block] { display: none; }
.lang-en [lang-block="ru"], .lang-ru [lang-block="en"] { display: none !important; }
.lang-ru [lang-block="ru"], .lang-en [lang-block="en"] { display: block; }
.lang-ru span[lang-block="ru"], .lang-en span[lang-block="en"] { display: inline; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 4px; }

.site-header { width: min(1220px, calc(100% - 48px)); min-height: 88px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 800; letter-spacing: -.025em; }
.brand img { width: 42px; height: 42px; border-radius: 11px; }
.header-actions { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 700; }
.header-actions a { text-decoration: none; }
.header-actions a:hover { color: var(--blue); }
.language { border: 1px solid var(--line); border-radius: 999px; padding: 8px 13px; }

main { overflow: hidden; }
.hero { width: min(1220px, calc(100% - 48px)); min-height: 650px; margin: 0 auto; padding: clamp(56px, 7vw, 92px) 0 clamp(80px, 9vw, 120px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .72fr); align-items: center; gap: clamp(50px, 8vw, 120px); }
.hero-copy { max-width: 650px; }
.eyebrow { margin: 0 0 18px; color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3, p { text-wrap: pretty; }
h1 { margin: 0; max-width: 700px; font-size: clamp(54px, 6vw, 84px); line-height: .99; letter-spacing: -.06em; }
.hero-lead { max-width: 570px; margin: 28px 0 0; color: var(--muted); font-size: clamp(18px, 1.5vw, 21px); line-height: 1.6; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: 0 24px; border-radius: 12px; text-decoration: none; font-size: 14px; font-weight: 800; }
.hero .button { margin-top: 34px; }
.button-primary { color: #fff; background: var(--deep); }
.button-primary:hover { background: var(--ocean); }
.hero-visual { margin: 0; justify-self: center; }
.hero-visual img { width: min(100%, 410px); max-height: 610px; object-fit: contain; border-radius: 38px; box-shadow: var(--shadow); }
.lang-en .hero { grid-template-columns: minmax(0, .9fr) minmax(500px, 1.1fr); }
.lang-en .hero-visual img { width: 100%; max-height: none; border-radius: 28px; }

.structure { padding: clamp(90px, 10vw, 140px) max(24px, calc((100vw - 1220px) / 2)); background: var(--white); border-block: 1px solid var(--line); }
.section-intro { max-width: 760px; }
.section-intro h2 { margin: 0; font-size: clamp(42px, 5vw, 66px); line-height: 1.02; letter-spacing: -.055em; }
.section-intro > p:last-child { max-width: 680px; margin: 24px 0 0; color: var(--muted); font-size: 19px; line-height: 1.65; }
.structure-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: clamp(60px, 7vw, 90px) 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.structure-list li { min-height: 245px; padding: 32px clamp(24px, 3vw, 42px) 36px 0; border-right: 1px solid var(--line); }
.structure-list li + li { padding-left: clamp(24px, 3vw, 42px); }
.structure-list li:last-child { padding-right: 0; border-right: 0; }
.item-index { color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: .14em; }
.structure-list h3 { margin: 58px 0 9px; font-size: 30px; letter-spacing: -.04em; }
.structure-list p { margin: 0; color: var(--muted); }
.structure-focus h3, .structure-focus .item-index { color: var(--coral); }

.session { padding: clamp(90px, 10vw, 140px) max(24px, calc((100vw - 1220px) / 2)); background: var(--paper); }
.section-intro-compact { max-width: 880px; }
.session-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: clamp(52px, 6vw, 76px) 0 0; padding: 0; list-style: none; border-block: 1px solid var(--line); }
.session-steps li { display: grid; grid-template-columns: 42px 1fr; gap: 18px; min-height: 155px; padding: 30px 34px 30px 0; align-items: start; border-right: 1px solid var(--line); }
.session-steps li + li { padding-left: 34px; }
.session-steps li:last-child { border-right: 0; }
.session-steps li > span { color: var(--coral); font-size: 14px; font-weight: 800; }
.session-steps h3 { margin: 0 0 7px; font-size: 20px; letter-spacing: -.03em; }
.session-steps p { margin: 0; color: var(--muted); }

.product-proof { padding: clamp(100px, 12vw, 170px) max(24px, calc((100vw - 1220px) / 2)); background: var(--white); border-top: 1px solid var(--line); }
.product-proof > .section-intro { margin-bottom: clamp(70px, 8vw, 110px); }
.proof-row { display: grid; grid-template-columns: minmax(300px, .72fr) minmax(0, 1fr); align-items: center; gap: clamp(52px, 9vw, 130px); min-height: 650px; padding: clamp(70px, 8vw, 105px) 0; border-top: 1px solid var(--line); }
.proof-row:last-child { border-bottom: 1px solid var(--line); }
.proof-row-reverse .proof-visual { order: 2; }
.proof-visual { margin: 0; }
.proof-visual img { width: auto; max-height: 620px; margin: 0 auto; border-radius: 32px; box-shadow: var(--shadow); }
.proof-index { margin: 0 0 22px; color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.proof-copy h3 { margin: 0; font-size: clamp(38px, 4.5vw, 62px); line-height: 1.03; letter-spacing: -.055em; }
.proof-copy > p:last-child { max-width: 570px; margin: 26px 0 0; color: var(--muted); font-size: 18px; line-height: 1.7; }

.facts { display: grid; grid-template-columns: repeat(2, 1fr); width: min(1220px, calc(100% - 48px)); margin: 0 auto; border-inline: 1px solid var(--line); }
.facts p { min-height: 150px; margin: 0; padding: 42px; color: var(--muted); }
.facts p + p { border-left: 1px solid var(--line); }
.facts strong { display: block; margin-bottom: 7px; color: var(--ink); font-size: 19px; }

.closing { padding: clamp(100px, 12vw, 165px) 24px; color: #fff; background: var(--deep); text-align: center; }
.closing .eyebrow { color: #75c9da; }
.closing h2 { max-width: 920px; margin: 0 auto; font-size: clamp(44px, 5.5vw, 74px); line-height: 1; letter-spacing: -.055em; }
.closing > p:not(.eyebrow) { max-width: 610px; margin: 27px auto 32px; color: #c5dde3; font-size: 18px; }
.closing .button-primary { color: var(--deep); background: var(--paper); }
.closing .button-primary:hover { background: #fff; }

.site-footer { width: min(1220px, calc(100% - 48px)); margin: 0 auto; padding: 42px 0 56px; display: grid; grid-template-columns: 1fr auto auto; align-items: end; gap: 34px; color: var(--muted); font-size: 13px; }
.site-footer div { display: flex; flex-direction: column; gap: 4px; }
.site-footer strong { color: var(--ink); font-size: 17px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--blue); }
.site-footer p { margin: 0; }

@media (max-width: 940px) {
  .hero, .lang-en .hero { grid-template-columns: 1fr; }
  .hero-copy { max-width: 760px; }
  .hero-visual { width: min(100%, 500px); }
  .lang-en .hero-visual { width: min(100%, 760px); }
  .structure-list, .session-steps { grid-template-columns: 1fr; }
  .structure-list li, .structure-list li + li { min-height: 0; padding: 30px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .structure-list li:last-child { border-bottom: 0; }
  .structure-list h3 { margin-top: 22px; }
  .session-steps li, .session-steps li + li { min-height: 0; padding: 27px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .session-steps li:last-child { border-bottom: 0; }
  .proof-row { min-height: 0; }
  .facts { grid-template-columns: 1fr; }
  .facts p + p { border-left: 0; border-top: 1px solid var(--line); }
  .site-footer { grid-template-columns: 1fr; align-items: start; }
}

@media (max-width: 720px) {
  .site-header { width: calc(100% - 32px); min-height: 78px; }
  .brand img { width: 38px; height: 38px; }
  .header-actions > a:not(.language) { display: none; }
  .hero { width: calc(100% - 40px); padding: 58px 0 78px; gap: 48px; }
  h1 { font-size: clamp(47px, 14vw, 65px); }
  .hero-lead { margin-top: 22px; font-size: 17px; }
  .hero .button { width: 100%; }
  .hero-visual img { max-height: 560px; border-radius: 28px; }
  .structure, .session, .product-proof { padding-inline: 20px; }
  .section-intro h2 { font-size: 42px; }
  .section-intro > p:last-child { font-size: 17px; }
  .proof-row { grid-template-columns: 1fr; gap: 45px; padding-block: 68px; }
  .proof-row-reverse .proof-visual { order: 0; }
  .proof-visual img { max-height: 560px; border-radius: 26px; }
  .proof-copy h3 { font-size: 40px; }
  .proof-copy > p:last-child { font-size: 17px; }
  .facts { width: 100%; border-inline: 0; }
  .facts p { min-height: 0; padding: 34px 20px; }
  .closing { text-align: left; padding-inline: 20px; }
  .closing h2 { font-size: 43px; }
  .closing > p:not(.eyebrow) { margin-inline: 0; }
  .closing .button { width: 100%; }
  .site-footer { width: calc(100% - 40px); }
  .site-footer nav { display: grid; gap: 9px; }
}

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