/* ==================================================================================================
   Landing page + marketing layout. Owner: schedule/landing agent.
   Linked only from templates/layouts/marketing.html. Markup: templates/core/landing.html.
   Behaviour (reveal fallback, tilt, nav state, live Bishkek clock): static/js/landing.js.

   Tokens only; every decorative animation sits inside `prefers-reduced-motion: no-preference`.
   The hero mockup (.lp-window) is sized in container-query units (cqw): it scales like an image,
   and .lp-board is its own container so the choreography (cards, cursor, confetti) is expressed
   in board-relative units — see "Hero board choreography" below (one 12 s loop).
   ================================================================================================== */

/* -- Page canvas & marketing chrome --------------------------------------------------------------- */
.mkt-body {
  --lp-canvas: light-dark(var(--surface), var(--bg));
  --lp-tint: light-dark(var(--bg), var(--surface-sunken));
  --lp-tile: light-dark(var(--bg), var(--surface));
  --lp-art: light-dark(var(--surface), var(--surface-2));
  --lp-brand: linear-gradient(120deg, var(--c-blue), var(--c-indigo) 52%, var(--c-purple));
  --lp-max: 1120px;
  --lp-gutter: 20px;
  background: var(--lp-canvas);
}
@media (min-width: 768px) {
  .mkt-body {
    --lp-gutter: 32px;
  }
}

.mkt-body .mkt-nav {
  border-bottom-color: transparent;
  background: color-mix(in srgb, var(--lp-canvas) 72%, transparent);
  transition:
    border-color var(--dur-2) ease,
    background-color var(--dur-2) ease;
}
.mkt-body .mkt-nav.is-scrolled {
  border-bottom-color: var(--glass-line);
  background: var(--glass-bg);
}
.mkt-body .mkt-nav__inner {
  gap: var(--space-4);
  max-width: calc(var(--lp-max) + 2 * var(--lp-gutter));
  height: 56px;
  padding-inline: max(var(--lp-gutter), var(--safe-left)) max(var(--lp-gutter), var(--safe-right));
}
.mkt-brand {
  flex-shrink: 0;
  gap: 9px;
  font-size: var(--fs-xl);
}
.mkt-brand .brand__mark {
  width: 28px;
  height: 28px;
}
.mkt-nav__sections {
  display: none;
  gap: 2px;
}
.mkt-nav__sections a {
  padding: 6px 12px;
  border-radius: var(--radius-full);
  color: var(--text-2);
  font-size: var(--fs-md);
  font-weight: var(--fw-medium);
  transition:
    color var(--dur-1) ease,
    background-color var(--dur-1) ease;
}
.mkt-nav__sections a:hover {
  background: var(--fill-1);
  color: var(--text);
}
.mkt-nav__actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}
.mkt-nav__actions .btn {
  border-radius: var(--radius-full);
}
.mkt-nav__cta {
  padding-inline: 14px;
}
@media (min-width: 960px) {
  .mkt-nav__sections {
    display: flex;
  }
}

.mkt-body .mkt-footer {
  border-top: 1px solid var(--line);
  background: var(--lp-canvas);
}
.mkt-body .mkt-footer__inner {
  display: grid;
  gap: var(--space-6);
  max-width: calc(var(--lp-max) + 2 * var(--lp-gutter));
  padding: var(--space-10) max(var(--lp-gutter), var(--safe-right)) calc(var(--space-10) + var(--safe-bottom)) max(var(--lp-gutter), var(--safe-left));
}
.mkt-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mkt-footer__brand .brand__mark {
  width: 24px;
  height: 24px;
}
.mkt-footer__tagline {
  color: var(--text-2);
}
.mkt-body .mkt-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  align-content: start;
}
.mkt-body .mkt-footer__links a {
  color: var(--text-2);
}
.mkt-body .mkt-footer__links a:hover {
  color: var(--text);
}
.mkt-footer__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding-top: var(--space-5);
  border-top: 1px solid var(--line);
  color: var(--text-3);
}
@media (min-width: 768px) {
  .mkt-body .mkt-footer__inner {
    grid-template-columns: 1fr auto;
    align-items: start;
  }
  .mkt-footer__meta {
    grid-column: 1 / -1;
  }
}

/* -- Page shell ---------------------------------------------------------------------------------- */
.lp {
  overflow-x: clip;
  color: var(--text);
}
.lp-container {
  width: 100%;
  max-width: calc(var(--lp-max) + 2 * var(--lp-gutter));
  margin-inline: auto;
  padding-inline: max(var(--lp-gutter), var(--safe-left)) max(var(--lp-gutter), var(--safe-right));
}
.lp-section {
  padding-block: clamp(72px, 6vw + 40px, 136px);
}
.lp-section--tint {
  background: var(--lp-tint);
}
.lp-section--tint .lp-tile,
.lp-section--tint .lp-panel {
  background: var(--surface);
}
.lp-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: 820px;
  margin: 0 auto clamp(40px, 4vw + 16px, 72px);
  text-align: center;
}
.lp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--accent-ink);
  font-size: var(--fs-lg);
  font-weight: var(--fw-semibold);
  letter-spacing: -0.005em;
}
.lp-eyebrow[data-color] {
  color: var(--tone-ink);
}
.lp-title {
  font-family: var(--font-display);
  font-size: clamp(2.125rem, 1.25rem + 3.4vw, 3.75rem);
  font-weight: var(--fw-bold);
  line-height: 1.04;
  letter-spacing: -0.038em;
  text-wrap: balance;
}
.lp-title--sm {
  font-size: clamp(2rem, 1.3rem + 2.4vw, 3rem);
}
.lp-title__muted {
  color: var(--text-3);
}
.lp-lead {
  max-width: 640px;
  color: var(--text-2);
  font-size: clamp(1.0625rem, 0.98rem + 0.4vw, 1.3125rem);
  line-height: 1.5;
  letter-spacing: -0.008em;
  text-wrap: pretty;
}
.lp-btn {
  gap: 8px;
  height: 48px;
  padding-inline: 24px;
  border-radius: var(--radius-full);
  font-size: var(--fs-xl);
  font-weight: var(--fw-semibold);
}
.lp-btn .icon {
  transition: transform var(--dur-2) var(--ease-out);
}
.lp-btn:hover .icon {
  transform: translateX(3px);
}

/* -- Hero ---------------------------------------------------------------------------------------- */
.lp-hero {
  position: relative;
  isolation: isolate;
  padding-top: clamp(40px, 4vw + 20px, 88px);
  padding-bottom: clamp(56px, 6vw + 24px, 120px);
}
.lp-hero__glow {
  position: absolute;
  z-index: -1;
  top: -120px;
  left: 50%;
  width: min(1400px, 160vw);
  height: 1100px;
  background:
    radial-gradient(38% 34% at 50% 58%, color-mix(in srgb, var(--c-indigo) 20%, transparent), transparent 70%),
    radial-gradient(30% 30% at 24% 46%, color-mix(in srgb, var(--c-blue) 12%, transparent), transparent 70%),
    radial-gradient(30% 30% at 78% 48%, color-mix(in srgb, var(--c-purple) 11%, transparent), transparent 70%);
  transform: translateX(-50%);
  pointer-events: none;
}
.lp-hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  text-align: center;
}
.lp-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  max-width: 100%;
  min-height: 34px;
  padding: 6px 12px 6px 12px;
  border-radius: var(--radius-full);
  background: color-mix(in srgb, var(--lp-canvas) 60%, transparent);
  box-shadow:
    0 0 0 1px var(--line),
    var(--shadow-xs);
  color: var(--text-2);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  line-height: 1.3;
  -webkit-backdrop-filter: var(--glass-filter);
  backdrop-filter: var(--glass-filter);
  transition: color var(--dur-1) ease;
}
.lp-pill:hover {
  color: var(--text);
}

/* Sized so the product preview peeks above the fold at 1440×900, and so the longest unbreakable
   Kyrgyz/Russian chunk ("Командаңыз —", glued by |typograph) fits a 360 px phone. */
.lp-hero__title {
  max-width: 14ch;
  padding-bottom: 0.06em;
  background: linear-gradient(135deg, var(--text) 38%, color-mix(in srgb, var(--c-indigo) 88%, var(--text)) 68%, var(--c-purple) 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 1rem + 6.6vw, 6.25rem);
  font-weight: var(--fw-bold);
  line-height: 0.98;
  letter-spacing: -0.048em;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
.lp-hero__lead {
  max-width: 640px;
  color: var(--text-2);
  font-size: clamp(1.0625rem, 0.96rem + 0.5vw, 1.375rem);
  line-height: 1.45;
  letter-spacing: -0.012em;
  text-wrap: pretty;
}
.lp-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 6px;
}

