:root {
  color-scheme: light dark;
  --ink: #101512;
  --muted: #5b655f;
  --line: #dfe6e1;
  --surface: #ffffff;
  --surface-soft: #f5f8f6;
  --panel: #ffffff;
  --panel-muted: #f8faf8;
  --nav-bg: rgba(255, 255, 255, 0.86);
  --brand: #16a064;
  --brand-strong: #0b7a49;
  --brand-soft: #e9f8f1;
  --brand-line: #bfead4;
  --inverse: #111713;
  --inverse-text: #ffffff;
  --shadow: 0 24px 70px rgba(18, 31, 24, 0.13);
  --hero-bg:
    radial-gradient(circle at 82% 14%, rgba(22, 160, 100, 0.14), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f5f8f6 100%);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f4fbf6;
    --muted: #a8b7ad;
    --line: #25352b;
    --surface: #0b100d;
    --surface-soft: #101813;
    --panel: #121a15;
    --panel-muted: #0f1712;
    --nav-bg: rgba(11, 16, 13, 0.82);
    --brand: #32d583;
    --brand-strong: #7ee7ad;
    --brand-soft: rgba(50, 213, 131, 0.13);
    --brand-line: rgba(50, 213, 131, 0.32);
    --inverse: #121a15;
    --inverse-text: #f4fbf6;
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
    --hero-bg:
      radial-gradient(circle at 82% 14%, rgba(50, 213, 131, 0.16), transparent 32%),
      linear-gradient(180deg, #0b100d 0%, #101813 100%);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
}

a {
  color: inherit;
}

.site-shell {
  min-height: 100vh;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: var(--nav-bg);
  backdrop-filter: blur(18px);
}

.nav-inner,
.section,
.footer-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-size: 1.08rem;
  font-weight: 850;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--brand-line);
  border-radius: 9px;
  background: var(--brand-soft);
  color: var(--brand);
}

.brand-mark svg {
  width: 25px;
  height: 25px;
  fill: currentColor;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 650;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--ink);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--brand);
  color: #ffffff;
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(22, 160, 100, 0.22);
}

.button:hover {
  background: var(--brand-strong);
}

.button.secondary {
  background: var(--panel);
  color: var(--ink);
  border-color: var(--line);
  box-shadow: none;
}

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--hero-bg);
}

.hero .section {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.78fr);
  align-items: center;
  gap: 64px;
  min-height: calc(100vh - 72px);
  padding: 72px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  padding: 7px 10px;
  border: 1px solid var(--brand-line);
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-strong);
  font-size: 0.86rem;
  font-weight: 850;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--brand);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 20px;
  font-size: clamp(3.4rem, 7vw, 6.6rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 650px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 1.2rem;
  line-height: 1.7;
}

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

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 750;
}

.store-pill {
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--panel) 82%, transparent);
}

.phone-stage {
  display: flex;
  justify-content: center;
}

.phone {
  width: min(360px, 100%);
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 36px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.phone-screen {
  overflow: hidden;
  min-height: 690px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--panel-muted);
}

.app-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 20px 14px;
}

.app-title {
  font-size: 1.35rem;
  font-weight: 850;
}

.status-badge {
  border-radius: 999px;
  padding: 6px 10px;
  background: var(--brand-soft);
  color: var(--brand-strong);
  font-size: 0.78rem;
  font-weight: 850;
}

.workout-card {
  margin: 8px 16px 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.workout-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.08rem;
}

.workout-card span {
  color: var(--muted);
  font-size: 0.9rem;
}

.set-row,
.goal-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  margin: 10px 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.metric {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.value {
  margin-top: 3px;
  font-size: 1rem;
  font-weight: 850;
}

.checked {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 900;
}

.progress-panel {
  margin: 18px 16px 0;
  padding: 16px;
  border-radius: 8px;
  background: var(--inverse);
  color: var(--inverse-text);
}

.line-chart {
  margin-top: 18px;
}

.line-chart svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.line-chart .grid-line {
  fill: none;
  stroke: color-mix(in srgb, var(--inverse-text) 15%, transparent);
  stroke-width: 1;
}

.line-chart .trend-fill {
  fill: color-mix(in srgb, var(--brand) 24%, transparent);
}

.line-chart .trend-line {
  fill: none;
  stroke: var(--brand);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4;
}

.line-chart circle {
  fill: var(--inverse);
  stroke: var(--brand);
  stroke-width: 4;
}

.section {
  padding: 92px 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 40px;
}

.section-heading h2,
.policy-main h1 {
  margin-bottom: 14px;
  font-size: clamp(2.1rem, 4vw, 3.6rem);
  line-height: 1;
}

.section-heading p,
.policy-main p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

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

.feature-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.feature-card h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.feature-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

.split {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: 46px;
  align-items: start;
}

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

.stat-item {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
  font-weight: 800;
}

.goal-panel {
  padding: 28px;
  border: 1px solid var(--brand-line);
  border-radius: 8px;
  background: var(--brand-soft);
  color: var(--ink);
}

.goal-panel p {
  color: var(--muted);
  line-height: 1.7;
}

@media (prefers-color-scheme: dark) {
  .goal-panel {
    background: var(--panel);
  }
}

.launch-band {
  background: var(--surface-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.launch-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
}

.launch-box h2 {
  margin-bottom: 10px;
  font-size: clamp(2rem, 3.5vw, 3rem);
}

.launch-box p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.7;
}

.footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-inner a {
  font-weight: 750;
  text-decoration: none;
}

.footer-inner a:hover {
  color: var(--ink);
}

.policy-main {
  min-height: calc(100vh - 72px - 77px);
  padding: 72px 0;
  background: var(--hero-bg);
}

.policy-card {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  padding: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--panel) 90%, transparent);
  box-shadow: var(--shadow);
}

.policy-card .eyebrow {
  margin-bottom: 22px;
}

.policy-document {
  width: min(860px, calc(100% - 40px));
}

.policy-document h2 {
  margin: 34px 0 10px;
  font-size: 1.18rem;
  line-height: 1.25;
}

.policy-document p {
  margin-bottom: 16px;
}

.policy-document a {
  color: var(--brand-strong);
  font-weight: 750;
}

.policy-meta {
  margin: 0 0 28px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
}

.policy-meta p {
  margin: 0 0 8px;
}

.policy-meta p:last-child {
  margin-bottom: 0;
}

.contact-block {
  display: grid;
  gap: 6px;
  margin-top: 8px;
  padding: 18px;
  border: 1px solid var(--brand-line);
  border-radius: 8px;
  background: var(--brand-soft);
}

@media (max-width: 900px) {
  .hero .section,
  .split,
  .launch-box {
    grid-template-columns: 1fr;
  }

  .hero .section {
    gap: 42px;
    padding-top: 54px;
  }

  .phone {
    width: min(340px, 100%);
  }

  .phone-screen {
    min-height: 620px;
  }

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

  .launch-box {
    align-items: start;
  }
}

@media (max-width: 640px) {
  .nav-inner,
  .section,
  .footer-inner {
    width: min(100% - 28px, 1120px);
  }

  .nav-inner {
    min-height: 66px;
  }

  .nav-links {
    gap: 12px;
    font-size: 0.86rem;
  }

  .nav-links a[href="#features"],
  .nav-links a[href="#stats"] {
    display: none;
  }

  h1 {
    font-size: clamp(3rem, 17vw, 4.7rem);
  }

  .hero-copy {
    font-size: 1.04rem;
  }

  .section {
    padding: 68px 0;
  }

  .stat-list {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .policy-card {
    padding: 30px 22px;
  }
}
