:root {
  color-scheme: dark;
  --bg: #101713;
  --surface: #18221b;
  --raised: #223025;
  --ink: #f2f4e9;
  --muted: #b6c3b5;
  --line: #364638;
  --accent: #c8ee89;
  --on-accent: #1d2b14;
  --forest: #203d2e;
  --focus: #d8f8a5;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  scroll-padding-top: 24px;
}
* { box-sizing: border-box; }
body, h1, h2, h3, h4, p, figure, dl, dd { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, summary, a { -webkit-tap-highlight-color: transparent; }
svg { display: block; width: 24px; height: 24px; flex: none; }
img { display: block; max-width: 100%; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 5px; }
.container { width: min(1280px, calc(100% - 40px)); margin-inline: auto; }
.symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.skip { position: absolute; left: 16px; top: 10px; z-index: 5; padding: 12px 16px; background: var(--accent); color: var(--on-accent); border-radius: 8px; transform: translateY(-180%); }
.skip:focus { transform: none; }
.top { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; font-size: 28px; font-weight: 750; letter-spacing: -.045em; white-space: nowrap; }
.top-nav { display: none; align-items: center; gap: 30px; font-size: 16px; }
.top-nav a, .top-entry { padding-block: 12px; }
.top-entry { display: flex; align-items: center; gap: 9px; font-size: 16px; }
.eyebrow { color: var(--muted); font-size: 16px; line-height: 1.5; }
.hero { display: grid; align-items: center; gap: 34px; padding-block: 38px 64px; }
.intro { min-width: 0; }
h1 { margin-top: 20px; font-size: clamp(48px, 13vw, 76px); line-height: 1.01; letter-spacing: -.066em; font-weight: 650; }
h1 em { font-style: normal; color: var(--accent); }
.lead { max-width: 36ch; margin-top: 24px; color: var(--muted); font-size: 19px; line-height: 1.5; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 13px 18px; border: 1px solid transparent; border-radius: 12px; font-size: 16px; line-height: 1.35; font-weight: 650; }
.button svg { width: 20px; height: 20px; }
.primary { background: var(--accent); color: var(--on-accent); }
.secondary { border-color: #68785f; background: transparent; }
.access { display: flex; align-items: center; gap: 8px; margin-top: 16px; color: var(--muted); font-size: 15px; line-height: 1.5; }
.access > span { width: 6px; height: 6px; border-radius: 50%; flex: none; background: var(--accent); }
.hero-visual { display: grid; gap: 16px; padding: 24px; min-width: 0; border-radius: 24px; background: radial-gradient(ellipse at 65% 40%, #f5f2e5, #d9e0ce); color: #1e3023; }
.hero-visual > img { width: 100%; max-width: 420px; height: auto; aspect-ratio: 1; object-fit: contain; justify-self: center; }
.meal-caption { min-width: 0; }
.meal-caption > span { display: block; font-size: 15px; }
.meal-caption > strong { display: block; margin-top: 8px; font-size: clamp(25px, 4vw, 35px); font-weight: 600; line-height: 1.08; letter-spacing: -.045em; }
.meal-caption a { display: inline-flex; align-items: center; gap: 8px; margin-top: 13px; min-height: 44px; font-size: 15px; }
.meal-caption a:focus-visible { outline-color: #1e3023; }
.meal-caption svg { width: 18px; height: 18px; }
.day-note { min-width: 0; display: flex; align-items: center; gap: 14px; padding: 16px; background: #f5f6efed; border: 1px solid #fff8; border-radius: 16px; }
.day-note > svg:first-child { color: #56714c; }
.day-note > div { display: grid; gap: 3px; min-width: 0; }
.day-note span, .day-note small { font-size: 14px; color: #51614e; line-height: 1.4; }
.day-note strong { font-size: 17px; font-weight: 650; }
.note-check { margin-left: auto; width: 22px; height: 22px; stroke: #325632; stroke-width: 1.8; fill: none; }
h2 { font-size: clamp(33px, 7.8vw, 48px); line-height: 1.12; letter-spacing: -.05em; font-weight: 600; }
h3 { font-size: 23px; line-height: 1.2; letter-spacing: -.035em; font-weight: 600; }
.benefits { border-block: 1px solid var(--line); padding-block: 34px 20px; }
.section-intro > p { margin-top: 18px; color: var(--muted); font-size: 18px; line-height: 1.5; max-width: 37ch; }
.benefit-grid { display: grid; gap: 0; margin-top: 22px; }
.benefit-grid article { padding-block: 24px; }
.benefit-grid article + article { border-top: 1px solid var(--line); }
.benefit-grid svg { color: var(--accent); margin-bottom: 17px; }
.benefit-grid h3 { margin-bottom: 12px; }
.benefit-grid p { color: var(--muted); font-size: 17px; line-height: 1.55; max-width: 35ch; }
.journey, .start, .questions { padding-block: 64px; }
.section-heading { display: grid; gap: 18px; margin-bottom: 28px; }
.section-heading h2 { margin-top: 12px; }
.section-heading > p { max-width: 34ch; color: var(--muted); font-size: 18px; line-height: 1.5; }
.showcase { min-width: 0; margin: 0; padding: 18px; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); }
.showcase-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.switch { display: inline-flex; flex: 1; max-width: 520px; padding: 4px; border: 1px solid var(--line); border-radius: 12px; }
.switch label { flex: 1; display: grid; place-items: center; min-height: 44px; padding: 8px 10px; border-radius: 8px; font-size: 16px; font-weight: 600; cursor: pointer; }
.example-label { font-size: 15px; color: var(--muted); }
#show-workout:checked ~ .showcase-head label[for=show-workout], #show-food:checked ~ .showcase-head label[for=show-food], #show-progress:checked ~ .showcase-head label[for=show-progress] { background: var(--accent); color: var(--on-accent); }
#show-workout:focus-visible ~ .showcase-head label[for=show-workout], #show-food:focus-visible ~ .showcase-head label[for=show-food], #show-progress:focus-visible ~ .showcase-head label[for=show-progress] { outline: 3px solid var(--focus); outline-offset: 3px; }
.preview { display: none; align-items: center; min-width: 0; gap: 28px; padding-top: 32px; }
#show-workout:checked ~ #workout-example, #show-food:checked ~ #food-example, #show-progress:checked ~ #progress-example { display: grid; }
.preview-copy h3 { font-size: clamp(26px, 5vw, 35px); max-width: 18ch; }
.preview-copy p { margin-top: 16px; max-width: 43ch; color: var(--muted); font-size: 17px; line-height: 1.55; }
.demo-card { min-width: 0; border: 1px solid var(--line); background: var(--bg); border-radius: 19px; padding: 20px; }
.demo-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 15px; }
.demo-heading svg { color: var(--accent); }
.demo-card h4 { margin-top: 18px; font-size: clamp(25px, 5.5vw, 31px); line-height: 1.18; letter-spacing: -.04em; font-weight: 600; }
.exercise-list { margin: 18px 0; padding: 0; list-style: none; }
.exercise-list li { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding-block: 15px; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.4; }
.exercise-list strong { white-space: nowrap; font-weight: 600; }
.plan-note, .food-entry { display: flex; align-items: center; gap: 12px; padding-top: 5px; }
.plan-note > div, .food-entry > div { display: grid; gap: 5px; }
.plan-note svg, .food-entry svg { color: var(--muted); }
.plan-note span, .food-entry span { color: var(--muted); font-size: 15px; line-height: 1.4; }
.plan-note strong, .food-entry strong { font-size: 16px; line-height: 1.45; font-weight: 550; }
.set-values { display: grid; grid-template-columns: .85fr 1.15fr 1fr; gap: 9px; margin-block: 24px; }
.set-values > div { display: grid; gap: 10px; }
.set-values span { font-size: 15px; line-height: 1.3; color: var(--muted); }
.set-values strong { font-size: 31px; font-weight: 600; letter-spacing: -.04em; }
.set-values small { font-size: 17px; color: var(--muted); font-weight: 450; }
.sample-action { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 12px 15px; background: var(--accent); color: var(--on-accent); border-radius: 11px; font-size: 16px; font-weight: 600; cursor: pointer; }
.sample-action svg { fill: none; stroke: currentColor; stroke-width: 1.8; }
.after-set { display: none; }
#sample-set:checked ~ .sample-action .after-set, #sample-set:checked ~ .after-set { display: block; }
#sample-set:checked ~ .sample-action .before-set { display: none; }
#sample-set:focus-visible + .sample-action { outline: 3px solid var(--focus); outline-offset: 4px; }
.sample-rest { padding-top: 12px; font-size: 15px; color: var(--muted); }
.food-entry { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 19px; }
.chart-key { margin-top: 9px; font-size: 15px; color: var(--muted); line-height: 1.5; }
.history-bars { display: grid; grid-template-columns: repeat(3, 1fr); align-items: end; gap: 22px; margin: 26px 10px 20px; }
.history-bars > div { display: grid; justify-items: center; gap: 10px; }
.history-bars strong { font-size: 19px; font-weight: 550; }
.history-bars small { font-size: 15px; color: var(--muted); }
.history-bar { display: block; width: 100%; max-width: 65px; border-radius: 8px 8px 2px 2px; background: #59754e; }
.bar-eight { height: 104px; }
.bar-ten { height: 130px; }
.history-bar.recent { background: var(--accent); }
.history-note { padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; line-height: 1.5; }
.beginner-safety { border-top: 1px solid var(--line); padding-block: 48px 64px; }
.beginner-principles { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; counter-reset: principle; }
.beginner-principles li { min-width: 0; padding-top: 18px; border-top: 1px solid var(--line); counter-increment: principle; }
.beginner-principles li::before { content: '0' counter(principle); display: block; margin-bottom: 14px; color: var(--accent); font-size: 16px; font-weight: 600; }
.beginner-principles h3 { font-size: 22px; }
.beginner-principles p, .beginner-stop { margin-top: 12px; color: var(--muted); font-size: 17px; line-height: 1.55; }
.beginner-stop { margin-top: 28px; max-width: 78ch; }
.beginner-sources { margin-top: 14px; color: var(--muted); font-size: 16px; line-height: 1.5; }
.beginner-sources summary { cursor: pointer; width: fit-content; padding-block: 10px; }
.beginner-sources p { display: grid; gap: 12px; padding: 4px 0 10px; }
.beginner-sources a { text-decoration: underline; text-underline-offset: 3px; }
.portion { display: grid; gap: 32px; padding-block: 0 64px; }
.portion-visual { position: relative; overflow: hidden; border-radius: 23px; min-width: 0; background: #e8e6da; }
.portion-visual img { width: 100%; height: auto; aspect-ratio: 1.15; object-fit: contain; padding: 24px; }
.portion-copy h2 { margin-top: 13px; }
.section-lead { margin-top: 20px; font-size: 18px; line-height: 1.55; color: var(--muted); max-width: 40ch; }
.portion-steps { list-style: none; margin: 28px 0 0; padding: 0; }
.portion-steps li { position: relative; padding: 18px 0 18px 23px; border-top: 1px solid var(--line); }
.portion-steps li::before { content: ''; position: absolute; top: 27px; left: 0; width: 6px; height: 6px; background: var(--accent); border-radius: 50%; }
.portion-steps h3 { font-size: 21px; }
.portion-steps p { margin-top: 8px; color: var(--muted); font-size: 17px; line-height: 1.5; }
.start { border-top: 1px solid var(--line); }
.start-grid { display: grid; gap: 12px; }
.start-grid > a { position: relative; display: grid; align-content: start; gap: 12px; border: 1px solid var(--line); padding: 24px; border-radius: 17px; background: var(--surface); }
.start-grid svg { color: var(--accent); }
.start-grid h3 { padding-right: 16px; }
.start-grid p { color: var(--muted); font-size: 17px; line-height: 1.5; }
.start-grid .start-arrow { position: absolute; right: 20px; top: 24px; color: var(--muted); }
.questions { border-top: 1px solid var(--line); display: grid; gap: 24px; }
.question-list details { border-bottom: 1px solid var(--line); }
.question-list summary { position: relative; cursor: pointer; list-style: none; padding: 22px 34px 22px 0; font-size: 18px; line-height: 1.45; font-weight: 500; }
.question-list summary::-webkit-details-marker { display: none; }
.question-list summary::after { content: '+'; position: absolute; right: 5px; top: 22px; font-size: 24px; font-weight: 350; }
.question-list details[open] summary::after { content: '−'; }
.question-list details p { padding: 0 24px 22px 0; max-width: 60ch; color: var(--muted); font-size: 17px; line-height: 1.6; }
.closing { border-top: 1px solid var(--line); padding-block: 48px; display: grid; gap: 24px; }
.closing h2 { margin-top: 14px; }
.closing > div > p:not(.eyebrow):not(.access) { margin-top: 18px; color: var(--muted); font-size: 18px; line-height: 1.5; max-width: 40ch; }
.foot { border-top: 1px solid var(--line); padding-block: 24px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.foot > a:not(.brand) { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; color: var(--muted); font-size: 16px; }
.foot > a:not(.brand) svg { width: 19px; height: 19px; }
@media (max-width: 420px) {
  .hero .actions { display: grid; }
  .access { align-items: baseline; font-size: 14px; }
  .access > span { align-self: center; }
  .demo-card { padding: 17px; }
  .switch label { padding-inline: 8px; }
  .example-label { font-size: 14px; }
}
@media (min-width: 680px) {
  .beginner-principles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 38px; }
  .container { width: min(1280px, calc(100% - 72px)); }
  .top-nav { display: flex; }
  .hero { grid-template-columns: 1.04fr 1fr; gap: 30px; padding-block: 58px 70px; }
  h1 { font-size: clamp(50px, 7.3vw, 96px); }
  .lead { font-size: 20px; }
  .benefit-grid, .start-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
  .benefit-grid article + article { border-top: 0; }
  .benefits { padding-block: 45px; }
  .benefit-grid { margin-top: 32px; }
  .section-intro { display: flex; justify-content: space-between; gap: 32px; }
  .section-intro > p { margin-top: 0; align-self: end; }
  .section-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 36px; }
  .section-heading > p { max-width: 29ch; }
  .preview { grid-template-columns: 1fr 1fr; gap: 32px; padding-top: 40px; }
  .showcase { padding: 28px; }
  .portion { grid-template-columns: 1fr 1fr; align-items: center; gap: 38px; padding-block: 16px 80px; }
  .portion-visual img { aspect-ratio: .8; }
  .questions { grid-template-columns: .85fr 1.35fr; gap: 60px; }
  .start-grid { gap: 15px; }
  .start-grid > a { padding: 22px; }
  .start-grid h3 { font-size: 22px; }
  .closing { display: flex; justify-content: space-between; align-items: center; gap: 40px; }
}
@media (min-width: 1000px) {
  .beginner-safety { padding-block: 64px 90px; }
  .beginner-principles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; }
  .container { width: min(1280px, calc(100% - 128px)); }
  .hero { gap: 76px; padding-block: 68px 88px; }
  h1 { font-size: clamp(70px, 7.2vw, 100px); }
  .lead { font-size: 22px; }
  .hero-visual { padding: 32px; }
  .day-note { padding: 19px; }
  .benefits { display: grid; grid-template-columns: 1fr 2.8fr; gap: 60px; padding-block: 48px; }
  .section-intro { display: block; }
  .section-intro h2 { font-size: 38px; }
  .section-intro > p { margin-top: 15px; font-size: 17px; }
  .benefit-grid { margin-top: 0; gap: 38px; }
  .benefit-grid article { padding-block: 0; }
  .journey, .start, .questions { padding-block: 90px; }
  .showcase { padding: 32px 42px 42px; }
  .preview { grid-template-columns: 1.05fr 1fr; gap: 75px; min-height: 427px; }
  .preview-copy p { font-size: 18px; }
  .demo-card { padding: 26px; }
  .portion { gap: 76px; padding-bottom: 90px; }
  .portion-visual img { aspect-ratio: 1; }
  .start-grid > a { padding: 30px; }
  .start-grid h3 { font-size: 26px; }
  .closing { padding-block: 60px; }
}
@media (prefers-color-scheme: light) {
  :root { color-scheme: light; --bg: #f4f4ed; --surface: #eeefe5; --raised: #e1e8d7; --ink: #203025; --muted: #52614e; --line: #cbd3c2; --accent: #365a32; --on-accent: #f2f6ed; --focus: #305629; }
  .history-bar { background: #9fb38b; }
  .hero-visual, .portion-visual { border: 1px solid #d7dccd; }
  .sample-action { color: #f2f6ed; }
}
@media (hover: hover) {
  .primary:hover { filter: brightness(1.08); }
  .secondary:hover, .start-grid > a:hover { border-color: var(--accent); background: var(--raised); }
  .top-nav a:hover, .top-entry:hover, .foot > a:not(.brand):hover { color: var(--accent); }
  .question-list summary:hover { color: var(--accent); }
}
@media (forced-colors: active) {
  .button, .demo-card, .day-note, .sample-action, .switch { border: 1px solid CanvasText; }
  #show-workout:checked ~ .showcase-head label[for=show-workout], #show-food:checked ~ .showcase-head label[for=show-food], #show-progress:checked ~ .showcase-head label[for=show-progress] { outline: 2px solid Highlight; }
  .history-bar { border: 1px solid CanvasText; }
}

.not-found { min-height: 72vh; display: grid; align-content: center; justify-items: start; gap: 24px; padding-block: 48px; }
.not-found h1 { max-width: 12ch; margin: 0; font-size: clamp(40px, 10vw, 72px); }
.not-found p { max-width: 36ch; color: var(--muted); font-size: 18px; line-height: 1.5; }
