/* ==========================================================================
   Landing page.

   Layered on top of styles.css, which supplies the reset, .sr-only,
   .brand-mark, [hidden] and the self-hosted IBM Plex faces. The page has its
   own palette, deliberately apart from the dashboard's warm paper: white and
   cool greys, near-black ink, and the product's carbon-blue accent, in the
   manner of a fintech product site. Everything is set in IBM Plex Sans, with
   headlines at 500 and tight tracking; Plex Mono carries code and anything
   machine-shaped.

   Light by default, dark behind data-theme="dark" (the same toggle and stored
   preference as the dashboard). The closing band and the code panels are
   dark in both themes.

   Contrast: every text token clears WCAG AA (4.5:1) on every surface it sits
   on, in both themes, the closing band and the code panels included.
   ========================================================================== */

:root {
  --lp-bg: #ffffff;
  --lp-band: #f4f4f5;
  --lp-card: #ffffff;
  --lp-ink: #0a0a0b;
  --lp-ink-2: #3f3f46;
  --lp-ink-3: #5f5f67;
  --lp-rule: #e4e4e7;
  --lp-rule-strong: #d4d4d8;
  --lp-accent: #1d3fd8;
  --lp-accent-hover: #1733b5;
  --lp-on-accent: #ffffff;
  --lp-accent-wash: rgba(29, 63, 216, 0.08);
  --lp-accent-line: #cbd3f7;
  --lp-btn: #0a0a0b;
  --lp-btn-hover: #2b2b30;
  --lp-on-btn: #ffffff;
  --lp-live: #1f9d55;
  --lp-ok: #116230;
  --lp-ok-wash: rgba(17, 98, 48, 0.1);
  --lp-nav-bg: rgba(255, 255, 255, 0.94);

  /* The savings meter: the unfilled track is a lighter step of the same blue,
     so "list price" reads across the whole width. */
  --lp-meter-track: #8fa0ea;
  --lp-meter-fill: #1d3fd8;

  --lp-shadow-card: 0 1px 2px rgba(16, 24, 40, 0.04), 0 28px 64px -36px rgba(16, 24, 40, 0.3);
  --lp-shadow-float: 0 36px 72px -28px rgba(16, 24, 40, 0.38), 0 0 0 1px rgba(16, 24, 40, 0.03);

  /* The hero's prism: soft light through ribbed glass. */
  --pz-1: #c7d2fe;
  --pz-2: #e9d5ff;
  --pz-3: #fbcfe8;
  --pz-4: #fed7aa;
  --pz-5: #bfdbfe;
  --pz-6: #ddd6fe;
  --pz-opacity: 0.95;

  /* The dashboard illustration. */
  --shot-bezel: #0e0e11;
  --shot-side: #f7f7f8;

  /* The closing band is black in both themes. */
  --lp-end-bg: #050506;
  --lp-end-ink: #ffffff;
  --lp-end-ink-2: #a1a1aa;
  --lp-end-rule: rgba(255, 255, 255, 0.09);
  --lp-end-glow: rgba(29, 63, 216, 0.38);

  /* Code panels are ink in both themes. */
  --lp-code-bg: #121318;
  --lp-code-ink: #e9e5da;
  --lp-code-dim: #8d897e;
  --lp-code-str: #f2c572;
  --lp-code-key: #9db0ff;
  --lp-code-rule: #262831;
  --lp-code-add-bg: rgba(46, 160, 103, 0.2);
  --lp-code-add-ink: #7ee2a8;
  --lp-code-del-bg: rgba(229, 83, 75, 0.16);
  --lp-code-del-ink: #ff9c94;

  --lp-sans: var(--font-sans);
  --lp-mono: var(--font-mono);
  --lp-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --lp-nav-h: 68px;
}

:root[data-theme='dark'] {
  --lp-bg: #0b0b0d;
  --lp-band: #111114;
  --lp-card: #17171b;
  --lp-ink: #f4f4f5;
  --lp-ink-2: #d4d4d8;
  --lp-ink-3: #a1a1aa;
  --lp-rule: #26262c;
  --lp-rule-strong: #3a3a42;
  --lp-accent: #7c93ff;
  --lp-accent-hover: #9aabff;
  --lp-on-accent: #0b0b0d;
  --lp-accent-wash: rgba(124, 147, 255, 0.12);
  --lp-accent-line: #2a3366;
  --lp-btn: #f4f4f5;
  --lp-btn-hover: #d4d4d8;
  --lp-on-btn: #0b0b0d;
  --lp-live: #3fb950;
  --lp-ok: #56d364;
  --lp-ok-wash: rgba(63, 185, 80, 0.13);
  --lp-nav-bg: rgba(11, 11, 13, 0.92);
  --lp-meter-track: #3a4580;
  --lp-meter-fill: #7c93ff;
  --lp-shadow-card: 0 1px 2px rgba(0, 0, 0, 0.4), 0 28px 64px -36px rgba(0, 0, 0, 0.8);
  --lp-shadow-float: 0 36px 72px -28px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.04);
  --pz-1: #2b3a9c;
  --pz-2: #4c1d95;
  --pz-3: #7a1f4b;
  --pz-4: #6b2a12;
  --pz-5: #1e3a8a;
  --pz-6: #3b1470;
  --pz-opacity: 0.6;
  --shot-bezel: #26262c;
  --shot-side: #131316;
  --lp-end-bg: #000000;
  --lp-end-glow: rgba(124, 147, 255, 0.22);
}

/* ── base ────────────────────────────────────────────────────────────────── */

html:has(body.landing) {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--lp-nav-h) + 12px);
}

/* styles.css pins body to 100% height for the dashboard shell. Here that
   would make body one viewport tall, and the sticky nav would let go as soon
   as the first screen scrolled past; let the body grow with the page. */
.landing {
  height: auto;
  min-height: 100%;
  background: var(--lp-bg);
  color: var(--lp-ink);
  font-family: var(--lp-sans);
  font-size: 16px;
  line-height: 1.6;
}

html:not(.js) .js-only,
.js .nojs-only {
  display: none !important;
}

.landing ::selection {
  background: var(--lp-accent);
  color: var(--lp-on-accent);
}

