/* Public feature pages (/mozhlyvosti/…) — plain HTML so search engines and AI assistants read them
   without running the app. Brand colours match the app's theme. */
:root {
  --bg: #f9fafb;
  --surface: #ffffff;
  --text: #1f2937;
  --text-2: #4b5563;
  --text-3: #9ca3af;
  --border: #e5e7eb;
  --brand: #a91516;
  --brand-soft: rgba(169, 21, 22, 0.08);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #131110;
    --surface: #1d1a19;
    --text: #f5f1ed;
    --text-2: #c8c2bc;
    --text-3: #8a847e;
    --border: #2f2a28;
    --brand: #e0484a;
    --brand-soft: rgba(224, 72, 74, 0.12);
  }
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
a { color: var(--brand); }
.wrap { max-width: 880px; margin: 0 auto; padding: 0 16px; }
.top { border-bottom: 1px solid var(--border); background: var(--surface); }
.top__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; padding-bottom: 10px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: var(--text); text-decoration: none; }
.brand__mark { width: 28px; height: 28px; border-radius: 8px; background: var(--brand); position: relative; }
.brand__mark::before, .brand__mark::after { content: ''; position: absolute; background: #fff; border-radius: 1px; }
.brand__mark::before { left: 12px; top: 5px; width: 4px; height: 18px; }
.brand__mark::after { left: 6px; top: 10px; width: 16px; height: 4px; }
.tabs { display: flex; gap: 4px; overflow-x: auto; padding-bottom: 8px; }
.tabs a { flex-shrink: 0; padding: 6px 12px; border-radius: 999px; color: var(--text-2); text-decoration: none; font-size: 14px; }
.tabs a:hover { background: var(--brand-soft); }
.tabs a.current { background: var(--brand-soft); color: var(--brand); font-weight: 600; }
main { padding-top: 24px; padding-bottom: 32px; }
.crumbs { font-size: 13px; color: var(--text-3); margin-bottom: 12px; }
.crumbs a { color: var(--text-3); }
h1 { font-size: clamp(28px, 5vw, 40px); line-height: 1.2; margin-bottom: 12px; }
.lead { font-size: 18px; color: var(--text-2); max-width: 680px; }
.cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0; }
.btn { display: inline-block; padding: 10px 18px; border-radius: 10px; background: var(--brand); color: #fff; font-weight: 600; text-decoration: none; }
.btn--small { padding: 6px 12px; font-size: 14px; }
.btn--ghost { background: transparent; color: var(--brand); border: 1px solid var(--brand); }
section { margin-top: 32px; }
h2 { font-size: 22px; margin-bottom: 12px; }
ul { padding-left: 22px; color: var(--text-2); }
li { margin-bottom: 8px; }
ul.links { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
ul.links a { display: inline-block; padding: 6px 12px; border: 1px solid var(--border); border-radius: 999px; text-decoration: none; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.card { display: block; padding: 18px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); color: var(--text); text-decoration: none; }
.card:hover { border-color: var(--brand); }
.card h3 { font-size: 17px; margin-bottom: 6px; }
.card p { color: var(--text-2); font-size: 15px; margin-bottom: 10px; }
.card .more { color: var(--brand); font-weight: 600; font-size: 14px; }
details { border: 1px solid var(--border); border-radius: 12px; background: var(--surface); padding: 12px 16px; margin-bottom: 8px; }
summary { cursor: pointer; font-weight: 600; }
details p { color: var(--text-2); margin-top: 8px; }
.apps { margin-top: 40px; padding: 20px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); }
.apps p { color: var(--text-2); }
.foot { display: flex; flex-wrap: wrap; gap: 8px 16px; padding-top: 20px; padding-bottom: 32px; border-top: 1px solid var(--border); font-size: 14px; color: var(--text-3); }
.foot a { color: var(--text-2); text-decoration: none; }
