/* =========================================================
   Foodbean — marketing landing page
   Minimal "premium template" style, light and dark themes
   ========================================================= */

/* Light palette is the default for every visitor; dark applies only when
   the theme switch sets data-theme="dark" on <html>. */
:root {
  color-scheme: light;
  --bg: #FBF8F4;
  --surface: #FFFFFF;
  --surface-2: #F3EEE7;
  --line: #E8E1D7;
  --line-2: #D6CCBF;
  --text: #16130F;
  --ink-2: #3B352E;
  --muted: #6E665C;
  --accent: #F16321;
  --accent-2: #D9531A;
  --accent-ink: #1A0B03;
  --ok: #16A34A;
  --ok-ink: #FFFFFF;
  --shadow: 0 30px 60px rgba(70, 40, 15, .14);
  --nav-bg: rgba(251, 248, 244, .85);
  --pill-bg: rgba(255, 255, 255, .7);
  --glass-bg: rgba(255, 255, 255, .9);
  --glass-border: rgba(22, 19, 15, .06);
  --frame-border: rgba(22, 19, 15, .1);
  --bezel: #16130F;
  --img-a: #FFE6D8;
  --img-b: #FFF3D1;
  --img-c: #EFE7FF;
  --invert-hover: #000000;
  --inverse-muted: rgba(251, 248, 244, .72);
  --stage-bg: radial-gradient(120% 120% at 80% 0%, #FFC4A3 0%, #FF8A4C 30%, #F16321 62%, #D44A12 100%);
  --stage-glow: rgba(150, 50, 10, .25);
  --warm-bg: radial-gradient(90% 90% at 30% 20%, #FFC4A3, #FF8A4C 40%, #E2551A 100%);
  --cool-bg: radial-gradient(90% 90% at 70% 20%, #FFFFFF, #F3EEE7 70%);
  --art-bg: radial-gradient(80% 80% at 50% 30%, #FFFFFF, #F3EEE7 75%);

  --font: "DM Sans", "Helvetica Neue", Arial, system-ui, sans-serif;
  --display: "Outfit", "DM Sans", "Helvetica Neue", Arial, sans-serif;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;

  --radius-lg: 32px;
  --radius: 22px;
  --radius-sm: 14px;
  --container: 1240px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0E0D0C;
  --surface: #161412;
  --surface-2: #1E1B18;
  --line: #2A2622;
  --line-2: #3A342E;
  --text: #F3EFE8;
  --ink-2: #D6CFC5;
  --muted: #8F887E;
  --accent-2: #FF8A4C;
  --ok: #7BD88F;
  --ok-ink: #0E2A14;
  --shadow: 0 30px 60px rgba(0, 0, 0, .5);
  --nav-bg: rgba(14, 13, 12, .78);
  --pill-bg: rgba(22, 20, 18, .6);
  --glass-bg: rgba(14, 13, 12, .82);
  --glass-border: rgba(255, 255, 255, .1);
  --frame-border: rgba(255, 255, 255, .12);
  --bezel: #000000;
  --img-a: #3A1D10;
  --img-b: #2F2A14;
  --img-c: #2A1830;
  --invert-hover: #FFFFFF;
  --inverse-muted: #5E574E;
  --stage-bg: radial-gradient(120% 120% at 80% 0%, #FF8F5C 0%, #FF6A2B 32%, #A8350D 70%, #3A1406 100%);
  --stage-glow: rgba(14, 13, 12, .55);
  --warm-bg: radial-gradient(90% 90% at 30% 20%, #FF8F5C, #FF6A2B 45%, #7A2608 100%);
  --cool-bg: radial-gradient(90% 90% at 70% 20%, #2B2724, #1A1715 55%, #0E0D0C 100%);
  --art-bg: radial-gradient(80% 80% at 50% 30%, #2B2724, #161412 70%);
}

/* Show the logo that suits the active theme */
.logo--for-dark { display: none !important; }
:root[data-theme="dark"] .logo--for-light { display: none !important; }
:root[data-theme="dark"] .logo--for-dark { display: block !important; }
/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 500; letter-spacing: -0.02em; line-height: 1.02; text-wrap: balance; }
h1 em, h2 em { font-family: var(--serif); font-style: italic; font-weight: 500; letter-spacing: -0.01em; color: var(--accent-2); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
main { overflow-x: clip; }

.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; background: var(--text); color: var(--bg); padding: 10px 16px; border-radius: 10px; z-index: 100; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
.muted { color: var(--muted); }

/* ---------- Labels & buttons ---------- */
.label { display: flex; align-items: center; gap: 10px; width: fit-content; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 22px; }
.label__mark { width: 12px; height: 12px; flex-shrink: 0; fill: var(--accent); }
.label--dark { color: var(--accent-ink); }
.label--dark .label__mark { fill: var(--accent-ink); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 500; font-size: 15px;
  text-decoration: none; white-space: nowrap;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.btn:active { transform: scale(.97); }
.btn--sm { padding: 9px 16px; font-size: 14px; }
.btn--lg { padding: 16px 28px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--accent { background: var(--accent); color: var(--accent-ink); }
.btn--accent:hover { background: var(--accent-2); }
.btn--light { background: var(--text); color: var(--bg); }
.btn--light:hover { background: var(--invert-hover); }
.btn--dark { background: var(--accent-ink); color: #FFFFFF; }
.btn--dark:hover { background: #000; }
.btn--ghost { border-color: var(--line-2); color: var(--text); }
.btn--ghost:hover { border-color: var(--text); }
.arrow { display: inline-block; transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translate(2px, -2px); }

.tag { font-size: 10px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: var(--surface-2); color: var(--muted); border: 1px solid var(--line); }
.tag--accent { background: rgba(241, 99, 33, .14); color: var(--accent-2); border-color: rgba(241, 99, 33, .3); }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav.is-scrolled { background: var(--nav-bg); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.brand__logo { display: block; height: 28px; width: auto; }
.brand--footer .brand__logo { height: 32px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 20px; letter-spacing: -0.03em; }
.nav__links { display: flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: var(--pill-bg); }
.nav__links a { text-decoration: none; font-size: 14px; padding: 7px 14px; border-radius: 999px; color: var(--muted); transition: color .2s, background .2s; }
.nav__links a:not(.btn):hover { color: var(--text); background: var(--surface-2); }
.nav__actions { display: flex; align-items: center; gap: 14px; }
.theme-toggle { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line-2); border-radius: 999px; background: transparent; color: var(--text); transition: border-color .3s var(--ease), background .3s var(--ease); }
.theme-toggle:hover { border-color: var(--text); }
.theme-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
.nav__mobile-cta { display: none !important; }
.nav__toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line-2); border-radius: 999px; background: transparent; position: relative; }
.nav__toggle span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--text); transition: transform .3s var(--ease), top .3s var(--ease); }
.nav__toggle span:first-child { top: 16px; }
.nav__toggle span:last-child { top: 24px; }
.nav__toggle[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: 56px 0 40px; }
.hero__top { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 36px; }
.hero__meta { display: inline-flex; align-items: center; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.hero__sep { display: inline-block; width: 7px; height: 1.5px; border-radius: 2px; background: var(--accent); margin: 0 14px; font-size: 0; }
.hero__title { font-size: clamp(48px, 8.6vw, 132px); font-weight: 600; line-height: 1.12; letter-spacing: -0.02em; }
.hero__title em { padding-right: .04em; }
.hero__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); }
.hero__lead { max-width: 520px; font-size: 18px; color: var(--muted); }
.hero__cta { display: flex; gap: 10px; flex-wrap: wrap; }

.hero__stage {
  position: relative; margin-top: 56px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: var(--stage-bg);
  padding: 72px 56px 0 250px;
  overflow: hidden;
  isolation: isolate;
}
/* Eased fade into the page: many stops avoid the hard edge of a two-point gradient */
.hero__stage::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 60%; background: linear-gradient(to top, var(--bg) 0%, transparent 100%); background: linear-gradient(to top, color-mix(in srgb, var(--bg) 100%, transparent) 0%, color-mix(in srgb, var(--bg) 100%, transparent) 12%, color-mix(in srgb, var(--bg) 96%, transparent) 20%, color-mix(in srgb, var(--bg) 88%, transparent) 28%, color-mix(in srgb, var(--bg) 77%, transparent) 36%, color-mix(in srgb, var(--bg) 63%, transparent) 45%, color-mix(in srgb, var(--bg) 48%, transparent) 54%, color-mix(in srgb, var(--bg) 34%, transparent) 63%, color-mix(in srgb, var(--bg) 21%, transparent) 72%, color-mix(in srgb, var(--bg) 11%, transparent) 81%, color-mix(in srgb, var(--bg) 4%, transparent) 90%, color-mix(in srgb, var(--bg) 0%, transparent) 100%); pointer-events: none; z-index: 3; }
.stage__glow { position: absolute; inset: auto -10% -60% -10%; height: 80%; background: radial-gradient(closest-side, var(--stage-glow), transparent); z-index: -1; }

.toast { position: absolute; top: 28px; right: 32px; display: flex; gap: 12px; align-items: center; padding: 12px 16px; background: var(--glass-bg); backdrop-filter: blur(10px); border: 1px solid var(--glass-border); box-shadow: 0 12px 30px rgba(70, 40, 15, .15); border-radius: 16px; font-size: 13px; animation: float 6s ease-in-out infinite; }
.toast small { display: block; color: var(--muted); }
.toast__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(241, 99, 33, .25); }
@keyframes float { 50% { transform: translateY(-8px); } }

/* ---------- Phone mockups ---------- */
.phone {
  position: relative;
  width: 232px;
  background: var(--bg);
  border: 1px solid var(--bezel);
  border-radius: 34px;
  padding: 30px 14px 14px;
  box-shadow: var(--shadow), inset 0 0 0 5px var(--bezel);
  font-size: 12px; line-height: 1.35;
}
.phone__notch { position: absolute; top: 11px; left: 50%; width: 60px; height: 8px; margin-left: -30px; border-radius: 999px; background: #000; }
.phone--hero { position: absolute; left: 44px; top: 150px; z-index: 2; transform: rotate(-4deg); animation: float 7s ease-in-out infinite; animation-delay: -2s; }
.ph__hi { color: var(--muted); font-size: 11px; }
.ph__q { font-size: 18px; font-weight: 600; letter-spacing: -0.03em; margin: 2px 0 12px; }
.ph__search { background: var(--surface-2); border-radius: 10px; padding: 8px 10px; color: var(--muted); font-size: 11px; margin-bottom: 12px; }
.ph__card { display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 8px; margin-bottom: 8px; }
.ph__card b { display: block; font-weight: 600; }
.ph__card small { display: block; color: var(--muted); font-size: 10px; }
.ph__img { flex-shrink: 0; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--img-a); font-size: 20px; }
.ph__img--b { background: var(--img-b); }
.ph__img--c { background: var(--img-c); }
.ph__add, .ph__qty { margin-left: auto; flex-shrink: 0; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--line-2); font-weight: 600; }
.ph__qty { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.ph__cart { display: flex; justify-content: space-between; align-items: center; gap: 8px; background: var(--accent); color: var(--accent-ink); border-radius: 12px; padding: 10px 12px; margin-top: 6px; font-size: 11px; }
.ph__cart span, .ph__cart b { white-space: nowrap; }
.ph__label { font-size: 17px; font-weight: 600; letter-spacing: -0.03em; margin-top: 2px; }
.ph__meta { color: var(--muted); font-size: 11px; margin-bottom: 12px; }
.ph__status { color: var(--accent-2); font-weight: 500; margin-bottom: 14px; }
.ph__track { display: grid; gap: 12px; margin-bottom: 14px; }
.ph__track li { position: relative; padding-left: 24px; color: var(--muted); }
.ph__track li small { display: block; font-size: 10px; }
.ph__track li::before { content: ""; position: absolute; left: 3px; top: 3px; width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--line-2); }
.ph__track li:not(:last-child)::after { content: ""; position: absolute; left: 8px; top: 16px; bottom: -12px; width: 1px; background: var(--line-2); }
.ph__track li.is-done, .ph__track li.is-now { color: var(--text); }
.ph__track li.is-done::before { background: var(--ok); border-color: var(--ok); }
.ph__track li.is-now::before { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 4px rgba(241, 99, 33, .25); }
.ph__rider { display: flex; gap: 10px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 8px; }
.ph__rider small { display: block; color: var(--muted); font-size: 10px; }
.ph__av { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ok); color: var(--ok-ink); font-weight: 700; }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); overflow: hidden; margin-top: 56px; }
.marquee__track { display: flex; width: max-content; animation: marquee 36s linear infinite; }
.marquee ul { display: flex; align-items: center; gap: 40px; padding: 26px 20px; }
.marquee li { font-family: var(--display); font-size: clamp(28px, 4vw, 52px); font-weight: 500; letter-spacing: -0.02em; color: var(--muted); white-space: nowrap; }
.marquee li:nth-child(4n+1) { color: var(--text); }
.marquee .star svg { width: clamp(18px, 2.2vw, 28px); height: auto; fill: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 128px 0; }
.section h2 { font-size: clamp(38px, 5.4vw, 76px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.02; }
.head { margin-bottom: 64px; }
.head--split { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.head--split > p { max-width: 380px; }

/* About */
.about__text { font-size: clamp(26px, 3.6vw, 48px); line-height: 1.18; letter-spacing: -0.02em; max-width: 1100px; }
.about__text .w { color: var(--line-2); transition: color .25s linear; }
.about__text .w.is-lit { color: var(--text); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 96px; border-top: 1px solid var(--line); }
.stat { padding: 32px 24px 0 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stat b { display: block; font-family: var(--display); font-size: clamp(40px, 5vw, 68px); font-weight: 600; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat p { margin-top: 14px; color: var(--muted); font-size: 15px; }

/* Products */
.products__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.product { display: block; text-decoration: none; }
.product__visual { position: relative; height: 460px; border-radius: var(--radius-lg); overflow: hidden; display: grid; place-items: center; transition: transform .6s var(--ease); }
.product:hover .product__visual { transform: scale(.985); }
.product__visual--warm { background: var(--warm-bg); }
.product__visual--cool { background: var(--cool-bg); border: 1px solid var(--line); }
.phone--mini { width: 220px; transform: translateY(40px) rotate(-3deg); transition: transform .6s var(--ease); }
.product:hover .phone--mini { transform: translateY(24px) rotate(0deg); }
.product__info { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-top: 22px; }
.product__info h3 { font-size: 30px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 8px; }
.product__info p { color: var(--muted); max-width: 440px; }
.product__go { flex-shrink: 0; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); font-size: 18px; transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease); }
.product:hover .product__go { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); transform: rotate(45deg); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chips li { font-size: 13px; padding: 5px 12px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--muted); }

/* Process */
.process { background: var(--surface); border-block: 1px solid var(--line); }
.process__grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 80px; align-items: start; }
.process__intro { position: sticky; top: 120px; }
.process__intro p { margin-top: 24px; max-width: 400px; }
.process__list li { display: grid; grid-template-columns: 72px 1fr auto; gap: 24px; padding: 40px 0; border-top: 1px solid var(--line); }
.process__list li:last-child { border-bottom: 1px solid var(--line); }
.process__n { font-family: var(--serif); font-style: italic; font-variant-numeric: lining-nums; font-size: 44px; line-height: 1; color: var(--accent-2); }
.process__list h3 { font-size: 28px; letter-spacing: -0.02em; margin-bottom: 12px; }
.process__list p { color: var(--muted); max-width: 460px; }
.process__who { font-size: 12px; padding: 4px 12px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--muted); height: fit-content; white-space: nowrap; }

