/* Home page of the site domain (index.html, ru/index.html): one screen, light and dark. */
:root {
  color-scheme: light dark;
  --bg: #d9ddce;
  --text: #1d1f17;
  --title: #424b3c;
  --muted: #4f5a46;
  --badge: #1d1f17;
  --badge-text: #d9ddce;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1a1d17;
    --text: #f1f2ea;
    --title: #d4dcc8;
    --muted: #a3aa9c;
    --badge: #f1f2ea;
    --badge-text: #1a1d17;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; height: 100%; }
body {
  margin: 0;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  padding: max(24px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right))
    max(20px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
}
main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 14px;
  padding: 32px 0;
}
h1 { font-size: 3.2rem; line-height: 1; letter-spacing: -0.01em; margin: 0; color: var(--title); }
.lead { font-size: 1.2rem; font-weight: 600; line-height: 1.4; margin: 0; max-width: 30ch; }
.badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 6px; }
.badge {
  display: inline-block;
  padding: 9px 16px;
  border-radius: 12px;
  background: var(--badge);
  color: var(--badge-text);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.15;
  text-align: left;
  opacity: 0.45;
}
.badge small { display: block; font-size: 10px; font-weight: 500; }
footer { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 20px; font-size: 14px; color: var(--muted); }
footer a { color: inherit; }
