/* IshodVPN cabinet: the bot's look — near-black teal and neon green; a light theme for daylight.
   Colors are tokens; the theme is chosen by theme.js before the first paint (data-theme on <html>). */

@font-face {
  font-family: 'Manrope'; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(fonts/manrope-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 800; font-display: swap;
  src: url(fonts/manrope-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;
}

:root {
  color-scheme: dark;
  --bg: #050d10;
  --glow-1: rgba(57, 240, 141, 0.10);
  --glow-2: rgba(31, 209, 193, 0.08);
  --surface: #0a1819;
  --surface-2: #0f2322;
  --surface-3: #15302c;
  --line: rgba(120, 255, 190, 0.10);
  --line-strong: rgba(120, 255, 190, 0.22);
  --text: #e8f5ef;
  --muted: #8db0a3;
  --faint: #5f8276;
  --accent: #39f08d;
  --accent-2: #1fd1c1;
  --accent-ink: #032015;
  --accent-soft: rgba(57, 240, 141, 0.12);
  --accent-text: #5cf5a3;
  --danger: #ff6b6b;
  --danger-soft: rgba(255, 107, 107, 0.12);
  --warn: #ffc857;
  --warn-soft: rgba(255, 200, 87, 0.12);
  --shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
  --header: rgba(5, 13, 16, 0.78);
  --radius: 22px;
  --radius-s: 14px;
  --gap: 14px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --mono: ui-monospace, 'SF Mono', 'JetBrains Mono', Consolas, monospace;
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #eef5f1;
  --glow-1: rgba(14, 159, 98, 0.10);
  --glow-2: rgba(10, 165, 154, 0.08);
  --surface: #ffffff;
  --surface-2: #f3f8f5;
  --surface-3: #e5f0ea;
  --line: rgba(10, 60, 40, 0.09);
  --line-strong: rgba(10, 60, 40, 0.18);
  --text: #0c2018;
  --muted: #56756a;
  --faint: #8aa49a;
  --accent: #0e9f62;
  --accent-2: #0a9f95;
  --accent-ink: #ffffff;
  --accent-soft: rgba(14, 159, 98, 0.10);
  --accent-text: #0b8a55;
  --danger: #d64545;
  --danger-soft: rgba(214, 69, 69, 0.10);
  --warn: #b7791f;
  --warn-soft: rgba(183, 121, 31, 0.12);
  --shadow: 0 10px 30px rgba(16, 60, 40, 0.08);
  --header: rgba(238, 245, 241, 0.82);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; }
html, body { margin: 0; background: var(--bg); color: var(--text); }

body {
  font: 500 15px/1.5 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  min-height: 100vh;
  padding-bottom: calc(96px + var(--safe-bottom));
  background-image: radial-gradient(900px 500px at -10% -10%, var(--glow-1), transparent 60%),
    radial-gradient(800px 500px at 110% 30%, var(--glow-2), transparent 60%);
  background-attachment: fixed;
  -webkit-tap-highlight-color: transparent;
}

a { color: var(--accent-text); text-decoration: none; }
h1, h2, h3 { margin: 0; line-height: 1.2; letter-spacing: -0.01em; }
h1 { font-size: 26px; font-weight: 800; }
h2 { font-size: 18px; font-weight: 800; }
h3 { font-size: 18px; font-weight: 800; }
p { margin: 6px 0; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.small { font-size: 13px; }
.center { text-align: center; }
.strong { font-weight: 700; }

.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round;
  stroke-linejoin: round; flex: none; }

/* ----- the shell ------------------------------------------------------------------------------- */

.top {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 12px;
  padding: 10px 16px; background: var(--header);
  backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; color: var(--text); }
.logo {
  width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: var(--accent-ink);
  box-shadow: 0 0 18px rgba(57, 240, 141, 0.35);
}
.logo .icon { width: 20px; height: 20px; stroke-width: 2.6; }
.topnav { display: none; margin: 0 auto; gap: 4px; padding: 4px; border-radius: 999px; background: var(--surface);
  border: 1px solid var(--line); }
.topnav a { display: flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; color: var(--muted);
  font-weight: 700; font-size: 14px; white-space: nowrap; }
.topnav a .icon { width: 17px; height: 17px; }
.topnav a.on { background: var(--accent-soft); color: var(--accent-text); }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.icon-btn {
  appearance: none; border: 1px solid var(--line); background: var(--surface); color: var(--text);
  width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; cursor: pointer; padding: 0;
}
.icon-btn:hover { border-color: var(--line-strong); }
.avatar {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 800;
  background: linear-gradient(135deg, var(--surface-3), var(--surface-2)); color: var(--accent-text);
  border: 1px solid var(--line-strong); cursor: pointer; font-size: 15px; padding: 0;
}

main { max-width: 600px; margin: 0 auto; padding: 16px; }
.view { display: grid; gap: var(--gap); animation: rise 0.28s ease both; }
.view.still { animation: none; }
.wide-grid, .wide-grid > .col { display: grid; gap: var(--gap); align-content: start; min-width: 0; }
.wide-grid > .col > .stack { margin-top: 0; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.tabs {
  position: fixed; left: 12px; right: 12px; bottom: calc(10px + var(--safe-bottom)); z-index: 20;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2px; padding: 6px;
  max-width: 560px; margin: 0 auto;
  background: var(--header); border: 1px solid var(--line-strong); border-radius: 22px;
  backdrop-filter: blur(16px) saturate(150%); -webkit-backdrop-filter: blur(16px) saturate(150%);
  box-shadow: var(--shadow);
}
.tab { display: grid; justify-items: center; gap: 2px; padding: 7px 2px; border-radius: 16px; color: var(--faint);
  font-size: 11px; font-weight: 700; min-width: 0; }
/* A narrow phone: the five tabs share the width, a long title ends with «…» instead of widening the page (audit 02.10). */
.tab > span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tab .icon { width: 22px; height: 22px; }
.tab.on { color: var(--accent-text); background: var(--accent-soft); }

@media (min-width: 960px) {
  body { padding-bottom: 40px; }
  .topnav { display: flex; }
  .top-actions { margin-left: 0; }
  .tabs { display: none; }
  main { max-width: 1080px; padding: 24px; }
  .wide-grid { grid-template-columns: 1.15fr 1fr; align-items: start; }
}

/* ----- cards and text blocks -------------------------------------------------------------------- */

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px;
  box-shadow: var(--shadow); min-width: 0;
}
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.label { font: 700 11px/1.3 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }
.hint { display: flex; gap: 8px; align-items: flex-start; padding: 10px 12px; border-radius: var(--radius-s);
  background: var(--surface-2); color: var(--muted); font-size: 13px; margin-top: 12px; }
.hint .icon { width: 18px; height: 18px; margin-top: 1px; color: var(--accent-text); }
.note-warn { background: var(--warn-soft); color: var(--warn); }
.note-warn .icon { color: var(--warn); }

.page-hero { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 7;
  box-shadow: var(--shadow); background: var(--surface-2); }
.page-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.page-hero::after { content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(3, 10, 12, 0.88)); }
.page-hero-text { position: absolute; left: 18px; right: 18px; bottom: 14px; z-index: 1; color: #f3fff9; }
.page-hero-text p { margin: 2px 0 0; color: rgba(230, 250, 240, 0.8); font-size: 14px; }
.home-hero h1 { font-size: 28px; }
@media (min-width: 960px) { .page-hero { aspect-ratio: auto; height: 240px; } }
.platforms { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.app-switch { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.app-tabs { display: inline-grid; grid-auto-flow: column; gap: 3px; padding: 4px; border-radius: 14px; background: var(--surface);
  border: 1px solid var(--line); }
.app-tabs button { appearance: none; border: 0; background: none; color: var(--muted); font: inherit; font-weight: 700;
  font-size: 14px; padding: 8px 18px; border-radius: 10px; cursor: pointer; }
.app-tabs button.on { background: var(--surface-3); color: var(--text); }
.app-tabs button:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.platform { appearance: none; font: inherit; font-weight: 800; color: var(--text); background: var(--surface);
  border: 1.5px solid var(--line); border-radius: 16px; padding: 14px 12px; cursor: pointer; display: flex;
  align-items: center; gap: 10px; text-align: left; box-shadow: var(--shadow); }
.platform .icon { color: var(--muted); }
.platform.on { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-text); }
.platform.on .icon { color: var(--accent-text); }
@media (min-width: 960px) { .platforms { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

.signin-art { margin: -18px -18px 16px; border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; position: relative;
  aspect-ratio: 16 / 8; }
.signin-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.signin-art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, var(--surface)); }
.signin-art .logo { position: absolute; left: 50%; bottom: 6px; transform: translateX(-50%); z-index: 1; }
.features { display: grid; gap: 10px; margin: 16px 0 4px; text-align: left; }
.features div { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.features .bubble { width: 36px; height: 36px; border-radius: 12px; }

.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px;
  background: var(--surface-2); color: var(--muted); font-size: 12px; font-weight: 700; white-space: nowrap; }
.chip > i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }
.chip.on { background: var(--accent-soft); color: var(--accent-text); }
.chip.off { background: var(--danger-soft); color: var(--danger); }
.chip.warn { background: var(--warn-soft); color: var(--warn); }
.chip.none > i { box-shadow: none; }

/* ----- buttons and fields ------------------------------------------------------------------------- */

.btn {
  appearance: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid var(--line-strong); background: var(--surface-2); color: var(--text);
  border-radius: var(--radius-s); padding: 12px 16px; font: inherit; font-weight: 700; cursor: pointer;
  text-align: center; min-height: 46px; transition: transform 0.12s ease, filter 0.12s ease, background 0.15s;
}
.btn:hover { filter: brightness(1.08); }
.btn:active { transform: scale(0.98); }
.btn.primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: var(--accent-ink);
  border-color: transparent; box-shadow: 0 6px 22px rgba(57, 240, 141, 0.25); }
.btn.danger { background: var(--danger-soft); color: var(--danger); border-color: transparent; }
.btn.ghost { background: transparent; }
.btn.small { min-height: 36px; padding: 7px 12px; font-size: 14px; border-radius: 12px; }
.btn:disabled { opacity: 0.55; cursor: default; transform: none; }
.btn.busy .icon { animation: spin 0.9s linear infinite; }
.btn.busy::after { content: ''; width: 14px; height: 14px; border-radius: 50%; border: 2px solid currentColor;
  border-right-color: transparent; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.row > .btn { flex: 1 1 140px; }
.stack { display: grid; gap: 10px; margin-top: 12px; }

.field { display: grid; gap: 6px; margin-top: 12px; }
.field > span { font-size: 13px; color: var(--muted); font-weight: 600; }
.input, textarea.input {
  width: 100%; font: inherit; color: var(--text); background: var(--surface-2); border: 1px solid var(--line-strong);
  border-radius: var(--radius-s); padding: 12px 14px; outline: none; min-height: 46px;
}
textarea.input { resize: vertical; min-height: 90px; line-height: 1.45; }
.input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.input-row { display: flex; gap: 8px; }
.code-input { font: 800 24px/1 var(--mono); letter-spacing: 0.4em; text-align: center; }
.code-input::placeholder { color: var(--faint); opacity: 0.6; }
.text-link { appearance: none; border: 0; background: none; padding: 0; font: inherit; font-weight: 700; color: var(--accent-text);
  cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.or { display: flex; align-items: center; gap: 12px; margin: 16px 0 4px; color: var(--faint); font-size: 13px; }
.or::before, .or::after { content: ''; flex: 1; height: 1px; background: var(--line-strong); }
.consent { margin: 14px 0 0; font-size: 12px; line-height: 1.5; color: var(--faint); }
.consent a { color: var(--muted); }
.row.tight { margin-top: 0; gap: 6px; flex-wrap: nowrap; }
.row.tight > .btn { flex: none; }
.input-row .input { flex: 1; min-width: 0; }
.input-row .btn { flex: none; }

.seg { display: flex; gap: 4px; padding: 4px; background: var(--surface-2); border-radius: 14px; overflow-x: auto;
  scrollbar-width: none; max-width: 100%; }
/* Grid items may shrink below their content: a long row of tabs scrolls inside itself, not the page (audit 02.10). */
.view > *, .card > *, .field > * { min-width: 0; }
.seg::-webkit-scrollbar { display: none; }
.seg button { flex: 1 0 auto; appearance: none; border: 0; background: transparent; color: var(--muted); font: inherit;
  font-weight: 700; font-size: 14px; padding: 9px 12px; border-radius: 11px; cursor: pointer; white-space: nowrap; }
.seg button.on { background: var(--surface); color: var(--text); box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15); }

.switch-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.switch { position: relative; width: 50px; height: 30px; flex: none; }
.switch input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; z-index: 1; }
.switch span { position: absolute; inset: 0; border-radius: 999px; background: var(--surface-3); transition: 0.2s; }
.switch span::after { content: ''; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%;
  background: #fff; transition: 0.2s; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3); }
.switch input:checked + span { background: var(--accent); }
.switch input:checked + span::after { transform: translateX(20px); }
.switch input:focus-visible + span { box-shadow: 0 0 0 3px var(--accent-soft); }

/* ----- the subscription hero ---------------------------------------------------------------------- */

.hero { position: relative; overflow: hidden;
  background: linear-gradient(140deg, rgba(57, 240, 141, 0.14), rgba(31, 209, 193, 0.04) 55%, transparent), var(--surface); }
:root[data-theme="light"] .hero { background: linear-gradient(140deg, rgba(14, 159, 98, 0.10), rgba(10, 159, 149, 0.03) 55%,
  transparent), var(--surface); }
.hero::before { content: ''; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(57, 240, 141, 0.18), transparent 70%); pointer-events: none; }
.hero-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.hero-title { font-size: 22px; font-weight: 800; margin: 14px 0 4px; }
.hero-top + .label { margin-top: 16px; }

.countdown { display: flex; gap: 14px; flex-wrap: wrap; margin: 6px 0 2px; }
.cd { display: flex; align-items: baseline; gap: 4px; }
.cd b { font-size: 34px; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.cd i { font-style: normal; color: var(--muted); font-weight: 700; font-size: 13px; }

.meter-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-top: 16px; }
.meter-head b { font-size: 14px; }
.bar { position: relative; height: 10px; border-radius: 999px; background: var(--surface-3); overflow: hidden; margin-top: 8px; }
.bar > i { position: absolute; inset: 0 auto 0 0; border-radius: inherit; overflow: hidden;
  background: linear-gradient(90deg, var(--accent), var(--accent-2)); transition: width 0.8s cubic-bezier(.2, .8, .2, 1); }
.bar > i::after { content: ''; position: absolute; inset: 0; transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent); animation: shimmer 2.4s infinite; }
.bar.warn > i { background: linear-gradient(90deg, var(--warn), #ff9f43); }
@keyframes shimmer { to { transform: translateX(100%); } }

.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.fact { background: var(--surface-2); border-radius: var(--radius-s); padding: 12px; min-width: 0; }
.fact b { display: block; font-size: 17px; font-weight: 800; margin-top: 4px; overflow-wrap: anywhere; }
.dots { display: flex; gap: 5px; margin-top: 8px; }
.dots i { width: 18px; height: 6px; border-radius: 999px; background: var(--surface-3); }
.dots i.on { background: var(--accent); box-shadow: 0 0 8px rgba(57, 240, 141, 0.5); }

/* ----- tiles ------------------------------------------------------------------------------------- */

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tile { display: grid; gap: 4px; padding: 16px; border-radius: var(--radius); background: var(--surface);
  border: 1px solid var(--line); color: var(--text); box-shadow: var(--shadow); position: relative; min-width: 0;
  transition: transform 0.15s ease, border-color 0.15s; }
.tile:hover { border-color: var(--line-strong); transform: translateY(-1px); }
.tile .bubble { margin-bottom: 6px; }
.tile b { font-size: 20px; font-weight: 800; overflow-wrap: anywhere; }
.tile .chev { position: absolute; right: 14px; top: 16px; color: var(--faint); }
.bubble { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; background: var(--accent-soft);
  color: var(--accent-text); flex: none; }
.bubble .icon { width: 21px; height: 21px; }
.quick { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--radius-s);
  background: var(--surface); border: 1px solid var(--line); color: var(--text); font-weight: 700; }
.quick > .icon:last-child { margin-left: auto; color: var(--faint); }
.quick .bubble { width: 34px; height: 34px; border-radius: 11px; }

@property --angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
.connect-tile { display: block; padding: 1.5px; border-radius: var(--radius); color: var(--text);
  background: conic-gradient(from var(--angle), var(--line-strong) 0deg, var(--accent) 60deg, var(--accent-2) 100deg,
    var(--line-strong) 160deg, var(--line-strong) 360deg);
  animation: orbit 4s linear infinite; box-shadow: 0 0 30px rgba(57, 240, 141, 0.12); }
@keyframes orbit { to { --angle: 360deg; } }
.connect-inner { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: calc(var(--radius) - 1.5px);
  background: var(--surface); }
.connect-inner b { display: block; font-size: 16px; }
.connect-inner > .icon { margin-left: auto; color: var(--accent-text); }

/* ----- lists ------------------------------------------------------------------------------------- */

.list { display: grid; }
.item { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); min-width: 0; }
.item:first-child { border-top: 0; padding-top: 2px; }
.item-main { flex: 1; min-width: 0; }
.item-main b { display: block; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.item-main span { color: var(--muted); font-size: 13px; }
.amount { font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; }
.amount.plus { color: var(--accent-text); }
.amount.minus { color: var(--text); }
.empty { text-align: center; color: var(--muted); padding: 18px 6px; }
.empty .bubble { margin: 0 auto 10px; width: 48px; height: 48px; }

.link-box { font: 13px/1.45 var(--mono); background: var(--surface-2); border-radius: var(--radius-s); padding: 12px;
  word-break: break-all; color: var(--muted); border: 1px dashed var(--line-strong); margin-top: 10px; }

/* ----- choices (tariffs, amounts, methods, platforms) --------------------------------------------- */

.options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.option { appearance: none; text-align: left; font: inherit; color: var(--text); background: var(--surface-2);
  border: 1.5px solid var(--line); border-radius: 16px; padding: 14px; cursor: pointer; position: relative; display: grid;
  gap: 2px; transition: border-color 0.15s, transform 0.12s; }
.option:active { transform: scale(0.98); }
.option.on { border-color: var(--accent); background: var(--accent-soft); }
.option b { font-size: 16px; font-weight: 800; }
.option .price { font-size: 20px; font-weight: 800; }
.option s { color: var(--faint); font-size: 13px; }
.option .badge { position: absolute; right: 10px; top: -9px; background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--accent-ink); font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 999px; }
.amounts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.amounts button { appearance: none; font: inherit; font-weight: 700; color: var(--text); background: var(--surface-2);
  border: 1.5px solid var(--line); border-radius: 12px; padding: 9px 14px; cursor: pointer; }