.landing :focus-visible {
  outline: 2px solid var(--lp-accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.landing a {
  color: var(--lp-accent);
}

.landing a:hover {
  color: var(--lp-accent-hover);
}

.landing :where(p, li, span, dd, figcaption, summary) > code {
  padding: 0.1em 0.38em;
  border: 1px solid var(--lp-rule);
  border-radius: 6px;
  background: var(--lp-band);
  color: var(--lp-ink-2);
  font-family: var(--lp-mono);
  font-size: 0.84em;
}

.lp-wrap {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: 30px;
}

.skip-link {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--lp-btn);
  color: var(--lp-on-btn);
  font-weight: 500;
  transform: translateY(-160%);
}

.landing .skip-link:focus {
  color: var(--lp-on-btn);
  transform: none;
}

/* ── buttons ─────────────────────────────────────────────────────────────── */

.landing .lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font: 500 15px/1 var(--lp-sans);
  letter-spacing: -0.005em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color 0.16s var(--lp-ease),
    border-color 0.16s var(--lp-ease),
    color 0.16s var(--lp-ease),
    box-shadow 0.16s var(--lp-ease);
}

.landing .lp-btn-lg {
  height: 52px;
  padding: 0 22px;
  font-size: 17px;
}

.landing .lp-btn-sm {
  height: 38px;
  padding: 0 15px;
  font-size: 14.5px;
}

.landing .lp-btn-primary {
  background: var(--lp-btn);
  color: var(--lp-on-btn);
}

.landing .lp-btn-primary:hover {
  background: var(--lp-btn-hover);
  color: var(--lp-on-btn);
}

.landing .lp-btn-line {
  border-color: var(--lp-rule-strong);
  background: var(--lp-card);
  color: var(--lp-ink-2);
  box-shadow: 0 1px 1px rgba(16, 24, 40, 0.06);
}

.landing .lp-btn-line:hover {
  border-color: var(--lp-ink-3);
  color: var(--lp-ink);
}

.landing .lp-btn-accent {
  border-radius: 10px;
  background: var(--lp-accent);
  color: var(--lp-on-accent);
}

.landing .lp-btn-accent:hover {
  background: var(--lp-accent-hover);
  color: var(--lp-on-accent);
}

/* On the black closing band. */
.landing .lp-btn-invert {
  background: #ffffff;
  color: #0a0a0b;
}

.landing .lp-btn-invert:hover {
  background: #e4e4e7;
  color: #0a0a0b;
}

.landing .lp-btn-ghost {
  border-color: rgba(255, 255, 255, 0.28);
  background: transparent;
  color: #ffffff;
}

.landing .lp-btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.6);
  color: #ffffff;
}

.lp-chev {
  width: 17px;
  height: 17px;
  margin-right: -4px;
  transition: transform 0.2s var(--lp-ease);
}

.lp-btn:hover .lp-chev {
  transform: translateX(2px);
}

.landing .lp-textlink {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 22px;
  font-size: 17px;
  font-weight: 500;
}

.lp-textlink svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s var(--lp-ease);
}

.lp-textlink:hover svg {
  transform: translateX(3px);
}

.lp-live {
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: var(--lp-live);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--lp-live) 20%, transparent);
}

.lp-save {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--lp-accent-wash);
  color: var(--lp-accent);
  font: 600 12.5px/1.3 var(--lp-mono);
}

/* ── nav ─────────────────────────────────────────────────────────────────── */

.lp-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background: var(--lp-nav-bg);
  -webkit-backdrop-filter: saturate(1.5) blur(14px);
  backdrop-filter: saturate(1.5) blur(14px);
  transition: border-color 0.2s var(--lp-ease);
}

.lp-nav.is-stuck {
  border-bottom-color: var(--lp-rule);
}

.lp-nav-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--lp-nav-h);
}

.landing .lp-brand {
  --brand-h: 30px;
  display: inline-flex;
  align-items: center;
  color: var(--lp-ink);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.025em;
  text-decoration: none;
}

.landing .lp-brand:hover {
  color: var(--lp-ink);
}

.lp-links {
  display: flex;
  flex: 1;
  justify-content: center;
  gap: 2px;
}

.landing .lp-links a {
  padding: 8px 14px;
  border-radius: 8px;
  color: var(--lp-ink-2);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition:
    background-color 0.15s var(--lp-ease),
    color 0.15s var(--lp-ease);
}

.landing .lp-links a:hover {
  background: var(--lp-band);
  color: var(--lp-ink);
}

/* Sign in lives in the menu only once the menu is a dropdown. */
.landing .lp-links .lp-links-signin {
  display: none;
}

.lp-nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.landing .theme-toggle {
  width: 38px;
  height: 38px;
  border-color: var(--lp-rule-strong);
  border-radius: 10px;
  background: var(--lp-card);
  color: var(--lp-ink-2);
}

.landing .theme-toggle:hover {
  border-color: var(--lp-ink-3);
  background: var(--lp-card);
  color: var(--lp-ink);
}

html:not(.js) .theme-toggle {
  display: none;
}

.lp-burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--lp-rule-strong);
  border-radius: 10px;
  background: var(--lp-card);
  color: var(--lp-ink);
  cursor: pointer;
}

.lp-burger svg {
  width: 20px;
  height: 20px;
}

/* ── announcement ────────────────────────────────────────────────────────── */

.landing .lp-annc {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 20px;
  border-bottom: 4px solid var(--lp-accent-line);
  background: var(--lp-band);
  color: var(--lp-ink-2);
  font-size: 14.5px;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
}

.landing .lp-annc:hover {
  color: var(--lp-ink);
}

.lp-annc-pill {
  flex: none;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--lp-accent);
  color: var(--lp-on-accent);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.2;
}

.lp-annc-arrow {
  width: 17px;
  height: 17px;
  flex: none;
  transition: transform 0.2s var(--lp-ease);
}

.lp-annc:hover .lp-annc-arrow {
  transform: translateX(3px);
}

/* ── hero ────────────────────────────────────────────────────────────────── */

.lp-hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding-top: 80px;
}

/* Tall glass columns, skewed, each lit on one edge, then blurred together
   and faded out before the product band. */
.lp-prism {
  position: absolute;
  inset: 0 -10%;
  z-index: -1;
  display: flex;
  justify-content: center;
  opacity: var(--pz-opacity);
  filter: blur(24px);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 42%, transparent 86%);
  mask-image: linear-gradient(180deg, #000 0%, #000 42%, transparent 86%);
  pointer-events: none;
}

.lp-prism i {
  flex: 0 0 clamp(170px, 20vw, 320px);
  height: 170%;
  margin-top: -30%;
  background: linear-gradient(
    90deg,
    var(--c) 0%,
    color-mix(in srgb, var(--c) 55%, transparent) 45%,
    transparent 100%
  );
  transform: skewY(-38deg);
}

.lp-prism i:nth-child(1) {
  --c: var(--pz-1);
}

.lp-prism i:nth-child(2) {
  --c: var(--pz-2);
}

.lp-prism i:nth-child(3) {
  --c: var(--pz-3);
}

.lp-prism i:nth-child(4) {
  --c: var(--pz-4);
}

.lp-prism i:nth-child(5) {
  --c: var(--pz-5);
}

