/* ==========================================================================
   Landing page (GET /landing) · v2 · self-contained stylesheet
   Loaded ONLY by templates/landing/landing.html. Every selector is prefixed "lp-"
   (plus the KMap token bridge under .lp-map). Nothing from the app's design-system CSS is
   imported, so this file cannot change any other page.
   Idea: an Isfahan bazaar entrance. Deep lajvard glaze, turquoise tile field that lights up
   under your pointer, persimmon signboards, arched doors.
   ========================================================================== */

@font-face { font-family: "LP Kufi"; src: url("/static/app/fonts/kufi-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "LP Kufi"; src: url("/static/app/fonts/kufi-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "LP Vazir"; src: url("/static/app/fonts/vazirmatn-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }

.lp {
  /* tile palette */
  --lp-lajvard: #004042;      /* deep glaze */
  --lp-lajvard-2: #002b2d;
  --lp-firoozeh: #007d82;     /* turquoise: the lead */
  --lp-glaze: #3fb6b2;        /* glaze highlight on dark */
  --lp-glaze-hi: #8fe3dd;
  --lp-anar: #c23d1e;         /* persimmon, AA with white */
  --lp-anar-hover: #a83317;
  --lp-anar-light: #f59a7a;   /* persimmon on dark */
  --lp-khesht: #c38961;       /* fired brick */
  --lp-khesht-deep: #8a5534;
  --lp-on-deep: #e6f3f2;
  --lp-on-deep-2: #a9cfcc;

  /* light surfaces */
  --lp-bg: #f3f6f5;
  --lp-surface: #fcfdfd;
  --lp-surface-2: #e9f0ef;
  --lp-line: #d5e0df;
  --lp-ink: #132729;
  --lp-ink-2: #34494b;
  --lp-muted: #566c6e;
  --lp-accent-ink: #005558;
  --lp-accent-soft: #dcefee;

  --lp-display: "LP Kufi", "Noto Kufi Arabic", "Vazirmatn", system-ui, sans-serif;
  --lp-body: "LP Vazir", "Vazirmatn", "Noto Sans Arabic", system-ui, -apple-system, "Segoe UI", sans-serif;
  --lp-ease: cubic-bezier(.16, 1, .3, 1);
  --lp-r: 18px;
  --lp-shadow: 0 2px 4px rgb(19 39 41 / .06), 0 24px 48px -20px rgb(9 30 31 / .32);
}
:root[data-theme="dark"] .lp {
  --lp-bg: #0b1819; --lp-surface: #112324; --lp-surface-2: #0f1f20; --lp-line: #23403f;
  --lp-ink: #e3eeed; --lp-ink-2: #c3d6d4; --lp-muted: #92aba9; --lp-accent-ink: #6fd0cb; --lp-accent-soft: #123a3a;
  --lp-shadow: 0 2px 4px rgb(0 0 0 / .3), 0 24px 48px -20px rgb(0 0 0 / .6);
}
@media (prefers-color-scheme: dark) {
  :root[data-theme="system"] .lp {
    --lp-bg: #0b1819; --lp-surface: #112324; --lp-surface-2: #0f1f20; --lp-line: #23403f;
    --lp-ink: #e3eeed; --lp-ink-2: #c3d6d4; --lp-muted: #92aba9; --lp-accent-ink: #6fd0cb; --lp-accent-soft: #123a3a;
    --lp-shadow: 0 2px 4px rgb(0 0 0 / .3), 0 24px 48px -20px rgb(0 0 0 / .6);
  }
}

/* ---------------------------------------------------------------- base */
html:has(body.lp) { scroll-behavior: smooth; scroll-padding-top: 5rem; overflow-x: clip; }
.lp, .lp *, .lp *::before, .lp *::after { box-sizing: border-box; }
body.lp { margin: 0; background: var(--lp-bg); color: var(--lp-ink); font: 400 1rem/1.8 var(--lp-body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
.lp h1, .lp h2, .lp h3, .lp p, .lp ul, .lp ol, .lp dl, .lp dd, .lp figure { margin: 0; }
.lp ul, .lp ol { padding: 0; list-style: none; }
:where(.lp) a { color: inherit; }
.lp-wrap { width: min(100% - 2.5rem, 76rem); margin-inline: auto; }
.lp-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lp-skip { position: absolute; inset-inline-start: 1rem; top: -4rem; z-index: 100; padding: .6rem 1rem; background: var(--lp-surface); color: var(--lp-ink); border-radius: 8px; font-family: var(--lp-display); }
.lp-skip:focus { top: 1rem; }
.lp-i { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lp :focus-visible { outline: 3px solid var(--lp-glaze); outline-offset: 3px; }

/* ---------------------------------------------------------------- buttons */
.lp-btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 2.75rem; padding: .55rem 1.2rem; border-radius: 999px; border: 1.5px solid transparent;
  font: 700 .95rem/1 var(--lp-display); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .35s var(--lp-ease), box-shadow .35s var(--lp-ease); }
.lp-btn .lp-i { transition: transform .35s var(--lp-ease); }
.lp-btn:hover .lp-i:last-child { transform: translateX(-4px); }
.lp-btn:active { transform: scale(.97); }
.lp-btn--lg { min-height: 3.4rem; padding: .8rem 1.6rem; font-size: 1.05rem; }
.lp-btn--anar { background: var(--lp-anar); color: #fff; box-shadow: 0 10px 28px -10px rgb(194 61 30 / .8); }
.lp-btn--anar:hover { background: var(--lp-anar-hover); box-shadow: 0 16px 36px -12px rgb(194 61 30 / .9); transform: translateY(-2px); }
.lp-btn--ghost { color: var(--lp-on-deep); border-color: rgb(230 243 242 / .35); background: rgb(230 243 242 / .04); }
.lp-btn--ghost:hover { border-color: var(--lp-glaze); background: rgb(63 182 178 / .14); }
.lp-btn--glass { color: var(--lp-on-deep); background: rgb(230 243 242 / .1); border-color: rgb(230 243 242 / .22); backdrop-filter: blur(8px); }
.lp-btn--glass:hover { background: var(--lp-glaze); border-color: var(--lp-glaze); color: #002b2d; }
.lp-btn--solid { background: #fff; color: var(--door, var(--lp-lajvard)); }
.lp-btn--solid:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -12px rgb(0 0 0 / .55); }
.lp-link { font-weight: 700; text-underline-offset: 5px; text-decoration-thickness: 1.5px; }

/* ---------------------------------------------------------------- top bar */
.lp-bar { position: fixed; inset: 0 0 auto; z-index: 50; color: var(--lp-on-deep); transition: background-color .35s, box-shadow .35s, backdrop-filter .35s; }
.lp-bar[data-scrolled] { background: rgb(0 43 45 / .95); backdrop-filter: blur(14px) saturate(1.3); box-shadow: 0 1px 0 rgb(230 243 242 / .08), 0 10px 30px -18px rgb(0 0 0 / .6); }
.lp-bar__in { display: flex; align-items: center; gap: 1.5rem; height: 4.5rem; }
.lp-logo { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; font: 700 1.125rem/1 var(--lp-display); }
.lp-logo__mark { width: 2rem; height: 2rem; color: var(--lp-glaze); transition: transform .8s var(--lp-ease); }
.lp-logo:hover .lp-logo__mark { transform: rotate(90deg); }
.lp-nav { display: flex; gap: .25rem; margin-inline-start: auto; }
.lp-nav a { padding: .5rem .9rem; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: .95rem; color: var(--lp-on-deep-2); transition: color .2s, background-color .2s; }
.lp-nav a:hover { color: #fff; background: rgb(230 243 242 / .08); }
.lp-bar__cta { min-height: 2.5rem; }

/* ---------------------------------------------------------------- hero */
.lp-hero { position: relative; isolation: isolate; overflow: hidden; color: var(--lp-on-deep); padding: 8.5rem 0 0;
  background: radial-gradient(70rem 40rem at 15% 10%, rgb(0 125 130 / .55), transparent 60%), radial-gradient(50rem 30rem at 95% 100%, rgb(194 61 30 / .22), transparent 60%), var(--lp-lajvard-2); }
.lp-field { position: absolute; inset: 0; z-index: -1; pointer-events: none; --mx: 70%; --my: 35%; }
.lp-field__tiles { position: absolute; inset: 0; width: 100%; height: 100%; }
.lp-field__tiles .t { fill: none; stroke: rgb(143 227 221 / .09); stroke-width: 1.2; }
.lp-field__tiles--lit { -webkit-mask-image: radial-gradient(circle 280px at var(--mx) var(--my), #000 0, rgb(0 0 0 / .4) 45%, transparent 75%); mask-image: radial-gradient(circle 280px at var(--mx) var(--my), #000 0, rgb(0 0 0 / .4) 45%, transparent 75%); }
.lp-field__tiles--lit .t { stroke: rgb(143 227 221 / .75); stroke-width: 1.5; }
.lp-field__tiles .g { fill: rgb(63 182 178 / .5); stroke: var(--lp-glaze-hi); stroke-width: 1.4; animation: lp-glaze 3.2s ease-in-out both; }
.lp-field__tiles .g--anar { fill: rgb(245 154 122 / .35); stroke: var(--lp-anar-light); }
.lp-field::after { content: ""; position: absolute; inset: auto 0 0; height: 40%; background: linear-gradient(transparent, var(--lp-lajvard-2)); }
@keyframes lp-glaze { 0%, 100% { opacity: 0; } 35%, 60% { opacity: 1; } }

.lp-hero__in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 3rem; align-items: center; }
.lp-eyebrow { display: inline-flex; align-items: center; gap: .6rem; padding: .4rem .95rem .4rem 1.1rem; border-radius: 999px; background: rgb(230 243 242 / .07); border: 1px solid rgb(230 243 242 / .14);
  font: 700 .9rem/1.4 var(--lp-display); color: var(--lp-on-deep-2); }
.lp-eyebrow span { transition: opacity .3s; }
.lp-eyebrow span.is-swap { opacity: 0; }
.lp-pulse { position: relative; width: .55rem; height: .55rem; border-radius: 50%; background: #4ade80; flex: none; }
.lp-pulse::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: inherit; animation: lp-ping 1.8s ease-out infinite; }
@keyframes lp-ping { to { transform: scale(3); opacity: 0; } }
.lp-h1 { margin-top: 1.4rem; font: 700 clamp(3rem, 6.2vw, 5.6rem)/1.12 var(--lp-display); letter-spacing: -.01em; color: #fff; }
.lp-h1 em { font-style: normal; color: var(--lp-anar-light); position: relative; }
.lp-lede { margin-top: 1.4rem; max-width: 32rem; font-size: 1.2rem; line-height: 1.9; color: var(--lp-on-deep-2); }
.lp-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.2rem; }

/* chat + ticket stage */
.lp-stage { position: relative; padding: 1.5rem 0 3rem; }
.lp-chat { position: relative; width: min(100%, 25rem); margin-inline: auto; border-radius: 26px; overflow: hidden; background: #f7fbfa; color: #132729;
  box-shadow: 0 0 0 1px rgb(255 255 255 / .1), 0 40px 80px -30px rgb(0 0 0 / .7); transform: rotate(-2deg); transition: transform .8s var(--lp-ease); }
.lp-stage:hover .lp-chat { transform: rotate(0); }
.lp-chat__head { display: flex; align-items: center; gap: .75rem; padding: 1rem 1.1rem; background: var(--lp-firoozeh); color: #fff; }
.lp-chat__head b { display: block; font: 700 1rem/1.3 var(--lp-display); }
.lp-chat__head small { display: flex; align-items: center; gap: .4rem; font-size: .85rem; opacity: .9; }
.lp-chat__ava { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: rgb(255 255 255 / .18); }
.lp-dot { width: .45rem; height: .45rem; border-radius: 50%; background: #86efac; }
.lp-chat__body { display: flex; flex-direction: column; gap: .7rem; min-height: 15.5rem; padding: 1.2rem 1.1rem; background: #eef4f3; }
.lp-msg { max-width: 86%; padding: .65rem .95rem; border-radius: 16px; font-size: 1rem; line-height: 1.75; animation: lp-msg .5s var(--lp-ease) both; }
.lp-msg--me { align-self: flex-start; background: #fff; border: 1px solid #d5e0df; border-start-start-radius: 4px; }
.lp-msg--bot { align-self: flex-end; background: #d4ecea; color: #003a3c; border-start-end-radius: 4px; }
.lp-msg--bot b { font-family: var(--lp-display); color: #005558; }
.lp-msg--typing { display: inline-flex; gap: .3rem; padding: .85rem 1rem; }
.lp-msg--typing i { width: .45rem; height: .45rem; border-radius: 50%; background: #007d82; animation: lp-bob 1s infinite ease-in-out; }
.lp-msg--typing i:nth-child(2) { animation-delay: .15s; } .lp-msg--typing i:nth-child(3) { animation-delay: .3s; }
.lp-msg.is-out { animation: lp-msg-out .35s ease both; }
@keyframes lp-msg { from { opacity: 0; transform: translateY(10px) scale(.97); } }
@keyframes lp-msg-out { to { opacity: 0; transform: translateY(-8px); } }
@keyframes lp-bob { 0%, 100% { transform: translateY(0); opacity: .45; } 50% { transform: translateY(-4px); opacity: 1; } }
.lp-chat__foot { display: flex; align-items: center; justify-content: space-between; margin: .75rem; padding: .7rem 1rem; border-radius: 999px; background: #fff; border: 1px solid #d5e0df; color: #566c6e; }
.lp-chat__foot .lp-i { color: #007d82; transform: scaleX(-1); }

.lp-ticket { position: absolute; inset-inline-end: -1rem; bottom: .5rem; z-index: 2; display: flex; align-items: center; gap: .8rem; width: min(19rem, 88%); padding: .7rem; padding-inline-end: 1rem;
  border-radius: 18px; background: rgb(252 253 253 / .97); color: #132729; text-decoration: none; box-shadow: 0 24px 50px -18px rgb(0 0 0 / .7), 0 0 0 1px rgb(0 0 0 / .04);
  animation: lp-float 6s ease-in-out infinite; }
.lp-ticket[hidden] { display: none; }
.lp-ticket__img { display: grid; place-items: center; width: 3.4rem; height: 3.4rem; flex: none; border-radius: 12px; overflow: hidden; background: #dcefee; color: #007d82; }
.lp-ticket__img img { width: 100%; height: 100%; object-fit: cover; }
.lp-ticket__txt { display: grid; min-width: 0; line-height: 1.45; }
.lp-ticket__txt b { font: 700 1rem/1.4 var(--lp-display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-ticket__txt small { font-size: .875rem; color: #566c6e; }
.lp-ticket__txt em { font-style: normal; font-size: .875rem; font-weight: 700; color: #15803d; }
.lp-ticket__txt em.is-off { color: #b45309; }
.lp-ticket__pin { margin-inline-start: auto; color: var(--lp-anar); }
.lp-ticket.is-flip .lp-ticket__img, .lp-ticket.is-flip .lp-ticket__txt { animation: lp-flip .55s var(--lp-ease); }
@keyframes lp-flip { 0% { opacity: 1; } 40% { opacity: 0; transform: translateY(6px); } 100% { opacity: 1; transform: none; } }
@keyframes lp-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* live stats */
.lp-stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 3.5rem; border-top: 1px solid rgb(230 243 242 / .14); }
.lp-stats > div { padding: 1.6rem 0 2.2rem; display: flex; flex-direction: column-reverse; gap: .2rem; }
.lp-stats > div + div { padding-inline-start: 1.6rem; border-inline-start: 1px solid rgb(230 243 242 / .1); }
.lp-stats dd { font: 700 clamp(2rem, 4vw, 3rem)/1 var(--lp-display); color: #fff; font-variant-numeric: tabular-nums; }
.lp-stats > div:nth-child(2) dd { color: #86efac; }
.lp-stats dt { font-size: .95rem; color: var(--lp-on-deep-2); }

/* ---------------------------------------------------------------- signboard marquee */
.lp-band { position: relative; overflow: hidden; background: var(--lp-anar); color: #fff; padding: 1.05rem 0; transform: rotate(-1.2deg);
  box-shadow: 0 14px 30px -18px rgb(120 30 10 / .7); }
.lp-band__track { display: flex; width: max-content; gap: 0; animation: lp-marq 48s linear infinite; }
.lp-band:hover .lp-band__track { animation-play-state: paused; }
.lp-band__track span { display: inline-flex; align-items: center; gap: 1.6rem; padding-inline-end: 1.6rem; font: 700 1.15rem/1 var(--lp-display); white-space: nowrap; }
.lp-band__track span small { font: 400 .95rem/1 var(--lp-body); opacity: .8; }
.lp-band__track span::after { content: ""; width: .6rem; height: .6rem; background: #ffd9c9; transform: rotate(45deg); flex: none; }
@keyframes lp-marq { to { transform: translateX(50%); } }

/* ---------------------------------------------------------------- section heads */
.lp-sec-head { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2.4rem; }
.lp-sec-head--center { justify-content: center; text-align: center; }
.lp-h2 { font: 700 clamp(2rem, 4.4vw, 3.4rem)/1.2 var(--lp-display); letter-spacing: -.005em; }
.lp-sub { max-width: 20rem; font-size: 1.05rem; color: var(--lp-muted); }

/* ---------------------------------------------------------------- map */
.lp-finder { padding: 7rem 0 6rem; }
.lp-map { position: relative; border-radius: 28px; padding: 10px; box-shadow: var(--lp-shadow);
  background: repeating-linear-gradient(45deg, var(--lp-firoozeh) 0 14px, var(--lp-lajvard) 14px 28px, var(--lp-khesht) 28px 34px, var(--lp-lajvard) 34px 48px); }
.lp-map__canvas { height: clamp(26rem, 72vh, 42rem); border-radius: 20px !important; border: 0 !important; }
.lp-map__chip, .lp-map__full { position: absolute; top: 1.6rem; z-index: 6; display: inline-flex; align-items: center; gap: .55rem; min-height: 2.6rem; padding: .5rem 1rem; border-radius: 999px;
  font: 700 .95rem/1 var(--lp-display); box-shadow: 0 10px 24px -12px rgb(0 0 0 / .5); }
.lp-map__chip { inset-inline-start: 1.6rem; background: var(--lp-lajvard); color: #fff; pointer-events: none; }
.lp-map__full { inset-inline-start: calc(1.6rem + var(--chip-w, 13rem) + .6rem); background: var(--lp-surface); color: var(--lp-ink); text-decoration: none; border: 1px solid var(--lp-line); transition: background-color .2s, transform .3s var(--lp-ease); }
.lp-map__full:hover { background: var(--lp-accent-soft); transform: translateY(-1px); }

/* KMap token bridge: map-lite.css reads --k-* tokens, normally from tokens.css (not loaded here). */
.lp-map {
  --k-line: #cddcda; --k-line-strong: #a4bdba; --k-surface: #fcfdfd; --k-surface-2: #ecf2f1; --k-ink: #132729; --k-ink-2: #34494b; --k-muted: #566c6e;
  --k-accent: #007d82; --k-deep: #004042; --k-on-deep: #e6f3f2; --k-warm: #c23d1e; --k-info: #2563eb; --k-focus: #3fb6b2;
  --k-ring: 0 0 0 3px rgb(63 182 178 / .55); --k-radius-sm: 10px; --k-radius-md: 16px; --k-radius-pill: 999px;
  --k-shadow-1: 0 1px 3px rgb(0 0 0 / .14); --k-shadow-2: 0 4px 14px rgb(0 0 0 / .2); --k-shadow-3: 0 20px 44px -12px rgb(0 0 0 / .4);
  --k-font-body: var(--lp-body); --k-font-display: var(--lp-display); --k-text-sm: .95rem; --k-text-md: 1.05rem;
  --k-dur-1: .15s; --k-dur-2: .3s; --k-ease-out: var(--lp-ease); --k-1: 4px; --k-2: 8px; --k-3: 12px; --k-4: 16px;
  --k-map-bg: #e4eeec; --k-map-line: #cddcda; --k-map-line-strong: #a4bdba; --k-map-ink: #3b5254; --k-map-halo: #eef4f3; --k-map-active: #c23d1e;
}
:root[data-theme="dark"] .lp-map {
  --k-line: #23403f; --k-line-strong: #2f5052; --k-surface: #112324; --k-surface-2: #0f1f20; --k-ink: #e3eeed; --k-ink-2: #c3d6d4; --k-muted: #92aba9;
  --k-accent: #35b6ba; --k-deep: #061f20; --k-warm: #ff8a66;
  --k-map-bg: #0f2324; --k-map-line: #1d3637; --k-map-line-strong: #2f5052; --k-map-ink: #a8c4c4; --k-map-halo: #0f2324; --k-map-active: #f59a7a;
}
@media (prefers-color-scheme: dark) {
  :root[data-theme="system"] .lp-map {
    --k-line: #23403f; --k-line-strong: #2f5052; --k-surface: #112324; --k-surface-2: #0f1f20; --k-ink: #e3eeed; --k-ink-2: #c3d6d4; --k-muted: #92aba9;
    --k-accent: #35b6ba; --k-deep: #061f20; --k-warm: #ff8a66;
    --k-map-bg: #0f2324; --k-map-line: #1d3637; --k-map-line-strong: #2f5052; --k-map-ink: #a8c4c4; --k-map-halo: #0f2324; --k-map-active: #f59a7a;
  }
}
@keyframes k-pop { from { opacity: 0; transform: translate(-50%, 6px) scale(.97); } }
.lp-map .kmap__card { animation-name: k-pop; }
.lp-map .kmap__pin { width: 2.25rem; height: 2.8rem; margin: -2.8rem 0 0 -1.125rem; }
.lp-map .kmap__pin:hover { transform: translateY(-3px); }
.lp-map.is-intro .kmap__m { animation: lp-drop .7s var(--lp-ease) both; }
.lp-map.is-intro .kmap__m:nth-child(2) { animation-delay: .07s; } .lp-map.is-intro .kmap__m:nth-child(3) { animation-delay: .14s; }
.lp-map.is-intro .kmap__m:nth-child(4) { animation-delay: .21s; } .lp-map.is-intro .kmap__m:nth-child(5) { animation-delay: .28s; }
.lp-map.is-intro .kmap__m:nth-child(6) { animation-delay: .35s; } .lp-map.is-intro .kmap__m:nth-child(7) { animation-delay: .42s; }
.lp-map.is-intro .kmap__m:nth-child(n+8) { animation-delay: .5s; }
@keyframes lp-drop { from { opacity: 0; translate: 0 -40px; } 60% { opacity: 1; translate: 0 4px; } to { translate: 0 0; } }

/* the store popup (same content as /stores) */
.lp-pop { display: grid; gap: .35rem; min-width: 13.5rem; }
/* card padding is 12px 16px, inline-end 2.5rem (left in RTL): bleed the photo to the edges */
.lp-pop__img { width: calc(100% + 3.5rem); height: 6.5rem; margin: -.75rem -1rem .3rem -2.5rem; object-fit: cover; border-radius: 15px 15px 0 0; display: block; }
.lp-map .kmap__close { z-index: 1; background: rgb(252 253 253 / .92); color: #132729; }
.lp-pop h3 { font: 700 1.05rem/1.4 var(--lp-display); margin: 0; }
.lp-pop__meta { color: var(--k-muted); font-size: .9rem; }
.lp-pop__addr { color: var(--k-ink-2); font-size: .875rem; line-height: 1.6; }
.lp-pop__badge { justify-self: start; padding: .15rem .6rem; border-radius: 999px; font-size: .875rem; font-weight: 700; background: #e5e7eb; color: #374151; }
.lp-pop__badge--ok { background: #dcfce7; color: #166534; } .lp-pop__badge--warn { background: #fef3c7; color: #92400e; } .lp-pop__badge--danger { background: #fee2e2; color: #991b1b; }
.lp-pop__badge--plain { background: #dbeafe; color: #1e40af; }
.lp-pop__row { display: flex; gap: .5rem; margin-top: .5rem; }
.lp-pop__btn { flex: 1; display: inline-flex; align-items: center; justify-content: center; min-height: 2.3rem; padding: .35rem .8rem; border-radius: 10px; border: 1px solid var(--k-line-strong);
  font: 700 .875rem/1 var(--lp-display); text-decoration: none; color: var(--k-ink); background: var(--k-surface); white-space: nowrap; }
.lp-pop__btn:hover { background: var(--k-surface-2); }
.lp-pop__btn--go { background: var(--lp-firoozeh); border-color: var(--lp-firoozeh); color: #fff; }
.lp-pop__btn--go:hover { background: var(--lp-lajvard); }

/* ---------------------------------------------------------------- how it works */
.lp-how { padding: 3rem 0 7rem; }
.lp-steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; counter-reset: s; }
.lp-steps::before { content: ""; position: absolute; top: calc(11.5rem + .6rem + 1.3rem - 1px); inset-inline: 16%; height: 2px; background: var(--lp-line); }
.lp-steps::after { content: ""; position: absolute; top: calc(11.5rem + .6rem + 1.3rem - 1px); inset-inline: 16%; height: 2px; background: linear-gradient(to left, var(--lp-firoozeh), var(--lp-anar)); transform: scaleX(0); transform-origin: right; transition: transform 1.6s .4s var(--lp-ease); }
.lp-steps.is-in::after { transform: scaleX(1); }
.lp-step { position: relative; display: grid; justify-items: center; text-align: center; gap: .5rem; }
.lp-step__art { position: relative; width: 100%; height: 11.5rem; border-radius: var(--lp-r); overflow: hidden; background: var(--lp-surface); border: 1px solid var(--lp-line); box-shadow: var(--lp-shadow); }
.lp-step__n { --n: var(--lp-lajvard); position: relative; z-index: 1; display: grid; place-items: center; width: 2.6rem; height: 2.6rem; margin-top: .1rem; color: #fff; font: 700 1.15rem/1 var(--lp-display); }
.lp-step__n::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--n); border-radius: 7px; transform: rotate(45deg); box-shadow: 0 0 0 7px var(--lp-bg); }
.lp-step h3 { margin-top: .8rem; font: 700 1.3rem/1.4 var(--lp-display); }
.lp-step p { color: var(--lp-muted); max-width: 18rem; }
.lp-step:nth-child(2) .lp-step__n { --n: var(--lp-firoozeh); } .lp-step:nth-child(3) .lp-step__n { --n: var(--lp-anar); }

/* step art: 1 storefront that keeps re-theming itself */
.lp-art-shop { display: grid; grid-template-rows: auto 1fr auto; gap: .55rem; padding: .8rem; }
.lp-art-shop__bar { display: flex; gap: .3rem; }
.lp-art-shop__bar i { width: .55rem; height: .55rem; border-radius: 50%; background: var(--lp-line); }
.lp-art-shop__hero { border-radius: 10px; animation: lp-theme 9s steps(1) infinite; position: relative; overflow: hidden; }
.lp-art-shop__hero::after { content: ""; position: absolute; inset: 28% auto auto 40%; width: 46%; height: 14%; border-radius: 99px; background: rgb(255 255 255 / .75); box-shadow: 0 1.4rem 0 -2px rgb(255 255 255 / .45); }
.lp-art-shop__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .45rem; }
.lp-art-shop__grid i { height: 2.4rem; border-radius: 8px; background: var(--lp-surface-2); animation: lp-tile-in 3s var(--lp-ease) infinite; }
.lp-art-shop__grid i:nth-child(2) { animation-delay: .2s; } .lp-art-shop__grid i:nth-child(3) { animation-delay: .4s; }
@keyframes lp-theme { 0% { background: #007d82; } 33% { background: #c23d1e; } 66% { background: #8a5534; } }
@keyframes lp-tile-in { 0%, 15% { transform: scale(.6); opacity: 0; } 30%, 100% { transform: none; opacity: 1; } }
/* 2 a question, then the assistant typing */
.lp-art-chat { display: flex; flex-direction: column; justify-content: center; gap: .7rem; padding: 1rem 1.2rem; background: var(--lp-accent-soft); }
.lp-art-chat__q { align-self: flex-start; padding: .5rem .85rem; border-radius: 14px 4px 14px 14px; background: var(--lp-surface); font-size: .95rem; border: 1px solid var(--lp-line); animation: lp-q 4s var(--lp-ease) infinite; }
.lp-art-chat__a { align-self: flex-end; display: inline-flex; gap: .3rem; padding: .8rem 1rem; border-radius: 4px 14px 14px 14px; background: var(--lp-firoozeh); animation: lp-a 4s var(--lp-ease) infinite; }
.lp-art-chat__a i { width: .45rem; height: .45rem; border-radius: 50%; background: #fff; animation: lp-bob 1s infinite ease-in-out; }
.lp-art-chat__a i:nth-child(2) { animation-delay: .15s; } .lp-art-chat__a i:nth-child(3) { animation-delay: .3s; }
@keyframes lp-q { 0% { opacity: 0; transform: translateY(8px); } 12%, 88% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes lp-a { 0%, 25% { opacity: 0; transform: translateY(8px); } 37%, 88% { opacity: 1; transform: none; } 100% { opacity: 0; } }
/* 3 a pin landing on a tile-street grid */
.lp-art-pin { display: grid; place-items: center; background-color: var(--lp-surface-2);
  background-image: linear-gradient(var(--lp-line) 2px, transparent 2px), linear-gradient(90deg, var(--lp-line) 2px, transparent 2px); background-size: 34px 34px; background-position: center; }
.lp-art-pin svg { position: relative; width: 2.8rem; height: 3.5rem; margin-top: -2.2rem; animation: lp-pin 3s var(--lp-ease) infinite; filter: drop-shadow(0 6px 6px rgb(0 0 0 / .25)); }
.lp-art-pin svg path { fill: var(--lp-anar); stroke: #fff; stroke-width: 2; }
.lp-art-pin svg rect { fill: #fff; }
.lp-art-pin__ring { position: absolute; width: 1.2rem; height: .5rem; margin-top: 1.4rem; border-radius: 50%; border: 2px solid var(--lp-anar); animation: lp-ring 3s ease-out infinite; }
@keyframes lp-pin { 0% { transform: translateY(-70px); opacity: 0; } 25% { transform: translateY(0); opacity: 1; } 32% { transform: translateY(-8px); } 40%, 85% { transform: none; opacity: 1; } 100% { opacity: 0; } }
@keyframes lp-ring { 0%, 24% { transform: scale(.2); opacity: 0; } 26% { opacity: 1; } 70%, 100% { transform: scale(5); opacity: 0; } }

.lp-crew { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; margin-top: 4.2rem; }
.lp-crew li { display: inline-flex; align-items: center; gap: .55rem; padding: .7rem 1.15rem; border-radius: 999px; background: var(--lp-surface); border: 1px solid var(--lp-line); font-weight: 700; transition: transform .35s var(--lp-ease), border-color .2s; }
.lp-crew li:hover { transform: translateY(-3px); border-color: var(--lp-firoozeh); }
.lp-crew .lp-i { color: var(--lp-firoozeh); width: 1.3rem; height: 1.3rem; }
.lp-crew li:nth-child(2) .lp-i { color: var(--lp-anar); } .lp-crew li:nth-child(3) .lp-i { color: var(--lp-khesht); }

/* ---------------------------------------------------------------- doors (arched, bazaar entrance) */
.lp-doors { padding: 1rem 0 7rem; }
.lp-doors__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; align-items: end; }
.lp-door { --door: var(--lp-firoozeh); position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; align-items: center; text-align: center; gap: .4rem;
  min-height: 25rem; padding: 7.2rem 1.6rem 1.8rem; color: #fff; background: var(--door);
  border-radius: 50% 50% 22px 22px / 11rem 11rem 22px 22px; box-shadow: var(--lp-shadow); transition: transform .5s var(--lp-ease), box-shadow .5s var(--lp-ease); }
.lp-door::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .16; transition: opacity .5s, transform 6s linear;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cg fill='none' stroke='white' stroke-width='1.4'%3E%3Crect x='14' y='14' width='20' height='20'/%3E%3Crect x='14' y='14' width='20' height='20' transform='rotate(45 24 24)'/%3E%3C/g%3E%3C/svg%3E"); background-size: 48px 48px; }
.lp-door::after { content: ""; position: absolute; inset: .7rem; z-index: -1; border: 1.5px solid rgb(255 255 255 / .28); border-radius: 50% 50% 16px 16px / 10.3rem 10.3rem 16px 16px; }
.lp-door:hover { transform: translateY(-8px); box-shadow: 0 30px 60px -24px rgb(0 0 0 / .45); }
.lp-door:hover::before { opacity: .3; transform: translateY(-48px); }
.lp-door--store { --door: var(--lp-anar); min-height: 27rem; }
.lp-door--admin { --door: var(--lp-lajvard); }
.lp-door__arch { position: absolute; top: 2.6rem; display: grid; place-items: center; width: 3.6rem; height: 3.6rem; border-radius: 50%; background: rgb(255 255 255 / .16); border: 1.5px solid rgb(255 255 255 / .35); transition: transform .5s var(--lp-ease); }
.lp-door__arch .lp-i { width: 1.6rem; height: 1.6rem; }
.lp-door:hover .lp-door__arch { transform: translateY(-4px) scale(1.06); }
.lp-door__who { font-size: .9rem; font-weight: 700; padding: .15rem .7rem; border-radius: 999px; background: rgb(0 0 0 / .16); }
.lp-door h3 { font: 700 1.6rem/1.35 var(--lp-display); margin-top: .3rem; }
.lp-door p { color: rgb(255 255 255 / .85); }
.lp-door__go { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .9rem; margin-top: auto; padding-top: 1.4rem; }
.lp-door .lp-link { color: #fff; }

/* ---------------------------------------------------------------- closing */
.lp-close { position: relative; overflow: hidden; padding: 7rem 0; background: radial-gradient(50rem 26rem at 50% 120%, rgb(0 125 130 / .6), transparent 70%), var(--lp-lajvard-2); color: #fff; }
.lp-close__in { position: relative; display: grid; justify-items: center; gap: 2rem; text-align: center; }
.lp-close__mark { position: absolute; top: 50%; left: 50%; width: 34rem; height: 34rem; margin: -17rem 0 0 -17rem; color: rgb(143 227 221 / .07); animation: lp-spin 80s linear infinite; pointer-events: none; }
.lp-close__mark rect[fill] { fill: rgb(245 154 122 / .1); }
@keyframes lp-spin { to { transform: rotate(360deg); } }
.lp-close__h { position: relative; font: 700 clamp(2.2rem, 5.4vw, 4.2rem)/1.25 var(--lp-display); }
.lp-close__h em { font-style: normal; color: var(--lp-anar-light); }

/* ---------------------------------------------------------------- footer */
.lp-foot { background: #001f21; color: var(--lp-on-deep-2); padding: 2.4rem 0; }
.lp-foot__in { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem 2.5rem; }
.lp-foot .lp-logo { color: #fff; }
.lp-foot__nav { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; }
.lp-foot__nav a { text-decoration: none; } .lp-foot__nav a:hover { color: #fff; text-decoration: underline; text-underline-offset: 5px; }
.lp-foot__tag { margin-inline-start: auto; font-size: .95rem; }

/* ---------------------------------------------------------------- scroll reveal (only when JS runs) */
.lp-js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--lp-ease), transform .9s var(--lp-ease); transition-delay: var(--d, 0s); }
.lp-js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 60rem) {
  .lp-hero { padding-top: 7rem; }
  .lp-hero__in { grid-template-columns: 1fr; gap: 1rem; }
  .lp-stage { max-width: 26rem; margin-inline: auto; width: 100%; }
  .lp-ticket { inset-inline-end: -.5rem; }
  .lp-stats { grid-template-columns: repeat(2, 1fr); }
  .lp-stats > div:nth-child(3) { padding-inline-start: 0; border-inline-start: 0; }
  .lp-stats > div:nth-child(n+3) { border-top: 1px solid rgb(230 243 242 / .1); }
  .lp-steps { grid-template-columns: 1fr; gap: 3rem; max-width: 26rem; margin-inline: auto; }
  .lp-steps::before, .lp-steps::after { display: none; }
  .lp-doors__row { grid-template-columns: 1fr; max-width: 24rem; margin-inline: auto; gap: 1.6rem; }
  .lp-door, .lp-door--store { min-height: 23rem; }
}
/* ==========================================================================
   Phones (≤ 40rem) · v3 · a walk down one bazaar alley, built for a thumb.
   Hero: the assistant lives inside an arched shop window (طاق), its answer arrives as a real store card.
   Map: an app-style sheet (map + swipeable store tray). Steps: a vertical lane that fills as you scroll.
   Doors: the full arches are back, as a swipe row with a who-are-you switch. Dock + menu sheet as before.
   Desktop never sees these pieces (display:none right below).
   ========================================================================== */
.lp-menu-btn, .lp-menu, .lp-dock, .lp-reel, .lp-dots, .lp-map__shield { display: none; }
.lp-reel__grab { display: none; }
.lp-bandwrap { overflow: hidden; padding: 1.4rem 0; margin: -2.5rem 0 -1.4rem; position: relative; z-index: 2; }
.lp-bandwrap .lp-band { margin: 0 -2rem; }
@media (max-width: 40rem) {
  html:has(body.lp) { scroll-padding-top: 4.5rem; }
  body.lp.is-locked { overflow: hidden; }
  body.lp { -webkit-tap-highlight-color: transparent; }
  .lp-wrap { width: min(100% - 2.25rem, 76rem); }

  /* ------------------------------------------------ top bar: logo + burger */
  .lp-bar__in { height: 4rem; gap: .75rem; }
  .lp-nav, .lp-bar__cta { display: none; }
  .lp-logo { font-size: 1.05rem; }
  .lp-logo__mark { width: 1.8rem; height: 1.8rem; }
  .lp-menu-btn { display: grid; place-items: center; position: relative; z-index: 52; width: 2.75rem; height: 2.75rem; margin-inline-start: auto; padding: 0; border-radius: 50%;
    border: 1px solid rgb(230 243 242 / .22); background: rgb(230 243 242 / .08); color: #fff; cursor: pointer; }
  .lp-menu-btn span, .lp-menu-btn span::before { display: block; width: 1.1rem; height: 2px; border-radius: 2px; background: currentColor; transition: transform .35s var(--lp-ease); }
  .lp-menu-btn span { position: relative; transform: translateY(-3px); }
  .lp-menu-btn span::before { content: ""; position: absolute; top: 6px; }
  .lp-menu-btn[aria-expanded="true"] span { transform: rotate(45deg); }
  .lp-menu-btn[aria-expanded="true"] span::before { transform: translateY(-6px) rotate(-90deg); }
  .lp-bar:has(.lp-menu-btn[aria-expanded="true"]) { background: transparent; box-shadow: none; backdrop-filter: none; }

  /* ------------------------------------------------ menu sheet */
  .lp-menu { display: block; position: fixed; inset: 0; z-index: 49; overflow-y: auto; color: var(--lp-on-deep);
    background: radial-gradient(30rem 22rem at 100% 0, rgb(0 125 130 / .55), transparent 70%), var(--lp-lajvard-2); opacity: 0; transition: opacity .3s; }
  .lp-menu[hidden] { display: none; }
  .lp-menu.is-open { opacity: 1; }
  .lp-menu__in { display: flex; flex-direction: column; gap: 1.6rem; min-height: 100%; padding: 5.5rem 1.25rem calc(1.5rem + env(safe-area-inset-bottom)); }
  .lp-menu__nav { display: grid; }
  .lp-menu__nav a { display: flex; align-items: center; gap: .9rem; padding: .9rem 0; border-bottom: 1px solid rgb(230 243 242 / .1); font: 700 1.5rem/1.3 var(--lp-display); text-decoration: none; color: #fff; }
  .lp-menu__nav .lp-i { width: 1.4rem; height: 1.4rem; color: var(--lp-glaze); }
  .lp-i--flip { transform: scaleX(-1); }
  .lp-menu__doors { display: grid; gap: .6rem; }
  .lp-menu__doors a { display: flex; align-items: center; gap: .9rem; padding: .85rem 1rem; border-radius: 16px; background: rgb(230 243 242 / .07); border: 1px solid rgb(230 243 242 / .12); text-decoration: none; }
  .lp-menu__doors a > .lp-i { width: 2.6rem; height: 2.6rem; padding: .65rem; border-radius: 50% 50% 8px 8px; background: var(--lp-firoozeh); color: #fff; }
  .lp-menu__doors a:nth-child(2) > .lp-i { background: var(--lp-anar); } .lp-menu__doors a:nth-child(3) > .lp-i { background: var(--lp-lajvard); border: 1px solid rgb(230 243 242 / .25); }
  .lp-menu__doors b { display: block; font: 700 1.05rem/1.4 var(--lp-display); color: #fff; }
  .lp-menu__doors small { font-size: .875rem; color: var(--lp-on-deep-2); }
  .lp-menu__cta { margin-top: auto; width: 100%; }
  .lp-menu.is-open .lp-menu__nav a, .lp-menu.is-open .lp-menu__doors a, .lp-menu.is-open .lp-menu__cta { animation: lp-msg .5s var(--lp-ease) both; }
  .lp-menu.is-open .lp-menu__nav a:nth-child(2) { animation-delay: .05s; } .lp-menu.is-open .lp-menu__nav a:nth-child(3) { animation-delay: .1s; }
  .lp-menu.is-open .lp-menu__doors a:nth-child(1) { animation-delay: .15s; } .lp-menu.is-open .lp-menu__doors a:nth-child(2) { animation-delay: .2s; }
  .lp-menu.is-open .lp-menu__doors a:nth-child(3) { animation-delay: .25s; } .lp-menu.is-open .lp-menu__cta { animation-delay: .3s; }

  /* ------------------------------------------------ hero: headline, one thumb-sized CTA row, then the arched shop window */
  .lp-hero { padding-top: 5.5rem;
    background: radial-gradient(28rem 24rem at 90% 4%, rgb(0 125 130 / .7), transparent 62%), radial-gradient(26rem 22rem at 0% 78%, rgb(194 61 30 / .28), transparent 62%), var(--lp-lajvard-2); }
  .lp-field__tiles--lit { -webkit-mask-image: radial-gradient(circle 190px at var(--mx) var(--my), #000 0, rgb(0 0 0 / .4) 45%, transparent 75%); mask-image: radial-gradient(circle 190px at var(--mx) var(--my), #000 0, rgb(0 0 0 / .4) 45%, transparent 75%); }
  .lp-hero__in { gap: 0; grid-template-columns: minmax(0, 1fr); }
  .lp-eyebrow { font-size: .875rem; padding: .35rem .8rem; }
  .lp-h1 { margin-top: 1rem; font-size: clamp(2.7rem, 13.4vw, 3.4rem); line-height: 1.22; letter-spacing: -.015em; }
  .lp-xs-hide { display: none; }
  .lp-lede { font-size: 1.05rem; line-height: 1.85; margin-top: .9rem; max-width: 22rem; }
  .lp-actions { display: grid; grid-template-columns: 1fr auto; gap: .6rem; margin-top: 1.5rem; }
  .lp-actions .lp-btn { min-height: 3.4rem; padding: .7rem 1.1rem; font-size: 1.02rem; }
  .lp-actions .lp-actions__map { padding-inline: 1.05rem; gap: .45rem; }
  .lp-actions__map .lp-i { width: 1.3rem; height: 1.3rem; color: var(--lp-glaze-hi); }
  .lp-actions .lp-btn--anar { min-width: 0; }

  .lp-stage { padding: 2.6rem 0 2.2rem; max-width: none; }
  /* the window: an arched shopfront, crown in turquoise glaze, the conversation as its vitrine */
  .lp-chat { width: 100%; margin: 0; transform: none; border-radius: 50% 50% 26px 26px / 7.5rem 7.5rem 26px 26px; background: #eef4f3;
    box-shadow: 0 0 0 1px rgb(255 255 255 / .12), 0 0 0 7px rgb(63 182 178 / .12), 0 40px 70px -30px rgb(0 0 0 / .8); }
  .lp-stage:hover .lp-chat { transform: none; }
  .lp-chat__head { position: relative; isolation: isolate; flex-direction: column; gap: .35rem; padding: 1.7rem 1rem 1.1rem; text-align: center; }
  .lp-chat__head::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .16;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 48 48'%3E%3Cg fill='none' stroke='white' stroke-width='1.6'%3E%3Crect x='14' y='14' width='20' height='20'/%3E%3Crect x='14' y='14' width='20' height='20' transform='rotate(45 24 24)'/%3E%3C/g%3E%3C/svg%3E"); background-size: 40px 40px; background-position: center top; }
  .lp-chat__head::after { content: ""; position: absolute; inset: .5rem .5rem -1px; z-index: -1; border: 1.5px solid rgb(255 255 255 / .3); border-bottom: 0; border-radius: 50% 50% 0 0 / 7rem 7rem 0 0; }
  .lp-chat__head small { justify-content: center; }
  .lp-chat__ava { width: 2.9rem; height: 2.9rem; background: rgb(255 255 255 / .2); box-shadow: 0 0 0 5px rgb(255 255 255 / .08); }
  .lp-chat__ava .lp-i { width: 1.4rem; height: 1.4rem; }
  .lp-chat__body { min-height: 17.25rem; padding: 1rem .9rem 6.4rem; gap: .55rem; }
  .lp-msg { font-size: .95rem; line-height: 1.7; padding: .55rem .85rem; }
  .lp-chat__foot { display: none; }
  /* the assistant's answer lands as a real store from the map, pinned into the window */
  .lp-ticket { inset-inline: .9rem; bottom: 3.1rem; width: auto; padding: .55rem; padding-inline-end: .85rem; gap: .7rem; border-radius: 18px;
    background: #fff; box-shadow: 0 0 0 1.5px rgb(194 61 30 / .9), 0 16px 30px -16px rgb(9 30 31 / .55); animation: none; }
  .lp-ticket::before { content: "روی نقشه"; position: absolute; top: -.7rem; inset-inline-start: .9rem; padding: .1rem .55rem; border-radius: 999px;
    background: var(--lp-anar); color: #fff; font: 700 .75rem/1.5 var(--lp-display); }
  .lp-ticket__img { width: 3.1rem; height: 3.1rem; }
  .lp-ticket__pin { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: #fdece6; }

  /* live numbers: one line, read at a glance */
  .lp-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 0; padding: 0 0 3.2rem; border: 0; }
  .lp-stats > div, .lp-stats > div + div, .lp-stats > div:nth-child(n+3) { padding: .2rem .25rem; border: 0; align-items: center; text-align: center; gap: .3rem; }
  .lp-stats > div + div { border-inline-start: 1px solid rgb(230 243 242 / .12); }
  .lp-stats dd { font-size: 2rem; }
  .lp-stats dt { font-size: .875rem; line-height: 1.45; }

  /* signboards */
  .lp-band { padding: .85rem 0; }
  .lp-band__track span { font-size: 1rem; gap: 1.2rem; padding-inline-end: 1.2rem; }
  .lp-band__track span small { font-size: .875rem; }

  /* section heads */
  .lp-sec-head { flex-direction: column; align-items: start; gap: .5rem; margin-bottom: 1.5rem; }
  .lp-sec-head--center { align-items: center; }
  .lp-h2 { font-size: 2.15rem; line-height: 1.25; }
  .lp-sub { font-size: 1rem; max-width: none; }

  /* ------------------------------------------------ map: an app sheet (map on top, store tray below), tap to use */
  .lp-finder { padding: 4.4rem 0 3.2rem; }
  .lp-map { margin-inline: -.6rem; padding: 0; border-radius: 28px 28px 0 0; background: var(--lp-lajvard); box-shadow: none; }
  .lp-map__canvas { height: 58svh; min-height: 22rem; max-height: 34rem; border-radius: 28px 28px 0 0 !important; }
  .lp-map__chip, .lp-map__full { top: .75rem; min-height: 2.5rem; font-size: .9rem; padding: .4rem .85rem; }
  .lp-map__chip { inset-inline-start: .75rem; }
  .lp-map__full { inset-inline-start: auto; inset-inline-end: .75rem; width: 2.75rem; min-height: 2.75rem; padding: 0; justify-content: center; }
  .lp-map__full span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .lp-map__full .lp-i { width: 1.25rem; height: 1.25rem; }
  .lp-map .kmap__ctl { inset-block-start: 4rem; inset-inline-end: .75rem; }
  .lp-map .kmap__ctl button { width: 2.75rem; height: 2.75rem; }
  .lp-map .kmap__layer { min-height: 2.6rem; }
  .lp-map .kmap__card { max-width: min(18rem, 80vw); }
  .lp-map__chip, .lp-map__full { transition: opacity .25s, transform .3s var(--lp-ease); }
  .lp-map.has-pop .lp-map__chip, .lp-map.has-pop .lp-map__full { opacity: 0; transform: translateY(-6px); pointer-events: none; }
  .lp-pop__btn { min-height: 2.75rem; }
  .lp-map__shield { display: grid; position: absolute; inset: 0; z-index: 7; place-items: center; padding: 0; border: 0; border-radius: 28px 28px 0 0; cursor: pointer;
    background: radial-gradient(circle at 50% 50%, rgb(0 43 45 / .28), transparent 60%); transition: opacity .3s; }
  .lp-map__shield[hidden] { display: none; }
  .lp-map__shield span { display: inline-flex; align-items: center; gap: .5rem; padding: .75rem 1.15rem; border-radius: 999px; background: rgb(0 43 45 / .92); color: #fff; font: 700 .95rem/1 var(--lp-display);
    box-shadow: 0 0 0 6px rgb(0 43 45 / .18), 0 12px 26px -10px rgb(0 0 0 / .6); animation: lp-breathe 2.6s ease-in-out infinite; }
  @keyframes lp-breathe { 0%, 100% { box-shadow: 0 0 0 6px rgb(0 43 45 / .18), 0 12px 26px -10px rgb(0 0 0 / .6); } 50% { box-shadow: 0 0 0 14px rgb(0 43 45 / 0), 0 12px 26px -10px rgb(0 0 0 / .6); } }

  /* the tray: deep glaze, a grab handle, cards that fly the map to their pin */
  .lp-reel { position: relative; display: flex; gap: .65rem; margin: 0 -.6rem; padding: 1.55rem .85rem 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: .85rem;
    scrollbar-width: none; overscroll-behavior-x: contain; background: var(--lp-lajvard); border-radius: 0 0 28px 28px; box-shadow: var(--lp-shadow); }
  .lp-reel[hidden] { display: none; }
  .lp-reel::-webkit-scrollbar { display: none; }
  .lp-reel::before { content: ""; position: absolute; top: .6rem; left: 50%; width: 2.6rem; height: 4px; margin-left: -1.3rem; border-radius: 99px; background: rgb(230 243 242 / .3); }
  .lp-reel li { flex: 0 0 80%; scroll-snap-align: start; }
  .lp-reel button { display: flex; align-items: center; gap: .8rem; width: 100%; padding: .55rem; padding-inline-end: .9rem; border-radius: 18px; text-align: start; cursor: pointer;
    background: rgb(230 243 242 / .07); border: 1.5px solid rgb(230 243 242 / .14); color: #fff; font: inherit; transition: border-color .2s, background-color .2s, transform .3s var(--lp-ease); }
  .lp-reel button:active { transform: scale(.98); }
  .lp-reel li.is-on button { border-color: var(--lp-anar-light); background: rgb(245 154 122 / .14); }
  .lp-reel__img { display: grid; place-items: center; width: 3.5rem; height: 3.5rem; flex: none; border-radius: 13px; overflow: hidden; background: rgb(63 182 178 / .2); color: var(--lp-glaze-hi); }
  .lp-reel__img img { width: 100%; height: 100%; object-fit: cover; }
  .lp-reel__txt { display: grid; min-width: 0; line-height: 1.5; }
  .lp-reel__txt b { font: 700 1rem/1.45 var(--lp-display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .lp-reel__txt small { font-size: .875rem; color: var(--lp-on-deep-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .lp-reel__txt em { font-style: normal; font-size: .875rem; font-weight: 700; color: #86efac; }
  .lp-reel__txt em.is-off { color: #fbbf24; }

  /* ------------------------------------------------ three steps: one lane, top to bottom, filling as you walk it */
  .lp-how { padding: 2rem 0 4.2rem; }
  .lp-steps { --p: 0; display: grid; grid-template-columns: 1fr; gap: 2.2rem; max-width: none; margin: 0; padding: 0; overflow: visible; }
  .lp-steps::before, .lp-steps::after { display: block; top: 1.3rem; bottom: 1.3rem; inset-inline: auto; inset-inline-start: calc(1.3rem - 1px); width: 2px; height: auto; }
  .lp-steps::after { background: linear-gradient(var(--lp-firoozeh), var(--lp-anar)); transform: scaleY(var(--p)); transform-origin: top; transition: transform .2s linear; }
  .lp-steps.is-in::after { transform: scaleY(var(--p)); }
  .lp-step { display: grid; grid-template-columns: 2.6rem minmax(0, 1fr); grid-template-areas: "n art" ". h" ". p"; column-gap: 1rem; row-gap: 0; justify-items: start; text-align: start; }
  .lp-step__art { grid-area: art; height: 8.5rem; border-radius: 18px; box-shadow: 0 12px 26px -20px rgb(9 30 31 / .5); }
  .lp-step__n { grid-area: n; align-self: start; margin-top: 0; transition: transform .5s var(--lp-ease); }
  .lp-step__n::before { box-shadow: 0 0 0 6px var(--lp-bg); }
  .lp-step__n::before { transition: background-color .5s, transform .5s var(--lp-ease); }
  .lp-js .lp-step:not(.is-lit) .lp-step__n { color: var(--lp-muted); }
  .lp-js .lp-step:not(.is-lit) .lp-step__n::before { background: var(--lp-surface-2); outline: 2px solid var(--lp-line); outline-offset: -2px; }
  .lp-step.is-lit .lp-step__n { transform: scale(1.06); }
  .lp-step h3 { grid-area: h; font-size: 1.25rem; margin-top: .85rem; }
  .lp-step p { grid-area: p; font-size: 1rem; max-width: none; }
  .lp-art-shop__grid i { height: 1.8rem; }
  .lp-crew { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin: 2.6rem 0 0; padding: 0; }
  .lp-crew li { justify-content: flex-start; padding: .75rem .85rem; border-radius: 16px; font-size: .95rem; line-height: 1.35; }
  .lp-crew li:hover { transform: none; }

  /* ------------------------------------------------ doors: the arches, full height, one swipe apart */
  .lp-doors { padding: 0 0 4.4rem; }
  .lp-doors .lp-sec-head { margin-bottom: 1.1rem; }
  .lp-dots.lp-doortabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; margin: 0 auto 1.4rem; max-width: 22rem; border-radius: 999px;
    background: var(--lp-surface-2); border: 1px solid var(--lp-line); position: relative; }
  .lp-doortabs button { position: relative; z-index: 1; min-height: 2.75rem; border: 0; border-radius: 999px; background: none; color: var(--lp-muted); cursor: pointer;
    font: 700 .95rem/1 var(--lp-display); transition: color .3s; }
  .lp-doortabs button[aria-current="true"] { color: #fff; }
  .lp-doortabs::after { content: ""; position: absolute; top: 4px; bottom: 4px; width: calc((100% - 16px) / 3); inset-inline-start: calc(4px + var(--t, 0) * ((100% - 16px) / 3 + 4px));
    border-radius: 999px; background: var(--tc, var(--lp-firoozeh)); box-shadow: 0 6px 16px -8px rgb(9 30 31 / .5); transition: inset-inline-start .45s var(--lp-ease), background-color .45s; }
  .lp-doors__row { display: flex; gap: .8rem; max-width: none; margin: 0 -1.125rem; padding: .4rem 9% 1.2rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; align-items: stretch; }
  .lp-doors__row::-webkit-scrollbar { display: none; }
  .lp-door, .lp-door--store { flex: 0 0 82%; scroll-snap-align: center; min-height: 23.5rem; padding: 7rem 1.4rem 1.5rem; border-radius: 50% 50% 24px 24px / 9.5rem 9.5rem 24px 24px;
    transition: transform .5s var(--lp-ease), opacity .5s; }
  .lp-door::after { inset: .55rem; border-radius: 50% 50% 18px 18px / 9rem 9rem 18px 18px; }
  .lp-door:hover { transform: none; }
  .lp-door:not(.is-here) { transform: scale(.94); opacity: .72; }
  .lp-door__arch { top: 2.3rem; }
  .lp-door h3 { font-size: 1.45rem; }
  .lp-door p { font-size: 1rem; }
  .lp-door__go { flex-direction: column; align-items: stretch; width: 100%; gap: .7rem; }
  .lp-door__go .lp-btn { min-height: 3.1rem; }
  .lp-door__go .lp-link { align-self: center; min-height: 2.75rem; display: inline-flex; align-items: center; }

  /* ------------------------------------------------ closing + footer (room for the dock) */
  .lp-close { padding: 5rem 0 5.4rem; }
  .lp-close__in { gap: 1.8rem; }
  .lp-close__mark { width: 24rem; height: 24rem; margin: -12rem 0 0 -12rem; }
  .lp-close__h { font-size: clamp(1.75rem, 8.6vw, 2.1rem); line-height: 1.4; }
  .lp-close .lp-btn { width: 100%; }
  .lp-foot { padding: 2rem 0 calc(6.5rem + env(safe-area-inset-bottom)); }
  .lp-foot__in { flex-direction: column; align-items: start; gap: 1.2rem; }
  .lp-foot__nav { display: grid; grid-template-columns: 1fr 1fr; gap: .2rem 1.2rem; width: 100%; }
  .lp-foot__nav a { display: flex; align-items: center; min-height: 2.75rem; }
  .lp-foot__tag { margin-inline-start: 0; font-size: .875rem; }

  /* ------------------------------------------------ dock */
  .lp-dock { display: grid; grid-template-columns: 1fr 1.8fr 1fr; align-items: center; gap: .3rem; position: fixed; z-index: 40; inset-inline: .75rem; bottom: calc(.75rem + env(safe-area-inset-bottom));
    max-width: 26rem; margin-inline: auto; padding: .4rem; border-radius: 24px; background: rgb(0 43 45 / .9); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3);
    box-shadow: 0 0 0 1px rgb(230 243 242 / .1), 0 18px 40px -14px rgb(0 0 0 / .6); transform: translateY(calc(100% + 1.5rem)); opacity: 0; pointer-events: none;
    transition: transform .5s var(--lp-ease), opacity .3s; }
  .lp-dock.is-on { transform: none; opacity: 1; pointer-events: auto; }
  .lp-dock a { position: relative; white-space: nowrap; display: grid; justify-items: center; gap: .15rem; padding: .45rem .3rem; border-radius: 18px; text-decoration: none; color: var(--lp-on-deep-2); font: 700 .8rem/1.2 var(--lp-display); }
  .lp-dock a .lp-i { width: 1.3rem; height: 1.3rem; }
  .lp-dock a:active { background: rgb(230 243 242 / .08); }
  .lp-dock .lp-dock__main { display: flex; justify-content: center; align-items: center; gap: .45rem; min-height: 3.1rem; background: var(--lp-anar); color: #fff; font-size: .9rem; box-shadow: 0 8px 20px -8px rgb(194 61 30 / .8); }
  .lp-dock a.is-here { color: #fff; }
  .lp-dock a.is-here::after { content: ""; position: absolute; bottom: .15rem; left: 50%; width: .35rem; height: .35rem; margin-left: -.175rem; background: var(--lp-glaze); transform: rotate(45deg); }
}

/* small phones (≤ 375px): the hero CTA row still fits on one line */
@media (max-width: 23.5rem) {
  .lp-actions .lp-btn { padding-inline: .9rem; font-size: .97rem; }
  .lp-actions .lp-btn--anar .lp-i { display: none; }
  .lp-stats dd { font-size: 1.8rem; }
}

@media (prefers-reduced-motion: reduce) {
  html:has(body.lp) { scroll-behavior: auto; }
  .lp *, .lp *::before, .lp *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .lp-js [data-reveal] { opacity: 1; transform: none; }
}
.lp-map__err { display: grid; place-items: center; height: 100%; margin: 0; padding: 2rem; text-align: center; color: var(--k-ink-2); }
