/* assets/css/launch.css — the look of the COM K9 launch page.
 *
 * Copied verbatim from
 * frontend/src/components/campaign/templates/ProductLaunch.css. That file is
 * plain, `pl-`-scoped CSS on purpose — see its own note below — which is why
 * it travels here unchanged. The static markup in tools/build-launch.js
 * mirrors the React component's classes so this stylesheet keeps working;
 * change a class in one and it has to change in the other.
 *
 * The only additions are at the foot of the file, under "Static build".
 */

/*
 * Plain CSS rather than Tailwind utilities, on purpose.
 *
 * Tailwind only emits a utility once its scanner has seen the class in a
 * source file, and a dev server that was already running when this template
 * was added never rescanned for it: the page came up with a third of its
 * classes missing — white text on the light page, collapsed grids, borders in
 * the wrong colour. A stylesheet imported by the component travels with the
 * component through Vite whatever the scanner knows, so the launch page looks
 * the same in a long-running dev server, a fresh build and production.
 *
 * It is also unlayered, which is what lets it restyle the shared pieces the
 * template reuses (Copy, Bullets, Mark, the dialog) without `!important`:
 * Tailwind's utilities sit in `@layer utilities`, and unlayered rules win over
 * every layer. Everything here is scoped under a `pl-` class, so nothing
 * leaks onto the rest of the site.
 */

/* ── Tokens ─────────────────────────────────────────────────────────────── */

.pl-section,
.pl-lightbox,
.pl-done {
  --pl-ink: #0b0d12;
  --pl-ink-raised: #12151c;
  --pl-ink-line: rgb(255 255 255 / 0.09);
  --pl-on-ink: #f5f6f8;
  --pl-on-ink-muted: rgb(245 246 248 / 0.72);
  --pl-on-ink-faint: rgb(245 246 248 / 0.5);
  --pl-red: var(--primary);
  --pl-danger: #d0342c;
  --pl-red-on-ink: oklch(0.72 0.16 27);
  --pl-paper: #f4f1ec;
  --pl-page: var(--background);
  --pl-surface: #ffffff;
  --pl-line: #e5e2dc;
  --pl-text: var(--foreground);
  --pl-muted: var(--muted-foreground);
  --pl-radius-lg: 1.75rem;
  --pl-radius: 1.25rem;
  --pl-radius-sm: 0.875rem;
  --pl-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/*
 * Every grid starts as one shrinkable column.
 *
 * A grid track's default minimum is the content's own width, so one wide
 * child — the spec tabs are a single scrolling row — stretched its column
 * past the phone's edge and the whole page scrolled sideways. `minmax(0, 1fr)`
 * lets the column shrink and the child scroll inside it instead. The wider
 * layouts further down override this at their breakpoints.
 */
.pl-head,
.pl-hero__grid,
.pl-modes__card,
.pl-spot,
.pl-specs__layout,
.pl-ports__layout,
.pl-register__card,
.pl-faq,
.pl-closing__grid {
  grid-template-columns: minmax(0, 1fr);
}

/* ── Bands ──────────────────────────────────────────────────────────────── */

.pl-section {
  position: relative;
  padding-block: clamp(4rem, 3rem + 4vw, 7rem);
}

.pl-dark {
  isolation: isolate;
  overflow: hidden;
  background: var(--pl-ink);
  color: var(--pl-on-ink);
}

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

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

.pl-white {
  background: var(--pl-surface);
  color: var(--pl-text);
  border-block: 1px solid var(--pl-line);
}

/* A soft brand-red light behind a dark band; position set inline per band. */
.pl-glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(
    55% 60% at var(--x, 50%) var(--y, 50%),
    color-mix(in oklch, var(--pl-red) var(--s, 30%), transparent),
    transparent 72%
  );
}

/* ── Section heads ──────────────────────────────────────────────────────── */

.pl-head {
  display: grid;
  gap: 1.25rem;
  margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem);
}

.pl-head__side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
}

.pl-head--center {
  justify-items: center;
  text-align: center;
}

.pl-head--center .pl-eyebrow::before {
  display: none;
}

.pl-head--center .pl-lead {
  margin-inline: auto;
  margin-top: 1rem;
}

@media (min-width: 1024px) {
  .pl-head--split {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    column-gap: 4rem;
    align-items: end;
  }
}

.pl-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pl-red);
}

.pl-eyebrow::before {
  content: '';
  width: 2rem;
  height: 1px;
  background: currentColor;
}

.pl-dark .pl-eyebrow,
.pl-register__pitch .pl-eyebrow {
  color: var(--pl-red-on-ink);
}

.pl-title {
  margin: 1rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.35rem + 2.6vw, 3.5rem);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.035em;
  color: inherit;
  text-wrap: balance;
}

.pl-lead {
  max-width: 36rem;
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  line-height: 1.7;
  color: var(--pl-muted);
}

.pl-dark .pl-lead {
  color: var(--pl-on-ink-muted);
}

/* ── Buttons & links ────────────────────────────────────────────────────── */

.pl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 3rem;
  padding: 0 1.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 600;
  white-space: nowrap;
  transition: transform 0.2s var(--pl-ease), background-color 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.pl-btn svg {
  width: 1rem;
  height: 1rem;
  transition: transform 0.2s var(--pl-ease);
}

.pl-btn:hover svg {
  transform: translateX(3px);
}

.pl-btn--primary {
  background: var(--pl-red);
  color: #fff;
  /* `--cbl-bg`: a colour picked for this button in the editor tints its shadow too. */
  box-shadow: 0 12px 30px -12px color-mix(in oklch, var(--cbl-bg, var(--pl-red)) 80%, transparent);
}

.pl-btn--primary:hover {
  transform: translateY(-1px);
  background: color-mix(in oklch, var(--pl-red) 86%, black);
}

.pl-btn--ghost {
  border-color: rgb(255 255 255 / 0.24);
  background: rgb(255 255 255 / 0.05);
  color: var(--pl-on-ink);
}

.pl-btn--ghost:hover {
  border-color: rgb(255 255 255 / 0.4);
  background: rgb(255 255 255 / 0.1);
}

/* "Book now": the deposit button, on the ink so it reads as the buy action
   beside the red register button rather than as a second register. */
.pl-btn--book {
  background: var(--pl-ink);
  color: #fff;
  box-shadow: 0 12px 30px -12px rgb(11 13 18 / 0.6);
}

.pl-dark .pl-btn--book,
.pl-register__pitch .pl-btn--book {
  background: #fff;
  color: var(--pl-ink);
}

.pl-btn--book:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

/* Share: a round icon beside the main button, on the dark sections it sits
   in (hero, closing, the bar) — present, never competing with "Book now". */
.pl-share {
  position: relative;
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid rgb(255 255 255 / 0.24);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.05);
  color: var(--pl-on-ink, #fff);
  cursor: pointer;
  transition: transform 0.2s var(--pl-ease), background-color 0.2s, border-color 0.2s;
}

.pl-share:hover {
  transform: translateY(-1px);
  border-color: rgb(255 255 255 / 0.45);
  background: rgb(255 255 255 / 0.12);
}

.pl-share:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.pl-share svg {
  width: 1.125rem;
  height: 1.125rem;
}

.pl-share--bar {
  width: 2.5rem;
  height: 2.5rem;
}

.pl-share__toast {
  position: absolute;
  bottom: calc(100% + 0.5rem);
  left: 50%;
  padding: 0.3rem 0.65rem;
  border-radius: 0.5rem;
  background: #fff;
  box-shadow: 0 10px 24px -10px rgb(0 0 0 / 0.45);
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  color: var(--pl-ink);
  pointer-events: none;
  transform: translateX(-50%);
}

/* "$299 books yours today · remaining x,xxx USD, announced at launch" */
.pl-book-note {
  margin: 1rem 0 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--pl-muted);
}

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

.pl-dark .pl-book-note,
.pl-hero .pl-book-note,
.pl-register__pitch .pl-book-note {
  color: rgb(255 255 255 / 0.72);
}

.pl-dark .pl-book-note strong,
.pl-hero .pl-book-note strong,
.pl-register__pitch .pl-book-note strong {
  color: #fff;
}

/* The crowdfunding button, in the colour of the site it leads to. */
.pl-btn--fund {
  background: var(--fund, var(--pl-red));
  color: var(--fund-ink, #fff);
  box-shadow: 0 12px 30px -12px color-mix(in oklch, var(--cbl-bg, var(--fund, var(--pl-red))) 70%, transparent);
}

.pl-btn--fund:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}