.lp-prism i:nth-child(6) {
  --c: var(--pz-6);
}

.lp-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 540px) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.lp-hero h1 {
  color: var(--lp-ink);
  font-size: clamp(44px, 5.4vw, 76px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.038em;
  text-wrap: balance;
}

.lp-lede {
  max-width: 30em;
  margin-top: 26px;
  color: var(--lp-ink-3);
  font-size: 21px;
  line-height: 1.5;
}

.lp-hl {
  color: var(--lp-accent);
  font-weight: 600;
}

.lp-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
}

.lp-fineline {
  margin-top: 18px;
  color: var(--lp-ink-3);
  font-size: 14px;
}

/* ── hero art: the dashboard, and a receipt laid over it ─────────────────── */

.lp-hero-art {
  position: relative;
  min-height: 640px;
  padding: 16px 0 0 64px;
}

/* Drawn in em, and 1em is a 76th of the frame's width, so the whole
   illustration scales as one piece wherever it is placed. */
.lp-shot {
  width: 760px;
  container-type: inline-size;
}

.shot-frame {
  padding: 0.9em;
  border-radius: 2em;
  background: var(--shot-bezel);
  box-shadow: var(--lp-shadow-float);
  font-size: calc(100cqi / 76);
  line-height: 1.35;
}

.shot-app {
  display: grid;
  grid-template-columns: 15.5em minmax(0, 1fr);
  height: 52em;
  overflow: hidden;
  border-radius: 1.15em;
  background: var(--lp-card);
  color: var(--lp-ink);
}

.shot-side {
  display: flex;
  flex-direction: column;
  gap: 0.3em;
  padding: 1.8em 1.2em;
  border-right: 1px solid var(--lp-rule);
  background: var(--shot-side);
}

.shot-logo {
  display: flex;
  align-items: center;
  margin-bottom: 1.4em;
  padding-left: 0.4em;
  font-size: 1.4em;
  letter-spacing: -0.02em;
}

/* the same logo as the page's own, at the mock's scale (see .brand-word) */
.shot-logo b {
  padding-left: 0.6em;
  font-weight: 600;
}

.shot-mark {
  flex: none;
  width: 1.6em;
  height: 1.6em;
}

.shot-word {
  display: block;
  width: calc(1.6em * 2.98);
  height: 1.6em;
  margin-left: -0.6em;
}

.shot-nav {
  display: flex;
  align-items: center;
  gap: 0.75em;
  padding: 0.7em 0.85em;
  border-radius: 0.7em;
  color: var(--lp-ink-3);
  font-size: 1.3em;
}

.shot-nav svg {
  width: 1.2em;
  height: 1.2em;
  flex: none;
}

.shot-nav.is-on {
  background: var(--lp-card);
  box-shadow:
    0 0 0 1px var(--lp-rule),
    0 1px 2px rgba(16, 24, 40, 0.05);
  color: var(--lp-ink);
  font-weight: 500;
}

.shot-main {
  display: flex;
  flex-direction: column;
  gap: 1.4em;
  min-width: 0;
  padding: 2em 2.2em;
}

.shot-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.shot-top b {
  font-size: 2.1em;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.shot-chip {
  padding: 0.45em 0.95em;
  border: 1px solid var(--lp-rule);
  border-radius: 999px;
  color: var(--lp-ink-3);
  font-size: 1.15em;
}

.shot-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1em;
}

.shot-kpi {
  display: flex;
  flex-direction: column;
  gap: 0.35em;
  padding: 1.1em 1.3em;
  border: 1px solid var(--lp-rule);
  border-radius: 1em;
}

.shot-kpi > span {
  color: var(--lp-ink-3);
  font-size: 1.1em;
}

.shot-kpi b {
  font: 500 2.2em/1.1 var(--lp-mono);
  letter-spacing: -0.04em;
}

.shot-kpi em {
  color: var(--lp-accent);
  font-size: 1.05em;
  font-style: normal;
  font-weight: 500;
}

.shot-card {
  padding: 1.2em 1.4em;
  border: 1px solid var(--lp-rule);
  border-radius: 1em;
}

.shot-card-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.7em;
  color: var(--lp-ink-2);
  font-size: 1.15em;
  font-weight: 500;
}

.shot-muted {
  color: var(--lp-ink-3);
  font-weight: 400;
}

.shot-chart {
  display: block;
  width: 100%;
  height: 10.5em;
  color: var(--lp-accent);
}