.amounts button.on { border-color: var(--accent); color: var(--accent-text); background: var(--accent-soft); }
.method { display: flex; align-items: center; gap: 12px; }
.method .bubble { width: 36px; height: 36px; }
.summary { margin-top: 14px; padding: 14px; border-radius: 16px; background: var(--surface-2); display: grid; gap: 6px; }
.summary div { display: flex; justify-content: space-between; gap: 10px; }
.summary .total { border-top: 1px solid var(--line); padding-top: 8px; margin-top: 2px; font-weight: 800; font-size: 16px; }

/* ----- connect steps ------------------------------------------------------------------------------- */

.steps { display: grid; gap: 0; margin-top: 8px; }
.step { display: grid; grid-template-columns: 34px 1fr; gap: 12px; position: relative; padding-bottom: 18px; }
.step:last-child { padding-bottom: 0; }
.step::before { content: ''; position: absolute; left: 16px; top: 34px; bottom: 0; width: 2px; background: var(--line-strong); }
.step:last-child::before { display: none; }
.step-num { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 800;
  background: var(--accent-soft); color: var(--accent-text); border: 1px solid var(--line-strong); }
.step h3 { font-size: 16px; margin-top: 6px; }
.step .row { margin-top: 10px; }

/* ----- chat ---------------------------------------------------------------------------------------- */

