/* Perdio public pages (/, /pricing) in "The Night Ledger" (DESIGN.md). Dark only. Signal
   Indigo is the one main action (one filled button per section); coral stays on the logo's
   fold; emerald / amber / rose are status. Flat at rest: shadows only on what floats (menus,
   the dialog, the drawer) and the primary button's indigo halo. Plus Jakarta Sans is the
   display face, as in the app. Type steps follow DESIGN.md (11 / 13 / 15 / 20 / 32+).
   Logical properties throughout, so Hebrew (RTL) mirrors. */

@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('/assets/fonts/plus-jakarta-sans-latin-wght.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('/assets/fonts/jetbrains-mono-latin-400.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('/assets/fonts/jetbrains-mono-latin-500.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}

:root {
  --bg: #0f131d;
  --bg-deep: #0a0e18;
  --c: #171d2b;
  --ch: #1f2637;
  --chh: #293245;
  --line: #232b3e;
  --line-2: #2d374d;
  --glass-line: rgba(255, 255, 255, 0.08);
  --glass-line-2: rgba(255, 255, 255, 0.16); /* raised or focused edge */
  --wash: rgba(255, 255, 255, 0.06); /* quiet fill on hover and glass buttons */
  --wash-2: rgba(255, 255, 255, 0.1);
  --shade: rgba(0, 0, 0, 0.6); /* shadow under what floats, and the scrim */
  --ink: #f8fafc;
  --on: #dfe2f1;
  --sec: #94a3b8;
  --muted: #8a96aa; /* AA on the canvas and the card surfaces */
  --indigo: #4f46e5;
  --indigo-2: #6366f1;
  --indigo-press: #4338ca;
  --indigo-ink: #a5b4fc;
  --lavender: #c3c0ff;
  --coral: #f0664a; /* the logo's fold only */
  --emerald: #10b981;
  --amber: #f59e0b;
  --rose: #f43f5e;
  --cyan: #06b6d4;
  --cyan-2: #4cd7f6;
  --violet: #8b5cf6; /* category breakdowns */
  --f-display: 'Plus Jakarta Sans', system-ui, sans-serif;
  --f-text: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-io: cubic-bezier(0.77, 0, 0.175, 1);
  --r-xs: 4px;
  --r-sm: 8px;
  --r: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-pill: 999px;
  --gutter: 24px;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--on);
  font: 400 15px/1.6 var(--f-text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* Hebrew has no glyphs in the brand faces: let the system's Hebrew face take the text. */
html[lang='he'] {
  --f-display: system-ui, 'Segoe UI', Arial, sans-serif;
  --f-text: system-ui, 'Segoe UI', Arial, sans-serif;
}
img,
svg {
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
}
h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--f-display);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.12;
  text-wrap: balance;
}
p {
  margin: 0;
}
::selection {
  background: var(--indigo);
  color: var(--ink);
}
:focus-visible {
  outline: 2px solid var(--indigo-2);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

.lp-wrap {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.lp-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
/* Figures in the product mock-ups (amounts, counts, dates): the display face with tabular
   digits, as the app sets them. Mono is kept for the printed receipt only. */
.lp-fig {
  font-family: var(--f-display);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}
.lp-ico {
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.lp-eyebrow {
  font: 600 11px/1.3 var(--f-text);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lavender);
}
.lp-lead {
  font-size: clamp(15px, 1.4vw, 20px);
  line-height: 1.65;
  color: var(--sec);
  max-width: 60ch;
}
.lp-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--lavender);
}
.lp-link:hover {
  color: var(--ink);
}
.lp-link:hover .lp-arrow {
  transform: translateX(3px);
}
[dir='rtl'] .lp-arrow,
[dir='rtl'] .lp-link:hover .lp-arrow {
  transform: scaleX(-1);
}

/* ── Buttons ───────────────────────────────────────────────────────────── */
.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding-inline: 16px;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  font: 600 15px/1 var(--f-text);
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform 160ms var(--ease),
    background-color 160ms ease,
    border-color 160ms ease,
    box-shadow 200ms var(--ease),
    color 160ms ease;
}
.lp-btn:active {
  transform: scale(0.97);
}
.lp-btn .lp-ico {
  font-size: 1.05em;
}
.lp-btn--lg {
  height: 52px;
  padding-inline: 22px;
  font-size: 15px;
}
.lp-btn--sm {
  height: 32px;
  padding-inline: 12px;
  font-size: 13px;
}
.lp-btn--block {
  width: 100%;
}
/* The one main action: Signal Indigo, white label (6.3:1), the indigo halo. */
.lp-btn--primary {
  background: var(--indigo);
  color: var(--ink);
  box-shadow: 0 4px 20px color-mix(in srgb, var(--indigo) 30%, transparent);
}
.lp-btn--primary:active {
  background: var(--indigo-press);
}
@media (hover: hover) and (pointer: fine) {
  .lp-btn--primary:hover {
    background: var(--indigo-2);
  }
}
.lp-btn--glass {
  background: var(--wash);
  border-color: var(--glass-line-2);
  color: var(--ink);
  backdrop-filter: blur(12px);
}
.lp-btn--glass:hover {
  background: var(--wash-2);
}
.lp-btn--ghost {
  color: var(--on);
}
.lp-btn--ghost:hover {
  color: var(--ink);
  background: var(--wash);
}
.lp-arrow {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 200ms var(--ease);
}
.lp-btn:hover .lp-arrow {
  transform: translateX(3px);
}
[dir='rtl'] .lp-btn:hover .lp-arrow {
  transform: scaleX(-1) translateX(3px);
}
.lp-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.lp-btn-row--center {
  justify-content: center;
}
.lp-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--r-pill);
  border: 0;
  background: var(--ch);
  color: var(--sec);
  cursor: pointer;
  font-size: 20px;
}
.lp-icon-btn:hover {
  color: var(--ink);
  background: var(--chh);
}

