:root {
    --orange: #ff5a1f;
    --paper: #edece7;
    --ease-out: cubic-bezier(.2, .8, .2, 1);
    --layout-gutter: 24px;
    --header-offset: 20px;
    --header-height: 62px;
    --control-height: 60px;
}

/* Motion and interactions */
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.button { transition: background .35s, color .35s, transform .2s; }
.button:hover, .button:focus-visible { background: var(--orange); color: var(--ink); transform: none; }
.button:active { transform: scale(.97); }
.button__arrow {
    --arrow-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
    position: relative;
    overflow: hidden;
    transition: background .35s, color .35s;
}
.button__arrow::before, .button__arrow::after {
    content: '';
    position: absolute;
    inset: 0;
    width: 18px;
    height: 18px;
    margin: auto;
    background: currentColor;
    -webkit-mask: var(--arrow-icon) center / contain no-repeat;
    mask: var(--arrow-icon) center / contain no-repeat;
    transition: transform .5s var(--ease-out);
}
.button__arrow::after { transform: translateX(-260%); }
.button:is(:hover, :focus-visible) .button__arrow { background: var(--ink); color: #fff; }
.button:is(:hover, :focus-visible) .button__arrow::before { transform: translateX(260%); }
.button:is(:hover, :focus-visible) .button__arrow::after { transform: translateX(0); }
.site-nav a { transition: color .2s; }
.site-footer nav a { transition: color .2s; }
.site-footer nav a:hover { color: var(--orange); text-decoration: none; }
.reveal-pending:not(.is-visible) { opacity: 0; translate: 0 28px; }
.speaker, .audience-card, .benefit, .program-row, .faq details, .registration {
    transition: opacity .8s var(--ease-out) var(--reveal-delay, 0ms),
        translate .8s var(--ease-out) var(--reveal-delay, 0ms),
        transform .4s var(--ease-out), background .25s;
}
@media (hover: hover) { .audience-card:hover { transform: translateY(-8px); } }

/* Smooth cards in supporting browsers; border-radius remains the fallback. */
@supports (corner-shape: squircle) {
    .hero__copy, .hero__art, .speaker, .audience-card, .benefit, .faq details,
    .registration, .registration-card, .program-list, .mobile-menu { corner-shape: squircle; }
    .button, .pill, .ticker, .button__arrow, .menu-toggle, .faq summary span { corner-shape: round; }
}

/* Header and first screen */
.page-shell { display: flow-root; overflow: visible; overflow: clip; }
.container { width: min(1240px, calc(100% - 2 * var(--layout-gutter))); }
.site-header {
    position: sticky;
    top: var(--header-offset);
    z-index: 20;
    min-height: var(--header-height);
    margin-top: var(--header-offset);
    gap: 24px;
    padding: 7px 8px 7px 24px;
    border: 1px solid rgba(255,255,255,.9);
    border-radius: 999px;
    background: rgba(255,255,255,.72);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    backdrop-filter: blur(18px) saturate(140%);
    box-shadow: 0 12px 40px -24px rgba(17,17,19,.35);
}
.site-header .logo img { width: 84px; }
.site-header .button--header {
    width: auto;
    min-height: 44px;
    gap: 12px;
    padding: 4px 4px 4px 20px;
    font-size: 14px;
}
.site-header .button--header .button__arrow { width: 36px; height: 36px; }
.hero-layout {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-block: 20px 16px;
    min-height: calc(100vh - var(--header-offset) - var(--header-height));
    min-height: calc(100svh - var(--header-offset) - var(--header-height));
}
.hero {
    flex: 1;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr);
    gap: 16px;
    margin: 0;
    min-height: 0;
}
.hero__copy, .hero__art { min-width: 0; border-radius: 40px; }
.hero__copy { min-height: 0; padding: 40px; justify-content: center; gap: 32px; }
.hero .pills { gap: 8px; }
.hero .pill { min-height: 40px; padding-inline: 16px; font-size: 13px; }
.hero__content { align-self: stretch; }
.hero h1 { margin: 0; font-size: 54px; line-height: 1.12; text-wrap: balance; }
.hero__body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    margin-top: 24px;
}
.hero__body p { max-width: 500px; margin: 0; font-size: 18px; line-height: 1.5; color: var(--muted); }
.hero__body .button { min-height: var(--control-height); padding: 8px 8px 8px 28px; }
.hero__body .button__arrow { width: 44px; height: 44px; }
.hero__art {
    width: auto;
    height: auto;
    min-height: 260px;
    margin: 0;
    aspect-ratio: auto;
    isolation: isolate;
    background: radial-gradient(90% 60% at 80% 12%, #ffc2a3 0%, transparent 60%),
        radial-gradient(80% 60% at 10% 95%, #ff3d00 0%, transparent 65%),
        radial-gradient(60% 50% at 60% 60%, #ffe9dc 0%, transparent 70%), var(--orange);
}
.hero__art::before, .benefit--primary::before, .registration::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    mix-blend-mode: overlay;
    opacity: .7;
}
.hero__art .hero__stat { display: flex; border-radius: 28px; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); animation: float-chip 7s ease-in-out infinite; }
.hero__art .hero__stat--bottom { animation-delay: -3.5s; }
.hero__art .pixel-badge { display: grid; }
@keyframes float-chip { 50% { translate: 0 -8px; } }
.obj { position: relative; cursor: pointer; }
.obj canvas { display: block; position: absolute; inset: 0; width: 100%; height: 100%; }
.obj--hero { position: absolute; inset: 0; }
.obj--hero.has-webgl + .pixel-badge, .obj--benefit.has-webgl + .pixel-badge,
.obj--small.has-webgl + .pixel-badge, .obj--question.has-webgl + .pixel-badge { visibility: hidden; }
.hero__stat b { border-radius: 18px; }
.pixel-badge--hero { z-index: 0; pointer-events: none; }

/* Continuous ticker. The copy repeats so the cycle has no visible jump. */
.ticker { display: flex; flex: none; gap: 0; margin: 0; min-height: 52px; padding: 0; border-radius: 999px; line-height: 1; }
.ticker__track { display: flex; align-items: center; width: max-content; animation: ticker-slide 36s linear infinite; }
.ticker__group {
    display: flex;
    flex: none;
    align-items: center;
    gap: 24px;
    padding: 18px 24px 18px 0;
    font: 500 16px/1 Unbounded, Arial, sans-serif;
    white-space: nowrap;
}
.ticker__group i { display: block; width: 10px; height: 10px; }
.ticker .ticker__group span::before { content: none; }
@keyframes ticker-slide { to { transform: translateX(-50%); } }

/* Section headings and program */
.section { padding-top: 136px; }
.section__eyebrow { margin-bottom: 20px; }
.section h2 { margin-bottom: 40px; font-size: 44px; line-height: 1.15; text-wrap: balance; }
.section__heading { align-items: flex-end; flex-wrap: wrap; gap: 24px; margin-bottom: 40px; }
.section .section__heading h2 { margin-bottom: 0; }
.program-list { padding: 8px 40px; border-radius: 40px; }
.program-row { grid-template-columns: 180px minmax(0, 1fr); gap: 40px; padding: 36px 0; }
.program-row time { align-items: center; }
.program-row time::before { width: 12px; height: 12px; margin-top: 0; }
.program-row h3 { margin-bottom: 12px; line-height: 1.25; text-wrap: balance; }
.program-row__description { max-width: 820px; line-height: 1.5; }

/* Speaker images */
.speakers-grid { gap: 16px; }
.speaker, .speaker:nth-child(n+3) {
    grid-template-columns: 220px minmax(0, 1fr);
    align-items: stretch;
    gap: 28px;
    min-height: 0;
    padding: 12px 28px 12px 12px;
}
.speaker__photo, .speaker:nth-child(n+3) .speaker__photo { height: auto; min-height: 300px; border-radius: 20px; }
.speaker__photo { position: relative; overflow: hidden; border: 0; background-image: none; }
.speaker__photo img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 20%;
}
.speaker__photo--alexander { background-color: #dde1e6; }
.speaker__photo--ekaterina { background-color: #ffd8c6; }
.speaker__photo--konstantin { background-color: #e4dfd3; }
.speaker__photo--maria { background-color: var(--orange); }
.speaker__copy { min-width: 0; padding: 16px 0; }
.speaker__tag { margin-bottom: 20px; }
.speaker h3 { margin-bottom: 8px; line-height: 1.25; text-wrap: balance; }
.speaker__copy > p { min-height: 0; margin-bottom: 20px; }
.speaker ul { display: grid; gap: 10px; padding-top: 20px; }
.speaker li { margin: 0; line-height: 1.4; }

/* Audience and benefit cards */
.audience-grid { gap: 16px; }
.audience-card { min-height: 400px; gap: 48px; padding: 28px; }
.audience-card__top { display: flex; align-items: flex-start; justify-content: space-between; }
.audience-card__icon { position: static; width: 64px; height: 64px; }
.audience-card h3 { line-height: 1.25; text-wrap: balance; }
.audience-card p { line-height: 1.5; }
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    gap: 16px;
    min-height: 0;
}
.benefit { min-height: 322px; gap: 24px; justify-content: flex-end; }
.benefit--primary { min-height: 660px; justify-content: space-between; isolation: isolate; background: var(--orange); }
.benefit--primary::before { opacity: .6; }
.benefit--peach { background: #ffd8c6; }
.benefit--gray { background: #dde1e6; }
.benefit--primary .obj--benefit { flex: 1; min-height: 360px; margin: 16px -16px 0; }
.benefit--primary .pixel-badge--benefit { position: absolute; top: 50%; left: 50%; margin: 0; transform: translate(-50%, -50%); }
.benefit .obj--small { position: absolute; right: 12px; top: 8px; width: 210px; height: 210px; }
.benefit .pixel-badge--small { z-index: 0; }
.benefit > span { position: absolute; top: 28px; left: 28px; }
.benefit > span, .benefit h3 { z-index: 1; }
.benefit h3 { max-width: 500px; line-height: 1.28; text-wrap: pretty; }
.benefit--primary h3 { max-width: 580px; }

/* FAQ */
.faq { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px; align-items: start; }
.faq__intro { display: block; min-width: 0; position: sticky; top: 120px; }
.faq__intro h2 { margin-bottom: 16px; }
.faq__graphic {
    display: grid;
    width: min(100%, 320px);
    aspect-ratio: 1;
}
.faq__graphic > .obj--question, .faq__graphic > .pixel-badge--question {
    grid-area: 1 / 1;
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
}
.faq__graphic > .pixel-badge--question { pointer-events: none; }
.faq details { padding: 0; border-radius: 28px; overflow: hidden; }
.faq summary { min-height: 92px; padding: 24px 24px 24px 28px; line-height: 1.3; }
.faq summary span { position: relative; width: 44px; height: 44px; transition: background-color .3s; }
.faq summary span::before { content: '+'; line-height: 1; font-family: Onest, sans-serif; font-size: 29px; }
.faq details[open].closing summary span { background: var(--paper); }
.faq details[open] summary span::before { content: '+'; }
.faq details[open]:not(.closing) summary span::before { transform: rotate(45deg); }
.faq summary span::before { transition: transform .3s; }
.faq details p { margin: 0; padding: 0 96px 28px 28px; font-size: 17px; line-height: 1.5; }
.faq details:hover { background: #f9f8f6; }

/* Registration */
.registration {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    gap: 40px;
    min-height: 0;
    margin-top: 136px;
    padding: 48px;
    border-radius: 40px;
    background: radial-gradient(70% 70% at 0% 100%, #ff3d00, transparent 60%),
        radial-gradient(60% 60% at 100% 0%, #ffc2a3, transparent 60%), var(--orange);
    scroll-margin-top: calc(var(--header-offset) + var(--header-height) + 12px);
}
.registration > * { position: relative; }
.registration-card {
    --form-arrow-size: 44px;
    --form-arrow-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111113' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
    --form-arrow-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
    min-width: 0;
    padding: 36px 28px 28px;
    border-radius: 32px;
    background: #fff;
}
.registration-card__fields { min-width: 0; margin: 0; padding: 0; border: 0; }
.registration-card .callbackform__message {
    padding: 0;
    background: transparent;
    box-shadow: none;
}
.registration-card .callbackform__message .phonecode-step.shown {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    align-items: center;
    column-gap: 12px;
}
.registration-card .phonecode-step > :is(.callbackform__description, .callbackform__formblock) {
    grid-column: 1 / -1;
}
.registration-card .callbackform__message .phonecode-step .callbackform__title {
    margin: 0;
    font-size: clamp(20px, 4vw, 40px);
    line-height: 1.15;
}
.registration-card .phonecode-step .callbackform__description { margin-top: 16px; }
.registration-card .callbackform__arrow-back {
    position: static;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--paper);
    color: var(--ink);
    transition: background-color .2s;
}
.registration-card .callbackform__arrow-back path { stroke: currentColor; }
.registration-card .callbackform__arrow-back:hover { background-color: var(--orange); }
.registration-card .callbackform__arrow-back:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.registration-card .callbackform__inputs-wrapper { display: grid; gap: 16px; }
.registration-card .callbackform__inputs-wrapper > .callbackform__input-container { min-width: 0; margin: 0; }
.registration-card .form-block__label {
    display: grid;
    gap: 8px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--muted);
    font: 500 13px/1.2 JetBrainsMono, 'Courier New', monospace;
    text-transform: uppercase;
}
.registration-card .form-block__input {
    width: 100%;
    height: var(--control-height);
    min-width: 0;
    padding: 0 28px;
    border: 1px solid transparent;
    border-radius: 999px;
    background-color: var(--paper);
    color: var(--ink);
    font: 400 17px/1 Onest, Arial, sans-serif;
    transition: background-color .2s, border-color .2s;
}
.registration-card .form-block__label:not(.error) .form-block__input:focus {
    border-color: var(--ink);
    background-color: #fff;
}
.registration-card .form-block__label.error { color: #ae2612; }
.registration-card .form-block__label.error .form-block__input { border-color: #ae2612; }
.registration-card .form-block__phonemask { padding-left: 0; }
.registration-card .form-block__phonemask .form-block__input { padding-left: 74px; }
.registration-card .callbackform__flag-container {
    top: auto;
    bottom: calc((var(--control-height) - 34px) / 2);
    width: 54px;
    height: 34px;
    border-radius: 999px;
    transform: none;
}
.registration-card .callbackform__dropdown { top: 100%; }
.registration-card .callbackform__message .register-btn {
    min-height: var(--control-height);
    margin-top: 24px;
    padding: 8px 8px 8px 28px;
    border-radius: 999px;
    background-color: var(--ink);
    color: #fff;
    font: 500 16px/1.2 Onest, Arial, sans-serif;
    text-align: left;
    transition: background-color .35s, color .35s, transform .2s;
}
.registration-card .callbackform__message .register-btn::after {
    flex: none;
    width: var(--form-arrow-size);
    height: var(--form-arrow-size);
    border-radius: 50%;
    background-color: var(--orange);
    background-image: var(--form-arrow-dark), var(--form-arrow-light);
    background-repeat: no-repeat;
    background-size: 18px 18px;
    background-position: center, -18px center;
    transform: none;
    transition: background-color .35s, background-position .5s var(--ease-out);
}
.registration-card .register-btn:not(:disabled):is(:hover, :focus-visible) {
    background-color: var(--orange);
    color: var(--ink);
}
.registration-card .register-btn:not(:disabled):is(:hover, :focus-visible)::after {
    background-color: var(--ink);
    background-position: calc(100% + 18px) center, center;
}
.registration-card .register-btn:not(:disabled):active { transform: scale(.97); }
.registration-card__fields .register-btn:disabled { opacity: .65; }
.registration-card .callbackform__checkbox-container { gap: 12px; min-height: 44px; }
.registration-card .callbackform__checkbox-input {
    position: absolute;
    display: block;
    width: 1px;
    height: 1px;
    opacity: 0;
}
.registration-card .callbackform__checkbox-box {
    flex: 0 0 24px;
    height: 24px;
    margin: 0;
    border: 1px solid rgba(17,17,19,.45);
    border-radius: 8px;
    background: #fff;
    box-shadow: none;
    transition: background-color .2s, border-color .2s;
}
.registration-card .callbackform__checkbox-box:hover { border-color: var(--ink); }
.registration-card .callbackform__checkbox-input:focus-visible + .callbackform__checkbox-box {
    outline: 3px solid var(--orange);
    outline-offset: 3px;
}
.registration-card .callbackform__checkbox-container .callbackform__checkbox-input:checked + .callbackform__checkbox-box {
    border-color: var(--orange);
    background-color: var(--orange);
}
.registration-card .callbackform__checkmark { width: 14px; padding: 0; filter: brightness(0); }
.registration-card .callbackform__legal-notice { color: var(--muted); font: 400 14px/1.4 Onest, Arial, sans-serif; cursor: pointer; }
.registration-card .obj--check { position: absolute; z-index: 2; top: -40px; right: -24px; width: 120px; height: 120px; background: url('../img/form-check.webp') center / contain no-repeat; }
.registration-card .obj--check.has-webgl { background: none; }

/* Footer */
.site-footer { flex-wrap: wrap; gap: 24px; margin-top: 32px; padding: 28px 8px 40px; }
.site-footer .logo img { width: 106px; }

/* Mobile navigation */
.menu-toggle, .mobile-menu { display: none; }

@media (max-width: 1100px) {
    .site-nav { display: none; }
    .hero h1 { font-size: 28px; }
    .hero h1 br { display: none; }
    .hero__copy { padding: 32px; }
    .hero__art { min-height: 0; }
    .speakers-grid { grid-template-columns: 1fr; }
    .audience-grid { grid-template-columns: 1fr; }
    .audience-card { min-height: 0; }
    .benefits-grid { grid-template-columns: minmax(0, 1fr); }
    .benefit--primary { grid-row: auto; min-height: 0; }
    .benefit--primary .obj--benefit { min-height: 280px; }
    .faq, .registration { grid-template-columns: minmax(0, 1fr); }
    .faq__intro { position: static; }
    .faq__graphic { width: min(100%, 240px); }
}

@media (max-width: 900px) {
    .hero { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); }
    .hero__copy { padding: 40px; }
    .hero h1 { font-size: 32px; }
    .hero__art { min-height: 240px; }
}

@media (max-width: 640px) {
    .section { padding-top: clamp(48px, 13.4vw, 72px); }
    .section__eyebrow { margin-bottom: 14px; }
    .section h2 { margin-bottom: clamp(24px, 7vw, 36px); font-size: clamp(24px, 7.2vw, 36px); }
    .section__heading { gap: 16px; margin-bottom: clamp(24px, 7vw, 36px); }
    .section__heading .pill { min-height: 34px; padding-inline: 12px; font-size: clamp(11px, 2.9vw, 13px); }
    .program-list { padding: 0 clamp(18px, 5.4vw, 28px); border-radius: clamp(24px, 7.2vw, 32px); }
    .program-row { grid-template-columns: minmax(0, 1fr); gap: clamp(12px, 3.8vw, 18px); padding: clamp(22px, 6.4vw, 32px) 0; }
    .program-row time, .program-row h3 { font-size: clamp(18px, 5.1vw, 24px); }
    .program-row__speaker { font-size: clamp(13.5px, 3.8vw, 15px); }
    .program-row__description { font-size: clamp(14.5px, 4.1vw, 16px); }
    .speaker, .speaker:nth-child(n+3) { grid-template-columns: minmax(0, 1fr); gap: 6px; padding: clamp(8px, 2.6vw, 12px); }
    .speaker__photo, .speaker:nth-child(n+3) .speaker__photo { width: 100%; height: auto; min-height: 0; aspect-ratio: 3 / 4; border-radius: 20px; }
    .speaker__photo img { object-position: 50% 12%; }
    .speaker__copy { padding: clamp(14px, 4vw, 20px) clamp(10px, 3.4vw, 16px); }
    .speaker__tag { margin-bottom: clamp(14px, 4vw, 20px); }
    .speaker h3 { font-size: clamp(18px, 5.1vw, 24px); }
    .speaker__copy > p, .speaker li { font-size: clamp(13.5px, 3.8vw, 15px); }
    .speaker__copy > p { margin-bottom: 18px; }
    .speaker li { padding-left: 20px; }
    .audience-card { padding: clamp(18px, 5.4vw, 28px); gap: clamp(28px, 8vw, 44px); }
    .audience-card__icon { width: clamp(48px, 13vw, 60px); height: clamp(48px, 13vw, 60px); }
    .audience-card h3 { max-width: none; margin-bottom: clamp(10px, 3vw, 14px); font-size: clamp(18px, 5.1vw, 24px); }
    .audience-card p { font-size: clamp(14.5px, 4.1vw, 16px); }
    .benefit, .benefit--primary { min-height: clamp(250px, 74vw, 330px); padding: clamp(18px, 5.4vw, 28px); justify-content: flex-end; }
    .benefit > span { top: clamp(18px, 5.4vw, 28px); left: clamp(18px, 5.4vw, 28px); }
    .benefit .obj--benefit, .benefit .obj--small { position: absolute; top: 4px; right: 4px; width: clamp(120px, 36vw, 180px); height: clamp(120px, 36vw, 180px); min-height: 0; margin: 0; }
    .benefit--primary .pixel-badge--benefit { top: 10px; right: 4px; left: auto; width: 150px; height: 150px; transform: none; background-size: 1100px 3233px; background-position: -127px -2110px; }
    .benefit .pixel-badge--small { top: 4px; right: 4px; }
    .benefit h3 { margin-top: auto; font-size: clamp(18px, 5.1vw, 24px); }
    .faq { gap: 24px; }
    .faq details { border-radius: 22px; }
    .faq summary { min-height: 0; padding: 18px; gap: 14px; font-size: clamp(15px, 4.4vw, 18px); }
    .faq summary span { width: 38px; height: 38px; }
    .faq details p { padding: 0 18px 22px; font-size: clamp(14px, 4vw, 16px); }
}

@media (max-width: 640px) {
    :root {
        --layout-gutter: clamp(12px, 3.6vw, 20px);
        --header-offset: var(--layout-gutter);
        --header-height: 56px;
        --control-height: clamp(52px, 14.4vw, 60px);
    }
    .site-header { padding: 5px 6px 5px clamp(16px, 5vw, 22px); }
    .site-header .logo img { width: clamp(72px, 21vw, 84px); }
    .site-header > .button--header { display: none; }
    .menu-toggle { display: grid; place-content: center; gap: 6px; flex: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--ink); cursor: pointer; }
    .menu-toggle span { display: block; width: 18px; height: 2px; border-radius: 2px; background: #fff; transition: transform .35s var(--ease-out); }
    .site-header.menu-open .menu-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
    .site-header.menu-open .menu-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }
    .mobile-menu { display: grid; position: absolute; z-index: 21; left: 0; right: 0; top: calc(100% + 8px); padding: 14px; border-radius: 26px; background: rgba(255,255,255,.96); box-shadow: 0 24px 60px -24px #11111373; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s, transform .4s var(--ease-out), visibility 0s .4s; }
    .site-header.menu-open .mobile-menu { opacity: 1; visibility: visible; transform: none; transition: opacity .3s, transform .4s var(--ease-out); }
    .mobile-menu > a:not(.button) { padding: 14px 12px; border-bottom: 1px solid #e6e4df; text-decoration: none; }
    .mobile-menu .button { justify-content: space-between; margin-top: 12px; }
    .hero-layout { padding-block: var(--layout-gutter); }
    .hero__copy, .hero__art { border-radius: clamp(24px, 7.2vw, 32px); }
    .hero__copy { padding: clamp(18px, 5.4vw, 28px); gap: clamp(16px, 5vw, 24px); }
    .hero .pills { gap: 6px; }
    .hero .pill { min-height: clamp(30px, 8.2vw, 36px); padding-inline: clamp(10px, 2.8vw, 14px); font-size: clamp(10.5px, 2.9vw, 12px); }
    .hero h1 { font-size: clamp(24px, 7vw, 38px); font-size: round(clamp(24px, 7vw, 38px), 1px); }
    .hero__body { margin-top: clamp(16px, 5vw, 24px); gap: clamp(16px, 4.6vw, 24px); }
    .hero__body p { font-size: clamp(15px, 4.1vw, 18px); font-size: round(clamp(15px, 4.1vw, 18px), 1px); line-height: 1.48; }
    .hero__body .button { width: 100%; gap: 12px; padding-left: clamp(18px, 5.4vw, 28px); font-size: clamp(14px, 3.9vw, 16px); }
    .hero__body .button__arrow { width: calc(var(--control-height) - 12px); height: calc(var(--control-height) - 12px); }
    .hero__art { min-height: clamp(220px, 64vw, 360px); }
    .hero__art .hero__stat { transform: none; min-width: 0; max-width: 48%; padding: 5px 12px 5px 5px; font-size: clamp(10px, 3vw, 12px); }
    .hero__stat b { width: 42px; height: 42px; flex: none; font-size: 20px; }
    .hero__art .hero__stat--bottom { max-width: 38%; }
    .ticker { display: none; }
    .faq__intro {
        display: grid;
        grid-template-columns: minmax(0, 1fr) clamp(104px, 32vw, 150px);
        grid-template-rows: auto 1fr;
        column-gap: 12px;
        align-items: start;
    }
    .faq__intro h2 { grid-column: 1; margin-bottom: 0; font-size: clamp(23px, 6.3vw, 31px); }
    .faq__graphic { grid-area: 1 / 2 / 3; width: 100%; }
    .registration { gap: clamp(24px, 7vw, 36px); margin-top: clamp(48px, 13.4vw, 72px); padding: clamp(18px, 5.4vw, 28px); border-radius: clamp(24px, 7.2vw, 32px); }
    .registration-card { --form-arrow-size: calc(var(--control-height) - 12px); padding: clamp(18px, 5.4vw, 26px); border-radius: clamp(18px, 5vw, 24px); }
    .registration__copy h2 { font-size: clamp(22px, 6.4vw, 34px); }
    .registration-card .obj--check { top: -26px; right: -6px; width: clamp(76px, 23vw, 110px); height: clamp(76px, 23vw, 110px); }
    .registration-card .form-block__input { padding-inline: clamp(20px, 5.8vw, 28px); font-size: clamp(15px, 4.4vw, 17px); }
    .registration-card .callbackform__message .register-btn { padding-left: clamp(18px, 5.4vw, 28px); font-size: clamp(14px, 3.9vw, 16px); }
    .registration-card .callbackform__legal-notice { font-size: clamp(12.5px, 3.5vw, 14px); }
    .site-footer { margin-top: 28px; padding-bottom: 32px; }
}

@media (max-width: 640px) and (max-height: 700px) {
    :root { --control-height: 52px; }
    .hero__copy { padding: clamp(14px, 4vw, 18px); gap: 12px; }
    .hero__art { min-height: 130px; }
}

@media (min-width: 1101px) and (max-width: 1199px) {
    .hero h1 { font-size: 46px; }
}

@media (min-width: 1101px) and (max-width: 1359px) {
    .registration__copy h2 { font-size: 36px; }
}

@media (min-width: 1101px) and (max-height: 720px) {
    .hero__copy { padding: 28px; }
    .hero__body p { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .reveal-pending:not(.is-visible) { opacity: 1; translate: none; }
}
