/* Showcase site (yektabar.com), plus the terms, privacy and 404 pages.
   The app itself lives on app.yektabar.com. Minimal: one accent (green),
   hairlines instead of shadows, motion that explains the product. */

@font-face {
  font-family: "Vazirmatn";
  src: url("/fonts/Vazirmatn[wght].woff2") format("woff2-variations"),
    url("/fonts/Vazirmatn[wght].woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --bg: #ffffff;
  --bg-2: #f5f6f5;
  --ink: #0f1110;
  --ink-2: #4c524f;
  --muted: #6f7571;
  --line: #e7eae8;
  --line-2: #d6dbd8;
  --green: #039952;
  --green-ink: #027a41;
  --green-soft: #e7f5ed;
  --inv-bg: #0f1110;
  --inv-ink: #f3f5f4;
  --inv-muted: #9aa19d;
  --inv-line: #2a2e2c;
  --dot-soft: #d2d7d4;
  --map-dot: #b3bbb6;
  --map-line: #c9d0cc;
  --map-land: #f2f4f3;
  --map-road: rgba(15, 17, 16, 0.17);
  --map-town: #a3aaa6;
  --phone: #121413;
  --screen: #ffffff;
  --screen-2: #f4f5f4;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --wrap: 1160px;
  --gutter: 20px;
  --nav-h: 64px;
}

/* Dark only when js/theme.js says so (the user's choice, else the device's
   setting); anything unknown stays light. */
html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0b0c0c;
  --bg-2: #131514;
  --ink: #f1f3f2;
  --ink-2: #b3b9b5;
  --muted: #7c837f;
  --line: #1f2221;
  --line-2: #2e3230;
  --green: #0ba45c;
  --green-ink: #3ccb84;
  --green-soft: rgba(11, 164, 92, 0.13);
  --inv-bg: #eef1ef;
  --inv-ink: #0f1110;
  --inv-muted: #5b615d;
  --inv-line: #d6dbd8;
  --dot-soft: #2b2f2d;
  --map-dot: #3b423e;
  --map-line: #2c312e;
  --map-land: #121413;
  --map-road: rgba(241, 243, 242, 0.15);
  --map-town: #5b625e;
  --phone: #232625;
  --screen: #111312;
  --screen-2: #1a1c1b;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: "Vazirmatn", Tahoma, sans-serif;
  font-size: 15px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
  color: inherit;
}

::selection {
  background: var(--green);
  color: #fff;
}

.lp-sprite {
  display: none;
}

.lp svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 8px;
}

.lp-wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.lp-wrap--narrow {
  max-width: calc(780px + var(--gutter) * 2);
}

@media (max-width: 480px) {
  :root {
    --gutter: 16px;
  }
}

/* ------------------------------------------------------------------ nav */

.lp-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.lp-nav.is-scrolled {
  border-bottom-color: var(--line);
  background: var(--bg);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
  backdrop-filter: saturate(1.4) blur(16px);
}

.lp-nav__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 100%;
}

.lp-nav__links {
  display: none;
  gap: 26px;
  margin-inline-start: 8px;
  font-size: 14px;
  color: var(--ink-2);
}

.lp-nav__links a {
  position: relative;
  padding: 4px 0;
}

.lp-nav__links a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-out);
}

.lp-nav .lp-btn {
  margin-inline-start: auto;
}

/* Light / dark switch (built by js/landing.js): خودکار · روشن · تیره. */
.lp-theme {
  position: relative;
  margin-inline-start: auto;
}

.lp-nav .lp-theme + .lp-btn {
  margin-inline-start: 10px;
}

.lp-theme__btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.25s ease, transform 0.5s var(--ease-out);
}

.lp .lp-theme__btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.6s var(--ease-out);
}

.lp-theme__btn[aria-expanded="true"] {
  border-color: var(--ink);
}

.lp-theme__btn[aria-expanded="true"] svg {
  transform: rotate(-40deg);
}

.lp-theme__menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 60;
  display: grid;
  gap: 2px;
  min-width: 190px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--bg);
  box-shadow: 0 24px 48px -24px rgba(10, 20, 15, 0.35);
  transform-origin: top left;
  animation: lp-menu-in 0.35s var(--ease-out);
}

.lp-theme__menu[hidden] {
  display: none;
}

@keyframes lp-menu-in {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(0.96);
  }
}

