/* Лендинг 1tegh. Направление «Табло смены» (DESIGN-RESEARCH.md): спокойная диспетчерская — серо-чёрное, цвет только у
   статусов; фирменный фиолетовый — одна роль «ты / связь с сетью» (узел-центр, фокус). Главные кнопки — ink, не фиолетовые.
   Токены — /site/tokens.css (копия design/tokens.css при сборке). CSP страниц: только свои стили и скрипты. */
@font-face { font-family: "Google Sans"; font-style: normal; font-display: swap; font-weight: 400 700; src: url(fonts/GoogleSans-armenian.woff2) format("woff2"); unicode-range: U+0308,U+0530-058F,U+2010,U+2024,U+25CC,U+FB13-FB17; }
@font-face { font-family: "Google Sans"; font-style: normal; font-display: swap; font-weight: 400 700; src: url(fonts/GoogleSans-cyrillic.woff2) format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Google Sans"; font-style: normal; font-display: swap; font-weight: 400 700; src: url(fonts/GoogleSans-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Google Sans"; font-style: normal; font-display: swap; font-weight: 400 700; src: url(fonts/GoogleSans-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; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--c-bg); color: var(--c-ink); font: var(--type-body); }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
.tnum { font-variant-numeric: tabular-nums; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -64px; z-index: 20; background: var(--c-surface); padding: 8px 12px; border-radius: var(--radius-chip); }
.skip:focus { top: 8px; }
:focus-visible { outline: 2px solid var(--c-focus-ring); outline-offset: 2px; border-radius: 6px; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* ---------- шапка ---------- */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--c-bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--c-line); }
.top-in { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 700 19px/1 var(--font-sans); letter-spacing: -0.2px; }
.brand img { border-radius: 9px; display: block; }
.menu { display: flex; gap: 24px; margin-left: 12px; }
.menu a { text-decoration: none; color: var(--c-ink2); font: var(--type-callout); }
.menu a:hover { color: var(--c-ink); }
.top-act { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.langs { display: inline-flex; background: var(--c-surface-sunken); border-radius: 10px; padding: 3px; }
.langs button { appearance: none; border: 0; background: transparent; color: var(--c-ink2); font: var(--type-caption); padding: 7px 10px; border-radius: 8px; cursor: pointer; min-height: 32px; }
.langs button[aria-pressed="true"] { background: var(--c-surface); color: var(--c-ink); box-shadow: 0 1px 2px rgb(0 0 0 / 0.08); }

/* ---------- кнопки ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 22px; border-radius: var(--radius-button); background: var(--c-action-primary); color: var(--c-on-action-primary); font: var(--type-headline); font-weight: 600; text-decoration: none; transition: background-color .15s; }
.btn:hover { background: var(--c-action-primary-pressed); }
.btn.sec { background: var(--c-action-secondary); color: var(--c-on-action-secondary); }
.btn.sec:hover { background: var(--c-action-secondary-pressed); }
.btn.ghost { background: transparent; color: var(--c-ink); box-shadow: inset 0 0 0 1px var(--c-line-strong); }
.btn.ghost:hover { background: var(--c-surface-pressed); }
.btn.sm { min-height: 40px; padding: 0 14px; font: var(--type-callout); border-radius: 12px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- первый экран ---------- */
.hero { padding: 72px 0 80px; }
.hero-in { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.eyebrow { font: var(--type-callout); color: var(--c-ink2); margin-bottom: 16px; }
h1 { font: var(--type-display); font-size: clamp(36px, 5.2vw, 56px); line-height: 1.06; letter-spacing: -1px; text-wrap: balance; }
.lead { font: var(--type-body); font-size: 19px; line-height: 1.5; color: var(--c-ink2); margin-top: 20px; max-width: 34em; text-wrap: pretty; }
.hero .cta { margin-top: 32px; }
.fine { font: var(--type-footnote); color: var(--c-ink3); margin-top: 14px; }

/* табло — карточка «Сеть сегодня», всегда тёмная (как табло аэропорта) */
.tablo { margin: 0; background: var(--c-tablo); color: var(--c-on-tablo); border-radius: var(--radius-tablo); padding: 22px; box-shadow: 0 24px 48px -24px rgb(22 22 26 / 0.45), 0 0 0 1px var(--c-tablo-line); }
.tablo-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.tablo-title { font: var(--type-title2); letter-spacing: -0.2px; }
.tablo-sub { font: var(--type-footnote); color: var(--c-on-tablo2); margin-top: 4px; }
.nodes { width: 120px; height: 72px; flex: none; }
.nodes .links line { stroke: var(--c-tablo-line); stroke-width: 1.5; }
.nodes .n { fill: #2A9460; }
.nodes .n.warn { fill: #D08A1C; }
.nodes .n.crit { fill: #E2513F; }
.nodes .hub { fill: var(--brand-violet-on-dark); }
@media (prefers-reduced-motion: no-preference) {
  .nodes .n.crit { animation: pulse 2.4s ease-in-out infinite; transform-origin: 80px 8px; }
  @keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
}
.counts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 20px 0 16px; }
.counts div { background: var(--c-tablo-raised); border-radius: 14px; padding: 12px 12px 10px; }
.counts b { display: block; font: var(--type-numeral); letter-spacing: -0.5px; }
.counts b.warn { color: #F0A43A; }
.counts b.crit { color: #FF7A66; }
.counts b.pend { color: #8FA8EC; }
.counts span { display: block; font: var(--type-caption); color: var(--c-on-tablo2); margin-top: 2px; }
.rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.rows li { display: flex; align-items: center; gap: 12px; background: var(--c-tablo-raised); border-radius: 14px; padding: 12px 12px 12px 14px; }
.rows li > div { flex: 1; min-width: 0; }
.rows p { font: var(--type-callout); }
.rows p.m { font: var(--type-footnote); color: var(--c-on-tablo2); margin-top: 2px; }
.dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.dot.crit { background: #E2513F; }
.dot.warn { background: #D08A1C; }
.dot.pend { background: #6F8BE0; }
.chip { flex: none; font: var(--type-caption); background: var(--c-on-tablo); color: var(--c-tablo); padding: 8px 12px; border-radius: 10px; }

/* ---------- разделы ---------- */
.band { padding: 88px 0; border-top: 1px solid var(--c-line); }
.band.alt { background: var(--c-surface); }
h2 { font: var(--type-title1); font-size: clamp(26px, 3.4vw, 36px); line-height: 1.15; letter-spacing: -0.6px; max-width: 22em; text-wrap: balance; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.feat { background: var(--c-surface); border-radius: var(--radius-card); padding: 24px; box-shadow: 0 0 0 1px var(--c-line); }
.ico { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--c-surface-sunken); margin-bottom: 18px; }
.ico svg { width: 22px; height: 22px; fill: none; stroke: var(--c-ink); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
h3 { font: var(--type-title3); letter-spacing: -0.1px; }
.feat p, .where p, .steps p { color: var(--c-ink2); margin-top: 8px; font: var(--type-body-dense); line-height: 1.5; }
.where { padding: 4px 0; }
.where .k { font: var(--type-caption); color: var(--c-ink3); text-transform: none; margin: 0 0 8px; }
.langs-note { margin-top: 40px; font: var(--type-headline); color: var(--c-ink); }
.steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: none; }
.num { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--c-ink); color: var(--c-bg); font: var(--type-headline); font-weight: 700; margin-bottom: 16px; }
.steps li:first-child .num { background: var(--c-you-fill); color: #fff; }  /* «1» в круге — фирменный бейдж «следующее действие» */
.proof { margin-top: 48px; padding: 20px 24px; border-radius: var(--radius-card); background: var(--c-surface); box-shadow: 0 0 0 1px var(--c-line); font: var(--type-headline); max-width: 46em; }
.price { background: var(--c-tablo); color: var(--c-on-tablo); border-top: 0; }
.price .lead { color: var(--c-on-tablo2); }
.price-in { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.price .btn { background: var(--c-on-tablo); color: var(--c-tablo); }
.price .btn:hover { background: #fff; }

.foot { padding: 28px 0 40px; }
.foot-in { display: flex; flex-wrap: wrap; gap: 20px; font: var(--type-footnote); color: var(--c-ink2); }
.foot a { color: var(--c-ink2); }

/* ---------- узкие экраны ---------- */
@media (max-width: 960px) {
  .hero-in { grid-template-columns: 1fr; gap: 40px; }
  .grid3, .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .menu { display: none; }
  .hero { padding: 40px 0 56px; }
  .band { padding: 56px 0; }
  .grid3, .steps { grid-template-columns: 1fr; }
  .steps { gap: 24px; }
  .price-in { flex-direction: column; align-items: flex-start; }
  .cta .btn { flex: 1 1 100%; }
  .top-act .btn.sm { display: none; }
  .tablo { padding: 16px; border-radius: 20px; }
  .counts { gap: 6px; }
  .counts div { padding: 10px 8px 8px; }
  .counts b { font-size: 26px; line-height: 30px; }
  .chip { display: none; }
}