.pl-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--pl-red);
}

.pl-link svg {
  width: 1rem;
  height: 1rem;
  transition: transform 0.2s var(--pl-ease);
}

.pl-link:hover svg {
  transform: translateX(3px);
}

.pl-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ── Pictures and clips ─────────────────────────────────────────────────── */

/*
 * `.pl-media` is any picture slot's content — an image, a silent loop, or a
 * player. `--fill` makes it cover whatever frame it is in, which is what
 * lets one component drop into a tile, a spotlight and a hero background.
 */
.pl-media {
  display: block;
  max-width: 100%;
}

.pl-media--fill {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.pl-video {
  display: block;
  width: 100%;
  border: 0;
  background: #000;
}

.pl-video:not(.pl-media--fill) {
  aspect-ratio: 16 / 9;
}

/* The poster with the play button, before a clip is loaded. */
.pl-video--facade {
  position: relative;
  overflow: hidden;
  padding: 0;
  cursor: pointer;
  text-align: left;
}

.pl-video--facade img,
.pl-video__blank {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--pl-ease);
}

.pl-video--facade:not(.pl-media--fill) img,
.pl-video--facade:not(.pl-media--fill) .pl-video__blank {
  position: absolute;
  inset: 0;
}

.pl-video__blank {
  background: radial-gradient(60% 60% at 50% 50%, #1c2029, #0b0d12);
}

.pl-video--facade:hover img {
  transform: scale(1.03);
}

.pl-video--facade::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(50% 50% at 50% 50%, rgb(0 0 0 / 0.35), rgb(0 0 0 / 0.05));
  transition: opacity 0.3s;
}

.pl-video__play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: clamp(3.5rem, 2.5rem + 3vw, 5.5rem);
  height: clamp(3.5rem, 2.5rem + 3vw, 5.5rem);
  border: 1px solid rgb(255 255 255 / 0.35);
  border-radius: 50%;
  background: rgb(255 255 255 / 0.14);
  color: #fff;
  box-shadow: 0 20px 50px -10px rgb(0 0 0 / 0.6);
  backdrop-filter: blur(12px);
  transform: translate(-50%, -50%);
  transition: transform 0.3s var(--pl-ease), background-color 0.3s;
}

.pl-video__play svg {
  width: 38%;
  height: 38%;
  margin-left: 6%;
  fill: currentColor;
}

.pl-video--facade:hover .pl-video__play,
.pl-video--facade:focus-visible .pl-video__play {
  background: var(--pl-red);
  border-color: var(--pl-red);
  transform: translate(-50%, -50%) scale(1.06);
}

.pl-media--ambient {
  pointer-events: none;
}

/* ── Shared lists ───────────────────────────────────────────────────────── */

.pl-bullets {
  display: grid;
  gap: 0.7rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.9375rem;
  line-height: 1.55;
}

.pl-bullets > li {
  margin: 0;
}

.pl-bullets svg {
  margin-top: 0.2rem;
  width: 1rem;
  height: 1rem;
  color: var(--pl-red);
}

.pl-dark .pl-bullets,
.pl-register__pitch .pl-bullets {
  color: var(--pl-on-ink);
}

.pl-dark .pl-bullets svg,
.pl-register__pitch .pl-bullets svg {
  color: var(--pl-red-on-ink);
}

/* ── Hero ───────────────────────────────────────────────────────────────── */

.pl-hero {
  padding-block: clamp(3.5rem, 2.5rem + 4vw, 6rem) clamp(2.5rem, 2rem + 2vw, 3.5rem);
}

.pl-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  opacity: 0.3;
}

/* Keeps the copy side near-black so the headline and body always read,
   whatever background image an editor uploads. */
.pl-hero__veil {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(50% 65% at 76% 48%, color-mix(in oklch, var(--pl-red) 30%, transparent), transparent 72%),
    linear-gradient(90deg, var(--pl-ink) 0%, rgb(11 13 18 / 0.94) 36%, rgb(11 13 18 / 0.4) 72%, rgb(11 13 18 / 0.6) 100%),
    linear-gradient(0deg, var(--pl-ink) 0%, transparent 40%);
}

.pl-hero__grid {
  display: grid;
  align-items: center;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .pl-hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 4rem;
    min-height: 34rem;
  }

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

.pl-hero__copy {
  max-width: 36rem;
}

.pl-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
  padding: 0.3rem 1rem 0.3rem 0.3rem;
  border: 1px solid rgb(255 255 255 / 0.16);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.06);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--pl-on-ink);
  backdrop-filter: blur(8px);
}

.pl-badge__dot {
  position: relative;
  display: grid;
  place-items: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: var(--pl-red);
  color: #fff;
}

.pl-badge__dot::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--pl-red);
  opacity: 0.55;
  animation: pl-ping 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.pl-badge__dot svg {
  position: relative;
  width: 0.85rem;
  height: 0.85rem;
}

@keyframes pl-ping {
  75%,
  100% {
    transform: scale(1.9);
    opacity: 0;
  }
}

.pl-hero__kicker {
  margin: 1.75rem 0 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--pl-on-ink-faint);
}

.pl-hero__title {
  margin: 0.6rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(3.25rem, 1.8rem + 6vw, 6.5rem);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.05em;
  color: #fff;
}

.pl-hero__tagline {
  margin: 1rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 1.05rem + 1.2vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--pl-on-ink);
}

.pl-hero__body {
  margin-top: 1.25rem;
  max-width: 34rem;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--pl-on-ink-muted);
}

.pl-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
}

.pl-chip {
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--pl-ink-line);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.04);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--pl-on-ink);
}

.pl-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.25rem;
}

.pl-hero__art {
  position: relative;
  width: 100%;
  max-width: 44rem;
  margin-inline: auto;
  perspective: 1400px;
}

.pl-hero__glow {
  position: absolute;
  inset: 12% 10%;
  z-index: -1;
  border-radius: 50%;
  background: color-mix(in oklch, var(--pl-red) 32%, transparent);
  filter: blur(80px);
}

.pl-hero__tilt {
  transform-style: preserve-3d;
}

.pl-hero__img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 40px 50px rgb(0 0 0 / 0.65));
}

/* The contact shadow stays on the "desk" while the render floats. */
.pl-hero__shadow {
  width: 64%;
  height: 1.5rem;
  margin: -0.25rem auto 0;
  border-radius: 50%;
  background: rgb(0 0 0 / 0.85);
  filter: blur(18px);
}

/* ── Headline numbers ───────────────────────────────────────────────────── */

.pl-stats {
  padding-block: 0 clamp(3.5rem, 3rem + 2vw, 5rem);
}

.pl-stats__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--pl-ink-line);
  border-radius: var(--pl-radius);
  background: var(--pl-ink-line);
}

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

@media (min-width: 1024px) {
  .pl-stats__grid[data-count='4'] { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pl-stats__grid[data-count='5'] { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .pl-stats__grid[data-count='6'] { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

.pl-stat {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.5rem;
  background: #0f1218;
}

.pl-stat__icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--pl-red-on-ink);
}

.pl-stat__value {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin: 0.25rem 0 0;
}

.pl-stat__num {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 1.9rem + 1.2vw, 3rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.pl-stat__unit {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--pl-on-ink-faint);
}

.pl-stat__label {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--pl-on-ink-muted);
}

/* ── 3D scroll showcase ─────────────────────────────────────────────────── */

/*
 * `overflow: visible`, unlike the other dark bands: an ancestor with
 * `overflow: hidden` becomes the scroll container a sticky child sticks to,
 * and since that ancestor never scrolls the scene would never pin.
 */
.pl-show {
  --pl-header: 100px;
  padding-block: 0;
  overflow: visible;
}

/* One screen of scrolling per stage, so the stage count sets the height. */
.pl-show__track {
  position: relative;
  height: calc(var(--stages, 1) * 100vh);
  height: calc(var(--stages, 1) * 100svh);
}

/* Pinned just under the site's fixed header, not under it. */
.pl-show__sticky {
  position: sticky;
  top: var(--pl-header);
  height: calc(100vh - var(--pl-header));
  height: calc(100svh - var(--pl-header));
  overflow: hidden;
}

.pl-show__canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.pl-show__fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12% 6%;
}

.pl-show__fallback img {
  max-width: min(100%, 44rem);
  filter: drop-shadow(0 40px 50px rgb(0 0 0 / 0.65));
}

