/* Restore the ingredient-to-app story without rasterized UI text. */
.hero{display:block;padding-block:48px 65px}
.hero-copy{display:grid;grid-template-columns:1.7fr 1fr;gap:0 35px;align-items:end;margin-bottom:35px}
.hero .eyebrow{grid-column:1/-1;margin-bottom:16px}
.hero h1{font-size:clamp(36px,3.9vw,54px);line-height:1.24;letter-spacing:-.055em}
.hero-intro-action{padding-bottom:3px}
.hero-description{font-size:16px;line-height:1.7;margin:0 0 16px}
.hero-intro-action>.button{padding:13px 20px;font-size:14px;gap:22px}
.hero-note{font-size:12px;margin-top:10px}
.hero-product{margin:0;padding:0}
.hero-stage{position:relative;aspect-ratio:1672/941;background:#f1e5d5;border-radius:32px;isolation:isolate}
.scene-photo{position:absolute;inset:0;overflow:hidden;border-radius:32px}
.scene-plane{position:absolute;inset:0}
.scene-image{display:block;width:100%;height:100%;max-width:none;object-fit:fill}
.scene-brand{position:absolute;top:6.5%;left:4.5%;display:flex;align-items:center;gap:7px;color:#36272a;font-size:16px;font-weight:750}
.scene-brand img{width:26px;height:26px;border-radius:7px}
.scene-brand small{font-size:11px;font-weight:500;margin-left:3px}
.scene-caption{position:absolute;top:16%;left:4.5%;font-size:clamp(13px,1.3vw,17px);font-weight:550;color:#645148;letter-spacing:-.02em}
.ingredient-lines{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}
.ingredient-lines path{fill:none;stroke:#ffffff;stroke-width:1.6;vector-effect:non-scaling-stroke;filter:drop-shadow(0 1px 1px #60412955)}
.ingredient-lines circle{fill:#fff;stroke:#873e4b;stroke-width:1.2;vector-effect:non-scaling-stroke}
.ingredient-lines .selected path{stroke:#873e4b;stroke-width:2.2}
.ingredient-lines .selected circle{fill:#873e4b;stroke:#fff}
.scene-label{position:absolute;left:var(--label-x);top:var(--label-y);transform:translate(-50%,-50%);padding:7px 12px;border-radius:22px;background:#eee2d1f5;border:1px solid #ffffffc9;color:#513b35;box-shadow:0 3px 12px #49302413;font-size:13px;line-height:1.3;font-weight:650;white-space:nowrap;z-index:2;min-height:34px}
.scene-label:hover,.scene-label[aria-pressed=true]{background:#873e4b;color:#fff;border-color:#fff}
.scene-label::after{content:"";position:absolute;inset:-5px;border-radius:24px}
.demo-phone{width:300px;position:absolute;right:5%;top:5%;transform:scale(var(--phone-scale,1));transform-origin:top right;padding:7px;background:linear-gradient(120deg,#5b5550,#171717 17%,#36332e 82%,#7e7569);border:2px solid #958779;border-radius:43px;box-shadow:8px 18px 25px #37201342,0 0 0 1px #171717;z-index:3;color:#36272a}
.phone-screen{background:#faf7f3;border-radius:34px;padding:28px 12px 10px;overflow:hidden}
.phone-island{position:absolute;top:14px;left:50%;transform:translateX(-50%);width:77px;height:18px;background:#111;border-radius:20px;z-index:4}
.phone-header{display:flex;align-items:center;justify-content:space-between;font-size:13px;margin-bottom:12px;padding-inline:2px}
.phone-header>span:first-child{font-size:26px;line-height:1;color:#873e4b}
.phone-example{font-size:10px;background:#eee2d1;color:#63313d;padding:2px 6px;border-radius:4px}
.phone-summary{background:#fff;padding:12px;border:1px solid #eee7e2;border-radius:15px;box-shadow:0 4px 12px #35272a07}
.phone-dish{display:flex;align-items:center;gap:9px}
.phone-dish img{width:42px;height:42px;object-fit:cover;border-radius:50%}
.phone-dish span{display:block;font-size:13px;font-weight:700}
.phone-dish small{display:block;font-size:10px;color:#6e6063;margin-top:2px}
.phone-summary>strong{display:block;font-size:35px;font-weight:800;line-height:1.25;letter-spacing:-.05em;margin-top:7px;font-variant-numeric:tabular-nums}
.phone-summary>strong>span{font-size:18px;margin-left:4px}
.phone-breakdown{display:flex;justify-content:space-between;gap:5px;font-size:10px;border-top:1px solid #eee7e2;margin-top:10px;padding-top:8px;color:#6e6063}
.phone-breakdown b{color:#873e4b;font-weight:700;margin-left:3px}
.phone-scope{font-size:9px;color:#6e6063;line-height:1.6;margin-top:6px}
.phone-list-heading{display:flex;justify-content:space-between;align-items:center;font-size:12px;margin:12px 2px 5px}
.phone-list-heading button{font-size:10px;background:transparent;color:#873e4b;padding:6px 3px}
.phone-row{padding:7px 8px 5px;background:#fff;border:1px solid #eee7e2;border-radius:8px;margin-top:5px;transition:background .15s,border-color .15s}
.phone-row.is-selected{background:#f3e7e3;border-color:#ae707b}
.phone-row-head{display:flex;align-items:center;gap:5px;font-size:12px;line-height:1.4}
.phone-row-name{font-weight:700}
.phone-grams{color:#6e6063;font-size:10px}
.phone-row-cost{margin-left:auto;font-size:13px;font-weight:750;font-variant-numeric:tabular-nums}
.phone-row input[type=range]{display:block;width:100%;height:16px;margin:4px 0 0;padding:0;accent-color:#873e4b;cursor:pointer;appearance:auto;-webkit-appearance:auto}
.phone-label-note{font-size:10px;line-height:1.55;color:#6e6063;margin:9px 3px 8px;min-height:31px}
.phone-continue{display:flex;align-items:center;justify-content:space-between;background:#873e4b;color:#fff;border-radius:10px;padding:11px 12px;font-size:12px;font-weight:700}
.phone-continue:hover{background:#71313d}
.phone-home{width:80px;height:4px;border-radius:10px;background:#36272a;margin:12px auto 0}
.hero-product figcaption{position:static;display:flex;justify-content:space-between;gap:15px;flex-wrap:wrap;margin-top:14px;font-size:12px;color:#6e6063}
.how-section{padding-top:20px}
@media(min-width:1500px){.hero{padding-block:65px}.hero h1{font-size:58px}}
@media(max-width:1100px){.hero h1{font-size:40px}.hero-copy{grid-template-columns:1.7fr 1fr;gap:0 22px}.hero-description{font-size:14px}.scene-brand{font-size:14px}.scene-brand img{width:23px;height:23px}.scene-label{font-size:12px;padding:6px 10px;min-height:31px}}
@media(max-width:780px){.hero{padding-block:30px 40px}.hero-copy{display:block;margin-bottom:25px}.hero h1{font-size:clamp(34px,6vw,44px)}.hero-intro-action{margin-top:18px}.hero-description{font-size:15px}.hero-stage{aspect-ratio:auto;padding-bottom:20px;border-radius:23px;background:#f1e5d5}.scene-photo{position:relative;aspect-ratio:1.06;border-radius:23px 23px 0 0}.scene-plane{width:178%;height:100%;inset:0 auto 0 0}.scene-brand{top:5%;left:3%;font-size:15px}.scene-caption{top:16%;left:3%;font-size:14px}.scene-brand small{display:none}.scene-label{font-size:12px;min-height:34px;padding:7px 9px}.demo-phone{position:relative;right:auto;top:auto;transform:none;width:min(320px,calc(100% - 36px));margin:10px auto 0;box-shadow:6px 12px 22px #37201328}.phone-screen{padding:30px 14px 10px}.phone-header{font-size:14px}.phone-summary>strong{font-size:37px}.phone-row-head{font-size:14px}.phone-row-cost{font-size:14px}.phone-grams{font-size:12px}.phone-row{padding:10px 9px 8px}.phone-row input[type=range]{height:24px}.phone-list-heading{font-size:14px}.phone-list-heading button{font-size:12px;min-height:36px}.phone-dish span{font-size:15px}.phone-dish small,.phone-breakdown,.phone-scope,.phone-label-note{font-size:11px}.phone-continue{font-size:14px;min-height:46px}.hero-product figcaption{font-size:11px;gap:5px}.hero-product figcaption span{display:block}.hero-visual{margin-left:0}}
@media(prefers-reduced-motion:reduce){.phone-row{transition:none}}

/* Keep the existing layout; clarify the calculation's limited ingredient scope. */
.phone-dish small{font-size:12px;color:var(--coral);font-weight:600}
.phone-scope{font-size:12px;color:var(--coral);font-weight:600;line-height:1.5}
.hero-product figcaption .hero-price-caption{font-size:14px;color:var(--navy);font-weight:600;line-height:1.6}
.receipt-scope{font-size:14px;color:var(--coral);font-weight:600;line-height:1.65;margin:8px 0 12px}

/* The device keeps its shape; only the ingredient viewport scrolls. */
.demo-phone{aspect-ratio:6/13;overflow:hidden}
.phone-screen{position:absolute;inset:7px;display:flex;flex-direction:column;min-height:0}
.phone-screen>*{flex-shrink:0}
.phone-screen>.phone-ingredients{position:relative;flex:1 1 0;min-height:0;overflow-y:scroll;overflow-x:hidden;overscroll-behavior-y:contain;scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:#873e4b #e9ddd6;padding:0 4px 4px 0;border-block:1px solid #eee7e2}
.phone-ingredients::-webkit-scrollbar{width:6px}
.phone-ingredients::-webkit-scrollbar-track{background:#e9ddd6;border-radius:8px}
.phone-ingredients::-webkit-scrollbar-thumb{background:#873e4b;border-radius:8px}
.phone-ingredients:focus-visible{outline:2px solid #873e4b;outline-offset:2px}
.phone-scroll-hint{font-size:11px;color:#6e6063;margin:0 2px 7px;line-height:1.5}
.phone-label-note{height:34px;min-height:34px;margin:7px 3px;line-height:1.5}
.phone-home{flex-shrink:0}
