/* Public landing only; cabinet and standalone authentication stay independent. */
.landing-page { --lime: #c8e89b; --night: #0d1216; background: var(--night); color: #f0f2ed; }
.landing-page .ambient { display: none; }
.landing-page .site-header, .landing-page .site-footer, .lh-shell { width: min(1200px, calc(100% - 80px)); margin-inline: auto; }
.landing-page .site-header { height: 100px; border-bottom: 1px solid #ffffff12; }
.landing-page .brand { font-size: 23px; font-weight: 650; letter-spacing: -.7px; }
.landing-page .brand-mark { box-shadow: none; }
.landing-page .main-nav { gap: 26px; font-size: 13px; }
.landing-page .button { min-height: 48px; border-radius: 8px; padding: 0 22px; font-size: 14px; font-weight: 550; gap: 22px; }
.landing-page .button:hover { transform: translateY(-1px); }
.landing-page .button-primary:hover { background: #d9efbb; }
.landing-page .button-ghost { background: transparent; border-color: #ffffff26; }
.landing-page .header-actions .button { min-height: 40px; padding-inline: 18px; font-size: 13px; }
.landing-page h1, .landing-page h2, .landing-page h3, .landing-page p { margin-top: 0; }
.landing-page h2 { font-size: clamp(30px, 3.3vw, 44px); line-height: 1.15; letter-spacing: -.035em; font-weight: 550; }
.landing-page h3 { font-weight: 550; }
.landing-page .cabinet-icon { width: 24px; height: 24px; display: inline-block; object-fit: contain; flex: 0 0 auto; vertical-align: middle; }
.lh-eyebrow { margin-bottom: 24px; font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: #a7b7a2; }
.lh-hero { display: grid; grid-template-columns: 1.03fr 1fr; align-items: center; gap: 66px; padding-block: 90px 84px; }
.lh-hero .lh-eyebrow { display: flex; align-items: center; gap: 10px; }
.lh-eyebrow > span { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); }
.lh-hero h1 { margin-bottom: 26px; font-size: clamp(46px, 4.7vw, 66px); line-height: 1.08; letter-spacing: -.05em; font-weight: 550; }
.lh-hero h1 em { font-style: normal; font-weight: inherit; color: var(--lime); }
.lh-lead { max-width: 470px; margin-bottom: 30px; font-size: 16px; line-height: 1.8; color: #a7afb5; }
.lh-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.lh-text-link { font-size: 13px; color: #d3d7d9; padding-block: 10px; }
.lh-text-link span { margin-left: 8px; }
.landing-page .lh-hero-note { margin: 19px 0 0; color: #8e9a9f; font-size: 12px; }
.lh-hero-note span { margin-inline: 9px; }
.lh-preview { min-width: 0; border: 1px solid #39433c; border-radius: 14px; background: #151d20; box-shadow: 0 24px 60px #0003; }
.lh-preview-bar { display: flex; align-items: center; justify-content: space-between; padding: 15px 20px; border-bottom: 1px solid #ffffff0d; font-size: 12px; color: #bbc3bf; }
.lh-preview-bar i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #c8e89b; margin-right: 7px; }
.lh-preview-bar small { color: #8c9997; font-size: 10px; }
.lh-preview-body { padding: 24px; }
.lh-preview-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.lh-preview-heading p { font-size: 9px; color: #95a89a; letter-spacing: .08em; margin-bottom: 8px; }
.lh-preview-heading h2 { font-size: 21px; line-height: 1.3; letter-spacing: -.025em; margin-bottom: 24px; }
.lh-preview-heading > .cabinet-icon { width: 34px; height: 34px; }
.lh-demo-task { display: grid; grid-template-columns: .85fr 1fr; background: #0e1519; border: 1px solid #ffffff0e; border-radius: 9px; overflow: hidden; }
.lh-demo-art { padding: 18px; display: grid; align-items: center; overflow: hidden; background: #263a32; }
.lh-print { position: relative; min-height: 212px; padding: 18px 12px 12px; background: #e7e6d6; color: #253b32; transform: rotate(-5deg); box-shadow: 0 8px 16px #0003; display: flex; flex-direction: column; overflow: hidden; }
.lh-print > span { position: relative; z-index: 1; font-size: 20px; line-height: 1.05; letter-spacing: -.04em; font-weight: 650; }
.lh-print em { font-weight: 450; font-style: normal; font-size: 22px; }
.lh-print-circle { width: 90px; height: 90px; border-radius: 50%; border: 20px solid #8c9f79; margin: 12px -20px -15px auto; }
.lh-print small { margin-top: auto; position: relative; padding-top: 12px; font-size: 7px; }
.lh-demo-description { padding: 20px 16px; }
.lh-tag { color: #b9caaf; font-size: 10px; }
.lh-demo-description h3 { margin-block: 10px 8px; font-size: 17px; line-height: 1.25; letter-spacing: -.025em; }
.lh-demo-description p { color: #97a3a8; font-size: 11px; line-height: 1.65; margin-bottom: 18px; }
.lh-demo-reward { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding-block: 12px; border-top: 1px solid #ffffff12; }
.lh-demo-reward > span { font-size: 9px; color: #98a59f; max-width: 75px; }
.lh-demo-reward strong { font-size: 18px; font-weight: 550; white-space: nowrap; }
.lh-demo-reward .cabinet-icon { width: 18px; height: 18px; }
.lh-demo-description .button { width: 100%; min-height: 36px; padding: 8px; font-size: 10px; gap: 8px; }
.lh-preview-foot { margin-top: 18px; display: flex; align-items: center; gap: 8px; color: #9daaa3; font-size: 10px; }
.lh-preview-foot .cabinet-icon { width: 18px; height: 18px; }
.lh-formats { padding-block: 24px; display: flex; align-items: center; justify-content: space-between; gap: 22px; border-block: 1px solid #ffffff15; }
.lh-formats > span { display: flex; align-items: center; gap: 12px; color: #b9c2c2; font-size: 13px; }
.lh-formats > span:first-child { font-size: 11px; color: #85918e; line-height: 1.5; }
.lh-roles { padding-block: 100px; }
.lh-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 36px; margin-bottom: 38px; }
.lh-section-heading h2 { margin-bottom: 0; }
.lh-section-heading > p { margin-bottom: 0; color: #95a1a7; font-size: 14px; line-height: 1.8; }
.lh-role-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.lh-role { display: flex; flex-direction: column; padding: 32px; border: 1px solid #ffffff14; border-radius: 12px; background: #151d22; }
.lh-role-alt { background: #19221f; }
.lh-role-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.lh-role-top > span { color: #a1b398; font-size: 10px; letter-spacing: .09em; }
.lh-role h3 { font-size: 28px; line-height: 1.25; letter-spacing: -.035em; margin-bottom: 18px; }
.lh-role p { max-width: 440px; font-size: 14px; line-height: 1.8; color: #a2adb1; margin-bottom: 22px; }
.lh-role ul { list-style: none; padding: 0; margin: 0 0 28px; font-size: 12px; color: #bbc5c2; }
.lh-role li { padding: 7px 0 7px 18px; position: relative; }
.lh-role li::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: #a2b895; position: absolute; left: 0; top: 14px; }
.lh-role-link { margin-top: auto; padding-top: 20px; border-top: 1px solid #ffffff15; display: flex; justify-content: space-between; color: #d0e9b4; font-size: 14px; }
.lh-role-link:hover { color: #f0ffe0; }
.lh-role-link span { transition: transform .2s; }
.lh-role-link:hover span { transform: translate(2px,-2px); }
.lh-process { padding-block: 78px 40px; background: #e8e9df; color: #233129; }
.lh-process .lh-eyebrow { color: #5b6e58; }
.lh-process .lh-section-heading > p { color: #657167; }
.lh-steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 36px; list-style: none; margin: 50px 0 24px; padding: 0; }
.lh-steps li { display: flex; flex-direction: column; border-top: 1px solid #b9c3b3; padding-top: 20px; }
.lh-step-number { color: #6e8064; font-size: 13px; margin-bottom: 27px; }
.lh-steps h3 { font-size: 20px; letter-spacing: -.025em; margin-bottom: 13px; }
.lh-steps p { color: #657167; font-size: 14px; line-height: 1.8; margin-bottom: 26px; }
.lh-step-example { margin-top: auto; padding: 16px; background: #dce2d4; border: 1px solid #cbd4c3; border-radius: 8px; min-height: 94px; }
.lh-step-example > span { display: block; color: #5e6d56; font-size: 11px; margin-bottom: 8px; }
.lh-step-example > strong { font-size: 22px; font-weight: 550; display: flex; align-items: center; gap: 10px; }
.lh-step-example small { font-size: 12px; font-weight: 400; }
.lh-step-example > .lh-status { font-size: 14px; min-height: 34px; }
.lh-status i { width: 7px; height: 7px; border-radius: 50%; background: #8a7138; }
.lh-step-example .cabinet-icon { filter: brightness(.55); }
.lh-example-note { color: #63705c; font-size: 11px; margin-bottom: 0; }
.lh-arena-note { margin-top: 76px; padding: 26px 30px; display: grid; grid-template-columns: 74px minmax(0, 1fr) auto; align-items: center; gap: 24px; border: 1px solid #c8e89b33; border-radius: 12px; background: #17211d; }
.lh-arena-die { width: 70px; height: 70px; display: flex; align-items: baseline; justify-content: center; gap: 2px; border: 1px solid #c8e89b66; border-radius: 15px; color: #d1edab; background: #23352a; font-size: 35px; font-weight: 600; line-height: 68px; }
.lh-arena-die span { font-size: 11px; color: #9baa9b; }
.lh-arena-copy .lh-eyebrow { margin-bottom: 7px; font-size: 10px; }
.lh-arena-copy h2 { margin: 0 0 7px; font-size: clamp(21px, 2.1vw, 27px); letter-spacing: -.025em; }
.lh-arena-copy p:last-child { max-width: 710px; margin: 0; color: #aebbb1; font-size: 13px; line-height: 1.6; }
.lh-arena-link { padding: 10px 0; color: #d0e9b4; font-size: 13px; white-space: nowrap; }
.lh-arena-link:hover { color: #f0ffe0; }
.lh-arena-link span { margin-left: 7px; }
.lh-trust { display: grid; grid-template-columns: 1fr 1.15fr; gap: 80px; padding-block: 100px; }
.lh-trust > div > p:last-child { font-size: 14px; color: #93a098; }
.lh-faq details { border-bottom: 1px solid #ffffff19; }
.lh-faq summary { cursor: pointer; list-style: none; padding: 22px 30px 22px 0; font-size: 15px; position: relative; }
.lh-faq summary::-webkit-details-marker { display:none; }
.lh-faq summary::after { content: '+'; position: absolute; right: 2px; color: #bdd99d; font-size: 22px; top: 15px; }
.lh-faq details[open] summary::after { content: '−'; }
.lh-faq details:first-child summary { padding-top: 0; }
.lh-faq details:first-child summary::after { top: -7px; }
.lh-faq p { margin-bottom: 22px; font-size: 13px; line-height: 1.8; color: #a3ada9; max-width: 500px; }
.lh-finish { padding: 40px; margin-bottom: 72px; border-radius: 12px; border: 1px solid #b4cd982b; background: #202d24; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.lh-finish .lh-eyebrow { margin-bottom: 14px; }
.lh-finish h2 { font-size: 32px; margin-bottom: 12px; }
.lh-finish p:last-child { color: #a6b2a5; font-size: 13px; margin-bottom: 0; }
.lh-finish .button { flex-shrink: 0; }
.landing-page .site-footer { min-height: 100px; font-size: 12px; color: #8c9897; }
.lh-dialog-open { overflow: hidden; }
.lh-login-dialog { width: min(460px, calc(100% - 32px)); max-height: calc(100dvh - 40px); padding: 42px 34px 26px; border: 1px solid #465047; border-radius: 16px; background: #151d22; color: #eff2eb; box-shadow: 0 28px 100px #0008; text-align: center; overflow-y: auto; }
.lh-login-dialog::backdrop { background: #050a0fba; backdrop-filter: blur(7px); }
.lh-dialog-close { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; background: transparent; border: 0; border-radius: 8px; color: #aab8ae; cursor: pointer; font-size: 26px; }
.lh-dialog-close:hover { background: #ffffff0c; }
.lh-login-mark { width: 56px; height: 56px; margin: 0 auto 24px; display: grid; place-items: center; border-radius: 16px; background: #233a4d; }
.lh-login-mark svg { width: 32px; height: 32px; }
.lh-login-dialog .lh-eyebrow { margin-bottom: 12px; }
.lh-login-dialog h2 { font-size: 29px; margin-bottom: 14px; }
#landing-login-description { font-size: 14px; line-height: 1.75; color: #a6b1b5; margin-bottom: 26px; }
.landing-page .lh-vk-login { width: 100%; background: #287ee3; color: white; gap: 12px; }
.lh-vk-login svg { width: 24px; height: 24px; flex-shrink: 0; }
.landing-page .lh-vk-login:hover { background: #3b8dec; }
.lh-login-note { display: flex; align-items: center; gap: 10px; text-align: left; padding-block: 20px; }
.lh-login-note p { margin: 0; font-size: 12px; line-height: 1.6; color: #a7b7ab; }
.lh-login-legal { margin: 0; border-top: 1px solid #ffffff12; padding-top: 18px; color: #83918e; font-size: 10px; line-height: 1.7; }
@media (max-width: 1100px) {
  .lh-hero { gap: 32px; padding-block: 64px; }
  .lh-hero h1 { font-size: 48px; }
  .lh-preview-body { padding: 18px; }
  .lh-demo-task { grid-template-columns: .75fr 1fr; }
  .lh-demo-art { padding: 12px; }
  .lh-print > span { font-size: 17px; }
  .lh-trust { gap: 40px; }
}
@media (max-width: 800px) {
  .landing-page .site-header, .landing-page .site-footer, .lh-shell { width: calc(100% - 40px); }
  .landing-page .site-header { grid-template-columns: 1fr auto; height: 80px; }
  .landing-page .main-nav { display: none; }
  .lh-hero { grid-template-columns: 1fr; gap: 40px; padding-block: 48px; }
  .lh-hero-copy { max-width: 540px; }
  .lh-preview { max-width: 560px; width: 100%; }
  .lh-demo-task { grid-template-columns: 1fr 1fr; }
  .lh-formats { flex-wrap: wrap; justify-content: flex-start; gap: 20px 28px; }
  .lh-formats > span:first-child { flex-basis: 100%; }
  .lh-formats br { display: none; }
  .lh-section-heading { align-items: start; flex-direction: column; gap: 22px; }
  .lh-roles, .lh-trust { padding-block: 60px; }
  .lh-role-grid { gap: 16px; }
  .lh-role { padding: 22px; }
  .lh-role h3 { font-size: 24px; }
  .lh-process { padding-top: 55px; }
  .lh-arena-note { grid-template-columns: 60px minmax(0, 1fr); gap: 16px; margin-top: 40px; padding: 20px; }
  .lh-arena-die { width: 56px; height: 56px; font-size: 28px; line-height: 54px; }
  .lh-arena-link { grid-column: 2; justify-self: start; padding: 0; }
  .lh-steps { grid-template-columns: 1fr; gap: 32px; margin-top: 30px; }
  .lh-step-number { margin-bottom: 16px; }
  .lh-trust { grid-template-columns: 1fr; }
  .lh-finish { flex-direction: column; align-items: start; padding: 28px; margin-bottom: 45px; }
}
@media (max-width: 520px) {
  .landing-page .header-actions .button-ghost { display: none; }
  .landing-page .brand { font-size: 20px; }
  .lh-hero h1 { font-size: 43px; }
  .lh-lead { font-size: 15px; }
  .lh-role-grid { grid-template-columns: 1fr; }
  .lh-demo-task { grid-template-columns: .8fr 1fr; }
  .lh-preview-body { padding: 14px; }
  .lh-demo-description { padding: 16px 12px; }
  .lh-demo-description h3 { font-size: 15px; }
  .lh-demo-art { padding: 10px; }
  .lh-print { min-height: 200px; padding-inline: 8px; }
  .lh-print > span, .lh-print em { font-size: 15px; }
  .lh-arena-note { grid-template-columns: 1fr; gap: 11px; }
  .lh-arena-link { grid-column: 1; }
  .lh-login-dialog { padding: 38px 22px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .landing-page *, .landing-page *::before, .landing-page *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
