:root {
  color-scheme: light;
  --bg: #f7f7fb;
  --panel: #ffffff;
  --text: #17151f;
  --muted: #686473;
  --line: #e8e4ee;
  --brand: #c832e2;
  --brand-dark: #8b20b6;
  --accent: #27b894;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.62;
}

a {
  color: var(--brand-dark);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.88);
}

.nav {
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 750;
  letter-spacing: 0;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: white;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  font-weight: 800;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 15px;
}

.hero {
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
  padding: 68px 0 44px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand-dark);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 18px;
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin: 0 0 16px;
  font-size: 28px;
  line-height: 1.18;
  letter-spacing: 0;
}

h3 {
  margin: 26px 0 8px;
  font-size: 19px;
  letter-spacing: 0;
}

p {
  margin: 0 0 16px;
}

.lead {
  max-width: 650px;
  color: var(--muted);
  font-size: 19px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--text);
  font-weight: 700;
}

.button.primary {
  border-color: transparent;
  background: var(--text);
  color: #ffffff;
}

.phone-preview {
  width: min(330px, 100%);
  justify-self: center;
  border-radius: 34px;
  padding: 16px;
  background: #17151f;
  box-shadow: 0 28px 70px rgba(35, 24, 45, 0.22);
}

.phone-screen {
  min-height: 520px;
  border-radius: 24px;
  padding: 24px;
  background: linear-gradient(180deg, #fff1f9, #f7f7fb);
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 22px 0;
}

.stat {
  padding: 12px 10px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid var(--line);
}

.stat strong {
  display: block;
  font-size: 19px;
}

.stat span {
  color: var(--muted);
  font-size: 12px;
}

.workout-card {
  overflow: hidden;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid var(--line);
}

.workout-art {
  height: 160px;
  background:
    radial-gradient(circle at 74% 30%, rgba(255, 127, 104, 0.72), transparent 38%),
    radial-gradient(circle at 18% 78%, rgba(53, 210, 164, 0.68), transparent 44%),
    linear-gradient(135deg, #fff4fb, #f3d6ff);
}

.workout-card div:last-child {
  padding: 16px;
}

.workout-card strong {
  display: block;
  margin-bottom: 4px;
}

.workout-card span {
  color: var(--brand-dark);
  font-weight: 700;
}

.section {
  border-top: 1px solid var(--line);
  background: #ffffff;
}

.section-inner {
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature {
  min-height: 160px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

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

.content {
  width: min(840px, calc(100% - 32px));
  margin: 0 auto;
  padding: 50px 0 72px;
}

.content .meta {
  color: var(--muted);
  margin-bottom: 30px;
}

.notice {
  padding: 16px 18px;
  border-radius: 8px;
  border: 1px solid #d7efe8;
  background: #f0fbf8;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #ffffff;
}

.footer-inner {
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
  padding: 26px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 14px;
}

@media (max-width: 820px) {
  .nav {
    min-height: auto;
    padding: 18px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 42px;
  }

  .phone-preview {
    justify-self: start;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }
}
