/* Lower chapter polish: shared paper, ink and champagne language. */
.platform,
.partners,
.clubs,
.faq { background: var(--bg); }

.platform.section,
.partners.section,
.clubs.section,
.reviews.section,
.faq.section { padding-block: clamp(72px, 8vw, 112px); }

.platform h2,
.partners h2,
.clubs h2,
.reviews h2,
.faq h2 { max-width: 15ch; margin-bottom: 22px; line-height: 1.04; }

.platform .eyebrow,
.partners .eyebrow,
.clubs .eyebrow,
.reviews .eyebrow,
.faq .eyebrow { margin-bottom: 14px; color: var(--gold-lo); }

.platform .gold-text,
.partners .gold-text,
.clubs .gold-text,
.reviews .gold-text,
.faq .gold-text { color: var(--gold-lo); }

:root[data-theme="dark"] .platform .eyebrow,
:root[data-theme="dark"] .partners .eyebrow,
:root[data-theme="dark"] .clubs .eyebrow,
:root[data-theme="dark"] .faq .eyebrow { color: var(--gold-hi); }
:root[data-theme="dark"] .platform .gold-text,
:root[data-theme="dark"] .partners .gold-text,
:root[data-theme="dark"] .clubs .gold-text,
:root[data-theme="dark"] .faq .gold-text { color: var(--gold-hi); }