.lp-theme__menu button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: 12px;
  background: none;
  font-size: 14px;
  font-weight: 600;
  text-align: right;
  cursor: pointer;
}

.lp .lp-theme__menu svg {
  width: 18px;
  height: 18px;
  color: var(--muted);
}

.lp-theme__menu small {
  margin-inline-start: auto;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--muted);
}

.lp-theme__menu button[aria-checked="true"] {
  background: var(--bg-2);
}

.lp .lp-theme__menu button[aria-checked="true"] svg {
  color: var(--green);
}

@media (hover: hover) and (min-width: 768px) {
  .lp-theme__btn:hover {
    border-color: var(--ink);
  }

  .lp-theme__menu button:hover {
    background: var(--bg-2);
  }
}

/* Switching themes: the new one grows as a circle from the switch (View
   Transitions, where supported; js/landing.js drives the circle). */
::view-transition-old(root),
::view-transition-new(root) {
  animation: none;
  mix-blend-mode: normal;
}

@media (min-width: 860px) {
  .lp-nav__links {
    display: flex;
  }
}

@media (hover: hover) and (min-width: 768px) {
  .lp-nav__links a:hover {
    color: var(--ink);
  }

  .lp-nav__links a:hover::after {
    transform: scaleX(1);
  }
}

/* Reading progress, on the header's lower edge. */
.lp-progress {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  overflow: hidden;
  pointer-events: none;
}

.lp-progress i {
  display: block;
  height: 100%;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: right;
}

.lp-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0;
}

.lp-brand__mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--green);
  color: #fff;
}

.lp .lp-brand__mark svg {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}

/* -------------------------------------------------------------- buttons */

.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 54px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  transition: transform 0.5s var(--ease-out), background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
  -webkit-tap-highlight-color: transparent;
}

.lp-btn > span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.5s var(--ease-out);
}

.lp-btn--primary {
  background: var(--green);
  color: #fff;
}

.lp-btn--outline,
.lp-btn--ghost {
  border-color: var(--line-2);
  color: var(--ink);
}

.lp-btn--ink {
  background: var(--ink);
  color: var(--bg);
}

.lp-btn--sm {
  height: 40px;
  padding: 0 18px;
  font-size: 13.5px;
}

.lp-btn:active {
  transform: scale(0.97);
}

@media (hover: hover) and (min-width: 768px) {
  .lp-btn--primary:hover {
    background: var(--green-ink);
  }

  .lp-btn--outline:hover,
  .lp-btn--ghost:hover {
    border-color: var(--ink);
  }

  .lp-btn--ink:hover {
    background: var(--green);
    color: #fff;
  }
}

.lp-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.lp-link svg {
  transition: transform 0.5s var(--ease-out);
}

@media (hover: hover) and (min-width: 768px) {
  .lp-link:hover svg {
    transform: translateX(-6px);
  }
}

/* ------------------------------------------------------------- type */

.lp-eyebrow,
.lp-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.lp-dot {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

.lp-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--green);
  border-radius: 50%;
  animation: lp-ping 2.4s var(--ease-out) infinite;
}

@keyframes lp-ping {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  80%,
  100% {
    transform: scale(3.2);
    opacity: 0;
  }
}

.lp-h2 {
  margin-top: 14px;
  font-size: clamp(30px, 4.4vw, 52px);
  font-weight: 850;
  line-height: 1.25;
  text-wrap: balance;
}

.lp-h2 em,
.lp-title em {
  font-style: normal;
  color: var(--green);
}

.lp-sub {
  max-width: 520px;
  margin-top: 16px;
  font-size: 16px;
  color: var(--ink-2);
}

.lp-section {
  padding: clamp(68px, 10vw, 136px) 0;
}

/* Words rise out of a mask (js/landing.js splits [data-split]). Persian is
   only ever split between words, never inside one. */
.lp-js [data-split] .w {
  display: inline-block;
  overflow: hidden;
  padding: 0.1em 0 0.16em;
  margin: -0.1em 0 -0.16em;
  vertical-align: top;
}

.lp-js [data-split] .w > span {
  display: inline-block;
  transform: translateY(108%);
  transition: transform 1.1s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 55ms);
}

.lp-js [data-split].is-in .w > span {
  transform: none;
}

/* The hero's title: a slower, longer cascade. */
.lp-js [data-split-load] .w > span {
  transition-duration: 1.3s;
  transition-delay: calc(0.1s + var(--i, 0) * 75ms);
}

