/* feature page kit, shared by every page except home */
.fh{position:relative;padding:clamp(130px,15vh,170px) 0 clamp(70px,9vw,120px);overflow:clip;background:linear-gradient(180deg,#FFFFFF 0%,#FFFFFF 50%,var(--peach) 100%)}
.fh::before{content:"";position:absolute;right:-12%;top:8%;width:min(900px,90vw);aspect-ratio:1;background:radial-gradient(closest-side,rgba(255,138,61,.4),rgba(255,138,61,0));pointer-events:none;animation:drift1 20s ease-in-out infinite;will-change:transform}
.fh::after{content:"";position:absolute;left:-14%;bottom:-30%;width:min(700px,80vw);aspect-ratio:1;background:radial-gradient(closest-side,rgba(255,179,126,.35),rgba(255,179,126,0));pointer-events:none;animation:drift2 24s ease-in-out infinite;will-change:transform}
.fh .split{position:relative}
.fh .head{gap:24px}
.fh h1{font-size:clamp(44px,5.8vw,88px)}
.fh-v{position:relative}
.fh-v .frame{aspect-ratio:4/4.4;box-shadow:0 50px 100px -40px rgba(120,40,0,.35)}
.float{position:absolute;z-index:3}
.res{display:grid;grid-template-columns:52px 1fr auto;gap:14px;align-items:center;padding:12px 18px 12px 12px;width:min(360px,86%)}
.res img{width:52px;height:52px;border-radius:50%}
.res b{display:block;font:500 16px/1.25 var(--display)}
.res small{display:block;font-size:12.5px;color:var(--ink-3)}
.res strong{font:400 30px/1 var(--display);color:var(--orange);letter-spacing:-.04em}
.res strong small{display:inline;font:500 12px var(--body);color:var(--ink-3);margin-left:3px}

/* a true sequence of steps */
.steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(16px,2vw,28px);counter-reset:st}
.step{display:flex;flex-direction:column;gap:18px}
.step .vis{position:relative;aspect-ratio:1/1.05;border-radius:var(--r);background:var(--mist);overflow:hidden;display:grid;place-items:center}
.step .n{font:500 13px/1 var(--body);color:var(--orange)}
.step .h-s{margin-top:-6px}
@media (max-width:980px){.steps{grid-template-columns:1fr}.step .vis{aspect-ratio:4/3}}

/* edit rows */
.ed{padding:clamp(18px,2.2vw,28px);display:flex;flex-direction:column;gap:6px}
.ed-top{display:flex;align-items:baseline;justify-content:space-between;gap:14px;padding-bottom:14px;border-bottom:1px solid var(--line)}
.ed-top>div>b.num{font:400 clamp(48px,5vw,66px)/1 var(--display);letter-spacing:-.05em;color:var(--ink)}
.ed-m b{font-weight:600}
.ed-top small{font-size:14px;color:var(--ink-3)}
.ed-m{display:flex;gap:16px;font-size:13px;color:var(--ink-2);flex-wrap:wrap}
.ed-m span{display:inline-flex;align-items:center;gap:6px}
.ed-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 14px;align-items:center;padding:14px 0;border-bottom:1px solid var(--line)}
.ed-row .nm{font-weight:500}
.ed-row .nm small{display:block;font-weight:400;font-size:13px;color:var(--ink-3)}
.ed-row .kc{font-variant-numeric:tabular-nums;color:var(--ink-2);font-size:15px}
.stp{grid-column:1/-1;display:grid;grid-template-columns:40px 1fr 40px 64px;align-items:center;gap:12px}
.stp button{width:40px;height:40px;border-radius:50%;background:var(--mist);font-size:20px;line-height:1;display:grid;place-items:center;transition:background .3s,transform .3s var(--ease)}
.stp button:hover{background:var(--mist-2)}
.stp button:active{transform:scale(.92)}
.stp output{text-align:right;font-variant-numeric:tabular-nums;font-weight:500}
input[type=range]{-webkit-appearance:none;appearance:none;width:100%;height:28px;background:transparent;cursor:pointer}
input[type=range]::-webkit-slider-runnable-track{height:4px;border-radius:4px;background:linear-gradient(90deg,var(--orange) var(--p,50%),var(--mist-2) var(--p,50%))}
input[type=range]::-moz-range-track{height:4px;border-radius:4px;background:var(--mist-2)}
input[type=range]::-moz-range-progress{height:4px;border-radius:4px;background:var(--orange)}
input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:22px;height:22px;border-radius:50%;background:#fff;margin-top:-9px;box-shadow:0 0 0 1px rgba(12,12,16,.1),0 4px 12px rgba(12,12,16,.18)}
input[type=range]::-moz-range-thumb{width:22px;height:22px;border:0;border-radius:50%;background:#fff;box-shadow:0 0 0 1px rgba(12,12,16,.1),0 4px 12px rgba(12,12,16,.18)}
.seg{display:inline-flex;padding:4px;border-radius:999px;background:var(--mist);gap:2px}
.seg button{height:38px;padding:0 16px;border-radius:999px;font-size:14px;font-weight:500;color:var(--ink-2);transition:background .35s var(--ease),color .35s}
.seg button.on{background:#fff;color:var(--ink);box-shadow:0 1px 2px rgba(12,12,16,.08),0 4px 12px rgba(12,12,16,.08)}
.dark .seg{background:rgba(255,255,255,.08)}.dark .seg button{color:var(--fog-2)}.dark .seg button.on{background:#fff;color:var(--ink)}

/* chat bubbles */
.bub{display:inline-flex;flex-direction:column;gap:12px;padding:16px 18px;border-radius:22px 22px 22px 6px;background:#fff;color:var(--ink);box-shadow:0 18px 50px -18px rgba(12,12,16,.3);max-width:340px}
.bub .who{display:flex;align-items:center;gap:8px;font-size:12.5px;font-weight:500;color:var(--ink-3)}
.bub .who i{width:18px;height:18px;border-radius:5px;background:var(--logo)}
.bub p{font:400 18px/1.35 var(--display);letter-spacing:-.01em}
.bub .chips{display:flex;flex-wrap:wrap;gap:8px}
.me{align-self:flex-end;border-radius:22px 22px 6px 22px;background:var(--ink);color:#fff}

/* cta band */
.cta{position:relative;overflow:clip;background:radial-gradient(80% 100% at 50% 100%,#FF8A3D 0%,#F26A12 50%,#E25A08 100%);color:#fff;padding:clamp(100px,12vw,170px) 0}
.cta .wrap{display:flex;flex-direction:column;align-items:center;text-align:center;gap:26px}
.cta .lead{color:rgba(255,255,255,.88)}
.cta [data-stores]{justify-content:center}
.cta .orb{position:absolute;width:clamp(180px,20vw,320px);aspect-ratio:1;border-radius:50%;box-shadow:0 40px 80px -30px rgba(80,20,0,.6)}
.cta .orb.a{left:-5%;top:10%}.cta .orb.b{right:-4%;bottom:6%}
@media (max-width:700px){.cta .orb{width:180px}.cta .orb.a{left:-24%}.cta .orb.b{right:-24%}}

/* list rows with photos */
.rows-p{display:flex;flex-direction:column}
.rows-p li{display:grid;grid-template-columns:56px 1fr auto auto;gap:16px;align-items:center;padding:14px 0;border-bottom:1px solid var(--line)}
.rows-p img{width:56px;height:56px;border-radius:14px}
.rows-p b{display:block;font:500 17px/1.25 var(--display)}
.rows-p small{display:block;font-size:13px;color:var(--ink-3)}
.rows-p .kc{font-variant-numeric:tabular-nums;color:var(--ink-2)}
.plus{flex:none;width:38px;height:38px;border-radius:50%;background:var(--orange);color:#fff;display:grid;place-items:center;font-size:20px;transition:transform .4s var(--ease)}
.plus:hover{transform:rotate(90deg)}
@media (max-width:640px){.rows-p li{grid-template-columns:48px minmax(0,1fr) auto;gap:12px}.rows-p li .kc{display:none}.rows-p img{width:48px;height:48px}.rows-p b{font-size:16px}}

/* ---------- v3: contrast, closing band, Android phones, the phone layer ---------- */
/* contrast, as across the site: orange fills carry dark words (5.5:1); small orange words on white use the deeper ember (#C2410C) */
:root{--ember:#C2410C}
.btn-orange,.chip.or.on,.plus{background:var(--orange);color:var(--ink)}
.btn-orange::before{background:var(--ink)}.btn-orange:hover{color:#fff}
.rows-p .kc small{display:block;font-size:12px;color:var(--ink-3)}
button.btn{border:0;cursor:pointer}

/* closing band: the words always sit above the dishes */
.cta .wrap{position:relative;z-index:2}
.cta .lead{color:#fff;font-size:24px;line-height:1.35;max-width:30ch}
.cta .h-xl{text-shadow:0 2px 30px rgba(120,40,0,.25)}

/* the phones are Android: a punch-hole camera, not an island */
.phone::after{top:20px;width:12px;height:12px;margin-left:-6px;border-radius:50%;background:#0A0A0D;box-shadow:0 0 0 2px rgba(255,255,255,.04)}
.sb{padding:8px 26px 0;font-size:12.5px}

/* every tap target is at least 44 px */
.seg button{min-height:44px}
.chip{min-height:40px}

@media (max-width:640px){
  .sec{padding:76px 0}
  .fh{padding:112px 0 64px}
  .fh .head{gap:18px}
  .head{gap:16px}
  .mt-l{margin-top:44px}.mt-m{margin-top:30px}
  .split{gap:36px}
  .lead{font-size:17px}
  .btns{width:100%}
  .btns .btn{flex:1 1 140px;padding:0 18px}
  .chip{min-height:44px;padding:0 16px}
  .seg{max-width:100%}
  .seg button{padding:0 14px}
  input[type=range]{height:44px}
  input[type=range]::-webkit-slider-thumb{width:26px;height:26px;margin-top:-11px}
  input[type=range]::-moz-range-thumb{width:26px;height:26px}
  .plus{width:44px;height:44px}
  .rows-p li{padding:12px 0}
  .steps{gap:40px}
  .step .vis{aspect-ratio:16/11}
  .res{width:min(340px,92%);padding:10px 14px 10px 10px;grid-template-columns:46px 1fr auto;gap:12px}
  .res img{width:46px;height:46px}
  .res strong{font-size:27px}
  .bub{max-width:none}
  .bub p{font-size:17px}
}
/* the closing band on a tablet: dishes in the corners, the words clear between them */
@media (min-width:701px) and (max-width:1100px){
  .cta{padding:180px 0 200px}
  .cta .orb{width:210px}
  .cta .orb.a{left:-62px;top:-46px}
  .cta .orb.b{right:-62px;bottom:-46px;top:auto}
}
/* the closing band on a phone: the same, smaller */
@media (max-width:700px){
  .cta{padding:150px 0 168px}
  .cta .orb{width:150px}
  .cta .orb.a{left:-46px;top:-34px}
  .cta .orb.b{right:-46px;bottom:-34px;top:auto}
  .cta .wrap{gap:22px}
  .cta [data-stores]{width:100%}
}
/* the editor's total keeps "kcal" beside it; the macro line wraps under it when it needs room */
.ed-top{flex-wrap:wrap;row-gap:10px}
.ed-top>div:first-child{flex:none;white-space:nowrap}
.ed-top>div>b.num{line-height:1.28}
/* the editor's macro line always sits under the kcal number, so the card keeps one height while the numbers change */
@media (min-width:641px){.ed-top>.ed-m{flex-basis:100%}}