/* Stage + window chrome */
.lp-stage {
  position: relative;
  max-width: 1200px;
  margin: clamp(40px, 4vw + 16px, 72px) auto 0;
  padding-inline: max(var(--lp-gutter), var(--safe-left)) max(var(--lp-gutter), var(--safe-right));
  perspective: 2000px;
}
.lp-stage::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 8% 6% -6%;
  border-radius: 48px;
  background: var(--lp-brand);
  opacity: 0.14;
  filter: blur(64px);
}
.lp-stage__tilt {
  transform-origin: 50% 100%;
  transform-style: preserve-3d;
}
.lp-window {
  --rx: 0deg;
  --ry: 0deg;
  position: relative;
  margin: 0;
  container-type: inline-size;
  overflow: hidden;
  border-radius: clamp(12px, 1.6vw, 22px);
  background: var(--surface);
  box-shadow:
    0 0 0 1px var(--card-ring),
    0 2px 6px light-dark(rgb(0 0 0 / 0.04), rgb(0 0 0 / 0.5)),
    0 30px 80px -24px light-dark(rgb(30 30 80 / 0.28), rgb(0 0 0 / 0.75));
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform 700ms var(--ease-out);
  will-change: transform;
}
.lp-window__bar {
  display: flex;
  align-items: center;
  gap: 1.2cqw;
  height: 4cqw;
  padding: 0 1.4cqw;
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
}
.lp-window__dots {
  display: flex;
  flex: 1 1 0;
  gap: 0.75cqw;
}
.lp-window__dots i {
  width: 1.05cqw;
  height: 1.05cqw;
  border-radius: 50%;
  background: var(--c-red);
}
.lp-window__dots i:nth-child(2) {
  background: var(--c-yellow);
}
.lp-window__dots i:nth-child(3) {
  background: var(--c-green);
}
.lp-window__url {
  display: inline-flex;
  align-items: center;
  gap: 0.6cqw;
  height: 2.5cqw;
  padding: 0 2.4cqw;
  border-radius: var(--radius-full);
  background: var(--fill-1);
  color: var(--text-2);
  font-size: 1.15cqw;
  font-weight: var(--fw-medium);
}
.lp-window__url .icon {
  width: 1cqw;
  height: 1cqw;
}
.lp-window__spacer {
  flex: 1 1 0;
}
.lp-app {
  display: grid;
  grid-template-columns: 15.5cqw minmax(0, 1fr);
  height: 47cqw;
}
.lp-app svg.icon {
  width: 1.15cqw;
  height: 1.15cqw;
}
.lp-app__side {
  display: flex;
  flex-direction: column;
  gap: 0.55cqw;
  padding: 1.5cqw 1.1cqw;
  border-right: 1px solid var(--line);
  background: var(--bg-sidebar);
}
.lp-app__ws,
.lp-app__nav,
.lp-app__proj {
  display: flex;
  align-items: center;
  gap: 0.8cqw;
  height: 2.5cqw;
  padding: 0 0.7cqw;
  border-radius: 0.6cqw;
}
.lp-app__ws {
  margin-bottom: 0.9cqw;
  padding: 0;
}
.lp-app__ws img {
  width: 2.3cqw;
  height: 2.3cqw;
}
.lp-app__ws b,
.lp-app__nav b,
.lp-app__proj b {
  height: 0.7cqw;
  border-radius: var(--radius-full);
  background: var(--fill-3);
}
.lp-app__ws b {
  width: 6cqw;
  height: 0.9cqw;
  background: color-mix(in srgb, var(--text) 32%, transparent);
}
.lp-app__nav b {
  width: 6.2cqw;
}
.lp-app__nav:nth-child(3) b {
  width: 5cqw;
}
.lp-app__nav i {
  display: grid;
  place-items: center;
  color: var(--text-2);
}
.lp-app__nav.is-active {
  background: var(--fill-2);
}
.lp-app__nav.is-active i {
  color: var(--accent);
}
.lp-app__nav em {
  width: 0.9cqw;
  height: 0.9cqw;
  margin-left: auto;
  border-radius: 50%;
  background: var(--c-red);
}
.lp-app__label {
  width: 4.5cqw;
  height: 0.6cqw;
  margin: 1.6cqw 0.7cqw 0.6cqw;
  border-radius: var(--radius-full);
  background: var(--fill-2);
}
.lp-app__proj i {
  width: 1.3cqw;
  height: 1.3cqw;
  border-radius: 0.35cqw;
  background: var(--tone-solid);
}
.lp-app__proj b {
  width: 7.2cqw;
}
.lp-app__proj:nth-child(even) b {
  width: 5.6cqw;
}
.lp-app__proj.is-active {
  background: var(--fill-1);
}
.lp-app__main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 1.7cqw 2.2cqw 0;
  background: var(--bg);
}
.lp-app__head {
  display: flex;
  align-items: center;
  gap: 1cqw;
  height: 3cqw;
}
.lp-app__tile {
  display: grid;
  place-items: center;
  width: 2.6cqw;
  height: 2.6cqw;
  border-radius: 0.7cqw;
  background: var(--tone-solid);
  color: var(--tone-on);
}
.lp-app__title {
  font-family: var(--font-display);
  font-size: 1.7cqw;
  font-weight: var(--fw-bold);
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.lp-app__status {
  display: inline-flex;
  align-items: center;
  gap: 0.5cqw;
  height: 2cqw;
  padding: 0 0.9cqw;
  border-radius: var(--radius-full);
  background: var(--tone-soft);
  color: var(--tone-ink);
  font-size: 1cqw;
  font-weight: var(--fw-semibold);
  white-space: nowrap;
}
.lp-app__status i {
  width: 0.7cqw;
  height: 0.7cqw;
  border-radius: 50%;
  background: var(--tone);
}
.lp-app__people {
  display: flex;
  margin-left: auto;
}
.lp-app__people i {
  width: 2.3cqw;
  height: 2.3cqw;
  border-radius: 50%;
  background: var(--tone-solid);
  box-shadow: 0 0 0 0.25cqw var(--bg);
}
.lp-app__people i + i {
  margin-left: -0.6cqw;
}
.lp-app__tabs {
  display: flex;
  gap: 2cqw;
  margin-top: 1.2cqw;
  border-bottom: 1px solid var(--line);
  color: var(--text-2);
  font-size: 1.12cqw;
  font-weight: var(--fw-medium);
}
.lp-app__tabs span {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5cqw;
  padding-bottom: 0.9cqw;
}
.lp-app__tabs svg.icon {
  width: 1cqw;
  height: 1cqw;
}
.lp-app__tabs .is-active {
  color: var(--text);
}
.lp-app__tabs .is-active::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  border-radius: 2px 2px 0 0;
  background: var(--accent);
}

