/*
 * MettaFlow landing page - the sections of Components/Pages/Home.razor, in page order.
 * Built from docs/designs/MettaFlow_Landing_Page/MettaFlow Landing.html; tokens are in site.css.
 *
 * Every state of every demo is in the markup. wwwroot/js/landing.js switches between them with the
 * hidden attribute and a few classes: is-on (chosen), is-open, is-current / is-past (tour rail),
 * is-in (scrolled into view) and lp-js on the page root once the script is running.
 * Breakpoints: 560 and 1100 (grids), 600 and 1100 (the corner shapes).
 */

/* ---- Shared ------------------------------------------------------------------------------- */
.lp { --section: clamp(64px, 9vw, 128px); }
/* The rail, the board and the dropdown lists scroll without showing a bar. */
.lp * { scrollbar-width: none; -ms-overflow-style: none; }
.lp *::-webkit-scrollbar { display: none; width: 0; height: 0; }

.lp-section { padding: var(--section) 0; scroll-margin-top: 72px; }
.lp-clip { position: relative; overflow-x: clip; }
.lp-above { position: relative; z-index: 1; }
.lp-ink { background: var(--ink); color: var(--paper); }
.lp-muted { color: var(--muted); }
.lp-start { align-self: flex-start; }

.lp-h2 { margin: 20px 0 0; font-size: clamp(32px, 4.2vw, 60px); font-weight: 600; line-height: 1.08; letter-spacing: -0.025em; max-width: 22ch; text-wrap: pretty; }
.lp-h3 { margin: 0; font-size: clamp(26px, 2.6vw, 38px); font-weight: 600; line-height: 1.12; letter-spacing: -0.015em; text-wrap: pretty; }
.lp-lead { margin: 20px 0 0; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.4; color: var(--body); text-wrap: pretty; }
.lp-text { margin: 0; font-size: 17px; line-height: 1.5; color: var(--body); text-wrap: pretty; }
.lp-kicker { font-family: var(--mono); font-size: 14px; font-weight: 700; color: var(--accent-deep); }
.lp-caption { font-size: 13px; font-weight: 600; color: var(--muted); }
.lp-label { font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.lp-label--lg { font-size: 13px; }
.lp-code { font-family: var(--mono); font-weight: 700; font-size: 15px; color: var(--accent-deep); }
.lp-code--sm { font-size: 13px; }
.lp-index { font-family: var(--mono); font-weight: 700; font-size: 15px; color: var(--accent-deep); }
.lp-index--on-ink { color: var(--accent-on-dark); }
.lp-index-tile {
  width: 44px; height: 44px; flex: none; border-radius: 14px; background: var(--accent-soft); color: var(--accent-deep);
  font-family: var(--mono); font-weight: 700; font-size: 15px; display: flex; align-items: center; justify-content: center;
}

/* Cards are flat (hairline, no shadow); only product windows are lifted. */
.lp-card { background: var(--card); border: 1px solid var(--line); border-radius: 24px; }
.lp-card__title { margin: 0; font-size: clamp(22px, 2.2vw, 30px); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; }
.lp-card__title--sm { font-size: clamp(22px, 2.2vw, 28px); }
.lp-card__text { margin: 0; font-size: 17px; line-height: 1.5; color: var(--body); text-wrap: pretty; }
.lp-panel { border: 1px solid var(--line); border-radius: 16px; }

.lp-window { background: var(--card); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-light); }
.lp-window__bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.lp-window__bar > i { width: 12px; height: 12px; border-radius: 50%; background: #E5E7EB; }
.lp-window__bar--wrap { flex-wrap: wrap; row-gap: 8px; }
.lp-window__title { margin-left: 10px; font-size: 13px; font-weight: 600; color: var(--muted); }
.lp-window__title--fill { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-window__bar--wrap .lp-window__title--fill { flex: 1 1 160px; }

.lp-statement {
  background: var(--ink); color: var(--paper); border-radius: 24px; padding: 24px 40px;
  font-size: clamp(20px, 2vw, 30px); font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; text-wrap: pretty;
}
.lp-statement--paper { background: var(--paper); color: var(--ink); }

.lp-bullets { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.lp-bullets li { display: flex; gap: 18px; font-size: 17px; line-height: 1.5; color: var(--body); }
.lp-bullets i { width: 12px; height: 12px; border-radius: 50%; background: var(--accent); flex: none; margin-top: 7px; }
.lp-bullets strong { color: var(--ink); font-weight: 700; }
.lp-bullets--tight { gap: 12px; }
.lp-bullets--tight li { gap: 16px; font-size: 16px; }
.lp-bullets--tight i { margin-top: 6px; }
.lp-bullets--on-ink li { color: var(--muted-dark); }
.lp-bullets--on-ink strong { color: var(--paper); }

.lp-tag { font-size: 13px; font-weight: 600; border-radius: 999px; white-space: nowrap; }
.lp-tag--outline { color: var(--muted); border: 1.5px solid var(--line); padding: 3px 10px; }
.lp-tag--early { color: var(--accent-deep); background: var(--accent-soft); padding: 4px 12px; }
.lp-tag--dot { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; }
.lp-tag--dot i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

.lp-chip {
  display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; white-space: nowrap;
  background: var(--paper); border: 1px solid var(--line); font-size: 12px; font-weight: 500; color: var(--body);
}
.lp-chip--early { background: var(--accent-soft); border: 0; font-weight: 600; color: var(--accent-deep); }

/* Confidence: the number is always printed; green from 80, amber below. */
.lp-conf { font-size: 14px; font-weight: 700; border-radius: 999px; padding: 4px 12px; white-space: nowrap; }
.lp-conf--sm { font-size: 13px; padding: 3px 10px; }
.lp-conf.is-ok { background: var(--ok-bg); color: var(--ok-ink); }
.lp-conf.is-warn { background: var(--warn-bg); color: var(--warn-ink); }

.lp-lane-now { background: var(--ink); color: var(--paper); border-radius: 999px; padding: 2px 10px; font-weight: 600; }

/* Segmented switch (before/with, shift tabs, journeys) and pill choices (roles, stories, form). */
.lp-seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); }
.lp-seg__btn {
  min-height: 44px; padding: 0 18px; border-radius: 999px; border: 0; background: transparent; color: var(--ink);
  font-weight: 600; font-size: 14px; white-space: nowrap; cursor: pointer; transition: background 180ms var(--ease), color 180ms;
}
.lp-seg__btn.is-on { background: var(--ink); color: var(--paper); }
.lp-seg--fill { display: flex; background: var(--card); }
.lp-seg--fill .lp-seg__btn { flex: 1; padding: 0 10px; }
.lp-seg--scroll { display: flex; gap: 4px; background: var(--card); overflow-x: auto; max-width: 100%; }
.lp-seg--scroll .lp-seg__btn { padding: 0 16px; }

.lp-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.lp-pill {
  min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--card); color: var(--ink);
  font-weight: 600; font-size: 14px; cursor: pointer;
}
.lp-pill.is-on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.lp-pill--tab { white-space: nowrap; transition: background 180ms var(--ease), color 180ms; }
.lp-pill--lg { padding: 0 18px; font-size: 15px; }
.lp-pill--data { padding: 0 14px; font-size: 13px; }

/* One of several alternatives; data-switch gives the chosen one is-on. */
.lp-pane { display: none; }
.lp-pane.is-on { display: block; }

