/* Белые Рыси: снежная тема, акценты — красный и голубой от 3D-очков. Тёмная — по настройке системы. */
:root {
  --bg: #f6f9fc;
  --bg-2: #eef3f8;
  --card: #ffffff;
  --line: #dde5ee;
  --text: #182131;
  --muted: #5b6678;
  --accent: #0891b2;
  --accent-ink: #ffffff;
  --red: #ef4444;
  --cyan: #22d3ee;
  --radius: 18px;
  --max: 1080px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f141c;
    --bg-2: #151c26;
    --card: #19212d;
    --line: #273243;
    --text: #e8eef6;
    --muted: #9aa7b8;
    --accent: #22d3ee;
    --accent-ink: #062a31;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--accent); }
a:hover { color: var(--red); }
img { max-width: 100%; height: auto; }
code { background: var(--bg-2); border-radius: 6px; padding: 1px 6px; font-size: 0.92em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* шапка */
.top {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; gap: 16px; min-height: 60px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; }
.brand img { width: 36px; height: 36px; }
.nav { display: flex; gap: 18px; margin-left: auto; flex-wrap: wrap; }
.nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.lang { border: 1px solid var(--line); border-radius: 999px; padding: 2px 12px; }

/* герой */
.hero { padding: 64px 0 40px; text-align: center; }
.hero .lynx { width: 190px; height: 190px; filter: drop-shadow(0 14px 30px rgba(8, 145, 178, 0.22)); }
.hero h1 { font-size: clamp(36px, 6vw, 56px); line-height: 1.1; margin: 12px 0 8px; }
.hero h1 .r { color: var(--red); }
.hero h1 .c { color: var(--accent); }
.hero p.lead { font-size: clamp(18px, 2.4vw, 22px); color: var(--muted); max-width: 660px; margin: 0 auto 24px; }

.buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px; border-radius: 999px; font-weight: 600; text-decoration: none;
  border: 1px solid var(--line); color: var(--text); background: var(--card);
}
.btn:hover { border-color: var(--accent); color: var(--text); }
.btn.primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn.primary:hover { filter: brightness(1.08); color: var(--accent-ink); }
.btn.soon { cursor: default; opacity: 0.75; }

section { padding: 48px 0; }
section + section { border-top: 1px solid var(--line); }
h2 { font-size: 30px; margin: 0 0 20px; }
h3 { font-size: 21px; margin: 0 0 8px; }

/* карточки */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card p { color: var(--muted); margin: 0 0 12px; }
.tag { display: inline-block; font-size: 13px; color: var(--accent); border: 1px solid var(--line); border-radius: 999px; padding: 1px 10px; margin-bottom: 10px; }

.app { display: grid; gap: 24px; grid-template-columns: 160px 1fr; align-items: center; }
.app img { width: 160px; height: 160px; }

.member { display: flex; gap: 18px; align-items: flex-start; }
.member img { width: 120px; height: 120px; flex: none; }
.member .role { color: var(--red); font-weight: 600; margin-bottom: 6px; }

.facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.facts li { background: var(--bg-2); border: 1px dashed var(--line); border-radius: var(--radius); padding: 16px 18px; color: var(--muted); }
.facts li::before { content: "🐾 "; }

/* страница приложения */
.features { padding-left: 20px; }
.features li { margin-bottom: 8px; }
.features li strong { color: var(--text); }
.editions { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.note { color: var(--muted); font-size: 15px; }
ol.steps li { margin-bottom: 6px; }

.prose { max-width: 760px; }
.prose h2 { margin-top: 32px; font-size: 24px; }
.prose p, .prose li { color: var(--text); opacity: 0.9; }

footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 15px; }
footer .wrap { display: flex; gap: 12px 24px; flex-wrap: wrap; justify-content: space-between; }

@media (max-width: 760px) {
  .app { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .app .buttons { justify-content: center !important; }
  .member img { width: 88px; height: 88px; }
  .nav { margin-left: 0; width: 100%; padding-bottom: 8px; }
  .hero { padding-top: 40px; }
}
