:root {
  --bg: #f4f5f7;
  --surface: #ffffff;
  --text: #15171c;
  --muted: #5b616e;
  --accent: #ff7a1a;
  --line: #e2e4e9;
  --activity: #21b861;
  --rest: #e8454a;
  --prepare: #f5ad1f;
  --circuit-rest: #4075ed;
  --cooldown: #24a3b3;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111318;
    --surface: #1b1e25;
    --text: #f1f2f5;
    --muted: #a0a6b3;
    --line: #2b2f38;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 ui-rounded, -apple-system, BlinkMacSystemFont, "SF Pro Rounded", "Segoe UI", Roboto, sans-serif;
  -webkit-text-size-adjust: 100%;
}

main, header.site, footer.site {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 20px;
}

header.site {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  padding-bottom: 8px;
}

header.site .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 19px;
}

header.site .brand img { width: 32px; height: 32px; border-radius: 8px; }

nav.lang a {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
  margin-left: 12px;
}

nav.lang a[aria-current] { color: var(--text); font-weight: 600; }

.hero {
  text-align: center;
  padding: 40px 0 24px;
}

.hero img.icon {
  width: 112px;
  height: 112px;
  border-radius: 26px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

h1 { font-size: 40px; line-height: 1.15; margin: 20px 0 8px; letter-spacing: -0.02em; }
h2 { font-size: 24px; margin: 44px 0 12px; }
h3 { font-size: 18px; margin: 24px 0 6px; }

.lead { color: var(--muted); font-size: 20px; margin: 0 auto; max-width: 560px; }

.phases {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin: 28px auto 0;
  max-width: 360px;
}

.phases span { height: 10px; border-radius: 5px; }

.shots {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 24px 4px 8px;
  scroll-snap-type: x mandatory;
}

.shots img {
  width: 220px;
  flex: 0 0 auto;
  border-radius: 28px;
  scroll-snap-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
  background: var(--surface);
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 4px 22px 18px;
  margin-top: 16px;
}

ul.features { padding-left: 20px; margin: 8px 0; }
ul.features li { margin: 4px 0; }

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

.muted { color: var(--muted); }

footer.site {
  margin-top: 56px;
  padding-top: 20px;
  padding-bottom: 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 15px;
}

footer.site a { color: var(--muted); margin-right: 16px; }
