/*
 * Dedicated product pages: OOS Ride and OOS Auto Cab.
 * One layout system, two products, both dark. Each product sets its own accent.
 *   .pl-ride   near black, white text, one green accent
 *   .pl-cab    graphite, with the champagne gold of the car for rules and small marks
 */

.pl {
  --pl-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --pl-mono: "JetBrains Mono", ui-monospace, monospace;
  --pl-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --pl-top: 116px;
  font-family: var(--pl-font);
  font-feature-settings: "cv11", "ss03";
  background: var(--bg);
  color: var(--text);
  flex: 1 0 auto;
  width: 100%;
  overflow-x: clip;
}

.pl-ride,
.pl-cab {
  --bg: #0c0c0e;
  --bg-tint: #111114;
  --surface: #16161a;
  --surface-2: #212127;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.17);
  --text: #ffffff;
  --text-2: rgba(255, 255, 255, 0.68);
  --text-3: rgba(255, 255, 255, 0.5);
  --btn: #ffffff;
  --btn-text: #0c0c0e;
  --btn-hover: #e4e4e7;
  --screen: #16161a;
  --screen-line: rgba(255, 255, 255, 0.08);
  --frame-rule: rgba(255, 255, 255, 0.2);
  color-scheme: dark;
}

.pl-ride {
  --accent: #12b76a;
  --mark: #12b76a;
}

.pl-cab {
  --gold: #c9b184;
  --gold-2: #bea577;
  --gold-3: #d3bd8f;
  --mark: #c9b184;
  --surface-2: #1d1d22;
}

.pl *,
.pl *::before,
.pl *::after {
  box-sizing: border-box;
}

.pl [id] {
  scroll-margin-top: calc(var(--pl-top) + 16px);
}

.pl-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 640px) {
  .pl-wrap { padding: 0 24px; }
}

@media (min-width: 1024px) {
  .pl-wrap { padding: 0 32px; }
}

/* The closed cart drawer sits just off screen; its shadow would show on a light page. */
body:has(.pl) .cart-drawer:not(.open) {
  box-shadow: none;
}

.pl-sr {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.pl [hidden],
.pl [data-pl-hidden] {
  display: none !important;
}

.pl :focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 3px;
}

/* ---------- Buttons and links ---------- */

.pl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.pl-btn--primary {
  background: var(--btn);
  color: var(--btn-text);
}

.pl-btn--primary:hover {
  background: var(--btn-hover);
}

.pl-btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}

.pl-btn--ghost:hover {
  background: var(--surface);
}

.pl-btn--sm {
  height: 36px;
  padding: 0 16px;
  font-size: 13.5px;
}

.pl-btn.is-busy {
  opacity: 0.6;
  pointer-events: none;
}

.pl-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.pl-link .material-symbols-outlined {
  font-size: 18px;
  transition: transform 0.25s var(--pl-ease);
}

.pl-link:hover .material-symbols-outlined {
  transform: translateX(3px);
}

.pl-needs {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--gold-2, var(--line-strong));
  color: var(--text);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s ease;
}

.pl-needs:hover {
  background: var(--surface);
}

.pl-needs .material-symbols-outlined {
  font-size: 16px;
}

.pl-needs--sm {
  height: 30px;
  padding: 0 12px;
  font-size: 12.5px;
}

.pl-preview {
  margin: 0;
  padding: 10px 16px;
  background: #3a2f12;
  color: #f5e6c4;
  font-size: 13.5px;
  text-align: center;
}

.pl-preview a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Sticky product bar ---------- */

.pl-subnav {
  position: sticky;
  top: 64px;
  z-index: 40;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.pl-subnav__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 52px;
}

.pl-subnav__name {
  flex-shrink: 0;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
  text-decoration: none;
}

.pl-subnav__links {
  display: flex;
  gap: 2px;
  flex: 1 1 auto;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent);
  mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent);
}

.pl-subnav__links::-webkit-scrollbar {
  display: none;
}

.pl-subnav__links a {
  flex-shrink: 0;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 13.5px;
  color: var(--text-2);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.pl-subnav__links a:hover {
  color: var(--text);
}

.pl-subnav__links a.is-active {
  color: var(--text);
  background: var(--surface);
}

.pl-subnav__end {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.pl-subnav__price {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

@media (max-width: 899px) {
  .pl-subnav__price {
    display: none !important;
  }
}

@media (max-width: 719px) {
  .pl-subnav__name,
  .pl-needs--sm {
    display: none;
  }

  .pl-subnav__inner {
    gap: 8px;
  }

  .pl-subnav__links a {
    padding: 7px 9px;
  }
}

/* ---------- Hero ---------- */

.pl-hero {
  padding: clamp(24px, 3.5vw, 44px) 0 clamp(56px, 7vw, 96px);
}

.pl-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: clamp(20px, 2.4vw, 28px);
  font-size: 13px;
  color: var(--text-3);
}

.pl-crumbs a {
  color: var(--text-3);
  text-decoration: none;
}

.pl-crumbs a:hover {
  color: var(--text);
}

.pl-crumbs [aria-current] {
  color: var(--text-2);
}

.pl-hero__grid {
  display: grid;
  gap: 40px;
}

@media (min-width: 1024px) {
  .pl-hero__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 64px;
    align-items: start;
  }
}

.pl-hero__title {
  margin: 0 0 clamp(24px, 3vw, 36px);
  font-weight: inherit;
}

/* Short laptop screens: keep the buy button above the fold. */
@media (min-width: 1024px) and (max-height: 860px) {
  .pl-hero {
    padding-top: 20px;
  }

  .pl-crumbs {
    margin-bottom: 16px;
  }

  .pl-hero__name {
    margin-bottom: 12px;
  }

  .pl-hero__tagline {
    font-size: 4rem;
  }

  .pl-hero__title {
    margin-bottom: 24px;
  }
}

.pl-hero__name {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
}

.pl-hero__name img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.pl-hero__cab {
  position: relative;
  display: block;
  width: clamp(150px, 15vw, 204px);
  margin: -30px 0 12px;
}

.pl-hero__car {
  position: relative;
  z-index: 1;
  animation: pl-cab-in 1.5s var(--pl-ease) 0.15s both;
}

/* The kerb it pulls in at. */
.pl-hero__road {
  display: block;
  height: 1px;
  margin-top: -9px;
  background: linear-gradient(90deg, transparent, var(--gold) 25%, var(--gold) 80%, transparent);
  opacity: 0.5;
  transform-origin: right center;
  animation: pl-road-in 1.2s var(--pl-ease) both;
}

@keyframes pl-cab-in {
  from { opacity: 0; transform: translateX(56px); }
  45% { opacity: 1; }
  82% { transform: translateX(-3px); }
  to { transform: none; }
}

@keyframes pl-road-in {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@media (prefers-reduced-motion: reduce) {
  .pl-hero__car,
  .pl-hero__road {
    animation: none;
  }
}

@media (min-width: 1024px) and (max-height: 860px) {
  .pl-hero__cab {
    width: 132px;
    margin-bottom: 8px;
  }
}

.pl-hero__tagline {
  display: block;
  max-width: 13em;
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 0.98;
  color: var(--text);
  text-wrap: balance;
}

.pl-hero__lead {
  max-width: 48ch;
  margin: 0;
  font-size: clamp(1.02rem, 1.25vw, 1.125rem);
  line-height: 1.6;
  color: var(--text-2);
}

.pl-modes {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 560px) {
  .pl-modes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.pl-mode {
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 100%;
  padding: 12px 14px 14px;
  border-radius: 16px;
  background: var(--surface);
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.pl-mode:hover {
  background: var(--surface-2);
}

.pl-mode__label {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 14.5px;
  font-weight: 650;
  line-height: 1.4;
  color: var(--text);
}

/* Artificial intelligence passengers get the green dot, players a plain ring. */
.pl-mode__label::before {
  content: "";
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.pl-mode--players .pl-mode__label::before {
  background: transparent;
  box-shadow: inset 0 0 0 1.5px var(--text-2);
}

.pl-mode__text {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-2);
}

/* Price, buy button and link on one row; the note below. */
.pl-buy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  margin-top: 26px;
}

.pl-buy__price {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 650;
  letter-spacing: -0.03em;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.pl-buy__tax {
  display: block;
  margin-top: 4px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--text-3);
}

.pl-buy__price s {
  margin-left: 6px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-3);
}

.pl-buy__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
}

.pl-buy__note {
  flex-basis: 100%;
  margin: -2px 0 0;
  font-size: 13px;
  color: var(--text-3);
}

.pl-addon {
  max-width: 54ch;
  margin: 22px 0 0;
  padding: 2px 0 2px 18px;
  border-left: 1px solid var(--mark);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-2);
}