@media (min-width: 1024px) {
  .pl-show__fallback {
    justify-content: flex-end;
    padding-right: 8%;
  }
}

.pl-show__loading {
  position: absolute;
  top: 50%;
  left: 50%;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1rem;
  border: 1px solid var(--pl-ink-line);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.05);
  font-size: 0.8125rem;
  color: var(--pl-on-ink-muted);
  transform: translate(-50%, -50%);
  backdrop-filter: blur(8px);
}

.pl-show__spinner {
  width: 0.9rem;
  height: 0.9rem;
  border: 2px solid rgb(255 255 255 / 0.2);
  border-top-color: #fff;
  border-radius: 50%;
  animation: pl-spin 0.8s linear infinite;
}

@keyframes pl-spin {
  to { transform: rotate(360deg); }
}

.pl-show__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.pl-show__svg g {
  transition: opacity 0.25s;
}

.pl-show__svg polyline {
  fill: none;
  stroke: rgb(255 255 255 / 0.55);
  stroke-width: 1;
}

.pl-show__svg circle {
  fill: var(--pl-red);
  stroke: rgb(255 255 255 / 0.9);
  stroke-width: 1.5;
}

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

/* The stage rail: which step you are on, and a way to jump between them. */
.pl-show__rail {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 2;
  display: flex;
  gap: 0.35rem;
  padding: 0.3rem;
  border: 1px solid var(--pl-ink-line);
  border-radius: 999px;
  background: rgb(11 13 18 / 0.75);
  backdrop-filter: blur(10px);
}

.pl-show__rail button {
  padding: 0.35rem 0.7rem;
  border: 0;
  border-radius: 999px;
  background: none;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pl-on-ink-faint);
  cursor: pointer;
  transition: color 0.2s, background-color 0.2s;
}

.pl-show__rail button:hover {
  color: #fff;
}

.pl-show__rail button[aria-current='step'] {
  background: #fff;
  color: var(--pl-ink);
}

@media (max-width: 767px) {
  .pl-show__rail {
    top: 0.75rem;
    right: 50%;
    max-width: calc(100vw - 2rem);
    overflow-x: auto;
    scrollbar-width: none;
    transform: translateX(50%);
  }

  .pl-show__rail button {
    flex-shrink: 0;
    padding: 0.35rem 0.5rem;
  }
}

/* How far through the tour: one hairline along the bottom of the scene. */
.pl-show__progress {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  height: 2px;
  background: rgb(255 255 255 / 0.08);
}

.pl-show__progress > span {
  display: block;
  height: 100%;
  background: var(--pl-red);
  transform: scaleX(var(--progress, 0));
  transform-origin: left;
}

/* Shown until the first scroll, then gone. */
.pl-show__hint {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--pl-on-ink-faint);
  transform: translateX(-50%);
  transition: opacity 0.4s;
}

.pl-show__hint svg {
  width: 1.1rem;
  height: 1.1rem;
  animation: pl-nudge 1.6s var(--pl-ease) infinite;
}

.pl-show__track[data-started='true'] .pl-show__hint {
  opacity: 0;
}

@keyframes pl-nudge {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50% { transform: translateY(0.35rem); opacity: 1; }
}

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

/* The copy for each stage rides over the pinned scene, one screen apart. */
.pl-show__steps {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  pointer-events: none;
}

.pl-show__step {
  position: sticky;
  top: var(--pl-header);
  display: flex;
  align-items: flex-end;
  height: calc(100vh - var(--pl-header));
  height: calc(100svh - var(--pl-header));
  padding-bottom: 4.5rem;
}

/* On a phone the copy sits over the bottom of the scene, so a scrim keeps
   it legible whatever part of the product is behind it. */
@media (max-width: 767px) {
  .pl-show__figure {
    font-size: 2.5rem;
  }

  .pl-show__rows > div {
    grid-template-columns: minmax(0, 6.5rem) minmax(0, 1fr);
    padding: 0.45rem 0;
    font-size: 0.8125rem;
  }

  .pl-show__step::before {
    content: '';
    position: absolute;
    inset: 34% 0 0;
    background: linear-gradient(0deg, rgb(11 13 18 / 0.98) 0%, rgb(11 13 18 / 0.95) 55%, rgb(11 13 18 / 0.7) 80%, transparent 100%);
    opacity: 0;
    transition: opacity 0.5s var(--pl-ease);
    pointer-events: none;
  }

  .pl-show__step[data-active='true']::before {
    opacity: 1;
  }

  .pl-show__step > .market-container {
    position: relative;
  }
}

/* The list is as tall as the track; each step takes one screen of it. */
.pl-show__steps {
  height: calc(var(--stages, 1) * 100vh);
  height: calc(var(--stages, 1) * 100svh);
}

@media (min-width: 768px) {
  .pl-show__step {
    align-items: center;
    padding-bottom: 0;
  }
}

.pl-show__step > .market-container {
  width: 100%;
}

.pl-show__card {
  max-width: 24rem;
  opacity: 0;
  transform: translateY(1.25rem);
  transition: opacity 0.5s var(--pl-ease), transform 0.6s var(--pl-ease);
  pointer-events: none;
}

@media (min-width: 1024px) {
  .pl-show__card {
    max-width: 26rem;
  }
}

.pl-show__step[data-active='true'] .pl-show__card {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

/* "02 / 06 · Display" — where this stage sits in the tour. */
.pl-show__count {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin: 0 0 1.1rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--pl-on-ink-faint);
  font-variant-numeric: tabular-nums;
}

.pl-show__count > span:first-child {
  font-family: var(--font-display);
  font-size: 1rem;
  color: #fff;
}

.pl-show__count-label {
  margin-left: 0.5rem;
  padding-left: 0.85rem;
  border-left: 1px solid var(--pl-ink-line);
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

/* The one number a stage is about — 7″, 120°, 100″. */
.pl-show__figure {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 0.75rem;
  margin: 0.9rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(3rem, 2rem + 3.5vw, 4.75rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.045em;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.pl-show__figure > span {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--pl-on-ink-muted);
}

.pl-show__title {
  margin: 0.75rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.75rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #fff;
  text-wrap: balance;
}

/* Under a figure the headline steps down so the two do not compete. */
.pl-show__title--after-figure {
  margin-top: 1.1rem;
  font-size: clamp(1.4rem, 1.1rem + 1vw, 1.875rem);
}

/* The stage's spec table: label on the left, value on the right. */
.pl-show__rows {
  margin: 1.4rem 0 0;
  border-top: 1px solid var(--pl-ink-line);
}

.pl-show__rows > div {
  display: grid;
  grid-template-columns: minmax(0, 8.5rem) minmax(0, 1fr);
  gap: 1rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--pl-ink-line);
  font-size: 0.875rem;
  line-height: 1.45;
}

.pl-show__rows dt {
  color: var(--pl-on-ink-faint);
}

.pl-show__rows dd {
  margin: 0;
  font-weight: 600;
  color: var(--pl-on-ink);
  font-variant-numeric: tabular-nums;
}

.pl-show__body {
  margin-top: 0.9rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--pl-on-ink-muted);
}

@media (min-width: 768px) {
  .pl-show__body {
    font-size: 1.0625rem;
    line-height: 1.7;
  }
}

.pl-show__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.pl-show__specs li {
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--pl-ink-line);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.05);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--pl-on-ink);
  font-variant-numeric: tabular-nums;
}

/*
 * The parts a stage points at. On a wide screen each one is the start of a
 * line to the part itself (drawn in the SVG over the canvas); on a phone
 * they are a plain list, which is why they sit in the copy and not over
 * the picture.
 */
.pl-show__callouts {
  display: grid;
  gap: 0.45rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--pl-on-ink);
}

.pl-show__callouts li {
  width: max-content;
  max-width: 100%;
}

/* On a phone there are no lines to draw to the parts (the SVG is hidden),
   and the stage's rows already name them — so the list goes, and the copy
   stays short enough to sit under the product instead of over it. */
@media (max-width: 767px) {
  .pl-show__callouts {
    display: none;
  }
}

@media (min-width: 768px) {
  .pl-show__callouts {
    gap: 0.5rem;
  }

  .pl-show__callouts li {
    padding: 0.4rem 0.8rem;
    border: 1px solid rgb(255 255 255 / 0.14);
    border-radius: 999px;
    background: rgb(11 13 18 / 0.8);
    font-size: 0.8125rem;
    backdrop-filter: blur(8px);
  }
}

