:root {
  --brand: #2B59C3;
  --brand-dark: #2248A8;
  --brand-deep: #23396F;
  --brand-soft: #C9D5F5;
  --bg: #FFFFFF;
  --bg-alt: #F6F7F9;
  --text: #151821;
  --muted: #555C6B;
  --line: #DDE1E8;
  --card: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --brand: #8FA9EC;
    --brand-soft: #23396F;
    --bg: #11141B;
    --bg-alt: #171B24;
    --text: #ECEEF2;
    --muted: #A7AEBB;
    --line: #2A303C;
    --card: #1B2029;
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 Roboto, system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

a { color: var(--brand); }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

.top { border-bottom: 1px solid var(--line); background: var(--bg); }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; color: var(--text); text-decoration: none; }
.langs { display: flex; gap: 4px; }
.langs a { padding: 6px 10px; border-radius: 8px; color: var(--muted); text-decoration: none; font-size: 14px; }
.langs a:hover { background: var(--bg-alt); color: var(--text); }
.langs a[aria-current] { background: var(--brand-soft); color: var(--text); font-weight: 500; }

.hero { background: linear-gradient(135deg, #2B59C3 0%, #2248A8 60%, #23396F 100%); color: #FFFFFF; }
.hero-row { display: grid; grid-template-columns: 1.4fr 1fr; align-items: center; gap: 40px; padding: 72px 20px; }
.hero h1 { margin: 0 0 16px; font-size: clamp(32px, 5vw, 52px); line-height: 1.1; letter-spacing: -0.5px; }
.hero p { margin: 0 0 28px; font-size: 19px; color: #DCE4F8; max-width: 34em; }
.hero-mark { justify-self: center; width: min(260px, 60vw); height: auto; opacity: .95; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store { display: inline-flex; flex-direction: column; padding: 10px 20px; border: 1px solid rgba(255, 255, 255, .45); border-radius: 12px; color: #FFFFFF; line-height: 1.25; cursor: default; }
.store small { font-size: 12px; color: #C9D5F5; }
.store b { font-size: 18px; font-weight: 600; }

.section { padding: 64px 0; }
.section-alt { background: var(--bg-alt); }
.section h2 { margin: 0 0 32px; font-size: clamp(24px, 3vw, 32px); line-height: 1.2; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 0; padding: 0; list-style: none; }
.features li { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.features h3 { margin: 0 0 8px; font-size: 18px; }
.features p { margin: 0; color: var(--muted); }
.icon { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-bottom: 14px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); }
.icon svg { width: 24px; height: 24px; }

.audience { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.audience div { border-left: 3px solid var(--brand); padding: 4px 0 4px 16px; }
.audience h3 { margin: 0 0 6px; font-size: 18px; }
.audience p { margin: 0; color: var(--muted); }

.cta { text-align: center; }
.cta p { margin: 0 auto; max-width: 36em; color: var(--muted); }

.doc { max-width: 760px; margin: 0 auto; padding: 48px 20px 72px; }
.doc h1 { margin: 0 0 4px; font-size: clamp(28px, 4vw, 38px); line-height: 1.2; }
.doc .updated { margin: 0 0 32px; color: var(--muted); }
.doc h2 { margin: 36px 0 10px; font-size: 21px; }
.doc ul { padding-left: 22px; }
.doc li { margin: 4px 0; }

.foot { border-top: 1px solid var(--line); background: var(--bg-alt); color: var(--muted); font-size: 14px; }
.foot-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding-top: 24px; padding-bottom: 24px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot-links a { color: var(--muted); }
.foot p { margin: 0; }

@media (max-width: 860px) {
  .hero-row { grid-template-columns: 1fr; padding: 48px 20px; }
  .hero-mark { display: none; }
  .features, .audience { grid-template-columns: 1fr; }
  .section { padding: 48px 0; }
}