/* Board (its own container: everything below is in board-relative cqw) */
.lp-board {
  position: relative;
  display: grid;
  flex: 1 1 auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: minmax(0, 1fr);
  column-gap: 2%;
  margin-top: 1.5cqw;
  container-type: inline-size;
}
.lp-col {
  height: 120%;
  padding: 1.5cqw;
  border-radius: 1.4cqw;
  background: light-dark(var(--surface-sunken), color-mix(in srgb, var(--surface) 72%, var(--bg)));
}
.lp-col__head {
  display: flex;
  align-items: center;
  gap: 1cqw;
  height: 4cqw;
  padding: 0 0.4cqw 0.8cqw;
  color: var(--text);
  font-size: 1.55cqw;
  font-weight: var(--fw-semibold);
  white-space: nowrap;
}
.lp-col__head i {
  width: 1.2cqw;
  height: 1.2cqw;
  border-radius: 50%;
  background: var(--tone);
}
.lp-col__head em {
  color: var(--text-3);
  font-style: normal;
  font-weight: var(--fw-medium);
}
.lp-count--todo::before {
  content: "3";
}
.lp-count--doing::before {
  content: "2";
}
.lp-count--done::before {
  content: "1";
}
.lp-card {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.9cqw;
  height: 10.5cqw;
  padding: 1.4cqw 1.6cqw;
  border-radius: 1.2cqw;
  background: light-dark(var(--surface), var(--surface-2));
  box-shadow:
    0 0 0 1px var(--card-ring),
    0 0.2cqw 0.6cqw light-dark(rgb(0 0 0 / 0.05), rgb(0 0 0 / 0.4));
}
.lp-card + .lp-card {
  margin-top: 1.5cqw;
}
.lp-card--a {
  z-index: 3;
}
.lp-card--b {
  z-index: 2;
}
.lp-card__tag {
  width: 5cqw;
  height: 0.8cqw;
  flex-shrink: 0;
  border-radius: var(--radius-full);
  background: var(--tone);
}
.lp-card__title {
  overflow: hidden;
  font-size: 1.62cqw;
  font-weight: var(--fw-semibold);
  letter-spacing: -0.01em;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.lp-card__meta {
  display: flex;
  align-items: center;
  gap: 1cqw;
  margin-top: auto;
  color: var(--text-3);
  font-size: 1.2cqw;
  font-weight: var(--fw-medium);
}
.lp-check {
  position: relative;
  width: 2.2cqw;
  height: 2.2cqw;
  flex-shrink: 0;
  border: 0.22cqw solid var(--line-strong);
  border-radius: 50%;
}
.lp-check::after {
  content: "";
  position: absolute;
  inset: -0.22cqw;
  border-radius: 50%;
  background: var(--text-on-accent);
  -webkit-mask: var(--check-mask) center / 62% no-repeat;
  mask: var(--check-mask) center / 62% no-repeat;
  transform: scale(0);
}
.lp-check.is-checked {
  border-color: var(--c-green);
  background: var(--c-green);
}
.lp-check.is-checked::after {
  transform: none;
}
.lp-card__prio {
  display: inline-flex;
  align-items: flex-end;
  gap: 0.25cqw;
  height: 1.4cqw;
  color: var(--text-3);
}
.lp-card__prio i {
  width: 0.38cqw;
  border-radius: 0.2cqw;
  background: currentColor;
}
.lp-card__prio i:nth-child(1) {
  height: 40%;
}
.lp-card__prio i:nth-child(2) {
  height: 70%;
}
.lp-card__prio i:nth-child(3) {
  height: 100%;
}
.lp-card__prio.is-high {
  color: var(--c-orange);
}
.lp-av {
  width: 2.4cqw;
  height: 2.4cqw;
  margin-left: auto;
  border-radius: 50%;
  background: var(--tone-solid);
}
.lp-card.is-done .lp-card__title {
  color: var(--text-2);
}
.lp-cursor {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 5;
  width: 2.8cqw;
  height: 2.8cqw;
  fill: var(--text);
  stroke: var(--surface);
  stroke-width: 1.4;
  filter: drop-shadow(0 0.25cqw 0.4cqw rgb(0 0 0 / 0.25));
  opacity: 0;
  pointer-events: none;
  transform: translate(80cqw, 40cqw);
}
.lp-burst {
  position: absolute;
  top: 25.5cqw;
  left: 38.2cqw;
  z-index: 4;
  width: 0;
  height: 0;
  pointer-events: none;
}
.lp-burst i {
  position: absolute;
  top: -0.5cqw;
  left: -0.3cqw;
  width: 0.7cqw;
  height: 1.2cqw;
  border-radius: 0.2cqw;
  background: var(--tone);
  opacity: 0;
}

/* Hero board choreography (12 s loop; board-relative units: column pitch 34cqw, row pitch 12cqw)
   A: To do → In progress · C, D close the gap · B, E make room · B checked (confetti) → Done. */
@media (prefers-reduced-motion: no-preference) {
  .lp-window {
    --lp-loop: 12s;
  }
  .lp-window [class*="lp-card--"],
  .lp-cursor,
  .lp-burst i,
  .lp-check--b,
  .lp-check--b::after,
  .lp-card--b .lp-card__title {
    animation-duration: var(--lp-loop);
    animation-timing-function: var(--ease-in-out);
    animation-iteration-count: infinite;
    animation-delay: 1.4s;
    animation-fill-mode: both;
  }
  .lp-card--a {
    animation-name: lp-card-a;
  }
  .lp-card--b {
    animation-name: lp-card-b;
  }
  .lp-card--c,
  .lp-card--d {
    animation-name: lp-close-gap;
  }
  .lp-card--e {
    animation-name: lp-card-e;
  }
  .lp-card--f {
    animation-name: lp-card-f;
  }
  .lp-cursor {
    animation-name: lp-cursor;
  }
  .lp-check--b {
    animation-name: lp-check;
  }
  .lp-check--b::after {
    animation-name: lp-check-mark;
    animation-timing-function: var(--ease-spring);
  }
  .lp-card--b .lp-card__title {
    animation-name: lp-done-title;
  }
  .lp-count::before {
    animation: var(--lp-loop) linear 1.4s infinite both;
  }
  .lp-count--todo::before {
    animation-name: lp-count-todo;
  }
  .lp-count--doing::before {
    animation-name: lp-count-doing;
  }
  .lp-count--done::before {
    animation-name: lp-count-done;
  }
  @keyframes lp-count-todo {
    0%, 36% { content: "3"; }
    37%, 95% { content: "2"; }
    96%, 100% { content: "3"; }
  }
  @keyframes lp-count-doing {
    0%, 36% { content: "2"; }
    37%, 70% { content: "3"; }
    71%, 100% { content: "2"; }
  }
  @keyframes lp-count-done {
    0%, 70% { content: "1"; }
    71%, 95% { content: "2"; }
    96%, 100% { content: "1"; }
  }
  .lp-burst i {
    animation-name: lp-confetti;
    animation-timing-function: var(--ease-out);
  }
  .lp-burst i:nth-child(1) { --dx: -7cqw; --dy: -8cqw; --rot: -160deg; }
  .lp-burst i:nth-child(2) { --dx: 5cqw; --dy: -9.5cqw; --rot: 120deg; }
  .lp-burst i:nth-child(3) { --dx: 9cqw; --dy: -4cqw; --rot: 200deg; }
  .lp-burst i:nth-child(4) { --dx: -9cqw; --dy: -2.5cqw; --rot: -90deg; }
  .lp-burst i:nth-child(5) { --dx: -3cqw; --dy: -11cqw; --rot: 260deg; }
  .lp-burst i:nth-child(6) { --dx: 2cqw; --dy: -6cqw; --rot: -220deg; }
  .lp-burst i:nth-child(7) { --dx: 7.5cqw; --dy: -8cqw; --rot: 80deg; }
  .lp-burst i:nth-child(8) { --dx: -5.5cqw; --dy: -5.5cqw; --rot: 150deg; }
  .lp-window.is-paused *,
  .lp-window.is-paused *::after {
    animation-play-state: paused;
  }
}
@keyframes lp-card-a {
  0%, 17% { transform: none; box-shadow: 0 0 0 1px var(--card-ring); }
  20% { transform: translate(0, -0.6cqw) rotate(-2.4deg) scale(1.04); box-shadow: 0 0 0 1px var(--card-ring), 0 2cqw 4cqw light-dark(rgb(0 0 0 / 0.16), rgb(0 0 0 / 0.6)); }
  35% { transform: translate(34cqw, -0.6cqw) rotate(-1deg) scale(1.04); box-shadow: 0 0 0 1px var(--card-ring), 0 2cqw 4cqw light-dark(rgb(0 0 0 / 0.16), rgb(0 0 0 / 0.6)); }
  39%, 91% { transform: translate(34cqw, 0); box-shadow: 0 0 0 1px var(--card-ring); opacity: 1; }
  95% { transform: translate(34cqw, 0); opacity: 0; }
  96% { transform: none; opacity: 0; }
  100% { transform: none; opacity: 1; }
}
@keyframes lp-close-gap {
  0%, 22% { transform: none; opacity: 1; }
  34%, 91% { transform: translateY(-12cqw); opacity: 1; }
  95% { transform: translateY(-12cqw); opacity: 0; }
  96% { transform: none; opacity: 0; }
  100% { transform: none; opacity: 1; }
}
@keyframes lp-card-b {
  0%, 22% { transform: none; opacity: 1; }
  34%, 54% { transform: translateY(12cqw); box-shadow: 0 0 0 1px var(--card-ring); }
  57% { transform: translate(0, 11.4cqw) rotate(-2.4deg) scale(1.04); box-shadow: 0 0 0 1px var(--card-ring), 0 2cqw 4cqw light-dark(rgb(0 0 0 / 0.16), rgb(0 0 0 / 0.6)); }
  70% { transform: translate(34cqw, -0.6cqw) rotate(-1deg) scale(1.04); box-shadow: 0 0 0 1px var(--card-ring), 0 2cqw 4cqw light-dark(rgb(0 0 0 / 0.16), rgb(0 0 0 / 0.6)); }
  74%, 91% { transform: translate(34cqw, 0); box-shadow: 0 0 0 1px var(--card-ring); opacity: 1; }
  95% { transform: translate(34cqw, 0); opacity: 0; }
  96% { transform: none; opacity: 0; }
  100% { transform: none; opacity: 1; }
}
@keyframes lp-card-e {
  0%, 22% { transform: none; opacity: 1; }
  34%, 60% { transform: translateY(12cqw); }
  72%, 91% { transform: none; opacity: 1; }
  95% { opacity: 0; }
  100% { transform: none; opacity: 1; }
}
@keyframes lp-card-f {
  0%, 58% { transform: none; opacity: 1; }
  70%, 91% { transform: translateY(12cqw); opacity: 1; }
  95% { transform: translateY(12cqw); opacity: 0; }
  96% { transform: none; opacity: 0; }
  100% { transform: none; opacity: 1; }
}
@keyframes lp-cursor {
  0% { transform: translate(84cqw, 44cqw); opacity: 0; }
  5% { opacity: 1; }
  16% { transform: translate(16cqw, 10.75cqw); }
  18% { transform: translate(16cqw, 10.75cqw) scale(0.86); }
  20% { transform: translate(16cqw, 10.15cqw) scale(0.86); }
  35% { transform: translate(50cqw, 10.15cqw) scale(0.86); }
  39% { transform: translate(50cqw, 10.75cqw) scale(1); }
  47% { transform: translate(38.2cqw, 25.5cqw) scale(1); }
  49% { transform: translate(38.2cqw, 25.5cqw) scale(0.84); }
  51% { transform: translate(38.2cqw, 25.5cqw) scale(1); }
  54% { transform: translate(50cqw, 22.75cqw) scale(1); }
  57% { transform: translate(50cqw, 22.15cqw) scale(0.86); }
  70% { transform: translate(84cqw, 10.15cqw) scale(0.86); }
  74% { transform: translate(84cqw, 10.75cqw) scale(1); opacity: 1; }
  84% { transform: translate(93cqw, 36cqw); opacity: 0; }
  100% { transform: translate(93cqw, 36cqw); opacity: 0; }
}
@keyframes lp-check {
  0%, 49% { border-color: var(--line-strong); background: transparent; }
  50.5%, 93% { border-color: var(--c-green); background: var(--c-green); }
  96%, 100% { border-color: var(--line-strong); background: transparent; }
}
@keyframes lp-check-mark {
  0%, 49% { transform: scale(0); }
  52%, 93% { transform: none; }
  96%, 100% { transform: scale(0); }
}
@keyframes lp-done-title {
  0%, 50% { color: var(--text); }
  53%, 93% { color: var(--text-2); }
  96%, 100% { color: var(--text); }
}
@keyframes lp-confetti {
  0%, 49.5% { opacity: 0; transform: translate(0, 0) rotate(0) scale(0.4); }
  51% { opacity: 1; transform: translate(calc(var(--dx) * 0.35), calc(var(--dy) * 0.35)) rotate(calc(var(--rot) * 0.3)) scale(1); }
  60% { opacity: 0; transform: translate(var(--dx), calc(var(--dy) + 4cqw)) rotate(var(--rot)) scale(0.8); }
  100% { opacity: 0; }
}

/* Narrow windows (phones): drop the app sidebar so the board stays legible */
@container (max-width: 560px) {
  .lp-app {
    grid-template-columns: minmax(0, 1fr);
    height: 62cqw;
  }
  .lp-app__side {
    display: none;
  }
  .lp-app__main {
    padding: 2.4cqw 3cqw 0;
  }
  .lp-window__bar {
    height: 6cqw;
  }
  .lp-window__url {
    height: 3.8cqw;
    font-size: 1.9cqw;
  }
  .lp-window__dots i {
    width: 1.6cqw;
    height: 1.6cqw;
  }
  .lp-app__head {
    height: 4.6cqw;
  }
  .lp-app__tile {
    width: 3.8cqw;
    height: 3.8cqw;
  }
  .lp-app__title {
    font-size: 2.6cqw;
  }
  .lp-app__status,
  .lp-app__people {
    display: none;
  }
  .lp-app__tabs {
    font-size: 1.9cqw;
  }
  .lp-app svg.icon {
    width: 1.8cqw;
    height: 1.8cqw;
  }
}

/* Small boards (phones): larger type inside the same geometry */
@container (max-width: 420px) {
  .lp-card__title {
    font-size: 2.5cqw;
  }
  .lp-col__head {
    font-size: 2.3cqw;
  }
  .lp-card__meta {
    font-size: 1.9cqw;
  }
}

/* -- Bento --------------------------------------------------------------------------------------- */
.lp-bento {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}
.lp-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
  overflow: hidden;
  padding: 26px;
  border-radius: 28px;
  background: var(--lp-tile);
}
.lp-tile__art {
  display: grid;
  flex: 1 1 auto;
  place-items: center;
  min-height: 150px;
}
.lp-tile__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.lp-tile__icon {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 6px;
  border-radius: 10px;
  background: var(--tone-solid);
  color: var(--tone-on);
  box-shadow: inset 0 0 0 0.5px rgb(0 0 0 / 0.08);
}
.lp-tile__title {
  font-family: var(--font-display);
  font-size: var(--fs-title-3);
  font-weight: var(--fw-bold);
  letter-spacing: -0.022em;
}
.lp-tile__text {
  color: var(--text-2);
  font-size: var(--fs-lg);
  line-height: 1.45;
}
@media (min-width: 640px) {
  .lp-bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .lp-tile--boards,
  .lp-tile--timeline {
    grid-column: span 2;
  }
}
@media (min-width: 1024px) {
  .lp-bento {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .lp-tile--boards {
    grid-row: span 2;
  }
  .lp-tile--boards .lp-tile__art {
    min-height: 300px;
  }
}

/* Boards tile: copy on top, the board rises from the bottom edge */
.lp-tile--boards .lp-tile__body {
  order: -1;
}
.lp-tile--boards .lp-tile__art {
  display: flex;
  align-items: stretch;
  justify-content: center;
  height: 250px;
  min-height: 0;
  margin: 6px 0 -26px;
  overflow: hidden;
}
.lp-tile--boards .lp-art-board {
  max-width: 560px;
}
.lp-tile--boards .lp-art-board__col {
  min-height: 0;
  padding-bottom: 0;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}
@media (min-width: 1024px) {
  /* fills whatever height the two grid rows give the tile; adds nothing to it */
  .lp-tile--boards .lp-tile__art {
    flex: 1 1 0;
    height: auto;
    min-height: 0;
  }
  .lp-tile--boards .lp-art-board__col {
    gap: 10px;
    padding: 12px;
  }
  .lp-tile--boards .lp-art-board__col i {
    height: 58px;
  }
  .lp-tile--boards .lp-art-board__drag {
    top: 104px;
    height: 58px;
  }
}

/* Art: boards */
.lp-art-board {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  max-width: 460px;
}
.lp-art-board__col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 190px;
  padding: 10px;
  border-radius: 16px;
  background: var(--lp-art);
  box-shadow: 0 0 0 1px var(--card-ring);
}
.lp-art-board__col b {
  width: 46%;
  height: 8px;
  margin: 2px 0 4px;
  border-radius: var(--radius-full);
  background: var(--tone);
  opacity: 0.85;
}
.lp-art-board__col i,
.lp-art-board__drag {
  position: relative;
  height: 44px;
  border-radius: 10px;
  background: var(--surface);
  box-shadow:
    0 0 0 1px var(--card-ring),
    var(--shadow-sm);
}
.lp-art-board__col i::before,
.lp-art-board__drag::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 10px;
  width: 26px;
  height: 6px;
  border-radius: var(--radius-full);
  background: var(--tone);
}
.lp-art-board__col i::after,
.lp-art-board__drag::after {
  content: "";
  position: absolute;
  top: 24px;
  left: 10px;
  width: 64%;
  height: 7px;
  border-radius: var(--radius-full);
  background: var(--fill-3);
}
.lp-art-board__col i.is-placeholder {
  background: var(--accent-softer);
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--accent) 45%, transparent);
}
.lp-art-board__col i.is-placeholder::before,
.lp-art-board__col i.is-placeholder::after {
  display: none;
}
.lp-art-board__col i.is-done {
  opacity: 0.55;
}
.lp-art-board__drag {
  position: absolute;
  top: 80px;
  left: calc(33.3% + 14px);
  width: calc(33.3% - 6px);
  box-shadow:
    0 0 0 1px var(--card-ring),
    var(--shadow-xl);
  transform: rotate(-4deg);
}

/* Art: list */
.lp-art-list {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 280px;
  overflow: hidden;
  border-radius: 16px;
  background: var(--lp-art);
  box-shadow: 0 0 0 1px var(--card-ring);
}
.lp-art-list span {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  padding: 0 14px;
}
.lp-art-list span + span {
  box-shadow: inset 0 1px 0 var(--line);
}
.lp-art-list i {
  position: relative;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  border: 1.5px solid var(--line-strong);
  border-radius: 50%;
}
.lp-art-list .is-done i {
  border-color: var(--c-green);
  background: var(--c-green);
}
.lp-art-list .is-done i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--text-on-accent);
  -webkit-mask: var(--check-mask) center / 70% no-repeat;
  mask: var(--check-mask) center / 70% no-repeat;
}
.lp-art-list b {
  flex: 1 1 auto;
  height: 7px;
  border-radius: var(--radius-full);
  background: var(--fill-3);
}
.lp-art-list span:nth-child(2) b {
  flex-basis: 60%;
  max-width: 60%;
}
.lp-art-list span:nth-child(3) b {
  max-width: 76%;
}
.lp-art-list .is-done b {
  opacity: 0.5;
}
.lp-art-list em {
  width: 22px;
  height: 8px;
  margin-left: auto;
  border-radius: var(--radius-full);
  background: var(--tone);
  opacity: 0.85;
}

