:root {
  --em: #10B981; --em-d: #059669; --em-dd: #047857; --em-50: #ECFDF5; --mint: #F0FFF4;
  --ink: #1E293B; --body: #475569; --muted: #64748B; --line: #E2E8F0; --soft: #F8FAFC;
  --head: "Outfit", system-ui, sans-serif; --text: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 12px; --shadow: 0 4px 6px rgba(0, 0, 0, .07); --shadow-lg: 0 18px 40px rgba(15, 23, 42, .1); --ease: 200ms ease; --sec: 96px; --wrap: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font: 400 17px/1.6 var(--text); color: var(--body); background: #fff; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { margin: 0; font-family: var(--head); color: var(--ink); font-weight: 700; letter-spacing: -.02em; line-height: 1.12; }
p { margin: 0; }
a { color: inherit; }
svg { display: block; }
.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.narrow { max-width: 820px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--em-d); color: #fff; padding: 10px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--em); outline-offset: 3px; border-radius: 8px; }
.center { text-align: center; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 999px; border: 2px solid transparent; font: 600 16px/1 var(--head); cursor: pointer; text-decoration: none; transition: background var(--ease), color var(--ease), transform var(--ease), box-shadow var(--ease), border-color var(--ease); }
.btn-primary { background: var(--em); color: #fff; }
.btn-primary:hover { background: var(--em-d); transform: translateY(-1px); box-shadow: 0 10px 22px rgba(16, 185, 129, .3); }
.btn-outline { border-color: var(--em); color: var(--em-dd); background: #fff; }
.btn-outline:hover { background: var(--em-50); }
.btn-white { background: #fff; color: var(--em-dd); }
.btn-white:hover { background: var(--em-50); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-lg { min-height: 56px; padding: 0 30px; font-size: 18px; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 12px; background: transparent; color: var(--ink); cursor: pointer; transition: background var(--ease); }
.icon-btn:hover { background: var(--em-50); }
.link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0; border: 0; background: none; color: var(--em-dd); font: 600 16px/1 var(--head); cursor: pointer; }
.link .i { width: 18px; height: 18px; }
.h2 { font-size: clamp(32px, 4vw, 46px); }

/* nav */
.nav { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .9); backdrop-filter: blur(10px); transition: box-shadow var(--ease); }
.nav.scrolled { box-shadow: 0 1px 0 var(--line); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font: 800 22px/1 var(--head); color: var(--ink); text-decoration: none; letter-spacing: -.03em; }
.logo-ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--em); color: #fff; }
.thin { font-weight: 500; color: var(--em-d); }
.nav-links { display: flex; gap: 2px; margin-left: auto; }
.nav-links a { padding: 12px; font: 500 15px/1 var(--head); color: var(--body); text-decoration: none; }
.nav-links a:hover { color: var(--em-dd); }
.burger { display: none; margin-left: auto; }
.mnav { display: grid; padding: 0 20px 14px; background: #fff; border-bottom: 1px solid var(--line); }
.mnav[hidden] { display: none; }
.mnav a { padding: 14px 0; border-top: 1px solid var(--line); font: 600 20px/1.2 var(--head); color: var(--ink); text-decoration: none; }

/* hero */
.hero { background: linear-gradient(135deg, #fff 30%, var(--mint) 100%); padding: 56px 0 88px; overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
h1 { font-size: clamp(44px, 5.4vw, 70px); font-weight: 800; letter-spacing: -.04em; line-height: 1.02; }
h1 span { color: var(--em); display: block; }
.sub { margin: 22px 0 32px; font-size: 20px; color: var(--body); max-width: 40ch; }
.badges { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.badges li { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px; background: #fff; border: 1px solid #D1FAE5; box-shadow: var(--shadow); font-weight: 600; color: var(--ink); font-size: 15px; }
.badges .i { width: 18px; height: 18px; color: var(--em); }
.hero-art { position: relative; }
.spread { border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); transform: rotate(2deg); }
.spread svg { width: 100%; height: auto; }
.float { position: absolute; display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-radius: 16px; background: #fff; box-shadow: var(--shadow-lg); font-weight: 600; color: var(--ink); }
.f1 { left: -24px; top: 18%; flex-direction: column; align-items: flex-start; gap: 0; }
.f1 b { font: 800 28px/1 var(--head); color: var(--em-dd); }
.f1 span { font-size: 13px; color: var(--muted); }
.f2 { right: -12px; bottom: 10%; }
.f2 .i { color: #fff; background: var(--em); border-radius: 50%; padding: 4px; width: 26px; height: 26px; stroke-width: 3; }

/* sections */
.sec { padding: var(--sec) 0; }
.sec.tint { background: var(--soft); }

/* problem / solution */
.ps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.ps article { display: flex; align-items: center; gap: 14px; padding: 22px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.ps p { font: 600 18px/1.35 var(--head); color: var(--ink); }
.problems article { background: #FFF7F7; border-color: #FEE2E2; }
.problems p { color: #7F1D1D; }
.solutions article { background: var(--em-50); border-color: #A7F3D0; }
.mk { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; flex: none; }
.mk.no { background: #FEE2E2; color: #DC2626; }
.mk.yes { background: var(--em); color: #fff; }
.mk .i { stroke-width: 3; }
.ps-div { display: flex; align-items: center; gap: 16px; margin: 28px auto 0; max-width: 520px; }
.ps-div span { flex: 1; height: 2px; background: linear-gradient(90deg, transparent, #A7F3D0); }
.ps-div span:last-child { background: linear-gradient(90deg, #A7F3D0, transparent); }
.ps-div i { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--em); color: #fff; animation: bob 2s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(5px); } }
.solutions { margin-top: 28px; }

/* plans */
.toggle-row { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 24px 0 44px; font: 600 16px/1 var(--head); color: var(--muted); }
.toggle-row .on { color: var(--ink); }
.toggle-row em { font-style: normal; margin-left: 4px; padding: 4px 8px; border-radius: 999px; background: #D1FAE5; color: var(--em-dd); font-size: 13px; }
.switch { position: relative; width: 60px; height: 34px; padding: 0; border: 0; border-radius: 17px; background: #CBD5E1; cursor: pointer; transition: background var(--ease); }
.switch i { position: absolute; top: 4px; left: 4px; width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform var(--ease); }
.switch[aria-checked="true"] { background: var(--em); }
.switch[aria-checked="true"] i { transform: translateX(26px); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 32px 28px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.plan.pop { border: 2px solid var(--em); box-shadow: 0 20px 40px rgba(16, 185, 129, .18); }
.badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); padding: 6px 14px; border-radius: 999px; background: var(--em); color: #fff; font: 700 13px/1 var(--head); white-space: nowrap; }
.plan h3 { font-size: 24px; }
.price { margin-top: 14px; color: var(--muted); font-weight: 600; }
.price b { font: 800 52px/1 var(--head); color: var(--ink); letter-spacing: -.04em; }
.billed { margin-top: 6px; font-size: 14px; color: var(--em-dd); font-weight: 600; }
.plan ul { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 10px; flex: 1; align-content: start; }
.plan li { display: flex; gap: 10px; color: var(--ink); font-size: 16px; }
.plan li .i { width: 18px; height: 18px; color: var(--em); margin-top: 3px; stroke-width: 3; }
.plan li.all { font-weight: 700; }

/* timeline */
.timeline { list-style: none; padding: 0; margin: 56px auto 0; max-width: 920px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 50%; top: 8px; bottom: 8px; width: 3px; transform: translateX(-50%); background: linear-gradient(#A7F3D0, var(--em)); border-radius: 2px; }
.timeline li { position: relative; display: grid; grid-template-columns: 1fr 64px 1fr; align-items: center; margin-bottom: 28px; }
.t-ico { grid-column: 2; display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto; border-radius: 50%; background: var(--em); color: #fff; box-shadow: 0 0 0 8px #fff, 0 0 0 9px #A7F3D0; position: relative; z-index: 1; }
.t-ico .i { width: 26px; height: 26px; }
.t-card { grid-column: 1; grid-row: 1; padding: 22px 24px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); text-align: right; }
.timeline li:nth-child(even) .t-card { grid-column: 3; text-align: left; }
.t-card small { font: 700 13px/1 var(--head); color: var(--em-d); text-transform: uppercase; letter-spacing: .1em; }
.t-card h3 { margin-top: 6px; font-size: 22px; }
.t-card p { margin-top: 6px; font-size: 16px; }

/* coaches */
.coaches { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 44px; }
.coach { display: grid; grid-template-columns: 140px 1fr; gap: 22px; align-items: center; padding: 22px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform var(--ease), box-shadow var(--ease); }
.coach:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.c-img { width: 140px; height: 140px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 4px var(--em-50); }
.c-img svg { width: 100%; height: 100%; }
.coach h3 { font-size: 21px; }
.cred { font-weight: 700; color: var(--em-dd); font-size: 14px; }
.spec { margin-top: 6px; display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--em-50); color: var(--em-dd); font: 600 13px/1.2 var(--head); }
.quote { margin-top: 10px; font-style: italic; color: var(--body); }

/* results */
.results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.res { position: relative; padding: 22px 24px 24px 28px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.res::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: linear-gradient(180deg, #6EE7B7, var(--em-d)); }
.r-art { border-radius: 10px; overflow: hidden; }
.r-art svg { width: 100%; height: auto; }
.res h3 { margin-top: 18px; font-size: 24px; color: var(--em-dd); }
.res blockquote { margin: 10px 0 0; color: var(--ink); font-size: 17px; }
.who { margin-top: 12px; font-size: 15px; color: var(--muted); }
.who b { color: var(--ink); }
.disc { margin-top: 20px; text-align: center; font-size: 14px; color: var(--muted); }

/* meal day */
.day { display: grid; grid-template-columns: 1.7fr 1fr; gap: 32px; margin-top: 44px; align-items: start; }
.meals { list-style: none; padding: 0; margin: 0; position: relative; }
.meals::before { content: ""; position: absolute; left: 104px; top: 30px; bottom: 30px; width: 3px; background: #D1FAE5; }
.ml { display: grid; grid-template-columns: 86px 36px 1fr; align-items: center; margin-bottom: 14px; }
.ml-time { font: 700 15px/1 var(--head); color: var(--em-dd); text-align: right; padding-right: 8px; }
.ml-dot { width: 16px; height: 16px; margin: 0 auto; border-radius: 50%; background: var(--em); box-shadow: 0 0 0 5px var(--soft); position: relative; z-index: 1; }
.ml-card { display: grid; grid-template-columns: 72px 1fr 44px; align-items: center; gap: 14px; padding: 12px 14px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); animation: pop 300ms ease; }
@keyframes pop { from { transform: scale(.98); opacity: .6; } }
.ml-art svg { width: 72px; height: 72px; }
.ml-txt small { font: 700 12px/1 var(--head); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.ml-txt b { display: block; margin-top: 4px; font: 600 17px/1.3 var(--head); color: var(--ink); }
.ml-mac { display: block; margin-top: 4px; font-size: 14px; color: var(--em-dd); font-weight: 600; }
.swap { color: var(--em-dd); border: 1px solid #D1FAE5; }
.totals { position: sticky; top: 96px; padding: 28px; border-radius: var(--r); background: var(--ink); color: #CBD5E1; }
.totals h3 { color: #fff; font-size: 18px; text-transform: uppercase; letter-spacing: .08em; }
.cal { margin-top: 10px; font-size: 18px; }
.cal b { font: 800 48px/1 var(--head); color: #6EE7B7; }
.macros { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 14px; }
.macros li { display: grid; grid-template-columns: 1fr auto; gap: 6px; }
.macros b { color: #fff; font-family: var(--head); }
.bar { grid-column: 1 / -1; height: 8px; border-radius: 4px; background: #334155; position: relative; overflow: hidden; }
.bar::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: 4px; transition: width 400ms ease; }
.bar.p::after { background: #6EE7B7; } .bar.c::after { background: #FCD34D; } .bar.f::after { background: #FDA4AF; }
.note { font-size: 14px; margin-bottom: 18px; }
.totals .btn { width: 100%; }

/* faq */
.faq { margin-top: 40px; display: grid; gap: 12px; }
.faq details { border-radius: var(--r); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 60px; padding: 14px 20px; cursor: pointer; list-style: none; font: 600 18px/1.3 var(--head); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { color: var(--em); transition: transform var(--ease); }
.faq details[open] summary .i { transform: rotate(180deg); }
.faq details p { padding: 0 20px 18px; }

/* lead */
.lead { background: linear-gradient(135deg, var(--em) 0%, var(--em-d) 100%); color: #ECFDF5; padding: var(--sec) 0; text-align: center; }
.lead-in { max-width: 760px; }
.lead h2 { color: #fff; font-size: clamp(32px, 4.4vw, 50px); }
.lead-in > p { margin-top: 14px; font-size: 19px; }
.lead-form { display: flex; gap: 10px; max-width: 560px; margin: 32px auto 0; padding: 6px; border-radius: 999px; background: rgba(255, 255, 255, .18); }
.lead-form input { flex: 1; min-width: 0; min-height: 52px; padding: 0 20px; border: 0; border-radius: 999px; font: 400 17px/1 var(--text); color: var(--ink); }
.lead-form input:focus { outline: 3px solid #fff; }
.lead-form .btn { min-height: 52px; }
.lead-err { margin-top: 10px; color: #FEF3C7; font-weight: 700; min-height: 0; }
.lead-err:empty { display: none; }
.small { margin-top: 12px; font-size: 14px; opacity: .85; }
.foot { background: var(--ink); color: #94A3B8; padding: 28px 0; font-size: 14px; }
.foot .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; }
.foot b { color: #fff; }

/* dialog */
.dlg { width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: 20px; box-shadow: 0 40px 80px rgba(15, 23, 42, .3); color: var(--body); }
.dlg::backdrop { background: rgba(30, 41, 59, .6); backdrop-filter: blur(3px); }
.dlg-x { position: absolute; top: 10px; right: 10px; }
.quiz { padding: 28px; display: grid; gap: 16px; }
.q-top { padding-right: 40px; }
.kicker { font: 700 13px/1 var(--head); text-transform: uppercase; letter-spacing: .1em; color: var(--em-d); }
.q-prog { height: 6px; margin-top: 12px; border-radius: 3px; background: var(--em-50); overflow: hidden; }
.q-prog i { display: block; height: 100%; width: 0; background: var(--em); transition: width 300ms ease; }
.q-count { margin-top: 8px; font-size: 14px; color: var(--muted); min-height: 22px; }
.q-body h2 { font-size: 26px; }
.q-sub { margin-top: 8px; color: var(--muted); }
.opts { display: grid; gap: 8px; margin-top: 16px; }
.opt { position: relative; cursor: pointer; }
.opt input { position: absolute; opacity: 0; }
.opt span { display: flex; align-items: center; min-height: 52px; padding: 0 18px; border-radius: 12px; border: 2px solid var(--line); font-weight: 600; color: var(--ink); transition: all var(--ease); }
.opt input:checked + span { border-color: var(--em); background: var(--em-50); }
.opt input:focus-visible + span { outline: 3px solid var(--em); outline-offset: 2px; }
.field { display: grid; gap: 6px; margin-top: 14px; font-weight: 600; color: var(--ink); font-size: 15px; }
.field input { min-height: 50px; padding: 0 14px; border-radius: 12px; border: 2px solid var(--line); font: 400 17px/1 var(--text); color: var(--ink); }
.field input:focus { outline: none; border-color: var(--em); }
.err { color: #B91C1C; font-weight: 600; font-size: 15px; }
.err:empty { display: none; }
.q-nav { display: flex; justify-content: space-between; gap: 12px; }
.q-nav [hidden] { display: inline-flex; visibility: hidden; }
.q-nav .btn-primary { margin-left: auto; }
.rec { display: grid; justify-items: center; gap: 8px; text-align: center; padding: 8px 0; }
.rec > .i { width: 60px; height: 60px; padding: 14px; border-radius: 50%; background: var(--em); color: #fff; stroke-width: 3; }
.rec ul { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.rec li { padding: 6px 12px; border-radius: 999px; background: var(--em-50); color: var(--em-dd); font-weight: 600; font-size: 14px; }

.toast { position: fixed; left: 50%; bottom: 24px; z-index: 90; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px; font-size: 15px; transition: opacity var(--ease), transform var(--ease); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition-duration: 1ms !important; } }

@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; }
  .burger { display: inline-grid; margin-left: 0; }
  .hero-in { grid-template-columns: 1fr; }
  .hero-art { max-width: 620px; }
  .plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .plan.pop { order: -1; }
  .coaches { grid-template-columns: 1fr; }
  .results { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; }
  .day { grid-template-columns: 1fr; }
  .totals { position: static; }
}
@media (max-width: 760px) {
  :root { --sec: 72px; }
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .nav-in { gap: 8px; height: 64px; }
  .nav-cta { display: none; }
  .burger { margin-left: auto; }
  .thin { display: none; }
  .hero { padding: 36px 0 64px; }
  h1 { font-size: 42px; }
  .sub { font-size: 18px; }
  .hero-copy .btn-lg { width: 100%; }
  .f1 { left: 8px; top: 8px; padding: 10px 14px; }
  .f1 b { font-size: 22px; }
  .f2 { right: 8px; bottom: 8px; padding: 10px 14px; font-size: 14px; }
  .ps { grid-template-columns: 1fr; gap: 10px; margin-top: 32px; }
  .timeline::before { left: 28px; }
  .timeline li { grid-template-columns: 56px 1fr; gap: 16px; }
  .t-ico { grid-column: 1; margin: 0; }
  .t-card, .timeline li:nth-child(even) .t-card { grid-column: 2; text-align: left; }
  .coach { grid-template-columns: 96px 1fr; gap: 16px; padding: 18px; }
  .c-img { width: 96px; height: 96px; }
  .meals::before { left: 15px; }
  .ml { grid-template-columns: 32px 1fr; row-gap: 6px; }
  .ml-time { grid-column: 2; grid-row: 1; text-align: left; padding: 0; }
  .ml-dot { grid-column: 1; grid-row: 1; }
  .ml-card { grid-column: 1 / -1; grid-template-columns: 56px 1fr 44px; margin-left: 32px; }
  .ml-art svg { width: 56px; height: 56px; }
  .lead-form { flex-direction: column; border-radius: 20px; padding: 8px; }
  .lead-form .btn { width: 100%; }
  .quiz { padding: 22px 18px; }
}
.switch::after { content: ""; position: absolute; inset: -6px -4px; }
