:root {
  color-scheme: light dark;
  --paper: #f4f2ee;
  --paper-top: #f8f7f4;
  --surface: #fffdfc;
  --surface-strong: #eeece8;
  --ink: #211c19;
  --muted: #6e6661;
  --line: rgba(33, 28, 25, .11);
  --line-soft: rgba(33, 28, 25, .065);
  --accent: #c64a32;
  --accent-deep: #a93824;
  --peach: #f3e4df;
  --coach: #2f6f67;
  --coach-deep: #245850;
  --coach-tint: #e1ece9;
  --graphite: #202024;
  --graphite-deep: #151517;
  --white: #f5f5f7;
  --shadow: 0 18px 55px rgba(20, 17, 15, .1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, var(--paper-top), var(--paper));
  font-family: ui-rounded, "SF Pro Rounded", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.shell { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(248, 247, 244, .88);
  border-bottom: 1px solid var(--line-soft);
  backdrop-filter: blur(18px);
}
.nav { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 850; letter-spacing: -.02em; }
.brand-mark {
  width: 36px; height: 36px; display: grid; place-items: center;
  border-radius: 11px; color: white; background: var(--accent);
  box-shadow: inset 0 -1px 0 rgba(0,0,0,.16); font-size: 18px;
}
.nav-links { display: flex; align-items: center; gap: 24px; color: var(--muted); font-size: 14px; font-weight: 720; }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--ink); }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 20px; border-radius: 13px;
  color: white; background: var(--accent); text-decoration: none; font-weight: 800;
  box-shadow: 0 10px 24px rgba(198, 74, 50, .18);
}
.button.secondary { color: var(--ink); background: var(--surface); border: 1px solid var(--line); box-shadow: none; }
.button.dark { color: var(--white); background: var(--graphite); box-shadow: none; }

.hero { min-height: 720px; display: grid; grid-template-columns: 1.06fr .94fr; align-items: center; gap: 68px; padding: 70px 0 84px; }
.eyebrow, .small-caps { font-size: 12px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 7px 11px; border-radius: 999px; color: var(--coach-deep); background: var(--coach-tint); }
.eyebrow::before { content: "✦"; }
h1, h2, h3 { margin: 0; line-height: 1.06; letter-spacing: -.035em; }
h1 { margin-top: 20px; font-size: clamp(48px, 6.2vw, 76px); max-width: 720px; }
h1 em { color: var(--accent); font-style: normal; }
.hero-copy > p { max-width: 600px; margin: 24px 0 30px; color: var(--muted); font-size: clamp(18px, 2.2vw, 21px); }
.cta-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.fine { margin-top: 13px; color: var(--muted); font-size: 13px; }

