/* ==========================================================================
   yeavpn â€” Ñ�Ð¾Ð²Ñ€ÐµÐ¼ÐµÐ½Ð½Ñ‹Ð¹ Ð¾Ð´Ð½Ð¾Ñ�Ñ‚Ñ€Ð°Ð½Ð¸Ñ‡Ð½Ñ‹Ð¹ Ð»ÐµÐ½Ð´Ð¸Ð½Ð³
   Ð§Ð¸Ñ�Ñ‚Ñ‹Ð¹ CSS, Ð±ÐµÐ· Ð·Ð°Ð²Ð¸Ñ�Ð¸Ð¼Ð¾Ñ�Ñ‚ÐµÐ¹. Ð¢Ñ‘Ð¼Ð½Ð°Ñ� Ñ‚ÐµÐ¼Ð°.
   ========================================================================== */

/* ------------------------------- Ð¢Ð¾ÐºÐµÐ½Ñ‹ ---------------------------------- */
:root {
  --bg: #070a12;
  --bg-2: #0b0f1a;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);

  --text: #e8edf5;
  --text-muted: #9aa6b8;
  --text-dim: #6b7688;

  --accent: #4f9cf9;
  --accent-2: #38bdf8;
  --accent-3: #8b5cf6;
  --green: #3fb950;

  --grad: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  --grad-soft: linear-gradient(135deg, rgba(79, 156, 249, 0.16), rgba(139, 92, 246, 0.16));

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;

  --shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 12px 34px rgba(56, 189, 248, 0.28);

  --container: 1120px;
  --header-h: 68px;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;

  color-scheme: dark;
}

/* ------------------------------- Ð‘Ð°Ð·Ð° ------------------------------------ */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 17px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Ð›Ñ‘Ð³ÐºÐ¸Ð¹ Ñ„Ð¾Ð½Ð¾Ð²Ñ‹Ð¹ ÑˆÑƒÐ¼/Ð³Ñ€Ð°Ð´Ð¸ÐµÐ½Ñ‚ Ð¿Ð¾ Ð²Ñ�ÐµÐ¹ Ñ�Ñ‚Ñ€Ð°Ð½Ð¸Ñ†Ðµ */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(79, 156, 249, 0.10), transparent 60%),
    radial-gradient(900px 500px at 100% 10%, rgba(139, 92, 246, 0.08), transparent 55%),
    var(--bg);
}

img, svg { display: block; max-width: 100%; }

a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { line-height: 1.2; margin: 0; font-weight: 800; letter-spacing: -0.02em; }

p { margin: 0; }

ul, ol { margin: 0; padding: 0; list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.section { padding: 88px 0; scroll-margin-top: var(--header-h); }
.section + .section { border-top: 1px solid var(--border); }

.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head.center { margin-inline: auto; text-align: center; }

h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 14px; }
.lead { color: var(--text-muted); font-size: 18px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-2);
  background: rgba(56, 189, 248, 0.10);
  border: 1px solid rgba(56, 189, 248, 0.28);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}

/* ------------------------------ ÐšÐ½Ð¾Ð¿ÐºÐ¸ ----------------------------------- */
.btn {
  --btn-pad-y: 14px;
  --btn-pad-x: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: var(--btn-pad-y) var(--btn-pad-x);
  border-radius: 12px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.btn:hover { text-decoration: none; }
.btn:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; }

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(56, 189, 248, 0.38); color: #fff; }
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: var(--surface);
  border-color: var(--border-strong);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--accent-2); color: var(--text); transform: translateY(-2px); }

.btn-sm { --btn-pad-y: 10px; --btn-pad-x: 18px; font-size: 14px; border-radius: 10px; }
.btn-block { width: 100%; }

.btn .icon { width: 18px; height: 18px; }

