/* Shared launch system. Page-specific compositions live in their own stylesheets. */
:root { --launch-paper: #f7f5f0; --launch-ink: #20231f; --launch-orange: #f56a36; }
[hidden] { display: none !important; }
:where(a, button, input, summary, select):focus-visible { outline: 3px solid #315bd6; outline-offset: 5px; }
.header .brand img, .site-footer .brand img { width: 44px; height: 40px; object-fit: contain; }
.header .brand { gap: 10px; }
.header .brand__name { font-size: 12px; }
.header nav { gap: 23px; }
.header nav a { font-size: 13px; font-weight: 500; }
.header nav a[aria-current] { text-decoration: underline; text-decoration-color: #c54514; text-underline-offset: 7px; }
.header .header__cta { white-space: nowrap; }
.site-eyebrow { margin: 0 0 22px; font-size: 11px; font-weight: 700; letter-spacing: .09em; line-height: 1.6; text-transform: uppercase; }
.site-footer { padding-top: 48px; padding-bottom: 28px; margin-top: 0; border-top: 1px solid #d6d6cd; color: #20231f; }
.site-footer__top { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-footer__top p { margin: 0 auto 0 60px; font-size: 20px; font-weight: 500; line-height: 1.3; }
.site-footer__contact { font-size: 14px; border-bottom: 1px solid #909188; padding-block: 12px; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 12px 28px; padding-block: 32px; font-size: 13px; }
.site-footer__links a { padding-block: 8px; }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid #d6d6cd; padding-top: 22px; font-size: 12px; color: #62645e; }
.site-footer a:hover { color: #a8350d; }
.breadcrumbs { display: flex; gap: 12px; padding-top: 24px; font-size: 12px; color: #62625e; }
.breadcrumbs a { text-decoration: underline; text-underline-offset: 3px; }
/* Home: warm editorial canvas, one clear invitation, actual community photography. */
.page-home { --paper: var(--launch-paper); --paper-2: #ebe9e0; --ink: var(--launch-ink); --ink-soft: #62645e; --flame: #bd3d0b; --gut: 40px; background: var(--paper); }
.page-home .header { background: var(--launch-paper); border-bottom: 1px solid #d6d6cd; }
.page-home .header__inner { height: 84px; }
.page-home .button { border-radius: 4px; background: var(--launch-orange); color: #20231f; font-weight: 600; }
.page-home .button:hover { background: #ff8151; }
.home-hero { display: grid; grid-template-columns: 1.12fr 1fr; gap: 60px; padding-top: 64px; padding-bottom: 84px; align-items: center; }
.home-hero__copy { min-width: 0; }
.home-hero .site-eyebrow span { display: inline-block; height: 7px; width: 7px; margin-right: 6px; background: #bd3d0b; border-radius: 50%; vertical-align: 1px; }
.home-hero h1 { margin: 0 0 28px; font-size: clamp(48px, 5.7vw, 82px); font-weight: 600; line-height: 1.02; letter-spacing: -.065em; }
.home-hero h1 em { font-style: normal; color: #b63e13; }
.home-hero__lead { margin: 0; max-width: 500px; font-size: 17px; line-height: 1.65; color: #55594f; }
.home-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; margin-top: 32px; }
.home-hero__actions .button { min-height: 56px; padding: 16px 22px; gap: 30px; font-size: 14px; }
.home-hero__secondary { font-size: 13px; font-weight: 600; padding-block: 12px; border-bottom: 1px solid #898d81; }
.home-hero__secondary span { margin-left: 12px; }
.home-hero__note { margin-top: 20px; color: #62645e; font-size: 12px; line-height: 1.6; }
.home-hero__visual { position: relative; min-width: 0; padding: 0 0 34px 20px; }
.home-hero__visual figure { position: relative; margin: 0; }
.home-hero__visual figure > img { width: 100%; height: 470px; object-fit: cover; border-radius: 3px 72px 3px 3px; object-position: center; }
.home-hero__visual figcaption { position: absolute; top: 18px; left: 18px; max-width: calc(100% - 36px); background: #f7f5f0; padding: 8px 12px; font-size: 11px; font-weight: 500; }
.home-hero__next { position: relative; background: #fff; border: 1px solid #d6d6cd; margin: -92px 30px -34px -20px; padding: 22px 24px; box-shadow: 0 12px 28px #20231f0a; }
.home-hero__next .site-eyebrow { margin-bottom: 8px; color: #62645e; }
.home-hero__next .afisha-mini { border-bottom: 0; }
.home-hero__next .afisha-mini__link { padding: 10px 0 0; }
.page-home .intro { padding-top: 48px; border-top: 1px solid #c9ccc2; }
.page-home .intro__head { align-items: end; }
.page-home .intro .site-eyebrow { margin-bottom: 14px; color: #62645e; }
.page-home .intro__title { font-size: clamp(34px, 3.8vw, 54px); font-weight: 600; line-height: 1.05; letter-spacing: -.045em; }
.intro__description { margin: 0; font-size: 15px; line-height: 1.6; color: #62645e; }
.page-home .scenes { margin-top: 32px; }
.page-home .scene::before { height: 1px; background: #c9ccc2; }
.page-home .scene__cover { border-radius: 3px; }
.page-home .scene__name { font-size: 23px; font-weight: 600; }
.scene__eyebrow { order: -1; margin: 0 0 14px; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: #62645e; }
.page-home .scene__more { color: #a8350d; }
.page-home .scene--razbor .scene__cover img { object-position: center 45%; }
.page-home .about__title, .page-home .hosts__head h2, .page-home .more__title { font-weight: 600; letter-spacing: -.045em; }
/* Analysis: the same site language, more space around the promise and quieter detail. */
.page-razbor { --paper: #f7f5f0; --paper-2: #eeece5; --orange: #f56a36; --flame: #b63e13; background: var(--paper); }
.page-razbor .header { background: var(--paper); }
.page-razbor .rb-hero__inner { padding-top: 36px; padding-bottom: 56px; }
.page-razbor .rb-hero__meta { background: #e8e5da; border-radius: 3px; letter-spacing: .04em; }
.page-razbor .rb-hero__title { font-size: clamp(48px, 6.1vw, 86px); font-weight: 600; }
.page-razbor .rb-hero__expert::after { height: 6px; }
.page-razbor .rb-hero__lead { font-size: 17px; }
.page-razbor .rb-hero__points li { border-top: 1px solid #c9ccc2; background: transparent; padding-top: 20px; }
.page-razbor .rb-hero__spark { display: none; }
/* «Для кого» — бегущая строка из razbor.css (слово владельца 16.11.2026), здесь её не переопределять. */
.page-razbor .rb-section-top h2::after { height: 3px; width: 56px; }
.page-razbor .rb-register { background: #ece9e1; }
.page-razbor .rb-button { color: #20231f; border-radius: 4px; }
.page-razbor .rb-button:hover { background: #ff8151; }
.page-razbor .rb-form-send, .page-razbor .rb-cases__cta { color: #20231f; }
@media (max-width: 1100px) {
 .home-hero { gap: 30px; }
 .home-hero h1 { font-size: 60px; }
 .home-hero__visual figure > img { height: 440px; }
}
@media (min-width: 1041px) { .header.header--site nav { gap: 23px; } }
@media (max-width: 1040px) {
 .header nav a { font-size: 17px; padding-block: 8px; }
 .page-home .scene__eyebrow { grid-column: 2; order: 0; }
 .page-home .scene__name { margin-top: 14px; }
 .page-home .scene__cover { grid-row: 1 / span 6; }
}
@media (max-width: 760px) {
 .page-home { --gut: 20px; }
 .page-home .header__inner { height: 70px; }
 .home-hero { grid-template-columns: 1fr; padding-top: 34px; padding-bottom: 48px; gap: 32px; }
 .home-hero h1 { font-size: clamp(44px, 10.8vw, 72px); margin-bottom: 20px; }
 .home-hero .site-eyebrow { font-size: 9px; margin-bottom: 18px; }
 .home-hero__lead { font-size: 15px; }
 .home-hero__actions { margin-top: 24px; gap: 12px 20px; }
 .home-hero__actions .button { width: 100%; }
 .home-hero__secondary { text-align: center; margin-inline: auto; }
 .home-hero__note { font-size: 11px; text-align: center; margin-top: 12px; }
 .home-hero__visual { padding-left: 10px; }
 .home-hero__visual figure > img { height: 320px; border-top-right-radius: 48px; }
 .home-hero__next { margin: -64px 16px -34px -10px; padding: 18px; }
 .page-home .intro { padding-top: 32px; }
 .page-home .intro__head { gap: 18px; }
 .page-home .scene__name { margin-top: 16px; }
 .page-home .scene__eyebrow { margin-top: 16px; margin-bottom: 10px; }
 .site-footer { padding-top: 32px; padding-bottom: 28px; }
 .site-footer__top { flex-wrap: wrap; gap: 20px; align-items: flex-start; }
 .site-footer__top p { margin: 0 0 0 auto; font-size: 16px; }
 .site-footer__contact { font-size: 13px; }
 .site-footer__links { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 20px; padding-block: 24px; font-size: 12px; line-height: 1.5; }
 .site-footer__bottom { flex-direction: column; font-size: 11px; }
 .breadcrumbs { padding-top: 18px; }
 .page-razbor .rb-hero__inner { gap: 20px; padding-top: 26px; }
 .page-razbor .rb-hero__title { font-size: clamp(40px, 11vw, 66px); }
 .page-razbor .rb-hero__lead { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
 *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
@media (max-width: 1040px) {
 html:not(.js) .header { position: relative; }
 html:not(.js) .header__inner { height: auto; min-height: 70px; flex-wrap: wrap; padding-block: 14px; }
 html:not(.js) .header #menu { position: static; display: flex; flex-direction: row; flex-wrap: wrap; order: 5; width: 100%; gap: 8px 18px; padding: 8px 0 0; opacity: 1; visibility: visible; transform: none; box-shadow: none; }
 html:not(.js) .header #menu a { font-size: 12px; padding: 8px 0; border: 0; }
 html:not(.js) .burger { display: none; }
}
/* The shared footer stays legible on both the light and dark event pages. */
.site-footer.shell { width: 100%; padding-inline: max(24px, calc((100% - 1280px) / 2)); background: var(--launch-paper); }
.site-footer .brand__name b { color: #b63e13; }
.site-footer .brand__name em { color: #20231f; }
/* AA contrast: bright orange remains a fill; text uses a darker shade. */
:root { --flame: #b63e13; --flame-deep: #a8350d; }
.chat__bar > span { color: #aaa; }
.page-razbor .rb-case[open] .rb-case__name,
.page-razbor .rb-case summary:hover .rb-case__name,
.page-razbor #result-title > span { color: #b63e13; }
.doc { overflow-wrap: anywhere; }
@media (max-width: 760px) { .doc h1 { font-size: clamp(26px, 7vw, 40px); } }
/* The event page uses dark text on orange surfaces, unlike light-page buttons. */
.page-vstrechi { --flame: #ff5a00; --flame-deep: #f56a36; }
/* Dark sections and orange panels need the inverse contrast treatment. */
.proof, .closing, .ticket { --flame: #f56a36; }