.shot-grid {
  fill: none;
  stroke: var(--lp-rule);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.shot-area {
  fill: url(#shot-fill);
}

.shot-line {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

.shot-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 6.5em;
  gap: 1.4em;
  align-items: center;
  padding: 0.62em 0;
  border-top: 1px solid var(--lp-rule);
  font-size: 1.15em;
}

.shot-row:first-child {
  border-top: 0;
  padding-top: 0.1em;
}

.shot-row code {
  overflow: hidden;
  color: var(--lp-ink);
  font: 400 0.95em/1.3 var(--lp-mono);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shot-row span {
  color: var(--lp-ink-3);
  font: 400 0.95em/1.3 var(--lp-mono);
}

.shot-row b {
  font: 500 0.95em/1.3 var(--lp-mono);
  text-align: right;
}

/* The receipt: a real, live-priced example, laid over the illustration like
   a phone in front of a laptop. */
.lp-receipt-fig {
  position: absolute;
  top: 250px;
  left: 0;
  z-index: 2;
  width: 272px;
}

.lp-receipt {
  padding: 20px 20px 16px;
  border: 1px solid var(--lp-rule);
  border-radius: 22px;
  background: var(--lp-card);
  box-shadow: var(--lp-shadow-float);
  font-size: 13.5px;
}

.rc-head {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--lp-rule-strong);
}

.rc-title {
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.rc-meta {
  color: var(--lp-ink-3);
  font: 400 11px/1.4 var(--lp-mono);
}

.rc-lines {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 12px 0;
  border-bottom: 1px dashed var(--lp-rule-strong);
}

.rc-lines > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.rc-lines dt {
  color: var(--lp-ink-3);
}

.rc-lines dd {
  margin: 0;
  overflow: hidden;
  color: var(--lp-ink);
  font: 400 12.5px/1.6 var(--lp-mono);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rc-money s {
  color: var(--lp-ink-3);
}

.rc-paid dt,
.rc-paid dd {
  color: var(--lp-ink);
  font-weight: 600;
}

.rc-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 14px 0 12px;
}

.rc-total span {
  font-weight: 500;
}

.rc-total strong {
  color: var(--lp-accent);
  font-size: 30px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
}

.rc-header {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 9px;
  background: var(--lp-band);
  color: var(--lp-ink-3);
  font: 400 10.5px/1.4 var(--lp-mono);
}

.landing .rc-header code {
  padding: 0;
  border: 0;
  background: none;
  color: var(--lp-ink);
  font-size: 1em;
}

.lp-receipt-caption {
  margin-top: 14px;
  padding-right: 8px;
  color: var(--lp-ink-3);
  font-size: 12.5px;
  line-height: 1.5;
}

/* ── works with ──────────────────────────────────────────────────────────── */

.lp-works {
  padding-top: 64px;
  padding-bottom: 80px;
}

.lp-works-title {
  color: var(--lp-ink-3);
  font-size: 17px;
}

.lp-works-list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 46px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.lp-works-list li {
  color: var(--lp-ink-3);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.025em;
  white-space: nowrap;
}

/* ── the product, as a deck of cards ─────────────────────────────────────── */

.lp-stack {
  padding: 120px 0;
  background: var(--lp-band);
}

.lp-stack-inner {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.lp-slide {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 56px;
  align-items: center;
  padding: 56px;
  border: 1px solid var(--lp-rule);
  border-radius: 28px;
  background: var(--lp-card);
  box-shadow: var(--lp-shadow-card);
  transform-origin: 50% 0;
}

/* The deck: each card holds under the nav while the next one slides over it,
   a few pixels lower, so the stack shows its edges. landing.js turns it on
   (.lp-deck-on) only on screens where every card fits whole, since a card
   taller than the screen would have its lower half buried by the next. */
.lp-slide {
  top: calc(var(--lp-nav-h) + 32px + var(--i, 0) * 16px);
}

@media (min-width: 1025px) and (min-height: 760px) {
  .lp-slide {
    min-height: 580px;
  }

  .lp-deck-on .lp-slide {
    position: sticky;
  }
}

@media (min-width: 1025px) and (min-height: 760px) and (prefers-reduced-motion: no-preference) {
  .lp-deck-on .lp-slide {
    transform: scale(calc(1 - var(--cover, 0) * 0.05));
  }
}

.lp-slide-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--lp-ink-2);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.lp-kicker-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--lp-accent-wash);
  color: var(--lp-accent);
}

.lp-kicker-icon svg {
  width: 16px;
  height: 16px;
}

.lp-slide-name {
  margin-top: 22px;
  color: var(--lp-accent);
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.lp-slide h2 {
  margin-top: 10px;
  font-size: clamp(32px, 3.4vw, 46px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.lp-slide-desc {
  max-width: 34em;
  margin-top: 18px;
  color: var(--lp-ink-3);
  font-size: 18px;
  line-height: 1.6;
}

.lp-slide-desc strong {
  color: var(--lp-ink);
  font-weight: 600;
}

.lp-slide-copy > .lp-btn {
  margin-top: 32px;
}

.lp-slide-visual {
  min-width: 0;
}

.lp-steps {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.lp-steps li {
  position: relative;
  padding-left: 42px;
  color: var(--lp-ink-3);
  font-size: 16px;
  line-height: 1.55;
  counter-increment: step;
}

.lp-steps li::before {
  content: counter(step);
  position: absolute;
  top: -2px;
  left: 0;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--lp-rule-strong);
  border-radius: 50%;
  color: var(--lp-ink);
  font: 500 13px/1 var(--lp-mono);
}

.lp-steps strong {
  color: var(--lp-ink);
  font-weight: 600;
}

/* ── code card ───────────────────────────────────────────────────────────── */

.lp-code-card {
  overflow: hidden;
  border: 1px solid var(--lp-code-rule);
  border-radius: 20px;
  background: var(--lp-code-bg);
  box-shadow: 0 36px 72px -32px rgba(10, 10, 20, 0.55);
  color: var(--lp-code-ink);
}

.lp-code-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 12px 0 8px;
  border-bottom: 1px solid var(--lp-code-rule);
}

.lp-tablist {
  display: flex;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.lp-tablist::-webkit-scrollbar {
  display: none;
}

.lp-tablist button {
  position: relative;
  flex: none;
  padding: 16px 12px 15px;
  border: 0;
  background: none;
  color: var(--lp-code-dim);
  font: 500 13.5px/1 var(--lp-sans);
  cursor: pointer;
  transition: color 0.15s var(--lp-ease);
}

.lp-tablist button:hover,
.lp-tablist button[aria-selected='true'] {
  color: var(--lp-code-ink);
}

.lp-tablist button[aria-selected='true']::after {
  content: '';
  position: absolute;
  right: 12px;
  bottom: -1px;
  left: 12px;
  height: 2px;
  border-radius: 2px 2px 0 0;
  background: var(--lp-code-key);
}

.landing .lp-tablist button:focus-visible {
  outline-offset: -4px;
}

.lp-copy {
  flex: none;
  padding: 7px 12px;
  border: 1px solid var(--lp-code-rule);
  border-radius: 8px;
  background: transparent;
  color: var(--lp-code-ink);
  font: 500 12.5px/1 var(--lp-sans);
  cursor: pointer;
}

.lp-copy:hover {
  border-color: var(--lp-code-dim);
}

.lp-panel-caption {
  display: none;
}

/* Without JavaScript there are no working tabs: every snippet is shown,
   stacked, each under its own caption. */
html:not(.js) .lp-code-bar {
  display: none;
}

html:not(.js) .lp-panel-caption {
  display: block;
  padding: 20px 26px 0;
  color: var(--lp-code-dim);
  font: 500 11.5px/1 var(--lp-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

html:not(.js) .lp-panel + .lp-panel {
  border-top: 1px solid var(--lp-code-rule);
}

.js .lp-panel:not([data-active]) {
  display: none;
}

.lp-code {
  margin: 0;
  padding: 22px 24px 24px 46px;
  overflow-x: auto;
  font: 400 13px/1.75 var(--lp-mono);
  tab-size: 4;
}

.lp-code code {
  font: inherit;
}

.t-k {
  color: var(--lp-code-key);
}

.t-s {
  color: var(--lp-code-str);
}

.t-c {
  color: var(--lp-code-dim);
  font-style: italic;
}

/* A changed line spans the full width of the panel, gutter included; its
   margin box still equals the content box, so it never adds a scrollbar. */
.dl {
  position: relative;
  display: inline-block;
  min-width: calc(100% + 70px);
  margin: 0 -24px 0 -46px;
  padding: 0 24px 0 46px;
  vertical-align: top;
}

.dl::before {
  position: absolute;
  left: 20px;
  font-weight: 600;
}

.dl-add {
  background: var(--lp-code-add-bg);
  box-shadow: inset 3px 0 0 var(--lp-code-add-ink);
}

.dl-add::before {
  content: '+';
  color: var(--lp-code-add-ink);
}

.dl-del {
  background: var(--lp-code-del-bg);
  box-shadow: inset 3px 0 0 var(--lp-code-del-ink);
  color: var(--lp-code-del-ink);
  text-decoration: line-through;
  text-decoration-color: color-mix(in srgb, var(--lp-code-del-ink) 55%, transparent);
  -webkit-user-select: none;
  user-select: none;
}

.dl-del::before {
  content: '\2212';
  color: var(--lp-code-del-ink);
}

/* ── savings estimator ───────────────────────────────────────────────────── */

.lp-est-card,
.lp-keycard {
  max-width: 540px;
  margin-inline: auto;
  padding: 28px;
  border: 1px solid var(--lp-rule);
  border-radius: 22px;
  background: var(--lp-card);
  box-shadow: var(--lp-shadow-float);
}

.lp-est-for {
  color: var(--lp-ink-2);
  font-size: 18px;
}

.lp-est-label {
  display: block;
  margin-bottom: 10px;
  color: var(--lp-ink-2);
  font-size: 14px;
  font-weight: 500;
}

.lp-est-field {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 62px;
  padding: 0 18px;
  border: 1px solid var(--lp-rule-strong);
  border-radius: 12px;
  background: var(--lp-bg);
  transition:
    border-color 0.15s var(--lp-ease),
    box-shadow 0.15s var(--lp-ease);
}

.lp-est-field:focus-within {
  border-color: var(--lp-accent);
  box-shadow: 0 0 0 4px var(--lp-accent-wash);
}

.lp-est-currency {
  color: var(--lp-ink-3);
  font: 500 26px/1 var(--lp-mono);
}

.lp-est-field input {
  flex: 1;
  min-width: 0;
  padding: 0;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--lp-ink);
  font: 500 28px/1 var(--lp-mono);
  letter-spacing: -0.03em;
  -moz-appearance: textfield;
  appearance: textfield;
}

.lp-est-field input::-webkit-inner-spin-button,
.lp-est-field input::-webkit-outer-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.landing .lp-est-field input:focus-visible {
  outline: none;
}

.lp-est-per {
  color: var(--lp-ink-3);
  font-size: 14px;
}

.lp-est-range {
  --fill: 41%;
  width: 100%;
  height: 28px;
  margin: 18px 0 4px;
  background: transparent;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.lp-est-range::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--lp-ink) var(--fill), var(--lp-rule-strong) var(--fill));
}

.lp-est-range::-moz-range-track {
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--lp-ink) var(--fill), var(--lp-rule-strong) var(--fill));
}

.lp-est-range::-webkit-slider-thumb {
  width: 22px;
  height: 22px;
  margin-top: -9px;
  border: 2px solid var(--lp-ink);
  border-radius: 50%;
  background: var(--lp-card);
  box-shadow: 0 2px 6px rgba(16, 24, 40, 0.2);
  -webkit-appearance: none;
  appearance: none;
}

.lp-est-range::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border: 2px solid var(--lp-ink);
  border-radius: 50%;
  background: var(--lp-card);
}

