/* The partner sites' own styles, loaded after agents-styles.css (the agents landing's styles: header, footer,
   buttons, cards and titles come from there; the blocks here use its tokens). Made from the approved mockups'
   design/ab/ab.css (style B, owner 25.11.2026) without what only the mockups need: the page switcher (.abswitch),
   mark.guess, the mockup's login note (.mock-note) and the rules of style A; the html[data-v="b"] rules of style B are
   plain rules here. Style B sets the main heading and the big numbers in League Spartan, the font of the rentals
   deck. Where League Spartan has no letters (Cyrillic, Greek, the other scripts) they come from the page's own stack,
   --font, with the language's script font before Arial (spec §5.3; in English the stack is the mockups' one). Right to
   left (ar, he, fa, ps, ur): logical properties mirror the blocks, as on the agents landing; the photos and what stands
   on them (the map's labels, the White Label sign, the cards over the photos) are not mirrored (task 10). */
:root { --display: "League Spartan", var(--font); }
/* the colours of the five exits (owner, 25.11): 1–3 are one road, shades of red; 4 light blue; 5 dark blue */
:root { --x1: #e0162b; --x2: #e4521b; --x3: #991b1b; --x4: #4c8dd6; --x5: #1d305e; }

/* red pill, like «CASE STUDY · RENTALS» in the deck */
.pill { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 8px 16px; background: var(--red); color: #fff;
  font: 700 12.5px/1 var(--font); letter-spacing: .12em; text-transform: uppercase; }
.pill--glass { background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); }

/* ---------- header (owner 26.11): the map's seven menu items and the login on the exit pages ---------- */
/* the map's menu also has «For issuers» and «Questions». The items sit closer; below 1080 px the seven do not fit: no
   menu, as on a phone */
.header__nav--seven { gap: 32px; }
@media (max-width: 1240px) { .header__nav--seven { gap: 20px; } .header__nav--seven a { font-size: 14px; } }
@media (max-width: 1080px) { .header__nav--seven { display: none; } .header__nav--seven ~ .header__cta { margin-inline-start: auto; } }
/* the login of registered partners: on agents, affiliates and API a link to the dashboard, on White Label and issuers
   a button. It stands before the main button; on a narrow screen only «Log in» */
.header__login { flex: none; white-space: nowrap; font-size: 14px; color: var(--navy); text-decoration: none; margin-inline-end: -12px; }
.header__login b { color: var(--blue); font-weight: 700; transition: color .3s ease-in-out; }
.header__login:hover { color: var(--navy); }
.header__login:hover b { color: var(--red); }
.header__login-btn { flex: none; min-width: 0; padding: 10px 20px; margin-inline-end: -20px; }
@media (max-width: 1100px) { .header__login-q { display: none; } }
@media (max-width: 900px) { .header__login, .header__login-btn { margin-inline-start: auto; } }
@media (max-width: 600px) {
  .header__login { font-size: 13px; margin-inline-end: -2px; }
  .header__login-btn { padding: 10px 12px; font-size: 13px; margin-inline-end: -4px; }
}
/* the phone menu, a burger as on idaoffice.org (owner 26.11; the menu script builds its markup). It shows where the
   header menu is hidden: below 900 px on the exit pages, below 1080 px on the map */
.header__main { position: relative; }
.header__burger { display: none; flex: none; align-items: center; justify-content: center; width: 32px; height: 32px; padding: 0;
  margin-inline-start: -28px; border: 0; background: none; color: var(--red); cursor: pointer; }
.header__burger svg { width: 26px; height: 26px; }
.header__burger .i-close, .header__burger[aria-expanded="true"] .i-bars { display: none; }
.header__burger[aria-expanded="true"] .i-close { display: block; }
.header__burger:hover { color: var(--red-hover); }
.mnav { position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-top: 1px solid #e3e9f2;
  box-shadow: 0 14px 24px rgba(16, 27, 54, .12); }
.mnav[hidden] { display: none; }
.mnav ul { list-style: none; margin: 0; padding: 12px 0 16px; }
.mnav a { display: block; padding: 14px 20px; text-align: center; color: var(--blue); font-weight: 700; font-size: 16px;
  line-height: 1.4; text-transform: uppercase; text-decoration: none; }
.mnav a:hover { color: var(--red); }
@media (max-width: 1080px) { .header__nav--seven ~ .header__burger { display: inline-flex; } }
@media (max-width: 900px) { .header__burger { display: inline-flex; } }
@media (max-width: 600px) { .header__burger { margin-inline-start: -8px; } }
/* the language menu hangs from the top row, as wide as the row's content: agents-styles.css makes it 100vw - 32 px wide
   from the language button, and with a classic scrollbar (17 px) it ran past the window's edge below about 640 px */
.header__top-row { position: relative; }
.header__top-row .langs { position: static; }
.header__top-row .langs__menu { top: calc(50% + 20px); inset-inline-end: 20px; width: min(600px, calc(100% - 40px)); }
@media (max-width: 600px) { .header__top-row .langs__menu { inset-inline-end: 16px; width: calc(100% - 32px); } }
/* long translations (static/js/menu.js, fitHeader). The widths above are the mockups', for English; where a menu item
   would take two lines or the row would not hold its items, the header gets header--compact: the menu goes into the
   burger, as on a narrow screen, and the main button may take up to three lines (still inside the row). If even that
   does not fit, header--tight too: the login leaves the row for the burger's panel. The logo keeps its 40 px */