.phone-wrap { position: relative; display: grid; place-items: center; }
.phone-glow { position: absolute; width: 430px; height: 430px; border-radius: 50%; background: radial-gradient(circle, rgba(47,111,103,.18), rgba(198,74,50,.07) 46%, transparent 72%); }
.phone {
  position: relative; width: 320px; height: 650px; padding: 10px; border-radius: 48px;
  color: var(--ink); background: var(--graphite-deep); box-shadow: 0 36px 85px rgba(21,21,23,.28);
  transform: rotate(2deg);
}
.phone-screen { height: 100%; overflow: hidden; padding: 24px 18px 18px; border-radius: 39px; background: linear-gradient(180deg, var(--paper-top), var(--surface-strong)); }
.status { display: flex; justify-content: space-between; font-size: 11px; font-weight: 800; }
.phone-title { display: flex; justify-content: space-between; align-items: center; margin: 24px 0 16px; }
.phone-title strong { font-size: 28px; letter-spacing: -.04em; }
.avatar { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--graphite); color: white; font-size: 11px; }
.readiness { padding: 14px; border: 1px solid rgba(47,111,103,.2); border-radius: 16px; background: var(--coach-tint); }
.readiness-head { display: flex; justify-content: space-between; align-items: center; color: var(--coach-deep); font-weight: 850; font-size: 13px; }
.readiness p { margin: 5px 0 0; color: var(--muted); font-size: 11px; line-height: 1.35; }
.workout-card { margin-top: 12px; padding: 16px; border-radius: 18px; color: var(--white); background: var(--graphite); box-shadow: 0 10px 24px rgba(21,21,23,.16); }
.workout-card .label { color: #75bdb2; }
.workout-card h3 { margin: 6px 0 4px; font-size: 21px; }
.workout-card p { margin: 0; color: #c8c8cb; font-size: 11px; }
.exercise { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin-top: 12px; padding: 11px 0 0; border-top: 1px solid rgba(255,255,255,.1); }
.exercise strong { font-size: 12px; }
.exercise span { color: #a1a1aa; font-size: 11px; }
.assessment { margin-top: 12px; padding: 14px; border: 1px solid var(--line-soft); border-radius: 16px; background: var(--surface); }
.assessment-top { display: flex; justify-content: space-between; align-items: end; }
.assessment-top strong { font-size: 13px; }
.assessment-top b { color: var(--accent); font-size: 24px; }
.meter { height: 7px; margin-top: 11px; overflow: hidden; border-radius: 99px; background: var(--surface-strong); }
.meter span { display: block; width: 73%; height: 100%; border-radius: inherit; background: var(--accent); }

.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.trust-item { padding: 22px 28px; text-align: center; color: var(--muted); font-size: 14px; }
.trust-item + .trust-item { border-left: 1px solid var(--line); }
.trust-item strong { display: block; color: var(--ink); font-size: 15px; }

.section { padding: 96px 0; }
.section-head { max-width: 690px; }
.section-head .small-caps { color: var(--accent); }
h2 { margin-top: 9px; font-size: clamp(38px, 5vw, 58px); }
.section-head p { margin: 18px 0 0; color: var(--muted); font-size: 18px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 42px; }
.feature-card { min-height: 250px; padding: 28px; border: 1px solid var(--line-soft); border-radius: 20px; background: var(--surface); box-shadow: 0 10px 35px rgba(20,17,15,.045); }
.feature-card .icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; color: var(--accent); background: var(--peach); font-weight: 900; }
.feature-card.coach .icon { color: var(--coach); background: var(--coach-tint); }
.feature-card h3 { margin-top: 52px; font-size: 24px; }
.feature-card p { margin: 12px 0 0; color: var(--muted); font-size: 15px; }

.coach-panel { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; padding: 58px; border-radius: 28px; color: var(--white); background: var(--graphite); box-shadow: var(--shadow); }
.coach-panel .small-caps { color: #75bdb2; }
.coach-panel h2 { font-size: clamp(36px, 4.5vw, 54px); }
.coach-panel p { color: #c6c6ca; }
.coach-read { display: grid; gap: 12px; }
.read-row { padding: 15px 17px; border: 1px solid rgba(255,255,255,.09); border-radius: 15px; background: rgba(255,255,255,.045); }
.read-row > div { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; font-weight: 750; }
.read-row small { color: #a1a1aa; }
.read-row .meter { background: rgba(255,255,255,.1); }
.read-row.teal .meter span { width: 58%; background: #56a89b; }
.read-row.red .meter span { width: 81%; background: #d75b43; }

.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 42px; }
.price-card { padding: 28px; border: 1px solid var(--line-soft); border-radius: 20px; background: var(--surface); }
.price-card.featured { color: var(--white); background: var(--graphite); border-color: transparent; }
.price-card .small-caps { color: var(--accent); }
.price-card.featured .small-caps { color: #75bdb2; }
.price-card h3 { margin-top: 20px; font-size: 34px; }
.price-card h3 small { color: var(--muted); font-size: 14px; letter-spacing: 0; }
.price-card.featured h3 small, .price-card.featured p { color: #b8b8be; }
.price-card p { min-height: 68px; color: var(--muted); font-size: 14px; }
.price-card .offer { margin-top: 16px; padding-top: 16px; border-top: 1px solid currentColor; border-color: rgba(128,128,128,.25); font-size: 12px; font-weight: 750; }

.site-footer { padding: 38px 0; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: start; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 18px; color: var(--muted); font-size: 14px; font-weight: 700; }
.footer-links a { text-decoration: none; }
.legal-note { max-width: 670px; margin-top: 16px; color: var(--muted); font-size: 12px; }

.legal-page { min-height: 100vh; }
.legal-wrap { width: min(780px, calc(100% - 40px)); margin: 0 auto; padding: 80px 0 110px; }
.legal-wrap h1 { font-size: clamp(42px, 7vw, 64px); }
.legal-wrap .meta { margin: 12px 0 40px; color: var(--muted); }
.legal-summary { padding: 22px; border-left: 4px solid var(--coach); border-radius: 0 16px 16px 0; background: var(--coach-tint); }
.legal-wrap h2 { margin: 44px 0 12px; font-size: 27px; }
.legal-wrap h3 { margin: 26px 0 8px; font-size: 19px; }
.legal-wrap p, .legal-wrap li { color: #4f4844; }
.legal-wrap li + li { margin-top: 8px; }
.legal-wrap a { color: var(--accent-deep); font-weight: 700; }
.legal-wrap table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 14px; }
.legal-wrap th, .legal-wrap td { padding: 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.legal-wrap th { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }

@media (max-width: 860px) {
  .nav-links a:not(.button) { display: none; }
  .hero { grid-template-columns: 1fr; gap: 55px; padding-top: 54px; text-align: center; }
  .hero-copy > p { margin-left: auto; margin-right: auto; }
  .cta-row { justify-content: center; }
  .phone { width: 296px; height: 600px; }
  .feature-grid, .pricing { grid-template-columns: 1fr; }
  .feature-card { min-height: 215px; }
  .feature-card h3 { margin-top: 34px; }
  .coach-panel { grid-template-columns: 1fr; padding: 36px 26px; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item + .trust-item { border-left: 0; border-top: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
}

@media (max-width: 480px) {
  .shell { width: min(100% - 28px, 1120px); }
  .nav { min-height: 64px; }
  .nav-links .button { min-height: 40px; padding: 0 14px; font-size: 13px; }
  .hero { min-height: auto; padding: 46px 0 64px; }
  h1 { font-size: 44px; }
  .phone-glow { width: 320px; height: 320px; }
  .section { padding: 72px 0; }
  .coach-panel { border-radius: 22px; }
  .legal-wrap { width: min(100% - 30px, 780px); padding-top: 56px; }
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #151517; --paper-top: #151517; --surface: #202024; --surface-strong: #2a2a2e;
    --ink: #f5f5f7; --muted: #a1a1aa; --line: rgba(245,245,247,.14); --line-soft: rgba(245,245,247,.08);
    --accent: #d75b43; --accent-deep: #d75b43; --peach: #38231f; --coach: #56a89b; --coach-deep: #75bdb2; --coach-tint: #203632;
  }
  .site-header { background: rgba(21,21,23,.88); }
  .legal-wrap p, .legal-wrap li { color: #c8c8cd; }
  .phone-screen { color: #211c19; background: linear-gradient(180deg, #f8f7f4, #eeece8); }
  .phone-screen .assessment { background: #fffdfc; }
  .phone-screen .assessment .meter { background: #eeece8; }
}