/* ── Pills ─────────────────────────────────────────────────────────────── */
.lp-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 24px;
  padding-inline: 10px;
  border-radius: var(--r-pill);
  font: 600 11px/1 var(--f-text);
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.lp-pill--ok {
  background: color-mix(in srgb, var(--emerald) 12%, transparent);
  color: var(--emerald);
}
.lp-pill--warn {
  background: color-mix(in srgb, var(--amber) 12%, transparent);
  color: var(--amber);
}
.lp-pill--muted {
  background: var(--ch);
  color: var(--sec);
}
/* An action drawn inside a product mock-up ("Export PDF", "Approve"): a static chip that
   belongs to the illustration. Never a button shape, never a hover. */
.lp-pill--act {
  background: var(--ch);
  color: var(--on);
  cursor: default;
  user-select: none;
}
.lp-pill .lp-ico {
  font-size: 13px;
}

/* ── Nav ───────────────────────────────────────────────────────────────── */
.lp-skip {
  position: fixed;
  inset-inline-start: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: var(--r-sm);
  background: var(--indigo);
  color: var(--ink);
}
.lp-skip:not(:focus) {
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}
.lp-skip:focus {
  top: 12px;
}
.lp-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid var(--glass-line);
}
.lp-nav__bar {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
}
.lp-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.lp-logo__word {
  position: relative;
  font: 700 21px/1 var(--f-display);
  letter-spacing: -0.035em;
  color: var(--ink);
}
.lp-logo__dot {
  position: absolute;
  inset-inline-end: -8px;
  top: 2px;
  width: 5px;
  height: 5px;
  border-radius: var(--r-pill);
  background: var(--coral);
}
.lp-nav__links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-inline-start: 12px;
}
.lp-nav__item {
  position: relative;
}
.lp-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding-inline: 12px;
  border: 0;
  border-radius: var(--r-sm);
  background: none;
  font: 500 15px/1 var(--f-text);
  color: var(--on);
  cursor: pointer;
  transition:
    color 150ms ease,
    background-color 150ms ease;
}
.lp-nav__link:hover,
.lp-nav__link[aria-expanded='true'],
.lp-nav__link[aria-current='page'] {
  color: var(--ink);
  background: var(--wash);
}
/* The section being read: a short indigo rule under its nav item (site.js sets aria-current
   while scrolling). Absolutely placed, so nothing in the bar moves. */