.chat { display: flex; flex-direction: column; gap: 10px; max-height: 60vh; overflow-y: auto; padding: 4px 2px;
  scroll-behavior: smooth; }
.bubble-msg { max-width: 85%; padding: 10px 13px; border-radius: 16px; white-space: pre-wrap; overflow-wrap: anywhere;
  font-size: 14px; }
.bubble-msg.me { align-self: flex-end; background: var(--accent-soft); border: 1px solid var(--line-strong);
  border-bottom-right-radius: 6px; }
.bubble-msg.support { align-self: flex-start; background: var(--surface-2); border-bottom-left-radius: 6px; }
.bubble-msg .who { display: flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 800; color: var(--accent-text);
  margin-bottom: 4px; }
.bubble-msg .who .icon { width: 14px; height: 14px; }
.bubble-msg > span:not(.who):not(.file-chip) { display: block; }
.chat-note { margin: 10px 2px 0; }
.media-slot { margin: 2px 0 6px; }
.msg-photo { display: block; max-width: 100%; max-height: 320px; border-radius: 12px; cursor: zoom-in; }
.msg-photo.full { max-height: 75vh; margin: 0 auto; cursor: default; }
.msg-video { display: block; width: 100%; max-height: 360px; border-radius: 12px; background: #000; }
.msg-audio { display: block; width: 100%; min-width: 220px; }
.file-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 10px;
  background: var(--surface-3); color: var(--text); font-size: 13px; font-weight: 700; }