/* Blocks fade up as they enter. */
.lp-js .lp-reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease-out), transform 1.1s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 90ms);
}

.lp-js .lp-reveal.is-in {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------- hero */

.lp-hero {
  position: relative;
  padding: 40px 0 72px;
}

.lp-hero__grid {
  display: grid;
  gap: 48px;
  align-items: center;
}

.lp-title {
  margin-top: 22px;
  font-size: clamp(42px, 5.4vw, 68px);
  font-weight: 850;
  line-height: 1.22;
  text-wrap: balance;
}

.lp-title__line {
  display: block;
}

.lp-lead {
  max-width: 480px;
  margin-top: 24px;
  font-size: clamp(15.5px, 1.4vw, 17.5px);
  line-height: 2;
  color: var(--ink-2);
}

.lp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.lp-note {
  margin-top: 18px;
  font-size: 12.5px;
  color: var(--muted);
}

/* The hero's opening: each part rises in turn once the page is ready. */
.lp-js .lp-in {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out);
  transition-delay: calc(0.35s + var(--d, 0) * 110ms);
}

.lp-ready .lp-in {
  opacity: 1;
  transform: none;
}

/* The live map of Iran (canvas, js/landing.js). */
.lp-map {
  position: relative;
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
}

.lp-map__stage {
  position: relative;
  aspect-ratio: 1000 / 916;
}

.lp-map canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.lp-map__labels span {
  position: absolute;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  color: var(--muted);
  white-space: nowrap;
  /* A map halo: the page colour around the letters keeps names readable
     over roads and trucks. */
  text-shadow: 0 0 2px var(--bg), 0 0 2px var(--bg), 0 0 3px var(--bg), 0 0 3px var(--bg);
  transform: translate(50%, -170%);
  transition: color 0.4s ease, opacity 0.4s ease;
  pointer-events: none;
}

.lp-map__labels span.is-hub {
  font-weight: 700;
  color: var(--ink-2);
}

.lp-map__labels span.is-on {
  color: var(--green-ink);
}

/* Names appear with their city in the opening (--d: roads from Tehran). */
.lp-js .lp-map__labels span {
  opacity: 0;
}

.lp-map.is-live .lp-map__labels span {
  opacity: 1;
  transition-delay: calc(1.1s + var(--d, 0) * 120ms);
}

/* «تحویل شد»: rises under the city when a featured load arrives. */
.lp-map__tags {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.lp-map__tag {
  position: absolute;
  transform: translate(50%, 60%);
}

.lp-map__tag b {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px 4px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  box-shadow: 0 8px 18px -10px rgba(10, 20, 15, 0.3);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--green-ink);
  white-space: nowrap;
  animation: lp-tag 2.4s var(--ease-out) forwards;
}

.lp .lp-map__tag svg {
  width: 12px;
  height: 12px;
  stroke-width: 2.6;
}

@keyframes lp-tag {
  0% {
    opacity: 0;
    transform: translateY(8px) scale(0.9);
  }
  14% {
    opacity: 1;
    transform: none;
  }
  78% {
    opacity: 1;
    transform: none;
  }
  100% {
    opacity: 0;
    transform: translateY(-8px);
  }
}

.lp-ticker {
  display: flex;
  justify-content: center;
  margin-top: 6px;
}

.lp-ticker__chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  height: 38px;
  padding: 0 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  font-size: 12.5px;
  color: var(--ink-2);
}

.lp-ticker__chip .lp-dot {
  flex-shrink: 0;
}

.lp-ticker__text {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  transition: transform 0.45s var(--ease-out), opacity 0.35s ease;
}

.lp-ticker__text.is-out {
  opacity: 0;
  transform: translateY(-70%);
}

.lp-ticker__text.is-pre {
  opacity: 0;
  transform: translateY(70%);
  transition: none;
}

.lp-ticker__text b {
  font-weight: 700;
  color: var(--ink);
}

.lp-ticker__text .is-done {
  color: var(--green-ink);
  font-weight: 700;
}

.lp-scroll {
  display: none;
}