.lp-nav__link::after {
  content: '';
  position: absolute;
  inset-inline: 12px;
  bottom: 3px;
  height: 2px;
  border-radius: var(--r-pill);
  background: var(--indigo-2);
  opacity: 0;
  transform: scaleX(0.5);
  transition:
    opacity 180ms ease,
    transform 260ms var(--ease);
  pointer-events: none;
}
.lp-nav__link[aria-current='location'],
.lp-nav__link[aria-current='true'] {
  color: var(--ink);
}
.lp-nav__link[aria-current='location']::after,
.lp-nav__link[aria-current='true']::after {
  opacity: 1;
  transform: none;
}
.lp-menu__link[aria-current='location'] b,
.lp-drawer__nav a[aria-current='location'] {
  color: var(--indigo-ink);
}
.lp-chev {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 200ms var(--ease);
}
[aria-expanded='true'] > .lp-chev {
  transform: rotate(180deg);
}
.lp-menu {
  position: absolute;
  inset-inline-start: 0;
  top: calc(100% + 10px);
  width: 320px;
  padding: 8px;
  border-radius: var(--r-lg);
  background: color-mix(in srgb, var(--c) 96%, transparent);
  border: 1px solid var(--glass-line);
  border-top-color: var(--glass-line-2);
  box-shadow: 0 24px 48px -12px var(--shade);
  backdrop-filter: blur(24px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px) scale(0.98);
  transform-origin: top left;
  transition:
    opacity 160ms ease,
    transform 200ms var(--ease),
    visibility 0s linear 200ms;
}
.lp-menu.is-open,
.lp-nav__item:not(.js-menus *):focus-within > .lp-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition:
    opacity 160ms ease,
    transform 200ms var(--ease);
}
.lp-menu__link {
  display: flex;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  transition: background-color 150ms ease;
}
.lp-menu__link:hover {
  background: var(--wash);
}
.lp-menu__link > .lp-ico {
  margin-top: 2px;
  padding: 7px;
  width: 30px;
  height: 30px;
  border-radius: var(--r-sm);
  background: color-mix(in srgb, var(--indigo) 16%, transparent);
  color: var(--lavender);
}
.lp-menu__link b {
  display: block;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
}
.lp-menu__link span span {
  display: block;
  color: var(--sec);
  font-size: 13px;
  line-height: 1.4;
}
.lp-nav__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-inline-start: auto;
}
.lp-nav__toggle {
  display: none;
  margin-inline-start: auto;
  width: 42px;
  height: 42px;
  border-radius: var(--r-sm);
  border: 1px solid var(--glass-line);
  background: var(--wash);
  font-size: 20px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
@media (max-width: 1023px) {
  .lp-nav__links,
  .lp-nav__actions {
    display: none;
  }
  .lp-nav__toggle {
    display: inline-flex;
  }
}

/* Mobile drawer */
.lp-drawer[hidden] {
  display: none;
}
.lp-drawer {
  position: fixed;
  inset: 0;
  z-index: 80;
}
.lp-drawer__scrim {
  position: absolute;
  inset: 0;
  background: var(--shade);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 220ms ease;
}
.lp-drawer__panel {
  position: absolute;
  inset-block: 0;
  inset-inline-end: 0;
  width: min(360px, 88vw);
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px 20px max(20px, env(safe-area-inset-bottom));
  background: var(--c);
  border-inline-start: 1px solid var(--glass-line);
  transform: translateX(100%);
  transition: transform 300ms cubic-bezier(0.32, 0.72, 0, 1);
  overflow-y: auto;
}
[dir='rtl'] .lp-drawer__panel {
  transform: translateX(-100%);
}
.lp-drawer.is-open .lp-drawer__scrim {
  opacity: 1;
}
.lp-drawer.is-open .lp-drawer__panel {
  transform: none;
}
.lp-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.lp-drawer__nav {
  display: flex;
  flex-direction: column;
}
.lp-drawer__nav .lp-eyebrow {
  margin: 18px 0 6px;
  color: var(--muted);
}
.lp-drawer__nav a {
  padding: 11px 4px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.lp-drawer__actions {
  display: grid;
  gap: 10px;
  margin-top: auto;
}
body.is-locked {
  overflow: hidden;
}

/* ── Hero ──────────────────────────────────────────────────────────────── */
.lp-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(48px, 7vw, 96px) clamp(64px, 8vw, 112px);
}
.lp-hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.lp-hero__text {
  display: grid;
  gap: 22px;
  justify-items: start;
}
.lp-hero h1 {
  text-wrap: pretty;
  font-size: clamp(36px, 5.2vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.035em;
}
.lp-trust {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--on);
}
.lp-trust .lp-ico {
  color: var(--emerald);
  font-size: 15px;
  margin-top: 3px;
}
/* The quiet way to pricing, in the line that states what is free. */
.lp-trust__link {
  margin-inline-start: 6px;
  color: var(--indigo-ink);
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--indigo-ink) 45%, transparent);
  text-underline-offset: 3px;
  white-space: nowrap;
}
.lp-trust__link:hover {
  color: var(--ink);
  text-decoration-color: currentColor;
}

/* Hero entrance */
.js .lp-hero__text > * {
  animation: rise 700ms var(--ease) both;
}
.js .lp-hero__text > :nth-child(2) {
  animation-delay: 60ms;
}
.js .lp-hero__text > :nth-child(3) {
  animation-delay: 120ms;
}
.js .lp-hero__text > :nth-child(4) {
  animation-delay: 180ms;
}
.js .lp-hero__text > :nth-child(5) {
  animation-delay: 240ms;
}
.js .lp-hero__art {
  animation: settle 900ms var(--ease) 200ms both;
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}
@keyframes settle {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
  }
}

/* The live trip card */
.lp-trip {
  position: relative;
  padding: 20px;
  border-radius: var(--r-xl);
  background: linear-gradient(180deg, color-mix(in srgb, var(--ch) 92%, transparent), color-mix(in srgb, var(--c) 95%, transparent));
  border: 1px solid var(--glass-line);
  border-top-color: var(--glass-line-2);
  box-shadow: 0 40px 80px -24px var(--shade);
}
.lp-trip__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 4px 14px;
}
.lp-trip__name {
  font: 600 20px/1.2 var(--f-display);
  color: var(--ink);
  letter-spacing: -0.02em;
}
.lp-trip__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin-top: 8px;
  font-size: 13px;
  color: var(--sec);
}
/* Marks the mock-up as an example, not live data: a quiet outlined tag. */
.lp-example {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-pill);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
/* Rows are a ledger inside the one card: hairline dividers, no card-in-card. */
.lp-trip__rows {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  border-top: 1px solid var(--line);
}
.lp-trip__row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 4px;
  border-bottom: 1px solid var(--line);
}
.lp-trip__ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: var(--r-sm);
  background: var(--ch);
  color: var(--lavender);
  font-size: 20px;
}
.lp-trip__text {
  display: grid;
  min-width: 0;
  flex: 1;
}
.lp-trip__text b {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
}
.lp-trip__text span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--sec);
  font-size: 13px;
}
.lp-trip__amt {
  display: grid;
  justify-items: end;
  gap: 4px;
}
.lp-trip__amt b {
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
}
.lp-status {
  position: relative;
  height: 18px;
  font-size: 11px;
  font-weight: 600;
}
.lp-status > span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.lp-status__reading {
  color: var(--cyan-2);
}
.lp-status__read {
  color: var(--emerald);
}
.lp-trip__more {
  padding: 10px 4px 0;
  font-size: 13px;
  color: var(--muted);
}
/* The card's footer (the product's Export PDF state), separated by a hairline, not a nested card. */
.lp-trip__bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 12px;
  padding: 14px 4px 2px;
  border-top: 1px solid var(--line);
}
.lp-trip__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.lp-trip__total {
  margin-top: 2px;
  font-size: 28px;
  font-weight: 700;
  color: var(--ink);
}
.lp-trip__ready {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--emerald);
}
.lp-trip__ready i {
  width: 7px;
  height: 7px;
  border-radius: var(--r-pill);
  background: currentColor;
}

