:root {
  --background: #f5ede0;
  --paper: rgba(255, 255, 255, 0.82);
  --paper-hero: rgba(255, 255, 255, 0.92);
  --ink: #213630;
  --muted: #596b63;
  --green: #173b38;
  --green-soft: #e3f0ed;
  --accent: #b55e38;
  --accent-soft: #fff0e3;
  --olive: #737f47;
  --olive-soft: #e8ebd1;
  --danger: #9e3d2e;
  --shadow: 0 18px 46px rgba(38, 50, 45, 0.12);
  --line: rgba(33, 54, 48, 0.11);
  --radius-lg: 28px;
  --radius-md: 18px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 78% 8%, rgba(181, 94, 56, 0.08), transparent 28rem),
    linear-gradient(180deg, #f7f0e6 0%, var(--background) 42%, #efe4d5 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(245, 237, 224, 0.78);
  border-bottom: 1px solid rgba(33, 54, 48, 0.08);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  box-shadow: 0 12px 26px rgba(23, 59, 56, 0.14);
}

.brand-wordmark {
  width: 162px;
  height: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 750;
  font-size: 0.93rem;
  padding: 10px 12px;
  border-radius: 999px;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--green);
  background: var(--green-soft);
  outline: none;
}

.page {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.76fr);
  gap: 42px;
  align-items: center;
  padding: 60px 0 72px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 20px;
  max-width: 780px;
  font-size: clamp(3.35rem, 8vw, 7.6rem);
  line-height: 0.93;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 640px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.55;
}

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

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 850;
  box-shadow: 0 13px 28px rgba(33, 54, 48, 0.1);
}

.button.primary {
  color: #fff;
  background: var(--green);
}

.button.secondary {
  color: var(--green);
  background: var(--green-soft);
  box-shadow: none;
}

.store-button {
  min-width: 168px;
  min-height: 58px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  padding: 9px 18px;
  border-radius: 18px;
  color: #fff;
  background: var(--green);
  text-decoration: none;
  box-shadow: 0 18px 36px rgba(23, 59, 56, 0.16);
}

.store-button small {
  color: rgba(255, 255, 255, 0.73);
  font-size: 0.72rem;
  font-weight: 800;
}

.store-button span {
  font-size: 1.04rem;
  font-weight: 900;
}

.store-button.placeholder {
  cursor: not-allowed;
  opacity: 0.78;
}

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

.phone {
  width: min(360px, 100%);
  padding: 14px;
  border-radius: 46px;
  background: #172f2c;
  box-shadow: 0 36px 70px rgba(33, 54, 48, 0.25);
}

.phone-screen {
  overflow: hidden;
  min-height: 690px;
  padding: 22px 18px;
  border-radius: 36px;
  background: var(--background);
}

.app-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.app-logo {
  width: 128px;
  height: auto;
}

.app-title {
  font-weight: 900;
  font-size: 1.38rem;
}

.app-card {
  padding: 18px;
  margin-bottom: 14px;
  border-radius: 22px;
  background: var(--paper-hero);
  box-shadow: 0 12px 24px rgba(33, 54, 48, 0.08);
}

.app-card.coach {
  color: #fff;
  background: linear-gradient(145deg, #214f49, #0a3831 54%, #031c19);
}

.app-card h3 {
  margin-bottom: 8px;
  font-size: 1.12rem;
}

.app-card p {
  margin-bottom: 0;
  color: inherit;
  opacity: 0.78;
  line-height: 1.45;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 850;
}

.coach .chip {
  color: #fff;
  background: rgba(255, 255, 255, 0.13);
}

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

.metric {
  padding: 12px 10px;
  border-radius: 16px;
  background: var(--paper);
}

.metric strong,
.metric span {
  display: block;
}

.metric span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 750;
}

.section {
  padding: 68px 0;
}

.section.compact {
  padding-top: 24px;
}

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

.section-heading h2 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
  letter-spacing: 0;
}

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

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

.feature-card,
.legal-card {
  padding: 22px;
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: 0 14px 32px rgba(33, 54, 48, 0.08);
}

.feature-card.featured {
  color: #fff;
  background: linear-gradient(145deg, #214f49, #0a3831 58%, #031c19);
}

.feature-card h3 {
  margin-bottom: 9px;
  font-size: 1.24rem;
}

.feature-card p {
  color: var(--muted);
  line-height: 1.55;
}

.feature-card.featured p {
  color: rgba(255, 255, 255, 0.74);
}

.legal-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  padding: 54px 0 82px;
}

.legal-sidebar {
  position: sticky;
  top: 104px;
  padding: 18px;
  border-radius: var(--radius-md);
  background: var(--paper);
}

.legal-sidebar a {
  display: block;
  padding: 9px 0;
  color: var(--muted);
  font-weight: 750;
  text-decoration: none;
}

.legal-sidebar a:hover,
.legal-sidebar a:focus-visible {
  color: var(--green);
  outline: none;
}

.legal-card {
  padding: clamp(24px, 4vw, 44px);
}

.legal-card h1 {
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  line-height: 0.98;
}

.legal-card h2 {
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 1.48rem;
}

.legal-card h3 {
  margin-top: 24px;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
  line-height: 1.62;
}

.legal-card strong {
  color: var(--ink);
}

.note {
  padding: 16px 18px;
  border-radius: var(--radius-md);
  color: var(--green);
  background: var(--green-soft);
  font-weight: 760;
}

.warning {
  padding: 16px 18px;
  border-radius: var(--radius-md);
  color: var(--danger);
  background: #f6d9d1;
  font-weight: 760;
}

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

.contact-card {
  padding: 18px;
  border-radius: 20px;
  background: var(--paper-hero);
}

.contact-card a {
  color: var(--green);
  font-weight: 850;
}

.site-footer {
  margin-top: 52px;
  padding: 34px 0;
  border-top: 1px solid rgba(33, 54, 48, 0.1);
}

.footer-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a {
  color: var(--muted);
  font-weight: 750;
  text-decoration: none;
}

@media (max-width: 920px) {
  .nav {
    min-height: 68px;
  }

  .nav-links {
    display: none;
  }

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

  .phone-wrap {
    justify-content: flex-start;
  }

  .feature-grid,
  .contact-grid,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-sidebar {
    position: static;
  }
}

@media (max-width: 560px) {
  .page,
  .nav,
  .footer-inner {
    width: min(100% - 22px, 1120px);
  }

  .brand-wordmark {
    width: 142px;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.6rem);
  }

  .hero-actions,
  .store-actions {
    flex-direction: column;
  }

  .button,
  .store-button {
    width: 100%;
  }

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

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