.pl-addon strong {
  color: var(--text);
  font-weight: 600;
}

.pl-addon a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--mark);
  text-underline-offset: 3px;
}

/* ---------- Trailer under the hero ---------- */

.pl-watch {
  padding: 0 0 clamp(64px, 8vw, 112px);
}

.pl-hero:has(+ .pl-watch) {
  padding-bottom: clamp(40px, 5vw, 64px);
}

.pl-yt__play {
  position: absolute;
  inset: 0;
  display: block;
  color: #ffffff;
  text-decoration: none;
  cursor: pointer;
}

.pl-yt__play:focus-visible {
  outline-offset: -6px;
  border-radius: 16px;
}

.pl-yt__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 12, 14, 0) 45%, rgba(12, 12, 14, 0.72) 100%);
  transition: background-color 0.3s ease;
}

.pl-yt__play:hover .pl-yt__shade {
  background-color: rgba(12, 12, 14, 0.12);
}

.pl-yt__button {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: clamp(64px, 9cqi, 92px);
  height: clamp(64px, 9cqi, 92px);
  border-radius: 50%;
  background: var(--btn);
  color: var(--btn-text);
  box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.12);
  transform: translate(-50%, -50%);
  transition: transform 0.3s var(--pl-ease), box-shadow 0.3s var(--pl-ease);
}

.pl-yt__button svg {
  margin-left: 4px;
}

.pl-yt__play:hover .pl-yt__button {
  transform: translate(-50%, -50%) scale(1.06);
  box-shadow: 0 0 0 14px rgba(255, 255, 255, 0.14);
}

.pl-yt__label {
  position: absolute;
  left: clamp(16px, 3cqi, 28px);
  bottom: clamp(14px, 2.6cqi, 24px);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(14px, 1.6cqi, 17px);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.pl-yt__label::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mark);
}

.pl-yt iframe {
  border: 0;
}

/* ---------- Intro and key facts ---------- */

.pl-intro {
  padding: 0 0 clamp(72px, 9vw, 128px);
}

.pl-intro__grid {
  display: grid;
  gap: 40px;
}

@media (min-width: 1024px) {
  .pl-intro__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 64px;
    align-items: start;
  }
}

.pl-intro__statement {
  margin: 0 0 18px !important;
  font-size: clamp(1.6rem, 2.8vw, 2.25rem) !important;
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.12 !important;
  color: var(--text) !important;
}

.pl-intro__text p {
  max-width: 54ch;
  margin: 0 0 1em;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-2);
}

.pl-glance {
  padding: clamp(22px, 3vw, 36px);
  border-radius: 24px;
  background: var(--surface);
}

.pl-glance__title {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-3);
}

.pl-facts {
  display: grid;
  margin: 0;
  column-gap: 32px;
}

@media (min-width: 720px) {
  .pl-facts {
    grid-template-columns: 1fr 1fr;
  }
}

.pl-facts > div {
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.pl-facts dt {
  margin-bottom: 4px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-3);
}

.pl-facts dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.45;
  color: var(--text);
}

/* ---------- Sections and type ---------- */

.pl-sec--l {
  padding: clamp(64px, 8vw, 112px) 0;
}

/* Two plain sections in a row get a hairline between them. */
.pl-sec--l:not(.pl-sec--tint) + .pl-sec--l:not(.pl-sec--tint) {
  border-top: 1px solid var(--line);
}

.pl-sec--tint {
  background: var(--bg-tint);
}

.pl-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text-3);
}

/* A short road that ends in the destination dot. */
.pl-kicker::before {
  content: "";
  width: 22px;
  height: 7px;
  background:
    radial-gradient(circle at calc(100% - 3.5px) 50%, var(--mark) 3px, transparent 3.5px),
    linear-gradient(var(--line-strong), var(--line-strong)) left center / calc(100% - 9px) 1px no-repeat;
}

.pl-cab .pl-kicker::before {
  height: 1px;
  background: var(--mark);
}

.pl-h2 {
  max-width: 18ch;
  margin: 0;
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  font-weight: 650;
  letter-spacing: -0.038em;
  line-height: 1.03;
  color: var(--text);
  text-wrap: balance;
}

.pl-h2--m {
  max-width: 30ch;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.1;
}

.pl-h2--s {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  margin-bottom: 28px;
}

.pl-h3 {
  margin: 0 0 12px;
  font-size: clamp(1.15rem, 1.6vw, 1.35rem);
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--text);
}

.pl-h3m {
  margin: 0;
  font-size: clamp(1.45rem, 2.4vw, 1.95rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text);
}

.pl-h4 {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.pl-hook {
  max-width: 36ch;
  margin: 18px 0 0;
  font-size: clamp(1.125rem, 1.7vw, 1.375rem);
  font-weight: 500;
  letter-spacing: -0.012em;
  line-height: 1.4;
  color: var(--text);
}

.pl-hook--m {
  margin-top: 12px;
  font-size: clamp(1.05rem, 1.4vw, 1.18rem);
  color: var(--text-2);
}

.pl-prose {
  margin-top: 24px;
}

.pl-prose p,
p.pl-prose {
  max-width: 62ch;
  margin: 0 0 1em;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-2);
}

p.pl-prose {
  margin-top: 16px;
}

.pl-prose p:last-child {
  margin-bottom: 0;
}

.pl-head .pl-prose,
.pl-head__title + .pl-prose {
  margin-top: 0;
}

.pl-bullets {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.pl-bullets li {
  position: relative;
  max-width: 64ch;
  padding-left: 22px;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--text-2);
}

.pl-bullets li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.6em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 1.5px solid var(--text-3);
}

.pl-change {
  display: grid;
  gap: 4px;
  max-width: 64ch;
  margin: 28px 0 0;
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--surface);
  font-size: 15px;
  line-height: 1.55;
}