.file-chip .icon { width: 16px; height: 16px; }
.attached { display: flex; align-items: center; gap: 8px; padding: 8px 8px 8px 12px; margin-top: 12px; border-radius: 12px;
  background: var(--accent-soft); border: 1px solid var(--line-strong); }
.attached-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; }
.attached .icon-btn { width: 32px; height: 32px; }
.composer .attach { width: 48px; height: 48px; flex: none; }
.how-steps { display: grid; gap: 10px; margin-top: 12px; }
.how-step { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.how-step .bubble { width: 36px; height: 36px; border-radius: 12px; }
@media (min-width: 960px) { .how-steps { grid-template-columns: repeat(3, 1fr); } }
.tab, .topnav a { position: relative; }
.tab.badge::after, .topnav a.badge::after { content: ''; position: absolute; top: 6px; right: calc(50% - 18px); width: 9px;
  height: 9px; border-radius: 50%; background: var(--danger); box-shadow: 0 0 0 2px var(--bg); }
.topnav a.badge::after { top: 4px; right: 4px; }
.bubble-msg time { display: block; font-size: 11px; color: var(--faint); margin-top: 4px; text-align: right; }
.composer { display: flex; gap: 8px; align-items: flex-end; margin-top: 12px; }
.composer textarea { min-height: 48px; max-height: 160px; resize: none; }
.composer .btn { width: 48px; min-width: 48px; padding: 0; height: 48px; }

/* ----- FAQ and documents ----------------------------------------------------------------------------- */

details.faq { border-top: 1px solid var(--line); }
details.faq:first-of-type { border-top: 0; }
details.faq summary { list-style: none; cursor: pointer; padding: 14px 0; font-weight: 700; display: flex;
  justify-content: space-between; gap: 10px; align-items: center; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary .icon { transition: transform 0.2s; color: var(--faint); }
details.faq[open] summary .icon { transform: rotate(90deg); color: var(--accent-text); }
details.faq p { margin: 0 0 14px; color: var(--muted); white-space: pre-line; }
.doc-text { white-space: pre-wrap; color: var(--muted); font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }

/* ----- dialogs, menus, toasts -------------------------------------------------------------------------- */

.backdrop { position: fixed; inset: 0; z-index: 50; background: rgba(2, 8, 10, 0.6); display: flex; align-items: flex-end;
  justify-content: center; animation: fade 0.18s ease; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.backdrop.out { opacity: 0; transition: opacity 0.18s; }
@keyframes fade { from { opacity: 0; } }
.modal { width: 100%; max-width: 480px; max-height: 88vh; overflow-y: auto; background: var(--surface);
  border: 1px solid var(--line-strong); border-radius: 26px 26px 0 0; padding: 18px 18px calc(18px + var(--safe-bottom));
  animation: sheet 0.24s cubic-bezier(.2, .8, .2, 1); box-shadow: var(--shadow); }
.modal.wide { max-width: 720px; }
@keyframes sheet { from { transform: translateY(40px); opacity: 0; } }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.modal-actions { display: flex; gap: 10px; margin-top: 16px; }
.modal-actions .btn { flex: 1; }
@media (min-width: 640px) {
  .backdrop { align-items: center; }
  .modal { border-radius: 24px; padding-bottom: 18px; }
}
.qr-slot { display: grid; place-items: center; padding: 6px 0; }
.qr { width: 240px; max-width: 100%; border-radius: 16px; background: #fff; padding: 10px; display: block; }
.qr-wait { width: 240px; height: 240px; }

.menu-user { display: flex; align-items: center; gap: 12px; padding: 4px 0 14px; border-bottom: 1px solid var(--line); }
.menu-user .avatar { width: 46px; height: 46px; font-size: 18px; cursor: default; }
.menu-links { display: grid; gap: 4px; margin-top: 10px; }
.menu-links a, .menu-links button { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px;
  color: var(--text); font: inherit; font-weight: 700; background: none; border: 0; cursor: pointer; text-align: left; }
.menu-links a:hover, .menu-links button:hover { background: var(--surface-2); }
.menu-links .danger { color: var(--danger); }

#toasts { position: fixed; left: 0; right: 0; bottom: calc(100px + var(--safe-bottom)); z-index: 60; display: grid;
  justify-items: center; gap: 8px; pointer-events: none; padding: 0 16px; }
.toast { display: flex; align-items: center; gap: 8px; max-width: 460px; background: var(--text); color: var(--bg);
  padding: 11px 16px; border-radius: 14px; font-weight: 700; font-size: 14px; box-shadow: var(--shadow);
  animation: rise 0.2s ease; transition: opacity 0.3s, transform 0.3s; }
.toast.error { background: var(--danger); color: #fff; }
.toast.out { opacity: 0; transform: translateY(8px); }
@media (min-width: 960px) { #toasts { bottom: 30px; } }

/* ----- skeletons ---------------------------------------------------------------------------------------- */

.skeleton-stack { display: grid; gap: var(--gap); }
.skeleton { border-radius: var(--radius); background: linear-gradient(90deg, var(--surface) 0%, var(--surface-2) 40%,
  var(--surface) 80%); background-size: 300% 100%; animation: wave 1.4s ease-in-out infinite; border: 1px solid var(--line); }
@keyframes wave { from { background-position: 100% 0; } to { background-position: -100% 0; } }

/* ----- the tour ------------------------------------------------------------------------------------------- */

.tour { position: fixed; inset: 0; z-index: 70; }
.tour-spot { position: fixed; border-radius: 20px; box-shadow: 0 0 0 9999px rgba(2, 8, 10, 0.72);
  transition: all 0.3s cubic-bezier(.2, .8, .2, 1); outline: 2px solid var(--accent); outline-offset: 2px; }
.tour-card { position: fixed; left: 16px; right: 16px; max-width: 380px; margin: 0 auto; background: var(--surface);
  border: 1px solid var(--line-strong); border-radius: 20px; padding: 16px; box-shadow: var(--shadow);
  transition: top 0.3s cubic-bezier(.2, .8, .2, 1); }
.tour-dots { display: flex; gap: 6px; margin-bottom: 10px; }
.tour-dots i { width: 22px; height: 4px; border-radius: 999px; background: var(--surface-3); }
.tour-dots i.on { background: var(--accent); }

/* ----- sign-in ---------------------------------------------------------------------------------------------- */

.signin { max-width: 440px; margin: 6vh auto 0; display: grid; gap: var(--gap); }
.signin .logo { width: 56px; height: 56px; border-radius: 18px; margin: 0 auto; }
.signin .logo .icon { width: 32px; height: 32px; }
.signin h1 { text-align: center; margin-top: 12px; }
.signin-foot { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; font-size: 13px; }
.signin-foot a { color: var(--muted); }
.soon { display: flex; gap: 10px; }
.soon > div { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 11px;
  border-radius: var(--radius-s); border: 1px dashed var(--line-strong); color: var(--faint); font-weight: 700; font-size: 14px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ----- the admin's cabinet (part 6.2) ------------------------------------------------------------------ */

.admin-head { display: grid; gap: 12px; }
.admin-title { display: flex; align-items: center; gap: 12px; }
.admin-title .bubble { width: 44px; height: 44px; border-radius: 14px; }
.seg a { flex: 1 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 6px; color: var(--muted);
  font-weight: 700; font-size: 14px; padding: 9px 12px; border-radius: 11px; white-space: nowrap; }
.seg a .icon { width: 17px; height: 17px; }
.seg a.on { background: var(--surface); color: var(--text); box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15); }

.kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.kpi { display: grid; gap: 4px; padding: 14px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line);
  color: var(--text); box-shadow: var(--shadow); min-width: 0; }
.kpi b { font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
a.kpi:hover { border-color: var(--line-strong); }
.charts { display: grid; gap: var(--gap); }
@media (min-width: 960px) {
  .kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .charts { grid-template-columns: 1fr 1fr; }
}

.chart-total { font-size: 16px; font-variant-numeric: tabular-nums; }
.chart-max { margin-bottom: 4px; }
.chart-plot { position: relative; touch-action: pan-y; cursor: crosshair; }
.chart { display: block; width: 100%; height: 150px; overflow: visible; }
.chart-grid { stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; stroke-dasharray: 3 4; }
.chart-bar { fill: var(--accent); opacity: 0.85; transition: opacity 0.15s; }
.chart-bar.on { opacity: 1; fill: var(--accent-2); }
.chart-tip { position: absolute; top: -6px; transform: translate(-50%, -100%); background: var(--text); color: var(--bg);
  padding: 5px 9px; border-radius: 9px; font-size: 12px; font-weight: 700; white-space: nowrap; pointer-events: none; z-index: 2; }
.chart-axis { display: flex; justify-content: space-between; margin-top: 6px; font-variant-numeric: tabular-nums; }

.list-head { margin: 14px 0 4px; }
.client-list { display: grid; }
.client-row, .topic-row { display: flex; align-items: center; gap: 12px; padding: 12px 4px; border-top: 1px solid var(--line);
  color: var(--text); min-width: 0; }
.client-row:first-child, .topic-row:first-child { border-top: 0; }
.client-row:hover, .topic-row:hover { background: var(--surface-2); border-radius: 12px; }
.client-meta { display: grid; justify-items: end; gap: 4px; flex: none; }
.small-avatar { width: 36px; height: 36px; font-size: 14px; flex: none; cursor: inherit; }
.topic-mark { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; font-size: 18px; flex: none;
  background: var(--surface-2); }
.topic-mark.waiting { background: var(--warn-soft); }
.topic-last { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 520px) {
  .client-row .client-meta .faint, .client-row > .amount { display: none; }
}

.action-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.action-grid > :first-child { grid-column: 1 / -1; }
.item.wrap { flex-wrap: wrap; }
.item.wrap .item-main { flex: 1 1 220px; }
.item.wrap .item-main span { display: block; }
.row.tight { margin-top: 6px; gap: 6px; }
.row.tight > .btn { flex: 0 0 auto; }
button.item.setting { appearance: none; width: 100%; background: none; border: 0; border-top: 1px solid var(--line); font: inherit;
  color: var(--text); text-align: left; cursor: pointer; }
button.item.setting:first-child { border-top: 0; }
button.item.setting:hover { background: var(--surface-2); border-radius: 12px; }
button.item.setting .icon:last-child { color: var(--faint); }

.chat.tall { max-height: 62vh; min-height: 240px; }
.toolbar { display: flex; gap: 6px; flex-wrap: wrap; margin: 12px 0 8px; }
.toolbar .icon-btn { width: 36px; height: 36px; }
.mailing-text { min-height: 180px; font-size: 15px; }
.editor { white-space: pre-wrap; overflow-wrap: anywhere; overflow-y: auto; max-height: 50vh; cursor: text; }
.editor:empty::before { content: attr(data-placeholder); color: var(--faint); }
.editor blockquote { margin: 4px 0; padding: 4px 10px; border-left: 3px solid var(--accent); background: var(--accent-soft);
  border-radius: 0 8px 8px 0; }
.editor a { text-decoration: underline; }
.editor code { font-family: var(--mono); font-size: 0.92em; }
@media (max-width: 600px) {
  .admin-tabs { display: grid; grid-template-columns: repeat(3, 1fr); overflow: visible; }
  .admin-tabs a { flex-direction: column; gap: 3px; font-size: 12px; padding: 8px 4px; }
}
@media (max-width: 600px) {
  .card-head { flex-wrap: wrap; }
}

/* ----- the public site (part 6.3, «финал A»): calm dark, one picture, green only where it matters ---------------- */

body.guest { padding-bottom: 32px; }
body.guest .btn.primary { background: var(--accent); }
.btn.big { min-height: 52px; padding: 14px 24px; font-size: 16px; border-radius: 14px; }
.guest-menu { display: inline-grid; }
.guest-try, .guest-signin { display: none; }

.pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border-radius: 999px; font-size: 13px;
  font-weight: 600; background: var(--surface-2); color: var(--muted); border: 1px solid var(--line); }
.pill > i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.pill.on { background: var(--accent-soft); color: var(--accent-text); border-color: transparent; }
.pill.warn { background: var(--warn-soft); color: var(--warn); border-color: transparent; }
.pill.off { background: var(--danger-soft); color: var(--danger); border-color: transparent; }
a.pill:hover { text-decoration: none; filter: brightness(1.1); }
.fa-pills { display: flex; flex-wrap: wrap; gap: 8px; min-height: 34px; }
/* A server's state on «Статус серверов»: its own name — «dot» is a kind of .chip (lib.chip) and was squeezed by it. */
.server-dot { width: 10px; height: 10px; border-radius: 50%; flex: none; background: var(--faint); }
.server-dot.on { background: var(--accent); }
.server-dot.off { background: var(--danger); }

.fa-hero { display: grid; gap: 22px; padding-top: 8px; }
.fa-hero-text { display: grid; gap: 18px; align-content: center; }
.fa-hero-text h1 { margin: 0; font-size: 40px; line-height: 1.05; font-weight: 800; letter-spacing: -0.03em; text-wrap: balance; }
.fa-lead { margin: 0; font-size: 17px; line-height: 1.6; color: var(--muted); max-width: 540px; }
.fa-hero-text .row { margin-top: 0; }
.fa-hero-art { border-radius: 24px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 10; background: #03100c; }
.fa-hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; display: block; }

.fa-trust { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 28px; border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line); }
.fa-trust-item { display: grid; gap: 2px; padding: 16px 12px 16px 0; }
.fa-trust-item:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
.fa-trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }

.site-section { display: grid; gap: 18px; margin-top: 64px; scroll-margin-top: 90px; }
.fa-title { margin: 0; font-size: 30px; line-height: 1.12; font-weight: 800; letter-spacing: -0.03em; text-wrap: balance; }
.fa-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.fa-head .btn { flex: none; white-space: nowrap; }

.fa-tariffs { justify-items: center; }
.fa-terms { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3px; padding: 4px; border-radius: 16px;
  background: var(--surface); border: 1px solid var(--line); width: 100%; max-width: 620px; }
.fa-terms button { appearance: none; border: 0; background: none; color: var(--muted); font: inherit; font-weight: 600;
  font-size: 13px; padding: 10px 4px; border-radius: 12px; cursor: pointer; display: grid; gap: 1px; justify-items: center; }
.fa-terms button.on { background: var(--surface-3); color: var(--text); font-weight: 700; }
.fa-terms button:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.fa-save { color: var(--accent-text); font-size: 12px; }
.fa-offer { width: 100%; max-width: 960px; display: grid; border-radius: 26px; background: var(--surface);
  border: 1px solid var(--line); }
.fa-offer-main { display: grid; gap: 10px; padding: 26px 22px; border-bottom: 1px solid var(--line); }
.fa-offer-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.fa-offer-price > span { font-size: 46px; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.fa-offer-price s { font-size: 18px; color: var(--faint); }
.fa-offer-note { color: var(--accent-text); font-weight: 600; }
.fa-offer-main .btn { margin-top: 8px; width: 100%; }
.fa-offer-list { display: grid; gap: 12px; padding: 26px 22px; align-content: start; }
.fa-offer-list > div { display: flex; gap: 10px; align-items: flex-start; color: var(--text); }
.fa-offer-list .icon { width: 18px; height: 18px; color: var(--accent-text); flex: none; margin-top: 2px; }

.fa-platforms { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fa-tile { display: grid; gap: 10px; padding: 20px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line);
  color: var(--text); transition: border-color 0.2s; }
.fa-tile:hover { border-color: var(--line-strong); text-decoration: none; }
.fa-tile > .icon { width: 26px; height: 26px; color: var(--accent-text); }
.fa-steps { display: grid; gap: 18px; padding-top: 6px; }
.fa-step { display: flex; gap: 14px; align-items: flex-start; }
.fa-step .step-num { flex: none; }
.fa-step p { margin: 4px 0 0; }

.fa-cabinet { align-items: center; }
.fa-cabinet-text { display: grid; gap: 14px; }
.fa-cabinet-text p { margin: 0; }
.fa-bullets { display: grid; gap: 8px; }
.fa-bullets span { display: flex; gap: 10px; }
.fa-bullets span::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin-top: 9px; flex: none; }
.fa-mock { margin: 0; display: grid; gap: 8px; }
.fa-mock-bar { height: 38px; display: flex; align-items: center; gap: 7px; padding: 0 14px; border: 1px solid var(--line);
  border-bottom: 0; border-radius: 20px 20px 0 0; background: var(--surface); font-size: 12px; color: var(--faint); }
.fa-mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--surface-3); }
.fa-mock-bar span { margin-left: 8px; }
.fa-mock-body { display: grid; grid-template-columns: 1fr; border: 1px solid var(--line); border-radius: 0 0 20px 20px;
  background: var(--surface); overflow: hidden; }