.landing .lp-est-range:focus-visible {
  outline: none;
}

.lp-est-range:focus-visible::-webkit-slider-thumb {
  outline: 2px solid var(--lp-accent);
  outline-offset: 3px;
}

.lp-est-range:focus-visible::-moz-range-thumb {
  outline: 2px solid var(--lp-accent);
  outline-offset: 3px;
}

.lp-est-scale {
  display: flex;
  justify-content: space-between;
  color: var(--lp-ink-3);
  font: 400 11.5px/1 var(--lp-mono);
}

.lp-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 24px 0 0;
  border: 1px solid var(--lp-rule);
  border-radius: 14px;
}

.lp-kpi {
  min-width: 0;
  padding: 16px 18px;
}

.lp-kpi + .lp-kpi {
  border-left: 1px solid var(--lp-rule);
}

.lp-kpi dt {
  color: var(--lp-ink-3);
  font-size: 13px;
}

.lp-kpi dd {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  margin: 8px 0 0;
}

.lp-kpi dd > span {
  color: var(--lp-ink);
  font: 500 clamp(22px, 2.1vw, 27px)/1.05 var(--lp-mono);
  letter-spacing: -0.04em;
}

.lp-kpi-key dd > span {
  color: var(--lp-accent);
}

.lp-kpi dd small {
  color: var(--lp-ink-3);
  font-size: 12px;
}

.lp-meter {
  margin-top: 24px;
}

/* A 12px bar; the fill ends in a 4px rounded data-end set off by a 2px
   surface gap. */
.lp-meter-track {
  height: 12px;
  overflow: hidden;
  border-radius: 3px;
  background: var(--lp-meter-track);
}

.lp-meter-fill {
  height: 100%;
  border-radius: 0 4px 4px 0;
  background: var(--lp-meter-fill);
  box-shadow: 2px 0 0 var(--lp-card);
  transition: width 0.45s var(--lp-ease);
}

.lp-meter-legend {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  color: var(--lp-ink-3);
  font-size: 13px;
}

.lp-meter-legend b {
  color: var(--lp-ink);
  font-weight: 600;
}

.lp-est-note {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px dashed var(--lp-rule-strong);
  color: var(--lp-ink-3);
  font-size: 13px;
  line-height: 1.55;
}

/* ── key card illustration ───────────────────────────────────────────────── */

.lp-keycard {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
}

.kc-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.kc-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 12px;
  background: var(--lp-accent-wash);
  color: var(--lp-accent);
}

.kc-icon svg {
  width: 21px;
  height: 21px;
}

.kc-name {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.landing .kc-name code {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.kc-name b {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.landing .kc-name code {
  padding: 0;
  border: 0;
  background: none;
  color: var(--lp-ink-3);
  font: 400 12.5px/1.4 var(--lp-mono);
}

.kc-pill {
  margin-left: auto;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--lp-ok-wash);
  color: var(--lp-ok);
  font-size: 12.5px;
  font-weight: 600;
}

.kc-budget-row {
  display: flex;
  justify-content: space-between;
  color: var(--lp-ink-3);
  font-size: 14px;
}

.kc-budget-row b {
  color: var(--lp-ink);
  font-family: var(--lp-mono);
  font-weight: 500;
}

.kc-bar {
  height: 10px;
  margin-top: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--lp-band);
  box-shadow: inset 0 0 0 1px var(--lp-rule);
}

.kc-bar i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--lp-accent);
}

.kc-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--lp-rule);
  border-radius: 14px;
}

.kc-stats > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  padding: 14px 16px;
}

.kc-stats > div + div {
  border-left: 1px solid var(--lp-rule);
}

.kc-stats span,
.kc-label {
  color: var(--lp-ink-3);
  font-size: 12.5px;
}

