/* /long-distance-moves without the panel hero (owner, Nov 10 2026: «мне не очень нравится этот вид страницы когда
   квадрат на экране»; first screen A, «выгружай эту версию на сайт»). The free plan's page language: white, the content
   in .wrap, blocks framed by a hairline with hairlines between their cells, the product's own chips, flat. One accent,
   the LD orange, only where the page means long distance; the settings' words on our blue. Prefix lx-, body.lx. */

.lx{ --hair: #e3e6ec; --ink-s: #4a5160; --ld: #ea580c; background: #fff; }

/* ── first screen: the trip on a grid ── */
.lx-hero{ padding: calc(var(--hdr) + 12px) 0 0; }
.lx-trip{ display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1px; overflow: hidden; border: 1px solid var(--hair); border-radius: 20px; background: var(--hair); }
.lx-trip > *{ min-width: 0; background: #fff; }
.lx-lead{ grid-column: 1 / 9; display: grid; align-content: center; justify-items: start; padding: clamp(36px, 4vw, 56px) clamp(28px, 3.2vw, 48px); }
.lx-hero h1{ margin: 0 0 16px; color: var(--navy); font: 600 clamp(42px, 4.6vw, 64px)/1.02 var(--font); letter-spacing: -.042em; text-wrap: balance; }
.lx-lead h1{ max-width: 11em; }
.lx-lead > p{ max-width: 36em; margin: 0 0 24px; color: var(--ink-s); font-size: 17px; line-height: 1.5; text-wrap: pretty; }
.lx-ctas{ display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.lx-ghost{ padding-bottom: 3px; border-bottom: 1.5px solid rgba(6, 26, 63, .3); color: var(--navy); font: 500 17px/1 var(--font-ui); transition: border-color .2s; }
.lx-ghost:hover{ border-color: var(--navy); }

/* the job: who, the route, and the line where local work ends */
.lx-job{ grid-column: 9 / 13; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; padding: 22px 24px 24px; }
.lx-job-top{ display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.lx-id{ color: var(--ink-s); font: 500 13px/1 var(--font-mono); }
.lx-flip{ display: inline-grid; }
.lx-flip i{ grid-area: 1 / 1; display: grid; place-items: center; height: 24px; padding: 0 9px; border-radius: 6px; font: 600 11.5px/1 var(--font-mono); font-style: normal; letter-spacing: .04em; }
.lx-flip .lo{ visibility: hidden; background: #eef4ff; color: #2563eb; box-shadow: inset 0 0 0 1px #d6e3fb; }
.lx-flip .ld{ background: #fff4ec; color: var(--ld); box-shadow: inset 0 0 0 1px #fbd3b9; }
.lx-who{ display: flex; align-items: center; gap: 12px; }
.lx-who > i{ flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: #e8edf6; color: #4d6ba0; font: 600 13px/1 var(--font-ui); font-style: normal; }
.lx-who b{ display: block; color: var(--navy); font: 600 16px/1.2 var(--font); }
.lx-who small{ display: block; margin-top: 3px; color: var(--ink-s); font-size: 13px; }
.lx-md{ display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 12px; background: #f7f8fa; }
.lx-md span{ flex: 1; }
.lx-md b{ display: block; color: var(--navy); font: 600 14px/1.2 var(--font-ui); }
.lx-md small{ display: block; margin-top: 3px; color: var(--ink-s); font-size: 12.5px; }
.lx-tog{ flex: none; position: relative; width: 38px; height: 22px; border-radius: 11px; background: #1f7a5c; }
.lx-tog::after{ content: ""; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transform: translateX(16px); }
.lx-road{ display: grid; gap: 9px; }
.lx-road-ends{ display: flex; justify-content: space-between; gap: 12px; color: var(--navy); font: 600 14.5px/1.2 var(--font-ui); }
.lx-road-line{ position: relative; height: 12px; }
.lx-road-line::before{ content: ""; position: absolute; left: 4px; right: 4px; top: 5px; height: 2px; background: var(--hair); }
.lx-road-line .run{ position: absolute; left: 4px; right: 4px; top: 5px; display: flex; height: 2px; }
.lx-road-line u{ width: 36.7%; background: var(--navy); }
.lx-road-line s{ flex: 1; background: var(--ld); }
.lx-road-line em{ position: absolute; left: calc(4px + (100% - 8px) * .367); top: -5px; height: 22px; border-left: 1.5px dashed var(--ld); }
.lx-road-line i{ position: absolute; top: 2px; width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 2px var(--navy); }
.lx-road-line .a{ left: 0; }
.lx-road-line .b{ right: 0; box-shadow: inset 0 0 0 2px var(--ld); }
.lx-road-k{ position: relative; display: flex; justify-content: space-between; color: var(--ink-s); font: 500 12px/1 var(--font-mono); }
.lx-road-k .mark{ position: absolute; left: calc(4px + (100% - 8px) * .367); transform: translateX(-50%); color: var(--ld); font: 600 11.5px/1 var(--font-ui); white-space: nowrap; }
.lx-road-mi{ padding-top: 4px; color: var(--navy); font: 600 13.5px/1 var(--font-ui); }

/* the days and the nights between them, each with its price, and what they come to */
.lx-d, .lx-n, .lx-s{ display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; }
.lx-d{ grid-column: span 2; }
.lx-n{ grid-column: span 1; background: #f7f8fa !important; }
.lx-s{ grid-column: span 4; }
.lx-d small, .lx-n small, .lx-s small{ color: var(--ink-s); font: 500 12.5px/1.25 var(--font-ui); }
.lx-n .ico{ width: 17px; height: 17px; color: var(--ink-s); }
.lx-d b{ color: var(--navy); font: 600 18px/1.2 var(--font); letter-spacing: -.015em; }
.lx-d span{ color: var(--ink-s); font-size: 13.5px; line-height: 1.35; }
.lx-d em{ align-self: flex-start; padding: 4px 8px; border-radius: 6px; background: var(--oat); color: var(--navy); font: 500 12px/1.2 var(--font-ui); font-style: normal; }
.lx-d strong, .lx-n strong{ margin-top: auto; padding-top: 8px; color: var(--navy); font: 600 20px/1 var(--font); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.lx-s strong{ margin-top: auto; color: var(--navy); font: 600 clamp(38px, 3.6vw, 54px)/1 var(--font); font-variant-numeric: tabular-nums; letter-spacing: -.04em; }
.lx-s span{ color: var(--ink-s); font-size: 13.5px; line-height: 1.4; }

/* once, on arrival: the route is drawn, past the line the job turns LD, then the days come in. The cells stay white; only
   what is in them moves */
.js .lx-road-line .run{ animation: lx-draw 1.1s linear .35s both; }
.js .lx-road-line .b{ animation: lx-pop .3s var(--ease) 1.4s both; }
.js .lx-flip .lo{ animation: lx-off 0s linear .76s both; }
.js .lx-flip .ld{ animation: lx-pop .3s var(--ease) .76s both; }
.js .lx-tog{ animation: lx-tog .3s var(--ease) .95s both; }
.js .lx-tog::after{ animation: lx-knob .3s var(--ease) .95s both; }
.js .lx-d > *, .js .lx-n > *, .js .lx-s > *{ animation: lx-in .5s var(--ease) calc(1.05s + var(--i, 0) * .08s) both; }
@keyframes lx-draw{ from{ clip-path: inset(0 100% 0 0); } to{ clip-path: inset(0 0 0 0); } }
@keyframes lx-off{ from{ visibility: visible; } to{ visibility: hidden; } }
@keyframes lx-pop{ from{ opacity: 0; transform: scale(.8); } }
@keyframes lx-in{ from{ opacity: 0; transform: translateY(6px); } }
@keyframes lx-tog{ from{ background: #d7d7de; } }
@keyframes lx-knob{ from{ transform: translateX(0); } }

/* ── the sections ── */
.lx-sec{ padding: clamp(56px, 6vw, 88px) 0 0; }
.lx-sec.sec-tight{ padding-bottom: clamp(56px, 6vw, 88px); }
.lx-head{ display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 14px 48px; align-items: end; margin-bottom: 26px; }
.lx-head h2{ margin: 0; color: var(--navy); font: 600 clamp(32px, 3.4vw, 48px)/1.05 var(--font); letter-spacing: -.035em; text-wrap: balance; }
.lx-head p{ max-width: 36em; margin: 0; color: var(--ink-s); font-size: 16.5px; line-height: 1.5; text-wrap: pretty; }

.lx-grid{ display: grid; gap: 1px; overflow: hidden; border: 1px solid var(--hair); border-radius: 20px; background: var(--hair); }
.lx-grid > *{ min-width: 0; background: #fff; }
.lx-c4{ grid-template-columns: repeat(4, minmax(0, 1fr)); }
.lx-c2{ grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* a feature: what it does, and where it lives in the app */
.lx-f{ display: flex; flex-direction: column; gap: 9px; padding: 22px 22px 20px; }
.lx-f .ico{ width: 20px; height: 20px; color: var(--navy); }
.lx-f b{ margin-top: 8px; color: var(--navy); font: 600 18px/1.25 var(--font); letter-spacing: -.015em; }
.lx-f p{ margin: 0; color: var(--ink-s); font-size: 15px; line-height: 1.45; text-wrap: pretty; }
.lx-f > span{ margin-top: auto; padding-top: 10px; color: var(--ink-s); font: 500 12px/1.35 var(--font-mono); }

/* a card: the words over the app's own screen */
.lx-card{ display: grid; grid-template-rows: auto 1fr; }
.lx-card-t{ display: grid; align-content: start; gap: 10px; padding: 26px 28px 24px; }
.lx-k{ display: inline-flex; align-items: center; gap: 8px; color: var(--ink-s); font: 500 13px/1 var(--font-ui); }
.lx-k .ico{ width: 16px; height: 16px; }
.lx-card h3{ margin: 0; color: var(--navy); font: 600 clamp(22px, 2vw, 28px)/1.15 var(--font); letter-spacing: -.025em; text-wrap: balance; }
.lx-card-t p{ max-width: 34em; margin: 0; color: var(--ink-s); font-size: 15.5px; line-height: 1.5; text-wrap: pretty; }
.lx-vis{ display: grid; place-items: center; padding: 28px; background: var(--oat) !important; }
.lx-card .lx-vis{ border-top: 1px solid var(--hair); }
.lx .lds-card, .lx .ldp-ui{ box-shadow: 0 0 0 1px var(--hair); }
/* the settings' words on our blue, the top bar's, in white; the screens under them as everywhere (owner, Nov 10: «вот это
   то что выделил голубым сделать», «синий наш как в шапке а текст белым») */
.lx-blue .lx-card-t{ background: var(--blue); }
.lx-blue .lx-card-t h3, .lx-blue .lx-k{ color: #fff; }
.lx-blue .lx-card-t p{ color: rgba(255, 255, 255, .86); }
/* two cards side by side share their rows on a wide screen: the words end and the app's screen starts on one line in both,
   and the screens' tops line up (owner, Nov 10: «выровняй их на ПК по линии вместе») */
@media (min-width: 1081px){
  .lx-c2 > .lx-card{ grid-row: span 2; grid-template-rows: subgrid; row-gap: 0; }
  .lx-c2 > .lx-card .lx-vis{ align-items: start; padding-top: 36px; }
}

/* the calendar's day view, drawn flat: the truck's lane across three days, the job on each day, the nights between them
   crossing the line between the days (owner, Nov 10: «это красивее отрисуй») */
.lx-cal{ position: relative; display: grid; grid-template-columns: 64px repeat(3, minmax(0, 1fr)); grid-template-rows: 36px auto 46px; gap: 1px; width: min(100%, 560px); overflow: hidden; border: 1px solid var(--hair); border-radius: 14px; background: var(--hair); font-family: var(--font-ui); }
.lx-cal > *{ min-width: 0; background: #fff; }
.lx-cal-h{ display: flex; align-items: center; gap: 6px; padding: 0 10px; color: var(--ink-s); font-size: 12px; white-space: nowrap; }
.lx-cal-h b{ color: var(--navy); font-weight: 600; }
.lx-cal-t{ grid-row: 2 / 4; display: grid; align-content: center; justify-items: center; gap: 4px; }
.lx-cal-t b{ color: var(--navy); font: 600 13px/1 var(--font-mono); }
.lx-cal-t small{ color: var(--ink-s); font: 500 11px/1 var(--font-mono); }
.lx-cal-d{ padding: 10px 8px 4px; }
.lx-cal-j{ display: grid; gap: 4px; padding: 9px 10px; border-radius: 8px; background: #fff4ec; box-shadow: inset 0 0 0 1px #fbd3b9; }
.lx-cal-j small{ color: var(--ld); font: 600 10.5px/1 var(--font-mono); }
.lx-cal-j b{ color: var(--navy); font-size: 13px; font-weight: 600; line-height: 1.2; }
.lx-cal-j span{ color: var(--ink-s); font-size: 11.5px; line-height: 1.3; }
.lx-cal-j i, .lx-cal-j em{ font-style: normal; white-space: nowrap; }
.lx-cal-n{ position: absolute; bottom: 11px; left: calc(64px + (100% - 64px) * var(--at) / 3); display: flex; justify-content: center; width: calc((100% - 64px) / 3 * .8); height: 24px; transform: translateX(-50%); }
.lx-cal-n::before{ content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1.5px dashed #b4bccb; }
.lx-cal-n > span{ position: relative; display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px; border-radius: 99px; background: #fff; box-shadow: inset 0 0 0 1px var(--hair); color: var(--ink-s); font-size: 11.5px; font-weight: 500; white-space: nowrap; }
.lx-cal-n svg{ width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lx .ldf-phone{ box-shadow: inset 0 0 0 1.5px #34353b; }

/* the portal */
.lx-ptxt{ padding: clamp(28px, 3vw, 40px) clamp(24px, 2.8vw, 40px); align-content: center; }
.lx-ptxt h2{ margin: 0; color: var(--navy); font: 600 clamp(28px, 2.8vw, 40px)/1.08 var(--font); letter-spacing: -.035em; text-wrap: balance; }
.lx-list{ display: grid; margin: 10px 0 0; border-top: 1px solid var(--hair); }
.lx-list > div{ display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--hair); }
.lx-list dt{ color: var(--navy); font-size: 15px; font-weight: 600; }
.lx-list dd{ margin: 0; color: var(--ink-s); font-size: 15px; }

/* the questions: the same markup, framed */
.lx .lx-faq{ gap: 1px; align-items: stretch; overflow: hidden; border: 1px solid var(--hair); border-radius: 20px; background: var(--hair); }
.lx-faq > *{ background: #fff; }
.lx .lx-faq .faq-l{ position: static; align-content: start; gap: 16px; padding: 30px clamp(24px, 2.6vw, 36px); }
.lx-faq .faq-l h2{ margin: 0; color: var(--navy); font: 600 clamp(28px, 2.8vw, 40px)/1.08 var(--font); letter-spacing: -.035em; text-wrap: balance; }
.lx-faq .faq-l p{ margin: 0; color: var(--ink-s); font-size: 16px; line-height: 1.5; }
.lx-faq .faq-l .link{ color: var(--navy); }
.lx .lx-faq .faq-list{ padding: 4px clamp(24px, 2.6vw, 36px); border-bottom: 0; }
.lx .lx-faq .faq-list details{ border-top-color: var(--hair); }
.lx .lx-faq .faq-list details:first-child{ border-top: 0; }
.lx .lx-faq .faq-list summary{ padding: 18px 0; color: var(--navy); font-size: 17px; }
.lx .lx-faq .faq-list summary::after{ width: 22px; height: 22px; background-color: transparent; }
.lx .lx-faq .faq-list details[open] summary::after{ background-color: transparent; }
.lx .lx-faq .faq-a{ color: var(--ink-s); font-size: 15.5px; }

/* the other move types: the app's own chip for each */
.lx-ty{ display: flex; flex-direction: column; gap: 10px; min-height: 150px; padding: 20px 22px; color: var(--navy); transition: background-color .2s; }
.lx-ty:hover{ background: var(--oat); }
.lx-ty > span{ align-self: flex-start; padding: 4px 7px; border-radius: 6px; background: color-mix(in srgb, var(--c) 9%, #fff); color: var(--c); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 22%, #fff); font: 600 11.5px/1 var(--font-mono); }
.lx-ty b{ font: 600 18px/1.2 var(--font); letter-spacing: -.015em; }
.lx-ty small{ color: var(--ink-s); font-size: 14px; line-height: 1.4; }
.lx-ty .ico{ margin-top: auto; align-self: flex-end; width: 18px; height: 18px; color: var(--ink-s); transition: transform .3s var(--ease); }
.lx-ty:hover .ico{ transform: translateX(3px); }

/* ── narrower ── */
@media (max-width: 1099px){
  /* the days become rows: the date, what happens, its price */
  .lx-lead{ grid-column: 1 / 8; }
  .lx-job{ grid-column: 8 / 13; }
  .lx-d, .lx-n, .lx-s{ grid-column: 1 / -1; display: grid; align-items: center; column-gap: 18px; row-gap: 4px; padding: 14px 22px; }
  .lx-d{ grid-template-columns: 7.5em minmax(0, 1fr) auto 5.5em; grid-template-areas: "date name tag price" "date info tag price"; }
  .lx-d small{ grid-area: date; } .lx-d b{ grid-area: name; } .lx-d span{ grid-area: info; } .lx-d em{ grid-area: tag; align-self: center; }
  .lx-d strong, .lx-n strong{ grid-area: price; margin: 0; padding: 0; text-align: right; }
  .lx-n{ grid-template-columns: 7.5em minmax(0, 1fr) 5.5em; grid-template-areas: "icon text price"; padding-block: 10px; }
  .lx-n .ico{ grid-area: icon; } .lx-n small{ grid-area: text; }
  .lx-s{ grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "label total" "note total"; padding-block: 18px; }
  .lx-s small{ grid-area: label; } .lx-s span{ grid-area: note; } .lx-s strong{ grid-area: total; margin: 0; }
}
@media (max-width: 1080px){
  .lx-head{ grid-template-columns: minmax(0, 1fr); }
  .lx-c4{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lx-c2{ grid-template-columns: minmax(0, 1fr); }
  .lx .lx-faq{ grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 899px){
  .lx-lead, .lx-job{ grid-column: 1 / -1; }
}
@media (max-width: 720px){
  /* the owner's phone rule: 8px outside, 16px inside, nothing off the side */
  .lx .wrap.lx-edge{ width: calc(100% - 16px); }
  .lx-head{ padding-inline: 8px; }
  .lx-lead{ padding: 28px 16px; }
  .lx-hero h1{ font-size: clamp(38px, 11vw, 50px); }
  .lx-job{ padding: 18px 16px 20px; }
  .lx-d, .lx-n, .lx-s{ padding-inline: 16px; column-gap: 12px; }
  .lx-d{ grid-template-columns: 5.4em minmax(0, 1fr) auto; grid-template-areas: "date name price" "date info price" "date tag price"; }
  .lx-d em{ justify-self: start; }
  .lx-n{ grid-template-columns: 5.4em minmax(0, 1fr) auto; }
  .lx-c4{ grid-template-columns: minmax(0, 1fr); }
  .lx-f, .lx-ty{ padding: 18px 16px; }
  .lx-card-t, .lx-ptxt{ padding: 22px 16px; }
  .lx-vis{ min-height: 0; padding: 20px 12px; }
  .lx .lx-faq .faq-l, .lx .lx-faq .faq-list{ padding-inline: 16px; }
  .lx-list > div{ grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .lx-cal{ grid-template-columns: 44px repeat(3, minmax(0, 1fr)); }
  .lx-cal-h{ flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; padding: 0 7px; font-size: 11px; }
  .lx-cal{ grid-template-rows: 44px auto 46px; }
  .lx-cal-d{ padding-inline: 5px; }
  .lx-cal-j{ padding: 8px 7px; }
  .lx-cal-j i{ display: none; }
  .lx-cal-j em{ display: block; }
  .lx-cal-n{ left: calc(44px + (100% - 44px) * var(--at) / 3); width: calc((100% - 44px) / 3 * .8); }
  .lx-cal-n > span{ padding: 0 7px; font-size: 0; gap: 0; }
  .lx-cal-n svg{ width: 13px; height: 13px; }
}
@media (prefers-reduced-motion: reduce){
  .js .lx-trip *{ animation: none !important; }
}