.lp-avatar {
  width: 40px; height: 40px; border-radius: 50%; flex: none; overflow: hidden;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px;
}
.lp-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lp-avatar--accent { background: var(--accent); color: #fff; }
.lp-avatar--ink { background: var(--ink); color: var(--paper); }
.lp-avatar--sm { width: 36px; height: 36px; background: var(--paper); border: 1px solid var(--line); font-size: 13px; color: var(--ink); }

.lp-chat-head { display: flex; align-items: center; gap: 12px; }
.lp-chat-head__name { font-size: 15px; font-weight: 600; }
.lp-chat-head__meta { font-size: 14px; color: var(--muted); }
.lp-bubble { background: var(--paper); border: 1px solid var(--line); border-radius: 20px 20px 20px 6px; padding: 16px 20px; line-height: 1.7; }
.lp-bubble--message { font-size: 18px; }
/* The one place a coloured left border is allowed: it is a quote device, not a card. */
.lp-translation { border-left: 2px solid var(--accent); padding-left: 16px; display: flex; flex-direction: column; gap: 2px; }
.lp-translation__from { font-size: 13px; font-weight: 500; color: var(--muted); }
.lp-translation__text { font-size: 15px; line-height: 1.45; }
.lp-translation__text--lg { font-size: 16px; }

/* ---- Corner shapes ------------------------------------------------------------------------ */
/* landing.js adds the scroll drift; the resting tilt is each shape's data-shape. */
.lp-shape { position: absolute; height: auto; z-index: 0; pointer-events: none; will-change: transform; }
.lp-shape--hero { left: -3vw; bottom: -40px; width: clamp(150px, 17vw, 270px); transform: rotate(-10deg); }
.lp-shape--problem { right: -4vw; top: 40px; width: clamp(140px, 15vw, 240px); transform: rotate(12deg); }
.lp-shape--shift { left: -5vw; bottom: 24px; width: clamp(140px, 15vw, 240px); transform: rotate(-8deg); }
.lp-shape--workflow { right: -3vw; top: 56px; width: clamp(120px, 12vw, 200px); transform: rotate(10deg); }
.lp-shape--privacy { left: -5vw; top: 38%; width: clamp(130px, 13vw, 210px); transform: rotate(-12deg); }
.lp-shape--stories { right: -4vw; top: 10px; width: clamp(120px, 12vw, 200px); transform: rotate(8deg); }
.lp-shape--early { right: -3vw; bottom: -30px; width: clamp(130px, 13vw, 210px); transform: rotate(14deg); }
.lp-shape--faq { left: -5vw; bottom: 30px; width: clamp(120px, 12vw, 200px); transform: rotate(-10deg); }

@media (max-width: 1099px) {
  .lp-shape { width: 124px; }
  .lp-shape--hero { left: -28px; bottom: -24px; }
  .lp-shape--problem, .lp-shape--workflow { right: -30px; top: -10px; }
  .lp-shape--shift { left: -30px; bottom: -20px; }
  .lp-shape--privacy, .lp-shape--faq { left: auto; right: -30px; top: -10px; bottom: auto; }
  .lp-shape--stories { right: -30px; top: auto; bottom: -20px; }
  .lp-shape--early { right: -30px; top: -10px; bottom: auto; }
}
@media (max-width: 599px) {
  .lp-shape { width: 88px; }
}

/* ---- Hero --------------------------------------------------------------------------------- */
.lp-hero { position: relative; background: var(--ink); color: var(--paper); overflow: hidden; padding: clamp(56px, 8vw, 112px) 0 clamp(72px, 9vw, 128px); }
.lp-hero__inner { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: clamp(48px, 6vw, 80px); align-items: center; }
.lp-hero__copy { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.lp-hero__copy .mf-eyebrow { align-self: flex-start; }
.lp-hero__title { margin: 0; font-size: clamp(36px, 5.6vw, 84px); font-weight: 600; line-height: 1.02; letter-spacing: -0.03em; max-width: 12ch; text-wrap: balance; }
.lp-hero__lead { margin: 0; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.4; color: var(--muted-dark); max-width: 40ch; text-wrap: pretty; }
.lp-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.lp-hero__meta { margin: 0; font-size: 14px; font-weight: 500; color: var(--muted-dark); }
.lp-hero__art { flex: 1 1 360px; min-width: 0; display: flex; justify-content: center; }

/* The only tilted window on the page. */
.lp-hero-card { width: 100%; max-width: 440px; color: var(--ink); box-shadow: var(--shadow-dark); transform: rotate(-4deg); }
.lp-hero-card__body { padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.lp-hero-card__bubble { font-size: clamp(17px, 1.6vw, 20px); }
.lp-hero-card__saved { border: 1px solid var(--line); border-radius: 16px; padding: 12px 16px; display: flex; flex-direction: column; gap: 8px; }
.lp-hero-card__kv { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.lp-hero-card__kv strong { font-weight: 700; }
.lp-hero-card__loss { font-weight: 600; }
.lp-hero-card__case { border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.lp-hero-card__case-id { display: flex; flex-direction: column; gap: 4px; }
.lp-hero-card__case-id .lp-code { font-size: 14px; }
.lp-hero-card__lane { font-size: 13px; color: var(--muted); }
.lp-hero-card__approval { display: grid; }
.lp-hero-card__approve, .lp-hero-card__approved { grid-area: 1 / 1; transition: opacity 240ms; }
.lp-hero-card__approve { display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--ink); font-weight: 600; font-size: 14px; }
.lp-hero-card__approved { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; line-height: 1.3; opacity: 0; }
.lp-hero-card__approved img { width: 40px; height: 40px; border-radius: 50%; flex: none; object-fit: cover; background: var(--paper); }

/* The loop: translation, saved data, the case sliding in, then the approval. */
.lp-hero-card__s1, .lp-hero-card__s2, .lp-hero-card__s3 { opacity: 0; transition: opacity 240ms var(--ease); }
.lp-hero-card__s3 { transform: translateX(24px); transition: opacity 240ms var(--ease), transform 320ms var(--ease); }
.lp-hero-card.is-s1 .lp-hero-card__s1, .lp-hero-card.is-s2 .lp-hero-card__s2, .lp-hero-card.is-s3 .lp-hero-card__s3 { opacity: 1; }
.lp-hero-card.is-s3 .lp-hero-card__s3 { transform: translateX(0); }
.lp-hero-card.is-s4 .lp-hero-card__approve { opacity: 0; }
.lp-hero-card.is-s4 .lp-hero-card__approved { opacity: 1; }

/* ---- Channels ----------------------------------------------------------------------------- */
.lp-channels { padding: clamp(48px, 6vw, 80px) 0 0; }
.lp-channels__inner { display: flex; flex-direction: column; gap: 24px; }
.lp-channels__title { margin: 0; font-size: clamp(20px, 1.8vw, 24px); font-weight: 600; letter-spacing: -0.01em; }
.lp-channels__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; }
.lp-channel {
  position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 20px; min-height: 96px;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 8px;
}
.lp-channel__icon { width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: auto; }
.lp-channel__name { font-size: 15px; font-weight: 600; margin-top: 12px; }
.lp-channel__tag { position: absolute; top: 16px; right: 16px; }

/* ---- Problem ------------------------------------------------------------------------------ */
.lp-problem__grid { margin-top: clamp(28px, 3vw, 44px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 24px; }
.lp-problem__card { padding: clamp(24px, 2.5vw, 36px); display: flex; flex-direction: column; gap: 12px; }

/* ---- Customer experience ------------------------------------------------------------------ */
.lp-experience { padding: 0 0 var(--section); scroll-margin-top: 72px; }
.lp-cx { background: var(--card); border: 1px solid var(--line); border-radius: 32px; overflow: hidden; display: flex; flex-wrap: wrap; }
.lp-cx__main { flex: 2.2 1 560px; min-width: 0; padding: clamp(24px, 4vw, 56px); display: flex; flex-direction: column; gap: clamp(24px, 3vw, 36px); }
.lp-cx__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; }
.lp-cx__heading { display: flex; flex-direction: column; gap: 16px; }
.lp-cx__heading .mf-eyebrow { align-self: flex-start; }
.lp-cx__title { margin: 0; font-size: clamp(30px, 3.6vw, 52px); font-weight: 600; line-height: 1.08; letter-spacing: -0.025em; max-width: 16ch; text-wrap: pretty; }

.lp-cx__grid { display: grid; grid-template-columns: minmax(0, 1fr); grid-auto-rows: minmax(184px, auto); gap: 16px; }
@media (min-width: 560px) {
  .lp-cx__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-tile[data-tile="A"] { grid-column: 1 / 2; grid-row: 1; }
  .lp-tile[data-tile="B"] { grid-column: 2 / 3; grid-row: 1; }
  .lp-tile[data-tile="C"] { grid-column: 1 / 3; grid-row: 2; }
  .lp-tile[data-tile="D"] { grid-column: 1 / 2; grid-row: 3; }
  .lp-tile[data-tile="F"] { grid-column: 2 / 3; grid-row: 3; }
  .lp-tile[data-tile="E"] { grid-column: 1 / 3; grid-row: 4; }
}
@media (min-width: 1100px) {
  .lp-cx__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lp-tile[data-tile="C"] { grid-column: 3 / 4; grid-row: 1 / 3; }
  .lp-tile[data-tile="D"] { grid-column: 1 / 2; grid-row: 2; }
  .lp-tile[data-tile="E"] { grid-column: 2 / 3; grid-row: 2; }
  .lp-tile[data-tile="F"] { grid-column: 1 / 4; grid-row: 3; }
}

/* A tile's skin applies "with MettaFlow"; "before" flattens every tile to plain paper. */
.lp-tile {
  --tile-bg: var(--card); --tile-fg: var(--ink); --tile-line: var(--line); --tile-sub: var(--muted); --tile-body: var(--body);
  min-height: 184px; border-radius: 24px; padding: 24px; display: flex; flex-direction: column; justify-content: space-between; gap: 16px;
  background: var(--tile-bg); color: var(--tile-fg); border: 1px solid var(--tile-line);
  transition: background 320ms var(--ease), color 320ms, border-color 320ms, box-shadow 180ms;
}
.lp-cx[data-mode="with"] .lp-tile--soft { --tile-bg: var(--accent-soft); --tile-line: var(--accent-soft); }
.lp-cx[data-mode="with"] .lp-tile--ink { --tile-bg: var(--ink); --tile-fg: var(--paper); --tile-line: var(--ink); --tile-sub: var(--muted-dark); --tile-body: var(--muted-dark); }
.lp-cx[data-mode="with"] .lp-tile--accent { --tile-bg: var(--accent); --tile-line: var(--accent); --tile-sub: var(--ink); --tile-body: var(--ink); }
.lp-cx[data-mode="without"] .lp-tile { --tile-bg: var(--paper); --tile-body: var(--muted); }
.lp-cx[data-mode="with"] .lp-without, .lp-cx[data-mode="without"] .lp-with { display: none; }
.lp-tile.is-on { box-shadow: 0 0 0 3px var(--card), 0 0 0 6px var(--ink); }

.lp-tile__kicker { font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--tile-sub); }
.lp-tile__copy { display: flex; flex-direction: column; gap: 8px; }
.lp-tile__title { font-size: clamp(20px, 1.9vw, 26px); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; text-wrap: pretty; }
.lp-tile__text { font-size: 15px; line-height: 1.5; color: var(--tile-body); text-wrap: pretty; }
.lp-tile__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.lp-tile__chips span { font-size: 12px; font-weight: 600; border: 1.5px solid var(--line); border-radius: 999px; padding: 3px 10px; white-space: nowrap; }
.lp-tile__burmese { align-self: flex-start; background: var(--card); border-radius: 16px 16px 16px 4px; padding: 10px 14px; font-size: 18px; line-height: 1.6; }
.lp-tile__chat { display: flex; flex-direction: column; gap: 8px; font-size: 14px; line-height: 1.4; }
.lp-tile__ask { align-self: flex-end; max-width: 85%; border: 1px solid var(--line-dark); border-radius: 16px 16px 4px 16px; padding: 8px 12px; color: var(--paper); }
.lp-tile__reply { align-self: flex-start; background: rgba(255, 255, 255, .08); border-radius: 16px 16px 16px 4px; padding: 8px 12px; font-weight: 700; color: var(--paper); }
.lp-tile__saved { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--accent-on-dark); }
.lp-tile__saved i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.lp-tile__stamp { align-self: flex-start; font-weight: 700; font-size: 14px; background: var(--paper); border-radius: 12px; padding: 8px 12px; }
.lp-tile__stamp--card { background: var(--card); color: var(--ink); }

.lp-cx__aside { flex: 1 1 300px; min-width: 0; background: var(--paper); border-left: 1px solid var(--line); padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 24px; }
.lp-cx__intro { display: flex; flex-direction: column; gap: 8px; }
.lp-cx__intro h3 { margin: 0; font-size: clamp(24px, 2.4vw, 32px); font-weight: 600; line-height: 1.12; letter-spacing: -0.015em; }
.lp-cx__intro p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--muted); }
.lp-cx__people { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.lp-person {
  min-height: 120px; text-align: left; border-radius: 16px; border: 1.5px solid var(--line); background: var(--card); color: var(--ink); padding: 14px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 8px; cursor: pointer; transition: background 180ms var(--ease), color 180ms;
}
.lp-person.is-on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.lp-person__index { font-size: 12px; font-weight: 700; color: var(--accent-deep); }
.lp-person.is-on .lp-person__index { color: var(--accent-on-dark); }
.lp-person__name { display: flex; flex-direction: column; gap: 2px; }
.lp-person__name span { font-size: 13px; line-height: 1.3; }
.lp-person__name strong { font-size: 17px; font-weight: 700; line-height: 1.2; }
.lp-cx__day { display: flex; flex-direction: column; gap: 12px; }
.lp-cx__day-title { font-size: 15px; font-weight: 600; }
.lp-cx__moments { display: grid; grid-template-columns: repeat(auto-fill, minmax(124px, 1fr)); gap: 8px; }
.lp-moment {
  min-height: 56px; text-align: left; border-radius: 14px; border: 1.5px solid var(--line); background: var(--card); color: var(--ink); padding: 8px 12px;
  display: flex; flex-direction: column; justify-content: center; gap: 2px; cursor: pointer;
  transition: background 180ms var(--ease), color 180ms, border-color 180ms;
}
.lp-moment:hover { border-color: var(--ink); }
.lp-moment.is-on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.lp-moment__time { font-size: 12px; font-weight: 700; }
.lp-moment__label { font-size: 13px; font-weight: 600; line-height: 1.3; }
.lp-cx__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 8px; }
.lp-cx__note { font-size: 13px; color: var(--muted); max-width: 22ch; }
.lp-cx__next { --btn-px: 22px; --btn-fs: 15px; }

