:root{color-scheme:light;--ink:#1c1b20;--muted:#69686d;--line:#e8e6e8;--paper:#fff;--panel:#f7f6fa;--peach:#e5a677;--green:#167653;--ease:cubic-bezier(.22,.7,.24,1);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:#fbfaf8}
*{box-sizing:border-box}
body{margin:0}
button,a,input{font:inherit}
button{cursor:pointer;color:inherit}
button:disabled{cursor:default}
button:focus-visible,a:focus-visible,[tabindex]:focus-visible,summary:focus-visible,input:focus-visible{outline:2px solid #3772df;outline-offset:4px}
a{color:inherit}
h1,h2,h3,p,figure,blockquote{margin:0}
h1,h2,h3{letter-spacing:-.04em}
h1{font-size:clamp(30px,5vw,45px);line-height:1.12;font-weight:730}
h2{font-size:22px;line-height:1.2}
p{line-height:1.48}
svg{display:block}
.icon{width:23px;height:23px;flex:none}
.brand{display:flex;align-items:center;gap:10px;font-size:21px;font-weight:750;letter-spacing:-.06em}
.brand img{width:34px;height:34px}
.landing{min-height:100svh;max-width:1320px;margin:auto;padding:28px 54px 42px}
.landing-header{display:flex;justify-content:space-between;align-items:center;margin:0 auto 42px;max-width:1160px}
.language{border:1px solid #e9e5e0;border-radius:999px;padding:8px 12px;font-size:12px;letter-spacing:.03em;font-weight:650;background:#fff}
.hero{display:grid;grid-template-columns:1fr 1.06fr;align-items:center;gap:clamp(38px,7vw,100px);max-width:1160px;margin:auto}
.hero-copy{animation:arrive .66s var(--ease) both}
.hero-copy h1{font-size:clamp(48px,6.4vw,94px);line-height:.98;letter-spacing:-.075em}
.hero-copy h1 span{display:block;color:#a85437}
.hero-copy p{font-size:clamp(16px,1.6vw,20px);max-width:405px;color:#605a56;margin-top:24px}
.primary{display:flex;justify-content:center;align-items:center;gap:12px;width:100%;min-height:56px;border:0;border-radius:999px;background:var(--ink);color:white;font-weight:650;text-align:center;text-decoration:none;padding:14px 24px;transition:background .22s,transform .22s var(--ease),box-shadow .22s}
.primary:not(:disabled):hover{background:#333137;box-shadow:0 5px 16px #211e2222}
.primary:not(:disabled):active{transform:scale(.98)}
.primary:disabled{background:#e7e6e8;color:#646268}
.hero-copy .primary{margin-top:29px;max-width:358px;background:#235be6;box-shadow:0 12px 24px #235be62e;min-height:62px}
.hero-copy .primary:hover{background:#184dcc}
.hero-copy .primary .icon{width:19px}
.hero-note{display:flex;align-items:center;gap:8px;margin:15px 0 0 3px;font-size:13px;color:#625b56}
.hero-note .icon{width:15px;height:15px}
.demo{min-height:575px;display:grid;place-items:center;min-width:0;animation:arrive .78s .06s var(--ease) both}
.phone{width:248px;aspect-ratio:248/518;border:6px solid #252422;border-radius:42px;background:#222;position:relative;overflow:hidden;box-shadow:0 22px 44px #24211d2a,0 0 0 1px #665f58}
.phone>img{display:block;width:100%;height:100%;object-fit:cover;object-position:center;animation:camera-feed 7s infinite var(--ease)}
.phone:after{content:"";position:absolute;bottom:6px;left:34%;width:32%;height:4px;background:white;border-radius:10px;z-index:4;mix-blend-mode:difference}
.island{position:absolute;z-index:4;top:10px;left:calc(50% - 37px);width:74px;height:19px;border-radius:30px;background:#171618}
.scan-frame{position:absolute;inset:29% 9% 34%;animation:frame 7s infinite;overflow:hidden}
.scan-frame i{position:absolute;width:20px;height:20px;border:2px solid #fff}
.scan-frame i:nth-child(1){top:0;left:0;border-width:2px 0 0 2px;border-radius:7px 0 0}
.scan-frame i:nth-child(2){top:0;right:0;border-width:2px 2px 0 0;border-radius:0 7px 0 0}
.scan-frame i:nth-child(3){bottom:0;left:0;border-width:0 0 2px 2px;border-radius:0 0 0 7px}
.scan-frame i:nth-child(4){bottom:0;right:0;border-width:0 2px 2px 0;border-radius:0 0 7px 0}
.scan-line{height:2px;position:absolute;left:3px;right:3px;top:0;background:#c8fae8;box-shadow:0 0 10px 2px #b2f6dd;animation:scan 7s infinite var(--ease)}
.camera-controls{position:absolute;bottom:6%;left:0;right:0;display:grid;justify-items:center;gap:8px;animation:frame 7s infinite}
.camera-mode{color:#fff;background:#151515b3;border-radius:999px;padding:4px 9px;font-size:9px;font-weight:650}
.shutter{width:clamp(24px,5vw,38px);aspect-ratio:1;border:2px solid white;box-shadow:inset 0 0 0 2px #3d3730;background:#fff;border-radius:50%;animation:shutter 7s infinite}
.camera-flash{position:absolute;inset:0;z-index:2;pointer-events:none;background:#fff;opacity:0;animation:camera-flash 7s infinite}
.meal-card{position:absolute;z-index:3;bottom:12px;left:8px;right:8px;background:#fff;border-radius:20px;padding:13px;box-shadow:0 3px 20px #211d2330;animation:meal 7s infinite var(--ease)}
.meal-name{font-size:13px;font-weight:750;margin:5px 0 9px}
.detected{display:inline-flex;gap:4px;align-items:center;color:#20664c;background:#e8f5ec;padding:4px 7px;border-radius:20px;font-weight:700;font-size:9px}
.meal-macros{display:grid;grid-template-columns:repeat(4,1fr);gap:3px}
.meal-macros span{background:#f5f3f1;padding:6px 1px;border-radius:8px;font-size:8px;text-align:center;color:#625950}
.meal-macros b{display:block;font-size:13px;color:#1e1c1a}
@keyframes frame{0%,42%,100%{opacity:1}50%,95%{opacity:0}}
@keyframes camera-feed{0%,100%{transform:scale(1.035) translateY(1%)}40%,96%{transform:scale(1)}}
@keyframes shutter{0%,39%,45%,100%{transform:scale(1)}42%{transform:scale(.88)}}
@keyframes camera-flash{0%,41%,49%,100%{opacity:0}43%{opacity:.55}}
@keyframes scan{0%,7%{top:4%;opacity:0}12%{opacity:1}42%{top:96%;opacity:1}48%,100%{top:96%;opacity:0}}
@keyframes meal{0%,43%,100%{opacity:0;transform:translateY(32px)}54%,91%{opacity:1;transform:translateY(0)}}
@keyframes arrive{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@keyframes enter{from{opacity:0;transform:translateX(var(--enter-x,16px)) translateY(5px)}to{opacity:1;transform:none}}
@keyframes draw{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
@keyframes grow{from{transform:scaleY(0)}to{transform:scaleY(1)}}
@keyframes float{50%{transform:translateY(-8px) rotate(3deg)}}
.quiz-bg{min-height:100svh;background:radial-gradient(ellipse at 82% 86%,#f8e9e2 0%,transparent 46%),#f6f4f1;display:grid;place-items:center;padding:24px}
.quiz{width:min(100%,660px);height:min(900px,calc(100dvh - 48px));min-height:360px;background:var(--paper);border:1px solid #e9e5e3;border-radius:30px;box-shadow:0 20px 85px #44342d13;display:grid;grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden}
.quiz-top{display:flex;gap:20px;align-items:center;padding:20px 30px 10px}
.back{height:40px;width:40px;flex:none;border:0;border-radius:50%;display:grid;place-items:center;background:#f6f5f7}
.back:hover{background:#ece9ef}
.progress{width:100%;height:5px;background:#eae8ea;border-radius:10px;overflow:hidden}
.progress>span{display:block;width:0;height:100%;border-radius:inherit;background:var(--ink);transition:width .5s var(--ease)}
.viewport{overflow:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#dedbe0 transparent}
.step{min-height:100%;display:flex;flex-direction:column;gap:22px;padding:16px 32px 25px;animation:enter .38s var(--ease) both}
.step header p,.subtle{color:var(--muted)}
.step header p{margin-top:10px;font-size:16px}
.step-body{width:100%;margin:auto 0}
.step.long .step-body,.step.results .step-body{margin:0}
.step.centered{text-align:center;justify-content:center}
.step.centered .step-body{margin:0}
.step.centered h1{max-width:520px;margin-inline:auto}
.step.centered header{order:2}
.step.centered .step-body{order:1}
.step.centered .center-extra{order:3}
.quiz-footer{padding:14px 30px 18px;background:#fff;border-top:1px solid #f1eff0}
.quiz-footer:empty{display:none}
.secondary{display:block;width:100%;min-height:43px;margin-top:4px;background:none;border:none;font-weight:650}
.secondary:hover{text-decoration:underline}
.choices{display:grid;gap:10px;border:0;margin:0;padding:0}
.choice{display:flex;align-items:center;gap:13px;position:relative;min-height:62px;padding:9px 14px;border:1px solid #e4e2e6;border-radius:14px;cursor:pointer;transition:background .24s,border-color .24s,transform .22s}
.choice:hover{background:#f9f8fa;border-color:#c9c4cb}
.choice:active{transform:scale(.99)}
.choice:has(input:checked){border-color:var(--ink);background:#f7f6f8;box-shadow:inset 0 0 0 1px var(--ink)}
.choice:has(input:focus-visible){outline:2px solid #3772df;outline-offset:3px}
.choice input{position:absolute;opacity:0;width:1px;height:1px}
.choice .copy{flex:1;min-width:0;line-height:1.22;font-weight:650}
.choice small{display:block;font-size:13px;color:var(--muted);margin-top:4px;font-weight:400}
.glyph{display:grid;place-items:center;flex:none;width:39px;height:39px;background:#f4f2f7;border-radius:50%;font-weight:800}
.glyph .icon{width:21px;height:21px}
.radio-dot{flex:none;width:20px;height:20px;border:1px solid #cac7ce;border-radius:50%;transition:background .2s,border-color .2s;display:grid;place-items:center}
input:checked~.radio-dot{background:var(--ink);border-color:var(--ink)}
input:checked~.radio-dot:after{content:"";width:7px;height:4px;border:solid #fff;border-width:0 0 2px 2px;transform:rotate(-45deg) translateY(-1px)}
.segment{--segment:0;display:flex;isolation:isolate;position:relative;max-width:204px;margin:0 auto 18px;border-radius:30px;background:#efedf0;padding:3px}
.segment:before{content:"";position:absolute;z-index:-1;inset:3px auto 3px 3px;width:calc(50% - 3px);border-radius:30px;background:#fff;transform:translateX(calc(var(--segment) * 100%));transition:transform .28s var(--ease)}
.segment button{width:50%;border:0;background:transparent;border-radius:30px;padding:8px;font-size:14px;font-weight:650}
.wheels{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;position:relative;max-width:495px;margin:auto;isolation:isolate}
.wheels:before{content:"";position:absolute;left:0;right:0;top:calc(50% - 21px);height:42px;border-radius:30px;background:#f0eff2;z-index:-1}
.wheel{height:210px;overflow:auto;scroll-snap-type:y mandatory;overscroll-behavior:contain;scrollbar-width:none;cursor:grab;touch-action:pan-y;user-select:none;mask-image:linear-gradient(transparent,#000 33%,#000 67%,transparent)}
.wheel:active,.ruler:active{cursor:grabbing}
.wheel::-webkit-scrollbar,.ruler::-webkit-scrollbar{display:none}
.wheel-items{padding:84px 0}
.wheel-item{display:block;width:100%;height:42px;padding:0;border:0;background:transparent;scroll-snap-align:center;color:#75737b;font-size:17px;text-align:center}
.wheel-item[aria-selected=true]{color:var(--ink);font-weight:750}
.wheel-item:focus-visible{outline-offset:-3px}
.reading{text-align:center;margin:9px auto 12px}
.reading span{display:block;color:var(--muted);font-size:15px}
.reading strong,.pace-value{display:block;font-size:clamp(34px,7vw,50px);letter-spacing:-.06em;font-weight:750;font-variant-numeric:tabular-nums}
.ruler-wrap{--tick:13px;position:relative}
.ruler-wrap:after{position:absolute;pointer-events:none;content:"";width:2px;height:61px;top:0;left:calc(50% - 1px);background:var(--ink);border-radius:2px}
.ruler{height:86px;overflow:auto hidden;scroll-snap-type:x mandatory;overscroll-behavior:contain;touch-action:pan-x;scrollbar-width:none;cursor:grab;user-select:none;mask-image:linear-gradient(to right,transparent,#000 12%,#000 88%,transparent)}
.ticks{display:flex;width:max-content;padding-inline:calc(var(--ruler-half) - var(--tick)/2)}
.tick{height:84px;width:var(--tick);flex:none;scroll-snap-align:center;position:relative;text-align:center;font-size:10px;color:#615d67;padding-top:64px}
.tick:before{content:"";position:absolute;bottom:23px;left:calc(50% - .5px);width:1px;height:23px;background:#9a969d}
.tick.major:before{height:42px;background:#46434b}
.hint{display:block;text-align:center;color:var(--muted);font-size:12px;margin-top:6px}
.pace{text-align:center}
.pace-labels{display:flex;justify-content:space-between;margin:16px 0 3px}
.pace-labels button{border:0;background:none;font-size:13px;display:grid;justify-items:center;gap:6px;padding:4px;color:var(--muted)}
.pace-labels button .icon{width:32px;height:32px}
.pace-labels button.active{color:#a35430;font-weight:750}
.pace input{width:100%;accent-color:var(--ink);cursor:grab;margin:8px 0 22px}
.panel,.card{background:var(--panel);border:1px solid #eceaef;border-radius:21px;padding:20px}
.panel>p,.card>p{margin-top:8px}
.accent{color:#a45633}
.chart{width:100%;height:auto;margin:18px 0 6px;overflow:visible}
.chart .draw{stroke-dasharray:1;stroke-dashoffset:0;animation:draw 1.2s .13s var(--ease) both}
.chart .shade{animation:arrive .75s .36s var(--ease) both}
.chart-labels{display:flex;justify-content:space-between;gap:8px;font-size:13px;font-weight:650}
.chart-caption{text-align:center;color:var(--muted);margin-top:19px!important}
.compare{display:flex;gap:14px;justify-content:center;margin:8px 0 14px}
.bar{height:172px;width:128px;position:relative;isolation:isolate;overflow:hidden;border-radius:20px;background:#fff;text-align:center;font-weight:700;padding:13px 8px}
.bar>span{position:absolute;z-index:-1;bottom:0;left:0;width:100%;height:32%;background:#e2e0e5;display:grid;align-items:end;justify-content:center;padding-bottom:12px;border-radius:16px;transform-origin:bottom;animation:grow .82s .16s var(--ease) both}
.bar:last-child>span{height:65%;color:#fff;background:var(--ink)}
.celebration{width:min(54%,218px);aspect-ratio:1;margin:0 auto 3px;border-radius:50%;background:linear-gradient(130deg,#f3dbe4,#dbe5f7);display:grid;place-items:center}
.celebration>div{width:73%;aspect-ratio:1;border-radius:50%;display:grid;place-items:center;background:white}
.celebration .icon{width:58%;height:58%;animation:float 3s ease-in-out infinite}
.center-extra{max-width:470px;margin:0 auto}
.center-extra .panel{padding:15px}
.workout-list{background:#fff;box-shadow:0 6px 20px #241c2510}
.workout-row{display:flex;align-items:center;gap:12px;padding:11px 0;border-bottom:1px solid var(--line);animation:arrive .5s var(--ease) both}
.workout-row:nth-child(2){animation-delay:.12s}
.workout-row:nth-child(3){animation-delay:.24s}
.workout-row:nth-child(4){animation-delay:.36s}
.workout-row b:last-child{margin-left:auto;color:var(--green);white-space:nowrap}
.workout-row small{display:block;color:var(--muted)}
.workout-row.total{border:0;margin-top:9px;border-radius:12px;background:#e6f5ed;padding:12px}
.budget{text-align:center;margin-top:15px}
.budget strong{font-size:22px}
.stats{display:flex;justify-content:space-evenly;text-align:center;gap:10px;margin:6px 0 17px}
.stats b{display:block;font-size:25px;letter-spacing:-.04em}
.stats small{color:var(--muted)}
.review-list,.result-list{display:grid;gap:13px}
.review header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px;flex-wrap:wrap}
.stars{color:#9b6217;letter-spacing:.07em}
.review time{color:var(--muted);font-size:12px}
.attribution{font-size:12px;color:var(--muted);margin-bottom:14px;text-align:center}
.loading{min-height:100%;display:grid;align-content:center;text-align:center;gap:15px}
.loading .percent{font-size:clamp(55px,13vw,89px);font-weight:750;letter-spacing:-.07em;line-height:1;font-variant-numeric:tabular-nums}
.loading .progress{height:10px;margin-top:8px}
.loading .progress span{background:linear-gradient(90deg,#cd707e,#698cd6);transition:width .12s linear}
.loading .card{text-align:left;margin-top:6px}
.loading ul,.plain-list{list-style:none;padding:0;margin:10px 0 0}
.loading li{display:flex;justify-content:space-between;padding:6px 0}
.loading li span{opacity:0;transition:opacity .25s}
.loading li.done span{opacity:1}
.result-title{text-align:center}
.result-title h1{font-size:clamp(29px,5vw,40px)}
.result-check{display:grid;place-items:center;color:#fff;background:var(--ink);width:38px;height:38px;border-radius:50%;margin:0 auto 10px}
.result-list .panel{min-width:0}
.metric-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:13px}
.metric{min-width:0;text-align:left;position:relative;border:1px solid #eceaee;background:#fff;border-radius:15px;padding:11px;display:grid;gap:3px}
.metric:hover{border-color:#a49da8}
.metric.big{grid-column:1/-1;grid-template-columns:auto 1fr;align-items:center;gap:12px;padding:13px}
.metric strong{display:block;font-size:23px;letter-spacing:-.04em}
.metric.big strong{font-size:34px}
.metric small{color:var(--muted)}
.metric .edit{position:absolute;top:8px;right:8px;width:13px;height:13px;color:#696570}
.metric .icon:first-child{width:20px;height:20px}
details{margin-top:12px;color:var(--muted);font-size:14px}
summary{cursor:pointer;padding:4px 0;font-weight:650}
details p{margin-top:8px}
.plain-list{display:grid;gap:7px}
.plain-list li{display:flex;align-items:center;gap:9px;background:white;border:1px solid #eceaee;padding:10px 12px;border-radius:12px}
.plain-list .icon{width:19px;height:19px}
.personal-summary{margin:0 auto 0;text-align:center}
.status-note:empty{display:none}
.status-note{font-size:13px;color:#933c26;text-align:center;min-height:1.4em;margin-top:4px}
dialog{width:min(calc(100% - 36px),375px);border:1px solid #e5e2e8;border-radius:20px;padding:23px;color:var(--ink);box-shadow:0 15px 70px #201b2440}
dialog::backdrop{background:#221d2880}
dialog label,dialog input{display:block;width:100%}
dialog label{margin:12px 0}
dialog input{border:1px solid #bbb6c0;border-radius:8px;padding:9px}
dialog .primary{min-height:44px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
@media(max-width:760px){
.landing{padding:17px 18px 24px}
.landing-header{margin-bottom:15px}
.hero{grid-template-columns:1fr;gap:18px}
.hero-copy{text-align:center;grid-row:2}
.hero-copy h1{font-size:clamp(39px,10vw,61px);max-width:500px;margin:auto}
.hero-copy p{font-size:15px;margin:12px auto 0;max-width:330px}
.hero-copy .primary{margin:17px auto 0;max-width:440px;min-height:53px}
.hero-note{justify-content:center;margin-top:10px}
.demo{min-height:0;width:100%;height:clamp(270px,45svh,430px);justify-self:center}
.phone{width:auto;height:calc(100% - 16px);border-radius:30px;border-width:4px}
.island{width:51px;height:13px;left:calc(50% - 25px);top:6px}
.meal-card{left:4px;right:4px;bottom:8px;border-radius:13px;padding:7px}
.meal-name{font-size:10px;margin:3px 0 4px}
.meal-macros b{font-size:10px}
.meal-macros span{font-size:7px}
.camera-mode{font-size:8px}
.quiz-bg{padding:0;display:block;background:white}
.quiz{height:100dvh;min-height:0;width:100%;border:0;border-radius:0;box-shadow:none}
.quiz-top{padding:max(13px,env(safe-area-inset-top)) 18px 8px;gap:14px}
.step{padding:13px 20px 21px}
.quiz-footer{padding:11px 17px max(13px,env(safe-area-inset-bottom))}
}
@media(max-height:540px) and (min-width:761px){.quiz-bg{padding:8px}.quiz{height:calc(100dvh - 16px);min-height:0}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}.meal-card{animation:none!important}.scan-frame,.camera-controls,.camera-flash{display:none}}
