:root {
  color-scheme: light;
  --paper: #faf4e8;
  --ink: #19231b;
  --dim: #55594d;
  --accent: #b83826;
  --on-accent: #fffaf3;
  --gusto: #b83826;
  --card: #fffaf2;
  --quiet: #efe7d7;
  --line: #d7cdbb;
  --chrome: #fffcf5c2;
  --hero-light: #ffd5a1b3;
  --edge-light: #f5a58966;
  --floor-light: #f5c49a81;
  --phone-shadow: #57331d38;
  --success: #256343;
}
[data-theme="dark"] {
  color-scheme: dark;
  --paper: #101828;
  --ink: #faedda;
  --dim: #cec8c0;
  --accent: #e3b77c;
  --on-accent: #101828;
  --gusto: #da674e;
  --card: #1b2940;
  --quiet: #23334a;
  --line: #465773;
  --chrome: #0f172bdd;
  --hero-light: #b0743e76;
  --edge-light: #3e517a70;
  --floor-light: #30436b59;
  --phone-shadow: #040813a9;
  --success: #9bdbaa;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.53 var(--restorada-font); }
h1, h2, h3, p, figure { margin: 0; }
img { display: block; max-width: 100%; }
button, a { color: inherit; }
button { font: inherit; }
a { text-decoration: none; }
button:not(:disabled) { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.sr-only, .theme input { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.skip { position: fixed; top: 10px; left: 10px; z-index: 9; padding: 8px; background: var(--card); clip-path: inset(50%); }
.skip:focus { clip-path: none; }
.frame { width: min(100% - 88px, 1184px); margin-inline: auto; }
.top { position: relative; z-index: 2; padding-top: 16px; }
.top-inner { width: min(100% - 40px, 1320px); margin: auto; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px; min-height: 64px; padding: 8px clamp(14px, 2.4vw, 32px); background: var(--chrome); border-radius: 100px; backdrop-filter: blur(16px); }
.wordmark { display: inline-flex; align-items: center; width: fit-content; }
.wordmark img { height: auto; }
[data-theme="dark"] .wordmark img { filter: brightness(0) invert(1); }
.site-links { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 6px clamp(14px, 3vw, 42px); font-size: .91rem; font-weight: 690; }
.site-links a, .review-links a { min-height: 37px; display: inline-flex; align-items: center; }
.site-links a:hover, .text-link:hover { text-decoration: underline; text-underline-offset: .26em; }
.theme { display: flex; padding: 3px; margin: 0; border: 0; border-radius: 100px; background: var(--quiet); }
.theme span { display: grid; place-items: center; min-width: 47px; min-height: 35px; padding-inline: 8px; border-radius: 100px; font-size: .79rem; font-weight: 700; cursor: pointer; }
.theme input:checked + span { background: var(--card); box-shadow: 0 1px 5px #0001; }
.theme input:focus-visible + span { outline: 2px solid var(--accent); }
.review-nav { border-bottom: 1px solid color-mix(in srgb, var(--line) 54%, transparent); }
.review-links { display: flex; gap: 4px 20px; flex-wrap: wrap; padding-block: 9px 5px; }
.review-links a { font-size: .79rem; font-weight: 630; color: var(--dim); border-bottom: 2px solid transparent; white-space: nowrap; }
.review-links a[aria-current="page"] { border-color: var(--accent); color: var(--ink); }
.demo-context { padding-block: 4px; }
.demo-context .text-link { font-size: .9rem; }
.hero { position: relative; isolation: isolate; overflow: clip; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 42% 52% at 75% 48%, var(--hero-light), transparent), radial-gradient(ellipse 48% 67% at 97% 23%, var(--edge-light), transparent), radial-gradient(ellipse 50% 30% at 50% 85%, var(--floor-light), transparent); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .74fr); align-items: center; gap: clamp(24px, 5vw, 100px); min-height: 720px; padding-block: 35px 52px; }
.hero-copy { padding-block: 10px; }
.hero h1 { max-width: 13.2ch; font-size: clamp(3rem, 5.4vw, 5.45rem); font-weight: 700; line-height: .98; letter-spacing: -.064em; text-wrap: balance; }
.hero .lead { max-width: 37ch; margin-top: 26px; font-size: clamp(1.05rem, 1.53vw, 1.33rem); color: var(--dim); text-wrap: pretty; line-height: 1.53; }
.hero-actions, .player-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; }
.hero-actions { margin-top: 27px; }
.button { min-height: 45px; display: inline-flex; justify-content: center; align-items: center; padding: 9px 18px; border: 1px solid transparent; border-radius: 100px; font-size: .89rem; font-weight: 710; text-align: center; line-height: 1.2; }
.button.primary { color: var(--on-accent); background: var(--accent); }
.button.primary:hover { background: color-mix(in srgb, var(--accent) 89%, var(--ink)); }
.button.outline { border-color: var(--line); background: color-mix(in srgb, var(--card) 50%, transparent); }
.button.outline:hover { background: var(--card); }
.button:disabled { opacity: .46; }
.text-link { min-height: 44px; display: inline-flex; align-items: center; font-weight: 710; color: var(--accent); }
.phone-stage { --device-width: 303px; display: grid; justify-items: center; align-content: center; gap: 13px; min-width: 0; }
.hero-slot, .visit-slot { width: min(100%, var(--device-width)); }
.hero-slot:empty, .visit-slot:empty { aspect-ratio: 888 / 1832; }
.phone-caption { text-align: center; color: var(--dim); font-size: .79rem; font-weight: 620; }
.phone, .captured-phone { width: 100%; aspect-ratio: 888 / 1832; filter: drop-shadow(0 19px 25px var(--phone-shadow)); }
.captured-phone { height: auto; object-fit: contain; }
.phone-stage .player-actions { justify-content: center; gap: 8px; }
.phone-stage figcaption .player-actions { margin-top: 6px; }
.phone-stage .button { min-height: 36px; padding: 6px 12px; font-size: .75rem; }
.phone { container-type: inline-size; position: relative; margin: auto; border-radius: 14.8% / 7.15%; padding: 3.03%; border: 1px solid #22262a; background: linear-gradient(138deg, #858485, #262a2e 23%, #3b3d42 55%, #1b2022 78%, #8b8582); box-shadow: inset 0 0 0 1px #cfbfab85, inset 0 0 0 3px #363439; isolation: isolate; }
.phone::before, .phone::after { content: ""; position: absolute; top: 23%; left: -2px; width: 3px; height: 10%; border-radius: 5px; background: #454549; }
.phone::after { top: 29%; left: auto; right: -2px; height: 8%; }
.phone-display { position: relative; height: 100%; display: flex; flex-direction: column; min-height: 0; overflow: hidden; border-radius: 12.8% / 6.1%; background: var(--paper); outline: 1px solid #1a1b1d; font-size: 4cqw; line-height: 1.35; }
.os { height: 14.7cqw; flex: none; padding: 4.65cqw 6.6cqw 0 7.7cqw; display: flex; justify-content: space-between; font: 700 3.65cqw/1 system-ui, sans-serif; }
.island { position: absolute; width: 25cqw; height: 7.2cqw; background: #050608; top: 2.7cqw; left: 50%; transform: translateX(-50%); border-radius: 100px; z-index: 3; }
.signals { display: flex; align-items: flex-start; gap: 1cqw; }
.signal { height: 3cqw; width: 3.8cqw; background: currentColor; clip-path: polygon(0 78%, 19% 78%, 19% 57%, 40% 57%, 40% 35%, 60% 35%, 60% 15%, 79% 15%, 79% 0, 100% 0, 100% 100%, 0 100%); }
.wifi { width: 3.5cqw; height: 3cqw; background: radial-gradient(circle at 50% 100%, currentColor 11%, transparent 14% 29%, currentColor 31% 43%, transparent 45% 60%, currentColor 62% 74%, transparent 76%); clip-path: polygon(0 0, 100% 0, 50% 100%); }
.battery { position: relative; border: 1px solid currentColor; border-radius: 2px; width: 5.1cqw; height: 2.8cqw; }
.battery::before { content: ""; position: absolute; inset: .28cqw; background: currentColor; border-radius: 1px; }
.battery::after { content: ""; position: absolute; right: -.65cqw; top: .55cqw; height: 1.3cqw; width: .32cqw; background: currentColor; }
.phone-nav { position: relative; display: grid; place-items: center; flex: none; min-height: 12cqw; padding-inline: 14cqw; font-size: 3.75cqw; font-weight: 760; }
.phone-nav .back { position: absolute; left: 4.5cqw; min-width: 9cqw; width: 9cqw; height: 9cqw; padding: 0; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--quiet); font-size: 6cqw; line-height: 1; }
.home-bar { width: 30%; height: 1.2cqw; margin: 3.1cqw auto 2.25cqw; flex: none; border-radius: 100px; background: currentColor; opacity: .22; }
.phone-main { min-height: 0; flex: 1; display: flex; flex-direction: column; gap: 3.65cqw; padding: 3.2cqw 5cqw 2cqw; overflow: auto; scrollbar-width: thin; }
.phone-main h2 { font-size: 8.3cqw; line-height: .99; letter-spacing: -.051em; }
.phone-main h3 { font-size: 5cqw; line-height: 1.1; letter-spacing: -.035em; }
.phone-muted { color: var(--dim); font-size: 3.75cqw; }
.phone-foot { margin-top: auto; display: grid; gap: 2cqw; }
.app-btn { width: 100%; min-height: 12cqw; padding: 2.5cqw 3.2cqw; border: 1px solid transparent; border-radius: 99px; font-size: 3.8cqw; font-weight: 720; line-height: 1.22; text-align: center; background: var(--accent); color: var(--on-accent); }
.app-btn.secondary { background: var(--quiet); color: var(--ink); }
.app-btn:hover { filter: brightness(.92); }
#content .phone a.app-btn { display: grid; align-items: center; }
.camera-space { position: relative; display: grid; place-items: center; isolation: isolate; flex: 1; min-height: 70cqw; overflow: hidden; border-radius: 5cqw; background: #533721 url("../assets/restorada-terrace.jpg") 52% 72% / cover; }
.camera-space::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(150deg,#241a17ba,#68442618 70%,#291a11ae); }
.paper-menu { width: 69%; margin-block: 14%; transform: rotate(-7deg); background: linear-gradient(145deg, #fff5df, #eed6aa); padding: 15% 10% 12%; color: #372b20; box-shadow: 0 10px 24px #2412047d; font-family: Georgia, serif; text-align: center; }
.paper-menu > b { display: block; font-size: 7.1cqw; letter-spacing: -.055em; }
.paper-menu > span { display: block; border-top: 1px solid #755e463d; padding-top: 2.8cqw; margin-top: 3cqw; font-size: 3.6cqw; }
.paper-menu dl { display: grid; grid-template-columns: 1fr auto; gap: 2.2cqw; margin: 3.5cqw 0 0; font-size: 3.08cqw; text-align: left; }
.paper-menu dd { margin: 0; }
.camera-focus { position: absolute; inset: 13% 8%; display: grid; grid-template-columns: 1fr 1fr; pointer-events: none; }
.camera-focus span { width: 7.5cqw; height: 7.5cqw; border: 1.5px solid #fff9e2; }
.camera-focus span:nth-child(1) { border-right: 0; border-bottom: 0; border-radius: 5px 0 0; }
.camera-focus span:nth-child(2) { justify-self: end; border-left: 0; border-bottom: 0; border-radius: 0 5px 0 0; }
.camera-focus span:nth-child(3) { align-self: end; border-right: 0; border-top: 0; border-radius: 0 0 0 5px; }
.camera-focus span:nth-child(4) { place-self: end; border-left: 0; border-top: 0; border-radius: 0 0 5px; }
.capture-tools { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2cqw; padding: 1cqw 1cqw 0; }
.capture-button { width: 18cqw; aspect-ratio: 1; padding: 1cqw; border: 1.5px solid var(--accent); border-radius: 50%; background: transparent; }
.capture-button span { display: block; width: 100%; height: 100%; border-radius: 50%; background: var(--accent); }
.capture-link { border: 0; padding: 0; background: transparent; color: var(--accent); font-size: 3.5cqw; font-weight: 730; text-align: start; }
.dish-row { width: 100%; display: grid; grid-template-columns: 20cqw 1fr auto; text-align: left; gap: 2.55cqw; align-items: center; background: var(--card); border: 1px solid transparent; border-radius: 4cqw; padding: 2.2cqw; }
.dish-row:hover { border-color: var(--accent); }
.dish-row img { width: 20cqw; height: 18cqw; object-fit: cover; border-radius: 2.6cqw; }
.dish-row strong { display: block; font-size: 4.1cqw; line-height: 1.1; }
.dish-row small { display: block; font-size: 3.25cqw; color: var(--dim); margin-top: 1cqw; }
.dish-row .price { font-size: 3.35cqw; font-weight: 750; }
.right-bubble, .message { border-radius: 4cqw; padding: 3cqw 3.4cqw; background: var(--card); }
.right-bubble { align-self: end; width: fit-content; max-width: 88%; background: var(--quiet); }
.gusto-byline { display: flex; align-items: center; gap: 1.9cqw; font-weight: 750; }
.gusto-icon { width: 5.8cqw; height: 5.8cqw; display: inline-block; background: var(--gusto); mask: url("../assets/icon-red.svg") center / contain no-repeat; }
.dish-image { height: 53cqw; position: relative; overflow: hidden; border-radius: 4.2cqw; }
.dish-image img { width: 100%; height: 100%; object-fit: cover; }
.image-tag { position: absolute; left: 2cqw; bottom: 2cqw; padding: 1cqw 1.65cqw; border-radius: 20px; background: #191714e8; color: #fff8e9; font-size: 2.9cqw; line-height: 1; }
.metrics { padding: 3cqw; background: var(--card); border-radius: 4cqw; }
.metrics-heading, .simple-row { display: flex; justify-content: space-between; align-items: center; gap: 2cqw; }
.metrics-heading { font-size: 3.38cqw; font-weight: 720; }
.metrics-heading span { font-size: 2.9cqw; color: var(--dim); font-weight: 600; }
.metrics-cal { margin-block: 1.3cqw 2cqw; font-weight: 760; font-size: 7cqw; }
.macros { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5cqw; }
.macros div { text-align: center; padding-top: 1.5cqw; border-top: 1px solid var(--line); }
.macros small, .simple-row small { display: block; color: var(--dim); font-size: 3.1cqw; }
.simple-card { border-radius: 4cqw; background: var(--card); padding: 3.6cqw; }
.preview-results, .preview-reply, .preview-reply label { display: grid; gap: 2cqw; }
.preview-result { min-height: 15cqw; border: 1px solid var(--line); }
.preview-result:hover { border-color: var(--accent); }
.preview-reply textarea { width: 100%; padding: 2cqw; border: 1px solid var(--line); border-radius: 2cqw; color: var(--ink); background: var(--card); font: inherit; resize: vertical; }
.preview-reply select { width: 100%; min-height: 36px; padding: 1.5cqw 2cqw; border: 1px solid var(--line); border-radius: 2cqw; color: var(--ink); background: var(--card); font: inherit; }
.preview-reply [data-preferences-status]:empty { display: none; }
.simple-card > p + p, .simple-card > p + .simple-row { margin-top: 2.3cqw; }
.simple-row + .simple-row { border-top: 1px solid var(--line); padding-top: 2.4cqw; margin-top: 2.4cqw; }
.splits { display: grid; grid-template-columns: 1fr 1fr; gap: 1cqw; background: var(--quiet); border-radius: 100px; padding: .8cqw; }
.splits button { min-height: 9cqw; padding: 0 1cqw; border: 0; border-radius: 100px; font-size: 3.5cqw; font-weight: 720; background: transparent; }
.splits button[aria-pressed="true"] { background: var(--card); }
.total { font-size: 9cqw; font-weight: 760; letter-spacing: -.045em; }
.success { color: var(--success); font-weight: 730; }
.preview-note { color: var(--dim); font-size: 3.35cqw; }
.visit, .detail, .catalog, .more { padding-block: clamp(48px, 7vw, 100px); }
.visit { background: radial-gradient(ellipse 42% 65% at 29% 42%, var(--edge-light), transparent); border-top: 1px solid color-mix(in srgb, var(--line) 56%, transparent); }
.split-section { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(20px, 7vw, 120px); align-items: center; }
.section-copy h2, .section-heading h2 { max-width: 19ch; font-size: clamp(2.1rem, 4.35vw, 4rem); line-height: 1; letter-spacing: -.06em; text-wrap: balance; }
.section-copy > p, .section-heading > p { font-size: 1.04rem; color: var(--dim); margin-top: 13px; max-width: 44ch; }
.branch-buttons, .step-controls { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 19px; }
.branch-buttons button, .step-controls button { border: 1px solid var(--line); border-radius: 100px; background: var(--card); min-height: 41px; padding: 7px 12px; font-size: .8rem; font-weight: 680; }
.branch-buttons button[aria-pressed="true"], .step-controls button[aria-pressed="true"] { border-color: var(--accent); background: var(--accent); color: var(--on-accent); }
.step-info { min-height: 114px; padding-block: 19px 14px; }
.step-info h3 { font-size: 1.42rem; letter-spacing: -.045em; }
.step-info p { max-width: 43ch; font-size: .94rem; color: var(--dim); margin-top: 4px; }
.detail .frame, .more .frame { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(20px, 6vw, 100px); }
.chapters { display: grid; }
.chapter { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 6px 12px; min-width: 0; width: 100%; background: transparent; border: 0; border-top: 1px solid var(--line); padding: 15px 3px; color: inherit; text-align: left; }
.chapter:last-child { border-bottom: 1px solid var(--line); }
.chapter strong { font-size: 1.14rem; letter-spacing: -.025em; }
.chapter span { grid-column: 1; font-size: .89rem; color: var(--dim); line-height: 1.41; }
.chapter i { grid-column: 2; grid-row: 1 / span 2; font-style: normal; font-size: 1.3rem; color: var(--accent); }
.chapter:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.detail-phone-controls { margin-top: 18px; }
.detail-preview .step-info { padding-top: 12px; max-width: 48ch; }
.walk-map {
  --walk-map-land: #eee9dd;
  --walk-map-sea: #bfdce2;
  --walk-map-coast: #e0cca5;
  --walk-map-park: #cddfc7;
  --walk-map-block: #dfd6c6;
  --walk-map-street-edge: #d6cec0;
  --walk-map-street: #fffaf0;
  --walk-map-outline: #fffaf2;
  --walk-map-ink: #534d43;
  --walk-map-water-ink: #345862;
  --walk-map-tag: #fffaf2;
  --walk-map-location: #2374cd;
  --walk-map-location-ink: #1c5199;
  --walk-map-route: #b63423;
  --walk-map-remaining: #817d73;
  --walk-map-done: #416758;
  --walk-map-pin-ink: #fffaf2;
  display: block;
  width: 100%;
  height: auto;
}
[data-theme="dark"] .walk-map {
  --walk-map-land: #25334b;
  --walk-map-sea: #162d46;
  --walk-map-coast: #3a5661;
  --walk-map-park: #355144;
  --walk-map-block: #34445f;
  --walk-map-street-edge: #293448;
  --walk-map-street: #4a5871;
  --walk-map-outline: #162237;
  --walk-map-ink: #d7dded;
  --walk-map-water-ink: #9dc5e2;
  --walk-map-tag: #122541;
  --walk-map-location: #6cb5ff;
  --walk-map-location-ink: #b8ddff;
  --walk-map-route: #eac280;
  --walk-map-remaining: #a7b3cd;
  --walk-map-done: #a3c5a9;
  --walk-map-pin-ink: #111a2b;
}
.walk-map-leg, .walk-map-stop { --leg-tone: var(--walk-map-route); }
.walk-map [data-status="upcoming"] { --leg-tone: var(--walk-map-remaining); }
.walk-map [data-status="visited"] { --leg-tone: var(--walk-map-done); }
.walk-map-route-edge { stroke: var(--walk-map-outline); stroke-width: 9px; }
.walk-map-route-stroke { stroke: var(--leg-tone); stroke-width: 5px; }
.walk-map-leg[data-status="upcoming"] .walk-map-route-stroke { stroke-dasharray: 4 5; }
.walk-map-stop circle { fill: var(--leg-tone); }
.catalog-head { margin-bottom: 28px; }
.catalog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.catalog-card { min-width: 0; display: grid; grid-template-rows: 168px auto; border-radius: 25px; overflow: hidden; border: 1px solid color-mix(in srgb, var(--line) 66%, transparent); background: var(--card); }
.catalog-picture { position: relative; display: grid; place-items: center; overflow: hidden; background: radial-gradient(ellipse at 60% 52%, var(--hero-light), transparent), var(--quiet); }
.catalog-picture img { width: 38%; min-width: 97px; height: auto; position: absolute; top: 12px; filter: drop-shadow(0 6px 16px var(--phone-shadow)); }
.catalog-card:hover img { top: 9px; }
.catalog-copy { padding: 15px 18px 20px; }
.catalog-copy h3 { letter-spacing: -.03em; font-size: 1.21rem; }
.catalog-copy p { margin-top: 4px; color: var(--dim); font-size: .89rem; }
.footer { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; padding-block: 24px; border-top: 1px solid var(--line); }
.footer p { color: var(--dim); font-size: .79rem; }
.review-footer-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
body[data-order-guest] :is(.site-links, .review-nav, .footer) { display: none; }
body[data-order-guest] .top-inner { grid-template-columns: 1fr auto; }
@media (max-width: 900px) {
  .frame { width: min(100% - 48px, 1184px); }
  .hero-inner { min-height: 0; }
  .phone-stage { --device-width: 272px; }
  .hero h1 { font-size: clamp(2.75rem, 7.4vw, 4.5rem); }
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .frame { width: calc(100% - 36px); }
  .top-inner { grid-template-columns: 1fr auto; width: calc(100% - 22px); border-radius: 25px; gap: 0 12px; }
  .top .wordmark img { width: 131px; }
  .site-links { grid-column: 1 / -1; grid-row: 2; justify-content: space-between; font-size: .79rem; gap: 0 8px; }
  .review-links { gap: 0 12px; }
  .review-links a { min-height: 31px; font-size: .73rem; }
  .hero-inner, .split-section, .detail .frame, .more .frame { grid-template-columns: minmax(0, 1fr); }
  .hero-inner { padding-block: 37px 38px; gap: 23px; }
  .hero h1 { font-size: clamp(2.7rem, 11vw, 4.05rem); }
  .hero .lead { margin-top: 16px; }
  .hero-actions { margin-top: 18px; }
  .hero::before { background: radial-gradient(ellipse 90% 44% at 60% 73%, var(--hero-light), transparent), radial-gradient(ellipse 95% 40% at 100% 32%, var(--edge-light), transparent); }
  .visit .section-copy { grid-row: 1; }
  .catalog-grid { gap: 10px; }
  .catalog-card { grid-template-rows: 113px auto; }
  .catalog-copy { padding: 10px 11px 12px; }
  .catalog-copy h3 { font-size: 1rem; }
  .catalog-copy p { font-size: .78rem; }
  .detail .frame { gap: 18px; }
}

@media (max-width: 640px), (max-width: 900px) and (pointer: coarse) {
  .phone-display { font-size: max(.8125rem, 4cqw); }
  .phone-nav {
    min-height: max(44px, 12cqw);
    padding-inline: max(58px, 14cqw);
    text-align: center;
    font-size: max(.8125rem, 3.75cqw);
  }
  .phone-nav .back { width: 44px; height: 44px; }
  .phone .app-btn { min-height: max(44px, 12cqw); font-size: max(.875rem, 3.8cqw); }
  .phone :is(button, a) { touch-action: manipulation; }
  .phone :is(button, a, input, textarea, select):focus-visible { outline-offset: -2px; }
  .phone .app-btn:not(.secondary):focus-visible { outline-color: var(--on-accent); }

  .phone :is(.phone-muted, .discover-helper, .discover-footnote, .menu-app-note, .order-helper, .order-help, .visits-note, .walk-note, .restaurant-phone-muted) {
    font-size: max(.75rem, 3.5cqw);
  }
  /* The text-size floor keeps focused fields at the same zoom level on iPhone. */
  .phone :is(textarea, select, input[type="text"], input[type="url"], input[type="number"], input:not([type])),
  .restaurant-editor :is(textarea, input[type="text"]) { font-size: max(16px, 1rem); }
  .phone .phone-main select { min-height: 36px; }
  .phone .discover-book-fields select { max-width: none; }
  .phone .order-assignments select { max-width: max(115px, 24cqw); }

  .phone :is(.quantity, .discover-stepper) { grid-template-columns: 36px max(16px, 5cqw) 36px; }
  .phone .discover-stepper { grid-template-columns: 36px max(20px, 9cqw) 36px; }
  .phone :is(.quantity, .discover-stepper) button { width: 36px; height: 36px; }
  .phone :is(.order-review-star, .visits-stars button, .visits-portion-controls button, .splits button,
             .menu-compare-actions button, .order-small-button, .order-link-action) { min-height: 36px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