@media (min-width: 960px) {
  .lp-hero {
    display: flex;
    align-items: center;
    min-height: calc(100svh - var(--nav-h));
    padding: 24px 0 56px;
  }

  .lp-hero__grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
    gap: 48px;
  }

  .lp-map {
    max-width: none;
  }

  /* A line that keeps travelling down: there is more below. */
  .lp-scroll {
    position: absolute;
    bottom: 26px;
    right: 50%;
    display: block;
    width: 1px;
    height: 44px;
    overflow: hidden;
    background: var(--line);
    transform: translateX(50%);
  }

  .lp-scroll::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 1px;
    height: 40%;
    background: var(--ink);
    animation: lp-drop 2.2s var(--ease) infinite;
  }
}

@keyframes lp-drop {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(260%);
  }
}

/* -------------------------------------------------------------- fleet */

/* Laid out left to right so the strip can loop leftward (the way the
   trucks face); the names inside stay right to left. */
.lp-fleet {
  position: relative;
  direction: ltr;
  padding: 26px 0;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.lp-fleet__track {
  display: flex;
  gap: 64px;
  width: max-content;
  direction: ltr;
  will-change: transform;
}

.lp-vehicle {
  display: flex;
  align-items: center;
  gap: 14px;
  direction: rtl;
  color: var(--ink-2);
}

.lp .lp-vehicle svg {
  width: 72px;
  height: 32px;
  stroke-width: 1.6;
}

.lp-vehicle__wheel {
  fill: var(--bg);
}

.lp-vehicle span {
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
}

/* ------------------------------------------------ how it works (story) */

.lp-story {
  position: relative;
  padding: clamp(68px, 10vw, 136px) 0;
}

.lp-story__grid {
  display: grid;
  gap: 48px;
  align-items: center;
}

.lp-steps {
  display: grid;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.lp-steps li {
  position: relative;
  border-bottom: 1px solid var(--line);
}

.lp-steps button {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  width: 100%;
  padding: 22px 0;
  border: 0;
  background: none;
  text-align: right;
  cursor: pointer;
  opacity: 0.38;
  transition: opacity 0.5s ease;
}

.lp-steps li.is-active button {
  opacity: 1;
}

.lp-steps__n {
  padding-top: 3px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.lp-steps li.is-active .lp-steps__n {
  color: var(--green);
}

.lp-steps strong {
  display: block;
  font-size: clamp(18px, 1.9vw, 22px);
  font-weight: 800;
  line-height: 1.5;
}

.lp-steps small {
  display: grid;
  grid-template-rows: 0fr;
  font-size: 14.5px;
  line-height: 1.95;
  color: var(--ink-2);
  transition: grid-template-rows 0.6s var(--ease-out);
}

.lp-steps small > span {
  overflow: hidden;
}

.lp-steps li.is-active small {
  grid-template-rows: 1fr;
}

.lp-steps small > span > span {
  display: block;
  padding-top: 6px;
}

/* How far into the step: filled by scroll (pinned) or by time (autoplay). */
.lp-steps__bar {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 1px;
  overflow: hidden;
}

.lp-steps__bar b {
  display: block;
  height: 100%;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: right;
}

.lp-story.is-auto li.is-active .lp-steps__bar b {
  animation: lp-fill var(--step-ms, 4800ms) linear forwards;
}

@keyframes lp-fill {
  to {
    transform: scaleX(1);
  }
}

/* Narrow screens: heading, then the phone, then the steps it plays. */
@media (max-width: 959px) {
  .lp-story__grid {
    gap: 0;
  }

  .lp-story__text {
    display: contents;
  }

  .lp-story__text .lp-eyebrow {
    justify-self: start;
  }

  .lp-story .lp-phone {
    order: 3;
    margin: 44px auto 8px;
  }

  .lp-steps {
    order: 4;
  }
}

@media (min-width: 960px) {
  .lp-story__grid {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 96px;
  }

  .lp-story__text {
    max-width: 600px;
  }

  /* Pinned: the section is three screens tall and the content stays put
     while scrolling moves through the steps. */
  .lp-story.is-pinned {
    height: 330vh;
    padding: 0;
  }

  .lp-story.is-pinned .lp-story__pin {
    position: sticky;
    top: 0;
    display: flex;
    align-items: center;
    height: 100vh;
    height: 100svh;
    padding-top: var(--nav-h);
  }

  .lp-story.is-pinned .lp-story__pin > .lp-wrap {
    width: 100%;
  }
}

/* The phone the steps play on. Decorative: the steps say the same. */
.lp-phone {
  position: relative;
  width: 300px;
  height: 612px;
  margin: 0 auto;
  padding: 11px;
  border-radius: 50px;
  background: var(--phone);
  box-shadow: 0 40px 80px -40px rgba(10, 20, 15, 0.45);
}

.lp-phone::before {
  content: "";
  position: absolute;
  top: 22px;
  right: 50%;
  z-index: 3;
  width: 86px;
  height: 24px;
  border-radius: 999px;
  background: var(--phone);
  transform: translateX(50%);
}

.lp-phone__screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 40px;
  background: var(--screen);
  font-size: 12px;
  line-height: 1.7;
  color: var(--ink);
}

@media (max-width: 380px) {
  .lp-story .lp-phone {
    margin: 14px auto -22px;
    transform: scale(0.9);
  }
}

.lp-scr {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 60px 18px 20px;
  opacity: 0;
  transform: translateY(26px) scale(0.98);
  transition: opacity 0.5s ease, transform 0.8s var(--ease-out);
  pointer-events: none;
}

.lp-scr.is-active {
  opacity: 1;
  transform: none;
}

.ui-title {
  font-size: 16px;
  font-weight: 800;
}

.ui-sub {
  margin-top: -8px;
  font-size: 11.5px;
  color: var(--muted);
}

.ui-route {
  position: relative;
  display: grid;
  gap: 2px;
  padding: 6px 14px;
  border-radius: 18px;
  background: var(--screen-2);
}

.ui-route::before {
  content: "";
  position: absolute;
  top: 30px;
  bottom: 30px;
  right: 19.5px;
  width: 1px;
  background: var(--line-2);
}

.ui-field {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
}

.ui-field + .ui-field {
  border-top: 1px solid var(--line);
}

.ui-pin {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 11px;
  height: 11px;
  border: 3px solid var(--green);
  border-radius: 50%;
  background: var(--screen-2);
}

.ui-pin--to {
  border-color: var(--ink);
  border-radius: 3px;
}

.ui-field small {
  display: block;
  font-size: 10.5px;
  color: var(--muted);
}

.ui-type {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
  clip-path: inset(0 0 0 100%);
}

.lp-scr.is-active .ui-type {
  animation: ui-type 0.9s steps(18, end) forwards;
  animation-delay: var(--t, 0.3s);
}

@keyframes ui-type {
  to {
    clip-path: inset(0 0 0 0);
  }
}

.ui-label {
  margin-top: 2px;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
}

.ui-chips {
  display: flex;
  gap: 6px;
  margin-top: -6px;
}

.ui-chips span {
  padding: 5px 11px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.lp-scr.is-active .ui-chips .is-on {
  animation: ui-pick 0.4s ease forwards 1.9s;
}

@keyframes ui-pick {
  to {
    border-color: var(--ink);
    background: var(--ink);
    color: var(--screen);
  }
}

.ui-est {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: auto;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.ui-est small {
  margin-inline-end: auto;
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
}

.ui-est strong {
  font-size: 20px;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
}

.ui-est span {
  font-size: 11px;
  color: var(--muted);
}

.ui-btn {
  display: grid;
  place-items: center;
  height: 46px;
  border-radius: 999px;
  background: var(--green);
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}

.ui-head {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ui-count {
  display: grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--screen-2);
  font-size: 11px;
  font-weight: 800;
}

.ui-offer {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--screen);
  opacity: 0;
  transform: translateY(18px);
}

.lp-scr.is-active .ui-offer {
  animation: ui-rise 0.7s var(--ease-out) forwards;
  animation-delay: calc(0.25s + var(--i) * 0.45s);
}

@keyframes ui-rise {
  to {
    opacity: 1;
    transform: none;
  }
}

.ui-offer img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
}

.ui-offer strong {
  display: block;
  font-size: 12.5px;
  font-weight: 800;
}

.ui-offer small {
  display: block;
  font-size: 10.5px;
  color: var(--muted);
}

.ui-price {
  display: grid;
  justify-items: end;
  font-size: 12.5px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.ui-price s {
  font-size: 10px;
  font-weight: 500;
  color: var(--muted);
}

/* The haggled offer: the new price and the agreement land after it arrives. */
.ui-offer.is-deal {
  transition: border-color 0.4s ease;
}

.ui-deal-new,
.ui-deal-tag {
  opacity: 0;
}

.lp-scr.is-active .ui-offer.is-deal {
  animation: ui-rise 0.7s var(--ease-out) forwards, ui-deal 0.4s ease forwards 2.6s;
  animation-delay: calc(0.25s + var(--i) * 0.45s), 2.6s;
}

@keyframes ui-deal {
  to {
    border-color: var(--green);
  }
}

.lp-scr.is-active .ui-deal-new {
  animation: ui-fade 0.4s ease forwards 2.6s;
}

.lp-scr.is-active .ui-deal-old {
  animation: ui-strike 0.4s ease forwards 2.4s;
}

@keyframes ui-strike {
  to {
    color: var(--muted);
    text-decoration: line-through;
    font-size: 10px;
    font-weight: 500;
  }
}

.ui-deal-tag {
  grid-column: 1 / -1;
  justify-self: start;
  margin-top: -2px;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--green-soft);
  font-size: 10.5px;
  font-weight: 700;
  color: var(--green-ink);
}

.lp-scr.is-active .ui-deal-tag {
  animation: ui-fade 0.4s ease forwards 2.8s;
}

@keyframes ui-fade {
  to {
    opacity: 1;
  }
}

.ui-btn--late {
  margin-top: auto;
  opacity: 0.3;
}

.lp-scr.is-active .ui-btn--late {
  animation: ui-fade 0.4s ease forwards 3s;
}

.ui-map {
  position: relative;
  width: 246px;
  height: 196px;
  overflow: hidden;
  border-radius: 20px;
  background-color: var(--screen-2);
  background-image: radial-gradient(var(--dot-soft) 1px, transparent 1.3px);
  background-size: 9px 9px;
}

.ui-map svg {
  position: absolute;
  inset: 0;
  width: 246px;
  height: 196px;
  overflow: visible;
}

.ui-road {
  fill: none;
  stroke: var(--line-2);
  stroke-width: 3;
  stroke-linecap: round;
}

.ui-done {
  fill: none;
  stroke: var(--green);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

.lp-scr.is-active .ui-done {
  animation: ui-draw 5.2s var(--ease) forwards 0.4s;
}

@keyframes ui-draw {
  to {
    stroke-dashoffset: 0.08;
  }
}

.ui-end {
  fill: var(--screen);
  stroke: var(--ink);
  stroke-width: 2.5;
}

.ui-start {
  fill: var(--green);
}

.ui-truck {
  position: absolute;
  top: 0;
  left: 0;
  width: 16px;
  height: 16px;
  border: 4px solid var(--green);
  border-radius: 50%;
  background: var(--screen);
  offset-path: path("M222 170C170 168 164 110 120 104S46 70 30 26");
  offset-distance: 0%;
  offset-rotate: 0deg;
}

.lp-scr.is-active .ui-truck {
  animation: ui-drive 5.2s var(--ease) forwards 0.4s;
}

@keyframes ui-drive {
  to {
    offset-distance: 92%;
  }
}

.ui-status small {
  display: block;
  font-size: 11px;
  color: var(--muted);
}

.ui-status strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
}

.ui-bar {
  height: 4px;
  margin-top: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--screen-2);
}

.ui-bar b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--green);
  transform: scaleX(0.06);
  transform-origin: right;
}

