:root {
  --brand: #50C878;
  --brand-dark: #3da862;
  --text: #1a1a1a;
  --text-muted: #8a8a8a;
  --bg: #ffffff;
  --surface: #f5f7f5;
  --border: #e6e6e6;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ───────────── Лендинг ───────────── */
.landing {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
}

.landing .logo {
  width: 120px;
  height: 120px;
  border-radius: 28px;
  object-fit: cover;
  box-shadow: 0 8px 30px rgba(80, 200, 120, 0.25);
}

.landing h1 {
  margin-top: 24px;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.landing .tagline {
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 16px;
}

.stores {
  margin-top: 36px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 14px;
  background: #111;
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  position: relative;
  opacity: 0.55;
  cursor: not-allowed;
  transition: transform 0.15s ease;
}

.store-btn .store-icon {
  font-size: 22px;
}

.store-btn .store-sub {
  font-size: 11px;
  opacity: 0.8;
  display: block;
  line-height: 1.1;
}

.store-btn .store-name {
  font-size: 16px;
  font-weight: 600;
  display: block;
  line-height: 1.1;
}

.store-btn .soon {
  position: absolute;
  top: -9px;
  right: -9px;
  background: var(--brand);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

/* ───────────── Footer ───────────── */
.site-footer {
  padding: 24px 20px 32px;
  text-align: center;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-muted);
}

.site-footer .footer-links {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.site-footer a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

.site-footer a:hover {
  color: var(--brand);
}

.site-footer .contacts {
  font-size: 12px;
  opacity: 0.85;
}

.site-footer .copyright {
  margin-top: 10px;
  font-size: 11px;
  opacity: 0.6;
}

/* ───────────── Юридические страницы ───────────── */
.doc {
  max-width: 760px;
  margin: 0 auto;
  padding: 32px 20px 64px;
  flex: 1;
  width: 100%;
}

.doc-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.doc-header img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.doc-header a {
  margin-left: auto;
  font-size: 14px;
  color: var(--brand);
  text-decoration: none;
}

.lang-switch {
  display: flex;
  gap: 8px;
  margin: 20px 0 28px;
}

.lang-switch button {
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text-muted);
  padding: 7px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
}

.lang-switch button.active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.doc h1 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 4px;
}

.doc .updated {
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 24px;
}

.doc h2 {
  font-size: 19px;
  font-weight: 600;
  margin: 28px 0 10px;
}

.doc p,
.doc li {
  font-size: 15px;
  color: #333;
  margin-bottom: 10px;
}

.doc ul {
  padding-left: 22px;
  margin-bottom: 12px;
}

.doc a {
  color: var(--brand-dark);
}

.lang-section {
  display: none;
}

.lang-section.active {
  display: block;
}

@media (max-width: 480px) {
  .landing h1 { font-size: 26px; }
  .landing .logo { width: 96px; height: 96px; }
  .stores { flex-direction: column; width: 100%; max-width: 280px; }
  .store-btn { justify-content: center; }
  .doc h1 { font-size: 22px; }
}