.pl-show__cta {
  margin-top: 1.5rem;
}

/* ── Demo video ─────────────────────────────────────────────────────────── */

.pl-film__player {
  position: relative;
  max-width: 72rem;
  margin-inline: auto;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--pl-ink-line);
  border-radius: var(--pl-radius-lg);
  background: #000;
  box-shadow: 0 50px 100px -40px rgb(0 0 0 / 0.85);
}

.pl-film__caption {
  max-width: 72rem;
  margin: 1rem auto 0;
  font-size: 0.8125rem;
  color: var(--pl-on-ink-faint);
  text-align: center;
  font-variant-numeric: tabular-nums;
}

/* ── Crowdfunding ───────────────────────────────────────────────────────── */

.pl-fund {
  padding-block: clamp(2.5rem, 2rem + 2vw, 4rem);
}

/* One strip: the line on the left, the button on the right. */
.pl-fund__strip {
  display: grid;
  gap: 1.5rem;
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  border: 1px solid var(--pl-line);
  border-radius: var(--pl-radius-lg);
  background: var(--pl-paper);
}

@media (min-width: 900px) {
  .pl-fund__strip {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 3rem;
  }
}

.pl-fund__title {
  margin: 0.9rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--pl-text);
  text-wrap: balance;
}

.pl-fund__body {
  margin-top: 0.5rem;
  max-width: 40rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--pl-muted);
}

.pl-fund__action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

@media (min-width: 900px) {
  .pl-fund__action {
    align-items: flex-end;
  }
}

/* "Live on Kickstarter", with a pulse in the platform's colour. */
.pl-fund__live {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
  padding: 0.45rem 0.95rem 0.45rem 0.7rem;
  border: 1px solid var(--pl-line);
  border-radius: 999px;
  background: var(--pl-surface);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pl-text);
}

.pl-fund__dot {
  position: relative;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--fund);
}

.pl-fund__dot::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--fund);
  opacity: 0.6;
  animation: pl-ping 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.pl-fund__note {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--pl-muted);
}

/* ── Modes ──────────────────────────────────────────────────────────────── */

/* Every mode in one row, above the picture it changes. On a phone the row
   scrolls sideways inside itself; the page never does. */
.pl-modes__tabs {
  display: flex;
  gap: 0.375rem;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 1.75rem;
  padding: 0.375rem;
  overflow-x: auto;
  scrollbar-width: none;
  border: 1px solid var(--pl-line);
  border-radius: 999px;
  background: var(--pl-surface);
  box-shadow: 0 18px 40px -30px rgb(15 17 22 / 0.35);
}

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

.pl-modes__tab {
  position: relative;
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.5rem;
  height: 2.75rem;
  padding: 0 1.15rem;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-size: 0.9375rem;
  font-weight: 600;
  white-space: nowrap;
  color: var(--pl-muted);
  cursor: pointer;
  transition: background-color 0.25s, color 0.25s;
}

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

.pl-modes__tab.is-active {
  background: var(--pl-ink);
  color: #fff;
}

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

.pl-modes__tab-icon {
  width: 1.05rem;
  height: 1.05rem;
  color: inherit;
}

.pl-modes__tab.is-active .pl-modes__tab-icon {
  color: var(--pl-red);
}

.pl-modes__tab-num {
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
  opacity: 0.7;
}

/* How long until the showcase moves on, inside the open tab. */
.pl-modes__tab-progress {
  position: absolute;
  right: 1.15rem;
  bottom: 0.3rem;
  left: 1.15rem;
  height: 2px;
  overflow: hidden;
  border-radius: 2px;
  background: rgb(255 255 255 / 0.18);
}

.pl-modes__tab-progress > span {
  display: block;
  height: 100%;
  background: var(--pl-red);
  transform: scaleX(0);
  transform-origin: left;
}

/* The picture and the words, as one card. */
.pl-modes__card {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--pl-line);
  border-radius: var(--pl-radius-lg);
  background: var(--pl-surface);
  box-shadow: 0 30px 60px -36px rgb(15 17 22 / 0.4);
}

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

.pl-modes__stage {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #1a1d24;
}

/* Beside the words it fills the card height instead of forcing one. */
@media (min-width: 1024px) {
  .pl-modes__stage {
    aspect-ratio: auto;
    min-height: 30rem;
  }
}

.pl-modes__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  /* The product sits a little below the middle of each photograph. */
  object-position: 50% 55%;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.7s var(--pl-ease), transform 1.4s var(--pl-ease);
}

.pl-modes__img.is-active {
  opacity: 1;
  transform: scale(1);
}

.pl-modes__count {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: rgb(11 13 18 / 0.55);
  backdrop-filter: blur(6px);
  font-size: 0.75rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: #fff;
}

.pl-modes__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.75rem;
  padding: clamp(1.5rem, 1rem + 2vw, 3rem);
}

/* Stacked in one cell, so the tallest mode sets the height and switching
   never moves anything below the card. */
.pl-modes__panels {
  display: grid;
}

.pl-modes__panel {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(10px);
  visibility: hidden;
  transition: opacity 0.45s var(--pl-ease), transform 0.45s var(--pl-ease), visibility 0s linear 0.45s;
}

.pl-modes__panel.is-active {
  opacity: 1;
  transform: none;
  visibility: visible;
  transition: opacity 0.45s var(--pl-ease), transform 0.45s var(--pl-ease), visibility 0s;
}

.pl-modes__step {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pl-red);
}

.pl-modes__step span {
  color: var(--pl-muted);
}

.pl-modes__title {
  margin: 0.75rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--pl-text);
  text-wrap: balance;
}

.pl-modes__text {
  margin-top: 0.75rem;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--pl-muted);
}

.pl-modes__panel .pl-bullets {
  margin-top: 1.25rem;
  gap: 0.55rem;
  font-size: 0.9375rem;
}

.pl-modes__nav {
  display: flex;
  gap: 0.5rem;
}

/* Arrows on the picture on a phone and tablet; beside the words on a desktop. */
.pl-modes__nav--stage {
  position: absolute;
  right: 0.875rem;
  bottom: 0.875rem;
  z-index: 1;
}

.pl-modes__nav--stage .pl-modes__arrow {
  border-color: rgb(255 255 255 / 0.25);
  background: rgb(11 13 18 / 0.55);
  color: #fff;
  backdrop-filter: blur(6px);
}

.pl-modes__nav--body {
  display: none;
}

@media (min-width: 1024px) {
  .pl-modes__nav--stage {
    display: none;
  }

  .pl-modes__nav--body {
    display: flex;
  }
}

.pl-modes__arrow {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--pl-line);
  border-radius: 50%;
  background: var(--pl-surface);
  color: var(--pl-text);
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.pl-modes__arrow:hover {
  border-color: var(--pl-ink);
  background: var(--pl-ink);
  color: #fff;
}

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

.pl-modes__arrow svg {
  width: 1.1rem;
  height: 1.1rem;
}

/* ── Feature spotlights ─────────────────────────────────────────────────── */

.pl-spots {
  display: flex;
  flex-direction: column;
  gap: clamp(4rem, 3rem + 4vw, 7rem);
}

.pl-spot {
  display: grid;
  align-items: center;
  gap: 2rem;
}

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

  .pl-spot--flip .pl-spot__media {
    order: 2;
  }

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

/* Every picture sits on the same dark frame — cut-out renders and full
   marketing panels alike — so a column of mixed artwork reads as one set. */
.pl-spot__media {
  position: relative;
  isolation: isolate;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid rgb(0 0 0 / 0.06);
  border-radius: var(--pl-radius-lg);
  background: var(--pl-ink);
}

.pl-spot__media::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(65% 60% at 50% 62%, color-mix(in oklch, var(--pl-red) 24%, transparent), transparent 72%);
}

.pl-spot__frame {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pl-spot__img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--pl-radius-sm);
  transition: transform 0.8s var(--pl-ease);
}

.pl-spot:hover .pl-spot__img {
  transform: scale(1.025);
}

.pl-spot__tag {
  position: absolute;
  top: 1.1rem;
  left: 1.1rem;
  padding: 0.45rem 0.85rem;
  border: 1px solid rgb(255 255 255 / 0.16);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.1);
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  backdrop-filter: blur(10px);
}

.pl-spot__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pl-red);
}

.pl-spot__num {
  font-family: var(--font-display);
  font-size: 0.875rem;
  letter-spacing: 0;
  color: var(--pl-muted);
  font-variant-numeric: tabular-nums;
}

