:root {
  color-scheme: light dark;
  --bg: #f7f8fb;
  --surface: #ffffff;
  --text: #15161a;
  --muted: #5d6470;
  --line: #dfe4ea;
  --accent: #f04438;
  --accent-2: #17b26a;
  --accent-3: #2e90fa;
  --shadow: 0 20px 60px rgba(16, 24, 40, 0.10);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 18%, rgba(240, 68, 56, 0.14), transparent 28rem),
    radial-gradient(circle at 82% 6%, rgba(46, 144, 250, 0.15), transparent 24rem),
    var(--bg);
  line-height: 1.7;
}

a {
  color: inherit;
}

.site-header,
.site-footer,
.section,
.hero {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0 18px;
}

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

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background:
    conic-gradient(from 0deg, var(--accent), var(--accent-2), var(--accent-3), var(--accent));
  box-shadow: 0 10px 28px rgba(46, 144, 250, 0.22);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--muted);
  font-size: 15px;
}

.nav a {
  text-decoration: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 38px;
  align-items: center;
  padding: 76px 0 58px;
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(46px, 8vw, 88px);
  line-height: 0.96;
  letter-spacing: 0;
}

.lead {
  margin: 0;
  max-width: 700px;
  color: var(--muted);
  font-size: 21px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.tag {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-size: 14px;
}

.phone-card {
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
}

.rings {
  display: grid;
  gap: 16px;
  margin: 8px 0 24px;
}

.ring-line {
  height: 16px;
  border-radius: 999px;
  background: #edf1f5;
  overflow: hidden;
}

.ring-line span {
  display: block;
  height: 100%;
  border-radius: inherit;
}

.move { width: 86%; background: var(--accent); }
.exercise { width: 72%; background: var(--accent-2); }
.stand { width: 91%; background: var(--accent-3); }

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.metric {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  background: var(--surface);
}

.metric strong {
  display: block;
  font-size: 24px;
}

.metric span {
  color: var(--muted);
  font-size: 13px;
}

.section {
  padding: 38px 0;
}

.section h2 {
  margin: 0 0 16px;
  font-size: 30px;
}

.panel {
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 36px rgba(16, 24, 40, 0.06);
}

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

.page {
  padding: 46px 0 70px;
}

.page h1 {
  margin: 0 0 18px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
}

.content {
  width: min(820px, calc(100% - 40px));
  margin: 0 auto;
}

.content h2 {
  margin-top: 34px;
}

.content p,
.content li {
  color: var(--muted);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 40px 0;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    gap: 16px;
    flex-direction: column;
  }

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

  .grid,
  .metric-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #090a0d;
    --surface: #151820;
    --text: #f6f7f9;
    --muted: #a3acba;
    --line: #2b313b;
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.38);
  }

  .tag,
  .panel,
  .phone-card {
    background: rgba(21, 24, 32, 0.78);
  }
}