.pl-sec--tint .pl-change,
.pl-tile .pl-change {
  background: var(--bg);
}

.pl-change__label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text);
}

.pl-change__text {
  color: var(--text-2);
}

.pl-figure {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 18px;
  max-width: 34rem;
  margin: 28px 0 0;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.pl-figure__num {
  font-size: clamp(2.25rem, 4vw, 3rem);
  font-weight: 650;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.pl-figure__text {
  flex: 1 1 14rem;
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--text-2);
}

.pl-small {
  margin: 14px 0 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-3);
}

/* Links inside running text. */
.pl-small a,
.pl-qa p a,
.pl-detail a,
.pl-defs dd a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 3px;
}

.pl-small a:hover,
.pl-qa p a:hover,
.pl-detail a:hover,
.pl-defs dd a:hover {
  text-decoration-color: var(--text);
}

.pl-detail__more {
  margin-top: 14px !important;
  font-size: 13.5px !important;
  color: var(--text-3) !important;
}

.pl-fine {
  max-width: 82ch;
  margin: 64px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-3);
}

/* ---------- Layouts ---------- */

.pl-split {
  display: grid;
  gap: 40px;
}

.pl-split__media {
  display: grid;
  gap: 28px;
  align-content: start;
}

@media (min-width: 1000px) {
  .pl-split {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 72px;
    align-items: center;
  }

  .pl-split--flip {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }

  .pl-split--even {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .pl-split--table {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }
}

.pl-split__text > .pl-table-wrap {
  margin-top: 24px;
}

.pl-media--narrow {
  width: 100%;
  max-width: 440px;
  justify-self: center;
}

@media (max-width: 999px) {
  .pl-split--flip > .pl-split__media {
    order: 2;
  }
}

.pl-split--tight {
  margin-top: 48px;
}

.pl-head {
  display: grid;
  gap: 24px;
  margin-bottom: 48px;
}

@media (min-width: 1000px) {
  .pl-head {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    gap: 72px;
    align-items: end;
  }
}

.pl-head--m {
  margin-bottom: 36px;
}

.pl-foot {
  display: grid;
  gap: 8px;
  margin-top: 40px;
}

@media (min-width: 1000px) {
  .pl-foot {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    gap: 72px;
    align-items: start;
  }

  .pl-foot > .pl-change {
    margin-top: 28px;
  }
}

.pl-grid-2,
.pl-grid-3,
.pl-grid-4 {
  display: grid;
  gap: 24px;
}

@media (min-width: 760px) {
  .pl-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pl-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 560px) {
  .pl-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .pl-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---------- Media slots ---------- */

.pl-media {
  margin: 0;
  min-width: 0;
}

.pl-frame {
  position: relative;
  aspect-ratio: var(--ratio, 16/9);
  overflow: hidden;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  container-type: inline-size;
  --frame-text: var(--text-2);
  --frame-text-3: var(--text-3);
}

.pl-sec--tint .pl-media--screen .pl-frame,
.pl-sec--tint .pl-media--still .pl-frame,
.pl-ai .pl-media--screen .pl-frame,
.pl-detail .pl-media--screen .pl-frame,
.pl-place .pl-frame {
  background: var(--bg);
}

.pl-media--clip .pl-frame {
  background: var(--screen);
  border-color: var(--screen-line);
  --frame-text: var(--screen-text, var(--text-2));
  --frame-text-3: var(--screen-text-3, var(--text-3));
}

.pl-frame.is-filled {
  background: #0c0c0e;
}

.pl-frame__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Clips are not players: no controls, no tap to pause, no picture in picture button. */
video.pl-frame__media {
  pointer-events: none;
}

video.pl-frame__media::-webkit-media-controls,
video.pl-frame__media::-webkit-media-controls-enclosure,
video.pl-frame__media::-webkit-media-controls-panel,
video.pl-frame__media::-webkit-media-controls-overlay-play-button,
video.pl-frame__media::-webkit-media-controls-start-playback-button {
  display: none !important;
  -webkit-appearance: none;
}

.pl-frame__sound {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 12px 0 10px;
  border-radius: 999px;
  border: 0;
  background: rgba(12, 12, 14, 0.72);
  color: #ffffff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.pl-frame__sound .material-symbols-outlined {
  font-size: 18px;
}

.pl-frame__sound[aria-pressed="true"] {
  background: #ffffff;
  color: #0c0c0e;
}

.pl-frame__empty {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  padding: clamp(14px, 5cqi, 30px);
}

.pl-frame__kind {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--frame-text-3);
}

.pl-media--clip .pl-frame__kind::before {
  content: "";
  width: 0;
  height: 0;
  border-left: 7px solid currentColor;
  border-top: 4.5px solid transparent;
  border-bottom: 4.5px solid transparent;
}

.pl-media--screen .pl-frame__kind::before,
.pl-media--still .pl-frame__kind::before {
  content: "";
  width: 8px;
  height: 8px;
  border: 1.5px solid currentColor;
  border-radius: 2px;
}

.pl-frame__scene {
  max-width: 36em;
  margin: 0;
  font-size: 15px;
  font-size: clamp(13px, 3.4cqi, 19px);
  line-height: 1.45;
  letter-spacing: -0.005em;
  color: var(--frame-text);
  text-wrap: pretty;
}

/* Clips: a scrubber line that ends in the product's mark. */
.pl-frame__track {
  position: relative;
  display: block;
  height: 1px;
  margin-top: 4px;
  background: var(--screen-rule, var(--frame-rule));
}

.pl-frame__track::after {
  content: "";
  position: absolute;
  right: 0;
  top: -3px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mark);
}

/* Screens and stills: viewfinder corners instead. */
.pl-media--screen .pl-frame__track,
.pl-media--still .pl-frame__track {
  display: none;
}

.pl-media--screen .pl-frame__empty,
.pl-media--still .pl-frame__empty {
  --c: var(--frame-rule);
  padding: clamp(30px, 6cqi, 38px);
  background:
    linear-gradient(var(--c), var(--c)) top 12px left 12px / 16px 1px,
    linear-gradient(var(--c), var(--c)) top 12px left 12px / 1px 16px,
    linear-gradient(var(--c), var(--c)) top 12px right 12px / 16px 1px,
    linear-gradient(var(--c), var(--c)) top 12px right 12px / 1px 16px,
    linear-gradient(var(--c), var(--c)) bottom 12px left 12px / 16px 1px,
    linear-gradient(var(--c), var(--c)) bottom 12px left 12px / 1px 16px,
    linear-gradient(var(--c), var(--c)) bottom 12px right 12px / 16px 1px,
    linear-gradient(var(--c), var(--c)) bottom 12px right 12px / 1px 16px;
  background-repeat: no-repeat;
}

.pl-media__caption {
  margin-top: 12px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-3);
}

/* ---------- Passengers: numbers and the day clock ---------- */

.pl-numbers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid var(--line-strong);
}