.pl-spot__rule {
  width: 2rem;
  height: 1px;
  background: var(--pl-line);
}

.pl-spot__title {
  margin: 1rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.25rem + 1.5vw, 2.5rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--pl-text);
  text-wrap: balance;
}

.pl-spot__body {
  max-width: 34rem;
  margin-top: 1rem;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--pl-muted);
}

.pl-spot .pl-link {
  margin-top: 1.75rem;
}

/* ── Built for ──────────────────────────────────────────────────────────── */

.pl-tiles {
  display: grid;
  grid-auto-rows: 17rem;
  gap: 1rem;
}

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

  .pl-tile:first-child {
    grid-column: span 2;
    grid-row: span 2;
  }
}

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

  .pl-tile:nth-child(2) {
    grid-column: span 2;
  }
}

.pl-tile {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--pl-ink-line);
  border-radius: var(--pl-radius);
  background: var(--pl-ink-raised);
}

.pl-tile img,
.pl-tile video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  transition: transform 0.9s var(--pl-ease);
}

.pl-tile:hover img,
.pl-tile:hover video {
  transform: scale(1.05);
}

.pl-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgb(5 6 9 / 0.94) 0%, rgb(5 6 9 / 0.45) 42%, rgb(5 6 9 / 0) 72%);
}

.pl-tile__body {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  padding: 1.5rem;
}

.pl-tile__tag {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.16);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  backdrop-filter: blur(8px);
}

.pl-tile__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.2;
  color: #fff;
}

.pl-tile:first-child .pl-tile__title {
  font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.25rem);
}

.pl-tile__text {
  max-width: 28rem;
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgb(255 255 255 / 0.78);
}

/* ── Spec sheet ─────────────────────────────────────────────────────────── */

.pl-specs__layout {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 1024px) {
  .pl-specs__layout--aside {
    grid-template-columns: 18rem minmax(0, 1fr);
    gap: 3.5rem;
  }
}

.pl-specs__aside {
  display: none;
}

@media (min-width: 1024px) {
  .pl-specs__aside {
    display: block;
  }
}

.pl-specs__figure {
  position: sticky;
  top: 9rem;
  display: flex;
  justify-content: center;
  padding: 2rem 1.5rem;
  border-radius: var(--pl-radius-lg);
  background: var(--pl-paper);
}

.pl-specs__figure img {
  width: auto;
  max-width: 100%;
  max-height: 30rem;
}

.pl-toggle {
  height: 2.5rem;
  padding: 0 1.1rem;
  border: 1px solid var(--pl-line);
  border-radius: 999px;
  background: var(--pl-surface);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--pl-text);
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s;
}

.pl-toggle:hover {
  border-color: #cfcbc3;
  background: #faf9f6;
}

.pl-tabs {
  display: flex;
  gap: 0.5rem;
  margin-inline: -1rem;
  padding: 0 1rem 0.25rem;
  overflow-x: auto;
  scrollbar-width: none;
}

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

@media (min-width: 640px) {
  .pl-tabs {
    flex-wrap: wrap;
    margin-inline: 0;
    padding-inline: 0;
    overflow: visible;
  }
}

.pl-tab {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.5rem;
  height: 2.5rem;
  padding: 0 1rem;
  border: 1px solid var(--pl-line);
  border-radius: 999px;
  background: var(--pl-surface);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--pl-muted);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background-color 0.2s;
}

.pl-tab:hover {
  border-color: #cfcbc3;
  color: var(--pl-text);
}

.pl-tab[aria-selected='true'] {
  border-color: var(--pl-text);
  background: var(--pl-text);
  color: #fff;
}

.pl-tab__icon {
  width: 1rem;
  height: 1rem;
  color: var(--pl-red);
}

.pl-tab[aria-selected='true'] .pl-tab__icon {
  color: #fff;
}

.pl-table {
  margin: 1.5rem 0 0;
  overflow: hidden;
  border: 1px solid var(--pl-line);
  border-radius: var(--pl-radius);
  background: var(--pl-surface);
}

.pl-table + .pl-group {
  margin-top: 2.5rem;
}

.pl-group-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--pl-text);
}

.pl-group + .pl-group {
  margin-top: 2.5rem;
}

.pl-group .pl-table {
  margin-top: 0.85rem;
}

.pl-row {
  display: grid;
  gap: 0.2rem;
  padding: 0.9rem 1.25rem;
  border-top: 1px solid var(--pl-line);
  font-size: 0.9375rem;
}

.pl-row:first-child {
  border-top: 0;
}

.pl-row:nth-child(odd) {
  background: #faf9f6;
}

@media (min-width: 640px) {
  .pl-row {
    grid-template-columns: 14rem minmax(0, 1fr);
    gap: 1.5rem;
  }
}

.pl-row dt {
  color: var(--pl-muted);
}

.pl-row dd {
  margin: 0;
  font-weight: 600;
  color: var(--pl-text);
}

.pl-specs__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-top: 1.5rem;
}

.pl-note {
  max-width: 40rem;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--pl-muted);
}

/* ── Ports ──────────────────────────────────────────────────────────────── */

.pl-ports__layout {
  display: grid;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .pl-ports__layout {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    align-items: start;
    gap: 3.5rem;
  }

  .pl-ports__stage {
    position: sticky;
    top: 9rem;
  }
}

.pl-ports__stage {
  padding: clamp(1.25rem, 1rem + 2vw, 2.5rem);
  border: 1px solid var(--pl-ink-line);
  border-radius: var(--pl-radius-lg);
  background:
    radial-gradient(80% 70% at 50% 65%, rgb(255 255 255 / 0.07), transparent 72%),
    var(--pl-ink-raised);
}

.pl-ports__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.pl-ports__view-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pl-on-ink-faint);
}

.pl-ports__view {
  position: relative;
  aspect-ratio: 3.1 / 1;
}

.pl-ports__view img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  transition: opacity 0.45s var(--pl-ease), transform 0.45s var(--pl-ease);
}

.pl-ports__view img[data-on='false'] {
  opacity: 0;
  transform: translateY(0.5rem);
}

.pl-seg {
  display: inline-flex;
  padding: 4px;
  border: 1px solid var(--pl-ink-line);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.04);
}

.pl-seg button {
  height: 2.25rem;
  padding: 0 1.25rem;
  border: 0;
  border-radius: 999px;
  background: none;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--pl-on-ink-muted);
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}

.pl-seg button:hover {
  color: #fff;
}

.pl-seg button[aria-selected='true'] {
  background: #fff;
  color: var(--pl-ink);
}

.pl-portlist {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 640px) and (max-width: 1023px) {
  .pl-portlist {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.pl-port {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--pl-ink-line);
  border-radius: var(--pl-radius-sm);
  background: rgb(255 255 255 / 0.025);
  transition: border-color 0.2s, background-color 0.2s;
}

.pl-port:hover {
  border-color: rgb(255 255 255 / 0.2);
  background: rgb(255 255 255 / 0.05);
}

.pl-port__num {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--pl-red);
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.pl-port__text {
  flex: 1;
  min-width: 0;
}

.pl-port__title {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--pl-on-ink);
}

.pl-port__detail {
  margin: 0.15rem 0 0;
  font-size: 0.8125rem;
  color: var(--pl-on-ink-muted);
}

.pl-port__icon {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  color: var(--pl-on-ink-faint);
}

/* ── Register interest ──────────────────────────────────────────────────── */

.pl-register__card {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--pl-line);
  border-radius: var(--pl-radius-lg);
  background: var(--pl-surface);
  box-shadow: 0 40px 80px -40px rgb(15 17 22 / 0.35);
}

@media (min-width: 1024px) {
  .pl-register__card {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }
}

.pl-register__pitch {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: clamp(2rem, 1.5rem + 2.5vw, 3.25rem);
  background: var(--pl-ink);
  color: var(--pl-on-ink);
}

.pl-register__title {
  margin: 1rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.35rem + 1.5vw, 2.5rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: #fff;
  text-wrap: balance;
}

.pl-register__body {
  margin-top: 1.1rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--pl-on-ink-muted);
}

.pl-register__img {
  width: 100%;
  max-width: 24rem;
  margin: 2.5rem auto 0;
  filter: drop-shadow(0 30px 40px rgb(0 0 0 / 0.6));
}

@media (min-width: 1024px) {
  .pl-register__img {
    margin-top: auto;
    padding-top: 2.5rem;
  }
}

