:root {
  color-scheme: light;
  --bg: #f7f5ef;
  --surface: #ffffff;
  --ink: #13251d;
  --muted: #637267;
  --green: #3f7c51;
  --green-dark: #133f34;
  --green-soft: #e4eee3;
  --line: #dde4da;
  --gold: #e9aa33;
  --coral: #f06f4d;
  --shadow: 0 24px 80px rgba(19, 63, 52, 0.16);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.site-header,
.site-footer {
  max-width: 1120px;
  margin: 0 auto;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 20px;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 9px;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-weight: 650;
  font-size: 14px;
}

nav a:hover {
  color: var(--green-dark);
}

.hero {
  max-width: 1120px;
  min-height: calc(100vh - 88px);
  margin: 0 auto;
  padding: 70px 24px 56px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  align-items: center;
  gap: 64px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(58px, 10vw, 118px);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.lead {
  max-width: 650px;
  color: #34453b;
  font-size: clamp(20px, 2.2vw, 27px);
  line-height: 1.38;
}

.store-row {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.store-pill {
  border: 1px solid rgba(19, 63, 52, 0.18);
  background: var(--surface);
  color: var(--green-dark);
  border-radius: 999px;
  padding: 13px 18px;
  font-weight: 800;
  box-shadow: 0 10px 30px rgba(19, 63, 52, 0.08);
}

.hero-visual {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
}

.app-logo {
  position: absolute;
  top: 0;
  right: 12px;
  width: 170px;
  height: 170px;
  border-radius: 38px;
  box-shadow: var(--shadow);
}

.mock-phone {
  width: min(100%, 330px);
  min-height: 560px;
  border-radius: 42px;
  padding: 24px;
  background: #fdfbf6;
  border: 1px solid rgba(19, 63, 52, 0.12);
  box-shadow: var(--shadow);
}

.phone-top {
  width: 74px;
  height: 7px;
  border-radius: 999px;
  margin: 4px auto 34px;
  background: #dbe3d8;
}

.progress-ring {
  width: 210px;
  height: 210px;
  margin: 0 auto 28px;
  border-radius: 50%;
  display: grid;
  place-content: center;
  text-align: center;
  background:
    radial-gradient(circle at center, #fdfbf6 0 58%, transparent 59%),
    conic-gradient(var(--green) 0 42%, var(--gold) 42% 70%, var(--coral) 70% 88%, #dbe3d8 88% 100%);
}

.progress-ring span {
  display: block;
  font-size: 34px;
  font-weight: 900;
}

.progress-ring small {
  color: var(--muted);
  font-weight: 750;
}

.macro-list {
  display: grid;
  gap: 10px;
}

.macro-list div,
.feature-grid article,
.contact-panel {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 8px;
}

.macro-list div {
  padding: 14px;
  display: flex;
  justify-content: space-between;
  font-weight: 750;
}

.coach-note {
  margin: 18px 0 0;
  padding: 16px;
  border-radius: 8px;
  background: var(--green-soft);
  color: var(--green-dark);
  font-weight: 700;
  line-height: 1.42;
}

.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 78px 24px;
}

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

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

.feature-grid article {
  padding: 24px;
}

.feature-grid p,
.split p,
.legal p,
.legal li,
.site-footer p {
  color: var(--muted);
  line-height: 1.65;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
  border-top: 1px solid var(--line);
}

.site-footer {
  border-top: 1px solid var(--line);
  align-items: flex-start;
}

.site-footer p {
  margin-bottom: 0;
}

.legal {
  max-width: 880px;
  margin: 0 auto;
  padding: 72px 24px 96px;
}

.legal h1 {
  font-size: clamp(42px, 7vw, 72px);
  line-height: 1;
}

.legal h2 {
  margin-top: 42px;
  font-size: 26px;
}

.legal a {
  color: var(--green);
  font-weight: 800;
}

.contact-panel {
  margin: 30px 0;
  padding: 24px;
}

@media (max-width: 840px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    min-height: auto;
    padding-top: 42px;
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero-visual {
    min-height: 470px;
  }

  .app-logo {
    width: 126px;
    height: 126px;
    border-radius: 30px;
  }

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

@media (max-width: 520px) {
  .store-pill {
    width: 100%;
    text-align: center;
  }

  .mock-phone {
    min-height: 520px;
  }
}
