/* MixerApps — one stylesheet for the whole site. Colours are set once here. */
:root {
  --ink: #12162b;
  --muted: #555d7a;
  --bg: #f4f6fd;
  --card: #ffffff;
  --line: #e2e6f4;
  --blue: #1f6ff0;
  --violet: #8a3ff5;
  --brand: linear-gradient(90deg, var(--blue), var(--violet));
  --ok-bg: #e3f6ea;   --ok-ink: #17703f;
  --soon-bg: #e8ecff; --soon-ink: #3446b8;
  --dev-bg: #fff1dc;  --dev-ink: #8a5300;
  --radius: 20px;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--violet); }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(28px, 4.2vw, 44px); font-weight: 800; }
h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; }
h3 { font-size: 21px; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(244, 246, 253, .88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 20px; }
.brand img { width: 36px; height: 36px; }
.brand b { background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav { display: flex; gap: 4px; margin-left: auto; align-items: center; flex-wrap: wrap; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 10px; }
.nav a:hover, .nav a[aria-current="page"] { background: #e6eafb; color: var(--ink); }
.lang { display: flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; margin-left: 6px; }
.lang a, .lang span { padding: 6px 10px; font-size: 14px; font-weight: 700; text-decoration: none; }
.lang span { background: var(--ink); color: #fff; }
.lang a { color: var(--muted); }
@media (max-width: 640px) {
  .site-header .wrap { flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
  .lang { order: 2; margin-left: auto; }
  .nav { order: 3; margin-left: 0; width: 100%; justify-content: space-between; }
  .nav a { padding: 6px 8px; }
}

/* Hero */
.hero { padding: 28px 0 8px; }
.hero picture img { width: 100%; border-radius: 28px; box-shadow: 0 18px 50px rgba(60, 80, 180, .14); }
.hero-text { max-width: 760px; margin: 28px auto 0; text-align: center; }
.hero-text p { color: var(--muted); font-size: 19px; }

/* Sections */
section { padding: 48px 0; }
.section-head { margin-bottom: 24px; }
.section-head p { color: var(--muted); }

/* App cards */
.apps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 960px) { .apps { grid-template-columns: 1fr; } }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; display: flex; flex-direction: column; gap: 14px;
}
.card-top { display: flex; align-items: center; gap: 14px; }
.card-top img { width: 64px; height: 64px; border-radius: 16px; flex: none; }
.card h3 { margin: 0; }
.platform { color: var(--muted); font-size: 14px; margin: 2px 0 0; }
.card p { margin: 0; }
.badge { align-self: flex-start; font-size: 13px; font-weight: 700; padding: 5px 12px; border-radius: 999px; }
.badge.ok { background: var(--ok-bg); color: var(--ok-ink); }
.badge.soon { background: var(--soon-bg); color: var(--soon-ink); }
.badge.dev { background: var(--dev-bg); color: var(--dev-ink); }
.note { font-size: 14px; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.btn {
  display: inline-block; padding: 9px 14px; border-radius: 12px; font-weight: 700; font-size: 15px;
  text-decoration: none; background: var(--ink); color: #fff;
}
.btn:hover { background: #2a3160; color: #fff; }
.links { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 14px; padding-top: 12px; border-top: 1px solid var(--line); }

/* YouTube strip */
.yt { display: flex; align-items: center; gap: 20px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.yt svg { width: 56px; height: 40px; flex: none; }
.yt div { flex: 1; }
.yt p { margin: 0; color: var(--muted); }
@media (max-width: 640px) { .yt { flex-direction: column; align-items: flex-start; } }

/* About */
.about { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: start; }
.about img { width: 220px; border-radius: 50%; }
@media (max-width: 760px) { .about { grid-template-columns: 1fr; } .about img { width: 140px; } }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; margin: 24px 0; padding: 20px 24px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; }
@media (max-width: 480px) { .facts { grid-template-columns: 1fr; gap: 2px; } .facts dd { margin-bottom: 10px; } }
.plain-list { padding-left: 1.2em; }
.plain-list li { margin-bottom: .4em; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0 40px; margin-top: 24px; font-size: 15px; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; }
.site-footer a { color: var(--muted); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }

.narrow { max-width: 760px; }
