:root {
  --red: #c4161c;
  --red-ink: #b0141a;
  --bg: #f5f3f0;
  --surface: #ffffff;
  --ink: #15151a;
  --ink2: #4a4a54;
  --ink3: #6e6e78;
  --line: #e2ded8;
  --soft: #f0e8d5;
  --radius: 14px;
  --wrap: 1040px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --red: #da2029;
    --red-ink: #ff7f85;
    --bg: #0e0e12;
    --surface: #18181e;
    --ink: #f2f0ec;
    --ink2: #c4c2cc;
    --ink3: #9a98a4;
    --line: #2c2c34;
    --soft: #2a2418;
  }
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  overflow-wrap: break-word;
}

img { max-width: 100%; height: auto; }

a { color: var(--red-ink); }
a:hover { text-decoration-thickness: 2px; }

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

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--surface); padding: 8px 12px;
}
.skip:focus { left: 8px; top: 8px; }

/* Header */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 8px 20px; padding-top: 12px; padding-bottom: 12px;
}
.brand {
  display: flex; align-items: center; gap: 10px; margin-right: auto;
  color: var(--ink); text-decoration: none; font-weight: 700; font-size: 20px;
}
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.nav a {
  color: var(--ink2); text-decoration: none; font-size: 16px; padding: 4px 0;
  border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--red); }
.lang { display: flex; gap: 2px; font-size: 14px; font-weight: 600; }
.lang a, .lang span {
  padding: 3px 8px; border-radius: 999px; text-decoration: none;
  border: 1px solid var(--line); color: var(--ink2);
}
.lang a:hover { color: var(--ink); border-color: var(--ink3); }
.lang [aria-current] { background: var(--red); border-color: var(--red); color: #fff; }
@media (max-width: 639px) { .nav { order: 1; flex-basis: 100%; } }

/* Hero */
.hero { background: var(--red); color: #fff; }
.hero .wrap {
  display: grid; grid-template-columns: 1fr; gap: 24px;
  padding-top: 40px; padding-bottom: 40px; align-items: center;
}
.hero h1 { font-size: 36px; line-height: 1.15; margin: 0 0 12px; }
.hero p { margin: 0 0 12px; font-size: 18px; color: #fff; }
.hero img { width: 160px; border-radius: 32px; box-shadow: 0 12px 32px rgba(0,0,0,.25); }
.stores { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 0; padding: 0; list-style: none; }
.store {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 8px 16px; border-radius: 12px;
  font: inherit; font-size: 16px; font-weight: 600;
  color: rgba(255,255,255,.82); background: rgba(0,0,0,.14);
  border: 1px solid rgba(255,255,255,.35);
  cursor: default;
}
.store svg { flex: none; opacity: .8; }
@media (min-width: 760px) {
  .hero .wrap { grid-template-columns: 1fr auto; padding-top: 64px; padding-bottom: 64px; }
  .hero h1 { font-size: 46px; }
  .hero img { width: 220px; }
}

/* Content */
main { padding: 32px 0 48px; }
main h1 { font-size: 32px; line-height: 1.2; margin: 0 0 8px; }
main h2 { font-size: 23px; line-height: 1.3; margin: 36px 0 8px; }
.lead { color: var(--ink2); font-size: 18px; margin-top: 0; }
.prose { max-width: 760px; }
.prose ul { padding-left: 22px; }
.prose li { margin: 4px 0; }

dl.facts { display: grid; grid-template-columns: 1fr; gap: 2px 20px; margin: 16px 0; }
dl.facts dt { color: var(--ink3); font-size: 15px; margin-top: 10px; }
dl.facts dd { margin: 0; font-weight: 600; }
@media (min-width: 640px) {
  dl.facts { grid-template-columns: 220px 1fr; }
  dl.facts dt, dl.facts dd { margin-top: 10px; }
}

details {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 12px 18px; margin: 10px 0;
}
summary { cursor: pointer; font-weight: 600; }
details p, details ol, details ul { color: var(--ink2); }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line); background: var(--surface);
  color: var(--ink3); font-size: 15px;
}
.site-footer .wrap { padding-top: 24px; padding-bottom: 28px; }
.site-footer p { margin: 4px 0; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-bottom: 12px; }
.site-footer a { color: var(--ink2); }
