/* Armada Community — лендинг на каркасе сайта Horus Analytics (owner 10.11.2026: «клонировать эталон буквально,
   менять только разницу»). Как у Horus: графит в нескольких тонах, зерно, один цвет-сигнал, сетка в 12 колонок
   с общим левым краем текста (номеров разделов нет — owner 10.11), фраза-утверждение с выделенным словом, полоса фактов,
   блоки-сцены 2×2, подвал в строку. Своё: сигнал — фиолетовый Armada, шрифты Jost и Golos Text, флот на первом экране. */
:root {
  --void: #0b0c0f;
  --bg-0: #101115;
  --bg-1: #16171c;
  --bg-2: #1c1d23;
  --line: rgba(236, 237, 241, .08);
  --line-2: rgba(236, 237, 241, .15);
  --t1: #ecedf1;
  --t2: #a7a9b4;
  --t3: #858793;
  --signal: #a193ff;
  --vio: #6e5ff0;
  --silver: #c9cad6;

  --head: 'Jost', Arial, sans-serif;
  --sans: 'Golos Text', Arial, sans-serif;

  --fs-statement: clamp(30px, 3.8vw, 56px);
  --fs-title: clamp(24px, 2.4vw, 34px);
  --fs-lead: clamp(18px, 1.45vw, 21px);
  --fs-body: 17px;
  --fs-small: 13px;

  --gutter: clamp(20px, 3.6vw, 48px);
  --col-gap: clamp(16px, 2vw, 32px);
  --maxw: 1320px;
  --sec-pad: clamp(80px, 9vw, 136px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg-1); color: var(--t1); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: var(--fs-body); line-height: 1.55; -webkit-font-smoothing: antialiased; background: var(--bg-1); }
/* зерно — материал вместо плоского чёрного */
body::after { content: ''; position: fixed; inset: 0; z-index: 50; pointer-events: none; opacity: .05; mix-blend-mode: soft-light; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E"); }
h1, h2, h3, p, ol, ul, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 1px solid var(--signal); outline-offset: 6px; }
img { max-width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* знак */
.logo { display: inline-flex; align-items: center; gap: 12px; color: var(--t1); }
.mark { width: 30px; height: 30px; flex: none; }
.logo b { display: block; font: 500 18px/1 var(--head); letter-spacing: .14em; }
.logo i { display: block; font: 500 11px/1 var(--head); font-style: normal; letter-spacing: .27em; color: var(--silver); margin-top: 3px; }
.btn { display: inline-flex; align-items: center; justify-content: center; height: 40px; padding: 0 22px; border-radius: 10px; font: 500 15px/1 var(--sans); letter-spacing: .01em; transition: background-color .25s ease, transform .25s ease; }
.btn.s { background: var(--vio); color: #fff; }
.btn.s:hover { background: #5b4ce6; }
.btn.s:active { transform: translateY(1px); }

/* сетка: колонка раздела + общий левый край текста */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); }
.sec { position: relative; padding: var(--sec-pad) 0; background: var(--bg-1); }
.sec + .sec::before { content: ''; position: absolute; top: 0; left: max(var(--gutter), calc((100% - var(--maxw)) / 2 + var(--gutter))); right: max(var(--gutter), calc((100% - var(--maxw)) / 2 + var(--gutter))); height: 1px; background: var(--line); }
.sec-body { grid-column: 1 / -1; min-width: 0; }
.sec-short { padding: clamp(48px, 5vw, 72px) 0; }

/* первый экран: флот на весь экран, знак слева сверху, подпись слева снизу */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; background: var(--void) url(/img/hero-wide.webp) center / cover no-repeat; }
@media (max-aspect-ratio: 1/1) { .hero { background-image: url(/img/hero-tall.webp); } }
.hero::after { content: ''; position: absolute; inset: auto 0 0; z-index: 1; height: 26%; pointer-events: none; background: linear-gradient(to bottom, rgba(22, 23, 28, 0), var(--bg-1)); }
.hero-gl { position: absolute; inset: 0; display: none; width: 100%; height: 100%; opacity: 0; transition: opacity 1.4s var(--ease); }
.hero-gl.ready { opacity: 1; }
/* снимок заставки: только сцена */
.poster .hero-ui, .poster .hero::after, .poster body::after { display: none; }
.og .hero-ui .lang { visibility: hidden; }