@media (min-width: 860px) {
  .pl-numbers {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.pl-numbers > div {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 8px;
  padding: 24px 20px 4px 0;
}

.pl-numbers dd {
  margin: 0;
  font-size: clamp(2.75rem, 6vw, 4.75rem);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.pl-numbers dt {
  font-size: 14px;
  color: var(--text-2);
}

.pl-clock-row {
  display: grid;
  gap: 24px;
  margin-top: 56px;
}

@media (min-width: 1000px) {
  .pl-clock-row {
    grid-template-columns: minmax(0, 8fr) minmax(0, 3fr);
    align-items: start;
  }
}

.pl-clock {
  padding: clamp(20px, 3vw, 36px);
  border-radius: 24px;
  background: var(--bg);
  border: 1px solid var(--line);
}

.pl-clock__head p {
  max-width: 58ch;
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-2);
}

.pl-clock__dial {
  position: relative;
  margin-top: 28px;
}

.pl-clock__ruler {
  position: relative;
  height: 44px;
}

.pl-clock__ruler::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 14px;
  height: 1px;
  background: var(--line-strong);
}

/* Hour ticks along the line. */
.pl-clock__ruler::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 10px;
  height: 9px;
  background: repeating-linear-gradient(90deg, var(--line-strong) 0 1px, transparent 1px calc(100% / 24));
  opacity: 0.7;
}

.pl-clock__ruler span {
  position: absolute;
  top: 24px;
  left: var(--at);
  transform: translateX(-50%);
  font-size: 11.5px;
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
}

.pl-clock__ruler span:first-child {
  transform: none;
}

.pl-clock__ruler span:last-child {
  transform: translateX(-100%);
}

.pl-clock__tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-top: 8px;
}

@media (min-width: 760px) {
  .pl-clock__tabs {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

.pl-clock__tab {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-width: 0;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text-2);
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.pl-clock__tab:hover {
  border-color: var(--line-strong);
  color: var(--text);
}

.pl-clock__tab[aria-selected="true"] {
  border-color: var(--text);
  color: var(--text);
}

.pl-clock__time {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.pl-clock__name {
  font-size: 12.5px;
  line-height: 1.3;
}

/* The tab's dot sits on the ruler above the tabs. */
.pl-clock__dot {
  position: absolute;
  top: 9px;
  left: var(--at);
  width: 11px;
  height: 11px;
  margin-left: -5.5px;
  border-radius: 50%;
  background: var(--bg);
  border: 1.5px solid var(--text-3);
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s var(--pl-ease);
}

.pl-clock__tab[aria-selected="true"] .pl-clock__dot {
  background: var(--accent, var(--mark));
  border-color: var(--accent, var(--mark));
  transform: scale(1.25);
}

.pl-clock__panels {
  margin-top: 22px;
}

.pl-clock__who {
  margin: 0 0 16px;
  font-size: 17px;
  line-height: 1.5;
  color: var(--text);
}

.pl-clock__who span {
  display: inline-block;
  margin-right: 8px;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--surface);
  font-size: 13.5px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.pl-place {
  display: grid;
  gap: 12px;
  padding: clamp(20px, 2.4vw, 28px);
  border-radius: 24px;
  border: 1px solid var(--line);
  background: var(--bg);
}

.pl-place .pl-h3 {
  margin: 8px 0 0;
}

.pl-place p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-2);
}

@media (min-width: 560px) and (max-width: 999px) {
  .pl-place {
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    align-items: center;
    column-gap: 24px;
  }

  .pl-place .pl-media {
    grid-row: span 2;
  }
}

/* ---------- Medium band ---------- */

.pl-band {
  padding: clamp(72px, 9vw, 120px) 0 clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--line);
}

.pl-band__head {
  margin-bottom: clamp(32px, 4vw, 48px);
}

.pl-sec--m {
  padding: clamp(48px, 6vw, 80px) 0;
  border-top: 1px solid var(--line);
}

.pl-sec--m .pl-split {
  align-items: start;
}

.pl-foot--m {
  margin-top: 32px;
}

.pl-steps {
  display: grid;
  gap: 0;
  margin: 0 0 40px;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

@media (min-width: 860px) {
  .pl-steps {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
  }
}

.pl-steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 2px 8px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

@media (min-width: 860px) {
  .pl-steps li {
    display: block;
    padding: 18px 0 0;
    border-top: 2px solid var(--line-strong);
  }

  .pl-steps li:last-child {
    border-top-color: var(--text);
  }
}

.pl-steps li::before {
  content: counter(step);
  grid-row: span 2;
  display: block;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
}

.pl-steps__name {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

.pl-steps__text {
  display: block;
  margin-top: 4px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--text-2);
}

.pl-career-media {
  display: grid;
  gap: 24px;
}

@media (min-width: 760px) {
  .pl-career-media {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
  }
}

.pl-pair {
  display: grid;
  gap: 20px;
  padding: clamp(48px, 6vw, 80px) 0;
  border-top: 1px solid var(--line);
}

@media (min-width: 900px) {
  .pl-pair {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.pl-tile {
  padding: clamp(24px, 3vw, 36px);
  border-radius: 24px;
  background: var(--surface);
}

.pl-tile > p {
  margin: 14px 0 0;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--text-2);
}

.pl-tile .pl-defs,
.pl-tile .pl-bullets {
  margin-top: 20px;
}

.pl-defs {
  margin: 0;
}

.pl-defs > div {
  display: grid;
  gap: 4px 24px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

@media (min-width: 640px) {
  .pl-defs > div {
    grid-template-columns: minmax(120px, 11rem) minmax(0, 1fr);
  }
}

.pl-defs dt {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text);
}

.pl-defs dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-2);
}

.pl-defs--know > div {
  grid-template-columns: 1fr !important;
}

.pl-chips-label {
  margin: 24px 0 0;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-3);
}

.pl-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.pl-chips li {
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 14px;
  color: var(--text);
}

.pl-chips--tight {
  gap: 6px;
  margin-top: 2px;
}

.pl-chips--tight li {
  padding: 4px 10px;
  font-size: 13px;
  color: var(--text-2);
}

.pl-cols {
  display: grid;
  gap: 36px;
}

@media (min-width: 860px) {
  .pl-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 56px;
  }
}

.pl-cols .pl-bullets {
  margin-top: 16px;
}

/* ---------- Tables ---------- */

.pl-table-wrap {
  min-width: 0;
}

.pl-table-wrap--scroll {
  overflow-x: auto;
  scrollbar-width: thin;
}

.pl-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.5;
}

.pl-table th,
.pl-table td {
  padding: 14px 18px 14px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.pl-table thead th {
  padding-top: 0;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-3);
  border-bottom-color: var(--line-strong);
}

.pl-table tbody th {
  font-weight: 600;
  color: var(--text);
}

.pl-table td {
  color: var(--text-2);
}

.pl-table a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--mark);
  text-underline-offset: 3px;
}

.pl-table__sub {
  display: block;
  margin-top: 4px;
  font-size: 13.5px;
  font-weight: 400;
  color: var(--text-3);
}

.pl-num {
  text-align: right !important;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.pl-tag {
  display: inline-block;
  margin-left: 8px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--surface-2);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text);
  vertical-align: 2px;
  white-space: nowrap;
}

.pl-tag--accent {
  margin-left: 0;
  background: var(--btn);
  color: var(--btn-text);
}

.pl-fare {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-weight: 500;
}

.pl-fare__bar {
  display: block;
  width: calc(var(--x) / 1.6 * 100%);
  height: 6px;
  border-radius: 3px;
  background: var(--text);
}