/* Receipts arrive, read, then the total settles: a one-time sequence on load. */
.js .lp-hero .lp-trip__row {
  animation: row-in 600ms var(--ease) both;
  animation-delay: calc(200ms + var(--i) * 420ms);
}
.js .lp-hero .lp-status__reading {
  animation: fade-out 200ms ease both;
  animation-delay: calc(900ms + var(--i) * 420ms);
}
.js .lp-hero .lp-status__read {
  position: absolute;
  inset-inline-end: 0;
  top: 0;
  animation: fade-in 260ms var(--ease) both;
  animation-delay: calc(1050ms + var(--i) * 420ms);
}
.lp-status__read {
  position: absolute;
  inset-inline-end: 0;
  top: 0;
}
.lp-status__reading {
  visibility: hidden;
}
.js .lp-hero .lp-status__reading {
  visibility: visible;
}
/* The total and the Export PDF footer are there from the first paint, so the card never
   shows a blank band while the rows arrive. */
@keyframes row-in {
  from {
    opacity: 0.35;
    transform: translateY(8px);
  }
}
@keyframes fade-out {
  to {
    opacity: 0;
  }
}
@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(3px);
  }
}

/* ── Report dialog ─────────────────────────────────────────────────────── */
.lp-dialog {
  width: min(760px, calc(100vw - 32px));
  max-height: calc(100dvh - 48px);
  padding: 0;
  border: 1px solid var(--glass-line);
  border-radius: var(--r-xl);
  background: var(--c);
  color: var(--on);
  box-shadow: 0 40px 100px -20px var(--shade);
  overflow: auto;
}
.lp-dialog::backdrop {
  background: color-mix(in srgb, var(--bg-deep) 80%, transparent);
  backdrop-filter: blur(6px);
}
.lp-dialog[open] {
  animation: settle 320ms var(--ease) both;
}
.lp-dialog__head,
.lp-dialog__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
}
.lp-dialog__head h2 {
  font-size: 20px;
}
.lp-dialog__foot {
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  color: var(--sec);
  font-size: 13px;
}
/* The sample report and the scanned receipt are printed paper: the only light surfaces on
   the page. Their colours are local to the two mock-ups and defined once, here. */
.lp-doc,
.lp-receipt {
  --paper: #fbfbfd;
  --paper-ink: #0f1c2e;
  --paper-text: #1e293b;
  --paper-muted: #475569;
  --paper-line: #e2e8f0;
}
.lp-doc {
  margin: 0 24px;
  padding: 28px;
  border-radius: var(--r);
  background: var(--paper);
  color: var(--paper-text);
  font-size: 13px;
}
.lp-doc h3 {
  color: var(--paper-ink);
  font-size: 20px;
  margin: 18px 0 4px;
}
.lp-doc__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--paper-muted);
  font-size: 13px;
}
.lp-doc__brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 700 15px/1 var(--f-display);
  color: var(--paper-ink);
}
.lp-doc__brand .lp-symbol path:first-child {
  fill: var(--paper-ink);
}
.lp-doc__brand .lp-symbol rect {
  fill: var(--paper);
}
.lp-doc__muted {
  color: var(--paper-muted);
  margin-top: 10px;
}
.lp-doc__table {
  width: 100%;
  margin-top: 16px;
  border-collapse: collapse;
}
.lp-doc__table th,
.lp-doc__table td {
  padding: 7px 6px;
  text-align: start;
  border-bottom: 1px solid var(--paper-line);
}
.lp-doc__table thead th {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--paper-muted);
}
.lp-doc__table tfoot th,
.lp-doc__table tfoot td {
  border-bottom: 0;
  font-weight: 700;
  color: var(--paper-ink);
}
.lp-num {
  text-align: end !important;
}