.kc-stats b {
  color: var(--lp-ink);
  font: 500 15px/1.3 var(--lp-mono);
  white-space: nowrap;
}

.kc-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.kc-chips code {
  padding: 6px 10px;
  border: 1px solid var(--lp-rule);
  border-radius: 8px;
  background: var(--lp-band);
  color: var(--lp-ink-2);
  font: 400 12.5px/1.2 var(--lp-mono);
}

.kc-last {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px dashed var(--lp-rule-strong);
  color: var(--lp-ink-3);
  font-size: 13px;
}

.kc-last b {
  color: var(--lp-ink);
  font-weight: 500;
}

.kc-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lp-live);
}

.kc-sep {
  color: var(--lp-rule-strong);
}

/* ── the numbers ─────────────────────────────────────────────────────────── */

.lp-stats {
  padding: 140px 0 128px;
}

.lp-stats-head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 72px;
  align-items: end;
}

.lp-stats-head h2 {
  font-size: clamp(36px, 4.3vw, 56px);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.038em;
  text-wrap: balance;
}

.lp-stats-head p {
  color: var(--lp-ink-3);
  font-size: 20px;
  line-height: 1.55;
}

.lp-stats-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 88px 0 0;
  border-top: 1px solid var(--lp-rule);
}

.lp-stat {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 14px;
  padding: 36px 24px 0 0;
}

.lp-stat + .lp-stat {
  padding-left: 28px;
  border-left: 1px solid var(--lp-rule);
}

.lp-stat dd {
  margin: 0;
  color: var(--lp-accent);
  font-size: clamp(56px, 6.6vw, 92px);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.055em;
  font-variant-numeric: tabular-nums;
}

.lp-stat dt {
  color: var(--lp-ink-2);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.35;
}

/* ── sections ────────────────────────────────────────────────────────────── */

.lp-section {
  padding: 120px 0;
}

.lp-band {
  background: var(--lp-band);
}

.lp-sechead {
  max-width: 780px;
  margin-bottom: 52px;
}

.lp-eyebrow {
  margin-bottom: 14px;
  color: var(--lp-ink-3);
  font-size: 18px;
}

.lp-sechead h2 {
  font-size: clamp(34px, 4.3vw, 56px);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.038em;
  text-wrap: balance;
}

.lp-sechead p:not(.lp-eyebrow) {
  margin-top: 18px;
  color: var(--lp-ink-3);
  font-size: 19px;
  line-height: 1.6;
}

.lp-sechead-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 72px;
  align-items: end;
  max-width: none;
}

.lp-sechead-split p:not(.lp-eyebrow) {
  margin-top: 0;
}

/* ── rate card ───────────────────────────────────────────────────────────── */

.lp-board {
  padding: 4px 28px 10px;
  border: 1px solid var(--lp-rule);
  border-radius: 24px;
  background: var(--lp-card);
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.lp-board-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  padding: 18px 0 16px;
  border-bottom: 1px solid var(--lp-rule-strong);
  color: var(--lp-ink-2);
  font: 400 13px/1.4 var(--lp-mono);
}

.landing .lp-board-link {
  margin-left: auto;
  color: var(--lp-ink-2);
  text-decoration: underline;
  text-decoration-color: var(--lp-rule-strong);
  text-underline-offset: 4px;
}

.landing .lp-board-link:hover {
  color: var(--lp-accent);
}

.lp-table {
  width: 100%;
  border-collapse: collapse;
  font: 400 14px/1.4 var(--lp-mono);
}

.lp-table thead th {
  padding: 16px 12px 14px;
  border-bottom: 1px solid var(--lp-rule);
  color: var(--lp-ink-3);
  font: 500 12px/1.2 var(--lp-sans);
  letter-spacing: 0.06em;
  text-align: left;
  text-transform: uppercase;
}

.lp-table .num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.lp-table tbody th,
.lp-table tbody td {
  padding: 16px 12px;
  border-bottom: 1px solid var(--lp-rule);
  font-weight: 400;
  text-align: left;
  vertical-align: top;
}

.lp-table tbody .num {
  text-align: right;
}

.lp-table tbody tr:last-child > * {
  border-bottom: 0;
}

.lp-table tbody tr:not(.lp-group):not(.lp-table-empty):hover > * {
  background: var(--lp-band);
}

.lp-table tbody .lp-group th {
  padding: 30px 12px 10px;
  border-bottom: 1px solid var(--lp-rule-strong);
  color: var(--lp-ink);
  font: 500 20px/1.2 var(--lp-sans);
  letter-spacing: -0.025em;
}

.lp-table tbody tr:first-child.lp-group th {
  padding-top: 18px;
}

.lp-group small {
  margin-left: 10px;
  color: var(--lp-ink-3);
  font: 500 12px/1 var(--lp-mono);
  letter-spacing: 0.02em;
}

.m-name {
  display: block;
  color: var(--lp-ink);
  font: 500 16px/1.3 var(--lp-sans);
  letter-spacing: -0.01em;
}

.m-id {
  display: block;
  margin-top: 3px;
  color: var(--lp-ink-3);
  font-size: 12.5px;
}

.p-now {
  display: block;
  color: var(--lp-ink);
  font-weight: 500;
}

.p-was {
  display: block;
  margin-top: 3px;
  color: var(--lp-ink-3);
  font-size: 12px;
}

.lp-table-empty td {
  padding: 48px 12px;
  color: var(--lp-ink-3);
  text-align: center;
}

.lp-note {
  margin-top: 18px;
  color: var(--lp-ink-3);
  font-size: 14px;
}

/* ── the fine print ──────────────────────────────────────────────────────── */

.lp-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 56px 48px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lp-feature-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--lp-accent-wash);
  color: var(--lp-accent);
}

.lp-feature-icon svg {
  width: 24px;
  height: 24px;
}

.lp-feature h3 {
  margin-top: 22px;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.lp-feature p {
  margin-top: 10px;
  color: var(--lp-ink-3);
  font-size: 16px;
  line-height: 1.65;
}

/* ── faq ─────────────────────────────────────────────────────────────────── */

.lp-faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 72px;
  align-items: start;
}

.lp-faq-grid .lp-sechead {
  position: sticky;
  top: calc(var(--lp-nav-h) + 40px);
  margin-bottom: 0;
}

.lp-faq {
  padding: 6px 32px;
  border: 1px solid var(--lp-rule);
  border-radius: 24px;
  background: var(--lp-card);
}

.lp-faq details + details {
  border-top: 1px solid var(--lp-rule);
}

.lp-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  color: var(--lp-ink);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.015em;
  list-style: none;
  cursor: pointer;
}

.lp-faq summary::-webkit-details-marker {
  display: none;
}