@media (max-width: 640px) {
  .pl-table--stack thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .pl-table--stack tr {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .pl-table--stack th,
  .pl-table--stack td {
    display: block;
    padding: 2px 0;
    border: 0;
    text-align: left !important;
  }

  .pl-table--stack td + td {
    font-size: 14px;
    color: var(--text-3);
  }

  .pl-table--stack td[data-label]::before {
    content: attr(data-label);
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-3);
  }
}

/* ---------- AI and cost ---------- */

.pl-ai {
  padding: clamp(80px, 10vw, 144px) 0;
  background: var(--bg-tint);
  border-top: 1px solid var(--line);
}

.pl-ai__head {
  max-width: 920px;
}

.pl-ai__hook {
  max-width: 40ch;
  margin: 22px 0 0;
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.35;
  color: var(--text);
}

.pl-turn {
  margin-top: clamp(56px, 7vw, 88px);
}

.pl-turn__steps {
  display: grid;
  gap: 0;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 900px) {
  .pl-turn__steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.pl-turn__step {
  position: relative;
  padding: 20px 28px 20px 0;
  border-top: 2px solid var(--line-strong);
}

.pl-turn__step:first-child {
  border-top-color: var(--text);
}

.pl-turn__n {
  display: block;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
}

.pl-turn__name {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.015em;
  color: var(--text);
}

.pl-turn__step p:not(.pl-turn__name) {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-2);
}

.pl-turn__span {
  display: none;
}

.pl-turn__total {
  margin: 20px 0 0;
  font-size: 16px;
  color: var(--text-2);
}

.pl-turn__total strong {
  color: var(--text);
  font-weight: 650;
}

@media (min-width: 900px) {
  .pl-turn__span {
    display: block;
    position: relative;
    height: 26px;
    margin-top: 8px;
  }

  .pl-turn__release {
    position: absolute;
    z-index: 1;
    left: 25%;
    top: 0;
    height: 26px;
    padding: 0 12px 0 10px;
    border-left: 2px solid var(--text);
    background: var(--bg-tint);
    font-size: 12px;
    font-weight: 600;
    line-height: 26px;
    color: var(--text);
  }

  /* From the key being released to the answer being heard. */
  .pl-turn__bracket {
    position: absolute;
    left: 25%;
    right: 0;
    top: 13px;
    height: 1px;
    background: var(--line-strong);
  }

  .pl-turn__bracket::after {
    content: "";
    position: absolute;
    right: 0;
    top: -3px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--mark);
  }

  .pl-turn__total {
    margin-left: 25%;
    padding-left: 12px;
  }
}

.pl-cost {
  display: grid;
  gap: 40px;
  margin-top: clamp(64px, 8vw, 104px);
}

.pl-cost__intro {
  max-width: 640px;
}

.pl-cost__intro p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-2);
}

.pl-table--modes tbody th {
  white-space: nowrap;
}

@media (max-width: 640px) {
  .pl-table--modes tbody th {
    white-space: normal;
  }

  .pl-table--modes td.pl-num {
    display: inline-block;
    margin: 8px 28px 0 0;
    color: var(--text);
    font-size: 15px;
    font-weight: 600;
  }
}

.pl-range {
  max-width: 760px;
}

.pl-range__label {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-3);
}

.pl-range__track {
  position: relative;
  height: 74px;
}

.pl-range__track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 36px;
  height: 2px;
  border-radius: 1px;
  background: var(--line-strong);
}

.pl-range__fill {
  position: absolute;
  top: 35px;
  left: var(--from);
  width: calc(var(--to) - var(--from));
  height: 4px;
  border-radius: 2px;
  background: var(--text);
}

.pl-range__mark {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--at);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  transform: translateX(-50%);
  font-size: 12.5px;
  color: var(--text-3);
  white-space: nowrap;
}

.pl-range__mark b {
  font-size: 15px;
  font-weight: 650;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.pl-range__mark::after {
  content: "";
  position: absolute;
  top: 32px;
  left: 50%;
  width: 10px;
  height: 10px;
  margin-left: -5px;
  border-radius: 50%;
  background: var(--bg-tint);
  border: 2px solid var(--text);
}

.pl-range__mark--main::after {
  background: var(--text);
}

.pl-range__mark--cap {
  align-items: flex-end;
  transform: translateX(calc(-100% + 6px));
}

.pl-range__mark--cap::after {
  left: auto;
  right: 1px;
  border-color: var(--text-3);
}

.pl-range__axis {
  display: flex;
  justify-content: space-between;
  margin: 6px 0 0;
  font-size: 12px;
  color: var(--text-3);
}

/* Form fields (the compatibility check) */

.pl-field {
  display: block;
  margin-top: 20px;
}

.pl-field__label {
  display: block;
  margin: 0 0 10px;
  padding: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.pl select {
  width: 100%;
  height: 44px;
  padding: 0 40px 0 12px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background-color: var(--bg);
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  box-shadow: none;
}

.pl select:focus {
  border-color: var(--text);
  box-shadow: none;
  outline: none;
}

.pl-models {
  margin-top: clamp(56px, 7vw, 88px);
}

.pl-models__cards {
  display: none;
}

@media (max-width: 759px) {
  .pl-models__table {
    display: none;
  }

  .pl-models__cards {
    display: grid;
    gap: 14px;
    margin-top: 16px;
  }
}

.pl-model {
  padding: 20px;
  border-radius: 20px;
  border: 1px solid var(--line);
}

.pl-model.is-picked {
  background: var(--bg);
  border-color: var(--line-strong);
}

.pl-model__name {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 650;
  color: var(--text);
}

.pl-model__name code {
  padding: 3px 7px;
  border-radius: 6px;
  background: var(--surface-2);
  font-family: var(--pl-mono);
  font-size: 12.5px;
  font-weight: 500;
}

.pl-model .pl-defs dt {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-3);
}

.pl-table--models {
  min-width: 760px;
}

.pl-table--models thead th {
  font-size: 14px;
  color: var(--text);
  padding: 16px 18px;
}

.pl-table--models th,
.pl-table--models td {
  padding-left: 18px;
}

.pl-table--models tbody th {
  position: sticky;
  left: 0;
  z-index: 1;
  width: 22%;
  padding-left: 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-3);
  background: var(--bg-tint);
}

.pl-table--models code {
  display: block;
  width: fit-content;
  margin: 6px 0 8px;
  padding: 3px 7px;
  border-radius: 6px;
  background: var(--surface-2);
  font-family: var(--pl-mono);
  font-size: 12.5px;
  font-weight: 500;
}

.pl-table--models .is-picked {
  background: var(--bg);
}

.pl-table--models thead .is-picked {
  border-radius: 14px 14px 0 0;
}

.pl-table--models td.is-picked {
  color: var(--text);
}

.pl-ai__lower {
  display: grid;
  gap: 48px;
  margin-top: clamp(56px, 7vw, 88px);
}

@media (min-width: 1000px) {
  .pl-ai__lower {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 72px;
  }
}

.pl-ai__voice > p {
  max-width: 56ch;
  margin: 0 0 28px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-2);
}

.pl-qa code,
.pl-ai code {
  font-family: var(--pl-mono);
  font-size: 0.88em;
}

/* ---------- Details ---------- */

.pl-sec--s {
  padding: clamp(72px, 9vw, 120px) 0;
  border-top: 1px solid var(--line);
}

