:root {
  --bg: #ECEFF2;
  --surface: #FFFFFF;
  --surface-alt: #E1E6EC;
  --ink: #15202E;
  --muted: #566174;
  --line: #CDD5DF;
  --primary: #23395B;
  --on-primary: #FFFFFF;
  --accent: #C8412B;
  --link: #23395B;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0E131A;
    --surface: #161D27;
    --surface-alt: #1F2835;
    --ink: #E9EEF5;
    --muted: #9AA7B8;
    --line: #2A3444;
    --primary: #8FB2E3;
    --on-primary: #0E131A;
    --accent: #F08A70;
    --link: #A9C6EE;
  }
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font: 18px/1.6 "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
.wrap { max-width: 820px; margin: 0 auto; padding: 28px 20px 64px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { width: 40px; height: 40px; border-radius: 10px; }
.brand span { font-weight: 800; font-size: 23px; }
nav.top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
nav.top .links a { color: var(--muted); text-decoration: none; font-weight: 700; margin-inline-start: 16px; font-size: 16px; }
h1, h2, h3 { line-height: 1.15; }
h1 { font-size: clamp(34px, 7vw, 54px); font-weight: 800; margin: 36px 0 16px; letter-spacing: -0.01em; }
h2 { font-size: 26px; font-weight: 800; margin: 38px 0 12px; }
h3 { font-size: 20px; font-weight: 700; margin: 22px 0 6px; }
p + p { margin-top: 12px; }
.lead { font-size: 21px; color: var(--muted); max-width: 36em; }
.muted { color: var(--muted); }
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 8px; }
.store {
  display: inline-flex; align-items: center; gap: 10px; border: 0; cursor: pointer; font: inherit;
  padding: 14px 22px; border-radius: 10px;
  background: var(--primary); color: var(--on-primary); text-decoration: none; font-weight: 700;
}
.store.secondary { background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
.card { background: var(--surface); border-radius: 14px; padding: 22px; border: 1px solid var(--line); margin: 20px 0; }
.calc label { display: block; font-weight: 700; margin: 10px 0; }
.calc input, .calc select, .calc textarea { display: block; width: 100%; margin-top: 6px; padding: 10px 12px; font: inherit; font-weight: 400;
  color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; }
.calc .result { margin-top: 14px; font-size: 19px; }
.features { display: grid; gap: 14px; grid-template-columns: 1fr; margin-top: 26px; }
@media (min-width: 640px) { .features { grid-template-columns: 1fr 1fr; } }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.feature b { display: block; margin-bottom: 4px; font-size: 19px; }
.code { font-weight: 800; font-size: clamp(44px, 12vw, 64px); letter-spacing: 0.12em; margin: 8px 0 4px; }
table { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: 12px; overflow: hidden; border: 1px solid var(--line); margin: 14px 0; }
th, td { text-align: start; padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: 17px; vertical-align: top; }
th { background: var(--surface-alt); font-weight: 700; }
tr:last-child td { border-bottom: 0; }
.cta { background: var(--surface); border: 1px solid var(--line); border-inline-start: 6px solid var(--accent); border-radius: 14px; padding: 22px; margin: 34px 0; }
.cta .t { font-size: 23px; font-weight: 800; margin-bottom: 6px; }
a { color: var(--link); }
footer { margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }
footer a { color: var(--muted); margin-inline-end: 14px; }
ul, ol { padding-inline-start: 1.2em; }
li { margin: 6px 0; }
.hero { display: flex; gap: 18px; align-items: center; margin-top: 30px; }
.hero img { width: 88px; height: 88px; border-radius: 22px; }
@media print {
  body { background: #fff; color: #000; font-size: 13px; }
  .noprint { display: none !important; }
  .wrap { max-width: none; padding: 0; }
  table { border-color: #000; }
  th, td { border-color: #000; color: #000; background: #fff; font-size: 13px; }
}