.fa-mock-nav { display: none; }
.fa-mock-main { display: grid; gap: 12px; padding: 18px; }
.fa-mock-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.fa-mock-stat { display: grid; gap: 2px; padding: 12px; border-radius: 14px; background: var(--surface-2); }
.fa-mock-stat span { font-size: 11px; color: var(--muted); }
.fa-mock-stat b { font-size: 15px; white-space: nowrap; }
.fa-mock-device { display: flex; align-items: center; gap: 10px; padding: 11px 13px; border-radius: 12px; border: 1px solid var(--line);
  font-size: 14px; }
.fa-mock-device b { flex: 1; }
.fa-mock-del { color: var(--danger); font-weight: 600; font-size: 13px; }
.fa-mock-button { justify-self: start; padding: 10px 14px; border-radius: 12px; background: var(--accent); color: var(--accent-ink);
  font-weight: 800; font-size: 14px; }
.fa-mock figcaption { text-align: right; }

.fa-faq details.faq summary { font-size: 16px; }
.fa-try { display: grid; gap: 16px; margin-top: 64px; padding: 26px 22px; border-radius: 24px; background: var(--surface);
  border: 1px solid var(--line-strong); }
.fa-try h2 { margin: 0; font-size: 24px; font-weight: 800; letter-spacing: -0.02em; }
.fa-try p { margin: 6px 0 0; }