.lp-faq summary::after {
  content: '+';
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: none;
  border: 1px solid var(--lp-rule-strong);
  border-radius: 50%;
  color: var(--lp-ink-2);
  font: 400 18px/1 var(--lp-mono);
  transition:
    transform 0.25s var(--lp-ease),
    background-color 0.15s var(--lp-ease);
}

.lp-faq details[open] summary::after {
  transform: rotate(45deg);
}

.lp-faq summary:hover::after {
  background: var(--lp-band);
}

.landing .lp-faq summary:focus-visible {
  outline-offset: 4px;
}

.lp-faq details p {
  padding: 0 56px 24px 0;
  color: var(--lp-ink-3);
  font-size: 16.5px;
  line-height: 1.65;
}

/* ── the close ───────────────────────────────────────────────────────────── */

.lp-end {
  position: relative;
  isolation: isolate;
  overflow: clip;
  background:
    radial-gradient(60% 70% at 88% 0%, var(--lp-end-glow), transparent 70%),
    var(--lp-end-bg);
  color: var(--lp-end-ink);
}

.lp-final {
  padding: 150px 0 110px;
}

.lp-final h2 {
  max-width: 11em;
  font-size: clamp(44px, 6.4vw, 88px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.lp-final-inner > p {
  max-width: 32em;
  margin-top: 24px;
  color: var(--lp-end-ink-2);
  font-size: 20px;
  line-height: 1.55;
}

.lp-final .lp-cta-row {
  margin-top: 40px;
}

.lp-footer {
  padding: 0 16px 16px;
}

.lp-footer-card {
  max-width: 1400px;
  margin-inline: auto;
  padding: 52px 52px 28px;
  border: 1px solid var(--lp-end-rule);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.045);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  color: var(--lp-end-ink-2);
}

.lp-footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 48px;
}

.landing .lp-footer .lp-brand {
  color: var(--lp-end-ink);
}

.lp-footer-brand p {
  max-width: 22em;
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.6;
}

.lp-footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.lp-footer-head {
  margin-bottom: 10px;
  color: var(--lp-end-ink-2);
  font-size: 14px;
}

.landing .lp-footer-cols a {
  display: block;
  width: fit-content;
  padding: 5px 0;
  color: var(--lp-end-ink);
  font-size: 15px;
  text-decoration: none;
}

.landing .lp-footer-cols a:hover {
  color: #9aabff;
}

.lp-footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 56px;
  padding-top: 22px;
  border-top: 1px solid var(--lp-end-rule);
  font-size: 13.5px;
}

.landing .lp-end :focus-visible {
  outline-color: #9aabff;
}

/* ── motion ──────────────────────────────────────────────────────────────── */

@media (prefers-reduced-motion: no-preference) {
  .lp-hero-copy > * {
    animation: lp-rise 0.8s var(--lp-ease) both;
  }

  /* The headline only slides. Browsers do not count a paint at opacity 0, so
     fading it in reported the page's largest paint up to a second after the
     headline was readable. */
  .lp-hero-copy > h1 {
    animation-name: lp-lift;
  }

  .lp-hero-copy > :nth-child(2) {
    animation-delay: 0.08s;
  }

  .lp-hero-copy > :nth-child(3) {
    animation-delay: 0.16s;
  }

  .lp-hero-copy > :nth-child(4) {
    animation-delay: 0.24s;
  }

  .lp-shot {
    animation: lp-rise-far 1.1s var(--lp-ease) 0.12s both;
  }

  .lp-receipt-fig {
    animation: lp-float-in 1s var(--lp-ease) 0.5s both;
  }

  .lp-prism {
    animation: lp-drift 28s ease-in-out infinite alternate;
  }

  .lp-live {
    animation: lp-pulse 2.4s ease-in-out infinite;
  }

  /* Revealed as they scroll in. landing.js adds .lp-reveal-on only once its
     observer is watching, so a script that never runs hides nothing. */
  .lp-reveal-on .lp-reveal {
    opacity: 0;
    transform: translateY(26px);
    transition:
      opacity 0.8s var(--lp-ease) var(--d, 0s),
      transform 0.8s var(--lp-ease) var(--d, 0s);
  }

  .lp-reveal-on .lp-reveal.is-in {
    opacity: 1;
    transform: none;
  }
}

@keyframes lp-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
}

@keyframes lp-lift {
  from {
    transform: translateY(18px);
  }
}

@keyframes lp-rise-far {
  from {
    opacity: 0;
    transform: translateY(48px);
  }
}

@keyframes lp-float-in {
  from {
    opacity: 0;
    transform: translate(-14px, 36px);
  }
}

@keyframes lp-drift {
  from {
    transform: translateX(-3%);
  }

  to {
    transform: translateX(3%);
  }
}

@keyframes lp-pulse {
  50% {
    box-shadow: 0 0 0 7px color-mix(in srgb, var(--lp-live) 8%, transparent);
  }
}

@media (prefers-reduced-motion: reduce) {
  html:has(body.landing) {
    scroll-behavior: auto;
  }

  .lp-meter-fill {
    transition: none;
  }
}

/* ── responsive ──────────────────────────────────────────────────────────── */

@media (max-width: 1180px) {
  .lp-hero-grid {
    grid-template-columns: minmax(0, 480px) minmax(0, 1fr);
    gap: 40px;
  }

  .lp-hero-art {
    padding-left: 48px;
  }
}