.lp-scr.is-active .ui-bar b {
  animation: ui-bar 5.2s var(--ease) forwards 0.4s;
}

@keyframes ui-bar {
  to {
    transform: scaleX(0.9);
  }
}

.ui-driver {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.ui-driver img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
}

.ui-driver div {
  flex: 1;
  min-width: 0;
}

.ui-driver strong {
  display: block;
  font-size: 12px;
  font-weight: 800;
}

.ui-driver small {
  display: block;
  font-size: 10.5px;
  color: var(--muted);
}

.ui-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--green-ink);
}

.ui-code {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding: 12px 16px;
  border: 1px dashed var(--line-2);
  border-radius: 16px;
  font-size: 11px;
  color: var(--muted);
}

.ui-code b {
  font-size: 18px;
  font-weight: 850;
  letter-spacing: 3px;
  color: var(--ink);
}

/* ------------------------------------------------------ two sides */

.lp-sides__grid {
  display: grid;
  gap: 16px;
  margin-top: 48px;
}

.lp-side {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 460px;
  padding: clamp(28px, 4vw, 44px);
  overflow: hidden;
  border-radius: 32px;
  background: var(--bg-2);
}

.lp-side--inv {
  background: var(--inv-bg);
  color: var(--inv-ink);
}

.lp-side__art {
  width: 132px;
  height: 92px;
  margin-bottom: 36px;
  color: var(--ink);
}