/* переключатель языка — две метки, текущая светлее; область нажатия не меньше 44 px */
.lang { display: flex; gap: 2px; }
.lang a { position: relative; padding: 10px; font: 500 13px/1 var(--sans); letter-spacing: .08em; color: var(--t3); transition: color .2s ease; }
.lang a::after { content: ''; position: absolute; inset: -6px -2px; }
.lang a:hover, .lang a[aria-current="page"] { color: var(--t1); }
.text-link { color: var(--t1); border-bottom: 1px solid rgba(161, 147, 255, .5); }
.text-link:hover { border-color: var(--signal); }
.gl .hero-gl { display: block; }
.hero-ui { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: space-between; width: 100%; max-width: var(--maxw); margin: 0 auto; padding: var(--gutter); pointer-events: none; }
.hero-row { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.hero-bottom { align-items: flex-end; }
.hero-ui a { pointer-events: auto; }
.hero-say { position: relative; min-width: 0; max-width: 100%; }
.hero-say::before { content: ''; position: absolute; inset: -40px -60px -30px -40px; z-index: -1; background: radial-gradient(closest-side, rgba(16, 17, 21, .8), rgba(16, 17, 21, 0)); }
.hero-claim { max-width: 15em; font: 500 clamp(34px, 4.2vw, 60px)/1.06 var(--head); letter-spacing: -.02em; text-wrap: balance; }
.hero-claim em { font-style: normal; color: var(--signal); }
.hero-kicker { max-width: 34em; margin-top: 16px; font-size: var(--fs-lead); line-height: 1.5; color: var(--t2); }
.f { animation: rise 1.1s var(--ease) .25s both; }
.f2 { animation-delay: .4s; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
/* без WebGL — остаётся кадр-заставка на фоне первого экрана */
/* одно общее появление разделов ниже первого экрана */
.rv { transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.rv2 { transition-delay: .15s; }
.rv.rv-wait { opacity: 0; transform: translateY(14px); transition: none; }

/* утверждение в два тона */
.statement { max-width: 17em; font: 500 var(--fs-statement)/1.12 var(--head); letter-spacing: -.02em; text-wrap: pretty; }
.statement em { font-style: normal; color: var(--signal); }
.lead { max-width: 44ch; margin-top: clamp(18px, 2vw, 28px); font-size: var(--fs-lead); line-height: 1.55; color: var(--t2); text-wrap: pretty; }

/* полоса настоящих цифр */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); grid-auto-rows: 1fr; gap: var(--col-gap); margin-top: clamp(40px, 5vw, 72px); }
.fact b { display: block; font: 500 clamp(28px, 2.8vw, 40px)/1.05 var(--head); letter-spacing: -.01em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.fact p { min-height: 2.9em; margin-top: 10px; font-size: 15px; line-height: 1.45; color: var(--t2); max-width: 20em; }
/* источники — одной строкой внизу раздела, а не под каждой цифрой (owner 10.11) */
.sources { margin-top: clamp(32px, 4vw, 48px); padding-top: 18px; border-top: 1px solid var(--line); font-size: var(--fs-small); line-height: 1.7; color: var(--t3); }
.sources a { position: relative; color: var(--t2); border-bottom: 1px solid rgba(161, 147, 255, .4); transition: color .2s ease, border-color .2s ease; }
.sources a:hover { color: var(--t1); border-color: var(--signal); }
.sources a::after { content: ''; position: absolute; inset: -14px -6px; }

/* 01 рынок: линия оборота */
.chart { margin-top: clamp(64px, 8vw, 112px); }
.chart-box { position: relative; aspect-ratio: 1000 / 320; }
.chart-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ch-base { fill: none; stroke: var(--line-2); stroke-width: 1; vector-effect: non-scaling-stroke; }
.ch-area { fill: url(#chArea); }
.ch-fact { fill: none; stroke: var(--t1); stroke-width: 2; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.ch-fore { fill: none; stroke: var(--signal); stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 2 7; vector-effect: non-scaling-stroke; }
.pt { position: absolute; left: var(--x); top: var(--y); }
.pt i { position: absolute; left: -5px; top: -5px; width: 10px; height: 10px; border-radius: 50%; background: var(--t1); outline: 5px solid rgba(236, 237, 241, .07); }
.pt.big i { background: var(--signal); outline-color: rgba(161, 147, 255, .16); }
.pt .lb { position: absolute; bottom: 22px; right: 4px; text-align: right; white-space: nowrap; }
.pt b { display: block; font: 500 26px/1 var(--head); }
.pt.big b { font-size: clamp(40px, 4.4vw, 60px); color: var(--signal); letter-spacing: -.02em; }
.pt span { display: block; margin-top: 8px; font-size: var(--fs-small); color: var(--t3); }
.years { position: absolute; left: 0; right: 0; top: calc(290 / 320 * 100% + 16px); height: 16px; }
.years span { position: absolute; left: var(--x); transform: translateX(-50%); font-size: var(--fs-small); color: var(--t3); font-variant-numeric: tabular-nums; }
.chart figcaption { margin-top: 56px; font-size: var(--fs-small); color: var(--t3); }
.js .chart .chart-svg { clip-path: inset(0 100% 0 0); transition: clip-path 2.4s cubic-bezier(.3, .6, .2, 1) .3s; }
.js .chart.in .chart-svg { clip-path: inset(0 0 0 0); }
.js .chart .pt { opacity: 0; transition: opacity .8s ease; }
.js .chart.in .pt { opacity: 1; }
.js .chart.in .pt:nth-of-type(1) { transition-delay: .4s; }
.js .chart.in .pt:nth-of-type(2) { transition-delay: 1s; }
.js .chart.in .pt:nth-of-type(3) { transition-delay: 2.4s; }

/* 02 Polymarket */
.poly-logo img { display: block; width: min(520px, 100%); height: auto; }

/* 03 сообщество: четыре отдельных блока со своими живыми сценами */
.panel { background: var(--bg-2); border: 1px solid var(--line); }
.blocks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--col-gap); margin-top: clamp(40px, 5vw, 64px); }
.block { display: grid; grid-template-columns: clamp(110px, 11vw, 150px) minmax(0, 1fr); gap: clamp(16px, 2vw, 28px); align-items: center; padding: clamp(16px, 1.8vw, 24px); transition: border-color .5s ease; }
.block-art { display: block; width: 100%; aspect-ratio: 1; opacity: .8; transition: opacity .5s ease; }
.block.is-awake { border-color: var(--line-2); }
.block.is-awake .block-art { opacity: 1; }
.block-word { font: 500 var(--fs-title)/1.1 var(--head); letter-spacing: -.01em; }
.block-line { max-width: 17em; margin-top: 10px; color: var(--t2); line-height: 1.5; text-wrap: balance; }

/* партнёры — крупные плитки: знак в своих цветах сверху, имя под ним (owner 10.11: «слишком мелко и не видно») */
.partners-title { margin-bottom: 20px; font: 500 15px/1.3 var(--sans); color: var(--t3); }
.plogos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: var(--col-gap); }
.partner { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding: clamp(18px, 1.8vw, 26px); background: var(--bg-2); border: 1px solid var(--line); transition: border-color .4s ease; }
.partner:hover { border-color: var(--line-2); }
.partner img { display: block; width: clamp(44px, 3.8vw, 56px); height: auto; aspect-ratio: 1; border-radius: 12px; }
.partner span { font: 500 clamp(17px, 1.4vw, 20px)/1.2 var(--head); color: var(--t1); }

/* подвал: знак и ссылки, ниже строка © — рядом встанет юрлицо */
.site-foot { position: relative; z-index: 1; border-top: 1px solid var(--line); background: var(--bg-0); }
.site-foot .wrap { padding-top: 40px; padding-bottom: 32px; }
.foot-top { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; }
.foot-links { display: flex; flex-wrap: wrap; gap: 12px 32px; font-size: 15px; color: var(--t2); }
.foot-links a { position: relative; transition: color .2s ease; }
.foot-links a:hover { color: var(--t1); }
.foot-links a::after { content: ''; position: absolute; inset: -12px -8px; }
.foot-bottom { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot-muted { font-size: var(--fs-small); color: var(--t3); }
.foot-logo .mark { width: 26px; height: 26px; }
.foot-logo b { font-size: 16px; }
.foot-logo i { font-size: 11px; letter-spacing: .16em; }

/* страница адресов */
nav.top { position: sticky; top: 0; z-index: 5; background: rgba(22, 23, 28, .8); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
nav.top .wrap { height: 72px; display: flex; align-items: center; justify-content: space-between; }
.page { padding: var(--sec-pad) 0; min-height: 70vh; }
.page h1 { font: 500 clamp(40px, 5vw, 66px)/1.05 var(--head); letter-spacing: -.02em; }
.page .lead { max-width: 640px; }
.addr { list-style: none; margin: 56px 0 0; padding: 0; max-width: 760px; border-top: 1px solid var(--line); }
.addr li { display: grid; grid-template-columns: 200px 1fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.addr span { color: var(--t3); }
.addr b { font: 500 21px/1.3 var(--head); }
.never { margin-top: 72px; max-width: 760px; }
.never h2 { font: 500 var(--fs-title)/1.15 var(--head); }
.never p { margin-top: 14px; color: var(--t2); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .f { animation: none; }
  .js .chart .chart-svg { clip-path: none; transition: none; }
  .js .chart .pt { opacity: 1; transition: none; }
}

/* до 1000 px номер раздела — над содержимым; блоки 2×2, картинка полосой над текстом */
@media (max-width: 1000px) {
  .plogos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .block { grid-template-columns: 1fr; align-items: start; }
  .block-art { aspect-ratio: 2.2; }
}

@media (max-width: 600px) {
  .blocks { grid-template-columns: 1fr; }
  .block { grid-template-columns: 96px minmax(0, 1fr); align-items: center; }
  .block-art { aspect-ratio: 1; }
  .hero-claim { font-size: 36px; }
  .hero-kicker { font-size: 16px; }
  .chart-box { aspect-ratio: 1000 / 700; }
  .pt b { font-size: 17px; }
  .pt.big b { font-size: 30px; }
  .pt span { display: none; }
  .pt.big span { display: block; font-size: 12px; margin-top: 4px; }
  .pt .lb { bottom: 14px; }
  .pt:first-of-type .lb { right: auto; left: 16px; bottom: auto; top: -9px; text-align: left; }
  .years span { font-size: 11px; }
  .chart figcaption { margin-top: 44px; font-size: 12px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .fact b { font-size: 26px; }
  .fact p { font-size: 14px; }
  .partner { gap: 14px; }
  .partner span { font-size: 16px; }
  .foot-top { flex-direction: column; align-items: flex-start; }
  .foot-links { flex-direction: column; gap: 0; }
  .foot-links a { padding: 11px 0; }
  .foot-links a::after { inset: 0 -8px; }
  .addr li { grid-template-columns: 1fr; gap: 6px; }
}