/* ── Sections ──────────────────────────────────────────────────────────── */
.lp-section {
  padding-block: clamp(64px, 9vw, 120px);
}
.lp-section--alt {
  background: var(--bg-deep);
  border-block: 1px solid var(--glass-line);
}
.lp-head {
  display: grid;
  justify-items: center;
  gap: 14px;
  max-width: 720px;
  margin: 0 auto clamp(36px, 5vw, 56px);
  text-align: center;
}
.lp-head h2 {
  font-size: clamp(28px, 4vw, 36px);
}
.lp-head .lp-lead {
  margin-inline: auto;
}
.lp-head--start {
  justify-items: start;
  text-align: start;
  margin: 0;
}
.lp-head--start .lp-lead {
  margin-inline: 0;
}
.lp-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.lp-split--rev > :first-child {
  order: 2;
}
.lp-split--faq {
  align-items: start;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
}
.lp-checks {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.lp-checks li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--on);
  font-size: 15px;
}
.lp-checks .lp-ico {
  width: 30px;
  height: 30px;
  padding: 7px;
  border-radius: var(--r-sm);
  background: color-mix(in srgb, var(--indigo) 14%, transparent);
  color: var(--lavender);
}

/* Panels (product views) */
.lp-panel {
  padding: 20px;
  border-radius: var(--r-xl);
  background: var(--c);
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px -30px var(--shade);
}
.lp-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--ink);
}
.lp-panel__foot {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  font-size: 13px;
  color: var(--sec);
}
.lp-progress {
  position: relative;
  flex: 1;
  height: 6px;
  border-radius: var(--r-pill);
  background: var(--ch);
  overflow: hidden;
}
.lp-progress i {
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  width: var(--v);
  border-radius: inherit;
  background: var(--emerald);
}

/* Pipeline */
.lp-pipe {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 24px;
  align-items: stretch;
}
.lp-pipe__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.lp-pipe__step {
  position: relative;
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: start;
  gap: 14px;
  width: 100%;
  padding: 18px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--c) 50%, transparent);
  text-align: start;
  cursor: pointer;
  overflow: hidden;
  transition:
    background-color 200ms ease,
    border-color 200ms ease,
    transform 200ms var(--ease);
}
.lp-pipe__step:hover {
  border-color: var(--line-2);
  background: color-mix(in srgb, var(--ch) 60%, transparent);
}
.lp-pipe__step[aria-selected='true'] {
  background: var(--c);
  border-color: color-mix(in srgb, var(--indigo-2) 45%, transparent);
}
.lp-pipe__num {
  padding-top: 7px;
  font-size: 11px;
  color: var(--muted);
}
.lp-pipe__ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: var(--r-sm);
  background: var(--ch);
  color: var(--sec);
  font-size: 20px;
  transition:
    background-color 200ms ease,
    color 200ms ease;
}
.lp-pipe__step[aria-selected='true'] .lp-pipe__ic {
  background: var(--indigo);
  color: var(--ink);
}
.lp-pipe__text b {
  display: block;
  color: var(--ink);
  font: 600 15px/1.3 var(--f-display);
}
.lp-pipe__text span {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--sec);
}
.lp-pipe__step:not([aria-selected='true']) .lp-pipe__text span {
  display: none;
}
.lp-pipe__timer {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 2px;
  background: transparent;
}
.lp-pipe__timer i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--indigo), var(--cyan));
}
.lp-pipe__step[aria-selected='true'] .lp-pipe__timer i {
  animation: timer var(--step-ms, 6500ms) linear both;
}
.lp-pipe.is-paused .lp-pipe__timer i,
.lp-pipe:not(.is-auto) .lp-pipe__timer i {
  animation-play-state: paused;
}
.lp-pipe:not(.is-auto) .lp-pipe__timer {
  display: none;
}
@keyframes timer {
  to {
    width: 100%;
  }
}
.lp-pipe__stage {
  position: relative;
  display: grid;
  min-height: 380px;
  padding: 24px;
  border-radius: var(--r-xl);
  background: var(--c);
  border: 1px solid var(--line);
}
.lp-pipe__panel {
  grid-area: 1 / 1;
  align-self: center;
  transition:
    opacity 300ms ease,
    transform 400ms var(--ease);
}
.lp-pipe__panel[data-hidden] {
  opacity: 0;
  transform: translateY(8px);
  visibility: hidden;
}
.lp-viz {
  display: grid;
  gap: 10px;
}
.lp-viz__title {
  font: 600 15px/1.3 var(--f-display);
  color: var(--ink);
  margin-bottom: 4px;
}
/* Rows inside a panel or the pipeline stage are ledger rows split by a hairline,
   never boxed cards inside the card. */
