:root {
  color-scheme: light;
  --paper: #fafaf8;
  --ink: #20211f;
  --muted: #646660;
  --line: #ddded8;
  --soft: #eff0eb;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
a { color: inherit; text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--ink); outline-offset: 5px; }
button { font: inherit; }
.container { width: min(100% - 96px, 1120px); margin-inline: auto; }
.site-header { padding-block: 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.wordmark { display: inline-flex; align-items: center; gap: 12px; font-size: 22px; letter-spacing: -1px; font-weight: 750; text-decoration: none; }
.brand-avatar { display: block; width: 48px; height: 48px; flex: 0 0 auto; border-radius: 50%; object-fit: cover; }
.header-wordmark { display: block; width: 114px; height: auto; }
.header-link { font-size: 14px; text-decoration: none; }
.header-link:hover { text-decoration: underline; }
.skip-link { position: absolute; top: 8px; left: 16px; padding: 12px 16px; background: var(--ink); color: var(--paper); transform: translateY(-200%); z-index: 1; }
.skip-link:focus { transform: translateY(0); }
main { flex: 1; }
.home { display: flex; align-items: center; padding-block: 80px 112px; }
.home-content { max-width: 780px; }
.eyebrow { font-size: 12px; font-weight: 650; letter-spacing: 1.5px; margin: 0 0 24px; color: var(--muted); }
h1, h2, p { margin-top: 0; }
h1 { font-size: clamp(40px, 5vw, 64px); line-height: 1.07; letter-spacing: -2.5px; font-weight: 650; margin-bottom: 24px; }
.home h1 { font-size: clamp(58px, 8.1vw, 100px); line-height: 1; letter-spacing: -5.5px; margin-bottom: 32px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.hero-wordmark { display: block; width: 480px; max-width: 100%; height: auto; }
.home-copy { max-width: 650px; }
.home-tagline { font-size: 24px; line-height: 1.4; font-weight: 650; margin-bottom: 20px; }
.home-copy .lead { max-width: none; margin-bottom: 22px; }
.home-copy .home-start { margin-bottom: 32px; }
.lead { font-size: 21px; line-height: 1.6; max-width: 540px; color: var(--muted); margin-bottom: 38px; }
.store-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.store-button { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; min-width: 190px; min-height: 67px; padding: 12px 24px; border: 1px solid #4e504a; border-radius: 8px; background: #4e504a; color: #fff; text-align: left; line-height: 1.2; cursor: not-allowed; }
.store-button span { font-size: 11px; margin-bottom: 3px; }
.store-button strong { font-size: 21px; font-weight: 550; letter-spacing: -.4px; }
.store-button-available { background: var(--ink); border-color: var(--ink); cursor: pointer; text-decoration: none; }
.store-button-available:hover { background: #343630; border-color: #343630; text-decoration: none; }
.availability { margin: 16px 0 0; font-size: 13px; line-height: 1.5; color: var(--muted); }
.site-footer { border-top: 1px solid var(--line); display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding-block: 25px 32px; font-size: 12px; color: var(--muted); }
.site-footer p { margin: 0; white-space: nowrap; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover, .footer-links a[aria-current="page"] { text-decoration: underline; }
.document { padding-block: 74px 110px; }
.reading-width { max-width: 660px; }
.document h1 { margin-bottom: 20px; }
.document p { font-size: 17px; line-height: 1.8; }
.document .intro { font-size: 20px; color: var(--muted); margin-bottom: 40px; }
.document h2 { margin-top: 40px; margin-bottom: 12px; font-size: 21px; font-weight: 600; letter-spacing: -.4px; }
.document .status { font-size: 13px; color: var(--muted); margin-bottom: 38px; }
.document .contact { display: inline-block; font-size: clamp(18px, 3vw, 25px); letter-spacing: -.6px; margin: 8px 0 24px; overflow-wrap: anywhere; }
.document .quiet { color: var(--muted); }
.company-information h1 { font-size: 32px; line-height: 1.2; letter-spacing: -.8px; font-weight: 600; }
.company-information .feature-list { margin: 24px 0 32px; padding-left: 22px; font-size: 17px; line-height: 1.8; }
.company-information .feature-list li + li { margin-top: 6px; }
.text-rule { width: 48px; height: 1px; background: var(--ink); margin-block: 36px; }
.coach-page { padding-block: 46px 76px; max-width: 760px; }
.preview-label { font-size: 12px; color: var(--muted); margin-bottom: 32px; }
.coach-identity { display: flex; align-items: center; gap: 24px; margin-bottom: 40px; }
.coach-portrait { width: 104px; height: 104px; flex: 0 0 auto; border-radius: 50%; background: var(--soft); object-fit: cover; }
.coach-identity > div { min-width: 0; }
.coach-identity .eyebrow { margin-bottom: 10px; }
.coach-identity h1 { font-size: clamp(36px, 5vw, 54px); line-height: 1.15; margin: 0; letter-spacing: -1.8px; overflow-wrap: anywhere; }
.coach-intro { color: var(--muted); font-size: 19px; line-height: 1.65; margin-bottom: 36px; }
.coach-step { padding-block: 28px; border-top: 1px solid var(--line); }
.step-title { display: flex; align-items: baseline; gap: 16px; margin-bottom: 14px; }
.step-number { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.step-title h2 { font-size: 20px; letter-spacing: -.4px; font-weight: 600; margin: 0; }
.coach-step > p { color: var(--muted); font-size: 15px; line-height: 1.7; max-width: 550px; }
.coach-step .availability { font-size: 12px; margin-bottom: 0; }
.open-button { background: transparent; border: 1px solid #a6a8a0; border-radius: 8px; color: var(--muted); font-size: 15px; padding: 15px 22px; min-height: 50px; cursor: not-allowed; }

@media (min-width: 1200px) {
  .home-content, .reading-width { margin-left: 64px; }
}

@media (max-width: 640px) {
  .container { width: calc(100% - 40px); }
  .site-header { padding-block: 24px; }
  .wordmark { font-size: 21px; }
  .home { padding-block: 76px 90px; }
  .home h1 { letter-spacing: -3px; margin-bottom: 26px; }
  .lead { font-size: 18px; margin-bottom: 30px; }
  .home-tagline { font-size: 21px; }
  .store-buttons { gap: 10px; }
  .store-button { min-width: 0; flex: 1; max-width: 210px; min-height: 64px; padding: 12px 16px; }
  .store-button strong { font-size: 19px; }
  .site-footer { flex-direction: column; gap: 18px; padding-block: 24px; }
  .footer-links { gap: 14px 20px; }
  .document { padding-block: 54px 80px; }
  h1 { letter-spacing: -1.6px; }
  .document p { font-size: 16px; }
  .company-information .feature-list { font-size: 16px; }
  .document .intro { font-size: 18px; }
  .coach-page { padding-block: 32px 64px; }
  .coach-identity { flex-direction: column; align-items: flex-start; gap: 20px; margin-bottom: 28px; }
  .coach-portrait { width: 76px; height: 76px; }
  .coach-identity h1 { font-size: 35px; }
  .coach-intro { font-size: 17px; }
}

/* Prelaunch legal review pages; no publication or final effective date implied. */
.legal-content { overflow-wrap: anywhere; }
.legal-content section > p, .preserve-lines { white-space: pre-line; }
.legal-content section + section { border-top: 1px solid var(--line); margin-top: 64px; padding-top: 32px; }
.legal-content .companion-label, .legal-content .edition { font-size: 13px; color: var(--muted); }
.legal-content h1 { font-size: clamp(30px, 4vw, 48px); line-height: 1.15; letter-spacing: -1px; }
.language-links { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13px; line-height: 1.6; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.language-links a { padding-block: 5px; }
.language-links [aria-current="page"] { font-weight: 700; text-decoration-thickness: 2px; }
.home-content, .reading-width { min-width: 0; overflow-wrap: anywhere; }
.footer-links { line-height: 1.7; }
.footer-links a { overflow-wrap: anywhere; }
@media (max-width: 640px) {
  .site-header { gap: 12px; flex-wrap: wrap; }
  .home { padding-block: 48px 64px; }
  .store-button { flex: 0 1 210px; }
}
.legal-draft h2, .legal-draft h3 { scroll-margin-top: 24px; }
.legal-draft h3 { margin-top: 28px; font-size: 18px; line-height: 1.5; }
.legal-review-banner, .legal-dependency { padding: 18px; margin-block: 24px; border: 1px solid var(--line); border-left: 3px solid currentColor; }
.legal-review-banner { background: var(--soft, #d9d9d9); }
.legal-draft .legal-review-banner p, .legal-draft .legal-dependency p { font-size: 15px; line-height: 1.65; margin-bottom: 10px; }
.legal-draft .legal-review-banner p:last-child, .legal-draft .legal-dependency p:last-child { margin-bottom: 0; }
.legal-toc { border-block: 1px solid var(--line); padding-block: 8px 20px; margin-block: 32px; }
.legal-toc ul { padding-left: 20px; }
.legal-toc a { display: inline-block; padding-block: 7px; }
.legal-draft li { line-height: 1.7; margin-block: 8px; }
.legal-draft table { width: 100%; table-layout: fixed; border-collapse: collapse; font-size: 15px; line-height: 1.6; }
.legal-draft th, .legal-draft td { border: 1px solid var(--line); text-align: left; vertical-align: top; padding: 12px; }
.legal-draft th:first-child, .legal-draft td:first-child { width: 32%; }
.legal-draft code { font-size: .9em; }
@media (max-width: 420px) {
  .legal-draft th, .legal-draft td { padding: 8px; }
  .legal-review-banner, .legal-dependency { padding: 14px; }
}

/* Shared footer: direct legal links with a distinct health privacy link. */
.site-footer { font-size: 14px; }
.footer-links { flex: 1; justify-content: flex-end; gap: 12px 24px; }
.footer-links a[href$="/consumer-health-data-privacy-policy/"] {
  flex-basis: 100%; color: var(--ink); font-size: 15px; font-weight: 650;
  text-decoration: underline; text-align: right;
}
@media (max-width: 640px) {
  .footer-links { width: 100%; justify-content: flex-start; gap: 12px 20px; }
  .footer-links a[href$="/consumer-health-data-privacy-policy/"] { text-align: left; }
}
