/* hl26.h3llo.cloud — стили. Токены и шрифты как на h3llo.cloud (b2c-site src/styles/site.css). */
@font-face { font-family: "Manrope"; src: url("/fonts/manrope-latin.woff2") format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+0000-00FF, U+2010-203A, U+20AC, U+2122, U+2190-2193; }
@font-face { font-family: "Manrope"; src: url("/fonts/manrope-cyrillic.woff2") format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+0400-045F, U+2116; }
@font-face { font-family: "Manrope"; src: url("/fonts/manrope-rub.woff2") format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+20BD; }
@font-face { font-family: "Roboto Mono"; src: url("/fonts/roboto-mono-latin.woff2") format("woff2"); font-weight: 100 700; font-display: block; unicode-range: U+0000-00FF, U+2010-203A, U+20AC, U+2122, U+2190-2193; }
@font-face { font-family: "Roboto Mono"; src: url("/fonts/roboto-mono-cyrillic.woff2") format("woff2"); font-weight: 100 700; font-display: block; unicode-range: U+0400-045F, U+2116; }
@font-face { font-family: "Manrope Fallback"; src: local("Arial"), local("Helvetica"); size-adjust: 104%; ascent-override: 96%; descent-override: 27%; line-gap-override: 0%; }
@font-face { font-family: "Roboto Mono Fallback"; src: local("Courier New"), local("Menlo"); size-adjust: 100%; ascent-override: 92%; descent-override: 24%; }

:root {
    --bg: #1b1b1b;
    --bg-2: #272727;
    --bg-3: #373737;
    --ink: #ffffff;
    --ink-2: rgb(233, 233, 233);
    --muted: rgb(173, 173, 173);
    --dim: rgb(143, 143, 143);
    --line: rgb(55, 55, 55);
    --mint: #86fcbc;
    --deep: #025829;
    --red: rgb(239, 68, 68);
    --font-ui: "Manrope", "Manrope Fallback", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-mono: "Roboto Mono", "Roboto Mono Fallback", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    --ease: cubic-bezier(0.2, 0, 0.2, 1);
    color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-ui); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; text-wrap: pretty; overflow-x: clip; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--mint); }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 4px; }
img, svg { display: block; }
h1, h2 { text-wrap: balance; }
.mono { font-family: var(--font-mono); }
.mint { color: var(--mint); }
.dim { color: var(--dim); }
.link { color: var(--mint); border-bottom: 1px solid rgba(134, 252, 188, 0.35); }
.link:hover { border-bottom-color: var(--mint); }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; padding: 8px 14px; border-radius: 8px; background: var(--mint); color: var(--bg); font-weight: 700; }
.skip:focus { top: 12px; color: var(--bg); }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 40px; }
.disp { margin: 0; font-family: var(--font-mono); font-weight: 700; letter-spacing: -0.02em; }

/* шапка */
.top { position: fixed; inset: 0 0 auto 0; z-index: 20; background: rgba(27, 27, 27, 0.72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.top-in { display: flex; align-items: center; gap: 28px; height: 60px; }
.logo img { width: 105px; height: auto; }
.top-nav { display: flex; gap: 22px; margin-left: auto; font-size: 14px; color: var(--muted); }

/* кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; border-radius: 10px; background: var(--mint); color: #0d0d0d; transition: transform .15s var(--ease), box-shadow .15s var(--ease), background .15s; white-space: nowrap; }
.btn:hover { color: #0d0d0d; transform: translateY(-1px); box-shadow: 0 6px 24px rgba(134, 252, 188, 0.25); }
.btn-sm { height: 36px; padding: 0 16px; font-size: 14px; }
.btn-xl { height: 52px; padding: 0 24px; font-size: 16px; }
.btn-soft { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22); }
.btn-soft:hover { color: var(--mint); box-shadow: inset 0 0 0 1px var(--mint); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* первый экран: 3D-сцена из глифов */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 96px 0 56px; overflow: hidden; }
#glyphs { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(27, 27, 27, 0.92) 0%, rgba(27, 27, 27, 0.55) 45%, rgba(27, 27, 27, 0) 70%), linear-gradient(0deg, var(--bg) 0%, rgba(27, 27, 27, 0) 22%); }
.hero-in { position: relative; z-index: 2; }
.prompt { margin: 0 0 18px; color: var(--muted); font-size: 15px; }
.caret { display: inline-block; width: 9px; height: 1.05em; margin-left: 4px; vertical-align: -2px; background: var(--mint); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
h1.disp { font-size: clamp(40px, 7vw, 88px); line-height: 1.02; max-width: 12ch; }
.lead { max-width: 560px; margin: 22px 0 0; font-size: 18px; color: var(--ink-2); }
.event { margin: 18px 0 0; color: var(--mint); font-size: 15px; }
.hint { margin: 26px 0 0; font-size: 12px; color: var(--dim); }

/* секции */
.sec { padding: 96px 0; border-top: 1px solid var(--line); }
.kicker { margin: 0 0 14px; color: var(--mint); font-size: 14px; }
.sec h2.disp { font-size: clamp(28px, 4vw, 46px); line-height: 1.1; max-width: 22ch; }
.cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; margin-top: 40px; align-items: start; }
.col-text p { margin: 0 0 16px; font-size: 17px; color: var(--ink-2); }

.facts { margin: 0; display: grid; gap: 0; font-size: 14px; }
.facts div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.facts div:first-child { border-top: 1px dashed var(--line); }
.facts dt { color: var(--mint); }
.facts dd { margin: 0; color: var(--ink-2); }

.shows { margin: 0; padding: 0; list-style: none; counter-reset: s; }
.shows li { position: relative; padding: 0 0 22px 52px; color: var(--ink-2); font-size: 16px; }
.shows li::before { counter-increment: s; content: "0" counter(s); position: absolute; left: 0; top: 0; font-family: var(--font-mono); color: var(--mint); font-size: 14px; line-height: 1.7; }
.shows b { color: var(--ink); }

.term { border-radius: 12px; background: #111; box-shadow: 0 0 0 1px var(--line), 0 30px 80px rgba(0, 0, 0, 0.45); overflow: hidden; }
.term-bar { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; background: var(--bg-2); font-size: 12px; color: var(--dim); }
.term-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--bg-3); }
.term-bar span { margin-left: auto; }
.term-body { margin: 0; padding: 18px 18px 22px; min-height: 236px; font-size: 13.5px; line-height: 1.7; color: var(--ink-2); white-space: pre-wrap; word-break: break-word; }
.term-body .ok { color: var(--mint); }
.term-body .bad { color: var(--red); }

