/* Фаза 2: главная A/B. */
.h-sec { padding-block: var(--s10); }
@media (min-width: 1024px) { .h-sec { padding-block: var(--s14); } }
.h-c-mint { color: var(--mint); } .h-c-orange { color: var(--orange); } .h-c-gold { color: var(--gold); }
.h-up { color: var(--mint); font-weight: 600; } .h-dn { color: var(--orange); font-weight: 600; }
.h-hero { display: grid; gap: var(--s8); padding-block: var(--s10) var(--s8); align-items: center; }
.h-hero__txt { display: grid; gap: var(--s4); justify-items: start; }
.h-hero .display { max-width: 15ch; }
.h-hero .lead { max-width: 40ch; }
.h-live { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-meta); color: var(--muted); background: var(--canvas); box-shadow: var(--ring); border-radius: var(--r-pill); padding: 6px 14px; }
.h-live b { color: var(--ink); }
.h-live__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); animation: h-pulse 1.6s infinite; }
@keyframes h-pulse { 50% { opacity: .3; } }
.h-hero__art { position: relative; display: grid; justify-items: center; }
.h-mascot { width: 180px; height: auto; filter: drop-shadow(0 6px 16px rgba(0,0,0,.08)); }
.h-hero__art .h-mascot { position: absolute; right: -6px; bottom: -28px; width: 128px; }
.h-console { width: 100%; max-width: 420px; background: #171717; color: #d7f5e6; border-radius: var(--r-float); padding: 14px 16px 16px; box-shadow: var(--halo); font: 500 13px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; }
.h-console__top { display: flex; gap: 6px; align-items: center; margin-bottom: 10px; }
.h-console__top span { width: 10px; height: 10px; border-radius: 50%; background: #ff8f6b; } .h-console__top span:nth-child(2) { background: var(--butter); } .h-console__top span:nth-child(3) { background: #3ccf8e; }
.h-console__top em { margin-left: auto; font-style: normal; color: #8a8a8a; }
.h-console__rows { height: 104px; overflow: hidden; }
.h-console__rows p { animation: h-scroll 6s linear infinite; }
@keyframes h-scroll { from { transform: translateY(0); } to { transform: translateY(-52px); } }
.h-console__bar { height: 6px; background: #2a2a2a; border-radius: 3px; margin-top: 10px; overflow: hidden; }
.h-console__bar i { display: block; height: 100%; width: 40%; background: var(--butter); border-radius: 3px; animation: h-bar 3s ease-in-out infinite; }
@keyframes h-bar { 0% { width: 8%; } 100% { width: 96%; } }
@media (prefers-reduced-motion: reduce) { .h-console__rows p, .h-console__bar i, .h-live__dot { animation: none; } }
@media (min-width: 900px) {
  .h-hero { grid-template-columns: 1.15fr .85fr; padding-block: var(--s14); }
  .h-hero--b { grid-template-columns: 1.4fr .6fr; }
  .h-hero__art .h-mascot { width: 168px; right: -24px; bottom: -48px; }
  .h-mascot--b { width: 240px; justify-self: end; }
}
.h-hero--b .h-mascot--b { justify-self: center; }
.h-search { display: flex; align-items: center; gap: 8px; width: 100%; max-width: 560px; background: var(--paper); box-shadow: var(--ring), var(--glow); border-radius: var(--r-pill); padding: 6px 6px 6px 16px; }
.h-search .ic { color: var(--muted); flex: none; }
.h-search input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; color: var(--ink); padding: 8px 0; outline: none; }
.h-faucet, .h-band { display: grid; gap: var(--s6); background: var(--canvas); border-radius: var(--r-panel); padding: var(--s8) var(--s6); box-shadow: var(--ring); align-items: center; }
@media (min-width: 768px) { .h-faucet, .h-band { grid-template-columns: 1fr auto; padding: var(--s10); } }
.h-faucet__box { display: grid; gap: var(--s3); justify-items: center; text-align: center; background: var(--paper); border-radius: var(--r-float); padding: var(--s6); box-shadow: var(--glow); min-width: 240px; }
.h-timer { display: grid; } .h-timer b { font-size: 40px; font-weight: 600; letter-spacing: -.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.h-games { display: grid; gap: var(--s4); grid-template-columns: repeat(2, 1fr); margin-top: var(--s6); }
.h-daily { grid-column: 1 / -1; position: relative; display: grid; gap: var(--s3); justify-items: start; background: var(--butter); color: #121212; border-radius: var(--r-panel); padding: var(--s8) var(--s6); padding-right: 150px; overflow: hidden; min-height: 200px; text-decoration: none; }
.h-daily .body-text { color: #343433; max-width: 40ch; }
.h-daily .pill--ink { background: #171717; color: #fff; }
.h-daily img { position: absolute; right: 8px; bottom: -6px; width: 132px; height: auto; }
.h-daily--b { background: var(--sky); }
.h-tag { font-size: var(--fs-eyebrow); font-weight: 700; background: rgba(255,255,255,.6); border-radius: var(--r-pill); padding: 4px 12px; }
.h-game { display: grid; gap: 6px; background: var(--paper); border-radius: var(--r-card); padding: var(--s3); box-shadow: var(--ring); text-decoration: none; color: var(--ink); transition: transform var(--t-fast) var(--ease); }
.h-game:hover { transform: translateY(-2px); }
.h-game__art { display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: var(--r-nav); }
.h-game__art .ic { width: 40px; height: 40px; color: #343433; }
.h-bg-sky { background: var(--sky); } .h-bg-butter { background: var(--butter); } .h-bg-mint { background: #9fe8c6; } .h-bg-orange { background: #ffb59c; }
@media (min-width: 900px) { .h-games { grid-template-columns: 1.6fr repeat(2, 1fr); } .h-daily { grid-column: 1; grid-row: span 2; } }
.h-ways { display: grid; gap: var(--s4); grid-template-columns: repeat(2, 1fr); margin-top: var(--s6); }
@media (min-width: 768px) { .h-ways { grid-template-columns: repeat(3, 1fr); } .h-ways--4 { grid-template-columns: repeat(4, 1fr); } }
.h-way { display: grid; gap: 6px; align-content: start; background: var(--canvas); border-radius: var(--r-panel); padding: var(--s5); box-shadow: var(--ring); text-decoration: none; color: var(--ink); }
.h-way__ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--paper); box-shadow: var(--glow); color: var(--blue); margin-bottom: 6px; }
.h-split { display: grid; gap: var(--s6); }
@media (min-width: 900px) { .h-split { grid-template-columns: 1fr 1fr; align-items: start; } }
.h-panel { position: relative; background: var(--paper); border-radius: var(--r-panel); padding: var(--s6); box-shadow: var(--ring); }
.h-panel__h { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s3); margin-bottom: var(--s4); flex-wrap: wrap; }
.h-lb, .h-pay, .h-lessons { list-style: none; margin: 0; padding: 0; display: grid; }
.h-lb li, .h-pay li { display: grid; grid-template-columns: 32px 1fr auto; align-items: center; gap: var(--s3); padding: 10px 0; border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.h-lb li:first-child, .h-pay li:first-child { border-top: 0; }
.h-lb__n { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--oat); font-size: 13px; font-weight: 700; }
.h-lb li:nth-child(1) .h-lb__n { background: var(--butter); color: #121212; } .h-lb li:nth-child(2) .h-lb__n { background: var(--sky); color: #121212; } .h-lb li:nth-child(3) .h-lb__n { background: #ffb59c; color: #121212; }
.h-pay__ic { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--canvas); color: var(--mint); }
.h-pay li > span:nth-child(2) { display: grid; }
.h-steps { display: grid; gap: var(--s4); margin-top: var(--s6); }
@media (min-width: 768px) { .h-steps { grid-template-columns: repeat(3, 1fr); } }
.h-steps > div { background: var(--canvas); border-radius: var(--r-panel); padding: var(--s6); box-shadow: var(--ring); display: grid; gap: 6px; align-content: start; }
.h-steps b { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--pill); color: var(--pill-text); }
.h-steps h3 { font-size: var(--fs-label); margin: 6px 0 0; color: var(--ink); }
.h-mkt { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.h-mkt td { padding: 11px 0; border-top: 1px solid var(--line); } .h-mkt tr:first-child td { border-top: 0; }
.h-mkt td:not(:first-child) { text-align: right; padding-left: var(--s3); }
.h-news { display: grid; gap: var(--s4); }
.h-news__i { display: grid; gap: 4px; text-decoration: none; color: var(--ink); background: var(--paper); border-radius: var(--r-card); padding: var(--s4); box-shadow: var(--ring); }
.h-news__img { display: block; height: 72px; border-radius: var(--r-nav); background: linear-gradient(135deg, var(--sky), var(--butter)); opacity: .55; margin-bottom: 4px; }
.h-news__img--big { height: 200px; }
.h-newsgrid { display: grid; gap: var(--s4); margin-top: var(--s6); }
.h-news__big { display: grid; gap: 6px; text-decoration: none; color: var(--ink); }
@media (min-width: 900px) { .h-newsgrid { grid-template-columns: 1.5fr 1fr 1fr; } .h-news__big { grid-row: span 2; } .h-news__img--big { height: 260px; } }
.h-stats { display: grid; gap: var(--s4); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .h-stats { grid-template-columns: repeat(4, 1fr); } }
.h-stat { display: grid; gap: 4px; background: var(--paper); border-radius: var(--r-panel); padding: var(--s5); box-shadow: var(--ring); font-variant-numeric: tabular-nums; }
.h-stat b { font-size: 26px; font-weight: 600; color: var(--ink); letter-spacing: -.02em; }

.h-movers { display: grid; gap: var(--s3); margin-top: var(--s4); }
.h-movers > div { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.h-movers .meta { min-width: 96px; }
@media (min-width: 900px) { .h-movers { grid-template-columns: 1fr 1fr; } }
.h-course, .h-ask { display: grid; gap: var(--s4); justify-items: start; }
.h-course .heading, .h-ask .heading { margin: 0; }
.h-prog { display: grid; gap: 6px; width: 100%; }
.h-lessons { width: 100%; gap: 6px; }
.h-lessons li { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: var(--r-nav); background: var(--canvas); color: var(--text); }
.h-lessons li.is-done { color: var(--ink); } .h-lessons li.is-done .ic { color: var(--mint); }
.h-askf { display: grid; gap: var(--s3); width: 100%; justify-items: end; }
.h-askf textarea { width: 100%; resize: vertical; font: inherit; color: var(--ink); background: var(--canvas); border: 0; box-shadow: var(--ring); border-radius: var(--r-card); padding: 12px 14px; }
.h-ask img { position: absolute; right: 16px; top: -40px; width: 84px; height: auto; }
.h-faq { display: grid; margin-top: var(--s4); max-width: 820px; }
.h-faq details { border-top: 1px solid var(--line); padding: var(--s5) 0; }
.h-faq details:last-child { border-bottom: 1px solid var(--line); }
.h-faq summary { cursor: pointer; list-style: none; font-size: var(--fs-lead); font-weight: 500; color: var(--ink); display: flex; gap: 12px; align-items: baseline; }
.h-faq summary::-webkit-details-marker { display: none; }
.h-faq summary::before { content: '+'; color: var(--orange); font-weight: 400; width: 14px; flex: none; transition: transform var(--t-fast) var(--ease); }
.h-faq details[open] summary::before { transform: rotate(45deg); }
.h-faq details p { margin: var(--s3) 0 0 26px; }