.lp-viz__row,
.lp-toggle-row,
.lp-note,
.lp-queue,
.lp-inc-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 2px;
  border-bottom: 1px solid var(--line);
}
.lp-viz > :last-child,
.lp-panel > :last-child {
  border-bottom: 0;
}
.lp-viz__row > span:nth-child(2),
.lp-toggle-row > span:first-child,
.lp-note > span {
  display: grid;
  flex: 1;
  min-width: 0;
}
.lp-viz__row b,
.lp-toggle-row b,
.lp-note b {
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
}
.lp-viz__row span span,
.lp-toggle-row span span,
.lp-note span span {
  color: var(--sec);
  font-size: 13px;
}
.lp-viz__progress {
  padding: 12px 2px 0;
}
.lp-viz__progress p {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--on);
  margin-bottom: 10px;
}
.lp-viz__progress b {
  color: var(--emerald);
  font-weight: 600;
}
.lp-bar {
  height: 6px;
  border-radius: var(--r-pill);
  background: var(--ch);
  overflow: hidden;
}
.lp-bar__fill {
  display: block;
  height: 100%;
  width: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--indigo), var(--cyan));
}
[aria-selected] ~ * .lp-bar__fill--run,
.lp-pipe__panel:not([data-hidden]) .lp-bar__fill--run {
  animation: grow 2.4s var(--ease-io) both;
}
@keyframes grow {
  from {
    width: 0;
  }
}
.lp-viz--scan {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  align-items: center;
  gap: 20px;
}
.lp-receipt {
  position: relative;
  display: grid;
  gap: 6px;
  padding: 20px 16px;
  border-radius: var(--r-xs);
  background: var(--paper);
  color: var(--paper-text);
  font: 400 11px/1.4 var(--f-mono);
  text-align: center;
  overflow: hidden;
  box-shadow: 0 20px 40px -12px var(--shade);
  transform: rotate(-2deg);
}
.lp-receipt b {
  color: var(--paper-ink);
}
.lp-receipt__line {
  height: 1px;
  margin: 4px 0;
  border-top: 1px dashed var(--paper-muted);
}
.lp-receipt__laser {
  position: absolute;
  inset-inline: 8px;
  top: 10%;
  height: 3px;
  border-radius: var(--r-pill);
  background: linear-gradient(90deg, transparent, var(--cyan-2), transparent);
}
.lp-pipe__panel:not([data-hidden]) .lp-receipt__laser {
  animation: laser 2.2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
@keyframes laser {
  0% {
    top: 6%;
    opacity: 0;
  }
  15%,
  85% {
    opacity: 1;
  }
  100% {
    top: 92%;
    opacity: 0;
  }
}
.lp-fields {
  display: grid;
  gap: 8px;
  margin: 0;
}
.lp-fields div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  background: color-mix(in srgb, var(--bg) 60%, transparent);
  font-size: 13px;
}
.lp-fields dt {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--sec);
}
.lp-fields dt i {
  width: 7px;
  height: 7px;
  border-radius: var(--r-pill);
  background: var(--emerald);
}
.lp-fields dd {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
}
.lp-pipe__panel:not([data-hidden]) .lp-fields div {
  animation: fade-in 400ms var(--ease) both;
}
.lp-fields div:nth-child(2) {
  animation-delay: 250ms !important;
}
.lp-fields div:nth-child(3) {
  animation-delay: 500ms !important;
}
.lp-fields div:nth-child(4) {
  animation-delay: 750ms !important;
}
.lp-fields div:nth-child(5) {
  animation-delay: 1000ms !important;
}
.lp-window {
  padding: 12px 2px;
  border-bottom: 1px solid var(--line);
}
.lp-window__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.lp-window__track {
  position: relative;
  height: 10px;
  margin-top: 12px;
  border-radius: var(--r-pill);
  background: var(--ch);
}
.lp-window__span {
  position: absolute;
  inset-block: 0;
  inset-inline-start: 30%;
  width: 40%;
  border-radius: inherit;
  background: var(--indigo-2);
}
.lp-note > .lp-ico {
  width: 34px;
  height: 34px;
  padding: 8px;
  border-radius: var(--r-sm);
}
.lp-note--trip > .lp-ico {
  background: color-mix(in srgb, var(--indigo) 18%, transparent);
  color: var(--lavender);
}
.lp-note--inc > .lp-ico {
  background: color-mix(in srgb, var(--cyan) 14%, transparent);
  color: var(--cyan);
}
.lp-pipe__panel:not([data-hidden]) .lp-note {
  animation: row-in 500ms var(--ease) both;
}
.lp-pipe__panel:not([data-hidden]) .lp-note--inc {
  animation-delay: 300ms;
}
.lp-switch {
  position: relative;
  width: 40px;
  height: 22px;
  flex-shrink: 0;
  border-radius: var(--r-pill);
  background: var(--chh);
}
.lp-switch i {
  position: absolute;
  top: 2px;
  inset-inline-start: 2px;
  width: 18px;
  height: 18px;
  border-radius: var(--r-pill);
  background: var(--ink);
  transition: transform 200ms var(--ease);
}
.lp-switch.is-on {
  background: var(--indigo);
}
.lp-switch.is-on i {
  transform: translateX(18px);
}
[dir='rtl'] .lp-switch.is-on i {
  transform: translateX(-18px);
}

/* Readiness flags */
.lp-flags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
}
.lp-flags > :last-child {
  border-bottom: 0;
}
.lp-flag {
  display: flex;
  gap: 12px;
  padding: 14px 2px;
  border-bottom: 1px solid var(--line);
}
.lp-flag__ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: var(--r-sm);
  background: color-mix(in srgb, var(--amber) 12%, transparent);
  color: var(--amber);
  font-size: 15px;
}
.lp-flag--rose .lp-flag__ic {
  background: color-mix(in srgb, var(--rose) 12%, transparent);
  color: var(--rose);
}
.lp-flag > span:last-child {
  display: grid;
  gap: 2px;
  font-size: 13px;
  color: var(--sec);
}
.lp-flag b {
  color: var(--ink);
  font-size: 15px;
}
.lp-flag__where {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Incidentals */
.lp-tabs {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border-radius: var(--r);
  background: var(--ch);
  font-size: 13px;
  font-weight: 600;
}
.lp-tabs span {
  padding: 6px 12px;
  border-radius: var(--r-sm);
  color: var(--sec);
}
.lp-tabs .is-on {
  background: var(--indigo);
  color: var(--ink);
}
.lp-big {
  margin: 4px 0 16px;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
}
.lp-dist {
  display: flex;
  gap: 3px;
  height: 10px;
  border-radius: var(--r-pill);
  overflow: hidden;
}
.lp-dist__legend {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 24px;
}
/* Legend lines are ledger rows on a hairline, not tiles inside the panel. */
.lp-dist__legend li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 10px 2px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--sec);
}
.lp-dist__legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.lp-dist__legend i {
  width: 8px;
  height: 8px;
  border-radius: var(--r-pill);
}
.lp-dist__legend b {
  color: var(--ink);
  font-weight: 600;
}
.lp-inc-row {
  margin-top: 12px;
}