.pl-details {
  display: grid;
  gap: 16px;
}

@media (min-width: 700px) {
  .pl-details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pl-detail--wide {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1100px) {
  .pl-details {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  .pl-detail {
    grid-column: span 3;
  }

  .pl-detail--wide {
    grid-column: span 7;
  }

  .pl-detail--lang {
    grid-column: span 5;
  }

  .pl-cab .pl-detail {
    grid-column: span 4;
  }
}

.pl-detail {
  padding: 24px;
  border-radius: 20px;
  background: var(--surface);
}

.pl-detail h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.01em;
  color: var(--text);
}

.pl-detail p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-2);
}

.pl-detail--wide {
  display: grid;
  gap: 20px;
}

@media (min-width: 700px) {
  .pl-detail--wide {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    align-items: center;
  }
}

.pl-langs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.pl-langs li {
  padding: 4px 10px;
  border-radius: 8px;
  background: var(--bg);
  font-size: 14px;
  color: var(--text);
}

.pl-ar {
  font-family: "IBM Plex Sans Arabic", var(--pl-font);
}

.pl-langs__rtl {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}

.pl-langs__note {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-3);
}

/* ---------- Works with ---------- */

.pl-sec--works {
  padding: clamp(72px, 9vw, 120px) 0;
  border-top: 1px solid var(--line);
}

.pl-compat {
  padding: clamp(20px, 3vw, 32px);
  border-radius: 24px;
  border: 1px solid var(--line);
}

.pl-compat__pickers {
  display: grid;
  gap: 16px;
}

@media (min-width: 760px) {
  .pl-compat__pickers {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.pl-compat__pickers .pl-field {
  margin: 0;
}

.pl-compat__result {
  display: grid;
  gap: 0;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.pl-compat__result li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-2);
}

.pl-compat__result b {
  color: var(--text);
  font-weight: 600;
}

.pl-verdict {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 112px;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
}

.pl-verdict[data-ok="yes"] {
  background: var(--btn);
  color: var(--btn-text);
}

.pl-verdict[data-ok="yes"]::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent, var(--mark));
}

.pl-verdict[data-ok="no"] {
  border: 1px solid var(--line-strong);
  color: var(--text);
}

.pl-verdict[data-ok="ask"],
.pl-verdict[data-ok="add"] {
  background: var(--surface-2);
  color: var(--text);
}

.pl-compat__always {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 16px;
  margin: 8px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--text-3);
}

.pl-compat__always .pl-link {
  font-size: 14px;
}

.pl-works {
  display: grid;
  gap: 48px;
  margin-top: 64px;
}

@media (min-width: 1000px) {
  .pl-works {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 72px;
  }

  .pl-works__block:first-child {
    grid-column: 1 / -1;
  }
}

.pl-phones {
  margin-top: 16px;
}

/* ---------- FAQ and good to know ---------- */

.pl-sec--faq {
  padding: clamp(72px, 9vw, 120px) 0;
  border-top: 1px solid var(--line);
}

.pl-faq-grid {
  display: grid;
  gap: 48px;
}

@media (min-width: 1000px) {
  .pl-faq-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 72px;
    align-items: start;
  }
}

.pl-faq .pl-h2 {
  margin-bottom: 28px;
}

.pl-qa {
  border-top: 1px solid var(--line);
}

.pl-qa:last-child {
  border-bottom: 1px solid var(--line);
}

.pl-qa summary {
  position: relative;
  padding: 20px 44px 20px 0;
  list-style: none;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.4;
  color: var(--text);
  cursor: pointer;
}

.pl-qa summary::-webkit-details-marker {
  display: none;
}

.pl-qa__icon {
  position: absolute;
  right: 4px;
  top: 50%;
  width: 14px;
  height: 14px;
  margin-top: -7px;
}

.pl-qa__icon::before,
.pl-qa__icon::after {
  content: "";
  position: absolute;
  left: 0;
  top: 6.5px;
  width: 14px;
  height: 1.5px;
  background: var(--text-2);
  transition: transform 0.3s var(--pl-ease);
}

.pl-qa__icon::after {
  transform: rotate(90deg);
}

.pl-qa[open] .pl-qa__icon::after {
  transform: rotate(0deg);
}

.pl-qa p {
  max-width: 64ch;
  margin: 0;
  padding: 0 0 22px;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--text-2);
}

.pl-know {
  padding: clamp(24px, 3vw, 36px);
  border-radius: 24px;
  background: var(--surface);
}

.pl-know .pl-h3 {
  margin-bottom: 16px;
}

.pl-defs--know dt {
  font-weight: 600;
}

/* ---------- Closing ---------- */

.pl-close {
  padding: clamp(72px, 9vw, 120px) 0;
  border-top: 1px solid var(--line);
}

.pl-close__grid {
  display: grid;
  gap: 40px;
}

@media (min-width: 1000px) {
  .pl-close__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 72px;
    align-items: stretch;
  }
}

.pl-close__name {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-3);
}

.pl-close__line {
  max-width: 18ch;
  margin: 10px 0 0;
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: var(--text);
}

.pl-close__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.pl-close__links a {
  font-size: 15px;
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 4px;
}

.pl-close__links a:hover {
  text-decoration-color: var(--text);
}

.pl-next {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 14px;
  min-height: 320px;
  padding: clamp(28px, 4vw, 48px);
  border-radius: 28px;
  text-decoration: none;
  transition: transform 0.4s var(--pl-ease);
}

.pl-next:hover {
  transform: translateY(-3px);
}

.pl-next__kicker {
  font-size: 13px;
  font-weight: 600;
}

.pl-next__title {
  max-width: 18ch;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.pl-next__text {
  max-width: 46ch;
  font-size: 15.5px;
  line-height: 1.6;
}

.pl-next__go {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 15px;
  font-weight: 600;
}

.pl-next__go .material-symbols-outlined {
  font-size: 18px;
  transition: transform 0.25s var(--pl-ease);
}

.pl-next:hover .pl-next__go .material-symbols-outlined {
  transform: translateX(3px);
}

/* The Auto Cab, shown with its gold on the Ride page. */
.pl-next--cab {
  background: #16161a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.pl-next--cab .pl-next__rule {
  display: block;
  width: 56px;
  height: 1px;
  background: #c9b184;
}

.pl-next--cab .pl-next__kicker {
  color: #d3bd8f;
}

.pl-next--cab .pl-next__text {
  color: rgba(255, 255, 255, 0.68);
}

/* OOS Ride, shown with its green on the Auto Cab page. */
.pl-next--ride {
  background: #16161a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.pl-next--ride .pl-next__kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.68);
}

.pl-next--ride .pl-next__kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #12b76a;
}

.pl-next--ride .pl-next__text {
  color: rgba(255, 255, 255, 0.68);
}

/* ---------- Auto Cab: controls ---------- */

.pl-hold-demo {
  display: grid;
  justify-items: start;
  gap: 12px;
  padding: 24px;
  border-radius: 20px;
  background: var(--surface);
}