/* Art: calendar */
.lp-art-cal {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 5px;
  width: 100%;
  max-width: 240px;
}
.lp-art-cal i {
  position: relative;
  aspect-ratio: 1;
  border-radius: 6px;
  background: var(--lp-art);
  box-shadow: 0 0 0 1px var(--card-ring);
}
.lp-art-cal i.is-weekend {
  background: transparent;
}
.lp-art-cal i.has-chip::after {
  content: "";
  position: absolute;
  right: 3px;
  bottom: 4px;
  left: 3px;
  height: 4px;
  border-radius: var(--radius-full);
  background: var(--c-blue);
}
.lp-art-cal i.has-chip:nth-child(3n)::after {
  background: var(--c-purple);
}
.lp-art-cal i.has-chip:nth-child(4n + 1)::after {
  background: var(--c-orange);
}
.lp-art-cal i.is-today {
  background: var(--c-red);
  box-shadow: none;
}

/* Art: inbox */
.lp-art-inbox {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  max-width: 280px;
}
.lp-art-inbox span {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: var(--lp-art);
  box-shadow: 0 0 0 1px var(--card-ring);
}
.lp-art-inbox span:nth-child(2) {
  margin-inline: 6px;
  opacity: 0.85;
}
.lp-art-inbox span:nth-child(3) {
  margin-inline: 12px;
  opacity: 0.6;
}
.lp-art-inbox i {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--tone-solid);
}
.lp-art-inbox b {
  position: relative;
  flex: 1 1 auto;
  height: 22px;
}
.lp-art-inbox b::before,
.lp-art-inbox b::after {
  content: "";
  position: absolute;
  left: 0;
  height: 6px;
  border-radius: var(--radius-full);
  background: var(--fill-3);
}
.lp-art-inbox b::before {
  top: 2px;
  width: 78%;
}
.lp-art-inbox b::after {
  bottom: 2px;
  width: 50%;
  opacity: 0.6;
}
.lp-art-inbox em {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.lp-art-inbox .is-unread em {
  background: var(--accent);
}

/* Art: insights chart */
.lp-art-chart {
  width: 100%;
  max-width: 240px;
  height: auto;
  overflow: visible;
}
.lp-art-chart__bars rect {
  fill: var(--fill-3);
}
.lp-art-chart__bars rect.is-current {
  fill: var(--c-purple);
}
.lp-art-chart__line {
  stroke: var(--c-purple);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.lp-art-chart__axis {
  stroke: var(--line-strong);
  stroke-width: 1;
}

/* Art: timeline */
.lp-art-gantt {
  position: relative;
  width: 100%;
  max-width: 520px;
  height: 132px;
  border-radius: 16px;
  background:
    repeating-linear-gradient(90deg, transparent 0 calc(12.5% - 1px), var(--line) calc(12.5% - 1px) 12.5%),
    var(--lp-art);
  box-shadow: 0 0 0 1px var(--card-ring);
}
.lp-art-gantt i {
  position: absolute;
  left: calc(var(--s) * 1%);
  width: calc(var(--l) * 1%);
  height: 14px;
  border-radius: var(--radius-full);
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--tone) 78%, var(--surface)) var(--p),
    color-mix(in srgb, var(--tone) 26%, var(--surface)) var(--p)
  );
}
.lp-art-gantt i:nth-of-type(1) { top: 14px; }
.lp-art-gantt i:nth-of-type(2) { top: 36px; }
.lp-art-gantt i:nth-of-type(3) { top: 58px; }
.lp-art-gantt i:nth-of-type(4) { top: 102px; }
.lp-art-gantt b {
  position: absolute;
  top: 81px;
  left: calc(var(--s) * 1%);
  width: 13px;
  height: 13px;
  border-radius: 3px;
  background: var(--tone);
  box-shadow: 0 0 0 2px var(--lp-art);
  transform: rotate(45deg);
}
.lp-art-gantt__today {
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 48%;
  width: 2px;
  border-radius: 1px;
  background: var(--accent);
}
.lp-art-gantt__today::before {
  content: "";
  position: absolute;
  top: -3px;
  left: -3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

/* Art: workload */
.lp-art-load {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  max-width: 260px;
}
.lp-art-load span {
  display: flex;
  align-items: center;
  gap: 12px;
}
.lp-art-load i {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--tone-solid);
}
.lp-art-load b {
  position: relative;
  flex: 1 1 auto;
  height: 10px;
  overflow: hidden;
  border-radius: var(--radius-full);
  background: var(--fill-2);
}
.lp-art-load b::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--v);
  border-radius: inherit;
  background: var(--c-green);
}
.lp-art-load .is-over b::after {
  background: var(--c-orange);
}

/* Art: command palette */
.lp-art-palette {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  max-width: 280px;
  padding: 8px;
  border-radius: 16px;
  background: var(--lp-art);
  box-shadow:
    0 0 0 1px var(--card-ring),
    var(--shadow-md);
}
.lp-art-palette span {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 32px;
  padding: 0 10px;
  border-radius: 9px;
}
.lp-art-palette__field {
  margin-bottom: 4px;
  box-shadow: inset 0 -1px 0 var(--line);
  border-radius: 0 !important;
  color: var(--text-2);
}
.lp-art-palette__field b {
  width: 36%;
  height: 7px;
  border-radius: var(--radius-full);
  background: var(--text);
  opacity: 0.75;
}
.lp-art-palette__field .kbd {
  margin-left: auto;
}
.lp-art-palette span.is-active {
  background: var(--accent-soft);
}
.lp-art-palette span > i {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: var(--tone);
}
.lp-art-palette span:not(.lp-art-palette__field) b {
  flex: 0 1 60%;
  height: 6px;
  border-radius: var(--radius-full);
  background: var(--fill-3);
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .lp-tile .lp-tile__art > * {
    transition: transform 600ms var(--ease-out);
  }
  .lp-tile:hover .lp-tile__art > * {
    transform: translateY(-4px) scale(1.015);
  }
  .lp-tile--boards:hover .lp-art-board__drag {
    transform: translate(6px, -6px) rotate(-6deg);
  }
  .lp-art-board__drag {
    transition: transform 600ms var(--ease-spring);
  }
}

/* -- How it works -------------------------------------------------------------------------------- */
.lp-steps {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.lp-step {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px;
  border-radius: 28px;
  background: var(--surface);
}
.lp-step__num {
  align-self: flex-start;
  margin-bottom: 8px;
  background: var(--lp-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: var(--fw-bold);
  line-height: 1;
  letter-spacing: -0.05em;
}
.lp-step__title {
  font-family: var(--font-display);
  font-size: var(--fs-title-3);
  font-weight: var(--fw-bold);
  letter-spacing: -0.022em;
}
.lp-step__text {
  color: var(--text-2);
  font-size: var(--fs-lg);
  line-height: 1.5;
}
@media (min-width: 900px) {
  .lp-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* -- Deep dives ---------------------------------------------------------------------------------- */
.lp-dives {
  display: flex;
  flex-direction: column;
  gap: clamp(72px, 7vw + 24px, 144px);
}
.lp-dive {
  display: grid;
  gap: 36px;
  align-items: center;
}
.lp-dive__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.lp-checks {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 8px 0 0;
  padding: 0;
  font-size: var(--fs-lg);
  font-weight: var(--fw-medium);
  list-style: none;
}
.lp-checks li {
  display: flex;
  align-items: center;
  gap: 12px;
}
.lp-checks .icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  padding: 5px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-ink);
}
.lp-panel {
  position: relative;
  min-width: 0;
  overflow: hidden;
  padding: clamp(18px, 2.4vw, 32px);
  border-radius: 28px;
  background: var(--lp-tile);
}
@media (min-width: 900px) {
  .lp-dive {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(40px, 5vw, 80px);
  }
  .lp-dive--flip .lp-dive__text {
    order: 2;
  }
}

/* Deep dive: board */
.lp-dd {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  min-height: 320px;
}
.lp-dd__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
  border-radius: 18px;
  background: var(--lp-art);
  box-shadow: 0 0 0 1px var(--card-ring);
}
.lp-dd__head {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 22px;
}
.lp-dd__head i {
  width: 10px;
  height: 10px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--tone);
}
.lp-dd__head b {
  width: 46%;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--fill-3);
}
.lp-dd__wip {
  margin-left: auto;
  padding: 1px 7px;
  border-radius: var(--radius-full);
  background: var(--fill-2);
  color: var(--text-2);
  font-size: var(--fs-2xs);
  font-weight: var(--fw-semibold);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.lp-dd__card,
.lp-dd__slot {
  position: relative;
  height: 64px;
  border-radius: 12px;
}
.lp-dd__card {
  background: var(--surface);
  box-shadow:
    0 0 0 1px var(--card-ring),
    var(--shadow-sm);
}
.lp-dd__card::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 12px;
  width: 30px;
  height: 6px;
  border-radius: var(--radius-full);
  background: var(--tone);
}
.lp-dd__card b,
.lp-dd__card em {
  position: absolute;
  left: 12px;
  height: 7px;
  border-radius: var(--radius-full);
  background: var(--fill-3);
}
.lp-dd__card b {
  top: 28px;
  width: 70%;
}
.lp-dd__card em {
  top: 44px;
  width: 38%;
  opacity: 0.6;
}
.lp-dd__card.is-done {
  opacity: 0.55;
}
.lp-dd__slot {
  background: var(--accent-softer);
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--accent) 45%, transparent);
}
.lp-dd__card--drag {
  position: absolute;
  top: 118px;
  left: calc(33.3% + 26px);
  width: calc(33.3% - 20px);
  box-shadow:
    0 0 0 1px var(--card-ring),
    var(--shadow-xl);
  transform: rotate(4deg);
}
@media (prefers-reduced-motion: no-preference) {
  .lp-dd__card--drag {
    animation: lp-float 5s var(--ease-in-out) infinite;
  }
  @keyframes lp-float {
    0%,
    100% {
      transform: translate(0, 0) rotate(4deg);
    }
    50% {
      transform: translate(-6px, -8px) rotate(2.5deg);
    }
  }
}

