/* Приманка Telegram WEB-прокси на local_server. Без внешних ресурсов. */
:root {
  --ink: #2b2622;
  --muted: #6f655c;
  --paper: #fbf7f1;
  --card: #ffffff;
  --line: #e6dccf;
  --accent: #9a5b2a;
  --accent-ink: #7a4419;
  --crust: #c98a4b;
}

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

body {
  margin: 0;
  font: 17px/1.65 Georgia, "Times New Roman", serif;
  color: var(--ink);
  background: var(--paper);
}

a { color: var(--accent); }
a:hover { color: var(--accent-ink); }

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--card);
}

.site-header .inner,
main,
.site-footer .inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-header .inner { padding-top: 22px; padding-bottom: 18px; }

.tagline {
  margin: 0 0 4px;
  font: 13px/1.4 Verdana, Geneva, sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.brand {
  display: inline-block;
  margin: 0 0 14px;
  font-size: 30px;
  line-height: 1.2;
  text-decoration: none;
  color: var(--ink);
}

.site-header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  font: 15px/1.4 Verdana, Geneva, sans-serif;
}

.site-header nav a {
  text-decoration: none;
  color: var(--ink);
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}

.site-header nav a:hover,
.site-header nav a.current { border-bottom-color: var(--crust); color: var(--ink); }

main { padding-top: 34px; padding-bottom: 48px; }

h1, h2 {
  font-weight: normal;
  line-height: 1.25;
  margin: 0 0 14px;
}

h1 { font-size: 36px; }
h2 { font-size: 25px; margin-top: 40px; }

h1 + .lead,
.intro p { font-size: 19px; }

p { margin: 0 0 16px; }

ul, ol { margin: 0 0 18px; padding-left: 24px; }
li { margin-bottom: 8px; }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: 30px 0 6px;
}

.card {
  display: block;
  padding: 20px;
  background: var(--card);
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
}

.card:hover { border-color: var(--crust); }

.card h2 { margin: 0 0 8px; font-size: 21px; }
.card p { margin: 0; font-size: 15.5px; color: var(--muted); }

.note {
  margin: 22px 0;
  padding: 14px 18px;
  background: #f3ecdf;
  border-left: 3px solid var(--crust);
}

.note p:last-child { margin-bottom: 0; }

table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 20px;
  font-size: 16px;
}

th, td {
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  font: 13px/1.4 Verdana, Geneva, sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

td:first-child { white-space: nowrap; }

dl dt {
  margin: 22px 0 6px;
  font-weight: bold;
}

dl dd { margin: 0 0 6px 0; }

.q { margin-top: 30px; }
.q h2 { margin-top: 0; font-size: 22px; }

.back { display: inline-block; margin-top: 34px; font: 15px/1.4 Verdana, Geneva, sans-serif; }

.site-footer {
  border-top: 1px solid var(--line);
  font-size: 14.5px;
  color: var(--muted);
}

.site-footer .inner { padding-top: 18px; padding-bottom: 24px; }

@media (max-width: 560px) {
  h1 { font-size: 29px; }
  h2 { font-size: 22px; }
  .brand { font-size: 25px; }
}