/* продукты: листинг, а не карточки */
.ls { list-style: none; margin: 40px 0 0; padding: 0; border-top: 1px solid var(--line); }
.ls li { border-bottom: 1px solid var(--line); }
.ls a { display: grid; grid-template-columns: 210px 200px minmax(0, 1fr) 260px; gap: 20px; align-items: baseline; padding: 20px 4px; transition: background .2s var(--ease); }
.ls a:hover { background: linear-gradient(90deg, rgba(134, 252, 188, 0.07), rgba(134, 252, 188, 0)); color: inherit; }
.ls-cmd { color: var(--dim); font-size: 13px; }
.ls a:hover .ls-cmd { color: var(--mint); }
.ls-cmd::before { content: "$ "; color: var(--mint); }
.ls-name { font-weight: 700; font-size: 17px; }
.ls-text { color: var(--muted); font-size: 15px; }
.ls-price { color: var(--mint); font-size: 14px; text-align: right; }
.note { margin: 20px 0 0; color: var(--muted); font-size: 14px; }

.offer { background: radial-gradient(ellipse at 80% 0%, rgba(2, 88, 41, 0.45), rgba(27, 27, 27, 0) 60%); }
.fine { margin: 22px 0 0; color: var(--muted); font-size: 14px; max-width: 640px; }

.contacts { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; font-size: 15px; }
.contacts li { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 16px; padding: 13px 0; border-bottom: 1px dashed var(--line); }
.contacts span { color: var(--dim); }
.contacts a { color: var(--ink); overflow-wrap: anywhere; }
.contacts a:hover { color: var(--mint); }

.foot { padding: 40px 0 56px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.foot p { margin: 0 0 8px; }
.foot a:hover { color: var(--mint); }

@media (max-width: 1000px) {
    .ls a { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 16px; }
    .ls-cmd { grid-column: 1 / -1; order: -1; }
    .ls-text { grid-column: 1 / -1; }
    .ls-price { grid-column: 1 / -1; text-align: left; }
}
@media (max-width: 800px) {
    .wrap { padding: 0 16px; }
    .top-nav { display: none; }
    .top-in { justify-content: space-between; }
    .hero { padding: 88px 0 40px; align-items: flex-end; }
    .hero::after { background: linear-gradient(0deg, rgba(27, 27, 27, 0.97) 0%, rgba(27, 27, 27, 0.82) 48%, rgba(27, 27, 27, 0) 68%); }
    .lead { font-size: 16px; }
    .sec { padding: 64px 0; }
    .cols { grid-template-columns: minmax(0, 1fr); gap: 32px; margin-top: 28px; }
    .facts div { grid-template-columns: 96px minmax(0, 1fr); gap: 12px; }
    .contacts { grid-template-columns: minmax(0, 1fr); }
    .contacts li { grid-template-columns: 110px minmax(0, 1fr); }
    .btn-xl { width: 100%; white-space: normal; text-align: center; height: auto; min-height: 52px; padding: 12px 20px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .caret { animation: none; }
    .btn, .ls a { transition: none; }
}
