/* ============================================================
   Weatmood — страница справки.
   ============================================================ */

:root {
  --bg: #121212;
  --panel: #181817;
  --elev: #1f1f1f;
  --line: rgba(255, 255, 255, .08);
  --text: #f2f2f2;
  --dim: #a8a8a8;
  --faint: #6e6e6e;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.65;
  min-height: 100vh;
}

.wrap { max-width: 780px; margin: 0 auto; padding: 0 24px; }

/* шапка */
.hdr {
  position: sticky; top: 0; z-index: 10;
  background: rgba(18, 18, 18, .88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.hdr-in { display: flex; align-items: center; justify-content: space-between; height: 58px; }
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; color: var(--text); }
.brand b { font-size: 16.5px; letter-spacing: -.01em; }
.brand img { display: block; }
.logo-light { display: none; }
.back { color: var(--dim); text-decoration: none; font-size: 14px; }
.back:hover { color: var(--text); }

/* герой */
.hero { padding: 56px 0 36px; border-bottom: 1px solid var(--line); }
.hero h1 { font-size: 38px; font-weight: 700; letter-spacing: -.03em; }
.hero p { margin-top: 10px; color: var(--dim); font-size: 16.5px; }

section { padding: 34px 0; border-bottom: 1px solid var(--line); }
section:last-of-type { border-bottom: none; }

h2 { font-size: 21px; font-weight: 600; letter-spacing: -.02em; margin-bottom: 14px; }
h3 { font-size: 15.5px; font-weight: 600; margin-bottom: 6px; }

p { color: var(--dim); font-size: 15.5px; margin-bottom: 10px; }
p:last-child { margin-bottom: 0; }
b { color: var(--text); font-weight: 600; }

a { color: var(--text); text-decoration: underline; text-decoration-color: var(--faint); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--text); }

/* карточки моделей */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
}
.card p { font-size: 14px; margin-bottom: 10px; }
.tag {
  display: inline-block;
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 11.5px;
  color: var(--faint);
  letter-spacing: .03em;
  text-transform: uppercase;
}
.tag--on { color: #6ee7a8; border-color: rgba(52, 199, 123, .4); }

/* списки */
.feat { list-style: none; }
.feat li {
  position: relative;
  padding-left: 20px;
  margin: 8px 0;
  color: var(--dim);
  font-size: 15.5px;
}
.feat li::before {
  content: "";
  position: absolute;
  left: 4px; top: 11px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--faint);
}

.contact { text-align: center; }
.contact p { margin-bottom: 16px; }
.btn {
  display: inline-block;
  padding: 11px 22px;
  border-radius: 11px;
  background: var(--elev);
  border: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
  font-size: 15px;
}
.btn:hover { background: #262625; }

footer { border-top: 1px solid var(--line); padding: 26px 0 46px; }
footer p { font-size: 13.5px; color: var(--faint); }

/* светлая тема */
@media (prefers-color-scheme: light) {
  /* страница справки всегда тёмная — как основной интерфейс */
}