/* Deep dive: timeline */
.lp-gantt {
  --label-w: 22%;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 320px;
  overflow: hidden;
  border-radius: 18px;
  background:
    repeating-linear-gradient(90deg, transparent 0 calc(100% / 6 - 1px), var(--line) calc(100% / 6 - 1px) calc(100% / 6))
      var(--label-w) 0 / calc(100% - var(--label-w)) 100% no-repeat,
    var(--lp-art);
  box-shadow: 0 0 0 1px var(--card-ring);
}
.lp-gantt__head {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  height: 38px;
  margin-left: var(--label-w);
  border-bottom: 1px solid var(--line);
}
.lp-gantt__head span {
  position: relative;
  box-shadow: inset 1px 0 0 var(--line);
}
.lp-gantt__head span::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 10px;
  width: 30px;
  height: 6px;
  border-radius: var(--radius-full);
  background: var(--fill-3);
}
.lp-gantt__row {
  position: relative;
  display: flex;
  align-items: center;
  height: 46px;
}
.lp-gantt__row + .lp-gantt__row {
  box-shadow: inset 0 1px 0 color-mix(in srgb, var(--line) 60%, transparent);
}
.lp-gantt__row b {
  width: calc(var(--label-w) - 28px);
  height: 7px;
  margin-left: 14px;
  border-radius: var(--radius-full);
  background: var(--fill-3);
}
.lp-gantt__row i {
  position: absolute;
  left: calc(var(--label-w) + (100% - var(--label-w)) * var(--s) / 100);
  width: calc((100% - var(--label-w)) * var(--l) / 100);
  height: 22px;
  border-radius: 7px;
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--tone) 52%, var(--surface)) var(--p),
    color-mix(in srgb, var(--tone) 22%, var(--surface)) var(--p)
  );
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tone) 40%, transparent);
}
.lp-gantt__row em {
  position: absolute;
  left: calc(var(--label-w) + (100% - var(--label-w)) * var(--s) / 100);
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background: var(--tone);
  box-shadow: 0 0 0 2px var(--lp-art);
  transform: rotate(45deg);
}
.lp-gantt__today {
  position: absolute;
  z-index: 1;
  top: 30px;
  bottom: 0;
  left: calc(var(--label-w) + (100% - var(--label-w)) * 0.46);
  width: 2px;
  background: var(--accent);
}
.lp-gantt__today::before {
  content: "";
  position: absolute;
  top: 0;
  left: -3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

/* -- Local --------------------------------------------------------------------------------------- */
.lp-local {
  display: grid;
  gap: 16px;
}
.lp-card-local {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 28px;
  border-radius: 28px;
  background: var(--surface);
}
.lp-card-local > :last-child {
  margin-top: auto;
}
.lp-langs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
.lp-langs li {
  display: flex;
}
/* Each chip is a real language switch (the tile promises "one click"). */
.lp-langs__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 6px 14px;
  border: 0;
  border-radius: var(--radius-full);
  background: var(--fill-1);
  color: var(--text);
  font: inherit;
  font-weight: var(--fw-medium);
  cursor: pointer;
  transition:
    background-color var(--dur-1) ease,
    color var(--dur-1) ease,
    transform var(--dur-1) var(--ease-out);
}
.lp-langs__btn:hover {
  background: var(--fill-2);
}
.lp-langs__btn:active {
  transform: scale(0.97);
}
.lp-langs__btn:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
}
.lp-langs li.is-current .lp-langs__btn {
  padding-left: 11px;
  background: var(--accent-soft);
  color: var(--accent-ink);
}
.lp-clock {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 12px;
}
.lp-clock__face {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
}
.lp-clock__rim {
  fill: var(--lp-tile);
  stroke: var(--line-strong);
  stroke-width: 1.5;
}
.lp-clock__ticks line {
  stroke: var(--text-3);
  stroke-width: 2;
  stroke-linecap: round;
}
.lp-clock__hour,
.lp-clock__minute {
  stroke-linecap: round;
  transform-box: view-box;
  transform-origin: 32px 32px;
}
.lp-clock__hour {
  stroke: var(--text);
  stroke-width: 3.5;
  transform: rotate(var(--hour-angle, 305deg));
}
.lp-clock__minute {
  stroke: var(--c-orange);
  stroke-width: 2.2;
  transform: rotate(var(--minute-angle, 60deg));
}
.lp-clock__pin {
  fill: var(--c-orange);
}
.lp-clock__label {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.lp-clock__label b {
  font-family: var(--font-mono);
  font-size: var(--fs-md);
  font-weight: var(--fw-semibold);
}
.lp-clock__label span {
  color: var(--text-2);
  font-size: var(--fs-sm);
  font-variant-numeric: tabular-nums;
}
.lp-term {
  width: 100%;
  margin-top: 12px;
  padding: 14px 16px;
  overflow-x: auto;
  border-radius: 14px;
  background: light-dark(var(--surface-inverse), var(--surface-sunken));
  box-shadow: 0 0 0 1px var(--card-ring);
  color: light-dark(var(--text-inverse), var(--text));
  font-size: var(--fs-sm);
  line-height: 1.5;
}
.lp-term__prompt {
  margin-right: 8px;
  color: var(--c-green);
  user-select: none;
}
@media (min-width: 900px) {
  .lp-local {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* -- Final call to action ------------------------------------------------------------------------ */
.lp-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(88px, 8vw + 40px, 168px);
  text-align: center;
}
.lp-cta::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: auto -10% -60% -10%;
  height: 120%;
  background: radial-gradient(50% 50% at 50% 50%, color-mix(in srgb, var(--c-indigo) 22%, transparent), transparent 70%);
  pointer-events: none;
}
.lp-cta__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.lp-cta__logo {
  width: 72px;
  height: 72px;
  margin-bottom: 8px;
  filter: drop-shadow(0 18px 30px color-mix(in srgb, var(--c-indigo) 40%, transparent));
}
.lp-cta__title {
  max-width: 14ch;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 1.3rem + 4.6vw, 5rem);
  font-weight: var(--fw-bold);
  line-height: 1.02;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.lp-cta__text {
  max-width: 560px;
  color: var(--text-2);
  font-size: clamp(1.0625rem, 0.98rem + 0.4vw, 1.3125rem);
  line-height: 1.5;
}

/* -- Motion: hero entrance, scroll-driven reveals & tilt -------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .lp-rise,
  .lp-stage {
    animation: lp-rise 900ms var(--ease-out) both;
  }
  .lp-hero__inner > .lp-rise:nth-child(2) { animation-delay: 70ms; }
  .lp-hero__inner > .lp-rise:nth-child(3) { animation-delay: 140ms; }
  .lp-hero__inner > .lp-rise:nth-child(4) { animation-delay: 210ms; }
  .lp-hero__inner > .lp-rise:nth-child(5) { animation-delay: 280ms; }
  .lp-stage {
    animation-duration: 1200ms;
    animation-delay: 260ms;
  }
  @keyframes lp-rise {
    from {
      opacity: 0;
      transform: translateY(18px);
    }
  }

  @supports (animation-timeline: view()) {
    .lp-stage__tilt {
      animation: lp-tilt linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 42%;
    }
    @keyframes lp-tilt {
      from {
        transform: rotateX(22deg) scale(0.9);
      }
      to {
        transform: none;
      }
    }
    .lp-reveal {
      animation: lp-reveal linear both;
      animation-timeline: view();
      animation-range: entry 4% cover 26%;
    }
    @keyframes lp-reveal {
      from {
        opacity: 0;
        transform: translateY(40px) scale(0.98);
      }
      to {
        opacity: 1;
        transform: none;
      }
    }
    .lp-art-chart__line {
      stroke-dasharray: 200;
      animation: lp-draw linear both;
      animation-timeline: view();
      animation-range: entry 30% cover 55%;
    }
    @keyframes lp-draw {
      from {
        stroke-dashoffset: 200;
      }
      to {
        stroke-dashoffset: 0;
      }
    }
  }
  /* Fallback (no scroll-driven animations): landing.js adds .lp-io and toggles .is-in */
  :root.lp-io .lp-reveal:not(.is-in) {
    opacity: 0;
    transform: translateY(32px) scale(0.985);
  }
  :root.lp-io .lp-reveal {
    transition:
      opacity 900ms var(--ease-out) var(--lp-delay, 0ms),
      transform 900ms var(--ease-out) var(--lp-delay, 0ms);
  }
}

/* ==================================================================================================
   Birge 2.0 landing additions (public agent): "New" pill, proof band, floating chat & vault cards
   on the hero, messenger / vault tiles and deep dives, FAQ. Tokens only; motion is gated below.
   ================================================================================================== */

/* -- Pill with a "New" badge ---------------------------------------------------------------------- */
.lp-pill {
  padding-left: 5px;
}
.lp-pill__badge {
  flex-shrink: 0;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  /* the brand gradient at OKLCH L 0.5: white 12px text ≥ 5:1 (the plain blue is 4:1) */
  background: var(--lp-brand);
  background: linear-gradient(120deg, oklch(from var(--c-blue) 0.5 c h), oklch(from var(--c-indigo) 0.5 c h) 52%, oklch(from var(--c-purple) 0.5 c h));
  color: var(--text-on-accent);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.01em;
}
.lp-pill__text {
  min-width: 0;
}
.lp-hero__note {
  max-width: 34ch;
  margin-top: 2px;
  color: var(--text-2);
  font-size: var(--fs-md);
  text-align: center;
  text-wrap: balance;
}
@media (min-width: 640px) {
  .lp-hero__note {
    max-width: none;
  }
}
.lp-hero__note .icon {
  display: inline-block;
  margin-right: 6px;
  color: var(--c-purple);
  vertical-align: -2px;
}
.lp-app__nav em.is-blue {
  background: var(--c-blue);
}

/* -- Floating cards around the hero window (tablet & desktop) -------------------------------------- */
.lp-stage__tilt {
  position: relative;
}
.lp-float {
  position: absolute;
  z-index: 2;
  display: none;
  pointer-events: none;
}
@media (min-width: 640px) {
  .lp-float {
    display: block;
  }
}
.lp-float--chat {
  top: 24%;
  right: max(-2.5%, -32px);
  width: clamp(220px, 26%, 312px);
}
.lp-float--vault {
  bottom: -7%;
  left: max(-2.5%, -32px);
  width: clamp(208px, 24%, 290px);
}
@media (max-width: 1023px) {
  .lp-float--chat {
    top: auto;
    right: 2%;
    bottom: -9%;
  }
  .lp-float--vault {
    bottom: -12%;
    left: 2%;
  }
}

/* Floating messenger */
.lp-chat {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 12px;
  border-radius: 20px;
  background: color-mix(in srgb, var(--surface-elevated) 88%, transparent);
  box-shadow:
    0 0 0 1px var(--glass-line),
    inset 0 1px 0 light-dark(rgb(255 255 255 / 0.8), rgb(255 255 255 / 0.06)),
    0 24px 48px -16px light-dark(rgb(30 30 80 / 0.28), rgb(0 0 0 / 0.7));
  -webkit-backdrop-filter: blur(20px) saturate(170%);
  backdrop-filter: blur(20px) saturate(170%);
  font-size: 12.5px;
  line-height: 1.35;
}
.lp-chat__head {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 2px 6px;
  border-bottom: 1px solid var(--line);
  font-size: var(--fs-sm);
}
.lp-chat__hash {
  color: var(--text-3);
  font-weight: var(--fw-semibold);
}
.lp-chat__live {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  color: var(--text-3);
  font-size: var(--fs-2xs);
  font-variant-numeric: tabular-nums;
}
.lp-chat__live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-green);
}
.lp-chat__msg {
  display: flex;
  align-items: flex-end;
  gap: 7px;
}
.lp-chat__msg.is-mine {
  justify-content: flex-end;
}
.lp-chat__av {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--tone-solid);
  color: var(--tone-on);
  font-size: 10px;
  font-weight: var(--fw-bold);
}
.lp-chat__bubble {
  display: flex;
  flex-direction: column;
  gap: 1px;
  max-width: 82%;
  padding: 7px 10px;
  border-radius: 14px 14px 14px 4px;
  background: var(--fill-1);
  color: var(--text);
}
.lp-chat__bubble b {
  color: var(--c-pink-ink, var(--text));
  font-size: var(--fs-2xs);
  font-weight: var(--fw-semibold);
}
.lp-chat__msg.is-mine .lp-chat__bubble {
  border-radius: 14px 14px 4px 14px;
  background: var(--accent);
  color: var(--text-on-accent);
}
.lp-chat__task {
  padding: 0 4px;
  border-radius: 4px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-family: var(--font-mono);
  font-size: 11px;
  white-space: nowrap;
}
.lp-chat__voice {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px 6px 6px;
  border-radius: 14px 14px 14px 4px;
  background: var(--fill-1);
}
.lp-chat__play {
  position: relative;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--c-teal);
}
.lp-chat__play::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 8px;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 6px solid var(--text-on-accent);
}
.lp-chat__wave {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 18px;
}
.lp-chat__wave i {
  width: 2.5px;
  height: 40%;
  border-radius: 2px;
  background: color-mix(in srgb, var(--c-teal) 70%, var(--text-3));
}
.lp-chat__wave i:nth-child(3n) {
  height: 85%;
}
.lp-chat__wave i:nth-child(3n + 1) {
  height: 60%;
}
.lp-chat__wave i:nth-child(4n) {
  height: 100%;
}
.lp-chat__voice em {
  color: var(--text-3);
  font-size: var(--fs-2xs);
  font-style: normal;
  font-variant-numeric: tabular-nums;
}
.lp-chat__typing {
  display: inline-flex;
  align-self: flex-start;
  gap: 3px;
  margin-left: 29px;
  padding: 7px 10px;
  border-radius: 12px;
  background: var(--fill-1);
}
.lp-chat__typing i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--text-3);
}

/* Wallet card (floating on the hero and in the vault deep dive). Deep OKLCH gradient of the tone:
   the same AA rule as the info board's pinned cards (white text 6:1 or better). */
