/* Requiem (приватный сервер) — вариант A «Обряд» (тёмный). Cinzel + Inter, акцент #B23A2E. */
:root {
  --bg: #0B0908; --bg2: #110E0C; --panel: #141110; --panel2: #171412; --card: #120F0D;
  --line: #241B18; --line2: #2A211D; --line3: #3A2C27; --line4: #4A403A;
  --text: #E9E2D6; --text2: #C9C0B2; --muted: #B3A99B; --muted2: #9A8F80;
  --accent: #B23A2E; --accent2: #E07A6C; --ok: #9BD38A; --err: #F08A7E;
  --serif: Cinzel, Georgia, serif; --sans: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: var(--text); }
a:hover { color: #fff; }
img { max-width: 100%; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.eyebrow { margin: 0 0 12px; color: var(--accent2); font-size: 13px; letter-spacing: .24em; text-transform: uppercase; font-weight: 600; }
.h2 { margin: 0 0 20px; font-family: var(--serif); font-size: 44px; font-weight: 500; line-height: 1.15; }
.lead { color: var(--muted); font-size: 18px; line-height: 1.7; max-width: 720px; margin: 0 0 48px; }
.muted { color: var(--muted); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 0 28px;
  border-radius: 8px; font: inherit; font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer; border: 0; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: #c44437; color: #fff; }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line4); font-weight: 500; }
.btn-ghost:hover { border-color: #6a5a52; }
.btn[disabled] { opacity: .55; cursor: wait; }
.hidden { display: none !important; }

/* шапка */
.site-header { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; padding-top: 24px; padding-bottom: 24px; }
.logo { font-family: var(--serif); font-size: 22px; letter-spacing: .14em; text-decoration: none; }
.logo small { color: var(--muted2); font-size: 14px; letter-spacing: .08em; }
.nav { display: flex; flex-wrap: wrap; gap: 24px; font-size: 15px; align-items: center; }
.nav a { text-decoration: none; }

/* первый экран */
.hero { background:
  linear-gradient(90deg, var(--bg) 28%, rgba(11,9,8,.6) 62%, rgba(11,9,8,.25)),
  linear-gradient(0deg, var(--bg) 0%, rgba(11,9,8,0) 30%),
  url(../img/hero.jpg) right center / cover no-repeat; }
.hero-body { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-top: 96px; padding-bottom: 120px; }
.hero-text { flex: 999 1 560px; min-width: 0; }
.hero-kicker { margin: 0 0 20px; color: var(--accent2); font-size: 14px; letter-spacing: .24em; text-transform: uppercase; font-weight: 600; }
.hero h1 { margin: 0; font-family: var(--serif); font-weight: 700; font-size: 66px; line-height: 1.05; }
.hero-sub { margin: 28px 0 0; font-size: 19px; line-height: 1.6; color: var(--text2); max-width: 540px; }
.join { flex: 1 1 360px; min-width: 0; background: rgba(20,16,14,.92); border: 1px solid var(--line3); border-radius: 12px; padding: 32px;
  display: flex; flex-direction: column; gap: 16px; }
.join h2 { margin: 0; font-family: var(--serif); font-size: 24px; font-weight: 500; }
.join p { margin: 0; color: var(--muted); font-size: 15px; }
.join .note { color: var(--muted2); font-size: 13px; }
.gbtn { min-height: 44px; display: flex; justify-content: center; }
.btn-google { background: #F4EFE7; color: #1A1714; width: 100%; }
.btn-google:hover { background: #fff; color: #1A1714; }
.stats { display: flex; gap: 24px; padding-top: 12px; border-top: 1px solid var(--line3); font-size: 14px; color: var(--text2); }
.stats b { display: block; font-size: 22px; color: var(--text); font-weight: 600; }
.stats b.state { font-size: 16px; line-height: 33px; white-space: nowrap; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--muted2); margin-right: 6px; vertical-align: middle; }
.dot.up { background: var(--ok); box-shadow: 0 0 8px rgba(155,211,138,.6); }
.dot.down { background: var(--err); }

/* мир */
.section { padding-top: 96px; padding-bottom: 96px; }
.grid-world { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1px; background: var(--line2);
  border: 1px solid var(--line2); border-radius: 10px; overflow: hidden; }
.grid-world > div { background: var(--card); padding: 28px; }
.grid-world h3 { margin: 0 0 10px; font-size: 18px; font-family: var(--serif); font-weight: 500; }
.grid-world p { margin: 0; color: var(--muted); line-height: 1.6; }
.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; padding-bottom: 96px; }
.shots figure { margin: 0; }
.shots img { width: 100%; height: 300px; object-fit: cover; border-radius: 10px; display: block; filter: saturate(.8); }
.shots figcaption { margin-top: 10px; color: var(--muted2); font-size: 14px; font-style: italic; }
.giant { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(11,9,8,.92) 40%, rgba(11,9,8,.35)), url(../img/giant.jpg) right 30% / cover no-repeat; }
.giant .wrap { padding-top: 120px; padding-bottom: 120px; }
.giant blockquote { margin: 0; max-width: 620px; font-family: var(--serif); font-size: 36px; line-height: 1.3; }
.giant p { margin: 20px 0 0; color: var(--muted2); font-size: 15px; letter-spacing: .1em; text-transform: uppercase; }
.grid-rules { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.grid-rules > div { padding: 28px; background: var(--panel); border-radius: 10px; }
.grid-rules h3 { margin: 0 0 10px; font-size: 19px; }
.grid-rules p { margin: 0; color: var(--muted); line-height: 1.6; }

/* путь и скачивание */
.path { background: var(--bg2); border-top: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.steps > div { border-top: 2px solid var(--accent); padding-top: 20px; }
.steps .num { font-family: var(--serif); color: var(--accent); font-size: 22px; }
.steps h3 { margin: 8px 0; font-size: 19px; }
.steps p { margin: 0; color: var(--muted); line-height: 1.6; }
.dl { margin-top: 56px; display: flex; flex-direction: column; gap: 20px; }
.dl-main { border: 2px solid var(--accent); border-radius: 12px; padding: 36px; background: #1A1210; display: flex; flex-wrap: wrap; gap: 28px; align-items: center; }
.dl-main .txt, .dl-alt .txt { flex: 999 1 520px; min-width: 0; }
.dl-main .k { margin: 0 0 10px; color: var(--accent2); font-size: 14px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; }
.dl-main h3 { margin: 0; font-family: var(--serif); font-size: 34px; font-weight: 700; line-height: 1.2; }
.dl-main p.d { margin: 14px 0 0; font-size: 18px; line-height: 1.6; color: #D8CFC2; }
.dl-main .btn { flex: 1 1 240px; min-height: 60px; font-size: 17px; }
.dl-alt { border: 1px solid var(--line3); border-radius: 12px; padding: 28px 36px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; }
.dl-alt .k { margin: 0 0 8px; color: var(--muted2); font-size: 14px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; }
.dl-alt p.d { margin: 0; font-size: 17px; line-height: 1.6; color: var(--text2); }
.dl-alt .btn { flex: 1 1 240px; }
.dl .after { margin: 0; color: var(--muted2); font-size: 14px; }

.faq { max-width: 860px; margin: 0 auto; padding: 96px 32px; }
.faq h2 { margin: 0 0 32px; font-family: var(--serif); font-size: 40px; font-weight: 500; }
.faq h3 { margin: 0 0 6px; font-size: 18px; }
.faq p { margin: 0 0 24px; color: var(--muted); line-height: 1.6; }
.footer { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; color: var(--muted2); font-size: 13px;
  border-top: 1px solid var(--line); padding-top: 32px; padding-bottom: 32px; }

/* кабинет */
.cab-header .who { display: flex; gap: 12px; align-items: center; font-size: 14px; color: var(--muted); }
.avatar { display: inline-flex; width: 32px; height: 32px; border-radius: 50%; background: #2E2723; align-items: center; justify-content: center;
  color: var(--text); font-weight: 600; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: 14px; }
.cab { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; padding-top: 48px; padding-bottom: 80px; max-width: 1100px; }
.cab-main { flex: 999 1 520px; min-width: 0; background: var(--panel2); border: 1px solid #2E2723; border-radius: 12px; padding: 36px; }
.cab-main h1 { margin: 0 0 8px; font-size: 28px; font-weight: 600; }
.cab-main > p, .cab-main section > p { color: var(--muted); line-height: 1.6; }
.cab-side { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.card { background: var(--panel2); border: 1px solid #2E2723; border-radius: 12px; padding: 24px; }
.card h2 { margin: 0 0 12px; font-size: 17px; }
.card p, .card ol { margin: 0; color: var(--muted); line-height: 1.7; font-size: 15px; }
.card ol { padding-left: 20px; }
.form { display: flex; flex-direction: column; gap: 20px; max-width: 440px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 14px; font-weight: 500; }
.field input { min-height: 48px; padding: 0 14px; background: #0E0C0B; color: var(--text); border: 1px solid var(--line4); border-radius: 8px; font: inherit; font-size: 16px; }
.field input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.field .hint { font-size: 13px; color: var(--muted2); }
.msg-err { margin: 0; color: var(--err); font-size: 14px; }
.msg-ok { margin: 0; color: var(--ok); font-size: 14px; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; background: #1F2A1E; color: var(--ok); border-radius: 999px; font-size: 14px; margin-bottom: 16px; }
.badge.bad { background: #2A1B1A; color: var(--err); }
.chars { list-style: none; margin: 0 0 8px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.chars li { display: flex; justify-content: space-between; padding: 10px 14px; background: #0E0C0B; border: 1px solid #2E2723; border-radius: 8px; }
.chars li span { color: var(--muted2); }
.row { display: flex; flex-wrap: wrap; gap: 12px; }
.sep { border: 0; border-top: 1px solid #2E2723; margin: 32px 0; }
.center-box { max-width: 520px; margin: 12vh auto; text-align: center; padding: 0 24px; }
.center-box h1 { font-family: var(--serif); font-weight: 500; }

@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  .hero h1 { font-size: 42px; }
  .hero-body { padding-top: 48px; padding-bottom: 72px; }
  .h2 { font-size: 32px; }
  .giant blockquote { font-size: 26px; }
  .dl-main h3 { font-size: 26px; }
  .dl-main, .dl-alt, .cab-main { padding: 24px; }
}