.site-footer { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; margin-top: 56px; padding: 32px 0 8px;
  border-top: 1px solid var(--line); font-size: 14px; }
.site-footer-brand { grid-column: 1 / -1; display: grid; gap: 6px; }
.site-footer-col { display: grid; gap: 8px; align-content: start; }
.site-footer-col a { color: var(--muted); overflow-wrap: anywhere; }
.site-footer-col a:hover { color: var(--text); }
.small-art { margin: 0 0 12px; border-radius: 18px; }

@media (min-width: 960px) {
  body.guest main { max-width: 1200px; }
  .guest-menu { display: none; }
  .guest-try, .guest-signin { display: inline-flex; }
  .fa-hero { grid-template-columns: minmax(0, 1fr) 560px; gap: 56px; padding-top: 32px; }
  .fa-hero-text h1 { font-size: 60px; }
  .fa-hero-art { aspect-ratio: auto; height: 460px; }
  .fa-trust { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 56px; }
  .fa-trust-item, .fa-trust-item:nth-child(even) { padding: 22px 20px; border-left: 1px solid var(--line); border-bottom: 0; }
  .fa-trust-item:first-child { border-left: 0; padding-left: 0; }
  .site-section { margin-top: 104px; gap: 26px; }
  .fa-title { font-size: 42px; }
  .fa-terms button { font-size: 15px; grid-auto-flow: column; gap: 6px; padding: 12px 8px; }
  .fa-offer { grid-template-columns: 1fr 1fr; }
  .fa-offer-main { padding: 40px; border-bottom: 0; border-right: 1px solid var(--line); }
  .fa-offer-price > span { font-size: 60px; }
  .fa-offer-list { padding: 40px; }
  .fa-platforms { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
  .fa-tile { padding: 24px; }
  .fa-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
  .fa-cabinet { grid-template-columns: 400px minmax(0, 1fr); gap: 56px; }
  .fa-mock-body { grid-template-columns: 170px minmax(0, 1fr); }
  .fa-mock-nav { display: grid; gap: 4px; align-content: start; padding: 18px 12px; background: var(--surface-2);
    border-right: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--muted); }
  .fa-mock-nav span { padding: 8px 12px; border-radius: 10px; }
  .fa-mock-nav span.on { background: var(--accent-soft); color: var(--accent-text); }
  .fa-mock-main { padding: 24px; }
  .fa-faq { grid-template-columns: 360px minmax(0, 1fr); gap: 56px; align-items: start; }
  .fa-try { grid-template-columns: minmax(0, 1fr) auto; align-items: center; margin-top: 104px; padding: 44px 52px; }
  .fa-try h2 { font-size: 34px; }
  .site-footer { grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)); gap: 32px; margin-top: 80px; padding-top: 48px; }
  .site-footer-brand { grid-column: auto; }
}

.info-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.info-head h2 { font-size: 18px; }
.info-head + p { margin: 0; }
.item > .bubble { width: 38px; height: 38px; border-radius: 12px; flex: none; }
.item.method { align-items: flex-start; }
.item.method > .chip { flex: none; margin-top: 2px; }
.item.method .item-main span { display: block; }
@media (max-width: 599px) {
  .row.stack-narrow { flex-direction: column; align-items: stretch; }
  .row.stack-narrow > .btn { flex: 0 0 auto; width: 100%; }
}
