/* AgencyOS 24/7 — публичный сайт. Без внешних шрифтов и скриптов (политика: никакого трекинга). */
:root {
  --bg: #f3f5f9;
  --surface: #ffffff;
  --ink: #0e1726;
  --ink-2: #364357;
  --line: #d9dfe8;
  --accent: #2340d9;
  --accent-ink: #ffffff;
  --accent-soft: #e6eafd;
  --signal: #0d8f6f;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0a111f;
    --surface: #111a2c;
    --ink: #e9eefa;
    --ink-2: #aab7cc;
    --line: #24314a;
    --accent: #8ea2ff;
    --accent-ink: #0a111f;
    --accent-soft: #1a2545;
    --signal: #34d3a8;
  }
}
:root[data-theme="dark"] {
  --bg: #0a111f;
  --surface: #111a2c;
  --ink: #e9eefa;
  --ink-2: #aab7cc;
  --line: #24314a;
  --accent: #8ea2ff;
  --accent-ink: #0a111f;
  --accent-soft: #1a2545;
  --signal: #34d3a8;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
}
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* Шапка */
.site-header { border-bottom: 1px solid var(--line); background: var(--surface); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 19px; letter-spacing: -0.01em; }
.brand .num { font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--accent); border: 1.5px solid var(--accent); border-radius: 6px; padding: 1px 6px; letter-spacing: 0; }
.nav { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; font-size: 15px; }
.nav a { color: var(--ink-2); text-decoration: none; }
.nav a:hover { color: var(--ink); text-decoration: underline; }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; font-size: 13px; font-weight: 600; }
.lang a, .lang span { padding: 4px 10px; text-decoration: none; color: var(--ink-2); }
.lang span[aria-current] { background: var(--accent-soft); color: var(--ink); }

/* Главная */
.hero { padding: 64px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: 1.35fr 1fr; gap: 40px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 13px; color: var(--ink-2); margin: 0 0 18px; }
.eyebrow::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 4px color-mix(in srgb, var(--signal) 22%, transparent); }
h1 { font-size: clamp(40px, 6.4vw, 64px); line-height: 1.02; letter-spacing: -0.03em; margin: 0 0 18px; text-wrap: balance; }
.lead { font-size: clamp(19px, 2.3vw, 23px); line-height: 1.4; color: var(--ink); margin: 0 0 10px; max-width: 34ch; text-wrap: balance; }
.sub { font-size: 17px; color: var(--ink-2); margin: 0 0 28px; max-width: 46ch; }
.btn { display: inline-block; background: var(--accent); color: var(--accent-ink); text-decoration: none; font-weight: 600; padding: 12px 20px; border-radius: 10px; }
.btn:hover { filter: brightness(1.08); }
.status-note { margin: 14px 0 0; font-size: 15px; color: var(--ink-2); max-width: 46ch; }
.dial { width: 100%; max-width: 320px; justify-self: center; color: var(--ink-2); }
.dial .tick { stroke: currentColor; stroke-width: 2; stroke-linecap: round; opacity: 0.55; }
.dial .tick.major { opacity: 1; stroke-width: 3; }
.dial .arc { stroke: var(--accent); }
.dial text { font-family: var(--mono); fill: var(--ink); font-weight: 700; }

section.block { padding: 40px 0; border-top: 1px solid var(--line); }
section.block h2 { font-size: 26px; letter-spacing: -0.015em; line-height: 1.2; margin: 0 0 22px; }
.rows { margin: 0; padding: 0; list-style: none; }
.rows li { display: grid; grid-template-columns: 1fr 2fr; gap: 24px; padding: 16px 0; border-top: 1px solid var(--line); }
.rows li:first-child { border-top: 0; padding-top: 0; }
.rows strong { font-size: 18px; }
.rows p { margin: 0; color: var(--ink-2); }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 24px 26px; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 28px; }
.checks li::before { content: ""; position: absolute; left: 2px; top: 0.45em; width: 14px; height: 8px; border-left: 3px solid var(--signal); border-bottom: 3px solid var(--signal); transform: rotate(-45deg); }
.channels { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.channels li { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 6px 16px; font-weight: 600; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; z-index: 10; border-radius: 0 0 8px 0; }
.skip:focus { left: 0; }
.section-lead { margin: -10px 0 22px; color: var(--ink-2); max-width: 62ch; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1px; border: 1px solid var(--line); border-radius: 14px; background: var(--line); overflow: hidden; }
.steps li { padding: 20px 18px 22px; background: var(--surface); }
.step-n { display: block; font-family: var(--mono); font-size: 13px; color: var(--accent); margin-bottom: 10px; font-weight: 700; }
.steps strong { display: block; font-size: 18px; margin-bottom: 6px; }
.steps p { margin: 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.5; }
.faq { max-width: 74ch; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; font-weight: 600; padding: 12px 28px 12px 0; position: relative; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-family: var(--mono); font-size: 20px; color: var(--accent); }
.faq details[open] summary::after { content: "−"; }
.faq p { margin: 0 0 14px; color: var(--ink-2); max-width: 64ch; }
section.final { background: var(--surface); }

/* Юридические и контактные страницы */
.page { padding: 44px 0 64px; }
.page article { max-width: 74ch; }
.page h1 { font-size: clamp(30px, 4.6vw, 42px); margin-bottom: 20px; }
.page h2 { font-size: 22px; margin: 34px 0 10px; line-height: 1.25; letter-spacing: -0.01em; }
.page p, .page li { color: var(--ink); }
.page ul { padding-left: 22px; }
.page li { margin: 6px 0; }
.page .meta { color: var(--ink-2); }
.table-wrap { overflow-x: auto; margin: 14px 0; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
table { border-collapse: collapse; width: 100%; font-size: 15.5px; }
th, td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-2); background: var(--accent-soft); }
tr:last-child td { border-bottom: 0; }
code { font-family: var(--mono); font-size: 0.92em; background: var(--accent-soft); padding: 1px 6px; border-radius: 5px; }

.site-footer { border-top: 1px solid var(--line); background: var(--surface); padding: 26px 0; font-size: 15px; color: var(--ink-2); }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 14px 28px; flex-wrap: wrap; }
.site-footer a { color: var(--ink-2); }
.site-footer nav { display: flex; gap: 18px; flex-wrap: wrap; }

@media (max-width: 800px) {
  .hero { padding-top: 40px; }
  .hero .wrap { grid-template-columns: 1fr; }
  .dial { max-width: 220px; justify-self: start; }
  .rows li { grid-template-columns: 1fr; gap: 6px; }
  body { font-size: 16.5px; }
}
@media (prefers-reduced-motion: no-preference) {
  .btn { transition: filter 0.15s; }
}