.header__logo { flex: none; }
.header--compact .header__nav { display: none; }
.header--compact .header__burger { display: inline-flex; }
.header--compact .header__login-q { display: none; }
.header--compact .header__nav + * { margin-inline-start: auto; } /* the login, or the main button where there is none */
.header--compact .header__cta { line-height: 16px; padding-block: 4px; }
@media (max-width: 600px) { .header--compact .header__cta { min-width: auto; } } /* no word broken in two */
.header--tight .header__login, .header--tight .header__login-btn { display: none; }
.header--tight .header__cta { margin-inline-start: auto; }
.mnav__login { display: none; margin: 0; padding: 4px 0 12px; border-top: 1px solid #e3e9f2; }
.header--tight .mnav__login { display: block; }

/* ---------- first screen: the text on the left, a real photo on the right, with a slanted edge ---------- */
.xhero { position: relative; background: var(--hero); overflow: hidden; }
/* on a wide screen the first screen grows with the width, so that the photo does not turn into a narrow strip */
.xhero__row { position: relative; z-index: 2; min-height: clamp(620px, 32vw, 820px); display: flex; align-items: center; }
.xhero__text { width: 48%; padding-block: 40px 56px; padding-inline: 0 30px; }
.xhero .tp-line { margin-bottom: 22px; font-size: 14px; gap: 6px 8px; }
.xhero .tp-line__count { font-size: 13px; }
.xhero .pill { margin-bottom: 22px; }
.xh1 { font-family: var(--display); font-weight: 800; font-size: 60px; line-height: .98; letter-spacing: -.005em; color: var(--navy); margin: 0 0 22px; text-wrap: balance; text-transform: uppercase; }
.xh1 em { font-style: normal; color: var(--red); }
.xhero .hero__lead { margin-bottom: 26px; }
.xhero__note { display: flex; gap: 10px; align-items: flex-start; margin: 22px 0 0; font-size: 13px; color: var(--muted); max-width: 520px; }
.xhero__note svg { width: 18px; height: 18px; flex: 0 0 18px; color: var(--navy); margin-top: 1px; }
/* on a very wide screen the photo's left edge does not go under the text */
.xhero__media { position: absolute; z-index: 1; top: 0; right: 0; bottom: 0; left: max(47%, calc(50% - 40px)); container-type: size; overflow: hidden;
  clip-path: polygon(13% 0, 100% 0, 100% 100%, 0 100%); background: #c9d3e2; }
/* right to left: the text on the right, the photo on the left, its slanted edge towards the text (from 900 px down the
   photo is under the text, as in English) */
@media (min-width: 901px) {
  [dir="rtl"] .xhero__media { right: max(47%, calc(50% - 40px)); left: 0; clip-path: polygon(0 0, 87% 0, 100% 100%, 0 100%); }
}
/* a stage with the photo's proportions covers the block. The map script places it so that the centre of the
   interchange is in the middle of the frame, and moves each label along its road into the frame when the photo's
   edge is cut off. Without the script the stage is simply centred. */
.stage { position: absolute; left: 50%; top: 50%; width: max(100cqw, calc(var(--ar, 1.5) * 100cqh)); aspect-ratio: var(--ar, 1.5); translate: -50% -50%;
  transform-origin: var(--hx, 50%) var(--hy, 50%); animation: drift 24s ease-in-out infinite alternate; }
.credit { position: absolute; right: 10px; bottom: 8px; z-index: 3; font-size: 11px; line-height: 1.3; color: #fff;
  background: rgba(16, 27, 54, .6); padding: 3px 8px; border-radius: 4px; }
.credit a { color: #fff; }
.stage > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* the only motion: a slow zoom towards the centre of the interchange (24 s there, 24 s back; owner 25.11: twice as fast
   as before) */
@keyframes drift { from { scale: 1; } to { scale: 1.05; } }
/* a label on a lane: the lane code in its exit's colour and the name. Without room only the code stays (is-compact),
   and the name is in the legend under the photo. In a frame below 650 px the five exits replace the twelve lanes. */
.pin { position: absolute; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 6px; padding: 3px; padding-inline-end: 11px;
  border-radius: 999px; background: #fff; color: var(--navy); font: 700 12.5px/1.15 var(--font); white-space: nowrap; text-decoration: none;
  box-shadow: 0 8px 22px rgba(16, 27, 54, .32); transition: transform .3s ease; }
.pin:hover { color: var(--navy); transform: translate(-50%, -50%) scale(1.04); }
/* the code's circle stands on the lane's point and the name runs to the right; --bx is the circle's middle, set by the
   map script */
.pin--start { transform: translate(calc(-1 * var(--bx, 14px)), -50%); transform-origin: var(--bx, 14px) 50%; }
.pin--start:hover { transform: translate(calc(-1 * var(--bx, 14px)), -50%) scale(1.04); }
.pin b { display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--c, var(--red)); color: #fff;
  font-size: 11px; letter-spacing: .02em; }
.pin.is-compact { padding: 3px; gap: 0; }
.pin.is-compact span { display: none; }
.pin.is-off { display: none; } /* not even its code has room on its road in the frame: the legend names it (hub.js) */
.pin--exit { display: none; padding: 3px; }
.pin--exit span { display: none; }
@container (max-width: 649px) {
  .pin--lane { display: none; }
  .pin--exit { display: inline-flex; }
}
.hubpin { position: absolute; left: 49.9%; top: 49.4%; width: 10.5%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: #fff;
  display: grid; place-items: center; box-shadow: 0 0 0 4px rgba(255, 255, 255, .55), 0 10px 26px rgba(16, 27, 54, .35); }
.hubpin img { width: 82%; height: auto; }
/* the legend under the photo: on a phone, and when the labels on the photo are cut down to their codes */
.xlegend { display: none; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 8px 28px; margin: 16px auto 0; padding: 0; list-style: none;
  font-size: 14px; font-weight: 500; color: var(--navy); }
.xlegend.is-on { display: grid; }
.xlegend li { display: flex; align-items: flex-start; gap: 8px; }
.xlegend b { display: grid; place-items: center; width: 24px; height: 24px; flex: none; border-radius: 50%; background: var(--c); color: #fff; font-size: 12px; }
.xlegend span { padding-top: 2px; }

/* the highway sign (White Label): live text over the sign in the photo, in % of the photo. Each line is fitted into
   its frame on the sign (static/js/sign.js). Overpass has Latin letters only: a translation's other letters come from
   the page's stack (Roboto, the script font), not from the template's Arial (English keeps the mockup's stack) */
.hwsign { position: absolute; overflow: visible; pointer-events: none; }
:root:not([lang="en"]) .hwsign g { font-family: "Overpass", var(--font); }

/* ---------- the five ways in: cards like the agents' case studies (photo with a slanted bottom edge) ---------- */
.doors .case__img { height: 230px; }
.doors .case__meta { margin-top: 4px; }
.doors h3 { font-size: 23px; line-height: 1.3; margin: 14px 0 10px; }
.doors .case__body > p { font-size: 15px; }
.doors .pill { position: absolute; top: 16px; inset-inline-start: 16px; padding: 7px 13px; font-size: 12px; box-shadow: 0 6px 16px rgba(16, 27, 54, .25); }
.doors .case { position: relative; }
/* exits 1–3 are one road: one partner account, the ways work together */
.doorgroup { margin-bottom: 24px; padding: 18px; border-radius: calc(var(--radius) + 6px); background: rgba(224, 22, 43, .05); box-shadow: inset 0 0 0 1px rgba(224, 22, 43, .18); }
.doorgroup__head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 0 0 16px; font-size: 15.5px; color: var(--navy); }
.doorgroup__head .pill { padding: 7px 13px; font-size: 12px; }
.doors--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.doors--3 h3 { font-size: 21px; }
/* lane codes on the cards, like the labels on the photo */
.lanes { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 0; padding: 0; list-style: none; }
.lanes li { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; color: var(--navy); background: var(--card); border-radius: 999px; padding: 3px; padding-inline-end: 10px; }
.lanes b { display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--c, var(--red)); color: #fff; font-size: 11px; }

/* ---------- who does what: a real table in a white card ---------- */
.xtable-wrap { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow-x: auto; }
.xtable { width: 100%; min-width: 980px; border-collapse: separate; border-spacing: 0; font-size: 14px; }
.xtable caption { text-align: start; padding: 18px 22px 8px; font-size: 13px; color: var(--muted); }
.xtable th, .xtable td { padding: 12px 12px; text-align: start; vertical-align: top; border-bottom: 1px solid #e3e9f2; }
.xtable thead th { background: var(--card); font-size: 14.5px; }
.xtable thead th b { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; margin-inline-end: 6px; border-radius: 999px;
  background: var(--c); color: #fff; font-size: 11px; letter-spacing: .02em; vertical-align: 1px; }
.xtable .rh { position: sticky; inset-inline-start: 0; z-index: 1; background: var(--white); font-weight: 700; min-width: 150px; }
.xtable thead .rh { background: var(--card); }
.xtable td small { display: block; margin-top: 6px; color: var(--muted); font-size: 12.5px; line-height: 1.35; }
.xtable tr.earn td { background: #fbfcfe; font-size: 13px; }
.chip { display: inline-flex; align-items: center; font: 700 11px/1 var(--font); letter-spacing: .06em; text-transform: uppercase; padding: 6px 9px; border-radius: 999px; white-space: nowrap; }
.chip.i { background: var(--navy); color: #fff; }
.chip.p { background: #fff; color: var(--red); box-shadow: inset 0 0 0 1.5px var(--red); }
.chip.c { background: #eef4fc; color: var(--blue); border: 1.5px dashed var(--blue); padding: 4.5px 7.5px; }
.duo { display: inline-flex; gap: 3px; }

/* «Route / Table», as in the «metro» design. The table is the default. The way buttons serve the route, and on a
   phone the table too: there it shows one way */
.roles__bar { display: flex; justify-content: center; margin: -12px 0 22px; }
.seg { display: inline-flex; padding: 4px; background: var(--white); border-radius: 999px; box-shadow: var(--shadow); }
.seg button { font: 700 13px/1 var(--font); letter-spacing: .08em; text-transform: uppercase; border: 0; background: none; color: var(--muted);
  padding: 12px 22px; border-radius: 999px; cursor: pointer; }
.seg button:hover { color: var(--navy); }
.seg button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.models { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 0 18px; }
.roles[data-view="table"] .models { display: none; }
.models button { display: inline-flex; align-items: center; gap: 6px; padding: 3px; padding-inline-end: 12px; border: 0; border-radius: 999px; background: var(--white);
  color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--line-strong); font: 500 14px/1.2 var(--font); cursor: pointer; }
.models button b { display: grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 999px; background: var(--c); color: #fff;
  font-size: 11px; letter-spacing: .02em; flex: none; } /* a long name wraps, not the lane code («5-/2», fi at 360 px) */
.models button[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--c), var(--shadow); font-weight: 700; }
.route-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 18px 4px; }
.route-svg { display: block; width: 100%; height: auto; }
.route-svg text { font-family: var(--font); }
.route-svg .path { fill: none; stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; }
.route-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 1px dashed var(--line); }
.route-list li { min-width: 0; padding: 12px 10px 14px; border-inline-end: 1px dashed var(--line); font-size: 13.5px; line-height: 1.4; color: #33405f; }
.route-list li:last-child { border-inline-end: 0; }
.route-list b { display: block; margin-bottom: 8px; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.route-list .chip, .route-list .duo { margin-bottom: 6px; }

/* the model finder: three answers name one way (from the «metro» design) */
.finder { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1.2fr); gap: 14px; align-items: center; }
.finder__q { display: flex; flex-direction: column; gap: 16px; min-width: 0; padding: 20px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); }
/* the question takes two lines in all three cards, so that the cards are the same height */
.finder__q label { min-height: 5.3em; font-size: 15px; font-weight: 700; line-height: 1.35; color: var(--navy); }
.finder__q label span { display: block; margin-bottom: 8px; font-family: var(--display); font-weight: 800; font-size: 30px; line-height: 1; color: var(--red); }
.finder__q select { appearance: none; -webkit-appearance: none; display: block; width: 100%; min-width: 0; min-height: 46px; padding: 10px 12px; padding-inline-end: 36px;
  border: 1px solid var(--line-strong); border-radius: var(--radius-btn); font: 500 15px/1.3 var(--font); color: var(--navy); cursor: pointer; contain: paint;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231d305e' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 12px center; }
[dir="rtl"] .finder__q select { background-position: left 12px center; }
.finder__q select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 111, 224, .15); }
.finder__op { align-self: center; font-family: var(--display); font-weight: 800; font-size: 40px; line-height: 1; color: #a9b7cf; }
.finder__res { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; min-width: 0; padding: 22px; color: #fff; background: var(--navy);
  border-radius: var(--radius); box-shadow: var(--shadow); }
.finder__k { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #b9c6e4; }
.finder__tag { display: inline-flex; align-items: center; gap: 6px; padding: 3px; padding-inline-end: 11px; border-radius: 999px; background: #fff; color: var(--navy);
  font-size: 12.5px; font-weight: 700; }
.finder__tag b { display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--c); color: #fff; font-size: 11px; }
.finder__name { font-family: var(--display); font-weight: 800; font-size: 34px; line-height: 1.05; }
.finder__res > * { max-width: 100%; } /* a translation's long word breaks inside the answer, not past it */
.finder__res p { margin: 0; font-size: 14.5px; color: #d4dcf0; }
.finder__go { margin-top: auto; color: #fff; font-weight: 700; text-decoration: none; }
.finder__go:hover { color: #ffb4bd; text-decoration: underline; text-underline-offset: 3px; }

/* the blueprint grid of the «metro» design, only under the tools (the finder and who does what), its edges fading.
   Owner 25.11: keep the grid under the tools */
.tools { position: relative; background: var(--page); }
.tools > * { position: relative; }
.tools > .section--white { background: transparent; }
.tools::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-size: 24px 24px;
  background-image: linear-gradient(#d9e2ee 1px, transparent 1px), linear-gradient(90deg, #d9e2ee 1px, transparent 1px);
  -webkit-mask-image: linear-gradient(transparent, #000 120px, #000 calc(100% - 120px), transparent); mask-image: linear-gradient(transparent, #000 120px, #000 calc(100% - 120px), transparent); }

/* ---------- the ladder: bars, as on the deck's slide «More orders, higher rate» ---------- */
.ladder-card { padding: 56px 48px 32px; }
.ladder { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 14px; align-items: end; height: 300px; margin: 10px 0 0; padding: 0; list-style: none; position: relative; }
.ladder li { display: flex; flex-direction: column; justify-content: flex-end; height: 100%; position: relative; }
.bar { height: var(--h); background: var(--navy); border-radius: 6px 6px 0 0; display: flex; justify-content: center; padding-top: 14px; }
.bar__v { font-family: var(--display); font-weight: 800; font-size: 25px; line-height: 1; color: #fff; }
.ladder li.top .bar { background: var(--red); }
.ladder__x { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 14px; margin: 10px 0 0; padding: 0; list-style: none; text-align: center; font-size: 13.5px; color: var(--muted); }
.ladder__flag { position: absolute; inset-inline-end: 0; top: -6px; transform: translateY(-100%); background: var(--navy); color: #fff; border-radius: 999px; padding: 9px 16px;
  font: 700 12.5px/1 var(--font); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.ladder__flag::after { content: ""; position: absolute; inset-inline-end: 48px; top: 100%; height: 22px; border-inline-start: 2px dashed var(--red); }
.ladder-note { margin: 18px 0 0; font-size: 14.5px; color: var(--muted); }
/* the map: the agents' and affiliates' ladder beside the fixed rates of API and White Label */
.ladder--cmp, .ladder__x--cmp { grid-template-columns: repeat(9, minmax(0, 1fr)) 12px repeat(2, minmax(0, 1fr)); }
.ladder--cmp li.gap { border-inline-start: 2px dashed var(--line-strong); margin-inline-start: 4px; }
.ladder--cmp li.api .bar { background: var(--x3); }
.ladder--cmp li.wl .bar { background: var(--x4); }
.ladder__x--cmp li.lab { font-weight: 700; color: var(--navy); line-height: 1.2; }
.ladder__x--cmp li.lab small { display: block; font-weight: 500; font-size: 12px; color: var(--muted); }

/* ---------- results: a mosaic of photos and figures, as on the slide «What eight months produced» ---------- */
.mosaic { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 220px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
/* a row grows with a figure's text where that needs more than 220 px (fix round 1): in a translation, and in English
   below 1240 px, where the mosaic is narrower than the mockups' 1160 px (from 1240 px up English fits as there; its
   «555 orders» reaches only into its cell's padding, and a growing row would move the page). On a phone the rows take
   their content's height */
@media (min-width: 601px) { :root:not([lang="en"]) .mosaic { grid-auto-rows: minmax(220px, auto); } }
@media (min-width: 601px) and (max-width: 1239px) { .mosaic { grid-auto-rows: minmax(220px, auto); } }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }
.mos { background: var(--white); border-inline-start: 6px solid var(--red); padding: 26px 26px 22px; display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.mos b { font-family: var(--display); font-weight: 800; font-size: 60px; line-height: 1; color: var(--navy); }
.mos b small { font: 500 19px/1 var(--font); color: var(--red); margin-inline-start: 6px; }
/* «264» and its unit have no space between them: where both do not fit on one line, the unit goes to the next line
   whole (a zero-width space allows the break) instead of breaking inside its word («documen/ts», English at 1024 px) */
.mos b small::before { content: "\200B"; }
.mos span { display: block; margin-top: 12px; font-size: 14px; color: #33405f; line-height: 1.45; }
.mos em { display: block; margin-top: 8px; font-style: normal; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--red); }

/* the big numbers of the facts strip: the display font too. A caption beside its number keeps at least 88 px (the
   narrowest in the English mockups is 93, at 1360 px); with less room it goes under the number, as on a phone (at
   901–1100 px «30 days» left it 20 px). A number wider than its box gets a smaller font (static/js/facts.js) */
.fact b { font-family: var(--display); font-weight: 800; font-size: 40px; }
.fact { flex-wrap: wrap; row-gap: 6px; }
@media (min-width: 601px) { .fact span { flex: 1 1 88px; max-width: max-content; } }

/* ---------- the issuers' strip: calm and dark, a photo of road infrastructure ---------- */
.xissuers { position: relative; color: #fff; background: var(--navy); overflow: hidden; }
.xissuers__bg { position: absolute; inset: 0; }
.xissuers__bg img { width: 100%; height: 100%; object-fit: cover; }
.xissuers__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(29, 48, 94, .97) 0%, rgba(29, 48, 94, .9) 55%, rgba(29, 48, 94, .72) 100%); }
[dir="rtl"] .xissuers__bg::after { background: linear-gradient(270deg, rgba(29, 48, 94, .97) 0%, rgba(29, 48, 94, .9) 55%, rgba(29, 48, 94, .72) 100%); }
.xissuers .container { position: relative; }
.xissuers h2 { color: #fff; font-size: 34px; line-height: 1.25; max-width: 780px; margin: 18px 0 14px; }
.xissuers .lead { color: #d4dcf0; font-size: 17px; max-width: 720px; }
.icards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 34px 0 26px; }
.icards article { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .18); border-radius: var(--radius); padding: 22px 24px; backdrop-filter: blur(2px); }
.icards h3 { color: #fff; font-size: 20px; margin: 12px 0 8px; }
.icards p { margin: 0; font-size: 15px; color: #d4dcf0; }
.icards .tag { display: inline-block; font: 700 11px/1 var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--navy); background: #fff; border-radius: 999px; padding: 6px 10px; }
.notissue { font-size: 14px; color: #c9d3ea; margin: 0 0 24px; }

/* ---------- questions ---------- */
.xfaq { max-width: 860px; margin: 0 auto; }
.xfaq details { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 12px; }
.xfaq summary { cursor: pointer; list-style: none; padding: 18px 22px; font-weight: 700; font-size: 17px; display: flex; justify-content: space-between; gap: 14px; }
.xfaq summary::-webkit-details-marker { display: none; }
.xfaq summary::after { content: "+"; color: var(--red); font-size: 22px; line-height: 1; }
.xfaq details[open] summary::after { content: "−"; }
.xfaq details p { margin: 0; padding: 0 22px 18px; color: #33405f; }
/* questions by topic: tabs on the left, as in the «metro» design; on a phone a row of tabs above the questions */
.xfaq--tabs { max-width: 1040px; display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 28px; align-items: start; }
.xfaq__cats { position: sticky; top: 140px; display: flex; flex-direction: column; gap: 6px; }
.xfaq__cats button { position: relative; text-align: start; font: 700 15px/1.2 var(--font); color: var(--blue); background: none; border: 0;
  border-radius: var(--radius); padding: 15px 18px; cursor: pointer; }
.xfaq__cats button:hover { color: var(--red); }
.xfaq__cats button[aria-selected="true"] { background: var(--white); color: var(--navy); box-shadow: var(--shadow); }
.xfaq__cats button[aria-selected="true"]::before { content: ""; position: absolute; inset-block: 10px; inset-inline-start: 0; width: 4px; border-radius: 0;
  border-start-end-radius: 4px; border-end-end-radius: 4px; background: var(--red); }

/* ---------- scrolling (owner 25.11): the rate ladder grows, the five exits' cards light up in turn ---------- */
/* the ladder gathers speed: the script gives each bar a --g from 0 to 1, the bar grows, its figure rides on its top */
.ladder.is-grow .bar { height: calc(var(--h) * var(--g, 1)); padding-top: 0; overflow: hidden; }
.ladder.is-grow .bar__v { margin-top: 14px; }
.ladder.is-grow li.is-zero .bar { visibility: hidden; }
/* the five exits: the card that has reached its point on the screen (--a = 1) has its photo in full colour, a thin
   translucent border in its exit's colour, and is a little larger (by 2 %) and a little raised; the others' photos
   are slightly muted. The text never fades. The script sets --a. Owner 25.11: «make the card effect softer» (it was
   4 %, a 3 px border and stronger muting) */
#ways.is-lights .case { transform: scale(calc(1 + .02 * var(--a, 0)));
  box-shadow: 0 0 0 calc(2px * var(--a, 0)) color-mix(in srgb, var(--c) 55%, transparent),
    0 calc(2px + 8px * var(--a, 0)) calc(24px + 12px * var(--a, 0)) rgba(16, 27, 54, calc(.07 + .07 * var(--a, 0))); }
#ways.is-lights .case.is-on { z-index: 1; }
#ways.is-lights .case__img { filter: saturate(calc(.72 + .28 * var(--a, 0))); }

@media (max-width: 600px) {
  .ladder.is-grow .bar { height: 32px; width: calc((100% - 72px) * var(--w) * var(--g, 1)); padding: 0; }
  .ladder.is-grow .bar__v { margin: 0; margin-inline-end: 10px; }
}

@media (prefers-reduced-motion: reduce) { .stage { animation: none; } }

@media (max-width: 1100px) {
  .xh1 { font-size: 50px; }
  /* the finder: the three questions in a row, the answer on the line below */
  .finder { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr); }
  .finder__op--eq { grid-column: 1 / -1; justify-self: center; }
  .finder__res { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .xhero__row { min-height: 0; display: block; }
  .xhero__text { width: auto; padding: 32px 0 26px; }
  .xhero__media { position: relative; left: auto; width: 100%; height: auto; aspect-ratio: 4 / 3; clip-path: none; }
  .doors--3 { grid-template-columns: 1fr; }
  .icards { grid-template-columns: 1fr; }
  .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ladder, .ladder__x { gap: 6px; }
  .ladder { height: 260px; }
  .bar__v { font-size: 17px; }
  /* the finder: the questions one under another */
  .finder { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .finder__q label { min-height: 0; }
  .finder__op { justify-self: center; font-size: 30px; }
  /* the route: the drawing gets too small, the list of steps stays, three in a row */
  .route-svg { display: none; }
  .route-card { padding-top: 4px; }
  .route-list { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 0; border-top: 0; }
  .route-list li:nth-child(3n) { border-inline-end: 0; }
  .route-list li:nth-child(-n+3) { border-bottom: 1px dashed var(--line); }
}
@media (max-width: 600px) {
  .xh1 { font-size: 38px; }
  .xlegend { display: grid; grid-template-columns: 1fr; }
  .doorgroup { padding: 12px; }
  .doors .case__img { height: 190px; }
  /* the mosaic: one column, each photo above its figure */
  .mosaic { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .mosaic img { height: 180px; }
  .mosaic > :nth-child(1) { order: 1; } .mosaic > :nth-child(2) { order: 2; } .mosaic > :nth-child(3) { order: 3; } .mosaic > :nth-child(4) { order: 4; }
  .mosaic > :nth-child(5) { order: 6; } .mosaic > :nth-child(6) { order: 5; } .mosaic > :nth-child(7) { order: 8; } .mosaic > :nth-child(8) { order: 7; }
  .mos { padding: 18px 20px 20px; }
  .mos b { font-size: 46px; }
  /* the ladder: horizontal bars, the range on the left */
  .ladder-card { padding: 22px 16px 18px; }
  .ladder { height: auto; grid-template-columns: 1fr; gap: 6px; margin: 0; }
  .ladder li { flex-direction: row; flex-wrap: wrap; justify-content: flex-start; align-items: center; height: auto; gap: 0 10px; }
  .ladder li::before { content: attr(data-r); flex: 0 0 62px; font-size: 12.5px; color: var(--muted); text-align: end; }
  .bar { height: 32px; width: calc((100% - 72px) * var(--w)); padding: 0 10px; justify-content: flex-end; align-items: center;
    border-radius: 0; border-start-end-radius: 6px; border-end-end-radius: 6px; }
  .bar__v { font-size: 16px; }
  .ladder__x { display: none; }
  /* the flag under the bars: a translation longer than the row wraps inside it */
  .ladder li.top .ladder__flag { position: static; order: 3; flex: 0 1 auto; max-width: calc(100% - 72px); margin: 8px 0 0; margin-inline-start: 72px;
    font-size: 11px; padding: 7px 11px; white-space: normal; }
  /* the flag always on its own line: otherwise it stands beside the bar while the bar grows, then jumps down */
  .ladder li.top::after { content: ""; order: 2; flex: 0 0 100%; height: 0; }
  .ladder__flag::after { display: none; }
  .ladder--cmp li.gap { border-inline-start: 0; border-top: 2px dashed var(--line-strong); margin: 8px 0; height: 0; }
  .ladder--cmp li.gap::before { display: none; }
  .xissuers h2 { font-size: 26px; }
  /* the table shrinks to one way: the step and the chosen way; chosen with the same buttons as the route */
  .roles[data-view="table"] .models { display: flex; }
  .models { justify-content: flex-start; gap: 6px; }
  .models button { font-size: 13.5px; }
  .xtable { min-width: 0; }
  .xtable .off { display: none; }
  .xtable .rh { min-width: 0; width: 34%; }
  .xtable caption { padding: 14px 14px 6px; }
  .xtable th, .xtable td { padding: 11px 10px; }
  .route-list { grid-template-columns: minmax(0, 1fr); }
  .route-list li { border-inline-end: 0; border-bottom: 1px dashed var(--line); }
  .route-list li:last-child { border-bottom: 0; }
  .seg button { padding: 11px 18px; }
  /* questions: the tabs in a row above the questions */
  .xfaq--tabs { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .xfaq__cats { position: static; flex-direction: row; overflow-x: auto; padding: 2px 2px 8px; }
  .xfaq__cats button { white-space: nowrap; padding: 12px 14px; }
  .xfaq__cats button[aria-selected="true"]::before { inset-block: auto 0; inset-inline: 10px; width: auto; height: 3px; border-radius: 3px 3px 0 0; }
}

/* ==========================================================================
   The exit pages (agents, affiliates, API, White Label, issuers), style B — 25.11.2026
   ========================================================================== */
.steps__n, .case__num { font-family: var(--display); font-weight: 800; }
.case__num small { font-family: var(--font); }
.pill--navy { background: var(--navy); }

/* first screen: a photo with white interface cards over it, as in the deck. The zoom takes 24 s, as on the map (owner
   25.11: twice as fast) */
.lhero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: drift2 24s ease-in-out infinite alternate; }
@keyframes drift2 { from { transform: scale(1); } to { transform: scale(1.05) translate(-1%, -.5%); } }
.float { position: absolute; z-index: 2; background: #fff; color: var(--navy); border-radius: 14px; padding: 16px 18px; box-shadow: 0 18px 44px rgba(16, 27, 54, .3); max-width: 290px; }
.float__k { display: block; font: 700 11.5px/1.2 var(--font); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.float b { display: block; font-size: 17px; line-height: 1.3; }
.float p { margin: 4px 0 0; font-size: 13.5px; line-height: 1.4; color: #33405f; }
.float__tag { position: absolute; top: -14px; inset-inline-start: 16px; }
/* the cards stand where the mockups put them on the photo (the photo is not mirrored). White Label's brand card sits in
   the corner that the photo's slanted edge cuts in a right-to-left page: there it takes the mirrored corner. A card
   the photo cannot hold whole (a long translation on a phone) is left out (static/js/cards.js) */
.float--brand { right: 5%; top: 8%; }
@media (min-width: 901px) { [dir="rtl"] .float--brand { right: auto; left: 5%; } }
.float.is-off { display: none; }
.float--note { display: flex; gap: 12px; align-items: center; }
.float--note img { width: 44px; height: 44px; flex: none; border-radius: 10px; box-shadow: 0 0 0 1px var(--line); }
.float .rows { list-style: none; margin: 8px 0 0; padding: 0; }
.float .rows li { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-top: 1px solid #e3e9f2; font-size: 14px; font-weight: 500; }
.float .rows svg { width: 18px; height: 18px; flex: none; color: var(--red); }
.qrbox { width: 96px; height: 96px; margin: 10px auto 6px; display: block; }
.sample { display: inline-block; font: 700 10px/1 var(--font); letter-spacing: .1em; color: #6b5300; background: #fff1b8; border: 1px solid #f2b705; border-radius: 4px; padding: 3px 6px; vertical-align: middle; }
/* code reads left to right on right-to-left pages too (its brackets and slashes would move); so do the API's calls */
.code { background: #0f1c3d; color: #d6e2ff; border-radius: 12px; padding: 14px 16px; font: 400 12.5px/1.7 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; overflow-x: auto; white-space: pre;
  direction: ltr; text-align: left; }
.apisteps code, .float__k[data-i18n="no"] { direction: ltr; unicode-bidi: isolate; }
.code .m { color: #8fd0ff; font-weight: 700; } .code .c { color: #7f8db3; } .code .k { color: #ffb4bd; } .code .s { color: #ffd38a; }

/* two ways: cards with a coloured bar on top */
.duo2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.duo2 > *, .grid3x > * { min-width: 0; }
.way { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 32px 36px; border-top: 5px solid var(--c, var(--red)); }
.way .pill { margin-bottom: 14px; }
.way h3 { font-size: 24px; line-height: 1.25; margin: 0 0 14px; }
.way .ticks { margin-bottom: 0; }
.way > p { margin: 0; font-size: 15.5px; color: #33405f; }
.model .terms { margin-top: auto; padding-top: 10px; border-top: 1px solid #e3e9f2; font-size: 14px; }
/* the issuers' model cards: a long chip wraps, clear of the lane code in the card's corner */
.model .chip { white-space: normal; max-width: calc(100% - 40px); }
.grid3x { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }

/* the API steps: the method and what it does */
.apisteps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.apisteps li { counter-increment: s; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 4px 16px; padding: 16px 0; border-bottom: 1px solid #e3e9f2; }
.apisteps li::before { content: counter(s); grid-row: span 2; font-family: var(--display); font-weight: 800; font-size: 44px; line-height: .9; color: var(--red); }
.apisteps code { font: 700 14.5px/1.3 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--navy); }
.apisteps code b { display: inline-block; font: 700 11px/1 var(--font); letter-spacing: .06em; color: #fff; background: var(--blue); border-radius: 4px; padding: 4px 6px 3px; margin-inline-end: 8px; vertical-align: 1px; }
.apisteps code b.get { background: #13804a; }
.apisteps p { margin: 0; font-size: 15px; color: #33405f; }
.api-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); gap: 40px; align-items: start; }
.api-grid > * { min-width: 0; }

/* the API price: one big figure */
.bignum { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 32px; align-items: center; }
.bignum > b { font-family: var(--display); font-weight: 800; font-size: 120px; line-height: .85; color: var(--red); letter-spacing: -.02em; }
.bignum h3 { font-size: 24px; margin: 0 0 8px; }
.bignum .ex { display: inline-flex; align-items: baseline; gap: 10px; margin-top: 10px; font-size: 15px; color: var(--muted); }
.bignum .ex s { color: #8a97b3; } .bignum .ex strong { font-family: var(--display); font-size: 30px; color: var(--navy); }

/* the White Label card */
.wlcard { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--white); box-shadow: var(--shadow); }
.wlcard__bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: var(--card); border-bottom: 1px solid var(--line); font: 500 12px/1 ui-monospace, Menlo, monospace; color: var(--muted); }
.wlcard__bar i { width: 9px; height: 9px; border-radius: 50%; background: #c8d2e3; }
.wlcard__bar span { margin-inline-start: 8px; background: #fff; border-radius: 6px; padding: 6px 10px; flex: 1; }
.wlcard__brand { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: #2b2d42; color: #fff; font-weight: 700; letter-spacing: .06em; }
.wlcard__brand i { width: 26px; height: 26px; border-radius: 6px; background: linear-gradient(135deg, #ffb703, #fb8500); }
.wlcard__doc { padding: 18px; display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.wlcard__doc b { display: block; font-size: 18px; }
.wlcard__ok { font: 700 12px/1 var(--font); color: #13804a; background: #e2f5ea; border-radius: 999px; padding: 8px 12px; white-space: nowrap; }

/* the SaaS modules, the register's timeline, the articles */
.mods { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.mod { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; border-top: 4px solid var(--blue); min-width: 0; }
.mod.ext { border-top-color: #a9b7cf; }
.mod h3 { font-size: 17px; line-height: 1.3; margin: 0 0 6px; }
.mod p { margin: 0; font-size: 14px; color: #33405f; }
.tl { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.tl li { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; border-inline-start: 6px solid var(--red); min-width: 0; }
.tl b { display: block; font-family: var(--display); font-weight: 800; font-size: 26px; line-height: 1.1; }
.tl span { display: block; margin: 6px 0; font: 700 12px/1.2 var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
.tl p { margin: 0; font-size: 14px; color: #33405f; }
.arts { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.arts li { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px 18px; font-size: 15px; color: #33405f; min-width: 0; }
.arts b { display: block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); margin-bottom: 6px; }
.arts b span { color: var(--red); margin-inline-start: 6px; text-transform: none; }

/* the application forms of API, White Label and issuers: the agents' form (agents-styles.css); the issuers' form also
   has the models' checkboxes */
.form-card .form-checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; min-width: 0; margin: 0 0 10px; padding: 0; border: 0; }
.form-card .form-checks legend { padding: 0; margin-bottom: 8px; font-size: 13px; font-weight: 500; }
.form-card .form-checks .check { margin-bottom: 8px; }
.form-card .form-checks b { display: inline-grid; place-items: center; min-width: 26px; height: 20px; padding: 0 5px; margin-inline-end: 6px; border-radius: 999px;
  background: var(--x5); color: #fff; font-size: 10.5px; letter-spacing: .02em; vertical-align: 1px; }

/* a call-to-action strip at the end of a page */
.band { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 36px 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.band h2 { color: #fff; margin: 0 0 6px; font-size: 28px; line-height: 1.25; }
.band p { margin: 0; color: #d4dcf0; }

/* «Other ways to work with IDA»: a block of all six pages */
.others { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.other { display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; text-decoration: none; color: var(--navy); transition: transform .25s ease; min-width: 0; }
.other:hover { transform: translateY(-3px); color: var(--navy); }
.other img { width: 100%; height: 120px; object-fit: cover; clip-path: polygon(0 0, 100% 0, 100% 80%, 0 100%); }
.other span { padding: 6px 16px 0; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
.other b { padding: 6px 16px 18px; font-size: 15px; line-height: 1.35; }
.other--map { background: var(--navy); color: #fff; }
.other--map:hover { color: #fff; }
.other--map span { color: #ffb4bd; }

/* the API and White Label prices: a big figure and the table «retail price → your price» */
.pricecard { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px; align-items: start; padding: 40px 44px; }
.pricecard > * { min-width: 0; }
.pricecard .bignum { grid-template-columns: 1fr; gap: 14px; align-items: start; }
.pricecard .bignum h3 { font-size: 22px; }
.pricecard .bignum p { margin: 0 0 10px; color: #33405f; font-size: 15.5px; }
.ptable { width: 100%; border-collapse: collapse; font-size: 15px; }
.ptable caption { text-align: start; font-size: 13px; color: var(--muted); padding: 0 0 8px; }
.ptable th, .ptable td { padding: 12px 10px; border-bottom: 1px solid #e3e9f2; text-align: start; vertical-align: middle; }
.ptable thead th { font-size: 13px; color: var(--muted); font-weight: 700; letter-spacing: .02em; }
.ptable .num { text-align: end; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ptable thead th.num { white-space: normal; }
.ptable tbody th { white-space: nowrap; }
/* a translation's long words: the table keeps to its card (a row head may wrap, a word longer than its column
   breaks). English keeps the mockups' table: on a phone it has no room to spare, and these rules would move its
   columns */
:root:not([lang="en"]) .ptable tbody th { white-space: normal; }
:root:not([lang="en"]) .ptable th, :root:not([lang="en"]) .ptable td { overflow-wrap: anywhere; }
.ptable s { color: #8a97b3; margin-inline-end: 6px; }
.ptable strong { font-family: var(--display); font-weight: 800; font-size: 20px; color: var(--navy); }
.pricenote { margin: 14px 0 0; font-size: 13.5px; color: var(--muted); }
.figcap { margin: 10px 0 0; font-size: 13.5px; color: var(--muted); }
.ticks--2col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; }
.ticks--2col li { align-items: flex-start; }
.ticks--2col li svg { margin-top: 2px; }

@media (prefers-reduced-motion: reduce) { .lhero-img { animation: none; } }
@media (max-width: 1100px) {
  .others { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .other--map { grid-column: 1 / -1; }
  .pricecard { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 900px) {
  .duo2, .grid3x, .api-grid { grid-template-columns: 1fr; }
  .mods { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tl, .arts { grid-template-columns: 1fr; }
  .ticks--2col { grid-template-columns: 1fr; }
  .float { max-width: 240px; padding: 12px 14px; }
  .float b { font-size: 15px; }
}
@media (max-width: 600px) {
  .form-card .form-checks { grid-template-columns: minmax(0, 1fr); }
  .way { padding: 24px 20px; }
  .bignum { grid-template-columns: 1fr; gap: 12px; }
  .bignum > b { font-size: 84px; }
  .mods, .others { grid-template-columns: 1fr; }
  .band { padding: 26px 20px; }
  .pricecard { padding: 24px 18px; }
  .ptable { font-size: 13.5px; }
  .ptable th, .ptable td { padding: 10px 6px; }
  .ptable thead th { font-size: 12px; }
  .ptable s { display: block; margin: 0 0 2px; }
  .ptable strong { font-size: 17px; }
  .float { max-width: 200px; padding: 10px 12px; border-radius: 10px; }
  .float p { font-size: 12px; }
  .float--hide-sm { display: none; }
  .qrbox { width: 64px; height: 64px; }
}