.lp-wallet {
  --lw-l: 0.46;
  --lw-l2: 0.34;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  overflow: hidden;
  border-radius: 20px;
  background: linear-gradient(150deg, color-mix(in oklab, var(--tone-solid) 62%, black), color-mix(in oklab, var(--tone-solid) 44%, black));
  background:
    radial-gradient(70% 60% at 100% 0%, rgb(255 255 255 / 0.16), transparent 70%),
    linear-gradient(150deg, oklch(from var(--tone-solid) var(--lw-l) c h), oklch(from var(--tone-solid) var(--lw-l2) c h));
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.3),
    inset 0 0 0 1px rgb(255 255 255 / 0.1),
    0 24px 44px -16px color-mix(in srgb, var(--tone-solid) 60%, black);
  color: var(--tone-on);
  font-size: 12.5px;
}
.lp-wallet::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(115deg, rgb(255 255 255 / 0.04) 0 2px, transparent 2px 9px);
  -webkit-mask-image: linear-gradient(200deg, black, transparent 60%);
  mask-image: linear-gradient(200deg, black, transparent 60%);
  pointer-events: none;
}
.lp-wallet__head {
  display: flex;
  align-items: center;
  gap: 9px;
}
.lp-wallet__icon {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: rgb(255 255 255 / 0.2);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.35);
}
.lp-wallet__titles {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.lp-wallet__titles em {
  font-size: 9.5px;
  font-style: normal;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.06em;
  opacity: 0.84;
  text-transform: uppercase;
}
.lp-wallet__titles b {
  overflow: hidden;
  font-size: 14px;
  font-weight: var(--fw-semibold);
  text-overflow: ellipsis;
  white-space: nowrap;
}
.lp-wallet__badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  background: rgb(0 0 0 / 0.24);
  font-size: 10.5px;
  font-weight: var(--fw-semibold);
  white-space: nowrap;
}
.lp-wallet__row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.lp-wallet__row span {
  opacity: 0.84;
}
.lp-wallet__row b {
  font-family: var(--font-mono);
  font-weight: var(--fw-medium);
}
.lp-wallet__secret {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgb(0 0 0 / 0.16);
  box-shadow: inset 0 1px 1px rgb(0 0 0 / 0.12);
}
.lp-wallet__lock {
  display: inline-grid;
  opacity: 0.84;
}
.lp-wallet__label {
  opacity: 0.84;
}
.lp-wallet__value {
  position: relative;
  display: grid;
  margin-left: auto;
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
}
.lp-wallet__dots,
.lp-wallet__pw {
  grid-area: 1 / 1;
  justify-self: end;
}
.lp-wallet__pw {
  opacity: 0;
}
.lp-wallet__code {
  font-size: 15px;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.08em;
}
.lp-wallet__ring {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  border-radius: 50%;
  background: conic-gradient(currentColor var(--lp-ring, 72%), rgb(255 255 255 / 0.25) 0);
  -webkit-mask: radial-gradient(circle, transparent 4px, black 4.5px);
  mask: radial-gradient(circle, transparent 4px, black 4.5px);
}

/* -- Proof band ----------------------------------------------------------------------------------- */
.lp-proof {
  padding: clamp(24px, 3vw, 48px) 0 clamp(8px, 2vw, 24px);
}
.lp-proof__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 900px) {
  .lp-proof__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
  }
}
.lp-stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: clamp(16px, 2vw, 24px);
  border-radius: 24px;
  background: var(--lp-tile);
}
.lp-stat__num {
  align-self: flex-start;
  background: var(--lp-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.4rem + 2vw, 3rem);
  font-weight: var(--fw-bold);
  font-variant-numeric: tabular-nums;
  line-height: 1.05;
  letter-spacing: -0.04em;
  white-space: nowrap;
}
.lp-stat__label {
  color: var(--text-2);
  font-size: var(--fs-md);
  line-height: 1.4;
  text-wrap: pretty;
}

/* -- Bento: messenger + vault tiles join the grid --------------------------------------------------- */
@media (min-width: 640px) {
  .lp-tile--chat,
  .lp-tile--vault {
    grid-column: span 2;
  }
}
@media (min-width: 1024px) {
  .lp-bento {
    grid-template-areas:
      "boards boards chat chat"
      "boards boards lists cal"
      "vault vault timeline timeline"
      "inbox insights load palette";
  }
  .lp-tile--boards { grid-area: boards; }
  .lp-tile--chat { grid-area: chat; }
  .lp-tile--lists { grid-area: lists; }
  .lp-tile--calendar { grid-area: cal; }
  .lp-tile--vault { grid-area: vault; }
  .lp-tile--timeline { grid-area: timeline; }
  .lp-tile--inbox { grid-area: inbox; }
  .lp-tile--insights { grid-area: insights; }
  .lp-tile--workload { grid-area: load; }
  .lp-tile--palette { grid-area: palette; }
}
/* Art: chat */
.lp-art-chat {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  max-width: 300px;
}
.lp-art-chat__msg {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}
.lp-art-chat__msg i {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--tone-solid);
}
.lp-art-chat__msg b {
  width: 62%;
  height: 32px;
  border-radius: 14px 14px 14px 4px;
  background: var(--lp-art);
  box-shadow: 0 0 0 1px var(--card-ring);
}
.lp-art-chat__msg.is-mine {
  justify-content: flex-end;
}
.lp-art-chat__msg.is-mine b {
  width: 52%;
  border-radius: 14px 14px 4px 14px;
  background: var(--accent);
  box-shadow: none;
}
.lp-art-chat__msg b.is-voice {
  display: flex;
  align-items: center;
  gap: 3px;
  width: 56%;
  padding: 0 12px;
}
.lp-art-chat__msg b.is-voice em {
  flex: none;
  width: 3px;
  height: 40%;
  border-radius: 2px;
  background: color-mix(in srgb, var(--c-teal) 70%, var(--text-3));
}
.lp-art-chat__msg b.is-voice em:nth-child(even) {
  height: 75%;
}
.lp-art-chat__react {
  position: absolute;
  right: 30%;
  bottom: -10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: var(--surface);
  box-shadow:
    0 0 0 1px var(--card-ring),
    var(--shadow-sm);
  color: var(--text-2);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
}
.lp-art-chat__react i {
  font-style: normal;
}

/* Art: vault cards fan */
.lp-art-vault {
  position: relative;
  width: 100%;
  max-width: 300px;
  height: 150px;
}
.lp-art-vault__card {
  position: absolute;
  left: 50%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 78%;
  padding: 12px;
  border-radius: 16px;
  background: linear-gradient(150deg, color-mix(in oklab, var(--tone-solid) 62%, black), color-mix(in oklab, var(--tone-solid) 44%, black));
  background: linear-gradient(150deg, oklch(from var(--tone-solid) 0.46 c h), oklch(from var(--tone-solid) 0.34 c h));
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.3),
    0 14px 28px -12px color-mix(in srgb, var(--tone-solid) 60%, black);
  color: var(--tone-on);
  translate: -50% 0;
}
.lp-art-vault__card:nth-child(1) {
  top: 0;
  rotate: -7deg;
  scale: 0.9;
  opacity: 0.85;
}
.lp-art-vault__card:nth-child(2) {
  top: 14px;
  rotate: 5deg;
  scale: 0.95;
}
.lp-art-vault__card.is-front {
  top: 34px;
}
.lp-art-vault__card i {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: rgb(255 255 255 / 0.22);
}
.lp-art-vault__card b {
  width: 58%;
  height: 8px;
  border-radius: var(--radius-full);
  background: rgb(255 255 255 / 0.85);
}
.lp-art-vault__card em {
  width: 38%;
  height: 6px;
  border-radius: var(--radius-full);
  background: rgb(255 255 255 / 0.5);
}
.lp-art-vault__secret {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  border-radius: 9px;
  background: rgb(0 0 0 / 0.18);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
}

/* -- Deep dive: messenger --------------------------------------------------------------------------- */
.lp-msgr {
  display: grid;
  grid-template-columns: minmax(0, 34%) minmax(0, 1fr);
  min-height: 320px;
  overflow: hidden;
  border-radius: 18px;
  background: var(--lp-art);
  box-shadow: 0 0 0 1px var(--card-ring);
  font-size: var(--fs-sm);
}
.lp-msgr__list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 8px;
  border-right: 1px solid var(--line);
  background: light-dark(var(--surface-2), color-mix(in srgb, var(--surface) 70%, var(--bg)));
}
.lp-msgr__conv {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  height: 34px;
  padding: 0 8px;
  border-radius: 10px;
  color: var(--text-2);
}
.lp-msgr__conv b {
  overflow: hidden;
  font-weight: var(--fw-medium);
  text-overflow: ellipsis;
  white-space: nowrap;
}
.lp-msgr__conv.is-active {
  background: var(--accent-soft);
  color: var(--accent-ink);
}
.lp-msgr__conv em {
  min-width: 18px;
  margin-left: auto;
  padding: 0 5px;
  border-radius: var(--radius-full);
  background: var(--accent);
  color: var(--text-on-accent);
  font-size: var(--fs-2xs);
  font-style: normal;
  font-weight: var(--fw-semibold);
  line-height: 18px;
  text-align: center;
}
.lp-msgr__hash {
  width: 18px;
  font-style: normal;
  font-weight: var(--fw-bold);
  text-align: center;
  opacity: 0.7;
}
.lp-msgr__av {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--tone-solid);
}
.lp-msgr__thread {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
}
.lp-msgr__msg {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}
.lp-msgr__msg > span:not(.lp-msgr__reacts) {
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-width: 82%;
  padding: 8px 12px;
  border-radius: 16px 16px 16px 5px;
  background: var(--surface);
  box-shadow: 0 0 0 1px var(--card-ring);
}
.lp-msgr__msg b {
  color: var(--accent-ink);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
}
.lp-msgr__msg u {
  color: var(--accent-ink);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  text-decoration: none;
}
.lp-msgr__msg.is-mine {
  flex-wrap: wrap;
  justify-content: flex-end;
}
.lp-msgr__msg.is-mine > span:not(.lp-msgr__reacts) {
  border-radius: 16px 16px 5px 16px;
  background: var(--accent);
  box-shadow: none;
  color: var(--text-on-accent);
}
.lp-msgr__reacts {
  display: inline-flex;
  flex-basis: 100%;
  justify-content: flex-end;
  gap: 4px;
  margin-top: -6px;
  color: var(--text-2);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
}
.lp-msgr__reacts i {
  font-style: normal;
}
.lp-msgr__voice {
  display: flex;
  align-items: center;
  gap: 8px;
}
.lp-msgr__voice > i {
  position: relative;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--accent);
}
.lp-msgr__voice > i::after {
  content: "";
  position: absolute;
  top: 7px;
  left: 9px;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 7px solid var(--text-on-accent);
}
.lp-msgr__voice > span {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 20px;
}
.lp-msgr__voice em {
  width: 3px;
  height: 45%;
  border-radius: 2px;
  background: color-mix(in srgb, var(--accent) 60%, var(--text-3));
}
.lp-msgr__voice em:nth-child(3n) {
  height: 90%;
}
.lp-msgr__voice em:nth-child(4n + 1) {
  height: 65%;
}
.lp-msgr__composer {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding: 6px 6px 6px 14px;
  border-radius: var(--radius-full);
  background: var(--surface);
  box-shadow: 0 0 0 1px var(--card-ring);
}
.lp-msgr__composer b {
  flex: 1;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--fill-2);
}
.lp-msgr__composer span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--text-on-accent);
}
@media (max-width: 479px) {
  .lp-msgr {
    grid-template-columns: minmax(0, 1fr);
  }
  .lp-msgr__list {
    display: none;
  }
}