.lp-side--inv .lp-side__art {
  color: var(--inv-ink);
}

.lp .lp-side__art {
  width: 132px;
  height: 92px;
  stroke-width: 1.4;
}

.lp-side__art .draw {
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}

.lp-js .lp-side__art .draw {
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.8s var(--ease);
  transition-delay: calc(0.25s + var(--i, 0) * 0.18s);
}

.lp-js .lp-reveal.is-in .lp-side__art .draw {
  stroke-dashoffset: 0;
}

.lp-side__art .accent {
  stroke: var(--green);
}

.lp-side .lp-eyebrow {
  color: inherit;
  opacity: 0.6;
}

.lp-side h3 {
  margin-top: 8px;
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 850;
  line-height: 1.4;
}

.lp-side ul {
  margin: 28px 0 36px;
  padding: 0;
  list-style: none;
}

.lp-side li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line-2);
  font-size: 15px;
}

.lp-side--inv li {
  border-top-color: var(--inv-line);
}

.lp .lp-side li svg {
  width: 18px;
  height: 18px;
  color: var(--green);
  stroke-width: 2.2;
}

.lp-side .lp-link {
  margin-top: auto;
  align-self: flex-start;
  font-size: 16px;
}

@media (min-width: 860px) {
  .lp-sides__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* --------------------------------------------------------- services */

.lp-rows {
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.lp-eyebrow--sub {
  display: flex;
  margin-top: 56px;
}

.lp-eyebrow--sub + .lp-rows {
  margin-top: 16px;
}

.lp-rows li {
  border-bottom: 1px solid var(--line);
}

.lp-rows a {
  position: relative;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 26px 0;
  isolation: isolate;
}

.lp-rows__n {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.lp-rows strong {
  display: block;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 800;
  line-height: 1.5;
  transition: transform 0.5s var(--ease-out);
}

.lp-rows small {
  display: block;
  font-size: 14px;
  color: var(--ink-2);
}

.lp-rows__go {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
  direction: rtl;
}

.lp-rows__go em {
  display: none;
  font-style: normal;
  direction: ltr;
}

.lp-rows__go svg {
  transition: transform 0.5s var(--ease-out);
}

@media (min-width: 720px) {
  .lp-rows__go em {
    display: inline;
  }
}

@media (hover: hover) and (min-width: 768px) {
  /* A soft backdrop grows behind the row under the pointer. */
  .lp-rows a::before {
    content: "";
    position: absolute;
    inset: 0 -20px;
    z-index: -1;
    border-radius: 20px;
    background: var(--bg-2);
    opacity: 0;
    transform: scaleY(0.6);
    transition: opacity 0.35s ease, transform 0.5s var(--ease-out);
  }

  .lp-rows a:hover::before {
    opacity: 1;
    transform: none;
  }

  .lp-rows a:hover strong {
    transform: translateX(-8px);
  }

  .lp-rows a:hover .lp-rows__go {
    color: var(--ink);
  }

  .lp-rows a:hover .lp-rows__go svg {
    transform: translateX(-6px);
  }
}

/* -------------------------------------------------------------- faq */

.lp-faq {
  margin-top: 40px;
  border-top: 1px solid var(--line);
}

.lp-faq__item {
  border-bottom: 1px solid var(--line);
}

.lp-faq h3 {
  font-size: inherit;
  font-weight: inherit;
}

.lp-faq button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 24px 0;
  border: 0;
  background: none;
  font-size: clamp(16px, 1.6vw, 19px);
  font-weight: 700;
  text-align: right;
  cursor: pointer;
}

.lp-faq__icon {
  position: relative;
  flex-shrink: 0;
  width: 14px;
  height: 14px;
}

.lp-faq__icon::before,
.lp-faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 14px;
  height: 1.6px;
  margin-top: -0.8px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.5s var(--ease-out);
}

.lp-faq__icon::after {
  transform: rotate(90deg);
}

.lp-faq__item.is-open .lp-faq__icon::after {
  transform: rotate(0);
}

.lp-faq__item.is-open .lp-faq__icon::before {
  transform: rotate(180deg);
}

.lp-faq__panel {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows 0.55s var(--ease-out), visibility 0s linear 0.55s;
}

.lp-faq__item.is-open .lp-faq__panel {
  grid-template-rows: 1fr;
  visibility: visible;
  transition: grid-template-rows 0.55s var(--ease-out), visibility 0s;
}

.lp-faq__panel > div {
  overflow: hidden;
}

.lp-faq__panel p {
  max-width: 640px;
  padding-bottom: 24px;
  color: var(--ink-2);
  line-height: 2.05;
}

/* -------------------------------------------------------------- end */

.lp-end {
  position: relative;
  padding: clamp(80px, 14vw, 180px) 0;
  overflow: hidden;
  text-align: center;
}

/* The map's dot grid, fading out from the middle. */
.lp-end::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(var(--dot-soft) 1.2px, transparent 1.5px);
  background-size: 18px 18px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, #000 20%, transparent 75%);
}

