.landing { overflow-x: hidden; }
.ld-wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.ld-nav { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--bg) 80%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); }
.ld-nav .ld-wrap { display: flex; align-items: center; gap: 22px; height: 70px; }
.ld-nav a.lk { color: var(--text-2); font-weight: 600; font-size: 14px; padding: 12px 4px; }
.ld-nav a.lk:hover { color: var(--accent); }
.ld-links { display: flex; gap: 22px; }
.ld-hero { position: relative; padding: 80px 0 60px; }
.ld-hero::before { content: ''; position: absolute; inset: -200px -20% auto; height: 700px; background: radial-gradient(closest-side, var(--glow), transparent); opacity: .35; pointer-events: none; }
.ld-hero { overflow-x: clip; } /* the glow above spills 20% sideways and made the page scroll horizontally */
.ld-hero .ld-wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; position: relative; }
.ld-kicker { display: inline-flex; gap: 8px; align-items: center; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--border-strong); background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: 13px; }
.ld-hero h1 { font-size: clamp(32px, 5vw, 56px); line-height: 1.35; font-weight: 900; margin: 18px 0 14px; letter-spacing: -1px; }
.ld-hero h1 .gr { background: linear-gradient(135deg, var(--accent-2), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ld-hero p.lead { font-size: 17px; color: var(--text-2); line-height: 2; max-width: 560px; }
.ld-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.ld-trust { display: flex; gap: 22px; margin-top: 28px; flex-wrap: wrap; color: var(--muted); font-size: 13px; }
.ld-trust b { color: var(--text); font-size: 20px; display: block; }
/* hero: one phone with a real-looking menu (its own warm colours, whatever the page theme), three tidy cards beside it */
.ld-mock { display: flex; align-items: center; justify-content: center; gap: 22px; }
.ld-phone { flex: none; width: 262px; height: 536px; border-radius: 42px; background: #0b0b0d; padding: 10px; box-shadow: 0 40px 80px -30px var(--glow), 0 0 0 2px #2a2a2e; animation: float 6s ease-in-out infinite; }
.ld-phone .scr { height: 100%; border-radius: 33px; background: #15100c; color: #f6ecdf; overflow: hidden; padding: 16px 12px 12px; display: flex; flex-direction: column; gap: 10px; }
.ld-phone .top { display: flex; align-items: center; gap: 8px; }
.ld-phone .top .lg { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #f2a541; font-size: 15px; }
.ld-phone .top b { font-size: 13px; }
.ld-phone .top .tb { margin-inline-start: auto; padding: 3px 10px; border-radius: 999px; background: rgba(242,165,65,.16); color: #f2a541; font-size: 11px; font-weight: 700; }
.ld-phone .ban { position: relative; height: 108px; flex: none; border-radius: 18px; overflow: hidden; }
.ld-phone .ban img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ld-phone .ban span { position: absolute; bottom: 8px; inset-inline-start: 8px; padding: 4px 10px; border-radius: 999px; background: rgba(0,0,0,.6); font-size: 11px; font-weight: 700; }
.ld-phone .cats { display: flex; gap: 6px; }
.ld-phone .cats span { padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.07); font-size: 11px; }
.ld-phone .cats .on { background: #f2a541; color: #1b1109; font-weight: 700; }
.ld-phone .itm { display: flex; gap: 10px; align-items: center; padding: 7px; border-radius: 16px; background: rgba(255,255,255,.05); }
.ld-phone .itm img { width: 48px; height: 48px; flex: none; border-radius: 12px; object-fit: cover; }
.ld-phone .itm .grow { flex: 1; min-width: 0; }
.ld-phone .itm b { display: block; font-size: 12.5px; }
.ld-phone .itm small { display: block; font-size: 10.5px; color: rgba(246,236,223,.6); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ld-phone .itm .pr { font-size: 12px; font-weight: 800; color: #f2a541; }
.ld-phone .itm .add { width: 24px; height: 24px; flex: none; border-radius: 50%; display: grid; place-items: center; background: #f2a541; color: #1b1109; font-style: normal; font-weight: 900; }
.ld-phone .cart { margin-top: auto; display: flex; justify-content: space-between; align-items: center; padding: 11px 14px; border-radius: 16px; background: #f2a541; color: #1b1109; font-size: 12px; }
.ld-side { flex: none; width: 228px; display: flex; flex-direction: column; gap: 14px; }
.ld-card { border-radius: 18px; background: var(--surface-solid); border: 1px solid var(--border-strong); padding: 14px; box-shadow: var(--shadow); animation: float 7s ease-in-out infinite; }
.ld-card b { font-size: 13px; } .ld-card small { display: block; font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.ld-card.sale .big { display: block; font-size: 22px; font-weight: 900; margin: 4px 0 10px; }
.ld-card.sale .bars { display: flex; align-items: flex-end; gap: 6px; height: 54px; }
.ld-card.sale .bars i { flex: 1; border-radius: 6px 6px 2px 2px; background: linear-gradient(to top, var(--accent-soft), var(--accent)); }
.ld-card.ping, .ld-card.done { display: flex; align-items: center; gap: 10px; animation-duration: 6s; animation-delay: -2s; }
.ld-card.done { animation-delay: -4s; }
.ld-card .dot { width: 10px; height: 10px; flex: none; border-radius: 50%; background: var(--accent); animation: ld-ping 1.6s ease-out infinite; }
.ld-card .em { font-size: 22px; }
@keyframes ld-ping { 0% { box-shadow: 0 0 0 0 var(--accent-soft); } 100% { box-shadow: 0 0 0 10px transparent; } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
.ld-sec { padding: 70px 0; }
.ld-sec h2.t { text-align: center; font-size: clamp(24px, 3.5vw, 36px); font-weight: 900; }
.ld-sec p.s { text-align: center; color: var(--muted); margin: 8px auto 36px; max-width: 640px; line-height: 2; }
.ld-feats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ld-feat { padding: 22px; border-radius: 22px; background: var(--surface); border: 1px solid var(--border); transition: transform .2s, border-color .2s; }
.ld-feat:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.ld-feat .ic { width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); margin-bottom: 14px; }
.ld-feat .ic svg { width: 26px; height: 26px; }
.ld-feat b { display: block; font-size: 16px; margin-bottom: 6px; } .ld-feat p { color: var(--muted); font-size: 13px; line-height: 1.9; }
.ld-occshow { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 40px; align-items: center; }
.ld-occ { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.ld-occb { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border: 0; border-radius: 16px; color: #fff; font: inherit; font-weight: 800; font-size: 14px; cursor: pointer; opacity: .78; transition: opacity .2s, transform .15s, box-shadow .2s; }
.ld-occb .em { font-size: 18px; }
.ld-occb:hover { opacity: 1; transform: translateY(-2px); }
.ld-occb.on { opacity: 1; box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--accent); }
.ld-demos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ld-demo { display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: 22px; background: var(--surface); border: 1px solid var(--border); color: var(--text); transition: transform .2s; }
.ld-demo:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.ld-demo .em { font-size: 40px; }
.ld-faq { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.ld-faq details { border-radius: 16px; background: var(--surface); border: 1px solid var(--border); padding: 16px 18px; }
.ld-faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; }
.ld-faq summary::after { content: '+'; color: var(--accent); font-size: 20px; line-height: 1; }
.ld-faq details[open] summary::after { content: '−'; }
.ld-faq p { margin-top: 10px; color: var(--muted); line-height: 2; font-size: 14px; }
.ld-final { text-align: center; border-radius: 30px; padding: 50px 24px; background: radial-gradient(600px 300px at 50% 0%, var(--glow), transparent), var(--surface); border: 1px solid var(--border-strong); }
.ld-foot { border-top: 1px solid var(--border); padding: 30px 0; color: var(--muted); font-size: 13px; margin-top: 50px; }
@media (max-width: 1000px) { .ld-hero .ld-wrap { grid-template-columns: 1fr; } .ld-feats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ld-demos { grid-template-columns: 1fr; } .ld-links { display: none; }
  .ld-occshow { grid-template-columns: 1fr; justify-items: center; gap: 18px; } }
/* phones: the menu phone alone (plus the new-order card under it); tools as small two-column tiles with just a name */
@media (max-width: 560px) {
  .ld-hero { padding-top: 40px; }
  .ld-mock { flex-direction: column; gap: 14px; }
  .ld-phone { width: 240px; height: 492px; }
  .ld-side { width: min(260px, 100%); } .ld-card.sale, .ld-card.done { display: none; } .ld-card.ping { animation: none; }
  .ld-feats { gap: 10px; }
  .ld-feat { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 16px; }
  .ld-feat:hover { transform: none; }
  .ld-feat .ic { width: 38px; height: 38px; flex: none; border-radius: 12px; margin: 0; }
  .ld-feat .ic svg { width: 20px; height: 20px; }
  .ld-feat b { font-size: 13px; line-height: 1.6; margin: 0; }
  .ld-feat p { display: none; }
  .ld-sec { padding: 48px 0; }
  .ld-phone .itm:nth-of-type(4) { display: none; }
}
@media (max-width: 400px) { .ld-feat { flex-direction: column; text-align: center; gap: 8px; } .ld-feat b { font-size: 12.5px; } }
@media (max-width: 760px) {
  .ld-occ { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; width: 100%; padding: 6px 6px 8px; overscroll-behavior-x: contain; }
  .ld-occ::-webkit-scrollbar { display: none; }
  .ld-occb { flex: none; padding: 10px 14px; font-size: 13px; }
}

/* ---------- Template showcase: pick a name, see the live menu in a phone ---------- */
.ld-showcase { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 40px; align-items: center; }
.ld-tpls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ld-tpl { text-align: start; display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border-radius: 18px; border: 1px solid var(--border); background: var(--surface); color: var(--text); cursor: pointer; font: inherit; transition: border-color .2s, background .2s, transform .15s; }
.ld-tpl b { font-size: 17px; }
.ld-tpl span { font-size: 12px; color: var(--muted); line-height: 1.7; }
.ld-tpl:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.ld-tpl.active { border-color: var(--accent); background: var(--accent-soft); }
.ld-tpl.active b { color: var(--accent); }
.ld-phone-live { position: relative; width: 330px; height: 660px; border-radius: 44px; padding: 12px; background: #0b0b0d; box-shadow: 0 0 0 2px #2a2a2e, var(--shadow-lg, 0 20px 60px rgba(0,0,0,.5)); }
.ld-phone-live .notch { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 96px; height: 22px; border-radius: 0 0 16px 16px; background: #0b0b0d; z-index: 2; }
.ld-frame { width: 100%; height: 100%; border: 0; border-radius: 34px; background: #fff; }
@media (max-width: 1000px) { .ld-showcase { grid-template-columns: 1fr; justify-items: center; } .ld-tplcol { width: 100%; } }
@media (max-width: 480px) { .ld-phone-live { width: min(330px, 100%); } }
@media (max-width: 480px) { .ld-nav .ld-wrap { gap: 8px; } .ld-nav .btn { padding-inline: 12px; } .ld-nav .mode-toggle { flex: none; } }

/* template filter by business type */
.ld-suits { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin: 0 0 22px; }
.ld-suits button { height: 36px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text-2); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.ld-suits button.on { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.ld-tpl[hidden] { display: none; }

/* one order, start to finish: a road the order drives along, the four steps are its stops */
.ld-journey { list-style: none; padding: 0; margin: 34px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: relative; }
.ld-road { position: absolute; top: 0; inset-inline: 0; width: 100%; overflow: visible; pointer-events: none; }
.ld-road .rd { stroke: color-mix(in srgb, var(--text) 9%, transparent); stroke-width: 30; stroke-linecap: round; }
.ld-road .rd-line { stroke: var(--accent); stroke-width: 2.5; stroke-dasharray: 14 12; opacity: .7; animation: ld-dash 1.2s linear infinite; }
.ld-road .rd-car circle { fill: var(--accent); } .ld-road .rd-car .rd-glow { fill: var(--accent-soft); }
.ld-road.narrow { display: none; }
@keyframes ld-dash { to { stroke-dashoffset: -26; } }
/* the road is 16% of the row's width tall, stops halfway down = 32% of one step's width (a grid item's % padding is of its column) */
.ld-journey li { position: relative; z-index: 1; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: calc(32% - 30px) 10px 0; }
.ld-journey li > div { display: flex; flex-direction: column; gap: 6px; align-items: center; margin-top: calc(28% - 24px); } /* % of the step's width (¼ row): clears the road's lower bends */
.ld-j-ico { width: 60px; height: 60px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--surface-solid); border: 3px solid var(--accent); position: relative; animation: ld-stop 8s ease-in-out infinite; animation-delay: calc(var(--i) * 2.08s + .25s); }
.ld-j-ico svg { width: 26px; height: 26px; color: var(--accent); }
.ld-j-ico .n { position: absolute; top: -6px; inset-inline-end: -6px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink, #1b1109); font-style: normal; font-size: 12px; font-weight: 900; }
.ld-journey b { font-size: 15px; }
.ld-journey p { font-size: 13px; color: var(--muted); line-height: 1.8; max-width: 220px; }
@keyframes ld-stop { 0%, 24%, 100% { transform: scale(1); box-shadow: 0 0 0 0 transparent; } 6%, 14% { transform: scale(1.12); box-shadow: 0 0 0 8px var(--accent-soft); } }
/* phones: the road winds down a side lane; each step sits by its stop (lane 80 px wide, a stop every 130 px) */
@media (max-width: 760px) {
  .ld-journey { grid-template-columns: minmax(0, 1fr); padding-inline-start: 80px; }
  .ld-road.wide { display: none; }
  .ld-road.narrow { display: block; width: 80px; height: 520px; inset-inline: 0 auto; }
  .ld-road .rd { stroke-width: 22; }
  .ld-journey li { height: 130px; padding: 0; padding-inline-start: 12px; flex-direction: row; text-align: start; align-items: center; }
  .ld-j-ico { position: absolute; inset-inline-start: -62px; top: 43px; width: 44px; height: 44px; border-width: 2px; }
  .ld-j-ico svg { width: 20px; height: 20px; }
  .ld-j-ico .n { width: 18px; height: 18px; font-size: 10px; top: -5px; inset-inline-end: -5px; }
  .ld-journey li > div { align-items: flex-start; margin: 0; gap: 4px; }
  .ld-journey b { font-size: 14.5px; }
  .ld-journey p { font-size: 12.5px; line-height: 1.75; max-width: none; }
}
@media (prefers-reduced-motion: reduce) { .ld-road .rd-line, .ld-j-ico { animation: none; } .ld-road .rd-car { display: none; } }
.ld-showcase > .ld-tplcol { align-self: start; min-width: 0; }
@media (max-width: 360px) { .ld-nav .brand-name { display: none; } .ld-nav .btn { padding-inline: 10px; } }

/* template cards: a colour circle (background, main colour, second colour) next to the name */
.ld-tpl { position: relative; padding-inline-start: 58px; }
.ld-sw { position: absolute; inset-inline-start: 16px; top: 18px; width: 30px; height: 30px; border-radius: 50%; }
.ld-tplcap { display: none; }
/* phones: one swipe row of small cards instead of 25 full-width bars; the phone preview right under it */
@media (max-width: 760px) {
  .ld-suits { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; padding: 2px 2px 4px; margin-bottom: 14px; }
  .ld-suits::-webkit-scrollbar, .ld-tpls::-webkit-scrollbar { display: none; }
  .ld-suits button { flex: none; height: 40px; }
  .ld-tpls { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; padding: 4px 2px 10px; overscroll-behavior-x: contain; }
  .ld-tpl { flex: 0 0 auto; width: 92px; min-height: 96px; padding: 12px 8px 10px; align-items: center; justify-content: flex-start; text-align: center; gap: 8px; scroll-snap-align: center; border-radius: 16px; }
  .ld-tpl:hover { transform: none; }
  .ld-sw { position: static; width: 40px; height: 40px; flex: none; }
  .ld-tpl b { font-size: 13.5px; line-height: 1.3; }
  .ld-tpl span { display: none; }
  .ld-tplcap { display: block; margin: 4px 2px 18px; min-height: 2.6em; font-size: 13px; line-height: 1.8; color: var(--muted); text-align: center; }
  .ld-showcase { gap: 0; }
}