/* -- Deep dive: vault --------------------------------------------------------------------------- */
.lp-vaultart {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  min-height: 320px;
}
.lp-vaultart__stack {
  position: relative;
  padding-top: 46px;
}
.lp-wallet--back {
  position: absolute;
  top: 0;
  right: 8%;
  left: 8%;
  height: 80px;
  opacity: 0.75;
  scale: 0.94;
}
.lp-wallet--big {
  position: relative;
  max-width: 420px;
  margin-inline: auto;
  padding: 18px;
  font-size: var(--fs-sm);
}
.lp-wallet--big .lp-wallet__titles b {
  font-size: var(--fs-xl);
}
.lp-vaultart__log {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  max-width: 420px;
  margin-inline: auto;
}
.lp-vaultart__log span {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 12px;
  background: var(--lp-art);
  box-shadow: 0 0 0 1px var(--card-ring);
}
.lp-vaultart__log i {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--tone-soft);
  color: var(--tone-ink);
}
.lp-vaultart__log b {
  width: 40%;
  height: 7px;
  border-radius: var(--radius-full);
  background: var(--fill-3);
}
.lp-vaultart__log em {
  width: 16%;
  height: 6px;
  margin-left: auto;
  border-radius: var(--radius-full);
  background: var(--fill-2);
}

/* -- FAQ ------------------------------------------------------------------------------------------- */
.lp-faq {
  display: grid;
  gap: clamp(28px, 4vw, 64px);
}
@media (min-width: 960px) {
  .lp-faq {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    align-items: start;
  }
  .lp-faq .lp-head {
    position: sticky;
    top: 96px;
  }
}
.lp-head--start {
  align-items: flex-start;
  margin: 0;
  text-align: left;
}
.lp-faq__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.lp-faq__item {
  border-radius: 20px;
  background: var(--lp-tile);
  transition:
    background-color var(--dur-2) var(--ease-out),
    box-shadow var(--dur-2) var(--ease-out);
}
.lp-faq__item[open] {
  box-shadow: 0 0 0 1px var(--card-ring);
}
.lp-faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  padding: 16px 20px;
  border-radius: inherit;
  font-size: var(--fs-xl);
  font-weight: var(--fw-semibold);
  letter-spacing: -0.01em;
  line-height: 1.35;
  list-style: none;
  cursor: pointer;
  text-wrap: pretty;
}
.lp-faq__item summary::-webkit-details-marker {
  display: none;
}
.lp-faq__item summary:hover {
  background: var(--fill-1);
}
.lp-faq__item summary:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
}
.lp-faq__icon {
  flex-shrink: 0;
  color: var(--text-3);
  transition: rotate var(--dur-3) var(--ease-spring);
}
.lp-faq__item[open] .lp-faq__icon {
  color: var(--accent);
  rotate: 45deg;
}
.lp-faq__body {
  padding: 0 20px 20px;
  color: var(--text-2);
  font-size: var(--fs-lg);
  line-height: 1.6;
  text-wrap: pretty;
}

/* -- Motion for the additions (decorative only) ------------------------------------------------------ */
@media (prefers-reduced-motion: no-preference) {
  .lp-float {
    animation: lp-float-in 1100ms var(--ease-spring) 900ms both;
  }
  .lp-float--vault {
    animation-delay: 1150ms;
  }
  @keyframes lp-float-in {
    from {
      opacity: 0;
      transform: translateY(24px) scale(0.92);
    }
  }
  .lp-float > * {
    animation: lp-bob 7s var(--ease-in-out) 2s infinite;
  }
  .lp-float--vault > * {
    animation-duration: 8s;
    animation-delay: 2.6s;
  }
  @keyframes lp-bob {
    50% {
      transform: translateY(-6px);
    }
  }
  /* Chat: messages arrive one by one, someone is typing, then the loop starts over (12 s). */
  .lp-chat__msg,
  .lp-chat__typing {
    animation: 12s var(--ease-out) 1.6s infinite both;
  }
  .lp-chat__msg--1 { animation-name: lp-msg-1; }
  .lp-chat__msg--2 { animation-name: lp-msg-2; }
  .lp-chat__msg--3 { animation-name: lp-msg-3; }
  .lp-chat__typing { animation-name: lp-typing; }
  @keyframes lp-msg-1 {
    0% { opacity: 0; transform: translateY(8px) scale(0.96); }
    6%, 92% { opacity: 1; transform: none; }
    98%, 100% { opacity: 0; transform: none; }
  }
  @keyframes lp-msg-2 {
    0%, 22% { opacity: 0; transform: translateY(8px) scale(0.96); }
    28%, 92% { opacity: 1; transform: none; }
    98%, 100% { opacity: 0; transform: none; }
  }
  @keyframes lp-typing {
    0%, 36% { opacity: 0; }
    40%, 54% { opacity: 1; }
    58%, 100% { opacity: 0; }
  }
  @keyframes lp-msg-3 {
    0%, 56% { opacity: 0; transform: translateY(8px) scale(0.96); }
    62%, 92% { opacity: 1; transform: none; }
    98%, 100% { opacity: 0; transform: none; }
  }
  .lp-chat__typing i {
    animation: lp-dot 1.1s var(--ease-in-out) infinite;
  }
  .lp-chat__typing i:nth-child(2) { animation-delay: 140ms; }
  .lp-chat__typing i:nth-child(3) { animation-delay: 280ms; }
  @keyframes lp-dot {
    0%, 60%, 100% { opacity: 0.35; transform: none; }
    30% { opacity: 1; transform: translateY(-3px); }
  }
  .lp-chat__wave i {
    transform-origin: center;
    animation: lp-wave 1.2s var(--ease-in-out) infinite;
  }
  .lp-chat__wave i:nth-child(2n) { animation-delay: 150ms; }
  .lp-chat__wave i:nth-child(3n) { animation-delay: 300ms; }
  @keyframes lp-wave {
    50% { transform: scaleY(0.45); }
  }
  /* Vault: the dots dissolve into the password, then it locks again (9 s). */
  .lp-wallet__dots,
  .lp-wallet__pw {
    animation: 9s var(--ease-out) 2.4s infinite both;
  }
  .lp-wallet__dots { animation-name: lp-pw-dots; }
  .lp-wallet__pw { animation-name: lp-pw-text; }
  @keyframes lp-pw-dots {
    0%, 30% { opacity: 1; filter: none; }
    36%, 74% { opacity: 0; filter: blur(4px); }
    80%, 100% { opacity: 1; filter: none; }
  }
  @keyframes lp-pw-text {
    0%, 30% { opacity: 0; filter: blur(6px); }
    38%, 72% { opacity: 1; filter: none; }
    78%, 100% { opacity: 0; filter: blur(6px); }
  }
  .lp-wallet__ring {
    animation: lp-ring 30s linear infinite;
  }
  @keyframes lp-ring {
    from { --lp-ring: 100%; }
    to { --lp-ring: 0%; }
  }
  .lp-art-vault__card {
    transition:
      rotate 600ms var(--ease-spring),
      translate 600ms var(--ease-spring),
      scale 600ms var(--ease-spring);
  }
  .lp-tile--vault:hover .lp-art-vault__card:nth-child(1) {
    rotate: -12deg;
    translate: -62% -4px;
  }
  .lp-tile--vault:hover .lp-art-vault__card:nth-child(2) {
    rotate: 10deg;
    translate: -38% -2px;
  }
  .lp-faq__item[open] .lp-faq__body {
    animation: lp-faq-open 420ms var(--ease-out);
  }
  @keyframes lp-faq-open {
    from {
      opacity: 0;
      transform: translateY(-6px);
    }
  }
  .lp-stage.is-offscreen .lp-float,
  .lp-stage.is-offscreen .lp-float * {
    animation-play-state: paused;
  }
}
@property --lp-ring {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 72%;
}
/* Reduced motion: the final state of every loop is shown (password hidden, all messages visible). */
@media (prefers-reduced-motion: reduce) {
  .lp-chat__typing {
    display: none;
  }
}

/* ==================================================================================================
   r4 · 12.20 «Birge OS» — Apple product page: floating glass nav capsule, display hero, CSS
   "MacBook" frame with a scroll-driven tilt, surface bento tiles, iPhone section, 4-column footer.
   Overrides the r3 rules above (same specificity, later in the file). Tokens only.
   ================================================================================================== */
.mkt-body {
  --lp-canvas: var(--bg);
  --lp-tint: var(--surface);
  --lp-tile: var(--surface);
  --lp-art: light-dark(var(--bg), var(--surface-2));
  --lp-bezel: light-dark(rgb(0 0 0 / 0.9), rgb(0 0 0 / 0.96));
  --lp-edge: light-dark(rgb(0 0 0 / 0.18), rgb(255 255 255 / 0.16));
}
/* Tinted sections flip the pair (white band, grey tiles) the way apple.com alternates. */
.lp-section--tint .lp-tile,
.lp-section--tint .lp-panel,
.lp-section--tint .lp-step,
.lp-section--tint .lp-card-local {
  background: light-dark(var(--bg), var(--surface-2));
}
.lp-tile,
.lp-panel,
.lp-stat {
  box-shadow: 0 0 0 0.5px var(--card-ring);
}

