:root {
  --bg: #f2f2f7;
  --card: #fff;
  --fg: #111;
  --muted: #6b6b70;
  --accent: #e8452c;
  --line: #e2e2e7;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000;
    --card: #1c1c1e;
    --fg: #f2f2f7;
    --muted: #98989f;
    --accent: #ff6a50;
    --line: #2c2c2e;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 17px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  -webkit-text-size-adjust: 100%;
}
main { max-width: 720px; margin: 0 auto; padding: 24px 16px 64px; }
header { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
header a.home { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; font-weight: 600; font-size: 20px; }
header img { width: 44px; height: 44px; border-radius: 22.37%; }
nav.lang { margin-left: auto; display: flex; gap: 4px; }
nav.lang button {
  font: inherit; font-size: 14px; border: 0; border-radius: 99px; padding: 4px 12px;
  background: transparent; color: var(--muted); cursor: pointer;
}
nav.lang button[aria-pressed="true"] { background: var(--card); color: var(--fg); }
h1 { font-size: 32px; line-height: 1.2; margin: 0 0 8px; }
h2 { font-size: 20px; margin: 32px 0 8px; }
p, ul { margin: 0 0 12px; }
ul { padding-left: 22px; }
a { color: var(--accent); }
.muted { color: var(--muted); }
.card { background: var(--card); border-radius: 18px; padding: 20px; margin: 16px 0; }
.card h2 { margin-top: 0; }
.hero { text-align: center; padding: 32px 0 8px; }
.hero img { width: 128px; height: 128px; border-radius: 22.37%; box-shadow: 0 4px 16px rgba(0, 0, 0, .15); }
.links { display: grid; gap: 12px; margin-top: 24px; }
.links a {
  display: block; background: var(--card); border-radius: 14px; padding: 16px 20px;
  color: var(--fg); text-decoration: none; font-weight: 600;
}
.links a span { display: block; font-weight: 400; color: var(--muted); font-size: 15px; }
.button {
  display: inline-block; background: var(--accent); color: #fff; text-decoration: none;
  font-weight: 600; border-radius: 12px; padding: 10px 18px;
}
footer { margin-top: 48px; font-size: 14px; color: var(--muted); }
/* Both languages are on every page; lang.js hides the other one. Without JS both stay visible. */
html.js [data-lang]:not(.shown) { display: none; }

/* Step colors from StepColors.default. */
:root { --work: #e8452c; --work-b: #9c2bb0; --rest: #1e8e52; --other: #5b6470; }
.lead { font-size: 19px; }
.badge {
  display: inline-block; margin-top: 8px; background: var(--fg); color: var(--bg);
  border-radius: 10px; padding: 8px 14px; font-size: 14px; font-weight: 600;
}
.shots {
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
  margin: 24px -16px; padding: 0 16px 8px; scrollbar-width: thin;
}
.shots figure { flex: 0 0 200px; margin: 0; scroll-snap-align: start; }
.shots img {
  display: block; width: 100%; height: auto; aspect-ratio: 1179 / 2556;
  border-radius: 26px; box-shadow: 0 2px 10px rgba(0, 0, 0, .15);
}
.shots figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; text-align: center; }
@media (min-width: 860px) {
  .shots { overflow: visible; margin: 24px 0; padding: 0; }
  .shots figure { flex: 1 1 0; }
}
.how .level + .level { margin-top: 20px; }
.how h3 { font-size: 17px; margin: 0 0 2px; }
.how p { color: var(--muted); font-size: 15px; margin: 0 0 8px; }
.how .repeat { font-size: 12px; color: var(--muted); margin-bottom: 2px; }
.strip { display: flex; gap: 2px; height: 12px; border-radius: 6px; overflow: hidden; }
.strip i { display: block; min-width: 2px; border-radius: 2px; }
.telegram .button { margin-top: 4px; }