/* Teams */
.lp-teams {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}
.lp-cards {
  display: grid;
  gap: 12px;
}
.lp-card {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 14px;
  row-gap: 4px;
  padding: 18px;
  border-radius: var(--r-lg);
  background: var(--c);
  border: 1px solid var(--line);
  transition:
    transform 200ms var(--ease),
    border-color 200ms ease;
}
.lp-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--indigo-2) 40%, transparent);
}
.lp-card__ic {
  grid-row: span 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--r-sm);
  background: color-mix(in srgb, var(--indigo) 16%, transparent);
  color: var(--lavender);
  font-size: 20px;
}
.lp-card h3 {
  font-size: 15px;
}
.lp-card p {
  font-size: 13px;
  color: var(--sec);
}
.lp-queue {
  flex-wrap: wrap;
}
.lp-queue > b {
  color: var(--ink);
  font-weight: 600;
}
.lp-queue__actions {
  display: flex;
  gap: 6px;
  width: 100%;
  justify-content: flex-end;
}
.lp-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--r-pill);
  background: var(--chh);
  color: var(--ink);
  font-weight: 700;
}

/* Pricing */
.lp-billing {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  margin-top: 8px;
  border-radius: var(--r);
  background: var(--c);
  border: 1px solid var(--line);
}
.lp-billing button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding-inline: 16px;
  border: 0;
  border-radius: var(--r-sm);
  background: none;
  color: var(--sec);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition:
    background-color 160ms ease,
    color 160ms ease;
}
.lp-billing button[aria-pressed='true'] {
  background: var(--ch);
  color: var(--ink);
}
.lp-save {
  padding: 3px 8px;
  border-radius: var(--r-pill);
  background: color-mix(in srgb, var(--emerald) 14%, transparent);
  color: var(--emerald);
  font-size: 11px;
}
.lp-plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}
.lp-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px;
  border-radius: var(--r-xl);
  background: var(--c);
  border: 1px solid var(--line);
}
.lp-plan.is-featured {
  background: var(--ch);
  border-color: color-mix(in srgb, var(--indigo-2) 45%, transparent);
}
.lp-plan__badge {
  position: absolute;
  top: -12px;
  inset-inline-start: 28px;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  background: color-mix(in srgb, var(--indigo) 30%, var(--ch));
  border: 1px solid color-mix(in srgb, var(--indigo-2) 45%, transparent);
  color: var(--indigo-ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.lp-plan h3 {
  font-size: 20px;
}
.lp-plan__who {
  color: var(--sec);
  font-size: 13px;
}
.lp-plan__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 8px;
}
.lp-plan__price b {
  font: 600 44px/1 var(--f-display);
  letter-spacing: -0.03em;
  color: var(--ink);
}
.lp-plan__price span,
.lp-plan__billed {
  color: var(--muted);
  font-size: 13px;
}
.lp-plan .lp-btn {
  margin-block: 10px 6px;
}
.lp-plan ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.lp-plan li {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 13px;
}
.lp-plan li .lp-ico {
  color: var(--emerald);
  font-size: 15px;
}
.lp-footnote {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

/* Pricing page */
.lp-usage {
  display: grid;
  gap: 10px;
}
.lp-usage__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}
.lp-usage__line {
  font-size: 13px;
  color: var(--sec);
}
.lp-statement__text {
  max-width: 900px;
  font: 500 clamp(24px, 3.2vw, 38px)/1.3 var(--f-display);
  letter-spacing: -0.02em;
  color: var(--sec);
}
.lp-statement__text strong {
  color: var(--ink);
}
.lp-table-wrap {
  position: relative; /* keeps the table's screen-reader labels inside the scroller */
  overflow-x: auto;
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  background: var(--c);
}
.lp-cmp {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
}
.lp-cmp th,
.lp-cmp td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  text-align: center;
  font-size: 13px;
}
.lp-cmp tbody tr:last-child > * {
  border-bottom: 0;
}
.lp-cmp thead th {
  color: var(--ink);
}
.lp-cmp thead th b {
  display: block;
  font: 600 15px/1.3 var(--f-display);
}
.lp-cmp thead th span {
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
}
.lp-cmp tbody th {
  text-align: start;
  font-weight: 500;
  color: var(--on);
}
.lp-cmp__ics {
  display: inline-flex;
  gap: 4px;
  margin-inline-end: 10px;
  vertical-align: middle;
}
.lp-cmp .is-featured {
  background: color-mix(in srgb, var(--indigo) 6%, transparent);
}
.lp-yes {
  display: inline-flex;
  color: var(--emerald);
  font-size: 20px;
}
.lp-no {
  color: var(--muted);
}

