:root {
  color-scheme: light;
  --page: #FFF7EE;
  --surface: #FFFFFF;
  --soft: #F8ECDF;
  --ink: #1F2E36;
  --muted: #5B6A73;
  --accent: #B2563D;
  --accent-strong: #9C4632;
  --button: #B2563D;
  --button-hover: #9C4632;
  --button-ink: #fff;
  --tint: #F6E0D6;
  --success: #1E7A3E;
  --line: #EADCCD;
  --shadow: 0 28px 70px -30px #5a3a2a40;
  --energy: #B2563D; --fat: #699A5D; --carbs: #B28548; --protein: #3D9B9D;
  --feature: #FFFFFF;
  --dark-card: #1F2E36; --dark-card-ink: #F5EDE4; --dark-card-muted: #C3CCD2; --dark-card-icon: #F18A61;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
  color-scheme: dark;
  --page: #0E1820; --surface: #1A2731; --soft: #22323E;
  --ink: #F5EDE4; --muted: #B5C0C8; --accent: #F18A61;
  --accent-strong: #F6A27F; --button: #B2563D; --button-hover: #C4644A; --button-ink: #fff;
  --tint: #3A2A26; --success: #5FC07E; --line: #2C3D4A; --shadow: 0 28px 70px -30px #000a;
  --energy: #F18A61; --fat: #8BC17D; --carbs: #E7B868; --protein: #5CC0C0;
  --dark-card: #22323E; --dark-card-ink: #F5EDE4; --dark-card-muted: #B5C0C8; --dark-card-icon: #F18A61;
  }
}
:root[data-theme='dark'] {
  color-scheme: dark;
  --page: #0E1820; --surface: #1A2731; --soft: #22323E;
  --ink: #F5EDE4; --muted: #B5C0C8; --accent: #F18A61;
  --accent-strong: #F6A27F; --button: #B2563D; --button-hover: #C4644A; --button-ink: #fff;
  --tint: #3A2A26; --success: #5FC07E; --line: #2C3D4A; --shadow: 0 28px 70px -30px #000a;
  --energy: #F18A61; --fat: #8BC17D; --carbs: #E7B868; --protein: #5CC0C0;
  --dark-card: #22323E; --dark-card-ink: #F5EDE4; --dark-card-muted: #B5C0C8; --dark-card-icon: #F18A61;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; background: var(--page); color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif; font-size: 1rem; line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: var(--accent-strong); text-underline-offset: 4px; }
button, summary, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
button, a { touch-action: manipulation; }
button { cursor: pointer; }
button:disabled { cursor: default; }
button, input, summary { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
[hidden] { display: none !important; }
svg.icon { width: 22px; height: 22px; stroke: currentColor; stroke-width: 1.7; fill: none; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
img { max-width: 100%; height: auto; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.13; letter-spacing: -.045em; }
h1 { font-size: clamp(3.2rem, 5.25vw, 5rem); font-weight: 650; }
h1 em { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; color: var(--accent-strong); letter-spacing: -.055em; }
h2 { font-size: clamp(2rem, 3.5vw, 3.25rem); font-weight: 600; }
h3 { font-size: 1.25rem; letter-spacing: -.025em; }
.wrap { width: min(1240px, calc(100% - 96px)); margin-inline: auto; }
.skip { position: fixed; top: -100px; left: 20px; z-index: 100; background: var(--surface); padding: 12px 24px; border: 1px solid var(--accent); }
.skip:focus { top: 16px; }
.site-header { position: relative; z-index: 10; border-bottom: 1px solid var(--line); }
.header-inner { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); font-size: 1.6rem; letter-spacing: -.055em; font-weight: 650; }
.brand img { width: 40px; height: 40px; border-radius: 11px; }
.header-right, .nav, .utilities { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--muted); font-size: .9rem; font-weight: 500; text-decoration: none; padding-block: 14px; }
.nav a:hover, .nav a[aria-current] { color: var(--accent-strong); }
.utilities { gap: 10px; }
.language { position: relative; }
.language summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 6px; min-height: 44px; font-size: .875rem; padding: 8px; }
.language summary::-webkit-details-marker { display: none; }
.language summary svg { width: 14px; height: 14px; }
.language-menu { position: absolute; right: 0; top: 48px; min-width: 170px; border: 1px solid var(--line); padding: 8px; background: var(--surface); border-radius: 14px; box-shadow: var(--shadow); }
.language-menu a { display: block; padding: 9px 12px; text-decoration: none; font-size: .9rem; border-radius: 8px; }
.language-menu a:hover, .language-menu a[aria-current] { background: var(--tint); }
.theme { min-width: 44px; min-height: 44px; border: 1px solid var(--line); border-radius: 50%; background: transparent; display: grid; place-items: center; }
.eyebrow { font-size: .75rem; font-weight: 650; letter-spacing: .16em; color: var(--accent-strong); line-height: 1.6; margin-bottom: 22px; }
.hero { display: grid; grid-template-columns: .95fr 1.15fr; align-items: center; gap: 56px; padding-block: 86px 78px; }
.hero-copy { padding-bottom: 18px; }
.hero .intro { font-size: 1.125rem; line-height: 1.8; color: var(--muted); max-width: 475px; margin-top: 28px; }
.hero-actions { display: flex; gap: 16px; align-items: center; margin-top: 34px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 18px; background: var(--button); color: var(--button-ink); padding: 14px 22px; min-height: 50px; border-radius: 10px; font-size: .95rem; font-weight: 600; text-decoration: none; border: 1px solid transparent; }
.button:hover { background: var(--button-hover); }
.local-hint { display: flex; gap: 7px; align-items: center; margin-top: 18px; font-size: .875rem; color: var(--muted); }
.local-hint .icon { width: 16px; height: 16px; color: var(--success); }
.availability { display: flex; align-items: center; gap: 7px; font-size: .8rem; margin-top: 34px; color: var(--muted); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.product-figure { min-width: 0; margin: 0; position: relative; }
.preview-caption { display: flex; align-items: center; justify-content: space-between; margin: 0 5px 14px; font-size: .8rem; color: var(--muted); }
.caption-brand { display: flex; align-items: center; gap: 8px; }
.caption-brand .icon { width: 16px; height: 16px; }
.product-preview { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); }
.preview-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 15px 22px; border-bottom: 1px solid var(--line); background: var(--soft); font-size: .8rem; color: var(--muted); }
.preview-brand { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); }
.preview-brand img { width: 24px; height: 24px; border-radius: 6px; }
.preview-content { padding: 28px; }
.preview-content h2 { font-size: 1.7rem; letter-spacing: -.04em; }
.preview-description { font-size: .875rem; color: var(--muted); line-height: 1.6; margin-top: 10px; max-width: 370px; }
.preview-tabs { display: flex; gap: 4px; padding: 4px; margin-block: 24px; border-radius: 9px; background: var(--soft); }
.preview-tabs button { flex: 1; min-width: 0; padding: 8px 4px; border: 0; border-radius: 6px; background: transparent; font-size: .875rem; color: var(--muted); }
.preview-tabs button[aria-selected='true'] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px #0001; font-weight: 600; }
.preview-panels { display: grid; }
.preview-panel { grid-area: 1 / 1; min-width: 0; }
.preview-panel.is-inactive { visibility: hidden; }
.preview-bottom { display: flex; align-items: center; gap: 7px; border-top: 1px solid var(--line); padding: 11px 22px; font-size: .75rem; color: var(--muted); }
.preview-bottom .icon { width: 15px; height: 15px; color: var(--accent); }
.figure-note { text-align: center; margin-top: 15px; color: var(--muted); font-size: .75rem; }
.brand-strip { display: grid; grid-template-columns: repeat(3, 1fr); padding-block: 27px; gap: 24px; border-block: 1px solid var(--line); }
.brand-strip p { display: flex; align-items: center; justify-content: center; gap: 10px; font-size: .9rem; color: var(--muted); }
.brand-strip .icon { color: var(--accent); width: 18px; height: 18px; }
.section { padding-block: 96px; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 48px; }
.section-heading > p { max-width: 350px; color: var(--muted); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 38px 48px; }
.feature { border-top: 1px solid var(--line); padding-top: 25px; }
.feature-icon { background: var(--tint); color: var(--accent-strong); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; margin-bottom: 22px; }
.feature:nth-child(4n + 2) .feature-icon { color: var(--fat); background: var(--soft); }
.feature:nth-child(4n + 3) .feature-icon { color: var(--carbs); background: var(--soft); }
.feature:nth-child(4n + 4) .feature-icon { color: var(--protein); background: var(--soft); }
.feature h3 { margin-bottom: 13px; }
.feature p { color: var(--muted); font-size: .95rem; line-height: 1.75; }
.plans-section { background: var(--soft); border-block: 1px solid var(--line); }
.plans-grid { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--surface); }
.plan { padding: 38px 42px; }
.plan h3 { font-size: 1.75rem; margin-bottom: 17px; }
.plan > p { color: var(--muted); max-width: 440px; }
.plan ul { list-style: none; padding: 0; margin: 24px 0 0; }
.plan li { display: flex; align-items: flex-start; gap: 10px; margin-block: 12px; font-size: .95rem; }
.plan li .icon { width: 18px; height: 18px; margin-top: 4px; color: var(--accent); }
.plan-pro { background: var(--dark-card); color: var(--dark-card-ink); }
.plan-pro > p { color: var(--dark-card-muted); }
.plan-pro li .icon { color: var(--dark-card-icon); }
.plan-pro a { color: var(--dark-card-ink); }
.plan-pro .plan-note { color: var(--dark-card-muted); }
.plan-pro .plan-note { font-size: .8rem; margin-top: 26px; }
.plan-link { display: inline-block; margin-top: 14px; font-size: .9rem; }
.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 23px 30px 23px 0; position: relative; font-size: 1rem; font-weight: 550; list-style: none; line-height: 1.5; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; font-size: 1.3rem; color: var(--accent); top: 18px; }
.faq details[open] summary::after { content: '−'; }
.faq details p { color: var(--muted); padding: 0 25px 24px 0; font-size: .95rem; }
.site-footer { border-top: 1px solid var(--line); padding-block: 40px 24px; }
.footer-top, .footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-top .brand { font-size: 1.3rem; }
.footer-top .brand img { width: 32px; height: 32px; border-radius: 8px; }
.footer-line { font-size: .875rem; color: var(--muted); margin-top: 10px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.footer-links a { font-size: .875rem; color: var(--ink); }
.footer-bottom { color: var(--muted); font-size: .75rem; padding-top: 32px; margin-top: 30px; border-top: 1px solid var(--line); }
.page-head { max-width: 900px; padding-block: 70px 36px; }
.page-head h1 { font-size: clamp(2.6rem, 5vw, 4rem); overflow-wrap: anywhere; }
.page-head .lead { color: var(--muted); max-width: 610px; font-size: 1.125rem; margin-top: 24px; }
.draft { border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 0 10px 10px 0; padding: 19px 22px; margin-bottom: 40px; max-width: 900px; background: var(--soft); }
.draft strong { font-size: .9rem; }
.draft p { color: var(--muted); font-size: .9rem; margin-top: 5px; }
.legal-layout { display: grid; grid-template-columns: 240px minmax(0, 730px); gap: 60px; padding-bottom: 80px; }
.toc { align-self: start; border-top: 1px solid var(--line); padding-top: 20px; font-size: .875rem; }
.toc strong { display: block; margin-bottom: 15px; }
.toc a { display: block; color: var(--muted); text-decoration: none; padding-block: 7px; line-height: 1.4; }
.toc a:hover { color: var(--accent-strong); }
.prose { min-width: 0; overflow-wrap: anywhere; }
.prose h2 { font-size: 1.55rem; margin: 38px 0 17px; line-height: 1.25; }
.prose h3 { font-size: 1.15rem; margin: 28px 0 14px; }
.prose p { margin-bottom: 17px; white-space: normal; color: var(--muted); }
.prose ul { color: var(--muted); padding-left: 22px; margin-bottom: 20px; }
.prose li { padding-left: 3px; margin-bottom: 9px; }
.prose > p:first-child { font-size: .875rem; }
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; padding-bottom: 80px; }
.contact-card { padding: 34px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.contact-card .email { font-size: clamp(1.1rem, 2.5vw, 1.8rem); letter-spacing: -.03em; display: inline-block; margin-bottom: 24px; overflow-wrap: anywhere; }
.contact-card .email-note { margin-top: 17px; font-size: .875rem; color: var(--muted); }
.contact-copy h2 { font-size: 1.5rem; margin: 30px 0 14px; }
.contact-copy h2:first-child { margin-top: 0; }
.contact-copy p { color: var(--muted); }
.provider { margin-top: 30px; padding-top: 25px; border-top: 1px solid var(--line); color: var(--muted); font-style: normal; font-size: .9rem; }
.provider strong { color: var(--ink); }
.back-link { display: inline-flex; gap: 10px; align-items: center; margin-top: 30px; font-size: .9rem; }
.no-script { display: block; margin-top: 12px; font-size: .8rem; color: var(--muted); }
/* WholePace preview: today, meals and target assistant */
.preview-top > span:last-child { font-weight: 600; color: var(--accent-strong); }
.preview-content .preview-tabs { margin-top: 0; }
.preview-panel h2 { font-size: 1.55rem; letter-spacing: -.04em; }
.label { display: block; font-size: .66rem; letter-spacing: .12em; font-weight: 700; color: var(--muted); }
.energy { display: flex; align-items: center; gap: 22px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.ring { width: 132px; height: 132px; flex-shrink: 0; }
.ring circle { fill: none; }
.ring-quarter { stroke-width: 9; }
.ring-energy { stroke: var(--energy); } .ring-fat { stroke: var(--fat); } .ring-carbs { stroke: var(--carbs); } .ring-protein { stroke: var(--protein); }
.ring-track { stroke: var(--soft); stroke-width: 11; }
.ring-progress { stroke: var(--energy); stroke-width: 11; stroke-linecap: round; }
.energy-copy { min-width: 0; }
.energy-value { margin-top: 6px; color: var(--muted); font-size: .95rem; }
.energy-value strong { font-size: 2.1rem; letter-spacing: -.04em; color: var(--ink); font-weight: 650; margin-right: 4px; }
.energy-remaining { margin-top: 4px; font-size: .875rem; font-weight: 600; color: var(--success); }
.macros-label { margin: 18px 0 4px; }
.macro { padding: 9px 0; }
.macro-head { display: flex; justify-content: space-between; gap: 12px; font-size: .875rem; color: var(--muted); }
.macro-head > span:first-child { display: flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 550; }
.macro-head strong { color: var(--ink); }
.swatch { width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
.bar { height: 7px; border-radius: 99px; background: var(--soft); margin-top: 8px; overflow: hidden; }
.bar span { display: block; height: 100%; border-radius: inherit; background: var(--c); }
.macro-carbs { --c: var(--carbs); } .macro-protein { --c: var(--protein); } .macro-fat { --c: var(--fat); }
.density { display: flex; justify-content: space-between; margin-top: 14px; padding: 12px 16px; border-radius: 12px; background: var(--soft); font-size: .85rem; color: var(--muted); }
.density strong { color: var(--ink); }
.meals { list-style: none; margin: 16px 0 0; padding: 0; }
.meal { display: flex; align-items: flex-start; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.meal-dot { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--tint); color: var(--accent-strong); flex-shrink: 0; }
.meal-dot .icon { width: 17px; height: 17px; }
.meal:nth-child(2) .meal-dot { color: var(--fat); background: var(--soft); }
.meal:nth-child(3) .meal-dot { color: var(--protein); background: var(--soft); }
.meal-body { flex: 1; min-width: 0; }
.meal-kind { display: block; font-size: .66rem; letter-spacing: .12em; font-weight: 700; color: var(--muted); text-transform: uppercase; }
.meal-body strong { display: block; font-size: .95rem; font-weight: 600; line-height: 1.35; }
.meal-meta { display: block; font-size: .8rem; color: var(--muted); }
.meal-energy { font-size: .85rem; font-weight: 700; color: var(--ink); white-space: nowrap; }
.add-chip { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 8px 16px; border-radius: 99px; background: var(--button); color: var(--button-ink); font-size: .85rem; font-weight: 600; }
.add-chip .icon { width: 16px; height: 16px; }
.goal-rows { margin-top: 18px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.goal-row { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 14px 18px; font-size: .9rem; }
.goal-row + .goal-row { border-top: 1px solid var(--line); }
.goal-row strong { display: block; font-weight: 600; }
.goal-row small { display: block; color: var(--muted); font-size: .8rem; }
.goal-row > span { font-weight: 650; white-space: nowrap; }
.goal-total { background: var(--soft); }
.goal-total > span { color: var(--accent-strong); font-size: 1.1rem; }
.preview-bottom .icon { color: var(--accent); }
.prose h3 { color: var(--ink); }
.prose code { font-size: .85em; background: var(--soft); padding: 1px 6px; border-radius: 5px; }
@media (min-width: 1450px) { .hero { padding-block: 108px 90px; } }
@media (max-width: 1050px) {
  .wrap { width: calc(100% - 56px); }
  .hero { gap: 30px; grid-template-columns: .9fr 1fr; }
  h1 { font-size: 3.35rem; }
  .header-right, .nav { gap: 18px; }
  .nav a { font-size: .875rem; }
  .preview-content { padding: 22px; }
  .feature-grid { gap: 30px; }
  .plan { padding: 30px; }
}
@media (max-width: 820px) {
  .header-inner { flex-wrap: wrap; gap: 0; padding-block: 16px; }
  .header-right { display: contents; }
  .utilities { order: 1; }
  .nav { order: 2; width: 100%; justify-content: space-between; gap: 10px; padding-top: 10px; }
  .nav a { padding-block: 6px; }
  .hero { grid-template-columns: 1fr; max-width: 620px; gap: 32px; padding-block: 58px; }
  h1 { font-size: clamp(3rem, 8vw, 4.6rem); }
  .hero-copy { padding: 0; }
  .hero .intro { max-width: 540px; }
  .availability { margin-top: 24px; }
  .brand-strip { grid-template-columns: 1fr; gap: 14px; padding-block: 25px; }
  .brand-strip p { justify-content: flex-start; }
  .section { padding-block: 62px; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 24px; max-width: 500px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .plans-grid { grid-template-columns: 1fr; }
  .faq-layout { grid-template-columns: 1fr; gap: 30px; }
  .footer-top { align-items: flex-start; flex-direction: column; }
  .legal-layout { grid-template-columns: 1fr; gap: 25px; }
  .toc { padding-bottom: 20px; border-bottom: 1px solid var(--line); }
  .contact-grid { grid-template-columns: 1fr; gap: 35px; }
}
@media (max-width: 450px) {
  .ring { width: 104px; height: 104px; }
  .energy { gap: 16px; }
  .energy-value strong { font-size: 1.7rem; }
  .wrap { width: calc(100% - 36px); }
  .brand { font-size: 1.4rem; gap: 9px; }
  .brand img { width: 36px; height: 36px; }
  .nav a { font-size: .8rem; }
  .feature-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 42px; }
  .hero .intro { font-size: 1rem; }
  .preview-content { padding: 20px 16px; }
  .preview-top { padding: 13px 16px; }
  .preview-content h2 { font-size: 1.55rem; }
  .plan, .contact-card { padding: 25px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  .site-header, .site-footer, .toc, .skip, .theme { display: none; }
  body { background: #fff; color: #000; }
  .wrap { width: 100%; }
  .legal-layout { display: block; }
  .prose p, .prose ul { color: #222; }
  .page-head { padding-top: 0; }
}