/* -- Nav: floating glass capsule (52 px, max 1100 px, 12 px from the top) -------------------------- */
.mkt-body .mkt-nav {
  top: 0;
  padding: calc(var(--safe-top) + 12px) max(8px, var(--safe-right)) 0 max(8px, var(--safe-left));
  border-bottom: 0;
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  pointer-events: none;
}
.mkt-body .mkt-nav.is-scrolled {
  background: transparent;
}
.mkt-body .mkt-nav__inner {
  max-width: 1100px;
  height: 52px;
  padding-inline: 16px 8px;
  border-radius: var(--radius-full);
  background: var(--glass-sheen), var(--mat-chrome);
  box-shadow:
    var(--glass-rim),
    0 0 0 0.5px var(--glass-border),
    var(--shadow-md);
  -webkit-backdrop-filter: var(--mat-filter-strong);
  backdrop-filter: var(--mat-filter-strong);
  pointer-events: auto;
}
.mkt-body .mkt-nav.is-scrolled .mkt-nav__inner {
  box-shadow:
    var(--glass-rim),
    0 0 0 0.5px var(--glass-border),
    var(--shadow-lg);
  scale: 0.975;
}
.mkt-brand {
  font-size: var(--fs-lg);
  font-weight: var(--fw-semibold);
}
.mkt-nav__sections a {
  padding: 6px 12px;
  font-size: var(--fs-sm);
}
.mkt-nav__actions {
  gap: 4px;
}
@media (max-width: 400px) {
  .mkt-body .mkt-nav__inner {
    gap: var(--space-2);
    padding-inline: 12px 6px;
  }
  .mkt-nav__signin {
    padding-inline: 8px;
  }
  .mkt-nav__cta {
    padding-inline: 12px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .mkt-body .mkt-nav__inner {
    transition:
      scale var(--dur-smooth) var(--spring-smooth),
      box-shadow var(--dur-3) var(--ease-out);
  }
}

/* -- Hero: display type, 21 px lead, capsule buttons ----------------------------------------------- */
.lp-hero {
  padding-top: clamp(36px, 3vw + 20px, 72px);
}
.lp-hero__title {
  max-width: 13ch;
  font-size: var(--fs-display);
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.lp-hero__lead {
  max-width: 600px;
  font-size: clamp(1.0625rem, 0.9rem + 0.6vw, 1.3125rem);
  line-height: 1.45;
}
.lp-btn {
  height: var(--control-h-lg);
  min-height: var(--hit-min);
  font-size: var(--fs-lg);
}
@media (min-width: 768px) {
  .lp-btn {
    height: 48px;
    padding-inline: 26px;
  }
}

/* -- Hero device: CSS "MacBook" (radius 18, 10 px black bezel, --shadow-xl, aluminium base) ------- */
.lp-stage {
  max-width: 1160px;
}
.lp-device {
  position: relative;
}
.lp-device .lp-window {
  border: clamp(5px, 0.8vw, 10px) solid var(--lp-bezel);
  border-bottom-width: clamp(7px, 1.1vw, 14px);
  border-radius: clamp(12px, 1.5vw, 18px) clamp(12px, 1.5vw, 18px) clamp(4px, 0.5vw, 6px) clamp(4px, 0.5vw, 6px);
  background: var(--surface);
  box-shadow:
    0 0 0 1px var(--lp-edge),
    var(--shadow-xl);
}
.lp-device__base {
  position: relative;
  display: block;
  width: 108%;
  height: clamp(8px, 1.3vw, 16px);
  margin-left: -4%;
  border-radius: 2px 2px 50% 50% / 2px 2px 100% 100%;
  background: linear-gradient(180deg, var(--surface-sunken) 0%, color-mix(in srgb, var(--surface-sunken) 80%, var(--text)) 100%);
  box-shadow:
    0 0 0 0.5px var(--lp-edge),
    0 18px 30px -18px light-dark(rgb(0 0 0 / 0.45), rgb(0 0 0 / 0.9));
}
.lp-device__base::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 16%;
  height: 40%;
  border-radius: 0 0 8px 8px;
  background: color-mix(in srgb, var(--surface-sunken) 82%, var(--text));
  transform: translateX(-50%);
}
.lp-stage::before {
  opacity: 0.12;
}

/* -- Bento: surface tiles, radius 28, titles 28 px 700 ---------------------------------------------- */
.lp-tile {
  padding: clamp(22px, 2vw, 30px);
  border-radius: 28px;
  background: var(--lp-tile);
}
.lp-tile__title {
  font-size: var(--fs-title-1);
  font-weight: var(--fw-bold);
  line-height: 1.12;
  letter-spacing: var(--tracking-tight);
  text-wrap: balance;
}
.lp-tile__text {
  font-size: var(--fs-md);
}
.lp-tile__icon {
  border-radius: 10px;
  background: var(--tone-gradient);
  box-shadow:
    inset 0 0.5px 0 rgb(255 255 255 / 0.35),
    0 1px 2px rgb(0 0 0 / 0.12);
}
@media (min-width: 1024px) {
  /* one-column tiles: a 28 px title would break mid-word in ky / ru */
  .lp-tile--lists .lp-tile__title,
  .lp-tile--calendar .lp-tile__title,
  .lp-tile--inbox .lp-tile__title,
  .lp-tile--insights .lp-tile__title,
  .lp-tile--workload .lp-tile__title,
  .lp-tile--palette .lp-tile__title {
    font-size: var(--fs-title-3);
  }
}

/* -- iPhone section (radius 44, 10 px bezel) -------------------------------------------------------- */
.lp-mobile {
  display: grid;
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
}
.lp-mobile__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.lp-mobile__art {
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
}
.lp-mobile__art::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 12% 4%;
  border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--c-green) 22%, transparent), color-mix(in srgb, var(--accent) 10%, transparent) 60%, transparent);
  filter: blur(40px);
}
@media (min-width: 900px) {
  .lp-mobile {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}
.lp-phone {
  width: min(340px, 80vw);
  padding: 10px;
  border-radius: 44px;
  background: var(--lp-bezel);
  box-shadow:
    0 0 0 1.5px var(--lp-edge),
    inset 0 0 0 1px rgb(255 255 255 / 0.08),
    var(--shadow-xl);
}
.lp-phone__screen {
  position: relative;
  container-type: inline-size;
  display: flex;
  flex-direction: column;
  aspect-ratio: 9 / 19.5;
  overflow: hidden;
  padding: 0 4.5cqw;
  border-radius: 34px;
  background: var(--bg);
  color: var(--text);
}
.lp-phone__status {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 15cqw;
  font-size: 4.6cqw;
  font-weight: var(--fw-semibold);
}
.lp-phone__status b {
  padding-left: 5cqw;
  font-variant-numeric: tabular-nums;
}
.lp-phone__island {
  width: 30cqw;
  height: 8.6cqw;
  border-radius: var(--radius-full);
  background: var(--lp-bezel);
}
.lp-phone__sys {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 0.8cqw;
  padding-right: 4cqw;
}
.lp-phone__sys i {
  width: 1.2cqw;
  border-radius: 1px;
  background: currentColor;
}
.lp-phone__sys i:nth-child(1) { height: 1.8cqw; }
.lp-phone__sys i:nth-child(2) { height: 2.6cqw; }
.lp-phone__sys i:nth-child(3) { height: 3.4cqw; }
.lp-phone__sys em {
  width: 7cqw;
  height: 3.6cqw;
  margin-left: 1.4cqw;
  border-radius: 1.2cqw;
  box-shadow: inset 0 0 0 0.6cqw currentColor;
  opacity: 0.9;
}
.lp-phone__large {
  margin: 3cqw 1cqw 2cqw;
  font-family: var(--font-display);
  font-size: 10.4cqw;
  font-weight: var(--fw-bold);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.lp-phone__section {
  margin: 4.4cqw 1.5cqw 1.8cqw;
  color: var(--text-2);
  font-size: 4.6cqw;
  font-weight: var(--fw-semibold);
}
.lp-phone__group {
  margin: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 4.4cqw;
  background: var(--surface);
  list-style: none;
}
.lp-phone__group > li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 3cqw;
  min-height: 15cqw;
  padding: 0 3.6cqw;
}
.lp-phone__group > li + li::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  left: 13.4cqw;
  height: 0.5px;
  background: var(--line);
}
.lp-phone__check {
  position: relative;
  flex: none;
  width: 6.2cqw;
  height: 6.2cqw;
  border-radius: 50%;
  box-shadow: inset 0 0 0 0.45cqw var(--fill-3);
}
.lp-phone__check::after {
  content: "";
  position: absolute;
  inset: 22%;
  background: var(--text-on-accent);
  -webkit-mask: var(--check-mask) center / contain no-repeat;
  mask: var(--check-mask) center / contain no-repeat;
  opacity: 0;
}
.lp-phone__group > li.is-done .lp-phone__check {
  background: var(--accent);
  box-shadow: none;
}
.lp-phone__group > li.is-done .lp-phone__check::after {
  opacity: 1;
}
.lp-phone__task {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 0.6cqw;
  min-width: 0;
}
.lp-phone__task b {
  overflow: hidden;
  font-size: 4.8cqw;
  font-weight: var(--fw-regular);
  white-space: nowrap;
  text-overflow: ellipsis;
}
.lp-phone__task em {
  color: var(--text-3);
  font-family: var(--font-mono);
  font-size: 3.5cqw;
  font-style: normal;
}
.lp-phone__task em.is-overdue {
  color: var(--danger-ink);
}
.lp-phone__group > li.is-done .lp-phone__task b {
  color: var(--text-3);
}
/* swipe-to-complete demo row: the green action sits under the sliding row */
.lp-phone__group > li.lp-phone__row--swipe {
  padding: 0;
  overflow: hidden;
}
.lp-phone__action {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding-left: 4.4cqw;
  background: var(--success);
  color: var(--text-on-accent);
}
.lp-phone__action .icon {
  width: 5cqw;
  height: 5cqw;
}
.lp-phone__slide {
  position: relative;
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  gap: 3cqw;
  min-width: 0;
  min-height: 15cqw;
  padding: 0 3.6cqw;
  background: var(--surface);
}
.lp-phone__tabbar {
  position: absolute;
  right: 4cqw;
  bottom: 7cqw;
  left: 4cqw;
  display: flex;
  align-items: center;
  gap: 2.4cqw;
}
.lp-phone__tabs,
.lp-phone__plus {
  background: var(--glass-sheen), var(--mat-regular);
  box-shadow:
    var(--glass-rim),
    0 0 0 0.5px var(--glass-border),
    var(--shadow-md);
  -webkit-backdrop-filter: var(--mat-filter);
  backdrop-filter: var(--mat-filter);
}
.lp-phone__tabs {
  display: flex;
  flex: 1 1 auto;
  justify-content: space-around;
  height: 15cqw;
  padding: 0 1.5cqw;
  border-radius: var(--radius-full);
}
.lp-phone__tabs i {
  display: grid;
  place-items: center;
  width: 12cqw;
  color: var(--text-2);
}
.lp-phone__tabs i.is-active {
  margin-block: 1.5cqw;
  border-radius: var(--radius-full);
  background: var(--fill-2);
  color: var(--accent);
}
.lp-phone__tabs .icon {
  width: 5.4cqw;
  height: 5.4cqw;
}
.lp-phone__plus {
  display: grid;
  flex: none;
  place-items: center;
  width: 15cqw;
  height: 15cqw;
  border-radius: 50%;
  color: var(--accent);
}
.lp-phone__plus .icon {
  width: 6.4cqw;
  height: 6.4cqw;
}
.lp-phone__home {
  position: absolute;
  bottom: 2cqw;
  left: 50%;
  width: 36cqw;
  height: 1.4cqw;
  border-radius: var(--radius-full);
  background: var(--text);
  transform: translateX(-50%);
}
@media (prefers-reduced-motion: no-preference) {
  .lp-phone__slide {
    animation: lp-phone-swipe 7s var(--ease-in-out) infinite;
  }
  .lp-phone__row--swipe .lp-phone__check {
    animation: lp-phone-check 7s var(--ease-out) infinite;
  }
  .lp-phone__row--swipe .lp-phone__check::after {
    animation: lp-phone-check-mark 7s var(--ease-out) infinite;
  }
  @keyframes lp-phone-swipe {
    0%, 26% { transform: none; }
    38%, 48% { transform: translateX(22cqw); }
    60%, 100% { transform: none; }
  }
  @keyframes lp-phone-check {
    0%, 48% { background-color: transparent; box-shadow: inset 0 0 0 0.45cqw var(--fill-3); }
    54%, 92% { background-color: var(--accent); box-shadow: inset 0 0 0 0 transparent; }
    100% { background-color: transparent; box-shadow: inset 0 0 0 0.45cqw var(--fill-3); }
  }
  @keyframes lp-phone-check-mark {
    0%, 50% { opacity: 0; scale: 0.4; }
    58%, 92% { opacity: 1; scale: 1; }
    100% { opacity: 0; scale: 1; }
  }
}

/* -- Footer: 12 px --text-3, four link columns ------------------------------------------------------- */
.mkt-body .mkt-footer {
  border-top: 0.5px solid var(--line);
  background: var(--lp-canvas);
  color: var(--text-3);
  font-size: var(--fs-xs);
}
.mkt-body .mkt-footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-8);
  padding-top: var(--space-12);
}
.mkt-footer__tagline {
  color: var(--text-3);
  font-size: var(--fs-xs);
}
.mkt-footer__cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-6) var(--space-4);
}
.mkt-footer__heading {
  margin: 0 0 var(--space-2);
  color: var(--text);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
}
.mkt-body .mkt-footer__links {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: var(--space-2);
}
.mkt-body .mkt-footer__links a {
  align-self: flex-start;
  color: var(--text-3);
}
.mkt-body .mkt-footer__links a:hover {
  color: var(--text);
  text-decoration: underline;
}
.mkt-footer__meta {
  padding-top: var(--space-4);
  border-top: 0.5px solid var(--line);
  font-size: var(--fs-xs);
}
@media (min-width: 768px) {
  .mkt-body .mkt-footer__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr);
  }
  .mkt-footer__cols {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* -- Motion: scroll-driven tilt rotateX(8deg) → 0 (where supported) ----------------------------- */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .lp-stage__tilt {
      animation-name: lp-tilt-r4;
      animation-range: entry 0% cover 40%;
    }
    @keyframes lp-tilt-r4 {
      from {
        transform: perspective(1200px) rotateX(8deg) scale(0.96);
      }
      to {
        transform: none;
      }
    }
  }
}
:root[data-motion="reduced"] .lp-stage__tilt,
:root[data-motion="reduced"] .lp-phone__slide,
:root[data-motion="reduced"] .lp-phone__row--swipe .lp-phone__check,
:root[data-motion="reduced"] .lp-phone__row--swipe .lp-phone__check::after {
  animation: none;
}