/* ------------------------------ Ð¨Ð°Ð¿ÐºÐ° ------------------------------------ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(7, 10, 18, 0.72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.header.is-scrolled { border-bottom-color: var(--border); background: rgba(7, 10, 18, 0.9); }

.header-inner { display: flex; align-items: center; gap: 20px; width: 100%; }

.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}
.logo:hover { text-decoration: none; color: var(--text); }
.logo-mark {
  width: 38px; height: 38px;
  border-radius: 11px;
  background: var(--grad);
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-glow);
  flex-shrink: 0;
}
.logo-mark svg { width: 22px; height: 22px; color: #fff; }

.nav { display: flex; align-items: center; gap: 4px; margin-inline-start: auto; }
.nav a {
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 600;
  padding: 9px 14px;
  border-radius: 9px;
  transition: color 0.15s ease, background 0.15s ease;
}
.nav a:hover { color: var(--text); background: var(--surface-2); text-decoration: none; }
.nav a.is-active { color: var(--text); }

.nav-cta { margin-inline-start: 10px; }

.nav-toggle {
  display: none;
  margin-inline-start: auto;
  width: 44px; height: 44px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; }

/* -------------------------------- Hero ----------------------------------- */
.hero {
  position: relative;
  padding: 96px 0 88px;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(700px 380px at 50% 0%, rgba(79, 156, 249, 0.18), transparent 70%),
    radial-gradient(520px 320px at 85% 30%, rgba(139, 92, 246, 0.14), transparent 70%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(700px 460px at 50% 20%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(700px 460px at 50% 20%, #000 30%, transparent 80%);
  opacity: 0.6;
}

.hero-inner { text-align: center; max-width: 820px; margin-inline: auto; }

.hero h1 {
  font-size: clamp(38px, 7vw, 68px);
  margin-bottom: 20px;
}
.hero h1 .grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: clamp(17px, 2.2vw, 21px);
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 34px;
}
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 52px; }

/* Ð¡Ñ‚Ð°Ñ‚Ð¸Ñ�Ñ‚Ð¸ÐºÐ° */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 720px;
  margin-inline: auto;
}
.stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 14px;
}
.stat b { display: block; font-size: clamp(22px, 3vw, 30px); font-weight: 800; letter-spacing: -0.02em; }
.stat span { display: block; color: var(--text-muted); font-size: 14px; margin-top: 4px; }

/* ------------------------------ Ð¤Ð¸Ñ‡Ð¸ ------------------------------------- */
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--border-strong); background: var(--surface-2); }

.feature .icon-wrap {
  width: 52px; height: 52px;
  border-radius: 13px;
  background: var(--grad-soft);
  border: 1px solid var(--border);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--accent-2);
  margin-bottom: 18px;
}
.feature .icon-wrap svg { width: 26px; height: 26px; }
.feature h3 { font-size: 18px; margin-bottom: 8px; }
.feature p { color: var(--text-muted); font-size: 15px; }

/* ------------------------------ Ð¨Ð°Ð³Ð¸ ------------------------------------- */
.steps { counter-reset: step; }
.step { position: relative; padding-top: 8px; }
.step .num {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--grad);
  color: #fff;
  font-weight: 800;
  font-size: 19px;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  box-shadow: var(--shadow-glow);
}
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--text-muted); font-size: 15px; }

