/* Identifood website mockups: shared tokens + the phone frame.
   Tokens are the app's colour set (same as site/assets/site.css), never retyped per page. */
:root{
  --page:#e9eef0;--card:#fffdf8;--ink:#15303a;--muted:#5d7680;--coral:#e2583e;--coral-ink:#fff;
  --line:#d5e0e4;--ask:#fdf0c9;--night:#15303a;--green:#9bc46a;--cream:#fffdf8;
  --shadow:0 30px 60px -25px rgba(21,48,58,.45);
}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){
  --page:#0f1d23;--card:#1a2b32;--ink:#eef3f5;--muted:#9fb3ba;--coral:#f0694f;--line:#2c434c;--ask:#4a3d15;--night:#0b171c;
  --shadow:0 30px 60px -25px rgba(0,0,0,.7);
}}
:root[data-theme="dark"]{--page:#0f1d23;--card:#1a2b32;--ink:#eef3f5;--muted:#9fb3ba;--coral:#f0694f;--line:#2c434c;--ask:#4a3d15;--night:#0b171c}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;background:var(--page);color:var(--ink);font:1.0625rem/1.55 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;overflow-x:hidden}
img{max-width:100%}
a{color:inherit}
.skip{position:absolute;left:-999px;top:0;background:var(--card);padding:.5rem 1rem;z-index:99}
.skip:focus{left:1rem}
:focus-visible{outline:3px solid var(--coral);outline-offset:3px}

/* Mockup strip (not part of the design) */
.mock-strip{position:fixed;left:50%;bottom:.75rem;transform:translateX(-50%);z-index:50;background:#0b171c;color:#fff;
  font:600 .8rem/1 -apple-system,sans-serif;padding:.55rem .9rem;border-radius:999px;display:flex;gap:.8rem;align-items:center;box-shadow:0 8px 24px rgba(0,0,0,.25);white-space:nowrap}
@media (max-width:480px){.mock-strip{font-size:.72rem;gap:.55rem;padding:.5rem .7rem}.mock-strip a:first-child{display:none}}
.mock-strip a{color:#fff;opacity:.8;text-decoration:none}.mock-strip a:hover,.mock-strip a[aria-current]{opacity:1;text-decoration:underline}

/* Brand mark (the icon, drawn) */
.mark{width:2rem;height:2rem;border-radius:.55rem;background:#e2583e;position:relative;flex:none;overflow:hidden}
.mark::before{content:"";position:absolute;left:50%;top:29%;width:58%;height:58%;transform:translate(-50%,-50%);border-radius:50%;
  background:radial-gradient(circle,#9bc46a 0 41%,#15303a 42% 66%,#fffdf8 67%)}
.mark::after{content:"";position:absolute;left:50%;top:48%;width:15.6%;height:33%;transform:translateX(-50%);border-radius:999px;background:#fffdf8}
.brand{display:flex;align-items:center;gap:.55rem;text-decoration:none;font-weight:900;font-size:1.15rem;letter-spacing:-.01em}

.btn{display:inline-flex;align-items:center;gap:.5rem;background:var(--coral);color:var(--coral-ink);text-decoration:none;font-weight:800;font-size:1.05rem;
  padding:.85rem 1.35rem;border-radius:.9rem;border:0;cursor:pointer}
.btn.ghost{background:transparent;color:inherit;box-shadow:inset 0 0 0 2px currentColor}
.btn small{font-weight:600;opacity:.85}
.note{font-size:.85rem;color:var(--muted)}

/* ---------- The phone ---------- */
.phone{--w:290px;width:var(--w);aspect-ratio:9/19.3;border-radius:46px;background:#0b171c;padding:10px;box-shadow:var(--shadow);position:relative;flex:none}
.phone .scr{height:100%;border-radius:37px;background:#e9eef0;color:#15303a;overflow:hidden;position:relative;display:flex;flex-direction:column;font-size:13px;line-height:1.4}
.phone .island{position:absolute;top:9px;left:50%;transform:translateX(-50%);width:84px;height:24px;background:#000;border-radius:20px;z-index:3}
.phone .sb{display:flex;justify-content:space-between;padding:13px 26px 6px;font-weight:700;font-size:12px}
.phone .body{padding:4px 14px 10px;flex:1;overflow:hidden;display:flex;flex-direction:column;gap:8px}
.phone .kick{font-size:9.5px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:#5d7680}
.phone h4{margin:0;font-size:21px;line-height:1.1;font-weight:850}
.phone .loc{color:#5d7680;font-size:12.5px}
.phone .what{background:#fffdf8;border-radius:14px;padding:10px 11px;border:1px solid #d5e0e4}
.phone .stats{display:flex;justify-content:space-between;background:#fffdf8;border-radius:14px;padding:8px 11px;border:1px solid #d5e0e4}
.phone .stats b{display:block;font-size:14px}.phone .stats span{font-size:10px;color:#5d7680}
.phone .tabs{display:flex;gap:4px;background:#d5e0e4;border-radius:10px;padding:3px}
.phone .tabs span{flex:1;text-align:center;font-size:10.5px;font-weight:700;padding:5px 0;border-radius:8px;color:#15303a}
.phone .tabs span.on{background:#fffdf8;box-shadow:0 1px 2px rgba(0,0,0,.12)}
.phone ul.rows{list-style:none;margin:0;padding:0;background:#fffdf8;border-radius:14px;border:1px solid #d5e0e4}
.phone ul.rows li{display:flex;justify-content:space-between;gap:8px;padding:7px 11px;border-top:1px solid #e3eaec}
.phone ul.rows li:first-child{border-top:0}
.phone ul.rows small{color:#5d7680;font-size:10.5px;text-align:right}
.tag{display:inline-block;font-size:9.5px;font-weight:800;border-radius:999px;padding:2px 7px;background:#fdf0c9;color:#6b4e00;white-space:nowrap}
.tag.al{background:#fde3dd;color:#a3321c}
.phone .caveat{background:#fdf0c9;border-radius:12px;padding:7px 10px;font-weight:600;font-size:11px}
.phone .tabbar{display:flex;justify-content:space-around;padding:8px 10px 18px;border-top:1px solid #d5e0e4;background:#fffdf8;font-size:10px;font-weight:700;color:#5d7680}
.phone .tabbar span.on{color:#e2583e}
/* the food card screen */
.phone .fcard{background:#fffdf8;border-radius:16px;border:2px solid #e2583e;padding:12px 12px 10px;display:flex;flex-direction:column;gap:9px}
.phone .fcard .th{font-size:17px;font-weight:800;line-height:1.35}
.phone .fcard .en{font-size:11px;color:#5d7680}
.phone .lang{display:flex;gap:6px;align-items:center;font-weight:700;font-size:12px}

/* Plates: drawn, in the icon's style (no stock photos) */
.plate{--s:220px;width:var(--s);height:var(--s);border-radius:50%;background:radial-gradient(circle,#fffdf8 0 62%,#e6e0d4 63% 66%,#fffdf8 67%);
  box-shadow:0 20px 40px -18px rgba(21,48,58,.45);position:relative;flex:none}
.plate .food{position:absolute;inset:18%;border-radius:50%;overflow:hidden}

/* ---------- Motion: visible by default, revealed on entering the viewport, off under reduced motion ---------- */
.js .rv{opacity:0;transform:translateY(22px);transition:opacity .8s ease,transform .8s cubic-bezier(.2,.7,.2,1)}
.js .rv.in{opacity:1;transform:none}
.js .rv.d1{transition-delay:.15s}.js .rv.d2{transition-delay:.3s}.js .rv.d3{transition-delay:.45s}.js .rv.d4{transition-delay:.6s}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .js .rv{opacity:1;transform:none;transition:none}
  *,*::before,*::after{animation:none!important}
}