/* FAQ */
.lp-faq {
  display: grid;
  gap: 10px;
}
.lp-faq__item {
  border-radius: var(--r-lg);
  background: var(--c);
  border: 1px solid var(--line);
  transition: border-color 200ms ease;
  interpolate-size: allow-keywords;
}
.lp-faq__item[open] {
  border-color: color-mix(in srgb, var(--indigo-2) 35%, transparent);
}
.lp-faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  cursor: pointer;
  list-style: none;
  font: 600 15px/1.35 var(--f-display);
  color: var(--ink);
}
.lp-faq__item summary::-webkit-details-marker {
  display: none;
}
.lp-faq__plus {
  position: relative;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.lp-faq__plus::before,
.lp-faq__plus::after {
  content: '';
  position: absolute;
  inset: 6px 0 auto;
  height: 2px;
  border-radius: var(--r-xs);
  background: var(--lavender);
  transition: transform 250ms var(--ease);
}
.lp-faq__plus::after {
  transform: rotate(90deg);
}
.lp-faq__item[open] .lp-faq__plus::after {
  transform: rotate(0deg);
}
.lp-faq__item p {
  padding: 0 20px 20px;
  color: var(--sec);
  font-size: 15px;
  line-height: 1.65;
}
.lp-faq__item::details-content {
  block-size: 0;
  overflow: hidden;
  transition:
    block-size 280ms var(--ease),
    content-visibility 280ms allow-discrete;
}
.lp-faq__item[open]::details-content {
  block-size: auto;
}

/* Closing */
.lp-close {
  padding-block: clamp(72px, 10vw, 128px);
}
.lp-close__inner {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 18px;
  text-align: center;
}
.lp-close h2 {
  position: relative;
  font-size: clamp(32px, 5vw, 56px);
  max-width: 16ch;
}
.lp-close .lp-lead,
.lp-close .lp-btn-row {
  position: relative;
}

/* Footer */
.lp-footer {
  padding-block: 56px 32px;
  border-top: 1px solid var(--line);
  background: var(--bg-deep);
}
.lp-footer__grid {
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  gap: 32px;
}
.lp-footer__brand p {
  margin-top: 14px;
  color: var(--sec);
  font-size: 13px;
}
.lp-footer h3 {
  margin-bottom: 14px;
  font: 600 11px/1.3 var(--f-text);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.lp-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  font-size: 13px;
}
.lp-footer ul a {
  color: var(--sec);
}
.lp-footer ul a:hover,
.lp-footer ul a[aria-current] {
  color: var(--ink);
}
.lp-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}
.lp-footer__legal a:hover {
  color: var(--ink);
}
.lp-footer__tm {
  margin-inline-start: auto;
}

/* Sticky action bar on phones */
.lp-actionbar {
  display: none;
}

/* ── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 1023px) {
  .lp-hero__grid,
  .lp-split,
  .lp-split--faq,
  .lp-pipe,
  .lp-teams {
    grid-template-columns: minmax(0, 1fr);
  }
  .lp-split--rev > :first-child {
    order: 0;
  }
  .lp-plans {
    grid-template-columns: minmax(0, 1fr);
    max-width: 520px;
    margin-inline: auto;
  }
  .lp-footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .lp-footer__brand {
    grid-column: 1 / -1;
  }
}
@media (max-width: 640px) {
  :root {
    --gutter: 16px;
  }
  .lp-btn-row .lp-btn {
    flex: 1 1 100%;
  }
  .lp-trip {
    padding: 14px;
  }
  .lp-trip__row {
    padding: 10px 2px;
  }
  .lp-viz--scan {
    grid-template-columns: minmax(0, 1fr);
  }
  .lp-pipe__stage {
    min-height: 0;
    padding: 16px;
  }
  .lp-dist__legend {
    grid-template-columns: 1fr;
  }
  .lp-doc {
    margin: 0 12px;
    padding: 18px;
  }
  .lp-footer__tm {
    margin-inline-start: 0;
  }
  .lp-actionbar {
    display: block;
    position: fixed;
    inset-inline: 0;
    bottom: 0;
    z-index: 40;
    padding: 12px 16px max(12px, env(safe-area-inset-bottom));
    background: color-mix(in srgb, var(--bg) 88%, transparent);
    backdrop-filter: blur(16px);
    border-top: 1px solid var(--glass-line);
    transform: translateY(110%);
    transition: transform 300ms var(--ease);
  }
  .lp-actionbar.is-shown {
    transform: none;
  }
  .lp-footer {
    padding-bottom: 96px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .lp-receipt__laser {
    display: none;
  }
}

/* The readiness mock shows the hero's trip earlier in its life, before the check was cleared. */
.lp-panel__when {
  margin-inline-start: 8px;
  font-weight: 500;
  font-size: 13px;
  color: var(--muted, #8a96aa);
}