/* ----------------------------- Ð¢Ð°Ñ€Ð¸Ñ„Ñ‹ ------------------------------------ */
.plans { align-items: stretch; }
.plan {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.plan:hover { transform: translateY(-5px); border-color: var(--border-strong); }

.plan.is-featured {
  border-color: transparent;
  background:
    linear-gradient(var(--bg-2), var(--bg-2)) padding-box,
    var(--grad) border-box;
  border: 1.5px solid transparent;
  box-shadow: var(--shadow-glow);
}
.plan-badge {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: var(--grad);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: var(--shadow-glow);
}

.plan-name { font-size: 16px; color: var(--text-muted); font-weight: 600; margin-bottom: 14px; }
.plan-price { font-size: clamp(34px, 4vw, 44px); font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.plan-price .cur { font-size: 0.5em; font-weight: 700; color: var(--text-muted); margin-inline-start: 3px; }
.plan-per { color: var(--text-dim); font-size: 14px; margin: 10px 0 22px; }
.plan-per b { color: var(--accent-2); font-weight: 700; }
.plan .btn { margin-top: auto; }

.pricing-note {
  margin-top: 34px;
  text-align: center;
  color: var(--text-muted);
  font-size: 15px;
}
.pricing-note .chip {
  display: inline-block;
  background: rgba(63, 185, 80, 0.12);
  border: 1px solid rgba(63, 185, 80, 0.35);
  color: var(--green);
  padding: 4px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  margin-inline-end: 8px;
}

/* --------------------------- Ð‘Ð¾Ñ‚Ñ‹ / Ð¿Ð¾Ð´Ð´ÐµÑ€Ð¶ÐºÐ° ---------------------------- */
.link-card { text-align: center; }
.link-card .handle { font-size: 20px; font-weight: 800; word-break: break-all; }
.link-card .handle a { color: var(--text); }
.link-card .handle a:hover { color: var(--accent-2); text-decoration: none; }
.link-card p { color: var(--text-muted); font-size: 15px; margin: 10px 0 18px; }

.chip {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: var(--accent-2);
  margin-top: 4px;
}
.chip.green { background: rgba(63, 185, 80, 0.12); border-color: rgba(63, 185, 80, 0.35); color: var(--green); }

.tg-badge {
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 16px;
  color: var(--text-muted); font-size: 14px; font-weight: 600;
}
.tg-badge svg { width: 18px; height: 18px; color: #29a9eb; }

/* ---------------------------- Ð¡Ð¾Ð³Ð»Ð°ÑˆÐµÐ½Ð¸Ðµ --------------------------------- */
.terms {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px clamp(20px, 4vw, 40px);
}
.terms ol { list-style: none; counter-reset: term; }
.terms li {
  position: relative;
  padding: 16px 0 16px 52px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 15px;
}
.terms li:first-child { border-top: none; padding-top: 0; }
.terms li::before {
  counter-increment: term;
  content: counter(term);
  position: absolute;
  left: 0; top: 16px;
  width: 34px; height: 34px;
  border-radius: 9px;
  background: var(--grad-soft);
  border: 1px solid var(--border);
  color: var(--accent-2);
  font-weight: 800;
  font-size: 14px;
  display: inline-flex; align-items: center; justify-content: center;
}
.terms li:first-child::before { top: 0; }
.terms li b { color: var(--text); }

/* ------------------------------ ÐŸÐ¾Ð´Ð²Ð°Ð» ----------------------------------- */
.footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 40px;
  background: var(--bg-2);
}
.footer-inner { display: flex; flex-wrap: wrap; gap: 28px; justify-content: space-between; align-items: flex-start; }
.footer .logo { font-size: 19px; }
.footer-col h4 { font-size: 14px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-dim); margin-bottom: 12px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { color: var(--text-muted); font-size: 15px; }
.footer-links a:hover { color: var(--accent-2); text-decoration: none; }
.footer-bottom {
  margin-top: 36px; padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--text-dim); font-size: 14px;
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between;
}

/* --------------------------- Skip link / Ñ„Ð¾ÐºÑƒÑ� --------------------------- */
.skip-link {
  position: absolute;
  left: -9999px; top: 0;
  background: var(--accent);
  color: #fff;
  padding: 12px 18px;
  border-radius: 0 0 10px 0;
  z-index: 200;
  font-weight: 700;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; border-radius: 4px; }

/* ------------------------- Scroll-reveal Ð°Ð½Ð¸Ð¼Ð°Ñ†Ð¸Ñ� ------------------------ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* ------------------------------ Ð�Ð´Ð°Ð¿Ñ‚Ð¸Ð² ---------------------------------- */
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .hero { padding: 72px 0 64px; }

  .nav-toggle { display: inline-flex; }

  .nav {
    position: fixed;
    top: var(--header-h); left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    margin: 0;
    padding: 16px;
    background: rgba(7, 10, 18, 0.97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    transform: translateY(-140%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav a { padding: 13px 14px; font-size: 16px; }
  .nav-cta { display: none; }

  .stats { grid-template-columns: 1fr; max-width: 420px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }

  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }

  .footer-inner { flex-direction: column; }
}

/* Ð�ÐµÐ±Ð¾Ð»ÑŒÑˆÐ°Ñ� Ð°Ð½Ð¸Ð¼Ð°Ñ†Ð¸Ñ� Ð¿Ð¾Ñ�Ð²Ð»ÐµÐ½Ð¸Ñ� ÑˆÐ°Ð¿ÐºÐ¸/ÐºÐ¾Ð½Ñ‚ÐµÐ½Ñ‚Ð° */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
.hero-inner { animation: fade-up 0.7s ease both; }

/* ------------------------------ ÐŸÐµÑ‡Ð°Ñ‚ÑŒ ----------------------------------- */
@media print {
  .header, .nav-toggle, .hero-grid, .skip-link { display: none !important; }
  body { background: #fff; color: #000; }
  .card, .plan, .terms { border: 1px solid #ccc; background: #fff; }
}


/* ===================== Äîïîëíåíèÿ (ðàñøèðåííàÿ âåðñèÿ) ===================== */

/* Èêîíêè âíå .feature */
.icon-wrap {
  width: 52px; height: 52px;
  border-radius: 13px;
  background: var(--grad-soft);
  border: 1px solid var(--border);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--accent-2);
  margin-bottom: 18px;
}
.icon-wrap svg { width: 26px; height: 26px; }

/* Îäíîêîëîíî÷íàÿ ñåòêà */
.grid-1 { grid-template-columns: 1fr; }

/* Ïîëîñà ïðîãðåññà ïðîêðóòêè */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  z-index: 200;
  background: var(--grad);
  transition: width 0.05s linear;
}

/* Êíîïêà «íàâåðõ» */
.scroll-top {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 150;
  width: 48px; height: 48px;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: rgba(11, 15, 26, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--text);
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s, border-color 0.2s ease, background 0.2s ease;
  box-shadow: var(--shadow);
}
.scroll-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.scroll-top:hover { border-color: var(--accent-2); background: var(--surface-2); }
.scroll-top:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; }
.scroll-top svg { width: 22px; height: 22px; }

/* Êíîïêà êîïèðîâàíèÿ @username */
.handle { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; }
.copy-btn {
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-2);
  background: rgba(56, 189, 248, 0.10);
  border: 1px solid rgba(56, 189, 248, 0.30);
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.copy-btn:hover { background: rgba(56, 189, 248, 0.18); border-color: var(--accent-2); }
.copy-btn:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; }
.copy-btn.is-copied { color: var(--green); background: rgba(63, 185, 80, 0.12); border-color: rgba(63, 185, 80, 0.4); }