/* ---- The shift ---------------------------------------------------------------------------- */
.lp-shift { border-top: 1px solid var(--line); padding: clamp(64px, 8vw, 96px) 0 var(--section); scroll-margin-top: 72px; }
.lp-shift__lead { max-width: 56ch; }
.lp-shift__tabs { display: none; margin-top: 28px; }
.lp-shift__grid { margin-top: clamp(28px, 3vw, 44px); display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.lp-shift__col {
  padding: 32px 32px 8px; display: flex; flex-direction: column;
  transition: opacity 320ms var(--ease) calc(var(--i) * 120ms), transform 320ms var(--ease) calc(var(--i) * 120ms);
}
.lp-shift__head { display: flex; align-items: center; gap: 12px; padding-bottom: 8px; }
.lp-shift__head h3 { margin: 0; font-size: 14px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.lp-shift__pair { margin: 0; display: flex; flex-direction: column; gap: 6px; padding: 24px 0; border-top: 1px solid var(--line); }
.lp-shift__pair dt { font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.lp-shift__pair dd { margin: 0; }
.lp-shift__before { font-size: 16px; line-height: 1.45; color: var(--muted); text-wrap: pretty; }
.lp-shift__pair .lp-shift__arrow {
  margin: 4px 0; width: 12px; height: 12px; border-right: 1.8px solid var(--muted-dark); border-bottom: 1.8px solid var(--muted-dark);
  transform: rotate(45deg) translate(-2px, -2px);
}
.lp-shift__now { transition: opacity 320ms var(--ease) calc(var(--i) * 120ms + 200ms); }
.lp-shift__pair dt.lp-shift__now { color: var(--accent-deep); }
.lp-shift__after { font-size: 18px; font-weight: 600; line-height: 1.35; letter-spacing: -0.005em; color: var(--ink); text-wrap: pretty; }
.lp-shift__pair .lp-shift__features { margin-top: 6px; display: flex; flex-wrap: wrap; gap: 6px; }

/* Until the section is seen, the columns wait - but only once the script is there to reveal them. */
.lp-js .lp-shift:not(.is-in) .lp-shift__col { opacity: 0; transform: translateY(8px); }
.lp-js .lp-shift:not(.is-in) .lp-shift__now { opacity: 0; }

.lp-shift__note { margin-top: 24px; background: var(--accent-soft); border-radius: 24px; padding: 28px 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; }
.lp-shift__portrait { width: 64px; height: 64px; min-width: 64px; flex: none; border-radius: 50%; background: var(--card); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; }
.lp-shift__portrait img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; display: block; }
.lp-shift__note p { margin: 0; flex: 1 1 360px; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.45; color: var(--ink); text-wrap: pretty; }
.lp-shift__note strong { font-weight: 700; }

@media (min-width: 1100px) {
  .lp-shift__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 559px) {
  /* A phone shows one column at a time, picked from the tabs. */
  .lp-shift__tabs { display: flex; }
  .lp-shift__col:not(.is-on) { display: none; }
  .lp-shift__col { transition-delay: 0ms; }
  .lp-shift__now { transition-delay: 200ms; }
}

/* ---- Tour --------------------------------------------------------------------------------- */
.lp-tour { padding: 0 0 var(--section); scroll-margin-top: 72px; }
.lp-tour__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.lp-tour__head .lp-h2 { max-width: 20ch; }
.lp-tour__head .lp-lead { margin: 0; max-width: 34ch; }

/* The rail: a number per step, a portrait on an accent disc where a person acts. */
.lp-rail { margin-top: clamp(28px, 3vw, 44px); position: relative; overflow-x: auto; padding: 6px 4px 4px; }
.lp-rail__track { position: relative; display: grid; grid-template-columns: repeat(7, minmax(76px, 1fr)); min-width: 560px; }
.lp-rail__line { position: absolute; left: 7%; right: 7%; top: 24px; height: 2px; background: var(--ink); opacity: .2; }
.lp-rail__step { position: relative; background: transparent; border: 0; padding: 0 0 4px; min-height: 44px; display: flex; flex-direction: column; align-items: center; gap: 10px; cursor: pointer; }
.lp-rail__node {
  width: 48px; height: 48px; border-radius: 50%; background: var(--card); border: 2px solid var(--line-strong); color: var(--muted);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px;
  transition: background 180ms var(--ease), box-shadow 180ms;
}
.lp-rail__node img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
.lp-rail__label { font-size: 14px; font-weight: 500; color: var(--muted); }
.lp-rail__step.is-past .lp-rail__node { border-color: var(--ink); color: var(--ink); }
.lp-rail__step.is-current .lp-rail__node { background: var(--ink); border-color: var(--ink); color: var(--paper); box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px var(--ink); }
.lp-rail__step.is-current .lp-rail__label { color: var(--ink); font-weight: 700; }
.lp-rail__step.is-human .lp-rail__node { background: var(--accent); border-color: var(--accent); }
.lp-tour__legend { margin-top: 16px; display: flex; justify-content: center; }
.lp-legend {
  display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; padding: 4px 14px 4px 4px;
  border: 1.5px solid var(--line); border-radius: 999px; background: var(--card); font-size: 13px; font-weight: 600; color: var(--ink);
}
.lp-legend img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; display: block; flex: none; }

.lp-tour__body { margin-top: clamp(28px, 3vw, 40px); display: flex; flex-wrap: wrap; gap: clamp(32px, 4vw, 56px); align-items: flex-start; }
.lp-tour__copy { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.lp-tour__step { display: flex; flex-direction: column; gap: 22px; }
.lp-tour__tag { align-self: flex-start; }
.lp-tour__try { margin: 0; font-size: 15px; font-weight: 600; color: var(--ink); }
.lp-tour__nav { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 8px; }
.lp-tour__stage { flex: 1.7 1 440px; min-width: 0; max-width: 100%; }

.lp-thread { margin-top: 24px; border-top: 1px solid var(--line); padding-top: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.lp-thread__title { font-size: 14px; font-weight: 600; margin-right: 6px; }
.lp-thread__empty { font-size: 14px; color: var(--muted); }
.lp-token { display: inline-flex; gap: 8px; align-items: center; font-size: 13px; background: var(--card); border: 1.5px solid var(--line); border-radius: 999px; padding: 5px 12px; }
.lp-token .mf-mono { color: var(--muted); }
.lp-token strong { font-weight: 600; }
.lp-tour__disclaimer { margin: 16px 0 0; font-size: 14px; color: var(--muted); }

.lp-progress { margin: 0; font-size: 14px; color: var(--muted); }
.lp-progress--lg { font-size: 15px; }
.lp-btn--15 { --btn-px: 20px; --btn-fs: 15px; }
.lp-btn--wide { --btn-px: 22px; }

/* 01 Inbox */
.lp-inbox { display: flex; flex-wrap: wrap; min-height: 500px; }
.lp-inbox__list { flex: 1 1 250px; min-width: 0; border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.lp-inbox__head { padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.lp-live { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--ok-ink); }
.lp-live i { width: 6px; height: 6px; border-radius: 50%; background: var(--ok-ink); }
.lp-convo {
  display: flex; gap: 12px; align-items: flex-start; width: 100%; text-align: left; padding: 14px 16px;
  border: 0; border-bottom: 1px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer; transition: background 180ms;
}
.lp-convo.is-on { background: var(--accent-soft); }
.lp-convo:hover { background: var(--paper); }
.lp-convo__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.lp-convo__top { display: flex; justify-content: space-between; gap: 8px; }
.lp-convo__name { font-size: 14px; font-weight: 600; }
.lp-convo__time { font-size: 12px; color: var(--muted); }
.lp-convo__snippet { font-size: 14px; color: var(--body); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-convo__tags { display: flex; align-items: center; gap: 8px; }
.lp-convo__channel { font-size: 12px; font-weight: 600; color: var(--muted); border: 1.5px solid var(--line); border-radius: 999px; padding: 1px 8px; }
.lp-convo__new { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--accent-deep); }
.lp-convo__new i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.lp-inbox__pane { flex: 1.3 1 280px; min-width: 0; padding: 22px; display: flex; flex-direction: column; gap: 16px; }
.lp-inbox__empty { flex: 1; min-height: 200px; display: flex; align-items: center; justify-content: center; text-align: center; }
.lp-inbox__empty p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--muted); max-width: 28ch; }
.lp-inbox__open { display: flex; flex-direction: column; gap: 16px; }
.lp-inbox__note { margin: 0; font-size: 14px; line-height: 1.5; color: var(--muted); }

/* 02 Drafts */
.lp-reply { padding: 22px; display: flex; flex-direction: column; gap: 16px; min-height: 500px; }
.lp-reply__message { align-self: flex-start; max-width: 90%; }
.lp-divider { height: 1px; background: var(--line); margin: 4px 0; }
.lp-drafts { display: flex; flex-direction: column; gap: 16px; }
.lp-drafts__list { display: flex; flex-direction: column; gap: 8px; }
.lp-draft {
  text-align: left; display: flex; flex-direction: column; gap: 4px; padding: 12px 16px; border-radius: 16px;
  border: 1.5px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer; transition: border-color 180ms;
}
.lp-draft:hover { border-color: var(--ink); }
.lp-draft.is-on { border-color: var(--ink); background: var(--paper); }
.lp-draft__tone { font-size: 12px; font-weight: 700; color: var(--muted); }
.lp-draft__text { font-size: 15px; line-height: 1.45; }
.lp-composer { margin-top: auto; display: flex; gap: 10px; align-items: flex-end; border: 1.5px solid var(--line); border-radius: 16px; padding: 10px 10px 10px 16px; }
.lp-composer__text { flex: 1; font-size: 15px; line-height: 1.45; color: var(--ink); padding: 6px 0; }
.lp-composer__text.is-empty { color: var(--muted); }
.lp-composer__send { --btn-px: 20px; --btn-fs: 15px; }
.lp-sent { margin-top: auto; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.lp-sent__bubble { max-width: 85%; background: var(--ink); color: var(--paper); border-radius: 20px 20px 6px 20px; padding: 14px 18px; font-size: 15px; line-height: 1.45; }
.lp-sent__meta { font-size: 13px; color: var(--muted); }

/* 03 Collect */
.lp-collect { display: flex; flex-wrap: wrap; min-height: 500px; }
.lp-collect__chat { flex: 1.4 1 280px; min-width: 0; padding: 22px; display: flex; flex-direction: column; gap: 12px; border-right: 1px solid var(--line); }
.lp-collect__hint { font-size: 13px; color: var(--muted); }
.lp-msg { display: flex; }
.lp-msg--ai { justify-content: flex-end; }
.lp-msg__col { max-width: 86%; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.lp-msg--ai .lp-msg__col { align-items: flex-end; }
.lp-msg__who { font-size: 12px; font-weight: 600; color: var(--muted); }
.lp-msg__bubble { padding: 12px 16px; font-size: 15px; line-height: 1.45; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 20px 20px 20px 6px; }
.lp-msg--ai .lp-msg__bubble { background: var(--card); border-color: var(--line-strong); border-radius: 20px 20px 6px 20px; }
.lp-msg__data { font-weight: 700; }
.lp-msg__form { display: block; margin-top: 8px; font-size: 13px; font-weight: 600; color: var(--accent-deep); }
.lp-collect__play { margin-top: auto; padding-top: 8px; }
.lp-collect__saved { flex: 1 1 220px; min-width: 0; padding: 22px; background: var(--paper); display: flex; flex-direction: column; gap: 12px; }
.lp-saved { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 4px 16px; }
.lp-saved__row { padding: 12px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.lp-saved__key { font-size: 12px; color: var(--muted); }
.lp-saved__line { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.lp-saved__value { font-size: 15px; font-weight: 600; color: var(--ink); }
.lp-saved__value.is-waiting { color: var(--muted); }
.lp-saved__note { font-size: 12px; color: var(--muted); }

/* 04 Case */
.lp-case { padding: 22px; display: flex; flex-direction: column; gap: 18px; min-height: 500px; }
.lp-case__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; background: var(--paper); border-radius: 16px; padding: 12px 16px; font-size: 14px; }
.lp-case__bar strong { font-weight: 600; }
.lp-suggestion { padding: 18px 20px; display: flex; flex-direction: column; gap: 12px; }
.lp-suggestion__name { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.lp-suggestion p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--body); }
.lp-case__made { display: flex; flex-direction: column; gap: 18px; }
.lp-lanes { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; }
.lp-lane { background: var(--card); border: 1.5px solid var(--line); border-radius: 999px; padding: 5px 12px; }
.lp-lane.is-on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.lp-lanes__arrow { color: var(--muted); }
.lp-case__card { padding: 18px 20px; display: flex; flex-direction: column; gap: 14px; }
.lp-case__id { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.lp-case__origin { font-size: 14px; color: var(--muted); }
.lp-case__name { font-size: 17px; font-weight: 600; }
.lp-case__facts { display: flex; flex-wrap: wrap; gap: 8px; }
.lp-case__facts > span { font-size: 13px; border: 1.5px solid var(--line); border-radius: 999px; padding: 4px 12px; }
.lp-case__facts .mf-mono { color: var(--muted); }
.lp-case__facts strong { font-weight: 600; }
.lp-case__flow { display: flex; flex-direction: column; gap: 10px; }
.lp-ministeps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; position: relative; }
.lp-ministeps__line { position: absolute; left: 10%; right: 10%; top: 17px; height: 2px; background: var(--ink); opacity: .2; }
.lp-ministep { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.lp-ministep__node { width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--ink); background: var(--card); color: var(--ink); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; }
.lp-ministep.is-on .lp-ministep__node { background: var(--ink); color: var(--paper); }
.lp-ministep__label { font-size: 12px; font-weight: 600; line-height: 1.3; }

/* 05 Evidence */
.lp-evidence { padding: 22px; display: flex; flex-direction: column; gap: 16px; min-height: 500px; }
.lp-step-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.lp-step-head__title { display: flex; flex-direction: column; gap: 2px; }
.lp-step-head__name { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.lp-evidence__intro { margin: 0; font-size: 15px; line-height: 1.5; color: var(--muted); max-width: 46ch; }
.lp-evidence__result { display: flex; flex-direction: column; gap: 16px; }
.lp-evidence__cols { display: flex; flex-wrap: wrap; gap: 20px; }
.lp-evidence__values { flex: 1.3 1 280px; min-width: 0; display: flex; flex-direction: column; }
.lp-value { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.lp-value--tight { gap: 8px; padding: 8px 0; }
.lp-value__pair { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.lp-value__key { font-size: 12px; color: var(--muted); }
.lp-value__text { font-size: 15px; font-weight: 600; }
/* A citation is small text, so the button is padded out to a full hit target. */
.lp-cite { min-width: 44px; min-height: 44px; border: 0; border-radius: 12px; background: transparent; font-weight: 600; font-size: 14px; color: var(--accent-deep); cursor: pointer; }
.lp-cite:hover, .lp-cite.is-on { background: var(--accent-soft); }
.lp-evidence__check { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 0; font-size: 14px; flex-wrap: wrap; }
.lp-evidence__check strong { font-weight: 600; }
.lp-http { font-size: 13px; color: var(--muted); }
.lp-http b { color: var(--accent-deep); font-weight: 700; }
.lp-sources { flex: 1 1 220px; min-width: 0; background: var(--paper); border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.lp-source { display: flex; flex-direction: column; gap: 4px; padding: 10px 12px; border-radius: 12px; transition: background 180ms; }
.lp-source.is-on { background: var(--accent-soft); }
.lp-source__doc { font-size: 12px; color: var(--muted); }
.lp-source__text { font-size: 14px; line-height: 1.45; }
.lp-evidence__confirmed { margin: 0; font-size: 14px; color: var(--muted); }

/* A flag: something waits for a person. */
.lp-flag { background: var(--accent-soft); border-radius: 16px; padding: 16px 20px; }
.lp-flag--review { display: grid; grid-template-columns: 32px minmax(0, 1fr); column-gap: 14px; row-gap: 12px; align-items: start; }
.lp-flag__text { display: flex; flex-direction: column; gap: 4px; padding-top: 4px; }
.lp-flag__text strong { font-size: 15px; font-weight: 700; color: var(--ink); }
.lp-flag__text p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink); text-wrap: pretty; }
.lp-flag__text b { font-weight: 700; }
.lp-flag__actions { grid-column: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.lp-flag__source { font-size: 13px; font-weight: 600; color: var(--warn-ink); }
.lp-flag--row { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.lp-flag--row p { margin: 0; flex: 1 1 200px; font-size: 15px; line-height: 1.5; }
.lp-flag--row strong { font-weight: 700; }

/* 06 Rules */
.lp-rules { padding: 22px; display: flex; flex-wrap: wrap; gap: 20px; min-height: 500px; align-content: flex-start; }
.lp-rules__base { flex: 1 1 240px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.lp-rulebox { background: var(--paper); border-radius: 16px; padding: 16px 20px; line-height: 1.6; font-size: 14px; border: 1.5px solid transparent; transition: border-color 180ms; }
.lp-rulebox.is-on { border-color: var(--accent-deep); }
.lp-rulebox b { color: var(--accent-deep); font-weight: 700; }
.lp-rulebox em { font-style: normal; color: var(--accent-deep); font-weight: 600; }
.lp-rulebox span { color: var(--muted); }
.lp-rules__test { flex: 1.1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.lp-rules__amount, .lp-rules__field { display: flex; flex-direction: column; gap: 8px; }
.lp-rules__name { font-size: 14px; font-weight: 600; }
.lp-rules__amount .lp-rules__name { display: flex; justify-content: space-between; gap: 8px; }
.lp-rules__amount .mf-mono { font-weight: 700; }
.lp-rules__amount input { width: 100%; height: 28px; }
.lp-verdict { border-radius: 16px; padding: 16px 20px; display: flex; flex-direction: column; gap: 4px; transition: background 180ms; }
.lp-verdict.is-ok { background: var(--ok-bg); color: var(--ok-ink); }
.lp-verdict.is-warn { background: var(--warn-bg); color: var(--warn-ink); }
.lp-verdict__title { font-size: 13px; font-weight: 600; }
.lp-verdict__label { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.lp-verdict__rule { font-size: 13px; }

/* 07 Sign-off */
.lp-signoff { padding: 22px; display: flex; flex-wrap: wrap; gap: 20px; min-height: 500px; align-content: flex-start; }
.lp-signoff__main { flex: 1.2 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.lp-summary { border: 1px solid var(--line); border-radius: 16px; padding: 4px 16px; }
.lp-summary > div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; flex-wrap: wrap; }
.lp-summary > div > span:first-child { color: var(--muted); }
.lp-summary > div > span:last-child { font-weight: 600; text-align: right; }
.lp-approve, .lp-approved { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.lp-approve__btn { --btn-px: 28px; font-weight: 700; }
.lp-approve__why { font-size: 14px; color: var(--muted); }
.lp-approved__who { display: flex; flex-direction: column; gap: 2px; flex: 1 1 160px; }
.lp-approved__who strong { font-size: 16px; font-weight: 700; }
.lp-approved__who > span { font-size: 14px; color: var(--muted); }
.lp-log { flex: 1 1 240px; min-width: 0; background: var(--paper); border-radius: 16px; padding: 16px; display: flex; flex-direction: column; }
.lp-log .lp-caption { padding-bottom: 6px; }
.lp-log__row { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.lp-log__row > .mf-mono { font-size: 12px; color: var(--muted); padding-top: 2px; }
.lp-log__row > span:last-child { display: flex; flex-direction: column; gap: 2px; }
.lp-log__row strong { font-size: 13px; font-weight: 600; }
.lp-log__row strong + span { font-size: 13px; line-height: 1.4; color: var(--body); }

/* ---- Case workflow ------------------------------------------------------------------------ */
.lp-workflow { border-top: 1px solid var(--line); }
.lp-workflow__lead { max-width: 680px; }
.lp-workflow__pick { margin-top: clamp(28px, 3vw, 44px); display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.lp-workflow__pick-label { font-size: 14px; font-weight: 600; color: var(--muted); }

.lp-board { margin-top: 20px; background: var(--card); border: 1px solid var(--line); border-radius: 32px; overflow: hidden; box-shadow: var(--shadow-light); display: flex; flex-wrap: wrap; }
/* A journey is its stages plus its profile; the chosen one lays both straight into the board. */
.lp-board__journey { display: none; }
.lp-board__journey.is-on { display: contents; }
.lp-board__main { flex: 2.3 1 640px; min-width: 0; display: flex; flex-direction: column; }
.lp-board__crumb { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 16px 22px; border-bottom: 1px solid var(--line); }
.lp-board__path { font-size: 13px; color: var(--muted); }
.lp-board__crumb strong { font-size: 14px; font-weight: 600; }
.lp-board__sample { margin-left: auto; }
.lp-status { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; border-radius: 999px; padding: 3px 10px; }
.lp-status i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.lp-status--ok { color: var(--ok-ink); background: var(--ok-bg); }
.lp-board__scroll { overflow-x: auto; flex: 1; }
.lp-stages { display: grid; grid-template-columns: repeat(5, minmax(160px, 1fr)); min-width: 820px; height: 100%; }
.lp-stage {
  position: relative; background: var(--paper); padding: 22px 16px 28px; display: flex; flex-direction: column;
  transition: opacity 320ms var(--ease) calc(var(--i) * 120ms), transform 320ms var(--ease) calc(var(--i) * 120ms);
}
.lp-stage:nth-child(even) { background: var(--card); }
/* The notch that points each stage into the next. */
.lp-stage:not(:last-child)::after {
  content: ""; position: absolute; right: -12px; top: 40px; width: 24px; height: 24px; z-index: 2; box-sizing: border-box;
  background: inherit; border-top: 1px solid var(--line); border-right: 1px solid var(--line); transform: rotate(45deg);
}
.lp-js .lp-workflow:not(.is-in) .lp-stage { opacity: 0; transform: translateY(8px); }
.lp-stage__head { display: flex; flex-direction: column; gap: 4px; padding: 0 4px 18px; }
.lp-stage__index { font-size: 12px; font-weight: 700; color: var(--accent-deep); }
.lp-stage__name { font-size: clamp(18px, 1.5vw, 22px); font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; }
.lp-stage__progress { font-size: 13px; color: var(--muted); }
.lp-stage__link { display: block; width: 2px; height: 16px; background: var(--ink); opacity: .2; margin-left: 25px; }
.lp-stage__link--agent { background: var(--accent-deep); opacity: .35; }

.lp-node {
  position: relative; z-index: 3; width: 100%; min-height: 60px; text-align: left; display: flex; gap: 10px; align-items: flex-start;
  padding: 12px 14px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); color: var(--ink);
  font-size: 14px; font-weight: 600; line-height: 1.3; cursor: pointer; transition: box-shadow 180ms, border-color 180ms;
}
.lp-node--approved { border-color: rgba(15, 110, 78, .30); }
.lp-node--needs-info { background: var(--warn-bg); border-color: #E8C98F; }
.lp-node--locked { color: var(--muted); }
.lp-node:hover { border-color: var(--ink); }
.lp-node.is-on { box-shadow: 0 0 0 2px var(--ink); }
.lp-node__text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.lp-node__state { font-size: 12px; font-weight: 500; color: var(--muted); }
.lp-node--needs-info .lp-node__state { color: var(--warn-ink); }
/* The state mark: tick, exclamation, open ring, padlock. */
.lp-node__icon { flex: none; margin-top: 1px; display: flex; }
.lp-node__icon i { position: relative; width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-style: normal; }
.lp-node--approved .lp-node__icon i { background: var(--ok-ink); }
.lp-node--approved .lp-node__icon i::before { content: ""; box-sizing: border-box; width: 5px; height: 9px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg); margin-top: -2px; }
.lp-node--needs-info .lp-node__icon i { background: var(--card); border: 1.5px solid var(--warn-ink); color: var(--warn-ink); font-size: 12px; font-weight: 800; }
.lp-node--needs-info .lp-node__icon i::before { content: "!"; }
.lp-node--ready .lp-node__icon i { background: var(--card); border: 2px solid var(--ink); }
.lp-node--locked .lp-node__icon i { background: var(--paper); border: 1.5px solid var(--line-strong); align-items: flex-end; padding-bottom: 4px; }
.lp-node--locked .lp-node__icon i::before { content: ""; width: 8px; height: 6px; border-radius: 1.5px; background: var(--muted); }
.lp-node--locked .lp-node__icon i::after { content: ""; position: absolute; left: 5.5px; bottom: 9px; width: 4px; height: 4px; border: 1.5px solid var(--muted); border-bottom: 0; border-radius: 3px 3px 0 0; }

.lp-agent { background: var(--accent-soft); border: 1px solid #F6D3C6; border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; }
.lp-agent__kind { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-deep); }
.lp-agent__name { font-size: 14px; font-weight: 600; line-height: 1.3; }
.lp-agent__state { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 12px; color: var(--body); }
.lp-agent__paused { font-weight: 600; color: var(--warn-ink); background: var(--warn-bg); border-radius: 999px; padding: 2px 8px; }
.lp-agent__tag { height: 22px; padding: 0 9px; }

.lp-profile { flex: 1 1 360px; min-width: 0; border-left: 1px solid var(--line); display: flex; flex-direction: column; background: var(--card); }
.lp-profile__head { padding: 20px 24px; display: flex; flex-direction: column; gap: 6px; }
.lp-profile__id { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.lp-profile__id .lp-lane-now { font-size: 12px; padding: 3px 10px; }
.lp-profile__who { font-size: 14px; line-height: 1.45; color: var(--muted); }
.lp-profile__block { padding: 16px 24px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.lp-profile__inputs { display: flex; flex-wrap: wrap; gap: 6px; }
.lp-profile__inputs span { font-size: 13px; font-weight: 500; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; white-space: nowrap; }
/* One analysis pane per step; the tapped step's pane takes the free height. */
.lp-analysis { flex: 1; display: none; }
.lp-analysis.is-on { display: flex; }
.lp-analysis__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.lp-analysis__state { font-size: 12px; font-weight: 600; border-radius: 999px; padding: 3px 10px; background: var(--paper); color: var(--muted); }
.lp-analysis__state--approved { background: var(--ok-bg); color: var(--ok-ink); }
.lp-analysis__state--needs-info { background: var(--warn-bg); color: var(--warn-ink); }
.lp-analysis__cite { font-size: 13px; font-weight: 600; color: var(--accent-deep); min-width: 28px; text-align: right; }
.lp-analysis__check { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 14px; }
.lp-analysis__check strong { font-weight: 600; }
.lp-analysis__check .mf-mono { font-size: 12px; color: var(--muted); }
.lp-analysis__verdict { background: var(--warn-bg); color: var(--warn-ink); border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; }
.lp-analysis__verdict strong { font-size: 15px; font-weight: 700; }
.lp-analysis__verdict .mf-mono { font-size: 12px; }
.lp-analysis__note { margin: 0; font-size: 15px; line-height: 1.5; color: var(--body); }
.lp-analysis__by { font-size: 13px; color: var(--muted); }
.lp-profile__next { gap: 6px; }
.lp-profile__next-text { font-size: 15px; font-weight: 600; line-height: 1.4; }
.lp-profile__signoffs { padding-bottom: 22px; gap: 8px; }
.lp-signed { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.lp-signed strong { font-weight: 600; }
.lp-tick { width: 16px; height: 16px; flex: none; border-radius: 50%; background: var(--ok-ink); display: flex; align-items: center; justify-content: center; }
.lp-tick i { width: 4px; height: 7px; border-right: 1.6px solid #fff; border-bottom: 1.6px solid #fff; transform: rotate(45deg); margin-top: -1px; }

/* Design / Profile / Run: three staggered cards under the board. */
.lp-pitch { margin-top: clamp(40px, 5vw, 72px); display: flex; flex-wrap: wrap; align-items: flex-start; gap: 24px; }
.lp-pitch__card {
  flex: 1 1 260px; min-width: 0; min-height: clamp(420px, 36vw, 500px); padding: clamp(28px, 2.6vw, 36px); display: flex; flex-direction: column;
  background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 18px 44px rgba(16, 20, 31, .08);
}
.lp-pitch__card--blush { margin-top: clamp(0px, 4vw, 56px); background: #F6D3CC; border-color: #F6D3CC; }
.lp-pitch__card--orange { margin-top: clamp(0px, 2vw, 28px); background: #FF7A45; border-color: #FF7A45; }
.lp-pitch__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.lp-pitch__art { width: clamp(101px, 9.4vw, 127px); height: clamp(89px, 8.3vw, 112px); flex: none; }
.lp-pitch__art img { width: 100%; height: 100%; object-fit: contain; object-position: left top; display: block; }
.lp-pitch__index { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.lp-pitch__index span:first-child { font-size: clamp(48px, 4.4vw, 64px); font-weight: 500; line-height: .9; letter-spacing: -0.04em; }
.lp-pitch__index span:last-child, .lp-pitch__foot { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.lp-pitch__card h3 { margin: auto 0 0; padding-top: 40px; font-size: clamp(26px, 2.4vw, 34px); font-weight: 600; line-height: 1.12; letter-spacing: -0.02em; text-wrap: pretty; }
.lp-pitch__card p { margin: 14px 0 0; font-size: 16px; line-height: 1.45; text-wrap: pretty; }
.lp-pitch__foot { margin-top: 28px; }

/* ---- Trust -------------------------------------------------------------------------------- */
#trust .lp-h2 { max-width: 20ch; }
.lp-trust__grid { margin-top: clamp(28px, 3vw, 44px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.lp-trust__card { background: rgba(255, 255, 255, .06); border: 1px solid var(--line-dark); border-radius: 24px; padding: clamp(24px, 2.5vw, 32px); display: flex; flex-direction: column; gap: 12px; }
.lp-trust__card h3 { margin: 0; font-size: clamp(20px, 1.8vw, 24px); font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; }
.lp-trust__card p { margin: 0; flex: 1; font-size: 16px; line-height: 1.5; color: var(--muted-dark); text-wrap: pretty; }
.lp-trust__card .mf-linkbtn { align-self: flex-start; }
#trust .lp-statement { margin-top: clamp(28px, 3vw, 44px); }

/* ---- Privacy & control -------------------------------------------------------------------- */
.lp-privacy { padding: var(--section) 0 0; scroll-margin-top: 72px; }
.lp-privacy__lead { max-width: 54ch; }
.lp-privacy__grid { margin-top: clamp(28px, 3vw, 44px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 24px; }
.lp-control { padding: clamp(24px, 2.5vw, 32px); display: flex; flex-direction: column; gap: 18px; }
.lp-control h3 { margin: 0; font-size: clamp(22px, 2.2vw, 28px); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; }

.lp-roles { margin-top: clamp(48px, 6vw, 80px); display: flex; flex-wrap: wrap; gap: clamp(32px, 4vw, 56px); align-items: flex-start; }
.lp-roles__pick { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.lp-roles__view { flex: 1.3 1 380px; min-width: 0; }
.lp-perms { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 4px 18px; }
.lp-perms__head { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--muted); }
.lp-perms__head span:last-child { white-space: nowrap; }
.lp-perms__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
/* A level pill: filled = full, outline = read only, muted = out of reach. Case states go green. */
.lp-level { font-size: 13px; font-weight: 600; border-radius: 999px; padding: 4px 12px; white-space: nowrap; background: var(--paper); color: var(--muted); border: 1.5px solid var(--line); }
.lp-level--full { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.lp-level--read { background: var(--card); color: var(--ink); border-color: var(--ink); }
.lp-level--state.lp-level--full { background: var(--ok-bg); color: var(--ok-ink); border-color: var(--ok-bg); }
.lp-roles__case { padding: 22px; display: flex; flex-direction: column; gap: 14px; min-height: 420px; }
.lp-roles__who { display: flex; flex-direction: column; gap: 2px; }
.lp-roles__who strong { font-size: 15px; font-weight: 600; }
.lp-roles__who span { font-size: 13px; color: var(--muted); }
.lp-roles__locked { background: var(--paper); border-radius: 16px; padding: 16px 20px; font-size: 15px; line-height: 1.5; }
.lp-roles__locked strong { font-weight: 700; }
.lp-roles__items { padding: 4px 18px; }
.lp-roles__item { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.lp-roles__what { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.lp-roles__what span:first-child { font-size: 15px; font-weight: 600; color: var(--ink); }
.lp-roles__item--none .lp-roles__what span:first-child { color: var(--muted); }
.lp-roles__what span:last-child { font-size: 13px; color: var(--muted); }
.lp-roles__logged { margin: 0; font-size: 13px; color: var(--muted); }

.lp-ask { margin-top: clamp(48px, 6vw, 80px); display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 72px); }
.lp-ask__intro { flex: 1 1 280px; min-width: 0; }
.lp-ask__intro .lp-h3 { max-width: 14ch; }
.lp-ask__intro .lp-text { margin-top: 16px; max-width: 34ch; }
.lp-ask__list { flex: 2 1 460px; min-width: 0; border-top: 1px solid var(--line); }
.lp-ask__item { display: flex; flex-direction: column; gap: 6px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.lp-ask__item span:first-child { font-size: 17px; font-weight: 600; color: var(--ink); }
.lp-ask__item span:last-child { font-size: 16px; line-height: 1.5; color: var(--body); text-wrap: pretty; }
.lp-privacy__statement { margin-top: clamp(40px, 5vw, 64px); }

/* ---- Chat-first --------------------------------------------------------------------------- */
.lp-markets__lead { max-width: 52ch; }
.lp-markets__grid { margin-top: clamp(28px, 3vw, 44px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 24px; }
.lp-markets__card { padding: clamp(24px, 2.5vw, 36px); display: flex; flex-direction: column; gap: 12px; }
.lp-markets__card--tall { gap: 16px; }
.lp-markets__stack { display: flex; flex-direction: column; gap: 24px; }
.lp-markets__sample { font-size: clamp(20px, 2vw, 24px); }
.lp-markets__card .lp-translation__text { line-height: normal; }
.lp-markets__languages { margin: 0; font-size: 14px; line-height: 1.6; color: var(--muted); }
.lp-markets__nrc { align-self: flex-start; font-weight: 700; font-size: 15px; background: var(--paper); border-radius: 12px; padding: 10px 14px; }
.lp-markets__proof { margin: 24px 0 0; display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--muted); }
.lp-markets__proof i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

/* ---- Stories ------------------------------------------------------------------------------ */
.lp-stories { padding: 0 0 var(--section); scroll-margin-top: 72px; }
.lp-stories__note { margin: 16px 0 0; font-size: 14px; color: var(--muted); }
.lp-stories__tabs { margin-top: clamp(28px, 3vw, 40px); }
.lp-story { margin-top: 20px; padding: clamp(24px, 3vw, 44px); }
.lp-story__pane.is-on { display: flex; flex-direction: column; gap: 28px; }
.lp-story__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: clamp(24px, 3vw, 48px); }
.lp-story__cols > div { display: flex; flex-direction: column; gap: 10px; }
.lp-story__moment { padding: 24px 32px; font-size: clamp(20px, 2vw, 28px); line-height: 1.25; }
.lp-story__features { display: flex; flex-direction: column; gap: 12px; }
.lp-feature { min-height: 44px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); color: var(--body); font-weight: 600; font-size: 14px; }
.lp-feature--link { gap: 8px; border-color: var(--ink); background: var(--card); color: var(--ink); cursor: pointer; transition: background 180ms, color 180ms; }
.lp-feature--link:hover { background: var(--ink); color: var(--paper); }
.lp-feature--link .mf-mono { font-size: 12px; }

/* ---- Early access ------------------------------------------------------------------------- */
.lp-early { display: flex; flex-wrap: wrap; gap: clamp(40px, 5vw, 72px); align-items: flex-start; }
.lp-early__pitch { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.lp-early__eyebrow { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.lp-early__faces { display: flex; align-items: center; }
.lp-early__faces .mf-face { width: 52px; height: 52px; }
.lp-early__faces .mf-face + .mf-face { margin-left: -14px; }
.lp-early__faces .mf-face:hover { transform: rotate(0deg) translateY(-4px) scale(1.1); }
.lp-early__title { margin: 0; font-size: clamp(40px, 5.4vw, 80px); font-weight: 600; line-height: 1.04; letter-spacing: -0.03em; max-width: 12ch; text-wrap: balance; }
.lp-early__ask { margin: 0; font-size: 16px; line-height: 1.5; color: var(--muted-dark); }
.lp-early__ask strong { color: var(--paper); font-weight: 600; }
.lp-early__roadmap { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); gap: 16px; border-top: 1px solid var(--line-dark); padding-top: 24px; }
.lp-early__roadmap > div { display: flex; flex-direction: column; gap: 8px; }
.lp-early__roadmap .lp-label { color: var(--muted-dark); }
.lp-early__roadmap .lp-label--accent { color: var(--accent-on-dark); }
.lp-early__roadmap > div > span:last-child { font-size: 14px; line-height: 1.55; color: var(--muted-dark); }

/* On ink the whole form sits on a white panel, so the inputs stay on white. */
.lp-early__panel { flex: 1 1 380px; min-width: 0; background: var(--card); color: var(--ink); border-radius: 24px; padding: clamp(24px, 3vw, 32px); }
.lp-form { display: flex; flex-direction: column; gap: 18px; }
.lp-form__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 18px; }
.lp-field { display: flex; flex-direction: column; gap: 8px; }
.lp-field__label { font-size: 14px; font-weight: 600; }
.lp-field__optional { font-weight: 500; color: var(--muted); }
.lp-field__error { font-size: 14px; color: var(--red); }
.lp-input { height: 48px; background: var(--card); border: 1.5px solid var(--line); border-radius: 14px; padding: 0 16px; font-size: 16px; color: var(--ink); outline: none; }
.lp-input.is-invalid { border-color: var(--red); }
.lp-input:focus, .lp-input:focus-visible { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--accent-soft); }
.lp-input--area { height: auto; padding: 12px 16px; line-height: 1.5; resize: vertical; }

.lp-dd { position: relative; }
.lp-dd__button {
  width: 100%; height: 48px; background: var(--card); border: 1.5px solid var(--line); border-radius: 14px; padding: 0 16px;
  font-size: 16px; color: var(--ink); text-align: left; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  transition: border-color 180ms var(--ease), box-shadow 180ms;
}
.lp-dd.is-open .lp-dd__button { border-color: var(--ink); box-shadow: 0 0 0 3px var(--accent-soft); }
.lp-dd.is-invalid .lp-dd__button { border-color: var(--red); }
.lp-dd .lp-dd__button:hover { border-color: var(--line-strong); }
.lp-dd__value { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-dd__value.is-empty { color: var(--muted); }
.lp-dd__chevron {
  width: 8px; height: 8px; flex: none; border-right: 1.8px solid var(--ink); border-bottom: 1.8px solid var(--ink);
  transform: rotate(45deg); margin-top: -4px; transition: transform 180ms var(--ease);
}
.lp-dd.is-open .lp-dd__chevron { transform: rotate(-135deg); margin-top: 4px; }
.lp-dd__list {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 30; max-height: 288px; overflow-y: auto;
  background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 16px 40px rgba(16, 20, 31, .12);
  padding: 6px; display: flex; flex-direction: column; gap: 2px;
}
.lp-dd__option {
  min-height: 44px; flex: none; padding: 0 12px; border: 0; border-radius: 10px; background: transparent; color: var(--ink);
  font-size: 15px; font-weight: 500; text-align: left; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; transition: background 180ms;
}
.lp-dd__option.is-on { background: var(--accent-soft); font-weight: 600; }
.lp-dd__option:hover { background: var(--paper); }
.lp-dd__tick { display: none; width: 6px; height: 11px; flex: none; border-right: 2px solid var(--accent-deep); border-bottom: 2px solid var(--accent-deep); transform: rotate(45deg); margin: -3px 4px 0 0; }
.lp-dd__option.is-on .lp-dd__tick { display: block; }

/* The box only a script fills in: off screen rather than display:none, which scripts know to skip. */
.lp-form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
/* "We couldn't send that": the flag callout, because now a person has to act. */
.lp-form__failed { margin: 0; background: var(--accent-soft); border-radius: 16px; padding: 14px 18px; font-size: 15px; line-height: 1.5; color: var(--ink); }
.lp-form__failed strong { font-weight: 700; }
.lp-form__consent { margin: 0; font-size: 14px; line-height: 1.5; color: var(--muted); }
.lp-thanks { min-height: 360px; display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.lp-thanks h3 { margin: 0; font-size: clamp(24px, 2.4vw, 32px); font-weight: 600; letter-spacing: -0.01em; }
.lp-thanks p { margin: 0; font-size: 17px; line-height: 1.5; color: var(--body); }

/* ---- FAQ ---------------------------------------------------------------------------------- */
.lp-faq { display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 72px); }
.lp-faq__intro { flex: 1 1 280px; min-width: 0; }
.lp-faq__intro .lp-h2 { max-width: 12ch; }
.lp-faq__list { flex: 2 1 460px; min-width: 0; border-top: 1px solid var(--line); }
.lp-faq__item { border-bottom: 1px solid var(--line); }
.lp-faq__question {
  width: 100%; min-height: 64px; padding: 18px 0; border: 0; background: transparent; color: var(--ink); text-align: left; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: clamp(17px, 1.4vw, 20px); font-weight: 600;
}
.lp-faq__question:hover { color: var(--accent-deep); }
/* A plus whose upright bar lies down into a minus when the answer opens. */
.lp-faq__sign { position: relative; flex: none; width: 24px; height: 24px; display: block; }
.lp-faq__sign i { position: absolute; left: 5px; right: 5px; top: 11px; height: 2px; border-radius: 2px; background: currentColor; }
.lp-faq__sign i:last-child { transform: rotate(90deg); transition: transform 320ms cubic-bezier(.16, 1, .3, 1); }
.lp-faq__item.is-open .lp-faq__sign i:last-child { transform: rotate(0deg); }
.lp-faq__answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 420ms cubic-bezier(.16, 1, .3, 1); }
.lp-faq__item.is-open .lp-faq__answer { grid-template-rows: 1fr; }
/* visibility keeps a closed answer out of reach of the keyboard and screen readers. */
.lp-faq__answer > div { overflow: hidden; min-height: 0; visibility: hidden; transition: visibility 0s 420ms; }
.lp-faq__item.is-open .lp-faq__answer > div { visibility: visible; transition-delay: 0s; }
.lp-faq__answer p {
  margin: 0 0 22px; max-width: 62ch; font-size: 17px; line-height: 1.55; color: var(--body); text-wrap: pretty;
  opacity: 0; transform: translateY(-6px); transition: opacity 320ms cubic-bezier(.16, 1, .3, 1), transform 420ms cubic-bezier(.16, 1, .3, 1);
}
.lp-faq__item.is-open .lp-faq__answer p { opacity: 1; transform: translateY(0); }

/* ---- Final call --------------------------------------------------------------------------- */
.lp-final { padding: 0 0 var(--section); }
.lp-final__bar { background: var(--ink); color: var(--paper); border-radius: 24px; padding: clamp(32px, 5vw, 64px); display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px; }
.lp-final__bar h2 { margin: 0; font-size: clamp(32px, 4.2vw, 60px); font-weight: 600; line-height: 1.08; letter-spacing: -0.025em; max-width: 16ch; text-wrap: balance; }
.lp-final__actions { display: flex; flex-wrap: wrap; gap: 12px; }
