/* Шрифты Spectral и Manrope (SIL Open Font License), размещены на этом сервере */
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/fonts/manrope-normal-400-700-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/fonts/manrope-normal-400-700-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Spectral"; font-style: italic; font-weight: 400; font-display: swap; src: url(/fonts/spectral-italic-400-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Spectral"; font-style: italic; font-weight: 400; font-display: swap; src: url(/fonts/spectral-italic-400-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Spectral"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/spectral-normal-400-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Spectral"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/spectral-normal-400-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Spectral"; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/spectral-normal-500-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Spectral"; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/spectral-normal-500-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ── Helder Digital ─────────────────────────────────────────── */

:root {
  --bg: #06080d;
  --fg: #edf1f8;
  --muted: #9aa4b8;
  --faint: #5f687c;
  --line: rgba(255, 255, 255, .08);
  --line-strong: rgba(255, 255, 255, .14);
  --glass: rgba(255, 255, 255, .035);
  --ice: #b9dcff;
  --blue: #7ea6ff;
  --violet: #b59cff;
  --core: #fff6e3;
  --serif: "Spectral", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; background: var(--bg); }
body {
  margin: 0; min-height: 100vh; color: var(--fg); background: var(--bg);
  font: 400 16px/1.7 var(--sans);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: inherit; }
::selection { background: rgba(126, 166, 255, .35); }
:focus-visible { outline: 2px solid var(--ice); outline-offset: 3px; border-radius: 8px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ── Небо и свет ───────────────────────────────────────────── */
.sky, .glow { position: fixed; inset: 0; pointer-events: none; z-index: 0; }
.glow {
  background:
    radial-gradient(900px 520px at 72% -8%, rgba(126, 166, 255, .17), transparent 62%),
    radial-gradient(700px 480px at 8% 4%, rgba(185, 220, 255, .07), transparent 60%),
    radial-gradient(800px 600px at 50% 112%, rgba(181, 156, 255, .09), transparent 60%);
}
.star {
  position: absolute; border-radius: 50%; background: #fff;
  opacity: .2; animation: twinkle 5s ease-in-out infinite;
}
@keyframes twinkle { 0%, 100% { opacity: .12; } 50% { opacity: .85; } }

header.top, main, footer { position: relative; z-index: 1; }

/* ── Шапка ─────────────────────────────────────────────────── */
header.top {
  position: sticky; top: 0; z-index: 20;
  background: linear-gradient(180deg, rgba(6, 8, 13, .86), rgba(6, 8, 13, .55));
  backdrop-filter: blur(12px) saturate(1.3); -webkit-backdrop-filter: blur(12px) saturate(1.3);
  border-bottom: 1px solid var(--line);
}
.bar { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.mark { width: 26px; height: 26px; overflow: visible; }
.mark-prism { fill: rgba(185, 220, 255, .12); stroke: var(--ice); stroke-width: 1.4; stroke-linejoin: round; }
.mark-beam { stroke: #fff; stroke-width: 1.3; stroke-linecap: round; opacity: .8; }
.mark-ray { stroke-width: 1.3; stroke-linecap: round; }
.mark-ray.r1 { stroke: #ffb38a; } .mark-ray.r2 { stroke: #a8f0b4; } .mark-ray.r3 { stroke: var(--violet); }
.word { font-family: var(--serif); font-size: 21px; letter-spacing: .01em; }
.word em { font-style: italic; color: var(--ice); }

.right { display: flex; align-items: center; gap: 12px; }
.status {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted);
  padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--glass);
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: #6fe3a8; position: relative; flex: none; }
.dot::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 1px solid #6fe3a8; opacity: 0; animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse { 0% { transform: scale(.5); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }

.langs { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: var(--glass); }
.langs button {
  appearance: none; border: 0; background: transparent; color: var(--muted); cursor: pointer;
  font: 600 12px/1 var(--sans); letter-spacing: .06em; padding: 8px 11px; border-radius: 999px;
  transition: color .2s, background .2s;
}
.langs button:hover { color: var(--fg); }
.langs button[aria-pressed="true"] { background: var(--ice); color: #0b1020; }

/* ── Первый экран ──────────────────────────────────────────── */
.hero { text-align: center; padding: 84px 24px 96px; }
.emblem { width: min(320px, 78vw); height: auto; display: block; margin: 0 auto 28px; overflow: visible; }
.prism { fill: url(#glass); stroke: rgba(185, 220, 255, .75); stroke-width: 1.2; stroke-linejoin: round; }
.prism-edge { stroke: rgba(255, 255, 255, .22); stroke-width: 1; }
.beam-in { stroke: url(#beam); stroke-width: 2; stroke-linecap: round; }
.ray { stroke-width: 2; stroke-linecap: round; fill: none; animation: spectrum 6s ease-in-out infinite; }
.ray.c1 { stroke: #ff9a8a; } .ray.c2 { stroke: #ffd08a; } .ray.c3 { stroke: #a8f0b4; }
.ray.c4 { stroke: #8fcfff; } .ray.c5 { stroke: var(--violet); }
.ray.c2 { animation-delay: .08s; } .ray.c3 { animation-delay: .16s; } .ray.c4 { animation-delay: .24s; } .ray.c5 { animation-delay: .32s; }
@keyframes spectrum { 0%, 52% { opacity: .28; } 66% { opacity: 1; } 100% { opacity: .38; } }
.photon { fill: var(--core); filter: drop-shadow(0 0 6px #fff) drop-shadow(0 0 14px var(--ice)); animation: travel 6s linear infinite; }
@keyframes travel {
  0% { transform: translate(-4px, 78px); opacity: 0; }
  8% { opacity: 1; }
  52% { transform: translate(92px, 66px); opacity: 1; }
  60%, 100% { transform: translate(92px, 66px); opacity: 0; }
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 14px; margin: 0 0 22px;
  font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--muted);
}
.eyebrow::before, .eyebrow::after { content: ""; width: 28px; height: 1px; background: var(--line-strong); }
h1 {
  font-family: var(--serif); font-weight: 500; margin: 0 auto 26px; max-width: 16ch;
  font-size: clamp(40px, 7.2vw, 80px); line-height: 1.04; letter-spacing: -.012em;
}
h1 em, h2 em {
  font-style: italic; font-weight: 400;
  background: linear-gradient(100deg, #ffffff 0%, var(--ice) 35%, var(--blue) 70%, var(--violet) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { max-width: 60ch; margin: 0 auto 36px; color: var(--muted); font-size: clamp(16px, 2vw, 18.5px); }

.actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 56px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px; text-decoration: none;
  font: 600 15px/1 var(--sans); letter-spacing: .01em; transition: transform .2s, box-shadow .2s, background .2s, border-color .2s;
}
.btn.primary {
  color: #0b1020; background: linear-gradient(180deg, #ffffff, var(--ice));
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .25), 0 10px 30px -8px rgba(126, 166, 255, .55);
}
.btn.primary:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(255, 255, 255, .35), 0 14px 38px -8px rgba(126, 166, 255, .7); }
.btn.ghost { color: var(--fg); border: 1px solid var(--line-strong); background: var(--glass); }
.btn.ghost:hover { border-color: rgba(185, 220, 255, .45); }

.facts {
  display: grid; grid-template-columns: repeat(3, 1fr); max-width: 640px; margin: 0 auto 40px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.fact { padding: 20px 10px; display: grid; gap: 4px; }
.fact + .fact { border-left: 1px solid var(--line); }
.fact b { font-family: var(--serif); font-weight: 500; font-size: 30px; line-height: 1.1; color: var(--fg); }
.fact span { font-size: 13px; color: var(--faint); }

.ticker {
  display: inline-flex; align-items: center; gap: 12px; margin: 0;
  padding: 12px 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--glass);
  font-size: 14px; color: var(--muted); min-height: 46px;
}
.spark { width: 6px; height: 6px; border-radius: 50%; background: var(--ice); box-shadow: 0 0 10px var(--ice); flex: none; }
#ticker { transition: opacity .45s ease, transform .45s ease; }
#ticker.out { opacity: 0; transform: translateY(4px); }

/* Плавное появление первого экрана — без JavaScript */
.rise { opacity: 0; animation: rise .9s cubic-bezier(.2, .7, .2, 1) forwards; }
.d0 { animation-delay: .05s; } .d1 { animation-delay: .2s; } .d2 { animation-delay: .32s; }
.d3 { animation-delay: .46s; } .d4 { animation-delay: .6s; } .d5 { animation-delay: .74s; } .d6 { animation-delay: .9s; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ── Разделы ───────────────────────────────────────────────── */
.block { padding: 104px 0; border-top: 1px solid var(--line); }
.head { max-width: 640px; margin-bottom: 48px; }
.kicker { margin: 0 0 14px; font: italic 400 15px/1 var(--serif); color: var(--ice); letter-spacing: .04em; }
h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 4.4vw, 46px); line-height: 1.1; letter-spacing: -.01em; margin: 0 0 14px; }
.sub { margin: 0; color: var(--muted); font-size: 17px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  position: relative; padding: 28px; border-radius: 22px; border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .012));
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0;
  background: radial-gradient(420px 160px at 20% 0%, rgba(185, 220, 255, .10), transparent 70%);
  transition: opacity .3s ease;
}
.card:hover { transform: translateY(-3px); border-color: rgba(185, 220, 255, .28); box-shadow: 0 20px 50px -24px rgba(126, 166, 255, .45); }
.card:hover::before { opacity: 1; }
.ico {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 20px;
  background: rgba(185, 220, 255, .08); border: 1px solid rgba(185, 220, 255, .16); color: var(--ice);
}
.ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { margin: 0 0 8px; font: 600 18px/1.3 var(--sans); }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; }
.steps::before {
  content: ""; position: absolute; left: 0; right: 0; top: 26px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(185, 220, 255, .45), rgba(181, 156, 255, .35), transparent);
}
.step { position: relative; padding: 0 6px; }
.num {
  display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 22px; border-radius: 50%;
  font: italic 400 20px/1 var(--serif); color: var(--ice);
  background: var(--bg); border: 1px solid rgba(185, 220, 255, .3); box-shadow: 0 0 24px -6px rgba(126, 166, 255, .6);
}
.step h3 { margin: 0 0 6px; font: 600 18px/1.3 var(--sans); }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

.two { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.text { color: var(--muted); margin: 0 0 16px; font-size: 16.5px; }
.quote {
  margin: 0; padding: 40px; border-radius: 26px; border: 1px solid var(--line);
  background: radial-gradient(500px 240px at 0% 0%, rgba(126, 166, 255, .12), transparent 70%), rgba(255, 255, 255, .02);
}
.quote blockquote { margin: 0 0 18px; }
.quote p { margin: 0; font: italic 400 clamp(22px, 2.6vw, 28px)/1.35 var(--serif); color: var(--fg); }
.quote figcaption { color: var(--faint); font-size: 14px; }

.cta {
  text-align: center; padding: 72px 32px; border-radius: 30px; border: 1px solid var(--line-strong);
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(126, 166, 255, .16), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .01));
}
.cta h2 { font-size: clamp(32px, 5vw, 54px); }
.cta p { max-width: 52ch; margin: 0 auto 30px; color: var(--muted); font-size: 17px; }

footer { border-top: 1px solid var(--line); padding: 30px 0 44px; color: var(--faint); font-size: 14px; }
.foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.made { font-family: var(--serif); font-style: italic; }

/* Появление разделов при прокрутке (включается скриптом) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }

/* ── Адаптив ───────────────────────────────────────────────── */
@media (max-width: 960px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .steps::before { display: none; }
  .two { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 640px) {
  .status { display: none; }
  .hero { padding: 56px 16px 72px; }
  .block { padding: 72px 0; }
  .wrap { padding: 0 16px; }
  .cards, .steps { grid-template-columns: 1fr; }
  .fact b { font-size: 24px; }
  .fact span { font-size: 12px; }
  .quote { padding: 28px; }
  .cta { padding: 48px 20px; }
  .ticker { font-size: 13px; }
  .eyebrow { letter-spacing: .14em; font-size: 11px; gap: 0; }
  .eyebrow::before, .eyebrow::after { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rise, .js .reveal { opacity: 1 !important; transform: none !important; }
  .photon { opacity: 0; }
  .ray { opacity: .8; }
}
