:root {
  --bg: #0b0c10;
  --card: #111318;
  --text: #e5e7eb;
  --muted: #9aa0a6;
  --accent: #7c3aed;
  --accent-strong: #6d28d9;
  --border: #1f2430;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; height: 100%; }
body {
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji";
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
}

.container { width: 100%; max-width: 820px; margin: 0 auto; padding: 0 16px; }

.site-header { border-bottom: 1px solid var(--border); position: sticky; top: 0; background: rgba(11,12,16,0.8); backdrop-filter: blur(6px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.logo { color: var(--text); text-decoration: none; font-weight: 700; }
.nav a { color: var(--muted); margin-left: 12px; text-decoration: none; }
.nav a:hover { color: var(--text); }

main { flex: 1; padding: 24px 0; }
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

h1, h2, h3 { line-height: 1.2; }
h1 { font-size: 28px; margin: 0 0 12px; }
p.lead { color: var(--muted); margin-top: 0; }

form { display: grid; gap: 12px; }
label { font-weight: 600; }
input[type="tel"] { 
  background: #0d0f14; border: 1px solid var(--border); color: var(--text);
  padding: 10px 12px; border-radius: 10px; outline: none; width: 100%;
}
input[type="tel"].input-error {
  border-color: #ef4444;
}
small.error-text {
  color: #ef9a9a;
}
button {
  background: var(--accent); color: white; border: none; padding: 10px 14px; border-radius: 10px; cursor: pointer; font-weight: 600;
}
button:hover { background: var(--accent-strong); }

.notice {
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid var(--accent);
  color: var(--text);
  padding: 10px 12px;
  border-radius: 10px;
}

.prose { color: var(--text); }
.prose h1, .prose h2, .prose h3 { margin-top: 1.2em; }
.prose p { margin: 0.6em 0; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose a { color: #a78bfa; }

.site-footer { border-top: 1px solid var(--border); padding: 20px 0; color: var(--muted); }

.home-actions { margin: 16px 0 0; }
.btn-telegram {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #0088cc;
  color: #fff;
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-telegram:hover {
  background: #006699;
  color: #fff;
}
.btn-telegram-icon {
  display: inline-flex;
  line-height: 0;
}
.btn-telegram-icon svg {
  width: 22px;
  height: 22px;
}