/* ------------------------------- FAQ ------------------------------------- */
.faq { display: flex; flex-direction: column; gap: 12px; max-width: 820px; margin-inline: auto; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.faq-item[open] { border-color: var(--border-strong); background: var(--surface-2); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 700;
  font-size: 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 22px; font-weight: 700; line-height: 1;
  color: var(--accent-2);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:focus-visible { outline: 2px solid var(--accent-2); outline-offset: -2px; border-radius: var(--radius); }
.faq-body { padding: 0 22px 20px; color: var(--text-muted); font-size: 15px; }

@media (max-width: 760px) {
  .scroll-top { right: 14px; bottom: 14px; width: 44px; height: 44px; }
}


/* ===================== Ëè÷íûé êàáèíåò / áåñïëàòíûé ñåðâåð ================= */
.notice {
  background: var(--grad-soft);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 18px 20px;
  color: var(--text);
  font-size: 15px;
  margin: 18px 0;
}
.notice.warn { background: rgba(245, 158, 11, 0.10); border-color: rgba(245, 158, 11, 0.4); }
.notice.danger { background: rgba(239, 68, 68, 0.10); border-color: rgba(239, 68, 68, 0.4); }
.notice b { color: var(--text); }
.notice ul { list-style: disc; padding-left: 20px; margin-top: 8px; color: var(--text-muted); }
.notice li { margin: 6px 0; }

.source-list { display: grid; gap: 12px; }
.source-item {
  display: flex; flex-direction: column; gap: 4px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
}
.source-item .src-name { font-weight: 800; color: var(--text); }
.source-item .src-tag { font-size: 12px; font-weight: 700; padding: 2px 9px; border-radius: 999px; margin-left: 8px; vertical-align: middle; }
.source-item .src-tag.trusted { background: rgba(63,185,80,.12); border:1px solid rgba(63,185,80,.4); color: var(--green); }
.source-item .src-tag.untrusted { background: rgba(245,158,11,.12); border:1px solid rgba(245,158,11,.4); color: #f5b942; }
.source-item .src-desc { color: var(--text-muted); font-size: 14px; }
.source-item a { font-size: 14px; word-break: break-all; }

.checklist { list-style: none; padding: 0; }
.checklist li { position: relative; padding: 8px 0 8px 30px; color: var(--text-muted); border-top: 1px solid var(--border); }
.checklist li::before { content: "?"; position: absolute; left: 4px; top: 8px; color: var(--green); font-weight: 800; }
.checklist li.warn-item::before { content: "!"; color: #f5b942; }


/* ===================== Ôîðìû ðåãèñòðàöèè / âõîäà ========================== */
.auth-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; align-items: start; }
.form { display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; color: var(--text); }
.input {
  width: 100%;
  font-family: inherit; font-size: 16px;
  color: var(--text);
  background: var(--bg-2);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 12px 14px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.input::placeholder { color: var(--text-dim); }
.input:focus { outline: none; border-color: var(--accent-2); box-shadow: 0 0 0 3px rgba(56,189,248,.18); }
.form-msg { font-size: 14px; min-height: 1.2em; }
.form-msg.is-error { color: #f87171; }
.form-msg.is-success { color: var(--green); }
.auth-status { max-width: 560px; margin: 24px auto 0; text-align: center; }
.auth-user { border: 1px solid var(--border-strong); border-radius: var(--radius); padding: 18px 20px; background: var(--surface); }
.hint { color: var(--text-dim); font-size: 13px; }
@media (max-width: 760px) { .auth-grid { grid-template-columns: 1fr; } }


/* ===================== Ïëàøêà «Ñîçäàíî Ìàòâååì» =========================== */
.creator-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  text-align: center;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  background: linear-gradient(90deg, rgba(79,156,249,.14), rgba(139,92,246,.14));
  border-bottom: 1px solid var(--border);
}
.creator-bar b { color: var(--text); }
.creator-bar a { color: var(--accent-2); font-weight: 800; }
.creator-bar a:hover { color: #fff; text-decoration: none; }
.creator-bar .dot { color: var(--text-dim); }