.pl-register__form {
  padding: clamp(1.5rem, 1rem + 2.5vw, 3.25rem);
  color: var(--pl-text);
}

.pl-register__formtitle {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
}

.pl-register__hint {
  margin: 0.35rem 0 1.75rem;
  font-size: 0.875rem;
  color: var(--pl-muted);
}

.pl-register__hint span {
  color: var(--destructive);
}

/* A full-width submit on a phone, under a column of full-width fields. */
@media (max-width: 639px) {
  .pl-register__form button[type='submit'] {
    align-self: stretch;
    width: 100%;
  }
}

/* ── Gallery ────────────────────────────────────────────────────────────── */

.pl-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 10rem;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .pl-gallery {
    grid-auto-rows: 13rem;
    gap: 1rem;
  }
}

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

.pl-shot {
  position: relative;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: var(--pl-radius);
  background: #e9e6e0;
  cursor: zoom-in;
}

.pl-shot--big {
  grid-column: span 2;
  grid-row: span 2;
}

.pl-shot--wide {
  grid-column: span 2;
}

.pl-shot img,
.pl-shot video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  transition: transform 0.9s var(--pl-ease);
}

.pl-shot:hover img,
.pl-shot:hover video {
  transform: scale(1.05);
}

/* A tile that holds a clip says so before it is hovered. */
.pl-shot__play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid rgb(255 255 255 / 0.35);
  border-radius: 50%;
  background: rgb(0 0 0 / 0.45);
  color: #fff;
  backdrop-filter: blur(8px);
  transform: translate(-50%, -50%);
  transition: background-color 0.3s, transform 0.3s var(--pl-ease);
}

.pl-shot__play svg {
  width: 1.1rem;
  height: 1.1rem;
  margin-left: 2px;
  fill: currentColor;
}

.pl-shot:hover .pl-shot__play {
  background: var(--pl-red);
  border-color: var(--pl-red);
  transform: translate(-50%, -50%) scale(1.08);
}

.pl-lightbox__video {
  width: min(84vw, 62rem);
  aspect-ratio: 16 / 9;
  border-radius: var(--pl-radius-sm);
  overflow: hidden;
}

.pl-shot__caption {
  position: absolute;
  inset: auto 0 0;
  padding: 2.5rem 1rem 0.9rem;
  background: linear-gradient(0deg, rgb(0 0 0 / 0.7), transparent);
  font-size: 0.8125rem;
  font-weight: 600;
  color: #fff;
  text-align: left;
  opacity: 0;
  transform: translateY(0.5rem);
  transition: opacity 0.3s, transform 0.3s var(--pl-ease);
}

.pl-shot:hover .pl-shot__caption,
.pl-shot:focus-visible .pl-shot__caption {
  opacity: 1;
  transform: none;
}

.pl-shot__zoom {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: rgb(0 0 0 / 0.45);
  color: #fff;
  opacity: 0;
  backdrop-filter: blur(6px);
  transition: opacity 0.3s;
}

.pl-shot__zoom svg {
  width: 1rem;
  height: 1rem;
}

.pl-shot:hover .pl-shot__zoom {
  opacity: 1;
}

.pl-lightbox {
  max-width: min(64rem, calc(100vw - 2rem));
  gap: 0.75rem;
  padding: 0.75rem;
  border-color: var(--pl-ink-line);
  border-radius: var(--pl-radius);
  background: var(--pl-ink);
  color: var(--pl-on-ink);
}

.pl-lightbox__stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pl-lightbox__stage img {
  width: auto;
  max-height: 78vh;
  border-radius: var(--pl-radius-sm);
  object-fit: contain;
}

.pl-lightbox__nav {
  position: absolute;
  top: 50%;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 50%;
  background: rgb(0 0 0 / 0.55);
  color: #fff;
  cursor: pointer;
  transform: translateY(-50%);
  backdrop-filter: blur(6px);
}

.pl-lightbox__nav:hover {
  background: rgb(0 0 0 / 0.75);
}

.pl-lightbox__nav--prev {
  left: 0.5rem;
}

.pl-lightbox__nav--next {
  right: 0.5rem;
}

.pl-lightbox__nav svg,
.pl-lightbox__close svg {
  width: 1.15rem;
  height: 1.15rem;
}

.pl-lightbox__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 0.25rem;
  font-size: 0.875rem;
  color: var(--pl-on-ink-muted);
}

.pl-lightbox__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-variant-numeric: tabular-nums;
}

.pl-lightbox__close {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.1);
  color: #fff;
  cursor: pointer;
}

.pl-lightbox__close:hover {
  background: rgb(255 255 255 / 0.2);
}

/* ── FAQ ────────────────────────────────────────────────────────────────── */

.pl-faq {
  display: grid;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .pl-faq {
    grid-template-columns: minmax(0, 22rem) minmax(0, 1fr);
    align-items: start;
    gap: 4.5rem;
  }

  .pl-faq__head {
    position: sticky;
    top: 9rem;
  }
}

.pl-faq__head .pl-lead {
  margin-top: 1rem;
}

.pl-faq__head .pl-link {
  margin-top: 1.25rem;
}

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

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

.pl-faq__q {
  margin: 0;
}

.pl-faq__q button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
  padding: 1.35rem 0;
  border: 0;
  background: none;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--pl-text);
  text-align: left;
  cursor: pointer;
}

.pl-faq__q button:hover {
  color: var(--pl-red);
}

.pl-faq__chev {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--pl-line);
  border-radius: 50%;
  background: var(--pl-surface);
  color: var(--pl-muted);
  transition: transform 0.3s var(--pl-ease), background-color 0.2s, color 0.2s;
}

.pl-faq__chev svg {
  width: 1rem;
  height: 1rem;
}

.pl-faq__item.is-open .pl-faq__chev {
  transform: rotate(180deg);
  border-color: var(--pl-red);
  background: var(--pl-red);
  color: #fff;
}

/* Answers stay in the DOM when closed — the FAQPage structured data covers
   them — and animate open by growing the row, not by measuring heights. */
.pl-faq__a {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows 0.35s var(--pl-ease), visibility 0.35s;
}

.pl-faq__item.is-open .pl-faq__a {
  grid-template-rows: 1fr;
  visibility: visible;
}

.pl-faq__a > div {
  overflow: hidden;
}

.pl-faq__text {
  max-width: 44rem;
  padding-bottom: 1.35rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--pl-muted);
}

/* ── Closing ────────────────────────────────────────────────────────────── */

.pl-closing__grid {
  display: grid;
  align-items: center;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .pl-closing__grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  }

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

.pl-closing__kicker {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--pl-on-ink-faint);
}

.pl-closing__title {
  max-width: 40rem;
  margin: 1rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 1.4rem + 3.2vw, 4rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.035em;
  color: #fff;
  text-wrap: balance;
}

.pl-closing__body {
  max-width: 34rem;
  margin-top: 1.25rem;
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--pl-on-ink-muted);
}

.pl-closing .pl-actions {
  margin-top: 2.25rem;
}

.pl-closing__img {
  display: block;
  width: 100%;
  max-width: 32rem;
  margin-inline: auto;
  filter: drop-shadow(0 40px 50px rgb(0 0 0 / 0.7));
}

/* A clip in place of the render gets a frame; a cut-out does not need one. */
.pl-closing__media {
  position: relative;
  max-width: 36rem;
  margin-inline: auto;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid var(--pl-ink-line);
  border-radius: var(--pl-radius-lg);
  background: #000;
  box-shadow: 0 40px 80px -30px rgb(0 0 0 / 0.8);
}

/* ── Page nav in the header ─────────────────────────────────────────────

   This page is one page, so the site's mega menu has no work to do here:
   the header carries the jump list and the two things a reader can act on
   instead. The old floating bar that used to hold them is gone with it.
   ───────────────────────────────────────────────────────────────────── */