.lp-end .lp-h2 {
  margin: 0 auto;
  font-size: clamp(34px, 5.6vw, 72px);
}

.lp-end .lp-actions {
  justify-content: center;
  margin-top: 40px;
}

/* ----------------------------------------------------------- footer */

.lp-footer {
  padding: 36px 0 40px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--muted);
}

.lp-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 28px;
}

.lp-footer .lp-brand {
  color: var(--ink);
}

.lp-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

.lp-footer__links a {
  color: var(--ink-2);
  transition: color 0.2s ease;
}

.lp-footer__copy {
  margin-inline-start: auto;
}

.lp-footer__copy a {
  color: var(--ink-2);
}

.lp-footer > .lp-footer__copy {
  display: block;
}

@media (hover: hover) and (min-width: 768px) {
  .lp-footer__links a:hover,
  .lp-footer__copy a:hover {
    color: var(--ink);
  }
}

@media (max-width: 640px) {
  .lp-footer__copy {
    width: 100%;
    margin: 0;
  }
}

/* ----------------------------------------------- terms, privacy, 404 */

.lp-doc {
  padding-top: 56px;
  padding-bottom: 96px;
}

.lp-doc__head {
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.lp-doc__head h1 {
  margin-top: 12px;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 850;
  line-height: 1.4;
}

.lp-doc__head p {
  margin-top: 8px;
  font-size: 13.5px;
  color: var(--muted);
}

.lp-doc__toc {
  margin: 0 0 40px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
}

.lp-doc__toc strong {
  display: block;
  margin-bottom: 8px;
  font-size: 13.5px;
}

.lp-doc__toc ol {
  margin: 0;
  padding-inline-start: 22px;
  list-style-type: persian;
  columns: 2;
  column-gap: 28px;
  font-size: 13.5px;
  line-height: 2.1;
}

.lp-doc__toc a {
  color: var(--ink-2);
}

@media (hover: hover) and (min-width: 768px) {
  .lp-doc__toc a:hover {
    color: var(--green-ink);
  }
}

.lp-doc section {
  margin-bottom: 32px;
}

.lp-doc h2 {
  margin-bottom: 10px;
  font-size: 19px;
  font-weight: 800;
  scroll-margin-top: calc(var(--nav-h) + 20px);
}

.lp-doc p,
.lp-doc li {
  font-size: 15px;
  line-height: 2.1;
  color: var(--ink-2);
}

.lp-doc p + p {
  margin-top: 10px;
}

.lp-doc ul {
  margin: 8px 0 0;
  padding-inline-start: 22px;
}

.lp-doc li + li {
  margin-top: 4px;
}

.lp-doc b {
  color: var(--ink);
}

.lp-doc__note {
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--green-soft);
  color: var(--green-ink) !important;
  font-weight: 600;
}

@media (max-width: 560px) {
  .lp-doc__toc ol {
    columns: 1;
  }
}

.lp-404 {
  display: grid;
  place-items: center;
  min-height: calc(100vh - var(--nav-h) - 120px);
  padding-top: 48px;
  padding-bottom: 48px;
  text-align: center;
}

.lp-404__code {
  font-size: clamp(96px, 18vw, 180px);
  font-weight: 900;
  line-height: 1;
  color: var(--ink);
}

.lp-404 h1 {
  margin-top: 18px;
  font-size: 26px;
  font-weight: 850;
}

.lp-404 p {
  margin-top: 8px;
  color: var(--muted);
}

.lp-404__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

/* ------------------------------------------------------ reduced motion */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0s !important;
  }

  .lp-scroll,
  .lp-dot::after {
    display: none;
  }
}
