/* The landing page. DESIGN.md at the repository root describes the system:
   tokens, type, shapes, components and motion. Every selector sits under
   body.landing or an .lp- class, so nothing here reaches the documentation
   pages. */

@font-face {
  font-family: "Landing Instrument";
  src: url("../fonts/instrumentsans/InstrumentSans%5Bwdth,wght%5D.ttf") format("truetype");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "Landing Instrument";
  src: url("../fonts/instrumentsans/InstrumentSans-Italic%5Bwdth,wght%5D.ttf") format("truetype");
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "Landing Mono";
  src: url("../fonts/jetbrainsmono/JetBrainsMono%5Bwght%5D.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
}
@font-face {
  font-family: "Landing Bricolage";
  src: url("../fonts/bricolagegrotesque/BricolageGrotesque%5Bopsz,wdth,wght%5D.ttf") format("truetype");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

/* ------------------------------------------------------------------ tokens */

body.landing {
  --lp-bg: #f5f7fa;
  --lp-surface: #fff;
  --lp-alt: #eaeef4;
  --lp-text: #18233a;
  --lp-muted: #5b6a80;
  --lp-line: #dbe1e9;
  --lp-accent: #6b46d6;
  --lp-accent-hover: #4f2fb0;
  --lp-on: #fff;
  --lp-green: #1a7f37;
  --lp-slate: #18233a;
  --lp-code: #18233a;
  --lp-shadow: 0 1px 0 rgba(24, 35, 58, 0.04), 0 24px 56px -28px rgba(24, 35, 58, 0.35);
  --lp-display: "Landing Bricolage", "Bricolage Grotesque", sans-serif;
  --lp-sans: "Landing Instrument", "Instrument Sans", sans-serif;
  --lp-mono: "Landing Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --lp-ease: cubic-bezier(0.22, 1, 0.36, 1);

  margin: 0;
  background: var(--lp-bg);
  color: var(--lp-text);
  font: 18px/1.6 var(--lp-sans);
  -webkit-font-smoothing: antialiased;
}
:root[data-theme="dark"] body.landing {
  --lp-bg: #0f1522;
  --lp-surface: #161e2e;
  --lp-alt: #121a29;
  --lp-text: #e6ebf3;
  --lp-muted: #94a2b8;
  --lp-line: #26324a;
  --lp-accent: #a98cf5;
  --lp-accent-hover: #c7b5fa;
  --lp-on: #120a2a;
  --lp-green: #3fb950;
  --lp-code: #0a0f19;
  --lp-shadow: 0 1px 0 rgba(0, 0, 0, 0.3), 0 24px 56px -28px rgba(0, 0, 0, 0.8);
}

/* A slate band keeps its colors in both themes. */
.lp-dark {
  --lp-text: #e6ebf3;
  --lp-muted: #b2bfd1;
  --lp-line: #33405a;
  --lp-surface: #212d45;
  --lp-alt: #26324a;
  --lp-accent: #a98cf5;
  --lp-accent-hover: #c7b5fa;
  --lp-on: #120a2a;
  background: var(--lp-slate);
  color: var(--lp-text);
}
:root[data-theme="dark"] .lp-dark { --lp-slate: #161e2e; }

/* ------------------------------------------------------------------- base */

.landing *,
.landing *::before,
.landing *::after { box-sizing: border-box; }
.landing [hidden] { display: none !important; }

.landing h1,
.landing h2,
.landing h3 {
  margin: 0 0 24px;
  padding: 0;
  border: 0;
  color: inherit;
  font-family: var(--lp-display);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.06;
  text-wrap: balance;
}
.landing h1 { font-size: clamp(38px, 4.4vw, 76px); line-height: 1; }
.landing h2 { font-size: clamp(36px, 4.5vw, 64px); }
.landing h3 { font-size: 24px; letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 12px; }
.landing p { margin: 0 0 24px; }
.landing a { color: inherit; text-decoration: none; }
.landing p a,
.landing dd a {
  color: var(--lp-accent);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.landing button { font: inherit; color: inherit; cursor: pointer; }
.landing :is(a, button, summary, pre):focus-visible {
  outline: 3px solid var(--lp-accent);
  outline-offset: 4px;
  border-radius: 6px;
}
.landing :is(a, button) { -webkit-tap-highlight-color: transparent; }
.landing code {
  font-family: var(--lp-mono);
  font-size: 0.84em;
  font-variant-ligatures: none;
}
.landing p code,
.landing li code,
.landing dd code {
  padding: 1px 6px;
  border-radius: 6px;
  background: var(--lp-alt);
}

.lp-wide {
  width: calc(100% - 80px);
  max-width: 1280px;
  margin-inline: auto;
}
/* Nothing may widen the page; clip, unlike hidden, keeps sticky working. */
.landing main { overflow-x: clip; }
/* Anchored sections clear the floating header. */
.landing main :is(section, details)[id] { scroll-margin-top: 104px; }
.lp-section { padding-block: 120px; }
.lp-band { background: var(--lp-alt); }
:root[data-theme="dark"] .lp-band { background: #121a29; }

.lp-eyebrow {
  margin: 0 0 16px;
  color: var(--lp-accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  line-height: 1.5;
  text-transform: uppercase;
}
.lp-lead {
  max-width: 40rem;
  color: var(--lp-muted);
  font-size: 21px;
  line-height: 1.5;
}
.lp-heading { margin-bottom: 64px; }
.lp-heading .lp-lead { margin: 0; }

.lp-skip {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 20;
  padding: 12px;
  background: var(--lp-surface);
}
.lp-skip:focus { top: 12px; }
.lp-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ----------------------------------------------------------------- header */

/* A floating pill that stays in view. */
.lp-header {
  position: sticky;
  top: 16px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  max-width: calc(100% - 40px);
  margin: 24px auto 0;
  padding: 8px 8px 8px 15px;
  border: 1px solid var(--lp-line);
  border-radius: 99px;
  background: color-mix(in srgb, var(--lp-surface) 90%, transparent);
  backdrop-filter: blur(12px);
}
.lp-lockup {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--lp-display);
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
/* docmd gives every img a vertical margin, which would stretch the header. */
.lp-lockup img { margin: 0; }
.lp-header nav { display: flex; align-items: center; gap: 22px; }
.lp-header nav > a:not(.lp-button):not(.lp-icon) {
  padding-block: 8px;
  color: var(--lp-muted);
  font-size: 15px;
}
.lp-header nav > a:not(.lp-button):hover { color: var(--lp-text); }
.lp-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0 -10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--lp-muted);
}
.lp-icon:hover { color: var(--lp-text); }
body.landing .theme-toggle-button .icon-moon { display: none; }
:root[data-theme="dark"] body.landing .theme-toggle-button .icon-sun { display: none; }
:root[data-theme="dark"] body.landing .theme-toggle-button .icon-moon { display: inline; }
:root[data-theme-choice="system"] body.landing .theme-toggle-button :is(.icon-sun, .icon-moon) { display: none; }
.lp-menu {
  display: none;
  min-width: 44px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--lp-line);
  border-radius: 99px;
  background: transparent;
  font-size: 14px;
}
.lp-mark-dark { display: none; }
:root[data-theme="dark"] .lp-mark-light { display: none; }
:root[data-theme="dark"] .lp-mark-dark { display: block; }

/* ---------------------------------------------------------------- buttons */

.lp-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.lp-button {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid var(--lp-muted);
  border-radius: 99px;
  font-size: 15.5px;
  font-weight: 550;
  line-height: 1.3;
  white-space: nowrap;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.lp-button span { transition: transform 0.18s ease; }
.lp-button:hover span { transform: translateX(3px); }
.lp-button.lp-small { min-height: 40px; padding: 8px 16px; gap: 12px; font-size: 14px; }
body.landing .lp-primary {
  border-color: var(--lp-accent);
  background: var(--lp-accent);
  color: var(--lp-on);
}
body.landing .lp-primary:hover { border-color: var(--lp-accent-hover); background: var(--lp-accent-hover); }
.lp-secondary:hover { background: var(--lp-alt); border-color: var(--lp-text); }
.lp-link {
  display: inline-block;
  color: var(--lp-accent) !important;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

/* ------------------------------------------------------------------- hero */

/* The hero is one centered column: the headline, the copy, the signup and
   the proof, then the film large across the full width, so the board has
   room to read like a real one. */
.lp-hero {
  display: grid;
  gap: 56px;
  padding-block: 64px 96px;
}
.lp-hero.lp-wide { max-width: 1440px; }
.lp-hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 62rem;
  margin-inline: auto;
  text-align: center;
}
.lp-hero h1 { margin-bottom: 28px; font-size: clamp(44px, 6.4vw, 96px); text-wrap: balance; }
.lp-hero .lp-lead { max-width: 42rem; margin: 0 auto 36px; font-size: 21px; text-wrap: pretty; }
.lp-hero-join { display: flex; flex-direction: column; align-items: center; width: 100%; }
.lp-hero-join .lp-join-form { text-align: left; }
.lp-hero-join .lp-join-status { text-align: center; }
.lp-hero .lp-proof { justify-content: center; margin: 0 0 28px; }
.lp-proof a { color: inherit; text-decoration: none; }
.lp-proof a:hover { color: var(--lp-text); text-decoration: underline; text-underline-offset: 3px; }

/* A category label over the headline: says what kind of product this is. */
.lp-kicker {
  display: inline-block;
  margin-bottom: 24px !important;
  padding: 6px 14px;
  border: 1px solid color-mix(in srgb, var(--lp-accent) 35%, transparent);
  border-radius: 99px;
  background: color-mix(in srgb, var(--lp-accent) 10%, transparent);
  color: var(--lp-accent);
  font-size: 14px;
  font-weight: 600;
}
/* The proof line under the actions answers the first objections. */
.lp-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  color: var(--lp-muted);
  font-size: 15px;
}
.lp-proof li { position: relative; padding-left: 22px; }
.lp-proof li::before {
  content: "";
  position: absolute;
  top: 0.45em;
  left: 2px;
  width: 10px;
  height: 6px;
  border-bottom: 2px solid var(--lp-green);
  border-left: 2px solid var(--lp-green);
  transform: rotate(-45deg);
}

.lp-hero-media { position: relative; }
/* The film fills the width, up to what fits the window's height. */
.lp-hero-media .pm { max-width: calc((100vh - 120px) * 960 / 540); margin-inline: auto; }
/* Under the film: says it is an example and that teams tailor it. */
.lp-promo-note {
  max-width: 44rem;
  margin: 20px auto 0 !important;
  color: var(--lp-muted);
  font-size: 15px;
  line-height: 1.5;
  text-align: center;
}
.lp-promo-note a { color: var(--lp-text); font-weight: 600; white-space: nowrap; }

/* The promo: a screen recording of a team's project board in the light
   look most people know from their own tracker, the same in both themes.
   promo.js draws it on a 960 by 540 stage that --k scales to the frame's
   width. The board uses the system font, as the real tools do; captions
   use the display font. Without the script the end card shows. */
.pm {
  --pm-bg: #ffffff;
  --pm-top: #f6f8fa;
  --pm-col: #f6f8fa;
  --pm-line: #d1d9e0;
  --pm-text: #1f2328;
  --pm-muted: #59636e;
  --pm-accent: #6b46d6;
  --pm-green: #1a7f37;
  --pm-amber: #bf8700;
  --pm-ui: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif;
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 960 / 540;
  border: 1px solid var(--lp-line);
  border-radius: 22px;
  background: var(--pm-bg);
  box-shadow: var(--lp-shadow);
  color: var(--pm-text);
  isolation: isolate;
}
.pm-stage {
  position: absolute;
  top: 0;
  left: 0;
  width: 960px;
  height: 540px;
  overflow: hidden;
  transform: scale(var(--k, 0.8));
  transform-origin: 0 0;
  font-family: var(--pm-ui);
  cursor: pointer;
}
.pm:not(.pm-live) .pm-stage { cursor: auto; }
.pm-stage p { margin: 0 !important; }
.pm-cam { position: absolute; inset: 0; z-index: 1; transform-origin: 0 0; }
.pm-board { position: absolute; inset: 0; z-index: 1; }

/* The app's top bar and view tabs. */
.pm-top {
  position: absolute;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  padding: 0 14px 0 16px;
  border-bottom: 1px solid var(--pm-line);
  background: var(--pm-top);
  font-size: 12px;
}
.pm-ic { display: flex; width: 15px; height: 15px; color: var(--pm-muted); }
.pm-ic svg, .pm-tab svg, .pm-state svg, .pm-chip svg, .pm-tick svg, .pm-panel svg { width: 100%; height: 100%; }
.pm-org { display: grid; width: 20px; height: 20px; place-items: center; border-radius: 6px; background: #2f81f7; color: #fff; font-weight: 700; }
.pm-crumb { color: var(--pm-muted); }
.pm-crumb i { margin: 0 3px; font-style: normal; }
.pm-crumb b { color: var(--pm-text); font-weight: 600; }
.pm-search { margin-left: auto; padding: 3px 10px; border: 1px solid var(--pm-line); border-radius: 6px; color: var(--pm-muted); font-size: 11px; }
.pm-search kbd { padding: 0 4px; border: 1px solid var(--pm-line); border-radius: 4px; font: inherit; }
.pm-avs { display: flex; }
.pm-avs .pm-av { margin-left: 3px; box-shadow: 0 0 0 2px var(--pm-top); }
.pm-tabs {
  position: absolute;
  inset: 40px 0 auto;
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 34px;
  padding: 0 12px;
  border-bottom: 1px solid var(--pm-line);
  font-size: 11.5px;
}
.pm-tab { display: flex; align-items: center; gap: 5px; height: 24px; padding: 0 10px; border: 1px solid transparent; border-bottom: 0; border-radius: 6px 6px 0 0; color: var(--pm-muted); }
.pm-tab svg { width: 13px; height: 13px; }
.pm-tab-on { margin-bottom: -1px; border-color: var(--pm-line); background: var(--pm-bg); color: var(--pm-text); font-weight: 600; }
.pm-tab-new { color: var(--pm-muted); }

/* Columns and cards. */
.pm-col {
  position: absolute;
  top: 84px;
  width: 180px;
  height: 466px;
  border: 1px solid var(--pm-line);
  border-radius: 8px;
  background: var(--pm-col);
}
.pm-col-head { display: flex; align-items: center; gap: 6px; padding: 9px 9px 0; font-size: 12px; }
.pm-col-head i { flex: none; width: 10px; height: 10px; border: 2px solid; border-radius: 50%; }
.pm-col-head b { font-weight: 600; white-space: nowrap; }
.pm-col-head span { padding: 0 6px; border-radius: 99px; background: #e6eaef; color: var(--pm-muted); font-size: 10.5px; font-variant-numeric: tabular-nums; }
.pm-col-head em { margin-left: auto; color: var(--pm-muted); font-style: normal; }
.pm-col-desc { padding: 3px 9px 0; color: var(--pm-muted); font-size: 10.5px; }
.pm-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 168px;
  height: 80px;
  padding: 7px 8px;
  border: 1px solid var(--pm-line);
  border-radius: 6px;
  background: var(--pm-bg);
  font-size: 11px;
  opacity: 0;
  transform-origin: 50% 40%;
}
.pm-lifted { border-color: #afb8c1; box-shadow: 0 14px 28px -8px rgba(31, 35, 40, 0.35); }
.pm-agentic { border-color: color-mix(in srgb, var(--pm-accent) 45%, var(--pm-line)); }
.pm-waiting { border-color: var(--pm-amber); box-shadow: 0 0 0 2px color-mix(in srgb, var(--pm-amber) 30%, transparent); }
.pm-meta { display: flex; align-items: center; gap: 4px; height: 14px; color: var(--pm-muted); font-size: 10px; }
.pm-state { display: flex; width: 12px; height: 12px; color: var(--pm-green); }
.pm-state.pm-closed { color: var(--pm-accent); }
.pm-who { display: flex; margin-left: auto; }
.pm-av {
  display: grid;
  width: 16px;
  height: 16px;
  place-items: center;
  border-radius: 50%;
  background: #d0d7de;
  color: #1f2328;
  font-size: 7px;
  font-style: normal;
  font-weight: 700;
}
.pm-av-agent { border-radius: 5px; background: var(--pm-accent); color: #fff; }
.pm-av-agent svg { width: 75%; height: 75%; }
.pm-av-you { width: auto; padding: 0 4px; border-radius: 99px; background: #18233a; color: #fff; }
.pm-busy .pm-av { box-shadow: 0 0 0 1.5px var(--pm-accent); animation: pm-pulse 1.2s ease-in-out infinite; }
@keyframes pm-pulse { 50% { box-shadow: 0 0 0 3px color-mix(in srgb, var(--pm-accent) 25%, transparent); } }
.pm-title {
  display: -webkit-box;
  height: 30px;
  margin-top: 3px !important;
  overflow: hidden;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 15px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.pm-chips { display: flex; gap: 4px; margin-top: 4px !important; overflow: hidden; white-space: nowrap; }
.pm-label, .pm-chip {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 3px;
  height: 16px;
  padding: 0 6px;
  border: 1px solid;
  border-radius: 99px;
  font-size: 9.5px;
  font-weight: 600;
}
.pm-chip { border-color: var(--pm-line); color: var(--pm-text); }
.pm-chip svg { width: 10px; height: 10px; }
.pm-c-draft { color: var(--pm-muted); }
.pm-c-ok { border-color: color-mix(in srgb, var(--pm-green) 45%, transparent); color: var(--pm-green); }
.pm-c-wait { border-color: var(--pm-amber); background: color-mix(in srgb, var(--pm-amber) 18%, transparent); color: var(--pm-amber); }
.pm-c-merged { border-color: color-mix(in srgb, var(--pm-accent) 50%, transparent); color: var(--pm-accent); }
.pm-l-bug { --c: #cf222e; }
.pm-l-enhancement { --c: #0a7f8c; }
.pm-l-payments { --c: #bc4c00; }
.pm-l-documentation, .pm-l-docs { --c: #0969da; }
.pm-l-agentic { --c: var(--pm-accent); }
.pm-l-security { --c: #bf3989; }
.pm-label { border-color: color-mix(in srgb, var(--c) 35%, transparent); background: color-mix(in srgb, var(--c) 10%, #fff); color: var(--c); }

/* Chapter 2's empty view and chapter 3's night. */
.pm-empty {
  position: absolute;
  top: 250px;
  left: 0;
  z-index: 3;
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  gap: 6px;
  color: var(--pm-muted);
  font-size: 13px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.pm-empty svg { width: 14px; height: 14px; color: var(--pm-green); }
.pm-clock {
  position: absolute;
  top: 8px;
  left: 50%;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 6px;
  height: 24px;
  padding: 0 12px;
  border-radius: 99px;
  background: #18233a;
  color: #fff;
  font-size: 11.5px;
  opacity: 0;
  transform: translateX(-50%);
}
.pm-clock svg { width: 13px; height: 13px; }
.pm-clock b { font-variant-numeric: tabular-nums; }
.pm-clock-morning { background: #fff8c5; color: #4d2d00; box-shadow: inset 0 0 0 1px #d4a72c; }
.pm-night { position: absolute; inset: 0; z-index: 30; background: #18233a; opacity: 0; pointer-events: none; }

/* The label menu that opens on a card. */
.pm-picker {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 60;
  width: 172px;
  padding-bottom: 6px;
  border: 1px solid var(--pm-line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 16px 32px -10px rgba(31, 35, 40, 0.3);
  font-size: 11px;
  visibility: hidden;
}
.pm-picker-head { padding: 8px 10px; border-bottom: 1px solid var(--pm-line); font-weight: 600; }
.pm-picker-filter { margin: 6px 8px !important; padding: 3px 7px; border: 1px solid var(--pm-line); border-radius: 6px; color: var(--pm-muted); }
.pm-pick { display: flex; align-items: center; gap: 7px; height: 22px; padding: 0 10px; }
.pm-tick { display: flex; width: 11px; height: 11px; color: var(--pm-text); visibility: hidden; }
.pm-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.pm-pick.pm-hover { background: #e6eaef; }
.pm-pick.pm-on .pm-tick { visibility: visible; }

/* The notification and the issue's side panel. */
.pm-toast {
  position: absolute;
  top: 48px;
  right: 12px;
  z-index: 70;
  display: flex;
  gap: 9px;
  width: 300px;
  padding: 10px 12px;
  border: 1px solid var(--pm-amber);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 16px 32px -10px rgba(31, 35, 40, 0.3);
  font-size: 11.5px;
  line-height: 1.4;
  opacity: 0;
}
.pm-toast .pm-av { flex: none; width: 22px; height: 22px; }
.pm-toast span { color: var(--pm-muted); }
.pm-toast .pm-toast-sub { color: #9a6700; }
.pm-panel {
  position: absolute;
  top: 40px;
  bottom: 0;
  left: 560px;
  z-index: 65;
  width: 400px;
  padding: 16px;
  border-left: 1px solid var(--pm-line);
  background: var(--pm-bg);
  box-shadow: -24px 0 40px -20px rgba(31, 35, 40, 0.35);
  font-size: 11.5px;
  visibility: hidden;
}
.pm-panel-crumb { color: var(--pm-muted); font-size: 11px; }
.pm-panel-title { margin-top: 4px !important; font-size: 17px; font-weight: 600; line-height: 1.25; }
.pm-panel-status { display: flex; align-items: center; gap: 10px; margin-top: 10px !important; color: var(--pm-muted); }
.pm-panel-status span { display: inline-flex; align-items: center; gap: 4px; }
.pm-pill-open { padding: 2px 8px; border-radius: 99px; background: #1f883d; color: #fff; font-weight: 600; }
.pm-pill-open svg { width: 11px; height: 11px; }
.pm-panel-pr { display: flex; align-items: center; gap: 7px; margin-top: 14px !important; padding: 9px 10px; border: 1px solid var(--pm-line); border-radius: 8px; }
.pm-panel-pr > svg { width: 13px; height: 13px; color: var(--pm-green); }
.pm-panel-pr span { color: var(--pm-muted); }
.pm-panel-pr .pm-ok { display: inline-flex; align-items: center; gap: 3px; margin-left: auto; color: var(--pm-green); }
.pm-ok svg { width: 11px; height: 11px; }
.pm-panel-log { margin: 14px 0 0; padding: 0; list-style: none; }
.pm-panel-log li { display: flex; gap: 8px; padding: 7px 0; border-bottom: 1px solid var(--pm-line); color: var(--pm-muted); line-height: 1.4; }
.pm-panel-log .pm-av { flex: none; width: 20px; height: 20px; }
.pm-panel-log b { color: var(--pm-text); font-weight: 600; }
.pm-panel-ask { margin-top: 4px; padding: 8px !important; border: 1px solid var(--pm-amber) !important; border-radius: 8px; background: color-mix(in srgb, var(--pm-amber) 10%, transparent); color: var(--pm-text) !important; }
.pm-approve {
  position: absolute;
  top: 300px;
  right: 16px;
  left: 16px;
  display: flex;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #1f883d;
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
}
.pm-hover .pm-approve { background: #1a7f37; }
.pm-approve-done { display: none; align-items: center; gap: 5px; }
.pm-approve-done svg { width: 13px; height: 13px; }
.pm-approved .pm-approve-idle { display: none; }
.pm-approved .pm-approve-done { display: inline-flex; }

/* Cursors: only a person has an arrow, slate and labeled "You". An agent
   is its violet name tag, with a sharp top-left corner as its pointer. */
.pm-cur { position: absolute; top: 0; left: 0; z-index: 60; opacity: 0; pointer-events: none; }
.pm-cur > svg { display: block; filter: drop-shadow(0 2px 3px rgba(31, 35, 40, 0.35)); transform-origin: 3px 2px; transition: transform 0.08s ease; }
.pm-cur-you svg { fill: #18233a; stroke: #fff; }
.pm-cur-agent > svg { display: none; }
.pm-cur-you { z-index: 95; }
.pm-press > svg { transform: scale(0.82); }
.pm-name, .pm-say {
  position: absolute;
  top: 15px;
  left: 13px;
  padding: 2px 7px;
  border-radius: 99px 99px 99px 4px;
  font-size: 10.5px;
  font-weight: 600;
  white-space: nowrap;
}
.pm-cur-you .pm-name { background: #18233a; color: #fff; }
.pm-cur-agent .pm-name { top: 0; left: 0; display: flex; align-items: center; gap: 4px; padding: 3px 9px 3px 7px; border-radius: 0 99px 99px 99px; background: var(--pm-accent); box-shadow: 0 4px 10px -4px rgba(31, 35, 40, 0.45); color: #fff; }
.pm-cur-agent .pm-say { top: 26px; left: 0; }
.pm-name svg { width: 12px; height: 12px; }
.pm-say { top: 36px; display: none; border: 1px solid var(--pm-line); border-radius: 4px 10px 10px 10px; background: #fff; color: var(--pm-text); font-weight: 500; box-shadow: 0 6px 14px -6px rgba(31, 35, 40, 0.3); }
.pm-saying .pm-say { display: block; }

/* A white title card closes each chapter with its promise. */
.pm-slate {
  position: absolute;
  inset: 0;
  z-index: 97;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 40px 96px;
  background: #fff;
  color: #18233a;
  text-align: center;
  opacity: 0;
  visibility: hidden;
}
.pm-slate-n { color: var(--pm-accent); font-family: var(--lp-sans); font-size: 13px; font-weight: 600; letter-spacing: 0.15em; }
.pm-slate-title { font-family: var(--lp-display); font-size: 52px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; }
.pm-slate-sub { max-width: 34rem; color: #5b6a80; font-family: var(--lp-sans); font-size: 19px; line-height: 1.45; }

/* Captions carry the story; the board is the picture under them. */
.pm-caption {
  position: absolute;
  bottom: 26px;
  left: 50%;
  z-index: 96;
  max-width: 860px;
  padding: 9px 20px;
  border-radius: 14px;
  background: #18233a;
  box-shadow: 0 16px 32px -12px rgba(24, 35, 58, 0.5);
  color: #fff;
  font-family: var(--lp-display);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
}
.pm-end {
  position: absolute;
  inset: 0;
  z-index: 98;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 40px 72px;
  background: #fff;
  text-align: center;
}
.pm-end-title { font-family: var(--lp-display); font-size: 44px; font-weight: 700; letter-spacing: -0.025em; line-height: 1.05; }
.pm-end-sub { max-width: 28rem; color: var(--pm-muted); font-size: 17px; line-height: 1.45; }
.landing .pm-end-cta {
  margin-top: 10px;
  padding: 12px 22px;
  border-radius: 99px;
  background: var(--pm-accent);
  color: #fff;
  font-family: var(--lp-sans);
  font-size: 16px;
  font-weight: 600;
}
.landing .pm-end-cta:hover { background: #5a37c4; }

/* The poster: a still of agents at work under a play button. Its ring
   fills while the film counts down to the start. The page adds pm-js to
   <html> before anything loads, so on a slow network the button and a
   faint board outline show at once in the frame's final size; the still
   arrives with the script. Without script the end card shows instead. */
.pm-poster {
  position: absolute;
  inset: 0;
  z-index: 19;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.2));
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}
.pm-js .pm:not(.pm-live) .pm-poster,
.pm-poster-on .pm-poster { opacity: 1; visibility: visible; }
.pm-js .pm:not(.pm-live) .pm-end { display: none; }
.pm-js .pm:not(.pm-live) {
  background:
    linear-gradient(#f6f8fa, #f6f8fa) 0 0 / 100% 7.4% no-repeat,
    repeating-linear-gradient(90deg, #eef1f4 0 19.3%, transparent 19.3% 20.17%) 50% 100% / 97.1% 84.5% no-repeat,
    #fff;
}
.pm-poster-on .pm-caption,
.pm-poster-on .pm-clock { visibility: hidden; }
.pm.pm-poster-on .pm-controls { display: none; }
.landing .pm-play {
  position: relative;
  display: grid;
  width: clamp(64px, 9vw, 96px);
  height: clamp(64px, 9vw, 96px);
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--pm-accent);
  box-shadow: 0 18px 40px -12px rgba(107, 70, 214, 0.6);
  color: #fff;
  cursor: pointer;
  transition: background-color 0.16s ease;
}
.landing .pm-play:hover { background: #5a37c4; }
.pm-play:focus-visible { outline: 3px solid var(--pm-accent); outline-offset: 12px; }
.pm-play-icon { width: 40%; height: 40%; margin-left: 6%; fill: currentColor; }
/* The ring sits just outside the button and fills clockwise. */
.pm-ring { position: absolute; inset: -9px; width: calc(100% + 18px); height: calc(100% + 18px); transform: rotate(-90deg); }
.pm-ring circle { fill: none; stroke-width: 3; }
.pm-ring-track { stroke: rgba(107, 70, 214, 0.18); }
.pm-ring-fill { stroke: var(--pm-accent); stroke-dasharray: 100; stroke-dashoffset: 100; stroke-linecap: round; }
.pm-play-label {
  margin: 0 !important;
  padding: 6px 14px;
  border-radius: 99px;
  background: #18233a;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}
.pm-play-label span { margin-left: 6px; color: #b9c3d3; font-weight: 500; font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: reduce) {
  .pm-ring-fill { display: none; }
}

/* The controls: on hover, while paused and at the end. */
.pm-controls {
  position: absolute;
  inset: auto 0 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 12px;
  height: 44px;
  padding: 0 14px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.5));
  opacity: 0;
  transition: opacity 0.25s ease;
}
.pm:not(.pm-live) .pm-controls { display: none; }
.pm:hover .pm-controls,
.pm:focus-within .pm-controls,
.pm-live:not(.pm-playing) .pm-controls { opacity: 1; }
.landing .pm-toggle {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}
.landing .pm-toggle:hover { background: rgba(255, 255, 255, 0.28); }
.pm-toggle svg { display: none; }
.pm-live:not(.pm-playing):not(.pm-ended) .pm-i-play,
.pm-playing .pm-i-pause,
.pm-ended .pm-i-replay { display: block; }
.pm-progress { position: relative; flex: 1; height: 4px; overflow: hidden; border-radius: 4px; background: rgba(255, 255, 255, 0.18); cursor: pointer; }
.pm-progress i { display: block; height: 100%; background: var(--pm-accent); transform: scaleX(0); transform-origin: left; }
.pm-mark { position: absolute; top: 0; width: 3px; height: 100%; background: rgba(255, 255, 255, 0.85); }

.lp-label {
  display: inline-block;
  padding: 0 8px;
  border: 1px solid color-mix(in srgb, var(--lp-accent) 40%, transparent);
  border-radius: 99px;
  background: color-mix(in srgb, var(--lp-accent) 12%, transparent);
  color: var(--lp-accent);
  font-size: 0.8em;
  font-weight: 600;
  line-height: 1.6;
  white-space: nowrap;
}

/* The strip under the hero: one line of text, then the tools agents work
   in, the ones people already use, rolling slowly past. The list is in the
   markup twice so the roll loops without a gap; the copy is hidden from
   assistive technology. Hovering pauses it. With reduced motion the list
   stands still and wraps. */
/* The logos sit between two hairlines; the caption sits under them. */
.lp-strip-band { padding-block: 40px; border-block: 1px solid var(--lp-line); }
.lp-strip-title {
  margin: 14px 0 0 !important;
  color: var(--lp-muted);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-align: center;
}
.lp-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.lp-marquee-track { display: flex; width: max-content; animation: lp-marquee 40s linear infinite; }
.lp-marquee:hover .lp-marquee-track { animation-play-state: paused; }
@keyframes lp-marquee { to { transform: translateX(-50%); } }
.lp-strip ul {
  display: flex;
  flex: none;
  gap: 64px;
  margin: 0;
  padding: 0 32px;
  list-style: none;
}
.lp-strip li svg { width: 28px; height: 28px; }
.lp-strip li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--lp-text);
  font-family: var(--lp-display);
  font-size: 24px;
  font-weight: 600;
  white-space: nowrap;
}
.lp-strip li.lp-soon { color: var(--lp-muted); }
.lp-strip em {
  padding: 2px 10px;
  border: 1px solid var(--lp-line);
  border-radius: 99px;
  font-family: var(--lp-sans);
  font-size: 12.5px;
  font-style: normal;
  font-weight: 600;
}
@media (prefers-reduced-motion: reduce) {
  .lp-marquee { -webkit-mask-image: none; mask-image: none; }
  .lp-marquee-track { width: auto; justify-content: center; animation: none; }
  .lp-strip ul { flex-wrap: wrap; justify-content: center; gap: 16px 40px; }
  .lp-strip ul[aria-hidden],
  .lp-strip li[aria-hidden] { display: none; }
}

/* ---------------------------------------------------------------- problem */

/* Three short claims on a heavy rule. */
.lp-rule-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px;
}
.lp-rule-grid > div { padding-top: 28px; border-top: 2px solid var(--lp-text); }
.lp-rule-grid p { margin: 0; color: var(--lp-muted); }

/* ----------------------------------------------------------------- levels */

/* Each step's bar fills a little more: more of the loop handed over. */
.lp-level-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.lp-level-list li {
  display: flex;
  flex-direction: column;
  padding: 28px 24px 24px;
  border: 1px solid var(--lp-line);
  border-radius: 20px;
  background: var(--lp-surface);
}
.lp-level-list li::before {
  content: "";
  display: block;
  height: 6px;
  margin-bottom: 24px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--lp-accent) var(--fill), var(--lp-alt) var(--fill));
}
.lp-level-list li:nth-child(1) { --fill: 25%; }
.lp-level-list li:nth-child(2) { --fill: 50%; }
.lp-level-list li:nth-child(3) { --fill: 75%; }
.lp-level-list li:nth-child(4) { --fill: 100%; }
.lp-level-list .lp-eyebrow { margin-bottom: 8px; color: var(--lp-muted); }
.lp-level-list h3 { font-size: 30px; }
.lp-level-list p { color: var(--lp-muted); font-size: 16px; }
.lp-level-list .lp-you {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--lp-line);
  color: var(--lp-text);
}
.lp-level-links { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.lp-level-list a { color: var(--lp-accent); font-size: 15px; font-weight: 600; }
.lp-level-list a:hover { text-decoration: underline; text-underline-offset: 4px; }
.lp-note { max-width: 46rem; margin: 40px 0 0 !important; color: var(--lp-muted); }
.lp-note b { color: var(--lp-text); }

/* ------------------------------------------------- beyond the pull request */

/* What can start an agent, as a fact list beside a short intro. */
.lp-loop {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 80px;
  align-items: start;
  padding-top: 0;
}
.lp-loop-intro p { color: var(--lp-muted); }
.lp-facts dt em {
  margin-left: 10px;
  color: var(--lp-muted);
  font-family: var(--lp-sans);
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  vertical-align: middle;
}

/* ------------------------------------------------------- your stack, rules */

/* Layers from Agentic SDLC down to the foundation. The Agentic SDLC layer is
   dashed, to set the platform apart from the services under it. */
.lp-stack {
  display: grid;
  row-gap: 12px;
  margin: 0 0 96px;
}
.lp-stack p,
.lp-stack img { margin: 0; }
.lp-stack-layer {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr) 220px;
  align-items: center;
  gap: 24px;
  padding: 24px 28px;
  border: 1px solid var(--lp-line);
  border-radius: 18px;
  background: var(--lp-surface);
}
.lp-stack-core { border: 2px dashed var(--lp-muted); background: var(--lp-alt); }
.lp-stack-head { display: grid; gap: 6px; }
.lp-stack-label { margin: 0; color: var(--lp-muted); font-size: 12px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; }
.lp-stack-name { display: flex; align-items: center; gap: 10px; margin: 0; font-family: var(--lp-display); font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.lp-stack-items { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.lp-stack-items li { display: flex; align-items: center; gap: 8px; padding: 6px 12px; border: 1px solid var(--lp-line); border-radius: 999px; background: var(--lp-surface); font-size: 15px; font-weight: 500; }
.lp-stack-items .lp-stack-break { flex-basis: 100%; height: 0; padding: 0; border: 0; }
.lp-stack-items em { color: var(--lp-muted); font-size: 12px; font-style: normal; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
/* Kubernetes sits on top of the cloud providers, as wide as their row. */
.lp-stack-tower { display: inline-grid; justify-self: start; gap: 8px; }
.lp-stack-k8s { display: flex; justify-content: center; align-items: center; gap: 8px; padding: 6px 12px; border: 1px solid var(--lp-line); border-radius: 10px; background: var(--lp-alt); font-size: 15px; font-weight: 600; }
.lp-stack-note { margin: 0; color: var(--lp-muted); font-size: 14px; line-height: 1.45; }
.lp-stack figcaption { margin-top: 8px; color: var(--lp-muted); font-size: 15px; text-align: center; }

/* ------------------------------------------------------ the one file, code */

.lp-split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 64px;
  align-items: center;
}
.lp-text > p:not(.lp-eyebrow) { max-width: 34rem; color: var(--lp-muted); }
.lp-ticks { margin: 0 0 28px; padding: 0; list-style: none; }
.lp-ticks li { position: relative; margin-bottom: 10px; padding-left: 30px; }
.lp-ticks li::before {
  content: "";
  position: absolute;
  top: 0.5em;
  left: 2px;
  width: 12px;
  height: 7px;
  border-bottom: 2px solid var(--lp-accent);
  border-left: 2px solid var(--lp-accent);
  transform: rotate(-45deg);
}

.lp-code {
  overflow: hidden;
  border-radius: 20px;
  background: var(--lp-code);
  color: #dfe6f1;
  box-shadow: var(--lp-shadow);
}
:root[data-theme="dark"] .lp-code { border: 1px solid var(--lp-line); }
.lp-code-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px 12px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #93a1b8;
  font-family: var(--lp-mono);
  font-size: 13px;
}
.lp-copy {
  min-height: 36px;
  padding: 4px 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 99px;
  background: none;
  color: #dfe6f1 !important;
  font: 600 13px var(--lp-sans) !important;
}
.lp-copy:hover { border-color: rgba(255, 255, 255, 0.5); }
body.landing .lp-code pre,
body.landing .lp-code pre code {
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: inherit;
}
.lp-code pre {
  padding: 22px;
  overflow-x: auto;
  font-family: var(--lp-mono);
  font-size: 14px;
  line-height: 1.7;
}
.lp-code code { padding: 0; font-size: inherit; }
/* The config is editable: a visitor can type their own. Picking an option
   in the builder writes it afresh. */
.lp-code code[contenteditable] { display: block; min-height: 100%; outline: none; caret-color: #b9a4ff; }
.lp-code:focus-within { box-shadow: var(--lp-shadow), 0 0 0 3px var(--lp-accent); }
/* The panel and its caption, like an image and its caption. */
.lp-code-figure { margin: 0; min-width: 0; }
.lp-code-note {
  margin: 14px 0 0;
  text-align: center;
  color: var(--lp-muted);
  font-size: 14px;
  line-height: 1.5;
}
.lp-code .k { color: #b9a4ff; }
.lp-code .s { color: #9fdcb0; }

/* The agent builder: once agent-builder.js loads, a form takes the place of
   the ticks, and the config beside it follows the form. Each field is a
   heading and a grid of rounded options; the picked ones get a violet
   border, the unavailable ones are dashed and say why. */
.lp-builder-live .lp-split { align-items: start; }
/* The editor starts level with the first field (agent-builder.js sets
   --lp-code-offset) and, once it reaches the middle of the window, stays
   there while the form scrolls (--lp-code-h is its height). */
.lp-builder-live .lp-code-figure {
  position: sticky;
  top: max(104px, calc(50vh - var(--lp-code-h, 0px) / 2));
  margin-top: var(--lp-code-offset, 0px);
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 128px);
}
.lp-builder-live .lp-code { display: flex; flex: 1; flex-direction: column; min-height: 0; }
.lp-builder-live .lp-code pre { flex: 1; overflow: auto; }
.lp-builder-live .lp-ticks { display: none; }
.lp-builder { margin: 40px 0 28px; }
.lp-field { min-width: 0; margin: 0 0 32px; padding: 0; border: 0; }
.lp-field legend,
.lp-model span {
  display: block;
  margin: 0 0 12px;
  padding: 0;
  color: var(--lp-muted);
  font-family: var(--lp-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.lp-field legend b,
.lp-model span b { color: var(--lp-text); font-weight: 650; }

.lp-options {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
}
.lp-options label { position: relative; display: flex; }
.lp-options input,
.lp-rows input {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.lp-options input:disabled,
.lp-rows input:disabled { cursor: not-allowed; }
.lp-options span {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 100%;
  padding: 14px 16px;
  border: 1px solid color-mix(in srgb, var(--lp-muted) 40%, transparent);
  border-radius: 14px;
  background: var(--lp-surface);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}
.lp-options .lp-tile span { align-items: center; gap: 4px; padding: 20px 12px 16px; text-align: center; }
.lp-options .lp-tile svg { flex: none; margin-bottom: 8px; }
.lp-options span b { font-size: 15.5px; font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
.lp-options span small { color: var(--lp-muted); font-size: 13px; line-height: 1.4; }
.lp-options .lp-mono,
.lp-rows .lp-mono { font-family: var(--lp-mono); font-size: 13px; }
.lp-options span b.lp-mono { font-size: 14px; }
.lp-options input:hover:not(:disabled) + span { border-color: var(--lp-muted); }
.lp-options input:checked + span { border-color: var(--lp-accent); box-shadow: inset 0 0 0 1px var(--lp-accent); }
.lp-options input:focus-visible + span { outline: 3px solid var(--lp-accent); outline-offset: 3px; }
.lp-options input:disabled + span { opacity: 0.45; border-style: dashed; }

/* Starts are a grouped list: rows on one rounded panel, each with an icon
   and a check when picked. A schedule turns the events off. */
.lp-rows {
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--lp-muted) 30%, transparent);
  border-radius: 16px;
  background: var(--lp-surface);
}
.lp-rows label { position: relative; display: flex; align-items: center; gap: 12px; padding: 11px 16px 11px 12px; }
.lp-rows label + label { border-top: 1px solid color-mix(in srgb, var(--lp-muted) 22%, transparent); }
.lp-rows span { display: flex; flex: 1; flex-direction: column; gap: 1px; min-width: 0; }
.lp-rows span b { font-size: 15.5px; font-weight: 600; }
.lp-rows span small { color: var(--lp-muted); font-size: 12.5px; overflow-wrap: anywhere; }
.lp-rows em {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--lp-muted) 14%, transparent);
  color: var(--lp-muted);
  transition: background-color 0.15s ease, color 0.15s ease;
}
.lp-rows i {
  flex: none;
  color: var(--lp-accent);
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.15s ease, transform 0.2s var(--lp-ease);
}
.lp-rows i svg { display: block; }
.lp-rows input:checked ~ i { opacity: 1; transform: none; }
.lp-rows label:has(input:checked) em {
  background: color-mix(in srgb, var(--lp-accent) 18%, transparent);
  color: var(--lp-accent);
}
.lp-rows input:hover:not(:disabled) ~ span b { color: var(--lp-accent); }
.lp-rows input:focus-visible ~ span b { outline: 3px solid var(--lp-accent); outline-offset: 3px; border-radius: 4px; }
.lp-rows label:has(input:disabled) { opacity: 0.4; }
.lp-or {
  margin: 16px 0 8px 16px !important;
  color: var(--lp-muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.lp-model { display: block; margin-top: 24px; }
.lp-model select {
  width: 100%;
  min-height: 46px;
  padding: 9px 40px 9px 16px;
  border: 1px solid color-mix(in srgb, var(--lp-muted) 40%, transparent);
  border-radius: 14px;
  background: var(--lp-surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 16px center;
  color: var(--lp-text);
  font-family: var(--lp-mono);
  font-size: 14px;
  appearance: none;
  cursor: pointer;
}
.lp-model select:hover { border-color: var(--lp-muted); }
.lp-model select:focus-visible { outline: 3px solid var(--lp-accent); outline-offset: 3px; }
.lp-hint { margin: 10px 0 0 !important; color: var(--lp-muted); font-size: 13.5px; line-height: 1.45; }
.lp-hint .lp-builder-more { color: var(--lp-accent); font-weight: 600; }
.lp-more {
  margin-top: 4px;
  padding: 16px 18px;
  border-radius: 16px;
  background: color-mix(in srgb, var(--lp-muted) 9%, transparent);
}
.lp-more .lp-field:last-child { margin-bottom: 0; }
.lp-more summary { min-height: 28px; font-size: 15.5px; font-weight: 600; cursor: pointer; }
.lp-more[open] summary { margin-bottom: 20px; }
/* A line the last change wrote glows briefly. */
.lp-code .lp-changed { border-radius: 3px; animation: lp-changed 1.2s ease-out; }
@keyframes lp-changed {
  from { background: rgba(185, 164, 255, 0.24); }
  to { background: transparent; }
}

/* ------------------------------------------------------------- governance */

/* Three areas a security reviewer checks, side by side, each with three
   answers stacked under a rule. */
.lp-secure { display: grid; gap: 48px; }
.lp-secure-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.lp-secure-area { display: grid; align-content: start; gap: 24px; padding-top: 28px; border-top: 2px solid var(--lp-text); }
.lp-secure-area h3 { margin: 0; font-size: 26px; }
.lp-secure-area p { margin: 0; color: var(--lp-muted); }
.lp-secure-area .lp-secure-sub { margin-top: -16px; color: var(--lp-accent); font-size: 14px; font-weight: 600; }
.lp-secure-area > div { padding-top: 20px; border-top: 1px solid var(--lp-line); }
.lp-secure h4 { margin: 0 0 8px; font-family: var(--lp-display); font-size: 19px; font-weight: 600; letter-spacing: -0.02em; }
.lp-facts { margin: 0; border-top: 1px solid var(--lp-line); }
.lp-facts > div {
  display: grid;
  grid-template-columns: 34% 1fr;
  gap: 32px;
  padding: 26px 0;
  border-bottom: 1px solid var(--lp-line);
}
.lp-facts dt { font-family: var(--lp-display); font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.lp-facts dd { margin: 0; color: var(--lp-muted); }

/* -------------------------------------------------------------------- FAQ */

.lp-faq {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 80px;
  padding-top: 0;
}
.lp-questions details {
  margin-bottom: 8px;
  padding: 8px 24px;
  border: 1px solid var(--lp-line);
  border-radius: 18px;
  background: var(--lp-surface);
}
.lp-questions summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 56px;
  font-size: 18px;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}
.lp-questions summary::-webkit-details-marker { display: none; }
.lp-questions summary::after { content: "+"; flex: none; color: var(--lp-accent); font-size: 24px; line-height: 1; }
.lp-questions details[open] summary::after { content: "\2212"; }
.lp-questions details p { margin: 4px 0 16px; color: var(--lp-muted); font-size: 16.5px; }

/* ---------------------------------------------------------------- closing */

.lp-closing { padding-block: 112px; background: var(--lp-accent); color: var(--lp-on); }
.lp-closing-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: end;
}
.lp-closing h2 { margin: 0; font-size: clamp(48px, 6.5vw, 96px); line-height: 1; }
.lp-closing p { max-width: 34rem; font-size: 21px; line-height: 1.5; }
body.landing .lp-closing .lp-primary { border-color: #18233a; background: #18233a; color: #fff; }
body.landing .lp-closing .lp-primary:hover { border-color: #0f1522; background: #0f1522; }
.lp-closing .lp-secondary { border-color: currentColor; }
.lp-closing .lp-secondary:hover { background: rgba(255, 255, 255, 0.14); border-color: currentColor; }
:root[data-theme="dark"] .lp-closing .lp-secondary:hover { background: rgba(0, 0, 0, 0.1); }

/* ----------------------------------------------------------------- footer */

.lp-footer {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-block: 96px;
}
.lp-footer-line {
  margin-top: 32px !important;
  font-family: var(--lp-display);
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.lp-footer h3 { margin-bottom: 12px; color: var(--lp-muted); font: 500 15px var(--lp-sans); letter-spacing: 0; }
.lp-footer nav a { display: flex; align-items: center; min-height: 40px; font-size: 15px; }
.lp-footer nav a:hover { color: var(--lp-accent); }

/* --------------------------------------------------------------- waitlist */

/* "Talk to the founders" shows only once the page names a booking page
   (lp:booking-url, read by waitlist.js). */
html:not(.lp-has-booking) [data-book] { display: none !important; }

/* The email field and its button read as one pill. */
.lp-join-form { width: 100%; max-width: 34rem; }
.lp-join {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--lp-line);
  border-radius: 99px;
  background: var(--lp-surface);
  box-shadow: var(--lp-shadow);
}
.lp-join:focus-within { border-color: var(--lp-accent); }
.lp-join input[type="email"] {
  flex: 1 1 200px;
  min-width: 0;
  min-height: 46px;
  padding: 0 18px;
  border: 0;
  border-radius: 99px;
  background: transparent;
  color: var(--lp-text);
  font: inherit;
  font-size: 16px;
}
.lp-join input[type="email"]:focus { outline: none; }
.lp-join input[type="email"]::placeholder { color: var(--lp-muted); }
.lp-join .lp-button { flex: none; }
.lp-join .lp-button:disabled { opacity: 0.6; cursor: progress; }
.lp-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.lp-turnstile:empty { display: none; }
.lp-turnstile { margin-top: 10px; }
.lp-join-status { margin: 12px 0 0 !important; font-size: 14.5px; font-weight: 550; }
.lp-join-status:empty { display: none; }
.lp-join-status.lp-error { color: #c4314b; }
:root[data-theme="dark"] .lp-join-status.lp-error { color: #ff8a9b; }
.lp-joined .lp-join { border-color: var(--lp-green); }
.lp-joined .lp-join-status:not(.lp-error) { color: var(--lp-green); }
.lp-join-form:has(.lp-error) .lp-join { border-color: #c4314b; }
.lp-join-note { max-width: 34rem; margin: 14px 0 0 !important; color: var(--lp-muted); font-size: 14px !important; line-height: 1.5; }
.lp-join-note a { text-decoration: underline; text-underline-offset: 3px; }
.lp-book-link { margin-top: 14px; font-size: 15.5px; }

/* In the violet closing band, the pill turns slate on violet. */
.lp-closing .lp-join { border-color: transparent; background: #fff; box-shadow: none; }
.lp-closing .lp-join input[type="email"] { color: #18233a; }
.lp-closing .lp-join input[type="email"]::placeholder { color: #5b6a80; }
.lp-closing .lp-join:focus-within { border-color: #18233a; }
body.landing .lp-closing .lp-join .lp-primary { border-color: #18233a; background: #18233a; color: #fff; }
.lp-closing .lp-join-note,
.lp-closing .lp-join-note a,
.lp-closing .lp-book-link { color: inherit !important; }
.lp-closing .lp-join-status { color: inherit; }
.lp-closing .lp-join-status.lp-error { color: #18233a; }

.lp-footer-small { margin-top: 24px !important; color: var(--lp-muted); font-size: 14px; }

/* The optional questions after joining. */
.lp-survey {
  width: min(680px, calc(100% - 24px));
  max-height: calc(100dvh - 24px);
  padding: 0;
  border: 1px solid var(--lp-line);
  border-radius: 24px;
  background: var(--lp-bg);
  color: var(--lp-text);
  box-shadow: var(--lp-shadow);
}
.lp-survey [hidden] { display: none !important; }
.lp-survey::backdrop { background: rgba(15, 21, 34, 0.55); }
.lp-survey-head { position: relative; padding: 32px 36px 0; }
.lp-survey-form { padding: 0 36px 32px; }
.lp-survey-done { padding: 32px 36px; }
.lp-survey-joined {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  padding: 6px 14px 6px 6px;
  border-radius: 99px;
  background: color-mix(in srgb, var(--lp-green) 12%, transparent);
  color: var(--lp-green);
  font-size: 15px;
  font-weight: 600;
}
.lp-survey-check {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 99px;
  background: var(--lp-green);
  color: #fff;
  font-size: 14px;
}
.lp-survey h2 { margin: 0 0 8px; font-size: clamp(28px, 4vw, 36px); line-height: 1.1; }
.lp-survey h2:focus { outline: none; }
.lp-survey-intro { margin: 0; padding-right: 24px; color: var(--lp-muted); font-size: 16px; }
.lp-survey-progress { height: 4px; margin-top: 24px; border-radius: 99px; background: var(--lp-alt); overflow: hidden; }
.lp-survey-progress span { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--lp-accent); transition: width 0.3s ease; }
.lp-step-count { display: block; margin-bottom: 6px; color: var(--lp-muted); font-size: 13px; font-weight: 500; letter-spacing: 0.02em; }
.lp-step { min-height: 172px; animation: lp-step-in 0.25s ease; }
@keyframes lp-step-in { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .lp-step { animation: none; } .lp-survey-progress span { transition: none; } }
.lp-choices-stack { flex-direction: column; align-items: flex-start; }
.lp-field i { font-style: normal; opacity: 0.75; }
.lp-survey-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 99px;
  background: transparent;
  color: var(--lp-muted);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.lp-survey-close:hover { background: var(--lp-alt); color: var(--lp-text); }
.lp-survey fieldset { margin: 28px 0 0; padding: 0; border: 0; }
.lp-survey legend { margin-bottom: 14px; padding: 0; font-weight: 600; font-size: 20px; line-height: 1.3; }
.lp-survey-hint { margin: -4px 0 10px; color: var(--lp-muted); font-size: 14.5px; }
.lp-choices { display: flex; flex-wrap: wrap; gap: 8px; }
.lp-choices label { position: relative; display: flex; }
.lp-choices input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.lp-choices span {
  padding: 9px 15px;
  border: 1px solid color-mix(in srgb, var(--lp-muted) 40%, transparent);
  border-radius: 99px;
  background: var(--lp-surface);
  font-size: 14.5px;
  font-weight: 500;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.lp-choices input:hover + span { border-color: var(--lp-muted); }
.lp-choices input:checked + span {
  border-color: var(--lp-accent);
  background: color-mix(in srgb, var(--lp-accent) 12%, var(--lp-surface));
  box-shadow: inset 0 0 0 1px var(--lp-accent);
}
.lp-choices input:focus-visible + span { outline: 3px solid var(--lp-accent); outline-offset: 2px; }
.lp-field { display: grid; gap: 6px; margin-top: 14px; }
.lp-field span { color: var(--lp-muted); font-size: 14.5px; }
.lp-survey input:not([type="radio"]):not([type="checkbox"]),
.lp-survey textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid color-mix(in srgb, var(--lp-muted) 40%, transparent);
  border-radius: 14px;
  background: var(--lp-surface);
  color: var(--lp-text);
  font: inherit;
  font-size: 15.5px;
  resize: vertical;
}
.lp-survey input:focus,
.lp-survey textarea:focus { outline: 2px solid var(--lp-accent); outline-offset: 1px; border-color: transparent; }
.lp-survey-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; }
.lp-survey-next { margin-left: auto; }
.lp-survey-actions .lp-button:disabled { opacity: 0.4; cursor: not-allowed; box-shadow: none; transform: none; }
.lp-survey-actions .lp-join-status { flex-basis: 100%; margin: 0; padding: 0; text-align: right; }
.lp-survey-actions .lp-join-status:empty { display: none; }
.lp-survey-done h2:focus { outline: none; }
.lp-survey-done p:not(.lp-eyebrow) { color: var(--lp-muted); font-size: 16.5px; }
.lp-survey-done .lp-actions { margin-top: 24px; }
.lp-survey .lp-secondary { background: transparent; color: var(--lp-text); }

@media (max-width: 560px) {
  .lp-join { border-radius: 24px; }
  .lp-join .lp-button { flex: 1 1 100%; justify-content: space-between; }
  .lp-survey-head { padding: 24px 20px 0; }
  .lp-survey-form { padding: 0 20px 24px; }
  .lp-survey-done { padding: 24px 20px; }
  .lp-step { min-height: 0; }
}

/* The plain pages: privacy and 404. */
.lp-page { min-height: 60vh; }
.lp-page h1 { font-size: clamp(40px, 5vw, 72px); }
.lp-prose { max-width: 46rem; }
.lp-prose h2 { margin: 48px 0 12px; font-size: 28px; line-height: 1.15; }
.lp-prose p,
.lp-prose li { font-size: 17.5px; line-height: 1.6; }
.lp-prose a { color: var(--lp-accent); text-decoration: underline; text-underline-offset: 3px; }

/* ------------------------------------------------------------- responsive */

@media (max-width: 1100px) {
  .lp-header nav { gap: 16px; }
  .lp-hero { gap: 48px; padding-top: 72px; }
  .lp-level-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-loop,
  .lp-faq,
  .lp-split { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .lp-stack { margin-bottom: 72px; }
  .lp-stack-layer { grid-template-columns: minmax(0, 1fr); align-content: start; gap: 14px; }
  .lp-builder-live .lp-code-figure { position: static; max-height: none; }
  .lp-footer { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lp-footer > div { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .lp-wide { width: calc(100% - 40px); }
  .lp-section { padding-block: 72px; }
  .lp-heading { margin-bottom: 40px; }
  .lp-stack-layer { padding: 20px; }
  .lp-lead,
  .lp-hero .lp-lead { font-size: 18px; }
  body.landing { font-size: 17px; }

  .lp-header {
    flex-wrap: wrap;
    justify-content: space-between;
    width: calc(100% - 24px);
    max-width: none;
    margin-top: 12px;
    top: 12px;
    padding: 6px 6px 6px 15px;
    border-radius: 28px;
  }
  .lp-header .lp-menu { display: block; }
  .lp-header[data-menu-ready] nav { display: none; }
  .lp-header[data-menu-ready][data-menu-open] nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    width: 100%;
    padding: 8px 10px 14px 0;
  }
  .lp-header[data-menu-open] nav > a:not(.lp-button):not(.lp-icon) { min-height: 44px; padding-block: 10px; font-size: 16px; }
  .lp-header[data-menu-open] .lp-icon { display: none; }
  .lp-header[data-menu-open] .lp-button { justify-content: space-between; margin-top: 8px; }
  .lp-header:not([data-menu-ready]) nav { flex-wrap: wrap; width: 100%; }

  .lp-hero { padding-block: 56px 72px; gap: 48px; }

  .lp-rule-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .lp-secure-grid { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .lp-facts > div { grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 20px 0; }
  .lp-closing { padding-block: 72px; }
  .lp-closing-inner { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .lp-footer { padding-block: 64px; }
}

@media (max-width: 560px) {
  .landing :is(h1, h2) br { display: none; }
  .lp-level-list,
  .lp-footer { grid-template-columns: minmax(0, 1fr); }
  .lp-actions { flex-direction: column; align-items: stretch; }
  .lp-actions .lp-button { justify-content: space-between; }
  .lp-code pre { padding: 18px; font-size: 12.5px; }
  .lp-options { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .lp-options span { padding: 12px; }
  .lp-questions details { padding: 6px 18px; }
  .lp-questions summary { font-size: 16.5px; }
}

@media (prefers-reduced-motion: reduce) {
  .landing * { scroll-behavior: auto !important; }
  .lp-button,
  .lp-button span,
  .lp-options span,
  .lp-rows em,
  .lp-rows i { transition: none; }
  .lp-button:hover span { transform: none; }
  .lp-code .lp-changed { animation: none; }
}