.main-nav--page {
  min-width: 0;
  gap: 1.15rem;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.main-nav--page::-webkit-scrollbar {
  display: none;
}

.nav-jump {
  position: relative;
  padding-block: 1.25rem;
  font-size: 0.8125rem;
  white-space: nowrap;
  opacity: 0.82;
  transition: opacity 0.2s, color 0.2s;
}

.nav-jump:hover,
.nav-jump[aria-current='true'] {
  opacity: 1;
}

/* The mark sits on the header's own edge, so it reads as a tab rather than
   an underline that has come loose from the word. */
.nav-jump[aria-current='true']::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0.85rem;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.is-scrolled .nav-jump[aria-current='true'] {
  color: var(--primary);
}

/* ── Header actions ─────────────────────────────────────────────────── */

.hdr-cta {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.4rem;
  height: 2.25rem;
  padding-inline: 0.95rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  white-space: nowrap;
  transition: transform 0.2s var(--ease-out-soft), background-color 0.2s, border-color 0.2s, color 0.2s, filter 0.2s;
}

.hdr-cta:hover {
  transform: translateY(-1px);
}

.hdr-cta svg {
  width: 0.9rem;
  height: 0.9rem;
}

.hdr-cta--book {
  background: var(--primary);
  color: var(--primary-foreground);
}

.hdr-cta--book:hover {
  filter: brightness(1.06);
}

/* Kickstarter keeps its own green wherever it appears — it is a badge of
   where the money goes, not a second house colour. */
.hdr-cta--fund {
  background: var(--fund, var(--primary));
  color: var(--fund-ink, #fff);
}

.hdr-cta--fund:hover {
  filter: brightness(1.06);
}

/* Over the dark hero the outline reads against the photograph; once the
   header turns to paper it borrows the page's own border. */
.pl-share--hdr {
  width: 2.25rem;
  height: 2.25rem;
}

.pl-share--hdr svg {
  width: 1rem;
  height: 1rem;
}

.is-scrolled .pl-share--hdr {
  border-color: var(--border);
  background: transparent;
  color: var(--foreground);
}

.is-scrolled .pl-share--hdr:hover {
  border-color: var(--primary);
  background: var(--muted);
  color: var(--primary);
}

/* Below the desktop breakpoint the drawer carries the jump list, and the
   header keeps only the button a thumb is reaching for. */
@media (max-width: 79.99rem) {
  .header-actions .hdr-cta--fund,
  .header-actions .pl-share--hdr {
    display: none;
  }
}

/* On a phone the wordmark and the button cannot both have the row, and the
   button is the one a thumb is looking for — the mark still says whose page
   this is. This is what the floating bar used to do down at the bottom. */
@media (max-width: 29.99rem) {
  .pl-body .navbar .brand-lockup__word {
    display: none;
  }

  .hdr-cta--book {
    padding-inline: 0.8rem;
  }
}

/* ── Footer ─────────────────────────────────────────────────────────────

   The marketplace's four link columns are gone and the jump list already
   lives in the header, so the footer says the two things it is for: whose
   page this is on one side, and where to reach them on the other.
   ───────────────────────────────────────────────────────────────────── */

.pl-body .footer-grid {
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-block: 3.5rem 3rem;
}

@media (min-width: 48rem) {
  .pl-body .footer-grid {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 3rem;
  }

  .pl-body .footer-col {
    justify-self: end;
    text-align: right;
  }

  /* Right-aligned rows read better with the icon on the outside. */
  .pl-body .footer-col .footer-contact a {
    flex-direction: row-reverse;
  }
}

.pl-body .footer-about {
  max-width: 28rem;
  gap: 1.25rem;
}

/* The mark is the footer's masthead here, not a repeat of the header's. */
.pl-body .site-footer .brand-lockup {
  gap: 0.9rem;
}

.pl-body .site-footer .brand-lockup__mark {
  height: 3.5rem;
}

.pl-body .site-footer .brand-lockup__word {
  font-size: 1.5rem;
}

@media (min-width: 48rem) {
  .pl-body .site-footer .brand-lockup__mark {
    height: 4.25rem;
  }

  .pl-body .site-footer .brand-lockup__word {
    font-size: 1.75rem;
  }
}

.pl-body .footer-tagline {
  max-width: 24rem;
  font-size: 1rem;
  line-height: 1.6;
}

.pl-body .footer-col address {
  font-size: 0.875rem;
  line-height: 1.7;
  font-style: normal;
  color: color-mix(in oklab, var(--navy-foreground) 70%, transparent);
}

.pl-body .footer-col address span {
  display: block;
}

.pl-body .footer-col address .name {
  font-weight: 500;
  color: var(--card);
}

.pl-body .footer-base__inner {
  align-items: flex-start;
  gap: 0.75rem;
}

@media (min-width: 40rem) {
  .pl-body .footer-base__inner {
    align-items: center;
  }
}

.pl-body .footer-base__links a:hover {
  color: var(--card);
}

/* ── Legal pages ────────────────────────────────────────────────────────

   privacy.html and terms.html share this page's chrome but none of its
   theatre: one measure of text, headings a reader can scan, and nothing
   that moves.
   ───────────────────────────────────────────────────────────────────── */

.pl-legal {
  background: var(--pl-page);
  padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem) clamp(3rem, 2.5rem + 4vw, 6rem);
}

.pl-legal__inner {
  max-width: 48rem;
  margin-inline: auto;
}

.pl-legal__crumb {
  margin: 0 0 1.5rem;
  font-size: 0.8125rem;
  color: var(--pl-muted);
}

.pl-legal__crumb a:hover {
  color: var(--pl-red);
}

.pl-legal h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.5rem + 2.4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--pl-text);
}

.pl-legal__lede {
  margin: 1rem 0 0;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--pl-muted);
}

.pl-legal__date {
  margin: 1.25rem 0 0;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pl-muted);
}

.pl-legal__body {
  margin-top: clamp(2rem, 1.5rem + 2vw, 3rem);
  border-top: 1px solid var(--pl-line);
}

.pl-legal__body h2 {
  margin: 2.5rem 0 0.75rem;
  font-size: 1.25rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--pl-text);
}

.pl-legal__body h3 {
  margin: 1.75rem 0 0.5rem;
  font-size: 1rem;
  color: var(--pl-text);
}

.pl-legal__body p,
.pl-legal__body li {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--pl-muted);
}

.pl-legal__body p {
  margin: 0 0 1rem;
}

.pl-legal__body ul {
  margin: 0 0 1rem;
  padding-left: 1.1rem;
  list-style: disc;
}

.pl-legal__body li {
  margin-bottom: 0.5rem;
}

.pl-legal__body a {
  color: var(--pl-red);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.pl-legal__sign {
  margin-top: 3rem;
  padding: 1.5rem;
  border: 1px solid var(--pl-line);
  border-radius: var(--pl-radius);
  background: #fff;
}

.pl-legal__sign p {
  margin: 0 0 0.35rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--pl-muted);
}

.pl-legal__sign p:first-child {
  font-weight: 600;
  color: var(--pl-text);
}

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

/* ── Motion preferences ─────────────────────────────────────────────────── */

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

  .pl-modes__img,
  .pl-spot__img,
  .pl-tile img,
  .pl-shot img,
  .pl-ports__view img,
  .pl-faq__a {
    transition: none;
  }
}


/* =====================================================================
   Static build
   =====================================================================
   What this page does differently from the app it was ported from. Kept at
   the end, and kept short, so the copied stylesheet above stays a copy.
   ===================================================================== */

/* The `width` and `height` attributes this build writes on every image —
   so the box is reserved before the picture arrives — are presentational
   hints, and where the stylesheet sets a width but no height the attribute
   supplies one. That stretched the cut-out renders in the register and
   closing bands to the pixel height of the file. These are the three rules
   that size an image by width alone. */
.pl-register__img,
.pl-closing__img,
.pl-show__fallback img {
  height: auto;
}

/* The React component got these two from Tailwind utilities on the shared
   `Bullets` and `Copy` parts — `flex gap-3` and `space-y-4`. There is no
   Tailwind here, so the stylesheet states them itself. */
.pl-bullets > li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.pl-bullets svg {
  flex: none;
}

.pl-hero__body > p + p,
.pl-lead > p + p,
.pl-spot__body > p + p,
.pl-modes__text > p + p,
.pl-show__body > p + p,
.pl-register__body > p + p,
.pl-closing__body > p + p,
.pl-faq__text > p + p,
.pl-fund__body > p + p,
.pl-note > p + p {
  margin-top: 1rem;
}

/* The site header is fixed and transparent until it is scrolled, which only
   reads on a dark band. The launch hero is one, so it is pulled up underneath
   the header and given that height back as padding — the same trick the
   marketplace hero uses. */
.pl-body main > .pl-hero:first-child {
  margin-top: calc(-1 * var(--header-height));
  padding-top: calc(clamp(3.5rem, 2.5rem + 4vw, 6rem) + var(--header-height));
}

