/* Оформление страниц fvpn.top в стиле кабинета Bedolaga.
   Все ресурсы свои: страницы обязаны открываться, даже когда всё остальное
   лежит, и без единого обращения на сторону. */

@font-face {
  font-family: "NeverMind Extended";
  src: url("/fonts/NeverMindExtended-Extrabold.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: "SF Pro Display";
  src: url("/fonts/SF-Pro-Display-Medium.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "SF Pro Display";
  src: url("/fonts/SF-Pro-Display-Bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  --bg: #141414;
  --card: #1f1f1f;
  --medium: #383838;
  --light: #a4a4a4;
  --blue: #0033ff;
  --blue-light: #3e5edf;
  --green: #00b22d;
  --shadow-card: 0 4px 24px -4px rgba(0, 0, 0, 0.4);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: #fff;
  font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 500;
  font-size: 15px;
  line-height: 1.6;
  padding: 0 20px 96px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: "NeverMind Extended", "SF Pro Display", sans-serif;
  font-weight: 800;
  margin: 0;
}
h1 {
  font-size: 40px;
  line-height: 0.92;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
h2 {
  font-size: 17px;
  line-height: 22px;
  margin: 40px 0 14px;
}
h3 { font-size: 15px; margin: 22px 0 8px; }

p { margin: 0 0 14px; color: #e9e9e9; }
a { color: var(--blue-light); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: 760px; margin: 0 auto; }
.muted { color: var(--light); font-size: 13px; }

/* ── Шапка ───────────────────────────────────────────────── */
.hero { padding: 72px 0 8px; text-align: center; }
.hero img { width: 88px; height: 88px; border-radius: 22px; margin-bottom: 22px; }
.hero p { color: var(--light); font-size: 15px; margin-top: 14px; }

.page-head {
  padding: 56px 0 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  margin-bottom: 8px;
}
.page-head h1 { font-size: 30px; line-height: 1.05; }
.page-head .muted { margin-top: 10px; }

/* ── Карточки ────────────────────────────────────────────── */
.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin: 16px 0;
  box-shadow: var(--shadow-card);
}
.card > :first-child { margin-top: 0; }
.card > :last-child { margin-bottom: 0; }
.card h2 { margin-top: 0; }

.card-accent {
  background: linear-gradient(135deg, rgba(0, 51, 255, 0.14), rgba(62, 94, 223, 0.06));
  border: 1px solid rgba(62, 94, 223, 0.22);
}

/* ── Плитка возможностей ─────────────────────────────────── */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin: 16px 0;
}
.tile {
  background: var(--card);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-card);
}
.tile .ic {
  width: 40px; height: 40px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
  background: rgba(62, 94, 223, 0.15);
  color: var(--blue-light);
}
.tile .ic.green { background: rgba(0, 178, 45, 0.15); color: var(--green); }
.tile .ic svg { width: 20px; height: 20px; }
.tile h3 { margin: 0 0 6px; font-family: "SF Pro Display", sans-serif; font-weight: 700; font-size: 14px; }
.tile p { margin: 0; color: var(--light); font-size: 13px; line-height: 1.55; }

/* ── Ссылки-строки ───────────────────────────────────────── */
.row {
  display: flex; align-items: center; gap: 14px;
  background: var(--card);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-card);
  color: inherit;
  transition: transform 0.15s ease, background 0.15s ease;
}
.row:hover { background: #242424; text-decoration: none; transform: translateY(-1px); }
.row .ic {
  width: 40px; height: 40px; border-radius: 14px; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(90deg, var(--blue), var(--blue-light));
  color: #fff;
}
.row .ic svg { width: 19px; height: 19px; }
.row .t { flex: 1; min-width: 0; }
.row .t strong { display: block; font-size: 14px; font-weight: 700; }
.row .t span { color: var(--light); font-size: 12px; }
.row .arrow { color: var(--light); flex: none; }

/* ── Списки и таблицы в документах ───────────────────────── */
ul { padding-left: 22px; margin: 0 0 14px; }
li { margin-bottom: 7px; color: #e9e9e9; }
li::marker { color: var(--light); }

.check { list-style: none; padding: 0; }
.check li { display: flex; gap: 10px; align-items: flex-start; }
.check li::before {
  content: "✓";
  color: var(--green);
  font-weight: 700;
  flex: none;
}

table { width: 100%; border-collapse: collapse; margin: 6px 0 4px; font-size: 13.5px; }
th, td { text-align: left; padding: 12px 14px; vertical-align: top; }
th { color: var(--light); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
tbody tr { border-top: 1px solid rgba(255, 255, 255, 0.06); }
td:first-child { font-weight: 700; }

/* ── Подвал ──────────────────────────────────────────────── */
footer {
  margin-top: 56px; padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
footer nav { margin-bottom: 12px; }
footer nav a { margin-right: 22px; font-size: 14px; }

@media (max-width: 600px) {
  body { padding: 0 16px 72px; font-size: 14.5px; }
  .hero { padding: 52px 0 4px; }
  h1 { font-size: 30px; }
  .page-head h1 { font-size: 24px; }
  .card, .tile { padding: 18px; }
  table, tbody, tr, td { display: block; width: 100%; }
  thead { display: none; }
  tbody tr { padding: 14px 0; }
  td { padding: 2px 0; }
  td:first-child { margin-bottom: 4px; }
  td:not(:first-child) { color: var(--light); font-size: 13px; }
}
