:root {
  --bg: #fff6f8;
  --surface: #ffffff;
  --text: #2b2230;
  --muted: #8a7b86;
  --line: #f0dfe5;
  --primary: #e5507a;
  --primary-soft: #fce1e8;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #151017;
    --surface: #211a24;
    --text: #f6ecf2;
    --muted: #ae9daa;
    --line: #372d3b;
    --primary: #f0628a;
    --primary-soft: #4a2433;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }

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

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

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

.wrap { max-width: 760px; margin: 0 auto; padding: 32px 16px 56px; }

header.top { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
header.top img { width: 56px; height: 56px; border-radius: 14px; }
header.top .brand { font-size: 12px; letter-spacing: .14em; font-weight: 700; color: var(--muted); text-transform: uppercase; }
header.top h1 { margin: 0; font-size: 28px; line-height: 1.15; }

.lang { margin-left: auto; font-size: 14px; white-space: nowrap; }
.lang a { text-decoration: none; padding: 6px 10px; border-radius: 10px; }
.lang a[aria-current="page"] { background: var(--primary-soft); font-weight: 700; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 24px; margin-bottom: 16px; }

.hero h2 { margin: 0 0 8px; font-size: 24px; line-height: 1.25; }
.hero p { margin: 0; color: var(--muted); }

.pill { display: inline-block; background: var(--primary-soft); color: var(--primary); font-weight: 700; font-size: 13px; padding: 4px 12px; border-radius: 999px; margin-bottom: 14px; }

ul.features { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
ul.features li { display: flex; gap: 12px; align-items: flex-start; }
ul.features li::before { content: "✓"; color: var(--primary); font-weight: 800; flex: none; }

.links { display: flex; flex-wrap: wrap; gap: 10px; }
.btn { display: inline-block; text-decoration: none; font-weight: 700; padding: 12px 18px; border-radius: 14px; background: var(--primary); color: #fff; }
.btn.ghost { background: transparent; color: var(--primary); border: 1.5px solid var(--primary); }

article h2 { font-size: 20px; margin: 28px 0 8px; }
article h2:first-child { margin-top: 0; }
article p, article li { color: var(--text); }
article ul { padding-left: 22px; }
.meta { color: var(--muted); font-size: 14px; margin: 0 0 20px; }

footer { color: var(--muted); font-size: 14px; text-align: center; margin-top: 28px; }

.hero-art { display: flex; justify-content: center; margin: 4px 0 14px; }
.hero-art img { width: 180px; height: 180px; object-fit: contain; filter: drop-shadow(0 10px 22px rgba(160, 60, 40, .25)); }
.hero { background: linear-gradient(160deg, #fbc9ae, #f4a07f 60%, #e47e62); border: none; color: #4a2016; }
.hero h2 { color: #4a2016; }
.hero p { color: #5c2c20; }
.hero .pill { background: rgba(255, 255, 255, .55); color: #b8324f; }