.pl-hold-demo__label {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.pl-hold-demo__status {
  min-height: 1.5em;
  margin: 0;
  font-size: 14px;
  color: var(--text-2);
}

.pl-hold {
  position: relative;
  overflow: hidden;
  height: 56px;
  padding: 0 28px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.pl-hold__fill {
  position: absolute;
  inset: 0;
  background: rgba(201, 177, 132, 0.32);
  transform: scaleX(var(--p, 0));
  transform-origin: left center;
}

.pl-hold__label {
  position: relative;
}

.pl-hold.is-done {
  border-color: var(--gold);
}

.pl-controls {
  display: grid;
  margin: 0;
  column-gap: 56px;
  border-top: 1px solid var(--line);
}

@media (min-width: 1000px) {
  .pl-controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.pl-controls > div {
  display: grid;
  gap: 8px 20px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 560px) {
  .pl-controls > div {
    grid-template-columns: 196px minmax(0, 1fr);
  }
}

.pl-controls dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-2);
}

.pl-control {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}

.pl-control--stop {
  border-color: var(--gold-2);
}

.pl-report {
  max-width: 780px;
  margin: 40px 0 48px;
}

.pl-report p {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-2);
}

/* ---------- Auto Cab: driving styles ---------- */

.pl-styles {
  border-top: 1px solid var(--line-strong);
}

.pl-styles__head {
  display: none;
}

.pl-style {
  display: grid;
  gap: 8px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 900px) {
  .pl-styles__head,
  .pl-style {
    display: grid;
    grid-template-columns: 200px minmax(0, 1fr) minmax(260px, 360px);
    gap: 32px;
    align-items: center;
  }

  .pl-styles__head {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-3);
  }
}

.pl-style__name {
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.01em;
  color: var(--text);
}

.pl-style__how {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-2);
}

.pl-style__speed {
  display: flex;
  align-items: center;
  gap: 14px;
}

.pl-style__bar {
  position: relative;
  flex: 1 1 auto;
  height: 10px;
  border-radius: 5px;
  background: var(--surface-2);
}

.pl-style__fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: calc(var(--v) * 1%);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.82);
}

/* 40 km/h near the stop, on a scale of 0 to 100. */
.pl-style__stop {
  position: absolute;
  left: 40%;
  top: -5px;
  bottom: -5px;
  width: 2px;
  margin-left: -1px;
  background: var(--gold);
}

.pl-style__val {
  flex-shrink: 0;
  min-width: 104px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.pl-style__val small {
  display: block;
  margin-top: 2px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-3);
}

.pl-styles__note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0 0;
  font-size: 14.5px;
  color: var(--text-2);
}

.pl-styles__key {
  flex-shrink: 0;
  width: 2px;
  height: 20px;
  background: var(--gold);
}

/* ---------- Auto Cab: diagrams ---------- */

.pl-diagram {
  overflow: hidden;
  margin: 0;
  padding: clamp(14px, 2.4vw, 28px);
  border-radius: 24px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.pl-diagram svg {
  display: block;
  width: 100%;
  height: auto;
  max-height: 460px;
}

.pl-diagram__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 16px;
  font-size: 13.5px;
  color: var(--text-2);
}