/* The 3D stage moves through four states, and the fallback render stands in
   for all but one of them: it is the placeholder while the model downloads,
   the picture when WebGL is missing or the file will not load, and — with no
   JavaScript at all — the whole stage. It is only hidden once the model is
   actually on screen. */
.pl-show__sticky[data-status="ready"] .pl-show__fallback {
  opacity: 0;
  pointer-events: none;
}

.pl-show__sticky:not([data-status="ready"]) .pl-show__canvas {
  opacity: 0;
}

.pl-show__canvas,
.pl-show__fallback {
  transition: opacity 0.6s var(--pl-ease);
}

.pl-show__sticky:not([data-status="loading"]) .pl-show__loading {
  display: none;
}

/* While the model is not there, the render carries the tour: it turns a few
   degrees per stage so the stage still answers the scroll. */
.pl-show__fallback {
  display: grid;
  place-items: center;
}

.pl-show__fallback img {
  width: min(78%, 46rem);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 40px 60px rgb(0 0 0 / 0.55));
  transition: transform 0.9s var(--pl-ease), opacity 0.6s var(--pl-ease);
  will-change: transform;
}

/* ── The registration form ─────────────────────────────────────────────
   The app posts this to the campaign's own endpoint; here it posts to
   form/submit.php, which stores it in SQLite and mails it on. */

.pl-form {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}

.pl-field {
  display: grid;
  gap: 0.35rem;
}

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

@media (min-width: 30rem) {
  .pl-field--pair {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1rem;
  }
  .pl-field--pair > div {
    display: grid;
    gap: 0.35rem;
  }
}

.pl-field label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--pl-text);
}

.pl-field label span {
  color: var(--pl-red);
}

.pl-field input,
.pl-field select,
.pl-field textarea {
  width: 100%;
  border: 1px solid var(--pl-line);
  border-radius: var(--pl-radius-sm);
  background: #fff;
  padding: 0.7rem 0.85rem;
  font: inherit;
  font-size: 0.9375rem;
  color: var(--pl-text);
  transition: border-color 0.18s var(--pl-ease), box-shadow 0.18s var(--pl-ease);
}

.pl-field textarea {
  resize: vertical;
  min-height: 5rem;
}

.pl-field input:focus,
.pl-field select:focus,
.pl-field textarea:focus {
  outline: none;
  border-color: var(--pl-red);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--pl-red) 18%, transparent);
}

.pl-field input[aria-invalid="true"],
.pl-field select[aria-invalid="true"],
.pl-field textarea[aria-invalid="true"] {
  border-color: var(--pl-danger);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--pl-danger) 14%, transparent);
}

/* What is wrong with a field, said under it — the one place a reader who
   is already looking at the field will see it. */
.pl-field__msg {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  font-weight: 500;
  color: var(--pl-danger);
  animation: pl-msg-in 0.18s var(--pl-ease);
}

.pl-field__msg[hidden] {
  display: none;
}

@keyframes pl-msg-in {
  from {
    opacity: 0;
    transform: translateY(-2px);
  }
}

/* While the question is being fetched the answer box has nothing to answer. */
.pl-form.is-challenge-loading #rf-captcha {
  opacity: 0.6;
}

/* Sending: the button says so, and nothing else on the form moves. */
.pl-form.is-sending .pl-field {
  pointer-events: none;
  opacity: 0.85;
}

.pl-form__submit[aria-busy="true"] svg {
  animation: pl-spin 0.9s linear infinite;
}

@keyframes pl-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .pl-field__msg,
  .pl-form__submit[aria-busy="true"] svg {
    animation: none;
  }
}

/* Off-screen rather than display:none — a field that is not rendered at all
   is one a form-filling script can spot as easily as a person cannot. */
.pl-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.pl-captcha {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.5rem;
  align-items: center;
}

.pl-captcha__again {
  border: 1px solid var(--pl-line);
  border-radius: var(--pl-radius-sm);
  background: transparent;
  padding: 0.6rem 0.85rem;
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--pl-muted);
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.18s, border-color 0.18s;
}

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

.pl-captcha__help {
  margin: 0;
  font-size: 0.75rem;
  color: var(--pl-muted);
}

.pl-form__error {
  margin: 0;
  border: 1px solid color-mix(in srgb, var(--pl-danger) 30%, transparent);
  border-radius: var(--pl-radius-sm);
  background: color-mix(in srgb, var(--pl-danger) 8%, transparent);
  padding: 0.7rem 0.85rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--pl-danger);
}

.pl-form__submit {
  width: 100%;
  justify-content: center;
}

.pl-form__submit[disabled] {
  opacity: 0.6;
  pointer-events: none;
}

.pl-form__legal {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--pl-muted);
}

/* ── The confirmation ──────────────────────────────────────────────────
   Shown once the endpoint has the enquiry, so it says something true. */

.pl-done[hidden] {
  display: none;
}

.pl-done {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  background: rgb(6 8 12 / 0.72);
  padding: 1.5rem;
  backdrop-filter: blur(6px);
  animation: pl-fade 200ms var(--pl-ease);
}

.pl-done__card {
  width: min(28rem, 100%);
  border-radius: var(--pl-radius-lg);
  background: var(--pl-surface);
  padding: 2rem;
  text-align: center;
  box-shadow: 0 40px 80px -20px rgb(0 0 0 / 0.5);
  animation: pl-rise 300ms var(--pl-ease) both;
}

@keyframes pl-rise {
  from { opacity: 0; transform: translateY(14px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

.pl-done__tick {
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  margin: 0 auto 1rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--pl-red) 12%, transparent);
  color: var(--pl-red);
}

.pl-done__tick svg {
  width: 1.5rem;
  height: 1.5rem;
}

.pl-done__card h2 {
  margin: 0 0 0.5rem;
  font-size: 1.375rem;
  letter-spacing: -0.02em;
}

.pl-done__card p {
  margin: 0 0 1.5rem;
  line-height: 1.6;
  color: var(--pl-muted);
}

/* The lightbox is a plain overlay here rather than the app's dialog. */
.pl-lightbox[hidden] {
  display: none;
}

.pl-lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 1rem;
  background: rgb(6 8 12 / 0.92);
  padding: clamp(1rem, 4vw, 3rem);
  backdrop-filter: blur(6px);
  animation: pl-fade 200ms var(--pl-ease);
}

@keyframes pl-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
/* =====================================================================
   Campaign button labels
   =====================================================================
   Copied from frontend/src/components/campaign/button-label.css, for the
   same reason the template stylesheet above is: an editor writes these
   classes into a label, so they have to exist whatever a build scanner knows.
   ===================================================================== */

/*
 * A campaign button's own label parts, whichever template drew the button.
 *
 * Plain CSS, like the launch template: these classes appear in content an
 * editor writes, and a running dev server does not generate utility classes
 * for them. The selectors are doubled where a template sizes every svg in its
 * buttons, so an icon chosen in the editor keeps its own size.
 */

.cbl-text {
  display: inline;
}

/* A label with bold runs: the rest reads as normal weight beside them. */
.cbl-normal {
  font-weight: 400;
}

.cbl-bold {
  font-weight: 700;
}

svg.cbl-icon.cbl-icon {
  flex-shrink: 0;
  width: 1.15em;
  height: 1.15em;
  transform: none !important;
}

img.cbl-logo.cbl-logo {
  display: block;
  flex-shrink: 0;
  width: auto;
  max-width: 6.5em;
  height: 1.35em;
  object-fit: contain;
}

/* Custom colours replace the template's own hover shade, so lift instead. */
.cbl-styled {
  transition: filter 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.cbl-styled:hover {
  filter: brightness(1.08);
}

.cbl-glow:hover {
  filter: brightness(1.12) saturate(1.05);
}

/* A text link given a colour or a glow becomes a pill of its own. */
.cbl-pill {
  padding: 0.55em 1.05em;
  border-radius: 999px;
  text-decoration: none !important;
}

.cbl-pill.cbl-icon-only {
  width: 2.6em;
  height: 2.6em;
}

/* Icon or logo alone: a round (or square) button, centred. */
.cbl-icon-only {
  justify-content: center;
  aspect-ratio: 1 / 1;
  padding-right: 0 !important;
  padding-left: 0 !important;
}

.cbl-icon-only svg.cbl-icon.cbl-icon {
  width: 1.3em;
  height: 1.3em;
}

.cbl-icon-only img.cbl-logo.cbl-logo {
  max-width: 1.9em;
  height: 1.5em;
}