/* App */
.app__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.app__copy h2 { margin-bottom: 24px; }
.feat-list { margin-top: 40px; border-top: 1px solid var(--line); }
.feat-list li { display: grid; grid-template-columns: 220px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.feat-list b { font-weight: 500; }
.feat-list span { color: var(--muted); }
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; scroll-margin-top: 120px; }
.store { display: inline-flex; align-items: center; gap: 12px; padding: 11px 22px 11px 16px; border: 1px solid var(--line-2); border-radius: 16px; text-decoration: none; font-weight: 600; font-size: 17px; line-height: 1.1; transition: border-color .3s, background .3s; }
.store:hover { border-color: var(--text); background: var(--surface); }
.store svg { width: 24px; height: 24px; }
.store small { display: block; font-size: 11px; font-weight: 400; color: var(--muted); }
.app__art { position: relative; height: 580px; }
.app__art .phone { position: absolute; }
.phone--track { left: 10%; top: 110px; transform: rotate(-5deg); }
.phone--menu { right: 10%; top: 70px; transform: rotate(3deg); z-index: 2; width: 250px; }

/* Floating detail cards around the app phones */
.fcard { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); font-size: 12px; line-height: 1.3; animation: float 6s ease-in-out infinite; white-space: nowrap; }
.fcard b { font-weight: 600; }
.fcard small { display: block; color: var(--muted); font-size: 11px; }
.fcard__ic { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; flex-shrink: 0; }
.fcard__ic .di { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fcard__ic--accent { background: rgba(241, 99, 33, .14); color: var(--accent); }
.fcard__ic--gold { background: rgba(234, 179, 8, .16); color: #CA8A04; }
.fcard__ic--green { background: rgba(22, 163, 74, .14); color: #16A34A; }
.fcard--notify { top: 20px; left: 0; animation-delay: -1s; }
.fcard--rating { top: 0; right: 2%; flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px 16px; animation-delay: -3s; }
.fcard--rating b { font-family: var(--display); font-size: 22px; line-height: 1; }
.fcard__stars { color: #F59E0B; letter-spacing: 1px; font-size: 12px; }
.fcard--addon { top: 300px; right: 2%; gap: 8px; padding: 8px 12px; border-radius: 999px; animation-delay: -2s; }
.fcard--addon b { color: var(--accent-2); }
.fcard__plus { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 700; }
.fcard--rewards { bottom: 36px; left: 4%; animation-delay: -4s; }
.fcard__bar { display: block; width: 150px; height: 5px; margin-top: 6px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.fcard__bar i { display: block; height: 100%; background: linear-gradient(90deg, #F59E0B, var(--accent)); border-radius: inherit; }
.fcard--paid { bottom: 70px; right: 4%; animation-delay: -5s; }

/* Portal tabs */
.tabs__list { display: inline-flex; max-width: 100%; overflow-x: auto; scrollbar-width: none; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; margin-bottom: 24px; }
.tabs__list button { flex-shrink: 0; white-space: nowrap; border: 0; background: transparent; padding: 10px 22px; border-radius: 999px; font-size: 15px; color: var(--muted); transition: background .3s var(--ease), color .3s var(--ease); }
.tabs__list button[aria-selected="true"] { background: var(--text); color: var(--bg); }
.tabs__panel { display: grid; grid-template-columns: 340px 1fr; gap: 24px; align-items: stretch; animation: fadeUp .6s var(--ease); }
.tabs__panel[hidden] { display: none; }
.panel__copy { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.panel__copy h3 { font-size: clamp(26px, 2.4vw, 36px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.08; }
.ticks li { position: relative; padding: 12px 0 12px 30px; border-top: 1px solid var(--line); color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 12px; height: 7px; border-left: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent); transform: rotate(-45deg); }

/* Features */
.feat-grid { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.feat { position: relative; padding: 32px 24px 36px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .4s var(--ease); }
.feat:hover { background: var(--surface); }
.feat svg { width: 28px; height: 28px; fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 48px; }
.feat__kind { position: absolute; top: 38px; right: 24px; font-size: 11px; color: var(--muted); letter-spacing: .04em; }
.feat h3 { font-size: 22px; letter-spacing: -0.03em; margin-bottom: 10px; }
.feat p { color: var(--muted); font-size: 15px; }

/* FAQ */
.faq__grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 80px; align-items: start; }
.faq__grid h2 { margin-bottom: 24px; }
.faq__list { border-top: 1px solid var(--line); }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list summary { list-style: none; cursor: pointer; padding: 26px 56px 26px 0; font-size: 20px; letter-spacing: -0.02em; position: relative; transition: color .2s; }
.faq__list summary:hover { color: var(--accent-2); }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::before, .faq__list summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 16px; height: 1.5px; background: currentColor; transition: transform .35s var(--ease); }
.faq__list summary::after { transform: rotate(90deg); }
.faq__list details[open] summary::after { transform: rotate(0); }
.faq__list details p { padding: 0 56px 28px 0; color: var(--muted); }

/* CTA */
.cta { padding: 40px 0 128px; }
.cta__box { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: 72px 64px; color: var(--accent-ink); background: radial-gradient(120% 140% at 100% 0%, #FFB08A 0%, #FF6A2B 40%, #E24E12 100%); display: grid; grid-template-columns: 1fr minmax(0, 520px); gap: 56px; align-items: center; }
.cta__box h2 { font-size: clamp(38px, 5vw, 76px); font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.cta__box h2 em { color: #FFF3EA; }
.cta__intro > p { font-size: 18px; margin-top: 24px; max-width: 460px; }
.cta__points { margin-top: 28px; display: grid; gap: 10px; }
.cta__points li { position: relative; padding-left: 28px; font-size: 15px; font-weight: 500; }
.cta__points li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 12px; height: 7px; border-left: 2px solid var(--accent-ink); border-bottom: 2px solid var(--accent-ink); transform: rotate(-45deg); }

/* Contact form card: follows the page theme */
.cta__form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 32px; background: var(--surface); color: var(--text); border-radius: 24px; box-shadow: 0 30px 60px rgba(90, 30, 0, .25); }
.field { display: grid; gap: 6px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 500; color: var(--ink-2); }
.field label span { color: var(--accent); }
.field label small { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 15px; color: var(--text);
  background: var(--bg); border: 1px solid var(--line-2); border-radius: 12px;
  padding: 12px 14px; outline: none; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 104px; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: .7; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(241, 99, 33, .18); }
.field.is-invalid input { border-color: #DC2626; box-shadow: 0 0 0 3px rgba(220, 38, 38, .12); }
.cta__submit { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 4px; }
.cta__msg { font-size: 14px; font-weight: 500; color: var(--ok); }
.cta__msg.is-error { color: #DC2626; }

/* Footer */
.footer { padding: 80px 0 32px; border-top: 1px solid var(--line); }
.footer__grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 40px; }
.footer__brand p { margin-top: 16px; color: var(--muted); max-width: 320px; }
.footer h4 { font-size: 13px; font-weight: 500; color: var(--muted); margin-bottom: 16px; letter-spacing: 0; }
.footer__grid a:not(.brand) { display: block; text-decoration: none; margin-bottom: 10px; transition: color .2s; }
.footer__grid a:not(.brand):hover { color: var(--accent-2); }
.footer__big { display: block; width: 100%; height: auto; margin: 72px 0 32px; opacity: .07; user-select: none; pointer-events: none; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.footer__bottom a { text-decoration: none; }
.footer__bottom a:hover { color: var(--text); }

/* ---------- Browser frame for real screenshots ---------- */
.browser { margin: 0; background: #F8FAFC; border: 1px solid var(--frame-border); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.browser__bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; background: var(--surface); border-bottom: 1px solid var(--line); }
.browser__bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.browser__bar p { margin-left: 10px; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.browser img { display: block; width: 100%; height: auto; }
.browser--hero { border-radius: 16px 16px 0 0; border-bottom: 0; }
.product__visual--cool { place-items: start; }
.browser--tilt { position: absolute; left: 48px; top: 56px; width: 860px; max-width: none; transform: rotate(-3deg); transform-origin: top left; transition: transform .6s var(--ease); }
.product:hover .browser--tilt { transform: rotate(0deg) translate(-8px, -8px); }

/* ---------- App mock details ---------- */
.ph__cats { display: flex; gap: 6px; margin-bottom: 12px; overflow: hidden; }
.ph__cats span { flex-shrink: 0; font-size: 10px; padding: 5px 9px; border-radius: 999px; background: var(--surface-2); color: var(--muted); }
.ph__cats span.is-on { background: var(--accent); color: var(--accent-ink); }
.ph__sub { font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 10px 0 6px; }
.ph__opt { display: flex; justify-content: space-between; align-items: center; padding: 9px 10px; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 6px; }
.ph__opt b { color: var(--accent-2); font-weight: 600; }
.ph__opt.is-on { border-color: var(--accent); background: rgba(241, 99, 33, .1); }

/* ---------- Order status flow (colours match the dashboard pills) ---------- */
.flow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 32px; }
.flow i { font-style: normal; color: var(--muted); font-size: 13px; }
.st { font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; }
.st--pending { background: #FEF9C3; color: #854D0E; }
.st--confirmed { background: #DBEAFE; color: #1E40AF; }
.st--preparing { background: #FFEDD5; color: #9A3412; }
.st--ready { background: #CCFBF1; color: #115E59; }
.st--delivered { background: #DCFCE7; color: #166534; }

/* ---------- Benefits ---------- */
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.benefit { position: relative; overflow: hidden; isolation: isolate; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; display: flex; flex-direction: column; gap: 14px; min-height: 0; transition: translate .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease), opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); }
.benefit.reveal { transition: translate .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease), opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); }
/* warm glow that rises from the bottom-right corner on hover */
.benefit::before { content: ""; position: absolute; inset: auto -30% -60% auto; width: 90%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(241, 99, 33, .22), rgba(241, 99, 33, 0)); opacity: 0; transform: translate(20%, 20%) scale(.6); transition: opacity .6s var(--ease), transform .8s var(--ease); z-index: -1; pointer-events: none; }
.benefit__n, .benefit h3 { transition: transform .5s var(--ease); }
.benefit__n { align-self: flex-start; transform-origin: 30% 70%; }
@media (hover: hover) {
  /* uses `translate` so it does not fight the scroll-reveal `transform` */
  .benefit:hover { translate: 0 -8px; border-color: rgba(241, 99, 33, .45); box-shadow: 0 24px 50px rgba(70, 40, 15, .14); }
  .benefit:hover::before { opacity: 1; transform: translate(0, 0) scale(1); }
  .benefit:hover .benefit__n { transform: translateX(6px) rotate(-8deg) scale(1.12); }
  .benefit:hover h3 { transform: translateX(4px); }
}
.benefit__n { font-family: var(--serif); font-style: italic; font-size: 40px; line-height: 1; color: var(--accent-2); margin-bottom: 44px; }
.benefit h3 { font-size: 26px; letter-spacing: -0.02em; line-height: 1.12; min-height: 2.24em; }
.benefit p { color: var(--muted); }
.benefit--light { background: var(--text); color: var(--bg); border-color: var(--text); }
.benefit--light h3 { font-family: var(--serif); font-weight: 400; font-size: 30px; letter-spacing: -0.01em; line-height: .97; min-height: 1.94em; }
.benefit--light p { color: var(--inverse-muted); }
.benefit--light .benefit__n { color: var(--accent); }
.benefit--light::before { background: radial-gradient(closest-side, rgba(241, 99, 33, .45), rgba(241, 99, 33, 0)); }

/* ---------- Dashboard mockups (HTML recreation of the Foodbean admin) ----------
   Always shown in the dashboard's own light look. Everything is sized in em,
   and 1em = 1/110 of the mockup's width, so it scales evenly at any size. */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.dash {
  --d-bg: #F8FAFC; --d-card: #FFFFFF; --d-line: #EEF0F3; --d-line-2: #E2E5EA;
  --d-text: #111827; --d-muted: #6B7280; --d-accent: #F16321; --d-accent-soft: #FFF1E8;
  container-type: inline-size; position: relative; color-scheme: light;
}
.dash__in {
  font-family: var(--font); font-size: calc(100cqw / 110); line-height: 1.35;
  display: grid; grid-template-columns: 19em 1fr; background: var(--d-bg); color: var(--d-text);
  letter-spacing: 0; position: relative; overflow: hidden;
}
.dash b { font-weight: 600; }
.dash small, .dash em { font-style: normal; }
.di { width: 1.25em; height: 1.25em; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* sidebar */
.dside { background: var(--d-card); border-right: 1px solid var(--d-line); padding: 2.2em 1.4em 1.8em; display: flex; flex-direction: column; font-size: 1em; }
.dside__logo { height: 1.8em; width: auto; margin: 0 0 2.4em .6em; }
.dside__label { font-size: 1.05em; letter-spacing: .12em; text-transform: uppercase; color: var(--d-muted); margin: 0 0 1em .8em; }
.dside__nav { display: grid; gap: .25em; }
.dside__item { display: flex; align-items: center; gap: 1em; padding: .8em 1em; border-radius: .9em; font-size: 1.3em; color: #374151; }
.dside__item.is-on { background: var(--d-accent-soft); color: var(--d-accent); font-weight: 600; }
.dside__user { margin-top: 2.4em; display: flex; align-items: center; gap: .9em; padding: 1em; border-radius: 1em; background: var(--d-bg); font-size: 1.1em; }
.dside__user > span:last-child { min-width: 0; }
.dside__user b, .dside__user small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dside__user small { color: var(--d-muted); font-size: .85em; }
.dav { display: grid; place-items: center; width: 2.8em; height: 2.8em; border-radius: 50%; background: var(--d-accent); color: #fff; font-weight: 700; flex-shrink: 0; }

/* main column */
.dmain { padding: 2.8em 3.2em 3.2em; min-width: 0; }
.dmain.is-dim { filter: blur(2px); opacity: .45; }
.dh1 { display: flex; align-items: center; gap: .4em; font-size: 2.6em; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
.dh1 span { color: var(--d-accent); }
.dh1--text { display: block; }
.di--title { color: var(--d-accent); width: 1em; height: 1em; }
.dsub { display: block; color: var(--d-muted); font-size: 1.35em; margin: .3em 0 1.6em; }
.dh2 { display: flex; align-items: center; gap: .6em; font-size: 1.6em; font-weight: 600; margin: 2em 0 .8em; }
.dh2 .di { color: var(--d-accent); }
.dcard { background: var(--d-card); border: 1px solid var(--d-line); border-radius: 1.4em; box-shadow: 0 .2em .8em rgba(17, 24, 39, .04); }
.dic { display: grid; place-items: center; width: 3.6em; height: 3.6em; border-radius: 1em; flex-shrink: 0; }
.dic .di { width: 1.7em; height: 1.7em; }
.dic--green { background: #ECFDF5; color: #16A34A; }
.dic--orange, .dic--soft { background: var(--d-accent-soft); color: var(--d-accent); }
.dic--blue { background: #EFF6FF; color: #2563EB; }
.dic--purple { background: #F5F3FF; color: #7C3AED; }
.dic--soft { width: 3em; height: 3em; }
.dic--soft .di { width: 1.4em; height: 1.4em; }

.dopen { display: flex; align-items: center; gap: 1.2em; padding: 1.4em 1.8em; border-radius: 1.4em; background: #F0FDF4; border: 1px solid #BBF7D0; }
.dopen b, .dopen small { display: block; }
.dopen b { font-size: 1.35em; }
.dopen small { color: #15803D; font-size: 1.15em; }
.dswitch { margin-left: auto; width: 4.4em; height: 2.4em; border-radius: 99em; background: var(--d-line-2); position: relative; flex-shrink: 0; }
.dswitch::after { content: ""; position: absolute; top: .3em; left: .3em; width: 1.8em; height: 1.8em; border-radius: 50%; background: #fff; box-shadow: 0 .1em .3em rgba(0, 0, 0, .2); }
.dswitch.is-on { background: #22C55E; }
.dswitch.is-on::after { left: auto; right: .3em; }

.dstats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4em; margin-top: 1.8em; }
.dstat { display: flex; align-items: center; gap: 1.2em; padding: 1.8em 1.6em; background: var(--d-card); border: 1px solid var(--d-line); border-radius: 1.4em; box-shadow: 0 .2em .8em rgba(17, 24, 39, .04); min-width: 0; }
.dstat b, .dstat small { display: block; white-space: nowrap; }
.dstat b { font-size: 2.1em; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.dstat small { color: var(--d-muted); font-size: 1.15em; }

.dstatus { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4em; margin-top: 1.6em; }
.dst { display: flex; justify-content: space-between; align-items: center; padding: 1.1em 1.6em; border-radius: 1.2em; border: 1px solid; font-size: 1.3em; font-weight: 500; }
.dst b { font-size: 1.6em; font-weight: 700; }
.dst--pending { background: #FEFCE8; border-color: #FDE68A; color: #A16207; }
.dst--confirmed { background: #EFF6FF; border-color: #BFDBFE; color: #1D4ED8; }
.dst--preparing { background: #FFF7ED; border-color: #FED7AA; color: #C2410C; }
.dst--ready { background: #F0FDFA; border-color: #99F6E4; color: #0F766E; }

.dlist { overflow: hidden; }
.drow { display: flex; align-items: center; gap: 1.2em; padding: 1.3em 1.8em; border-top: 1px solid var(--d-line); }
.drow:first-child { border-top: 0; }
.drow.is-new { animation: dnew 3s ease-in-out infinite; }
@keyframes dnew { 0%, 100% { background: #FFFBEB; } 50% { background: var(--d-card); } }
.drow__id { flex: 1; min-width: 0; font-size: 1.25em; }
.drow__id small { color: var(--d-muted); margin-left: .3em; }
.drow__id em { display: block; color: #9CA3AF; font-size: .9em; }
.drow__amt { font-size: 1.3em; }

/* status / type pills (colours match the real dashboard) */
.dp { display: inline-block; font-size: 1.05em; font-weight: 600; padding: .3em .9em; border-radius: 99em; white-space: nowrap; letter-spacing: .02em; }
.dp--pending { background: #FEF9C3; color: #A16207; }
.dp--confirmed { background: #DBEAFE; color: #1D4ED8; }
.dp--preparing { background: #FFEDD5; color: #C2410C; }
.dp--ready { background: #CCFBF1; color: #0F766E; }
.dp--delivered, .dp--paid { background: #DCFCE7; color: #15803D; }
.dp--cancelled { background: #FEE2E2; color: #B91C1C; }
.dp--refunded { background: #E0E7FF; color: #4338CA; }
.dp--pickup { background: #FFEDD5; color: #C2410C; }
.dp--delivery { background: #DBEAFE; color: #1D4ED8; }

/* orders */
.dchips { display: flex; gap: .8em; margin-bottom: 1.6em; }
.dchips span { font-size: 1.3em; padding: .6em 1.3em; border-radius: 99em; border: 1px solid var(--d-line-2); background: var(--d-card); }
.dchips .is-on { background: var(--d-accent); border-color: var(--d-accent); color: #fff; font-weight: 600; box-shadow: 0 .3em .8em rgba(241, 99, 33, .3); }
.dfilters { display: flex; gap: 1.2em; padding: 1.4em; margin-bottom: 1.6em; }
.dselect, .dsearch { display: flex; align-items: center; gap: .7em; font-size: 1.25em; padding: .75em 1em; border: 1px solid var(--d-line-2); border-radius: .8em; background: var(--d-card); white-space: nowrap; }
.dselect { justify-content: space-between; min-width: 14em; }
.dsearch { flex: 1; color: #9CA3AF; overflow: hidden; }
.dtable { overflow: hidden; }
.dth, .dtr { display: grid; grid-template-columns: 1.2fr 1.5fr .9fr .9fr 1fr 1.6fr; gap: 1em; padding: 1.3em 1.8em; align-items: start; }
.dth { font-size: 1em; letter-spacing: .1em; text-transform: uppercase; color: var(--d-muted); border-bottom: 1px solid var(--d-line); }
.dtr { border-top: 1px solid var(--d-line); font-size: 1em; }
.dtr:nth-child(2) { border-top: 0; }
.dtr.is-new { background: #FFFBEB; }
.dtr > span { min-width: 0; }
.dtr b { display: block; font-size: 1.25em; margin-bottom: .3em; }
.dtr em { display: block; color: #9CA3AF; font-size: 1.05em; margin-top: .4em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dtr__act { display: flex; justify-content: flex-end; gap: .6em; }
.dbtn { display: inline-block; font-size: 1.1em; font-weight: 600; padding: .6em 1.1em; border-radius: .8em; white-space: nowrap; }
.dbtn--line { border: 1px solid #FDBA9A; color: var(--d-accent); background: #FFF7F3; }
.dbtn--red { border-color: #FCA5A5; color: #DC2626; background: #FEF2F2; }
.dbtn--solid { background: var(--d-accent); color: #fff; font-size: 1.3em; padding: .8em 1.6em; }
.dbtn--soft { background: #FEF2F2; color: #DC2626; font-size: 1.3em; padding: .8em 1.6em; }
.ddash { color: #D1D5DB; font-size: 1.3em; }

/* order detail */
.dbackl { display: flex; align-items: center; gap: .5em; font-size: 1.25em; color: var(--d-muted); margin-bottom: 1.2em; }
.dhead { display: flex; justify-content: space-between; align-items: flex-start; }
.dhead .dsub { margin-bottom: 1.2em; }
.dhead__p { display: flex; gap: .6em; }
.dbanner { display: flex; align-items: center; gap: 1.2em; padding: 1.2em 1.6em; background: var(--d-accent-soft); border-left: .35em solid var(--d-accent); border-radius: 1.2em; margin-bottom: 1.6em; }
.dbanner__i { color: var(--d-accent); }
.dbanner__i .di { width: 2em; height: 2em; }
.dbanner small { display: block; font-size: 1em; letter-spacing: .08em; text-transform: uppercase; color: var(--d-accent); font-weight: 600; }
.dbanner b { font-size: 1.6em; color: #9A3412; }
.dsplit { display: grid; grid-template-columns: 1.6fr 1fr; gap: 1.6em; }
.dcol { display: grid; gap: 1.6em; align-content: start; }
.dbox { padding: 1.8em; }
.dh3 { display: flex; align-items: center; gap: .6em; font-size: 1.5em; font-weight: 600; padding-bottom: .8em; margin-bottom: 1em; border-bottom: 1px solid var(--d-line); }
.dh3 .di { color: var(--d-accent); }
.dcount { margin-left: auto; font-size: .7em; font-weight: 500; background: var(--d-bg); padding: .2em .8em; border-radius: 99em; color: var(--d-muted); }
.ditem { display: flex; align-items: center; gap: 1.2em; padding: .6em 0; font-size: 1.2em; }
.ditem img { width: 4.6em; height: 4.6em; object-fit: cover; border-radius: .8em; }
.ditem span { flex: 1; }
.ditem span b, .ditem span small { display: block; }
.ditem small { color: var(--d-muted); }
.dhandled { font-size: 1.2em; color: var(--d-muted); margin-bottom: 1.2em; }
.dhandled em { font-style: italic; color: #9CA3AF; }
.dbtns { display: flex; gap: 1em; }
.dkv { display: grid; gap: .3em; font-size: 1.2em; color: var(--d-muted); padding-bottom: 1em; margin-bottom: 1em; border-bottom: 1px solid var(--d-line); }
.dkv b { color: var(--d-text); }
.dlabel { display: flex; align-items: center; gap: .6em; font-size: 1em; letter-spacing: .1em; text-transform: uppercase; color: var(--d-muted); margin: 1.4em 0 .8em; }
.dlabel .di { color: var(--d-accent); }
.dlabel--row { justify-content: space-between; }
.dlabel--row > span:first-child { display: flex; align-items: center; gap: .6em; }
.dtype { display: flex; align-items: center; gap: .6em; font-size: 1.25em; font-weight: 600; }
.dtype .di { color: var(--d-accent); }
.dbill { display: flex; justify-content: space-between; font-size: 1.2em; color: var(--d-muted); padding: .35em 0; }
.dbill b { color: var(--d-text); }
.dbill--total { border-top: 1px solid var(--d-line); margin-top: .5em; padding-top: .8em; color: var(--d-text); font-weight: 600; }
.dbill--total b { color: #16A34A; font-size: 1.2em; }

/* menu */
.dseg { display: inline-flex; gap: .3em; padding: .4em; background: #F1F3F6; border-radius: 1em; margin-bottom: 1.6em; }
.dseg span { font-size: 1.25em; padding: .6em 1.2em; border-radius: .7em; color: var(--d-muted); }
.dseg .is-on { background: var(--d-card); color: var(--d-text); font-weight: 600; box-shadow: 0 .1em .4em rgba(17, 24, 39, .08); }
.dtools { display: flex; gap: 1em; margin-bottom: 1.6em; }
.dtools .dselect { min-width: 0; color: var(--d-text); }
.dview { display: flex; gap: .2em; padding: .3em; background: #F1F3F6; border-radius: .8em; }
.dview i { display: grid; place-items: center; width: 3em; border-radius: .6em; color: var(--d-muted); }
.dview i.is-on { background: var(--d-card); color: var(--d-text); }
.dcat { overflow: hidden; }
.dcat__h { display: flex; align-items: center; gap: 1em; padding: 1.2em 1.8em; border-bottom: 1px solid var(--d-line); background: #FCFCFD; }
.dcat__h img { width: 3em; height: 3em; object-fit: cover; border-radius: .7em; }
.dcat__h b { font-size: 1.4em; }
.dcat__h small { margin-left: auto; color: var(--d-muted); font-size: 1.15em; }
.dcat__tools { color: var(--d-muted); padding-left: 1em; border-left: 1px solid var(--d-line); }
.dmgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4em; padding: 1.8em; }
.dmi { border: 1px solid var(--d-line); border-radius: 1.2em; overflow: hidden; background: var(--d-card); padding-bottom: 1.2em; min-width: 0; }
.dmi__img { position: relative; display: block; aspect-ratio: 16 / 10; margin-bottom: 1em; }
.dmi__img img { width: 100%; height: 100%; object-fit: cover; object-position: 20% 50%; }
.dmi:nth-child(2) .dmi__img img { object-position: 60% 40%; }
.dmi:nth-child(3) .dmi__img img { object-position: 0% 80%; transform: scaleX(-1); }
.dmi:nth-child(4) .dmi__img img { object-position: 45% 20%; }
.dmi:nth-child(5) .dmi__img img { object-position: 35% 70%; transform: scaleX(-1); }
.dmi:nth-child(6) .dmi__img img { object-position: 10% 30%; }
.dmi:nth-child(7) .dmi__img img { object-position: 55% 90%; transform: scaleX(-1); }
.dmi:nth-child(8) .dmi__img img { object-position: 30% 10%; }
.dmi__img em { position: absolute; top: .8em; left: .8em; font-size: .95em; font-weight: 700; color: #fff; background: #22C55E; padding: .2em .7em; border-radius: 99em; }
.dmi b, .dmi small, .dmi__p { display: block; padding: 0 1.1em; }
.dmi b { font-size: 1.2em; }
.dmi small { color: var(--d-muted); font-size: 1.05em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin: .3em 0 .5em; }
.dmi__p { color: var(--d-accent); font-weight: 700; font-size: 1.2em; }

/* item window */
.dmodal { position: absolute; top: 5%; left: 50%; width: 54em; margin-left: -18em; background: var(--d-card); border-radius: 2em; overflow: hidden; box-shadow: 0 2em 5em rgba(17, 24, 39, .35); z-index: 2; }
.dmodal__img { position: relative; height: 16em; }
.dmodal__img img { width: 100%; height: 100%; object-fit: cover; }
.dmodal__cat { position: absolute; top: 1.4em; left: 1.4em; background: var(--d-accent); color: #fff; font-size: 1.05em; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .4em 1em; border-radius: 99em; }
.dmodal__ok { position: absolute; bottom: 1.4em; left: 1.4em; display: flex; align-items: center; gap: .4em; background: #22C55E; color: #fff; font-size: 1.15em; font-weight: 600; padding: .4em 1em; border-radius: 99em; }
.dmodal__x { position: absolute; top: 1.4em; right: 1.4em; display: grid; place-items: center; width: 3em; height: 3em; border-radius: 50%; background: rgba(17, 24, 39, .75); color: #fff; }
.dmodal__body { padding: 2em 2.4em 2.4em; }
.dmodal__t { display: flex; justify-content: space-between; align-items: center; padding-bottom: 1.2em; border-bottom: 1px solid var(--d-line); }
.dmodal__t b { font-size: 2em; font-weight: 700; }
.dmodal__acts { display: flex; gap: .6em; }
.dmodal__acts i { display: grid; place-items: center; width: 3em; height: 3em; border-radius: .8em; border: 1px solid #FDBA9A; color: var(--d-accent); }
.dmodal__acts i.is-red { background: #EF4444; border-color: #EF4444; color: #fff; }
.dmodal__d { font-size: 1.2em; color: #4B5563; margin: 1.2em 0 0; line-height: 1.5; }
.dvar { display: flex; justify-content: space-between; align-items: center; max-width: 28em; padding: 1em 1.4em; border: 1px solid #FDBA9A; background: #FFF7F3; border-radius: 1.2em; font-size: 1.25em; }
.dvar em { font-size: .75em; font-weight: 700; color: var(--d-accent); border: 1px solid #FDBA9A; padding: .1em .6em; border-radius: .5em; margin-left: .5em; text-transform: uppercase; letter-spacing: .06em; }
.dvar b { color: var(--d-accent); }
.daddons { display: flex; flex-wrap: wrap; gap: .8em; }
.daddons span { font-size: 1.2em; padding: .7em 1.1em; border-radius: .9em; background: #F3F4F6; }
.daddons b { color: var(--d-accent); margin-left: .3em; }

/* narrow frames: drop the sidebar so the content reads larger */
@container (max-width: 560px) {
  .dash__in { grid-template-columns: 1fr; font-size: calc(100cqw / 84); }
  .dside { display: none; }
  .dmain { padding: 2.4em 2.2em 2.6em; }
  .dmodal { left: 4%; width: 92%; margin-left: 0; }
  .dmgrid { grid-template-columns: repeat(2, 1fr); }
  .dmi:nth-child(n+5) { display: none; }
}

/* frames that hold a mockup */
.browser--hero .dash__in { max-height: none; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); filter: blur(6px); transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; filter: none; }
.no-js .reveal { opacity: 1; transform: none; filter: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } }
.section[id], .cta[id] { scroll-margin-top: 72px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero__stage { padding: 64px 32px 0 200px; }
  .head--split { flex-direction: column; align-items: flex-start; }
  .process__grid, .app__grid, .faq__grid { grid-template-columns: 1fr; gap: 48px; }
  .process__intro { position: static; }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .tabs__panel { grid-template-columns: 1fr; }
  .benefit-grid { grid-template-columns: 1fr; }
  .benefit__n { margin-bottom: 20px; }
  .benefit h3, .benefit--light h3 { min-height: 0; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 32px; }
}

@media (max-width: 900px) {
  .nav__links {
    position: fixed; inset: 72px 12px auto 12px;
    flex-direction: column; gap: 0;
    background: var(--surface); border: 1px solid var(--line); border-radius: 24px;
    padding: 12px;
    opacity: 0; transform: translateY(-8px); visibility: hidden;
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  }
  .nav__links.is-open { opacity: 1; transform: none; visibility: visible; }
  .nav__links a { padding: 14px 12px; font-size: 18px; color: var(--text); }
  .nav__mobile-cta { display: inline-flex !important; margin-top: 8px; color: var(--accent-ink) !important; }
  .nav__actions .btn { display: none; }
  .nav__toggle { display: block; }
  .hero__row { flex-direction: column; align-items: flex-start; }
  .cta__box { grid-template-columns: 1fr; gap: 40px; }
  .products__grid { grid-template-columns: 1fr; }
  .tabs__panel { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .section { padding: 88px 0; }
  .head { margin-bottom: 40px; }
  .hero { padding-top: 32px; }
  .hero__meta { display: none; }
  .hero__cta { width: 100%; }
  .hero__cta .btn { flex: 1; }
  .hero__stage { padding: 250px 16px 0; margin-top: 40px; border-radius: 24px 24px 0 0; }
  .phone--hero { left: 50%; top: 24px; width: 210px; margin-left: -105px; padding: 26px 12px 12px; }
  .phone--hero .ph__card--extra { display: none; }
  .browser--tilt { left: 20px; top: 40px; width: 620px; }
  .tabs__panel { gap: 16px; }
  .toast { display: none; }
  .stats { grid-template-columns: 1fr 1fr; margin-top: 64px; }
  .stat { padding-right: 12px; }
  .stat + .stat { padding-left: 16px; }
  .stat:nth-child(3) { padding-left: 0; }
  .product__visual { height: 380px; }
  .process__list li { grid-template-columns: 48px 1fr; gap: 16px; padding: 32px 0; }
  .process__n { font-size: 34px; }
  .process__who { grid-column: 2; justify-self: start; }
  .process__list h3 { font-size: 23px; }
  .feat-list li { grid-template-columns: 1fr; gap: 4px; }
  .app__art { height: 520px; }
  .phone--track { left: 10px; top: 150px; width: 180px; }
  .phone--menu { right: 10px; top: 66px; width: 196px; }
  .fcard { font-size: 11px; padding: 8px 10px; }
  .fcard--rating, .fcard--addon { display: none; }
  .fcard--notify { top: 0; left: 0; }
  .fcard--rewards { bottom: 0; left: 0; }
  .fcard--paid { bottom: 70px; right: 0; }
  .fcard__bar { width: 110px; }
  .phone--menu .ph__card small { display: none; }
  .panel__copy { padding: 28px; }
  .panel__art { padding: 24px 16px; min-height: 380px; }
  .tabs__list button { padding: 10px 14px; }
  .feat-grid { grid-template-columns: 1fr 1fr; }
  .feat { padding: 22px 16px 26px; }
  .feat svg { margin-bottom: 18px; }
  .feat h3 { font-size: 19px; }
  .feat p { font-size: 14px; }
  .cta__box { padding: 64px 24px; border-radius: 24px; }
  .cta__form { grid-template-columns: 1fr; padding: 22px; border-radius: 20px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > div:last-child { grid-column: auto; }
  .faq__list summary { font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  .marquee__track { animation: none; }
  .reveal { opacity: 1; transform: none; filter: none; }
  .about__text .w { color: var(--text); }
}