.pl-diagram__legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.pl-lg {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.pl-lg--player { background: #ffffff; width: 9px; height: 9px; box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.12); }
.pl-lg--rider { background: var(--gold-3); width: 9px; height: 9px; box-shadow: 0 0 0 4px rgba(201, 177, 132, 0.25); }
.pl-lg--seen { background: rgba(255, 255, 255, 0.28); }
.pl-lg--free { border: 1.5px solid var(--gold); }
.pl-lg--cab { width: 16px; height: 9px; border-radius: 3px; background: var(--gold-3); }

/* The city both diagrams are drawn on. */
.pl-map {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: #0e0e11;
}

.pl-diagram .pl-map svg {
  aspect-ratio: 960 / 400;
  min-height: 280px;
  max-height: none;
}

.pl-diagram .pl-map--route svg {
  aspect-ratio: 960 / 300;
  min-height: 230px;
}

/* Phones: the city is cropped at the sides, but the whole route stays in view. */
@media (max-width: 639px) {
  .pl-diagram .pl-map svg {
    min-height: 230px;
  }

  .pl-diagram .pl-map--route svg {
    min-height: 0;
  }

  .pl-route__label {
    font-size: 26px;
  }
}

.pl-map__walk { fill: #18181c; }
.pl-map__building { fill: #222228; stroke: rgba(255, 255, 255, 0.06); stroke-width: 1; }
.pl-map__park { fill: rgba(201, 177, 132, 0.06); }
.pl-map__tree { fill: rgba(201, 177, 132, 0.12); }
.pl-map__road { fill: #0e0e11; }
.pl-map__lane { stroke: rgba(255, 255, 255, 0.13); stroke-width: 1.5; stroke-dasharray: 10 12; }

.pl-map__status {
  position: absolute;
  left: 12px;
  top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: calc(100% - 24px);
  margin: 0;
  padding: 7px 13px 7px 11px;
  border-radius: 999px;
  background: rgba(12, 12, 14, 0.82);
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  backdrop-filter: blur(6px);
}

.pl-map__status::before {
  content: "";
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

/* The cab from above. */
.pl-mapcar { transition: opacity 0.45s ease; }
.pl-mapcar__shadow { fill: rgba(0, 0, 0, 0.45); }
.pl-mapcar__paint { fill: var(--gold-3); }
.pl-mapcar__roof { fill: var(--gold-2); }
.pl-mapcar__glass { fill: #1b1c21; }
.pl-mapcar__lamp--front { fill: #fffaf0; }
.pl-mapcar__lamp--rear { fill: #d64545; }
.pl-mapcar.is-hazard .pl-mapcar__lamp { animation: pl-hazard 0.8s steps(1, end) infinite; }

@keyframes pl-hazard {
  0% { fill: #f5a524; }
  50% { fill: rgba(245, 165, 36, 0.2); }
}

.pl-vote__cones path { fill: rgba(255, 255, 255, 0.07); stroke: rgba(255, 255, 255, 0.16); stroke-width: 1; stroke-linejoin: round; transition: opacity 0.5s ease; }
.pl-vote__cones path.is-rider { fill: rgba(201, 177, 132, 0.08); stroke: rgba(201, 177, 132, 0.3); }
.pl-vote__players circle { fill: #ffffff; }
.pl-vote__players circle.is-rider,
.pl-vote__person.is-rider circle { fill: var(--gold-3); }
.pl-vote__person { transition: opacity 0.5s ease; }
.pl-vote__person .pl-vote__halo { fill: rgba(255, 255, 255, 0.13); }
.pl-vote__person.is-rider .pl-vote__halo { fill: rgba(201, 177, 132, 0.25); }
.pl-vote__spots circle { fill: transparent; stroke: rgba(255, 255, 255, 0.26); stroke-width: 1.5; transition: fill 0.35s ease, stroke 0.35s ease; }
.pl-vote__spots circle.is-seen { fill: rgba(255, 255, 255, 0.22); stroke: transparent; }
.pl-vote__spots circle.is-free { stroke: var(--gold); stroke-width: 2; }
.pl-vote__spots circle.is-asking { stroke: #ffffff; stroke-width: 2.5; }
.pl-vote__route { fill: none; stroke: var(--gold); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; opacity: 0.85; }
.pl-vote__drive { fill: none; stroke: none; }
.pl-vote__pulse { fill: none; stroke: var(--gold); stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.pl-vote__pulse.is-on { animation: pl-pulse 1.1s ease-out 2; }

@keyframes pl-pulse {
  from { opacity: 0.9; transform: scale(0.5); }
  to { opacity: 0; transform: scale(3); }
}

.pl-route {
  margin-bottom: 0;
}

.pl-route__readouts {
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
}

@media (min-width: 640px) {
  .pl-route__readouts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.pl-route__readout {
  display: grid;
  gap: 6px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--bg);
}

.pl-route__readout > span {
  font-size: 12.5px;
  color: var(--text-3);
}

.pl-route__readout b {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.pl-route__bar {
  display: block;
  height: 6px;
  margin-top: 8px;
  overflow: hidden;
  border-radius: 3px;
  background: var(--surface-2);
}

.pl-route__bar span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: 3px;
  background: var(--gold-3);
}

.pl-route__line {
  fill: none;
  stroke: rgba(255, 255, 255, 0.8);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pl-route__done {
  fill: none;
  stroke: var(--gold-3);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pl-route__ghost {
  fill: none;
  stroke: none;
}

.pl-route__detour {
  fill: none;
  stroke: var(--gold);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.pl-route.is-detour .pl-route__detour {
  opacity: 0.9;
}

.pl-route__end {
  fill: #ffffff;
  stroke: #0e0e11;
  stroke-width: 3;
}

.pl-route__end--to {
  fill: var(--gold);
}

.pl-route__label {
  font-family: var(--pl-font);
  font-size: 13px;
  font-weight: 600;
  fill: rgba(255, 255, 255, 0.75);
  paint-order: stroke;
  stroke: #0e0e11;
  stroke-width: 4px;
}

.pl-route__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin-top: 12px;
  font-size: 14px;
  color: var(--text-2);
}

/* ---------- Vehicles ---------- */

.pl-car {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 144 / 88;
}

.pl-services {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

@media (min-width: 640px) {
  .pl-services {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.pl-service {
  display: flex;
  flex-direction: column;
  padding: 16px 18px 18px;
  border-radius: 20px;
  background: var(--surface);
}

.pl-service__car {
  display: block;
  width: 100%;
  max-width: 180px;
  height: auto;
  margin: 2px auto 12px;
}

.pl-service__name {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.015em;
  color: var(--text);
}

.pl-service__facts {
  display: grid;
  gap: 10px;
  margin: 0;
}

.pl-service__facts dt {
  font-size: 12px;
  color: var(--text-3);
}

.pl-service__facts dd {
  margin: 2px 0 0;
  font-size: 14.5px;
  line-height: 1.4;
  color: var(--text);
}

.pl-service__note {
  margin: 12px 0 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-2);
}

@media (max-width: 639px) {
  .pl-service {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
  }

  .pl-service__car {
    margin: 4px 0 0;
  }
}

.pl-lineup {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  max-width: 34rem;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.pl-lineup li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 8px 10px;
  border-radius: 14px;
  background: var(--surface);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
}

.pl-lineup img,
.pl-lineup .pl-car {
  width: 100%;
  max-width: 112px;
  height: auto;
}

.pl-lineup li.is-new {
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--mark);
}

.pl-next__car {
  align-self: flex-end;
  width: clamp(120px, 15vw, 196px);
  height: auto;
  margin-bottom: auto;
}

/* ---------- Auto Cab: build a fleet ---------- */

.pl-fleet {
  display: grid;
  gap: 28px;
  margin-top: 48px;
  padding: clamp(20px, 3vw, 32px);
  border-radius: 24px;
  background: var(--surface);
}

.pl-fleet__controls {
  display: grid;
  gap: 28px;
}

@media (min-width: 1000px) {
  .pl-fleet__controls {
    grid-template-columns: minmax(0, 3fr) minmax(0, 4fr) minmax(0, 5fr);
    gap: 40px;
    align-items: start;
  }
}

.pl-fleet + .pl-small + .pl-grid-2 {
  margin-top: 40px;
}

.pl-fleet__intro .pl-small {
  margin-top: 6px;
}

.pl-palette {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 34px;
}

.pl-swatch {
  position: relative;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--c);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  cursor: pointer;
}

.pl-palette .pl-swatch[aria-disabled="true"] {
  cursor: default;
}

.pl-palette .pl-swatch:not([aria-disabled="true"]):hover::after,
.pl-palette .pl-swatch:not([aria-disabled="true"]):focus-visible::after {
  content: "\00D7";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(12, 12, 14, 0.55);
  color: #ffffff;
  font-size: 18px;
  line-height: 1;
}

.pl-palette__add {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.pl-palette__add .pl-small {
  margin: 0;
}

.pl-palette__picks {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.pl-swatch--pick {
  width: 28px;
  height: 28px;
}

.pl-swatch--pick:disabled {
  opacity: 0.35;
  cursor: default;
}

.pl-swatch--custom {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  overflow: hidden;
  border: 1px dashed var(--line-strong);
  background: transparent;
  box-shadow: none;
  color: var(--text-2);
  font-size: 16px;
}

.pl-swatch--custom input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.pl-swatch--custom:focus-within {
  outline: 2px solid var(--text);
  outline-offset: 2px;
}

.pl-plate__slots {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.pl-plate__slot {
  width: 36px;
  height: 44px;
  padding: 0;
  border-radius: 9px;
  border: 1px solid var(--line-strong);
  background: var(--bg);
  color: var(--text);
  font-family: var(--pl-mono);
  font-size: 17px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.pl-plate__slot:hover {
  border-color: var(--text-3);
}

.pl-plate__slot[data-kind="either"] {
  border-style: dashed;
  color: var(--gold-3, var(--text));
}

.pl-plate__row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.pl-plate__row .pl-btn:disabled {
  opacity: 0.4;
  cursor: default;
}

.pl-fleet__cars {
  display: grid;
  gap: 14px;
}

@media (min-width: 560px) {
  .pl-fleet__cars {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.pl-fleet__cab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 18px 14px 16px;
  border-radius: 18px;
  background: var(--bg);
}

.pl-fleet__cab .pl-car {
  max-width: 300px;
}

@media (max-width: 559px) {
  .pl-fleet__cab {
    flex-direction: row;
    justify-content: center;
    gap: 14px;
    padding: 12px;
  }

  .pl-fleet__cab .pl-car {
    max-width: 150px;
  }

  .pl-fleet__cab .pl-plateview--sm {
    width: 132px;
    height: 40px;
    font-size: 14px;
  }
}

.pl-plateview {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 300px);
  height: 74px;
  border-radius: 10px;
  background: #f4f3ef;
  box-shadow: inset 0 0 0 3px #f4f3ef, inset 0 0 0 4px rgba(12, 12, 14, 0.55);
  color: #15151a;
  font-family: var(--pl-mono);
  font-size: clamp(22px, 4vw, 30px);
  font-weight: 600;
  letter-spacing: 0.12em;
  font-variant-numeric: tabular-nums;
}

.pl-plateview--sm {
  width: min(100%, 196px);
  height: 50px;
  border-radius: 8px;
  font-size: 19px;
  letter-spacing: 0.1em;
}

/* ---------- Motion ---------- */

@media (prefers-reduced-motion: reduce) {
  .pl *,
  .pl *::before,
  .pl *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .pl-next:hover {
    transform: none;
  }
}