@media (max-width: 1024px) {
  .lp-hero {
    padding-top: 64px;
  }

  .lp-hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 56px;
  }

  .lp-hero-copy {
    max-width: 680px;
  }

  /* Stacked, the illustration takes the full width and the receipt overlaps
     its lower corner. */
  .lp-hero-art {
    min-height: 0;
    padding: 0;
  }

  .lp-shot {
    width: 100%;
  }

  .lp-receipt-fig {
    position: relative;
    top: auto;
    width: min(300px, 76%);
    margin: -120px 0 0 20px;
  }

  .lp-slide {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
    padding: 44px;
  }

  .lp-est-card,
  .lp-keycard {
    margin-inline: 0;
  }

  .lp-stats-head,
  .lp-sechead-split,
  .lp-faq-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .lp-faq-grid .lp-sechead {
    position: static;
  }

  .lp-stats-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 64px;
    border-top: 0;
  }

  .lp-stat,
  .lp-stat + .lp-stat {
    padding: 28px 24px 28px 0;
    border-left: 0;
    border-top: 1px solid var(--lp-rule);
  }

  .lp-stat:nth-child(2n) {
    padding-left: 24px;
    border-left: 1px solid var(--lp-rule);
  }

  .lp-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lp-footer-top {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 900px) {
  .lp-burger {
    display: inline-flex;
  }

  .lp-nav-inner {
    justify-content: space-between;
  }

  .lp-links {
    position: absolute;
    top: var(--lp-nav-h);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 6px 20px 18px;
    border-bottom: 1px solid var(--lp-rule);
    background: var(--lp-bg);
    box-shadow: 0 24px 40px -24px rgba(16, 24, 40, 0.3);
  }

  .lp-nav.is-open .lp-links {
    display: flex;
  }

  .landing .lp-links a {
    padding: 15px 4px;
    border-bottom: 1px solid var(--lp-rule);
    border-radius: 0;
    font-size: 17px;
  }

  .landing .lp-links a:hover {
    background: none;
  }

  .landing .lp-links .lp-links-signin {
    display: block;
    border-bottom: 0;
  }

  .lp-nav-actions .lp-btn-line {
    display: none;
  }

  /* No JavaScript, no menu button: the links wrap onto a row of their own. */
  html:not(.js) .lp-burger {
    display: none;
  }

  html:not(.js) .lp-nav-inner {
    flex-wrap: wrap;
    height: auto;
    min-height: var(--lp-nav-h);
    padding-block: 12px;
  }

  html:not(.js) .lp-links {
    position: static;
    display: flex;
    flex: 1 1 100%;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    order: 3;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: none;
  }

  html:not(.js) .landing .lp-links a {
    padding: 6px 10px 6px 0;
    border: 0;
    font-size: 15px;
  }
}

@media (max-width: 640px) {
  .lp-wrap {
    padding-inline: 20px;
  }

  .lp-annc {
    gap: 10px;
    padding: 11px 16px;
    font-size: 13.5px;
    text-align: left;
  }

  .lp-hero {
    padding-top: 48px;
  }

  .lp-hero h1 {
    font-size: clamp(38px, 11vw, 48px);
  }

  .lp-lede {
    margin-top: 20px;
    font-size: 18px;
  }

  .lp-cta-row .lp-btn {
    flex: 1 1 100%;
  }

  /* On a phone the illustration keeps a readable scale and runs off the
     right edge, the way a laptop would at the side of the frame. */
  .lp-shot {
    width: 560px;
  }

  .lp-receipt-fig {
    width: min(290px, 84%);
    margin: -150px 0 0 12px;
  }

  .lp-works {
    padding-top: 48px;
    padding-bottom: 64px;
  }

  .lp-works-list {
    gap: 12px 28px;
  }

  .lp-works-list li {
    font-size: 17px;
  }

  .lp-stack {
    padding: 72px 0;
  }

  .lp-stack-inner {
    gap: 24px;
  }

  .lp-slide {
    gap: 32px;
    padding: 28px 22px;
    border-radius: 22px;
  }

  .lp-slide-desc {
    font-size: 17px;
  }

  /* The tabs scroll sideways here; the fade says there is more. */
  .lp-tablist {
    -webkit-mask-image: linear-gradient(90deg, #000 78%, transparent);
    mask-image: linear-gradient(90deg, #000 78%, transparent);
  }

  .lp-code {
    padding: 18px 18px 20px 40px;
    font-size: 12.5px;
  }

  .dl {
    min-width: calc(100% + 58px);
    margin: 0 -18px 0 -40px;
    padding: 0 18px 0 40px;
  }

  .dl::before {
    left: 16px;
  }

  .lp-est-card,
  .lp-keycard {
    padding: 20px;
  }

  .lp-kpis {
    grid-template-columns: minmax(0, 1fr);
  }

  .lp-kpi {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
  }

  .lp-kpi + .lp-kpi {
    border-top: 1px solid var(--lp-rule);
    border-left: 0;
  }

  .lp-kpi dd {
    flex-direction: row;
    align-items: baseline;
    margin: 0;
  }

  .kc-stats {
    grid-template-columns: minmax(0, 1fr);
  }

  .kc-stats > div {
    flex-direction: row;
    justify-content: space-between;
  }

  .kc-stats > div + div {
    border-top: 1px solid var(--lp-rule);
    border-left: 0;
  }

  .lp-stats,
  .lp-section {
    padding: 88px 0;
  }

  .lp-stats-head p,
  .lp-sechead p:not(.lp-eyebrow) {
    font-size: 17px;
  }

  .lp-stat dd {
    font-size: 52px;
  }

  .lp-stat dt {
    font-size: 15px;
  }

  .lp-board {
    padding: 2px 18px 6px;
    border-radius: 20px;
  }

  /* The rate card becomes one card per model. Explicit table roles are set
     in the markup, so screen readers keep the table semantics that
     display:grid would otherwise strip. */
  .lp-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .lp-table,
  .lp-table tbody {
    display: block;
  }

  .lp-table tbody tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 16px;
    padding: 18px 0;
    border-bottom: 1px solid var(--lp-rule);
  }

  .lp-table tbody tr:last-child {
    border-bottom: 0;
  }

  .lp-table tbody tr > * {
    padding: 0;
    border: 0;
  }

  .lp-table tbody tr:not(.lp-group):not(.lp-table-empty):hover > * {
    background: none;
  }

  .lp-table tbody th[role='rowheader'] {
    grid-column: 1 / -1;
  }

  .lp-table tbody .num {
    text-align: left;
  }

  .lp-table tbody td[data-label]::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 5px;
    color: var(--lp-ink-3);
    font: 500 11px/1.2 var(--lp-sans);
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .lp-table tbody tr.lp-group {
    display: block;
    padding: 26px 0 10px;
    border-bottom: 1px solid var(--lp-rule-strong);
  }

  .lp-table tbody .lp-group th,
  .lp-table tbody tr:first-child.lp-group th {
    display: block;
    padding: 0;
    border: 0;
  }

  .lp-table tbody tr.lp-table-empty,
  .lp-table-empty td {
    display: block;
  }

  .lp-features {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .lp-faq {
    padding: 2px 20px;
    border-radius: 20px;
  }

  .lp-faq summary {
    font-size: 17px;
  }

  .lp-faq details p {
    padding-right: 0;
    font-size: 16px;
  }

  .lp-final {
    padding: 104px 0 80px;
  }

  .lp-final-inner > p {
    font-size: 18px;
  }

  .lp-footer {
    padding: 0 10px 10px;
  }

  .lp-footer-card {
    padding: 36px 22px 22px;
    border-radius: 22px;
  }

  .lp-footer-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 16px;
  }
}

@media (max-width: 400px) {
  .lp-nav-actions {
    gap: 8px;
  }

  .landing .lp-nav .lp-btn-sm {
    padding: 0 12px;
  }

  .lp-stats-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .lp-stat:nth-child(2n) {
    padding-left: 0;
    border-left: 0;
  }
}