/* A calm, deliberate product showcase around the real CRM and app footage. */
.platform { overflow: clip; border-block: 1px solid var(--line); }
.platform-grid { grid-template-columns: minmax(280px,.82fr) minmax(0,1.18fr); gap: clamp(36px,6vw,88px); }
.platform-copy { max-width: 550px; }
.platform .sub { max-width: 54ch; margin: 22px 0 0; line-height: 1.65; }
.feat { gap: 11px; margin-top: 25px; }
.feat li { color: var(--text-2); font-size: 15px; }
.feat .ico { flex: none; color: var(--gold-lo); }
:root[data-theme="dark"] .feat .ico { color: var(--gold-hi); }
.tabs { gap: 7px; margin-top: 28px; }
.tabs button { padding: 12px 17px; border-color: var(--line-strong); color: var(--text-2); }
.tabs button[aria-selected="true"] { background: var(--burg); color: var(--bg); border-color: var(--burg); }
.platform-cta { margin-top: 20px; border-color: var(--line-strong); color: var(--text); }
.platform-cta:hover { border-color: var(--gold); color: var(--text); }
.devices { min-width: 0; min-height: 510px; padding: 18px 0 62px 7%; perspective: 1400px; }
.devices-glow { inset: 15% 2% 9% 14%; background: rgba(177,138,58,.08); filter: blur(28px); }
.mac { width: 100%; }
.mac-screen { padding: 9px 9px 11px; border-color: #30333c; border-radius: 11px 11px 3px 3px; box-shadow: 0 28px 55px -38px rgba(11,16,33,.52); transform: none; }
.mac-bar { padding: 7px 10px; }
.mac-base { height: 12px; margin-inline: -4%; }
.iphone { left: -1%; bottom: 3px; width: 27%; }
.iphone-frame { transform: rotate(-4deg); }
.device-label { color: var(--mute); font-size: 10px; letter-spacing: .14em; }
.mac .device-label { margin-top: 16px; text-align: right; }
.iphone .device-label { margin-top: 12px; text-align: center; }

/* Partnership steps become a two-column sequence with a distinct offer card. */
.partners { background: var(--bg2); border-bottom: 1px solid var(--line); }
.partners h2 { max-width: 20ch; }
.partners-grid { grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: clamp(24px,4vw,56px); margin-top: 34px; align-items: stretch; }
.launch { padding: clamp(26px,3.5vw,42px); border: 1px solid var(--line); border-radius: 14px; background: var(--burg); color: #f5f1e8; box-shadow: none; }
.launch-lead { color: #dfddd6; line-height: 1.6; }
.launch-facts { gap: 0; margin: 26px 0 30px; }
.launch-facts div { padding: 13px 0; border-color: rgba(233,200,117,.2); }
.launch-facts dt { color: var(--gold-hi); }
.launch-facts dd { color: #d4d1c8; }
.launch .btn--gold { background: var(--gold-hi); border-color: var(--gold-hi); color: #111725; }
.steps { align-content: center; gap: 0; padding: 12px 0 12px 8px; }
.steps::before,.steps::after { left: 27px; top: 32px; bottom: 32px; }
.steps::after { background: var(--gold); transform: none; }
.steps li { gap: 18px; min-height: 102px; padding: 12px 0; }
.steps b { width: 40px; height: 40px; background: var(--bg2); color: var(--gold-lo); border: 1px solid var(--gold); box-shadow: 0 0 0 5px var(--bg2); }
:root[data-theme="dark"] .steps b { background: var(--bg2); color: var(--gold-hi); box-shadow: 0 0 0 5px var(--bg2); }
.steps h4 { margin: 2px 0 5px; font-size: 18px; }
.steps p { max-width: 48ch; font-size: 14px; line-height: 1.5; }

/* Club finder: quiet search controls and readable, consistent result cards. */
.clubs { padding-top: clamp(72px,8vw,112px); }
.clubs > .wall { display: none; }
.clubs .sub { max-width: 68ch; color: var(--text-2); }
.best-stats { margin-top: 30px; border-color: var(--line); }
.best-stats div { padding: 19px 22px; }
.best-stats dd { color: var(--gold-lo); background: none; -webkit-text-fill-color: currentColor; }
.best-stats dt { color: var(--mute); }
:root[data-theme="dark"] .best-stats dd { color: var(--gold-hi); }
.best-cta { margin-top: 24px; }
.best-cta .btn--ghost { border-color: var(--line-strong); color: var(--text); }
.finder { margin-top: 30px; gap: 14px; }
.finder input { width: min(100%, 520px); max-width: 520px; min-height: 52px; padding: 13px 20px; border: 1px solid var(--line-strong); border-radius: 8px; box-shadow: none; }
.chips { gap: 8px; }
.chip { border-radius: 5px; padding: 10px 13px; }
.chip.is-on { background: var(--burg); border-color: var(--burg); color: var(--bg); }
.chip.is-on b { color: var(--gold-hi); }
.club-grid { grid-template-columns: repeat(auto-fill,minmax(min(100%,250px),1fr)); gap: 12px; margin-top: 24px; }
.club { min-width: 0; padding: 20px; border-radius: 10px; border-color: var(--line); background: var(--panel); box-shadow: none; }
.club-mark { opacity: .045; }
.club-medal { width: 62px; height: 62px; background: var(--burg); border-color: var(--line-strong); }
.club-city { color: var(--gold-lo); }
:root[data-theme="dark"] .club-city { color: var(--gold-hi); }
.club h3 { margin-top: 14px; }
.club-blurb,.club-meta { color: var(--text-2); }
.club-meta a,.empty a { color: var(--gold-lo); }
:root[data-theme="dark"] .club-meta a,:root[data-theme="dark"] .empty a { color: var(--gold-hi); }

/* Reviews stay interactive while the display sheds the oversized card effects. */
.reviews { overflow: hidden; background: var(--burg); color: #f5f1e8; }
.reviews .eyebrow { color: var(--gold-hi); }
.reviews h2 { max-width: 18ch; color: #f5f1e8; }
.reviews h2 .gold-text { color: var(--gold-hi); }
.reviews .sub { max-width: 60ch; color: #d5d2ca; }
.rv { grid-template-columns: minmax(0,1fr) minmax(260px,340px); gap: 34px clamp(32px,5vw,72px); margin-top: 38px; }
.rv-count,.rv-count b { color: #f5f1e8; }
.rv-count-l { color: #bdbbb6; }
.rv-q blockquote { color: #f5f1e8; font-size: clamp(22px,2.4vw,34px); }
.rv-q em { color: var(--gold-hi); background: none; }
.rv-who b { color: #f5f1e8; }
.rv-who .rv-cap > span { color: var(--gold-hi); }
.rv-m { background: #161d30; border-color: rgba(233,200,117,.35); box-shadow: none; }
.rv-picker { margin-top: 24px; }
.rv-pick { opacity: .62; }
.rv-pick:hover,.rv-pick.is-active { opacity: 1; }
.rv-ring circle { stroke: var(--gold-hi); }
.rv-stage { padding-right: 24px; }
.rv-stage::before { display: none; }
.rv-deck { width: min(300px,100%); }
.rv-card { border: 1px solid rgba(233,200,117,.32); border-radius: 12px; background: #f5f1e8; box-shadow: 0 24px 54px -36px rgba(0,0,0,.8); }
.rv-card::before { inset: 8px; border-radius: 7px; border-color: rgba(11,16,33,.12); }
.rv-card::after { display: none; }
.rv-card .rv-tag { color: #806126; }
.rv-medal { background: #101526; box-shadow: none; }
.rv-medals::before { border-color: rgba(177,138,58,.28); }
.rv-name { color: #171a22; }
.rv-city { color: #806126; }
.rv-play { color: #806126; }
.rv-play i { background: var(--gold-hi); box-shadow: none; }
.rv-play i::after { border-left-color: #111725; }
.rv-watch { background: var(--gold-hi); border-color: var(--gold-hi); color: #111725; }
.rv-arrows .rail-btn { border-color: rgba(233,200,117,.4); color: var(--gold-hi); }
.rv-arrows .rail-btn:hover { background: rgba(233,200,117,.12); }

/* Questions and contact return to warm paper, with the form as the clear endpoint. */
.faq { border-bottom: 1px solid var(--line); }
.faq-grid { grid-template-columns: minmax(240px,.72fr) minmax(0,1.28fr); gap: clamp(34px,7vw,104px); }
.faq .sub { max-width: 44ch; color: var(--text-2); }
.faq .btn--ghost { border-color: var(--line-strong); color: var(--text); }
.acc details { border-color: var(--line); }
.acc summary { padding: 21px 0; color: var(--text); font-size: 17px; }
.acc summary::after { width: 13px; height: 13px; }
.acc details p { padding-bottom: 22px; color: var(--text-2); }
.apply.section { padding-block: clamp(78px,9vw,124px); }
.apply-grid { grid-template-columns: minmax(0,1fr) minmax(360px,.88fr); gap: clamp(34px,6vw,88px); }
.apply-copy h2 { max-width: 11ch; font-size: clamp(42px,5.3vw,72px); line-height: .98; }
.apply-points { max-width: 48ch; gap: 13px; margin-top: 28px; }
.apply-points li { color: #dedbd3; }
.apply-points .ico { flex: none; color: var(--gold-hi); }
.apply .form { padding: clamp(24px,3vw,36px); border: 1px solid rgba(233,200,117,.24); border-radius: 12px; background: #f5f1e8 !important; color: #171a22; box-shadow: 0 24px 64px -46px rgba(0,0,0,.75); }
.apply .form h3 { margin-bottom: 4px; font-size: 24px; color: #171a22; }
.apply .form .field label { color: #555b66; }
.apply .form .field input,.apply .form .field select { min-width: 0; min-height: 48px; border: 1px solid rgba(18,25,42,.2); border-radius: 6px; background-color: #fffdf8 !important; color: #171a22; }
.apply .form .consent { color: #555b66; }
.apply .form .consent a { color: #765a21 !important; }
.apply .form .btn--gold { min-height: 54px; background: var(--gold-hi); color: #111725; border-color: var(--gold-hi); }
.footer { padding: 38px 0 54px; border-top: 1px solid rgba(233,200,117,.16); background: #080c18; }
.foot { align-items: start; gap: 36px; }
.foot > div:first-child { max-width: 500px; }
.foot > div:first-child img { width: 94px; height: auto; }
.footer .legal,.footer .foot-links { color: #c4c2bc; }
.footer .foot-links { max-width: 430px; gap: 9px; }
.footer .foot-links a { text-underline-offset: 3px; }
.footer .foot-links p { margin-top: 8px; }

@media (max-width: 1020px) {
  .platform-grid { grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: 32px; }
  .devices { min-height: 430px; padding-left: 5%; }
  .partners-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .rv { grid-template-columns: minmax(0,1fr) 290px; gap: 28px; }
  .rv-stage { padding-right: 0; }
  .rv-deck { width: 250px; }
  .apply-grid { grid-template-columns: minmax(0,1fr) minmax(320px,.9fr); gap: 32px; }
}

@media (max-width: 760px) {
  .platform.section,.partners.section,.clubs.section,.reviews.section,.faq.section { padding-block: 64px; }
  .platform h2,.partners h2,.clubs h2,.reviews h2,.faq h2 { margin-bottom: 18px; }
  .platform-grid,.partners-grid,.faq-grid,.apply-grid { grid-template-columns: minmax(0,1fr); gap: 28px; }
  .platform-grid { gap: 16px; }
  .platform-copy { max-width: none; }
  .platform .sub { margin-top: 16px; }
  .feat { grid-template-columns: 1fr; margin-top: 20px; }
  .devices { width: 100%; min-height: 0; max-width: 600px; justify-self: center; margin: 8px 0 0; padding: 10px 0 54px 10%; }
  .iphone { left: 0; bottom: 0; width: 28%; }
  .mac-base { margin-inline: -3%; }
  .mac .device-label { margin-top: 12px; }
  .iphone .device-label { font-size: 9px; }
  .partners-grid { margin-top: 26px; }
  .launch { padding: 25px 22px; }
  .steps { padding: 4px 0 4px 4px; }
  .clubs .sub { max-width: 58ch; }
  .best-stats { grid-template-columns: 1fr 1fr; }
  .best-stats div { padding: 16px 12px; }
  .best-stats div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .best-stats div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .best-stats dd { font-size: clamp(26px,8vw,38px); }
  .best-stats dt { font-size: 12px; }
  .finder input { max-width: none; }
  .club-grid { grid-template-columns: minmax(0,1fr); }
  .club { display: grid; grid-template-columns: 56px minmax(0,1fr); gap: 0 15px; padding: 16px; }
  .club-medal { grid-row: 1 / span 2; width: 56px; height: 56px; }
  .club-body { grid-column: 2; }
  .club h3 { margin: 2px 0 5px; }
  .club-blurb { margin-bottom: 8px; }
  .club-meta { grid-column: 2; }
  .rv { grid-template-columns: minmax(0,1fr); gap: 22px; margin-top: 26px; }
  .rv-stage { order: -1; padding: 0 0 10px; }
  .rv-deck { width: min(236px,62vw); }
  .rv-card { padding: 38px 16px 26px; }
  .rv-q blockquote { font-size: 20px; }
  .rv-picker { margin: 20px -4px 0; }
  .faq-grid { gap: 25px; }
  .faq .btn { margin-top: 20px; }
  .apply-grid { gap: 30px; }
  .apply-copy h2 { max-width: 13ch; font-size: clamp(42px,10vw,58px); }
  .apply .form { padding: 24px 20px; }
  .foot { flex-direction: column; gap: 22px; }
  .footer { padding-bottom: 110px; }
}

@media (max-width: 390px) {
  .platform.section,.partners.section,.clubs.section,.reviews.section,.faq.section { padding-block: 54px; }
  .devices { padding-left: 6%; padding-bottom: 48px; }
  .iphone { width: 27%; }
  .tabs button { padding-inline: 13px; }
  .best-cta .btn { padding-inline: 15px; }
  .rv-actions { flex-wrap: wrap; }
  .rv-watch { min-width: 0; }
  .rv-arrows { margin-left: auto; }
  .apply .form { padding-inline: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  .wall-track { animation: none; }
}

/* Keep high contrast on the dark panels when --burg is champagne in dark mode. */
.launch { background: #0b1021; color: #f5f1e8; }
.reviews { background: #0b1021; color: #f5f1e8; }
.best-stats { padding: 0 18px; border: 1px solid rgba(233,200,117,.24); border-radius: 10px; background: #0b1021; color: #f5f1e8; }
.best-stats div { border-color: rgba(233,200,117,.2); }
.best-stats dt { color: #d5d2ca; }
.best-stats dd { color: #e9c875; }
:root[data-theme="dark"] .best-stats dd { color: #f2d994; }

/* The league uses its existing 16:9 video as a clean feature panel. */
.lg-scene { height: auto !important; min-height: 0; padding: 0; background: #0b1021; color: #f5f1e8; }
.lg-sticky {
  display: grid;
  grid-template-columns: minmax(0,.88fr) minmax(0,1.12fr);
  column-gap: clamp(28px,5vw,72px);
  align-items: center;
  min-height: 0;
  padding: clamp(70px,8vw,112px) max(32px,calc((100vw - 1280px)/2)) clamp(64px,7vw,96px);
  background: #0b1021;
}
.lg-word,.lg-photo { display: none !important; }
.lg-video {
  position: relative !important;
  inset: auto !important;
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  opacity: 1;
  overflow: hidden;
  border: 1px solid rgba(233,200,117,.24);
  border-radius: 12px;
  background: #111827;
  box-shadow: 0 28px 60px -40px rgba(0,0,0,.8);
  transform: none !important;
}
.lg-video .vbox { position: absolute; inset: 0; }
.lg-video video,.lg-video img { width: 100%; height: 100%; object-fit: cover; }
.lg-shade { background: linear-gradient(0deg,rgba(11,16,33,.3),transparent 38%); }
.lg-caption { display: none; }
.lg-content,.lg-content.on {
  display: grid;
  grid-template-columns: minmax(0,.88fr) minmax(0,1.12fr);
  grid-column: 1 / -1;
  grid-row: 1 / span 2;
  align-self: stretch;
  align-content: start;
  column-gap: clamp(28px,5vw,72px);
  row-gap: 0;
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding: 0;
  z-index: 4;
  pointer-events: auto !important;
}
.lg-content > .eyebrow,.lg-content > h2,.lg-content > .sub,.lg-content > .lg-points { grid-column: 1; }
.lg-content > .eyebrow { align-self: end; margin: 0 0 14px; color: #e9c875; }
.lg-content h2 { margin: 0 0 16px; color: #f5f1e8; font-size: clamp(36px,4.8vw,66px); line-height: 1.02; }
.lg-content .gold-text { color: #e9c875; -webkit-text-fill-color: #e9c875; }
.lg-content .sub { margin: 0; color: #d5d2ca; line-height: 1.55; }
.lg-points { display: grid; gap: 9px; margin: 20px 0 0; }
.lg-points li { color: #dedbd3; font-size: 14px; }
.lg-points .ico { flex: none; color: #e9c875; }
.lg-cards {
  grid-column: 1 / -1;
  grid-row: 2;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 12px;
  margin-top: 36px;
}
.lg-glass,.lg-glass--main {
  min-width: 0;
  padding: 22px;
  border: 1px solid rgba(233,200,117,.22);
  border-radius: 9px;
  background: #131b2e;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
/* иконки — картинки с прозрачными полями (тень запечена): размер предмета задаёт --s из styles.css, поля гасятся отрицательными margin,
   поэтому сжимать картинку до 38px нельзя; слева предмет встаёт ровно по краю текста */
.lg-glass { display: flex; flex-direction: column; align-items: flex-start; }
.lg-glass img.ico-lg:not(.ico-lg--map) { --s: 64px; margin-left: calc(var(--s) * -.25); }
.lg-glass img.ico-lg--map { --w: 128px; --h: 64px; margin-left: calc(var(--w) * -.1414); }
.lg-glass h3 { margin: 18px 0 8px; color: #e9c875; font-size: 16px; letter-spacing: .04em; text-transform: uppercase; }
.lg-glass p { margin: 0; color: #d5d2ca; font-size: 14px; line-height: 1.5; }
.lg-social { grid-column: 1 / -1; grid-row: 3; display: grid; grid-template-columns: minmax(0,1fr) max-content; align-items: center; gap: 12px 20px; margin-top: 28px; padding: 16px 18px; border: 1px solid rgba(233,200,117,.2); border-radius: 9px; background: rgba(19,27,46,.72); scroll-margin-top: 92px; }
.lg-social-tag { color: #e9c875; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.lg-social p { margin: 0; color: #d5d2ca; font-size: 14px; line-height: 1.5; }
.lg-social-tag { grid-column: 1; }
.lg-social p { grid-column: 1; }
.lg-social-links { grid-column: 2; grid-row: 1 / span 2; display: flex; flex-wrap: nowrap; justify-content: flex-end; gap: 6px; white-space: nowrap; }
.lg-social-links a { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 6px; padding: 8px 9px; border: 1px solid rgba(245,241,232,.18); border-radius: 999px; color: #f5f1e8; font-size: 11px; text-decoration: none; white-space: nowrap; transition: border-color .2s,color .2s,background .2s; }
.lg-social-links a:hover { border-color: rgba(233,200,117,.65); color: #e9c875; background: rgba(233,200,117,.06); }
.lg-social-links .ico { width: 15px; height: 15px; }
.lg-social-links .brand-icon { display: block; width: 18px; height: 18px; flex: none; fill: currentColor; }
.lg-social-links .brand-icon--youtube { width: 19px; }
.lg-social-links .brand-icon--vk { width: 22px; height: 17px; }
.lg-social-links .brand-icon--instagram { fill: none; stroke: currentColor; stroke-width: 1.8; }
.lg-social-links .brand-icon--instagram .brand-icon__dot { fill: currentColor; stroke: none; }
.lg-social-links .brand-icon--app { width: 28px; height: auto; object-fit: contain; }
.lg-social-links .brand-icon--phone { display: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.lg-cta { grid-column: 1 / -1; grid-row: 4; justify-self: start; margin-top: 20px; opacity: 1; transform: none; }

@media (max-width: 1020px) {
  .lg-social { grid-template-columns: max-content minmax(0,1fr); gap: 9px 16px; }
  .lg-social p { grid-column: 2; }
  .lg-social-links { grid-column: 1 / -1; grid-row: auto; justify-content: flex-start; }
}

@media (max-width: 760px) {
  .lg-sticky {
    grid-template-columns: minmax(0,1fr);
    row-gap: 22px;
    padding: 60px 20px;
  }
  .lg-video { grid-column: 1; grid-row: 1; }
  .lg-content,.lg-content.on {
    grid-template-columns: minmax(0,1fr);
    grid-column: 1;
    grid-row: 2 / span 2;
    row-gap: 0;
  }
  .lg-content > .eyebrow,.lg-content > h2,.lg-content > .sub,.lg-content > .lg-points { grid-column: 1; }
  .lg-content > .eyebrow { margin-bottom: 12px; }
  .lg-content h2 { max-width: 12ch; margin-bottom: 13px; font-size: clamp(35px,9vw,50px); }
  .lg-content .sub { display: block !important; }
  .lg-points { margin-top: 16px; }
  .lg-cards { grid-column: 1; grid-row: 3; grid-template-columns: minmax(0,1fr); gap: 9px; margin-top: 23px; }
  .lg-glass { display: grid; grid-template-columns: 48px minmax(0,1fr); column-gap: 14px; align-items: center; padding: 15px; }
  .lg-glass img.ico-lg:not(.ico-lg--map) { --s: 44px; }
  .lg-glass img.ico-lg--map { --w: 48px; --h: 44px; }
  .lg-glass .ico-lg { grid-row: span 2; }
  .lg-glass h3 { margin: 0 0 4px; }
  .lg-glass p { font-size: 13px; }
  .lg-social { grid-column: 1; grid-row: 4; grid-template-columns: 1fr; gap: 7px; margin-top: 18px; padding: 15px; }
  .lg-social p { grid-column: 1; }
  .lg-social-links { justify-content: flex-start; margin: 5px -2px 0; padding: 0 2px 5px; overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-width: thin; }
  .lg-cta { grid-column: 1; grid-row: 5; justify-self: stretch; margin-top: 12px; }
}

@media (max-width: 390px) {
  .lg-sticky { padding: 54px 16px; }
  .lg-glass { grid-template-columns: 44px minmax(0,1fr); column-gap: 12px; }
}
/* Explicit placement prevents legacy scroll-scene rows from overlaying the copy. */
.lg-content,.lg-content.on {display:contents;}
.lg-copy {grid-column:1;grid-row:1;align-self:center;}
.lg-video {grid-column:2;grid-row:1;align-self:center;}
.lg-copy h2 {max-width:15ch;}
.lg-copy .lg-points {opacity:1!important;transform:none!important;display:grid;}
.lg-cards {grid-column:1/-1;grid-row:2;max-width:none;}
.lg-social {grid-column:1/-1;grid-row:3;}
.lg-cta {grid-column:1/-1;grid-row:4;}
@media(max-width:760px){.lg-video{grid-column:1;grid-row:1;}.lg-copy{grid-column:1;grid-row:2;}.lg-cards{grid-column:1;grid-row:3;margin-top:0;}.lg-social{grid-column:1;grid-row:4;}.lg-cta{grid-column:1;grid-row:5;margin-top:12px;}.lg-copy .sub{display:block!important;}.lg-copy h2{font-size:clamp(32px,8.4vw,50px);}}
/* The club dialog shares the same two-theme surfaces as the page. */
.club-modal,html[data-theme="dark"] .club-modal {border-radius:16px;background:var(--panel);color:var(--text);box-shadow:0 40px 100px #0008;}
.club-modal::backdrop,html[data-theme="dark"] .club-modal::backdrop {background:#080e1abd;}
.cm-noimg,html[data-theme="dark"] .cm-noimg {background:radial-gradient(ellipse at 50% 40%,#27354a,#0b1021 80%);}
.cm-close,html[data-theme="dark"] .cm-close {background:var(--panel);color:var(--text);}
html[data-theme="dark"] .cm-about {color:var(--text-2);}
html[data-theme="dark"] .footer{background:#080e1a;}
.form .form-status.err,html[data-theme="dark"] .form .form-status.err{color:#a52638;}
.form .form-status.ok,html[data-theme="dark"] .form .form-status.ok{color:#24633b;}
html[data-theme="dark"] .form .field select option{background:#fffdf8;color:#171a22;}
html[data-theme="dark"] .rv-card{background:linear-gradient(150deg,#1d293e,#0d1525);border-color:#e9c87555;}

@media (max-width: 600px) {
  .lg-social-links { overflow: visible; gap: 10px; padding-bottom: 0; }
  .lg-social-links a { justify-content: center; width: 48px; min-height: 48px; padding: 10px; }
  .lg-social-links .social-label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .lg-social-links .social-arrow { display: none; }
  .lg-social-links .brand-icon { width: 23px; height: 23px; }
  .lg-social-links .brand-icon--vk { width: 26px; height: 20px; }
  .lg-social-links .brand-icon--app { display: none; }
  .lg-social-links .brand-icon--phone { display: block; }
}
