/* The landing page (ledger/templates/ledger/landing.html), from Claude Design's
   templates/landing-page (wide screens) and templates/landing-page-mobile (phones: the
   max-width 640px rules at the end). The kit's components are drawn here as the app's
   (frontend/src/components) draw them, with the design's tokens from tokens.css.
   Everything is here: the CSP refuses inline styles. */

@font-face {
  font-family: "Young Serif";
  font-weight: 400;
  font-display: swap;
  src: url("fonts/young-serif-latin-400-normal.de140f3124a8.woff2") format("woff2");
}
@font-face {
  font-family: "Figtree";
  font-weight: 400;
  font-display: swap;
  src: url("fonts/figtree-latin-400-normal.7bfd10a3def3.woff2") format("woff2");
}
@font-face {
  font-family: "Figtree";
  font-weight: 600;
  font-display: swap;
  src: url("fonts/figtree-latin-600-normal.4376f5953b85.woff2") format("woff2");
}
@font-face {
  font-family: "Figtree";
  font-weight: 700;
  font-display: swap;
  src: url("fonts/figtree-latin-700-normal.70aaa6879de5.woff2") format("woff2");
}
@font-face {
  font-family: "DM Mono";
  font-weight: 400;
  font-display: swap;
  src: url("fonts/dm-mono-latin-400-normal.e1ed461ac183.woff2") format("woff2");
}
@font-face {
  font-family: "DM Mono";
  font-weight: 500;
  font-display: swap;
  src: url("fonts/dm-mono-latin-500-normal.c4598219c4b8.woff2") format("woff2");
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
[hidden] { display: none !important; }
body {
  margin: 0; background: var(--color-sand); color: var(--color-ink);
  font-family: var(--font-body); -webkit-font-smoothing: antialiased;
}
a { color: var(--color-sea-deep); }
a:hover { color: var(--color-sea-mid); }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--color-ink); outline-offset: 2px; }
.lp-sea :focus-visible { outline-color: var(--color-on-sea); }
p, h1, h2, h3, h4, ul, ol { margin: 0; }
ul.lp-log, ol.lp-timeline { padding: 0; list-style: none; }
ul.lp-steps { list-style: none; }
strong { font-weight: 600; color: var(--color-ink); }
sup { font-family: var(--font-body); font-size: 13px; vertical-align: super; line-height: 0; }

/* The page clips what the suns throw past its sides. */
.lp-page { overflow-x: clip; }

/* ---- Type --------------------------------------------------------------- */

.lp-h1 {
  font-family: var(--font-display); font-weight: 400; font-size: clamp(52px, 7.4vw, 96px);
  line-height: 1; letter-spacing: -0.02em; text-wrap: balance;
}
.lp-h2 {
  font-family: var(--font-display); font-weight: 400; font-size: clamp(36px, 5vw, 60px);
  line-height: 1.05; letter-spacing: -0.015em; text-wrap: balance;
}
.lp-h3 { font-family: var(--font-display); font-weight: 400; font-size: 34px; line-height: 1.1; }
.lp-h3-small { font-size: 30px; }
.lp-h3-card { font-size: 24px; line-height: 1.15; }
.lp-center { text-align: center; margin-left: auto; margin-right: auto; }
.lp-sub { max-width: 600px; font-size: 19px; line-height: 1.5; color: var(--color-ink-muted); text-wrap: balance; }
/* The bold sentence starts its own line, so no word of it is left alone at the end of
   the first (a lone "O" before "Quits"). */
.lp-sub strong { display: block; }
.lp-label {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--color-ink-muted);
}
/* The kit's Text variants. */
.lp-row-title {
  font-weight: 700; font-size: var(--text-row-title); line-height: var(--text-row-title--line-height);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.lp-meta {
  font-size: var(--text-meta); line-height: var(--text-meta--line-height); color: var(--color-ink-muted);
}
.lp-amount { font-weight: 700; font-size: var(--text-amount); line-height: var(--text-amount--line-height); white-space: nowrap; }
.lp-status { font-weight: 600; font-size: var(--text-status); line-height: var(--text-status--line-height); }
.lp-body-strong { font-weight: 600; font-size: var(--text-body-strong); line-height: var(--text-body-strong--line-height); }
.lp-title-section {
  font-family: var(--font-display); font-weight: 400; font-size: var(--text-title-section);
  line-height: var(--text-title-section--line-height);
}
.lp-figure { font-family: var(--font-mono); font-size: var(--text-figure); line-height: var(--text-figure--line-height); }
.lp-eyebrow-mono {
  font-family: var(--font-mono); font-weight: 500; font-size: var(--text-eyebrow);
  line-height: var(--text-eyebrow--line-height); letter-spacing: var(--text-eyebrow--letter-spacing);
  text-transform: uppercase;
}
.lp-struck { text-decoration: line-through; }
/* Words that differ by screen: "Choose" with a mouse, "Tap" on a phone. */
.lp-phone-only { display: none; }
.lp-grow { flex: 1; min-width: 0; }
.lp-t-owes { color: var(--color-owes); }
.lp-t-gets-back { color: var(--color-gets-back); }
.lp-t-ink-muted { color: var(--color-ink-muted); }
.lp-icon { display: block; flex: none; }
.lp-t-owes, .lp-t-gets-back, .lp-t-ink-muted { display: inline-flex; }
.lp-status.lp-t-owes, .lp-status.lp-t-gets-back, .lp-status.lp-t-ink-muted { display: block; }

/* ---- Colours for the drawings' and avatars' classes --------------------- */

.lp-bg-sky { background: var(--color-sky); }
.lp-bg-honey { background: var(--color-honey); }
.lp-bg-coral { background: var(--color-coral); }
.lp-bg-mint { background: var(--color-mint); }
.lp-f-sun { fill: var(--color-sun); }
.lp-f-sun-shadow { fill: var(--color-sun-shadow); }
.lp-f-sea-deep { fill: var(--color-sea-deep); }
.lp-f-sea-light { fill: var(--color-sea-light); }
.lp-f-ink { fill: var(--color-ink); }
.lp-f-cream { fill: var(--color-cream); }
.lp-f-sand-deep { fill: var(--color-sand-deep); }
.lp-f-on-sea { fill: var(--color-on-sea); }
.lp-f-mint { fill: var(--color-mint); }
.lp-f-honey { fill: var(--color-honey); }
.lp-f-coral { fill: var(--color-coral); }
.lp-f-sky { fill: var(--color-sky); }
.lp-s-ink { stroke: var(--color-ink); }
.lp-s-ink-muted { stroke: var(--color-ink-muted); }
.lp-s-sun { stroke: var(--color-sun); }
.lp-s-divider { stroke: var(--color-divider-dashed); }

/* ---- The kit's pieces ----------------------------------------------------- */

.lp-logo { display: block; flex: none; border-radius: 50%; overflow: hidden; }
.lp-logo svg { display: block; }
.lp-logo-24 { width: 24px; height: 24px; }
.lp-logo-16 { width: 16px; height: 16px; }
.lp-logo-14 { width: 14px; height: 14px; }

.lp-av {
  display: inline-flex; flex: none; align-items: center; justify-content: center;
  border-radius: 50%; font-weight: 700; color: var(--color-ink); line-height: 1;
}
.lp-av-34 { width: 34px; height: 34px; font-size: 14px; }
.lp-av-32 { width: 32px; height: 32px; font-size: 14px; }
.lp-av-30 { width: 30px; height: 30px; font-size: 13px; }
.lp-av-28 { width: 28px; height: 28px; font-size: 13px; }
.lp-av-26 { width: 26px; height: 26px; font-size: 12px; }
.lp-av-24 { width: 24px; height: 24px; font-size: 11px; }
.lp-av-out { border: 1.5px dashed var(--color-left-out); color: var(--color-ink-muted); }

.lp-spark {
  display: inline-flex; flex: none; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--color-sun); color: var(--color-ink);
}
.lp-spark-inline { width: 18px; height: 18px; }
.lp-spark-node { width: 30px; height: 30px; border: 2px solid var(--color-ink); }
/* The kit's LiveSpark, inline: QuitsAI's spark in sun-shadow with two sun stars around it,
   which spill outside its box (tokens.css's spark-wiggle and spark-twinkle, below). */
.lp-live { position: relative; flex: none; display: inline-block; width: 15px; height: 15px; color: var(--color-sun-shadow); }
.lp-live-spark { display: block; line-height: 0; }
.lp-live-star { position: absolute; line-height: 0; color: var(--color-sun); }
.lp-live-star-1 { left: 14px; top: -2px; }
.lp-live-star-2 { left: -6px; top: 9px; }

.lp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; font-weight: 700; text-decoration: none; color: var(--color-ink);
  transition: transform 0.18s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.18s, opacity 0.18s;
}
.lp-btn:hover { color: var(--color-ink); }
.lp-btn-primary {
  height: var(--spacing-button-height); gap: 10px; padding: 0 20px; background: var(--color-sun);
  box-shadow: var(--shadow-button); font-size: var(--text-button);
}
.lp-btn-primary:active { transform: translateY(4px); box-shadow: none; }
.lp-btn-ink { height: 44px; padding: 0 18px; background: var(--color-ink); color: var(--color-on-sea); font-size: 14.5px; }
.lp-btn-ink:hover { color: var(--color-on-sea); }
.lp-btn-light { height: 48px; padding: 0 20px 0 16px; background: var(--color-on-sea); font-size: var(--text-body); }
.lp-btn-outline { height: 44px; padding: 0 18px 0 14px; border: 1.5px solid var(--color-ink); font-size: 14.5px; white-space: nowrap; }
.lp-btn-ink:active, .lp-btn-light:active { transform: scale(0.97); opacity: 0.9; }

.lp-dashed { border-top: 2px dashed var(--color-divider-dashed); }

.lp-banner {
  display: flex; align-items: center; gap: 8px; min-height: 36px; padding: 8px 12px;
  border-radius: 18px; font-weight: 600; font-size: 13px; line-height: 1.4;
}
.lp-banner > span:first-of-type { flex: 1; min-width: 0; }
.lp-banner-success { background: var(--color-mint); }
.lp-banner-info { background: var(--color-sand-deep); }
.lp-banner-action { min-height: 44px; padding-top: 0; padding-bottom: 0; }
.lp-text-action { font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }

/* ---- Nav ------------------------------------------------------------------ */

.lp-nav {
  position: sticky; top: 0; z-index: 20; background: rgba(246, 233, 210, 0.86);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--color-hairline);
}
.lp-nav-in {
  max-width: 1180px; margin: 0 auto; padding: 12px 24px; display: flex; align-items: center;
  justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.lp-brand { display: flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; color: var(--color-ink); }
.lp-brand span:last-child { font-family: var(--font-display); font-size: 26px; line-height: 1; }
.lp-brand:hover { color: var(--color-ink); }
.lp-nav-end { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.lp-nav-links { display: flex; gap: 24px; flex-wrap: wrap; font-size: 15px; }
.lp-nav-links a, .lp-login { color: var(--color-ink); text-decoration: none; }
.lp-nav-links a:hover, .lp-login:hover { color: var(--color-sea-mid); }
.lp-login { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: 600; }
.lp-lang {
  display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--color-cream);
  box-shadow: 0 0 0 1px var(--color-hairline);
}
.lp-lang a, .lp-lang span {
  display: inline-flex; align-items: center; justify-content: center; min-width: 50px; min-height: 40px;
  padding: 0 12px; border-radius: 999px; font-family: var(--font-mono); font-size: 13px;
  letter-spacing: 0.08em; color: var(--color-ink); text-decoration: none;
}
.lp-lang [aria-current] { background: var(--color-ink); color: var(--color-cream); }

/* ---- Hero ------------------------------------------------------------------ */

.lp-hero {
  max-width: 1180px; margin: 0 auto; padding: 72px 24px 96px; display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between; gap: 56px;
}
.lp-hero-words {
  flex: 1 1 440px; max-width: 660px; display: flex; flex-direction: column; gap: 28px;
  container-type: inline-size;
}
/* A sentence a line: sized to the column (cqi), so each fits on one at any width. The
   English is wider ("Go away together." is 8.5 em), so its size is smaller. */
.lp-hero .lp-h1 { font-size: min(74px, 11.6cqi); }
html[lang="pt-br"] .lp-hero .lp-h1 { font-size: min(86px, 14.2cqi); }
.lp-h1-line { display: block; white-space: nowrap; }
.lp-eyebrow { display: flex; align-items: center; gap: 10px; }
.lp-eyebrow span:last-child {
  font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--color-ink-muted);
}
.lp-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--color-sun); }
.lp-lead { font-size: 20px; line-height: 1.5; color: var(--color-ink-muted); text-wrap: pretty; }
.lp-hero-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.lp-more { font-weight: 600; font-size: 17px; text-decoration: none; }
.lp-hero-demo { flex: 0 1 420px; display: flex; justify-content: center; position: relative; padding: 20px 0; }
.lp-sun { position: absolute; border-radius: 50%; background: var(--color-sun); }
/* Its two halos, as the app's sun has (SeaSky), drawn closer: these suns are far
   bigger than the app's, and its proportions would wash over the text. */
.lp-sun::before, .lp-sun::after {
  content: ""; position: absolute; border-radius: 50%; background: var(--color-sun); pointer-events: none;
}
.lp-sun::before { inset: -8%; opacity: 0.14; }
.lp-sun::after { inset: -18%; opacity: 0.08; }
.lp-hero-sun { width: 440px; height: 440px; top: -10px; right: -120px; }
.lp-hero-coral {
  position: absolute; width: 120px; height: 120px; border-radius: 50%; background: var(--color-coral);
  bottom: 40px; left: -30px;
}

/* ---- Sections -------------------------------------------------------------- */

.lp-section { position: relative; padding: 112px 24px; scroll-margin-top: 72px; }
.lp-deep { background: var(--color-sand-deep); }
.lp-sea { overflow: hidden; background: var(--color-sea-deep); color: var(--color-on-sea); }
.lp-sea .lp-sub { color: var(--color-foam); }
.lp-sea strong { color: var(--color-on-sea); }
.lp-sea sup a { color: var(--color-foam); }
.lp-narrow { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 56px; }
.lp-wide { position: relative; max-width: 1180px; margin: 0 auto; display: flex; flex-direction: column; gap: 56px; }
.lp-intro { display: flex; flex-direction: column; gap: 20px; align-items: center; text-align: center; }
.lp-wide > .lp-h2.lp-center { max-width: 820px; }

/* The trip's entries under the app's heading, with its legend for what an assistant
   added (EntryListPanel: SectionHeading with SparkBadge's legend form). */
.lp-log-head { display: flex; flex-direction: column; gap: 4px; }
.lp-legend { display: flex; align-items: center; gap: 6px; }
.lp-legend-label {
  font-family: var(--font-mono); font-weight: 500; font-size: var(--text-tag); line-height: 1.2;
}

/* The trip's entries: the kit's EntryRow on a cream card, with a note under it. */
.lp-log { display: flex; flex-direction: column; gap: 14px; }
.lp-log-card {
  background: var(--color-cream); border-radius: 20px; padding: 6px 18px;
  box-shadow: 0 1px 0 var(--color-divider-dashed), 0 12px 28px -18px rgba(16, 50, 58, 0.3);
}
.lp-entry { display: flex; gap: 12px; }
.lp-entry-stamp { width: 46px; flex: none; display: flex; align-items: center; justify-content: center; }
.lp-stamp {
  width: 46px; height: 46px; flex: none; display: flex; flex-direction: column; align-items: center;
  justify-content: center; border-radius: 50%; border: 2px dashed var(--color-ink);
  background: var(--color-stamp-fill);
}
.lp-stamp-day { font-family: var(--font-display); font-size: 18px; line-height: 1; }
.lp-stamp-month {
  font-family: var(--font-mono); font-size: var(--text-stamp-month); line-height: 1.2;
  letter-spacing: var(--text-stamp-month--letter-spacing); text-transform: uppercase;
}
.lp-tilt-n5 { transform: rotate(-5deg); }
.lp-tilt-n4 { transform: rotate(-4deg); }
.lp-tilt-n3 { transform: rotate(-3deg); }
.lp-tilt-p3 { transform: rotate(3deg); }
.lp-tilt-p4 { transform: rotate(4deg); }
.lp-entry-body { min-height: 58px; min-width: 0; flex: 1; display: flex; align-items: center; gap: 12px; padding: 6px 0; }
.lp-entry-what { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 1px; }
.lp-entry-what .lp-meta { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-entry-title { display: flex; align-items: center; gap: 8px; min-width: 0; }
.lp-entry-figures { display: flex; flex-direction: column; align-items: flex-end; gap: 1px; text-align: right; }
.lp-note {
  display: flex; gap: 10px; align-items: baseline; margin: 2px 0 6px; padding: 12px 0 8px 58px;
  border-top: 1.5px dashed var(--color-divider-dashed); font-size: 15px; line-height: 1.45; text-wrap: pretty;
}
.lp-note-by {
  flex: none; font-family: var(--font-mono); font-weight: 500; font-size: 11.5px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--color-sea-mid);
}

/* Splitting: four tiles, the first and last across the row. */
.lp-bento { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 20px; }
.lp-tile { background: var(--color-cream); border-radius: 28px; padding: 40px; display: flex; flex-direction: column; gap: 28px; }
.lp-tile-full { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; gap: 40px; align-items: center; }
.lp-tile-words { display: flex; flex-direction: column; gap: 12px; }
.lp-tile-full .lp-tile-words { flex: 1 1 300px; }
.lp-tile-full:first-child .lp-tile-words { gap: 16px; }
.lp-tile-text { font-size: 17px; line-height: 1.5; color: var(--color-ink-muted); text-wrap: pretty; }
.lp-tile-demo { background: var(--color-sand); border-radius: 20px; padding: 24px; }
.lp-tile-full .lp-tile-demo { flex: 1 1 380px; }
.lp-stackdemo { flex: 1; display: flex; flex-direction: column; gap: 12px; justify-content: center; }

.lp-who { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.lp-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.lp-pill {
  display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 14px 6px 6px;
  border-radius: 999px; cursor: pointer; font-weight: 600; font-size: 15px; background: var(--color-cream);
  border: 1.5px solid var(--color-ink); transition: transform 0.15s;
}
.lp-pill:active { transform: scale(0.95); }
.lp-pill[aria-pressed="false"] { background: transparent; border: 1.5px dashed var(--color-divider-dashed); }
.lp-pill[aria-pressed="true"] .lp-pill-out, .lp-pill[aria-pressed="false"] .lp-pill-in { display: none; }
.lp-pill-in, .lp-pill-out { display: inline-flex; }

/* The kit's SectionHeading with a tag, SplitCard, SplitBar and SplitRow. */
.lp-split { max-width: 400px; margin: 0 auto; display: flex; flex-direction: column; gap: 4px; }
.lp-heading { min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.lp-tag {
  border-radius: 999px; border: 1.5px solid var(--color-ink); padding: 3px 10px;
  font-family: var(--font-mono); font-weight: 500; font-size: var(--text-tag); line-height: 1.2;
}
.lp-split-card { border-radius: 20px; background: var(--color-cream); padding: 16px 16px 8px; box-shadow: var(--shadow-split); }
.lp-split-bar { height: 14px; display: flex; gap: 3px; }
.lp-seg { flex: 1 1 0; border-radius: 3px; }
.lp-seg-only { border-radius: 7px; }
.lp-seg-first { border-radius: 7px 3px 3px 7px; }
.lp-seg-last { border-radius: 3px 7px 7px 3px; }
.lp-split-card > .lp-figure { margin-top: 8px; }
.lp-split-rows { margin-top: 8px; }
.lp-split-row {
  min-height: 56px; display: flex; align-items: center; gap: 12px; padding: 6px 0;
  border-top: 1px solid var(--color-hairline);
}
.lp-split-row .lp-split-av-out, .lp-split-row.is-out .lp-split-av { display: none; }
.lp-split-row.is-out .lp-split-av-out { display: inline-flex; }
.lp-split-row.is-out .lp-body-strong { color: var(--color-ink-muted); }
.lp-split-av { display: inline-flex; }
.lp-split-who { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 1px; }
.lp-split-share { display: flex; flex-direction: column; align-items: flex-end; gap: 1px; text-align: right; }

/* The kit's ReceiptCard. */
.lp-receipt { border-radius: 20px; background: var(--color-cream); padding: 4px 16px 8px; box-shadow: var(--shadow-split); }
.lp-receipt-item { min-height: 56px; display: flex; align-items: center; gap: 12px; padding: 8px 0; }
.lp-receipt-item + .lp-receipt-item { border-top: 1px solid var(--color-hairline); }
.lp-receipt-what { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 1px; }
.lp-receipt .lp-dashed { margin: 8px 0; }
.lp-receipt-figure { height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.lp-receipt-figure span:first-child { font-size: 14px; color: var(--color-ink-muted); }

/* The kit's TransferList and BalanceRow. */
.lp-transfers {
  background: var(--color-cream); border-radius: 20px; padding: 6px 18px;
  box-shadow: 0 1px 0 var(--color-divider-dashed);
}
.lp-transfer { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 12px 0; }
.lp-transfer + .lp-transfer { border-top: 1px solid var(--color-hairline); }
.lp-transfer-who { display: flex; align-items: center; gap: 4px; }
.lp-balance { min-height: 44px; display: flex; align-items: center; gap: 10px; padding: 4px 0; }

/* The kit's Timeline and ActivityItem. */
.lp-history { max-width: 420px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.lp-timeline { position: relative; display: flex; flex-direction: column; gap: 18px; }
.lp-timeline::before {
  content: ""; position: absolute; top: 14px; bottom: 14px; left: 14px;
  border-left: 2px dashed var(--color-timeline-dash);
}
.lp-activity { position: relative; display: flex; gap: 12px; }
.lp-node { align-self: flex-start; border-radius: 50%; box-shadow: 0 0 0 4px var(--color-sand); display: flex; }
.lp-node-person {
  width: 30px; height: 30px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; border: 2px solid var(--color-ink); background: var(--color-cream);
}
.lp-activity-body { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 2px; padding-top: 3px; }
.lp-activity-what { font-size: 14.5px; line-height: 1.3; }
.lp-activity-what b { font-weight: 700; }
.lp-change { margin-top: 4px; font-family: var(--font-mono); font-size: var(--text-figure); line-height: 1.5; }
.lp-change s { color: var(--color-ink-muted); }
.lp-change b { font-weight: 500; }
.lp-quote {
  margin-top: 6px; padding: 10px 12px; border-radius: 14px; border: 1.5px solid var(--color-divider-dashed);
  background: var(--color-cream); font-family: var(--font-mono); font-size: var(--text-figure); line-height: 1.5;
}

/* Assistants: on the sea, the ways to add an expense and the connect page's scene. */
.lp-assist-sun { width: 220px; height: 220px; top: 64px; right: 8%; }
.lp-assist { flex-direction: row; flex-wrap: wrap; gap: 64px; align-items: center; }
.lp-assist-words { flex: 1 1 420px; display: flex; flex-direction: column; gap: 24px; }
/* The ways to add an expense, beside the words (the hero's demo shows what comes of them). */
.lp-assist-steps { flex: 1 1 360px; }
.lp-eyebrow-plain {
  font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--color-foam);
}
.lp-steps-frame { background: var(--color-sand); border-radius: 20px; padding: 6px; color: var(--color-ink); }
.lp-steps { border-radius: 20px; background: var(--color-cream); padding: 2px 16px; box-shadow: var(--shadow-card); }
.lp-step { display: flex; gap: 14px; padding: 16px 0; }
.lp-step + .lp-step { border-top: 1px solid var(--color-hairline); }
.lp-step > div { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 4px; }
.lp-step-mark {
  width: 40px; height: 40px; flex: none; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; border: 1.5px dashed var(--color-ink); background: var(--color-stamp-fill);
}
.lp-step-title { font-weight: 700; font-size: var(--text-row-title); line-height: var(--text-row-title--line-height); }
.lp-step-body { font-size: 13.5px; line-height: 1.4; color: var(--color-ink-muted); }

/* The kit's AssistantScene: the table drawn at its size and centred, the voices over it. */
.lp-scene-from { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.lp-scene-shares { display: flex; gap: 8px; }
.lp-scene-shares > div { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 2px; }

/* Signal, links and names: three cards. */
.lp-trio { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.lp-card { background: var(--color-cream); border-radius: 28px; padding: 28px; display: flex; flex-direction: column; gap: 24px; }
.lp-card-demo {
  background: var(--color-sand); border-radius: 20px; padding: 20px; min-height: 150px;
  display: flex; align-items: center;
}
.lp-card-demo > * { width: 100%; }
.lp-card-demo-col { flex-direction: column; justify-content: center; align-items: stretch; gap: 10px; }
.lp-card-words { display: flex; flex-direction: column; gap: 8px; }
.lp-card-text { font-size: 16px; line-height: 1.5; color: var(--color-ink-muted); text-wrap: pretty; }
.lp-well { background: var(--color-cream); border-radius: 16px; padding: 12px; }
/* The kit's LinkField, as a picture: nothing to copy here. */
.lp-linkfield {
  height: 56px; display: flex; align-items: center; gap: 8px; border-radius: 16px;
  border: 1.5px solid var(--color-divider-dashed); background: var(--color-sand); padding: 0 6px 0 14px;
}
.lp-linkfield-value {
  min-width: 0; flex: 1; font-family: var(--font-mono); font-size: 13px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.lp-linkfield-copy {
  height: 44px; flex: none; display: flex; align-items: center; gap: 6px; border-radius: 12px;
  background: var(--color-ink); padding: 0 16px; color: var(--color-on-sea); font-weight: 700; font-size: 14.5px;
}
.lp-chiprow {
  display: flex; align-items: center; gap: 10px; background: var(--color-cream); border-radius: 14px;
  padding: 10px 12px;
}
.lp-chiprow-name { flex: 1; font-weight: 600; font-size: 15px; }
.lp-chiprow-note { font-size: 12.5px; color: var(--color-ink-muted); }
.lp-chiprow-note.lp-t-gets-back { color: var(--color-gets-back); }

/* The last call, with the sun setting into the footer. */
.lp-final { padding: 120px 24px; }
/* Sand under the waves' last pixels: where the section ends part-way through a device
   pixel, the sand wave's soft edge would show the sea through it as a blue line. */
.lp-final { padding-bottom: 200px; background: linear-gradient(to top, var(--color-sand) 4px, var(--color-sea-deep) 4px); }
.lp-final-sun { width: 520px; height: 520px; left: 50%; bottom: -300px; margin-left: -260px; }

/* The app's sea along the bottom of the last call, the sun setting behind it. */
/* Each wave at the phone's scale (one viewBox unit a pixel across, 96 px tall), so
   wider screens show more of them; the strip reaches a pixel past the section so no
   water shows under the sand. */
.lp-waves { position: absolute; right: 0; bottom: -1px; left: 0; height: 97px; overflow: hidden; pointer-events: none; }
.lp-bob-far, .lp-bob-near { position: absolute; inset: 0; }
.lp-wave { position: absolute; top: 0; left: 0; }
.lp-wave svg { display: block; }
.lp-wave-far path { fill: var(--color-sea-mid); }

/* The sun on the water, as SeaSky's glints: short pills on the far wave, under the sun,
   at twice the app's size for a sun this big. */
.lp-glints { position: absolute; top: 13px; left: 50%; width: 0; height: 0; opacity: 0.9; }
.lp-glint { position: absolute; top: 0; height: 3px; border-radius: 999px; background: var(--color-on-sea); }
/* Five, spread across the sun's width rather than bunched at its middle. */
.lp-glint-1 { left: -200px; top: 1px; width: 18px; }
.lp-glint-2 { left: -92px; top: 4px; width: 26px; }
.lp-glint-3 { left: 6px; top: 0; width: 16px; }
.lp-glint-4 { left: 104px; top: 3px; width: 22px; }
.lp-glint-5 { left: 188px; top: 1px; width: 14px; }

/* SeaSky's two clouds, each two pills, crossing the sky behind the words. */
.lp-clouds { position: absolute; inset: 0; pointer-events: none; }
.lp-cloud { position: absolute; left: 0; width: 100%; }
.lp-cloud span { position: absolute; border-radius: 999px; background: var(--color-midday-cloud); }
.lp-cloud-a { top: 14%; height: 34px; }
.lp-cloud-a span:first-child { left: 40%; top: 14px; width: 120px; height: 20px; }
.lp-cloud-a span:last-child { left: calc(40% + 28px); top: 0; width: 56px; height: 28px; }
.lp-cloud-b { top: 46%; height: 26px; }
.lp-cloud-b span:first-child { left: 46%; top: 10px; width: 88px; height: 16px; }
.lp-cloud-b span:last-child { left: calc(46% + 20px); top: 0; width: 40px; height: 22px; }
.lp-wave-near path { fill: var(--color-sea-light); }
.lp-wave-sand path { fill: var(--color-sand); }
.lp-final-in {
  position: relative; max-width: 720px; margin: 0 auto; display: flex; flex-direction: column;
  align-items: center; text-align: center; gap: 24px; padding-bottom: 80px;
}
.lp-h2-final { font-size: clamp(40px, 6vw, 72px); line-height: 1.02; letter-spacing: -0.02em; }

/* Connecting an assistant, under the assistants' words on the sea. */
.lp-connect { margin-top: 72px; gap: 28px; }
.lp-connect-head { display: flex; flex-direction: column; gap: 12px; max-width: 640px; }
.lp-connect-head .lp-h3 { color: var(--color-on-sea); }
.lp-connect-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.lp-connect-card {
  display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: 24px;
  background: var(--color-cream); color: var(--color-ink);
}
.lp-connect-card .lp-card-text a { color: var(--color-sea-deep); }
.lp-connect-card strong { color: var(--color-ink); }
.lp-connect-name { font-family: var(--font-display); font-weight: 400; font-size: 24px; line-height: 1.15; }
.lp-connect-btn { align-self: flex-start; margin-top: auto; }
.lp-connect-btn:hover { color: var(--color-on-sea); }
.lp-connect-note { font-size: 13px; line-height: 1.5; color: var(--color-ink-muted); }
.lp-linkfield-live { padding-right: 6px; }
.lp-linkfield-live .lp-linkfield-copy { border: 0; cursor: pointer; font-family: var(--font-body); }
.lp-linkfield-live .lp-linkfield-copy:active { transform: scale(0.97); }
.lp-trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 12px 24px; padding: 0; list-style: none; }
.lp-trust li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; line-height: 1.5; color: var(--color-foam); }
.lp-trust .lp-icon { margin-top: 3px; color: var(--color-sun); }

/* Coming from Splitwise: the steps beside the import as the assistant reports it. */
.lp-switch { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 56px; }
.lp-switch-words { flex: 1 1 420px; display: flex; flex-direction: column; gap: 20px; }
.lp-switch-words .lp-label { color: var(--color-sea-mid); font-weight: 500; }
.lp-steps-plain { margin: 0; padding: 2px 16px; border-radius: 20px; background: var(--color-cream); box-shadow: var(--shadow-card); }
.lp-step-number { font-family: var(--font-display); font-size: 18px; line-height: 1; }
.lp-switch-demo { flex: 1 1 360px; display: flex; justify-content: center; }
.lp-import { width: 100%; max-width: 420px; display: flex; flex-direction: column; gap: 14px; }
.lp-import-ask {
  align-self: flex-end; max-width: 90%; display: flex; flex-direction: column; align-items: flex-end; gap: 8px;
  padding: 12px 14px; border-radius: 20px 20px 6px 20px; background: var(--color-cream); box-shadow: var(--shadow-card);
}
.lp-import-ask p { font-size: 15px; line-height: 1.4; }
.lp-import-file {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 12px;
  background: var(--color-sand); font-family: var(--font-mono); font-size: 12px; overflow-wrap: anywhere;
}
.lp-import-result {
  display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: 20px;
  border: 1.5px solid var(--color-divider-dashed); background: var(--color-cream); box-shadow: var(--shadow-ticket);
}

/* QuitsAI: the words and its three ways beside the app's sheet, drawn after dark in the
   design's night colours (the app's QuitsAiSheet and its expense card, SPEC §6). */
.lp-ai { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 56px; }
.lp-ai-words { flex: 1 1 420px; display: flex; flex-direction: column; gap: 20px; }
.lp-ai-words .lp-label { color: var(--color-sea-mid); font-weight: 500; }
.lp-ai-note { font-size: 16px; line-height: 1.5; color: var(--color-ink); text-wrap: pretty; }
.lp-ai-fine { font-size: 13px; line-height: 1.5; color: var(--color-ink-muted); text-wrap: pretty; }
.lp-ai-demo { flex: 1 1 360px; display: flex; justify-content: center; }
.lp-ai-sheet {
  width: 100%; max-width: 400px; display: flex; flex-direction: column; overflow: hidden;
  border-radius: 28px; background: var(--color-night-bg); color: var(--color-night-text);
  box-shadow: 0 40px 80px -30px rgba(16, 50, 58, 0.55);
}
.lp-ai-head {
  display: flex; align-items: center; gap: 10px; padding: 16px 16px 14px;
  border-bottom: 1px solid var(--color-night-hairline);
}
.lp-ai-disc {
  width: 34px; height: 34px; flex: none; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--color-sun); color: var(--color-ink);
}
.lp-ai-disc-small { width: 24px; height: 24px; }
.lp-ai-name { flex: 1; font-family: var(--font-display); font-size: 24px; line-height: 1; }
.lp-ai-pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px;
  border: 1px solid var(--color-night-line); background: var(--color-night-raised);
  font-weight: 600; font-size: 13px; color: var(--color-night-text);
}
.lp-ai-chat { display: flex; flex-direction: column; gap: 12px; padding: 18px 14px 14px; }
.lp-ai-bubble {
  align-self: flex-end; max-width: 82%; padding: 10px 14px; border-radius: 18px 18px 6px 18px;
  background: var(--color-night-bubble); font-size: 15px; line-height: 1.4;
}
.lp-ai-quiet {
  display: flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 11.5px;
  line-height: 1.4; color: var(--color-night-label);
}
.lp-ai-says { display: flex; gap: 10px; align-items: flex-start; }
.lp-ai-says p { font-size: 15px; line-height: 1.45; text-wrap: pretty; }
.lp-ai-card {
  display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 18px;
  background: var(--color-night-raised); border: 1px solid var(--color-night-card-hairline);
}
.lp-ai-card-head { display: flex; align-items: flex-start; gap: 10px; }
.lp-ai-card-what { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 2px; }
.lp-ai-card-title { font-family: var(--font-display); font-size: 20px; line-height: 1.15; }
.lp-ai-card-meta, .lp-ai-muted { font-size: 12.5px; line-height: 1.35; color: var(--color-night-muted); }
.lp-ai-card-status {
  flex: none; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--color-night-outline);
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--color-night-label);
}
.lp-ai-ticket { display: flex; flex-direction: column; padding: 2px 12px; border-radius: 14px; background: var(--color-night-well); }
.lp-ai-line {
  min-height: 40px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font-size: 13px; color: var(--color-night-muted);
}
.lp-ai-line + .lp-ai-line { border-top: 1px solid var(--color-night-hairline); }
.lp-ai-strong { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; color: var(--color-night-text); white-space: nowrap; }
.lp-ai-total { font-weight: 700; font-size: 17px; color: var(--color-night-text); }
.lp-ai-bar { height: 10px; }
.lp-ai-row { min-height: 44px; display: flex; align-items: center; gap: 10px; }
.lp-ai-row + .lp-ai-row { border-top: 1px solid var(--color-night-hairline); }
.lp-ai-who { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 1px; }
.lp-ai-split { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--color-night-muted); }
.lp-ai-tick { display: inline-flex; color: var(--color-night-gets); }
.lp-ai-add { align-self: stretch; height: 48px; font-size: 15px; box-shadow: 0 4px 0 var(--color-sun-shadow); }
.lp-ai-cancel { align-self: center; padding: 4px 0 2px; font-weight: 600; font-size: 14px; color: var(--color-night-muted); }
.lp-ai-foot { display: flex; align-items: center; gap: 10px; padding: 10px 14px 16px; border-top: 1px solid var(--color-night-hairline); }
.lp-ai-input {
  min-width: 0; flex: 1; height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 0 14px 0 18px; border-radius: 999px; border: 1px solid var(--color-night-line);
  background: var(--color-night-raised); color: var(--color-night-icon); font-size: 14.5px;
}
.lp-ai-input span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--color-night-placeholder); }
.lp-ai-mic {
  width: 48px; height: 48px; flex: none; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--color-night-disc); color: var(--color-night-icon);
}

/* Pricing: Quits and QuitsAI, both free (QuitsAI for now, with a daily limit). */
.lp-prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 20px; max-width: 860px; width: 100%; margin: 0 auto; }
.lp-price { gap: 20px; }
.lp-price-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.lp-price-tag { font-family: var(--font-display); font-size: 30px; line-height: 1; }
.lp-price-list { display: flex; flex-direction: column; gap: 10px; padding: 0; list-style: none; }
.lp-price-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; line-height: 1.45; }
.lp-price-list .lp-icon { margin-top: 2px; color: var(--color-gets-back); }
.lp-price .lp-btn { align-self: flex-start; margin-top: auto; }
/* QuitsAI's card after dark, like its sheet above, with the sun's glow in a corner. */
.lp-price-ai {
  position: relative; overflow: hidden; background: var(--color-night-bg); color: var(--color-night-text);
  box-shadow: inset 0 0 0 1px var(--color-night-line), 0 40px 80px -30px rgba(16, 50, 58, 0.55);
}
.lp-price-ai::before {
  content: ""; position: absolute; top: -120px; right: -120px; width: 320px; height: 320px; pointer-events: none;
  background: radial-gradient(closest-side, var(--color-night-glow), transparent);
}
.lp-price-ai > * { position: relative; }
.lp-price-name { display: flex; align-items: center; gap: 10px; }
.lp-price-new {
  padding: 3px 9px; border-radius: 999px; background: var(--color-night-selected); color: var(--color-sun);
  font-family: var(--font-body); font-weight: 600; font-size: 12px; line-height: 1.3;
}
.lp-price-ai .lp-price-tag { color: var(--color-sun); }
.lp-price-ai .lp-card-text { color: var(--color-night-muted); }
.lp-price-ai .lp-price-list .lp-icon { color: var(--color-night-gets); }

/* The questions, each one opening in place. */
.lp-faq { display: flex; flex-direction: column; gap: 10px; }
.lp-faq details { border-radius: 18px; background: var(--color-cream); padding: 0 20px; }
.lp-faq summary {
  min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  cursor: pointer; list-style: none; font-weight: 700; font-size: 17px; line-height: 1.35;
}
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after {
  content: "+"; flex: none; font-family: var(--font-mono); font-size: 20px; color: var(--color-ink-muted);
}
.lp-faq details[open] summary::after { content: "−"; }
.lp-faq details p { padding: 0 0 18px; font-size: 16px; line-height: 1.55; color: var(--color-ink-muted); }
.lp-faq-more { text-align: center; font-size: 15px; color: var(--color-ink-muted); }
.lp-final-note { position: relative; font-size: 14px; color: var(--color-foam); }

/* A call to action closing a section, worded for what it just showed. */
.lp-section-cta { display: flex; justify-content: center; }
.lp-section-cta-start { justify-content: flex-start; }

/* ---- Help, privacy and terms (pages/base.html) ---------------------------------- */

.lp-doc-main { position: relative; padding: 0 24px 96px; }
.lp-doc-sun { width: 260px; height: 260px; top: -90px; right: -60px; }
.lp-doc-head { position: relative; max-width: 760px; margin: 0 auto; padding: 72px 0 36px; }
.lp-doc-title {
  font-family: var(--font-display); font-weight: 400; font-size: clamp(44px, 6vw, 72px);
  line-height: 1.02; letter-spacing: -0.02em; text-wrap: balance;
}
.lp-doc {
  position: relative; max-width: 760px; margin: 0 auto; background: var(--color-cream);
  border-radius: 28px; padding: 48px 56px; box-shadow: 0 1px 0 var(--color-divider-dashed),
  0 18px 40px -28px rgba(16, 50, 58, 0.35);
  font-size: 17px; line-height: 1.6; text-wrap: pretty;
}
.lp-doc h2 {
  margin: 40px 0 12px; font-family: var(--font-display); font-weight: 400; font-size: 28px;
  line-height: 1.15;
}
.lp-doc h3 { margin: 28px 0 8px; font-size: 18px; font-weight: 700; line-height: 1.3; }
.lp-doc > :first-child { margin-top: 0; }
.lp-doc p, .lp-doc ul, .lp-doc ol { margin: 0 0 14px; }
.lp-doc ul, .lp-doc ol { padding-left: 22px; }
.lp-doc li { margin: 6px 0; }
.lp-doc a { font-weight: 600; text-underline-offset: 3px; }
.lp-doc strong { font-weight: 700; }
.lp-doc code {
  padding: 2px 6px; border-radius: 8px; background: var(--color-sand); font-family: var(--font-mono);
  font-size: 0.85em; overflow-wrap: anywhere;
}
.lp-doc .lp-table-wrap { overflow-x: auto; margin: 0 0 14px; }
.lp-doc table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.45; }
.lp-doc th {
  padding: 8px 10px 8px 0; text-align: left; vertical-align: bottom; font-family: var(--font-mono);
  font-weight: 400; font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--color-ink-muted);
}
.lp-doc td { padding: 12px 10px 12px 0; vertical-align: top; border-top: 1px solid var(--color-hairline); }
.lp-doc td code { white-space: nowrap; }

/* ---- Blog (ledger/templates/ledger/blog/) ----------------------------------- */

.lp-blog-lead { margin-top: 16px; }
.lp-posts { position: relative; max-width: 760px; margin: 0 auto; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 16px; }
.lp-post-card {
  display: flex; flex-direction: column; gap: 8px; padding: 28px 32px; border-radius: 28px;
  background: var(--color-cream); color: var(--color-ink); text-decoration: none;
  box-shadow: 0 1px 0 var(--color-divider-dashed), 0 18px 40px -28px rgba(16, 50, 58, 0.35);
  transition: transform 0.18s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.lp-post-card:hover { color: var(--color-ink); transform: translateY(-2px); }
.lp-post-card-title { font-family: var(--font-display); font-weight: 400; font-size: 26px; line-height: 1.15; text-wrap: balance; }
.lp-post-card-text { color: var(--color-ink-muted); font-size: 16px; line-height: 1.5; }
.lp-post-none { color: var(--color-ink-muted); }
.lp-post-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-family: var(--font-mono);
  font-size: 12.5px; letter-spacing: 0.04em; color: var(--color-ink-muted);
}
.lp-post-back { display: inline-block; margin-bottom: 16px; font-weight: 600; text-decoration: none; }
.lp-post-title { font-size: clamp(36px, 4.6vw, 54px); line-height: 1.06; margin-bottom: 16px; }
/* A comparison: wide enough to read, scrolling sideways in its .lp-table-wrap on a phone,
   with Quits' column (the second) stressed. */
.lp-compare { min-width: 600px; }
.lp-compare td:first-child { font-weight: 600; }
.lp-compare th:nth-child(2) { color: var(--color-ink); }
.lp-compare td:nth-child(2) { font-weight: 700; }
.lp-doc blockquote {
  margin: 0 0 14px; padding: 4px 0 4px 18px; border-left: 3px solid var(--color-sun);
  font-style: italic; color: var(--color-ink-muted);
}

/* A post's picture of the app, drawn like the kit: its screen on the app's sand. */
.lp-post-figure { margin: 24px 0 28px; }
.lp-post-screen {
  max-width: 420px; margin: 0 auto; padding: 20px 16px; border-radius: 24px;
  background: var(--color-sand); display: flex; flex-direction: column; gap: 14px;
}
.lp-post-figure figcaption {
  margin-top: 10px; text-align: center; font-size: 14px; line-height: 1.4;
  color: var(--color-ink-muted);
}
/* Activity's day card (ActivityFeed.tsx): the label inside, a hairline between rows that
   starts after the avatars. */
.lp-feed-day {
  overflow: hidden; border-radius: 20px; background: var(--color-cream);
  box-shadow: 0 1px 0 var(--color-divider-dashed), 0 12px 28px -18px rgba(16, 50, 58, 0.3);
}
.lp-doc .lp-feed-label {
  margin: 0; padding: 14px 16px 4px; font-family: var(--font-mono); font-weight: 500;
  font-size: var(--text-eyebrow); line-height: var(--text-eyebrow--line-height);
  letter-spacing: var(--text-eyebrow--letter-spacing); text-transform: uppercase;
  color: var(--color-ink-muted);
}
.lp-doc .lp-feed { margin: 0; padding: 0; list-style: none; }
.lp-doc .lp-feed-row {
  margin: 0; min-height: 64px; padding: 12px 16px; display: flex; align-items: center; gap: 12px;
  position: relative;
}
.lp-feed-row + .lp-feed-row::before {
  content: ""; position: absolute; top: 0; left: 62px; right: 0; height: 1px;
  background: var(--color-hairline);
}
.lp-feed-what { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 2px; }
.lp-doc .lp-feed-sentence { margin: 0; font-size: var(--text-body); line-height: 1.35; }
.lp-feed-sentence b { font-weight: 700; }
.lp-feed-object { font-weight: 600; }
.lp-feed-what .lp-meta { font-size: 13.5px; }
.lp-feed-money { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 1px; }
.lp-feed-muted { color: var(--color-ink-muted); }
.lp-feed-deleted { color: var(--color-owes); }

/* ---- Blog figures: quits-ai (conheca-o-quitsai) ---- */
/* QuitsAI's sheet is after dark, so its figures are drawn on the night, not the sand. */
.lp-quits-ai-night {
  padding: 4px 14px; gap: 0; background: var(--color-night-bg); color: var(--color-night-text);
  box-shadow: 0 20px 40px -24px rgba(16, 50, 58, 0.55);
}
/* The three ways in (blog/quits-ai_ways.html): the app's composer, once per way, with
   its name over it and a hairline between them. */
.lp-quits-ai-way { display: flex; flex-direction: column; gap: 10px; padding: 16px 0; }
.lp-quits-ai-way + .lp-quits-ai-way { border-top: 1px solid var(--color-night-hairline); }
.lp-doc .lp-quits-ai-way-label {
  margin: 0; display: flex; align-items: center; gap: 8px; font-family: var(--font-mono);
  font-weight: 500; font-size: var(--text-eyebrow); line-height: var(--text-eyebrow--line-height);
  letter-spacing: var(--text-eyebrow--letter-spacing); text-transform: uppercase;
  color: var(--color-night-label);
}
.lp-quits-ai-way .lp-chat-ai-input { font-size: 15px; }
.lp-quits-ai-way .lp-chat-ai-listen { min-width: 0; }
.lp-quits-ai-slide { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.lp-quits-ai-sun { color: var(--color-sun); }
/* Held: the mic lit, with the app's soft halo round the finger. */
.lp-quits-ai-held { box-shadow: 0 0 0 6px rgba(255, 182, 39, 0.22); }
/* The kiosk's sheet (blog/quits-ai_kiosk.html): the landing's .lp-ai-sheet, as wide as
   the post's other screens, with the post's paragraph spacing taken off its words. */
.lp-quits-ai-sheet { max-width: 420px; margin: 0 auto; box-shadow: 0 20px 40px -24px rgba(16, 50, 58, 0.55); }
.lp-doc .lp-quits-ai-sheet p { margin: 0; }
.lp-quits-ai-sheet .lp-ai-card-head { flex-wrap: wrap; row-gap: 8px; }
.lp-quits-ai-sheet .lp-ai-card-what { flex: 1 1 200px; }
/* end quits-ai */

/* ---- Blog figures: splitwise (splitwise-alternatives, sair-do-splitwise) ---- */
/* A busy day's expenses (splitwise_day_figure.html) on Activity's day card, without the
   avatars, so the hairline starts at the row's edge. */
.lp-splitwise-day-row + .lp-splitwise-day-row::before { left: 16px; }
/* A conversation with an assistant, drawn plainly (no assistant's own look): what you
   sent on the right, its words on the left, and the Quits card (.lp-mcp) where it shows
   one. On cream, so the sand card stands out from it. */
.lp-splitwise-chat {
  display: flex; flex-direction: column; gap: 12px; padding: 16px 14px; border-radius: 20px;
  background: var(--color-cream);
  box-shadow: 0 1px 0 var(--color-divider-dashed), 0 12px 28px -18px rgba(16, 50, 58, 0.3);
}
.lp-doc .lp-splitwise-chat p, .lp-doc .lp-splitwise-chat ul { margin: 0; }
.lp-splitwise-me { align-self: flex-end; max-width: 88%; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.lp-splitwise-bubble {
  padding: 10px 14px; border-radius: 18px 18px 6px 18px; background: var(--color-sand);
  font-size: 15px; line-height: 1.4;
}
.lp-splitwise-shot { width: 129px; height: 158px; flex: none; border-radius: 14px; overflow: hidden; }
.lp-splitwise-shot .lp-chat-photo { zoom: 0.6; border-radius: 0; }
.lp-splitwise-file {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 12px;
  background: var(--color-sand-deep); font-family: var(--font-mono); font-size: 12px; line-height: 1.3;
  overflow-wrap: anywhere;
}
.lp-splitwise-says { display: flex; flex-direction: column; gap: 8px; font-size: 15px; line-height: 1.5; }
.lp-doc .lp-splitwise-says ul { padding-left: 18px; }
.lp-doc .lp-splitwise-says li { margin: 2px 0; }
.lp-splitwise-says b { font-weight: 700; }
.lp-splitwise-chat .lp-mcp { zoom: 0.72; }

/* A Splitwise export's first and last lines, as the file has them. */
.lp-splitwise-csv {
  display: flex; flex-direction: column; gap: 8px; padding: 12px 14px; border-radius: 16px;
  border: 1.5px dashed var(--color-divider-dashed); background: var(--color-cream);
}
.lp-splitwise-csv-name { display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 12px; color: var(--color-ink-muted); overflow-wrap: anywhere; }
.lp-splitwise-csv-lines {
  display: flex; flex-direction: column; gap: 2px; font-family: var(--font-mono); font-size: 11.5px;
  line-height: 1.5; color: var(--color-ink-muted); overflow-wrap: anywhere;
}
.lp-splitwise-csv-total { color: var(--color-ink); font-weight: 500; }
.lp-splitwise-trip { font-family: var(--font-display); font-size: var(--text-title-section); line-height: var(--text-title-section--line-height); }
.lp-splitwise-ticket .lp-mcp-balance { min-height: 48px; }
.lp-splitwise-ticket .lp-dashed:last-child { margin: 6px 0 12px; }
/* end splitwise */

/* ---- Blog figures: guides (dividir-gastos-de-viagem, dividir-contas-de-casa, dividir-despesas-do-casal) ---- */
/* The guides' figures (blog/guides_*.html) reuse the landing's kit: the entries' rows,
   SplitCard and TransferRow. Here are only what the posts' text rules undo and the few
   pieces the landing doesn't draw. */
.lp-guides-heading { padding: 0 2px; }
/* A trip's Entries on the sand (EntryRow): rows that touch, and the dashed line down the
   stamps' column, behind the stamps, from the first to the last. */
.lp-doc .lp-guides-entries { position: relative; margin: 0; padding: 0; list-style: none; }
.lp-guides-entries::before {
  content: ""; position: absolute; top: 34px; bottom: 34px; left: 22px;
  border-left: 2px dashed var(--color-timeline-dash);
}
.lp-doc .lp-guides-entries > li { position: relative; margin: 0; }
.lp-guides-entries .lp-entry-body { min-height: 68px; }
.lp-guides-entries .lp-entry-figures { flex: none; }
/* On a phone the list takes a little of the post's margin, so a row's title and who paid
   fit beside its figures as they do in the app at 360 px. */
@media (max-width: 640px) {
  .lp-post-screen.lp-guides-roomy { margin-left: -10px; margin-right: -10px; padding-left: 8px; padding-right: 10px; }
}
/* Settle up's cream card (TransferList), with what you owe or are owed on top. */
.lp-guides-card {
  display: flex; flex-direction: column; padding: 4px 18px; border-radius: 20px;
  background: var(--color-cream); box-shadow: var(--shadow-split);
}
.lp-guides-card > .lp-eyebrow-mono { padding: 14px 0 2px; }
.lp-guides-card .lp-transfer { flex-wrap: nowrap; }
/* SplitCard: its working, and those left out in one quiet sentence (SplitLeftOut). */
.lp-guides-working { margin-top: 8px; }
.lp-guides-left-out {
  padding: 14px 0 12px; border-top: 1px solid var(--color-hairline); font-size: 14px;
  line-height: 1.4; color: var(--color-ink-muted);
}
/* Two splits one above the other, each as wide as the screen allows (the kit's
   SplitCard is centred with auto margins, which would size each to its own text). */
.lp-guides-splits > .lp-split { width: 100%; }
/* A split by percentage: the bar's segments sized by each share (60 and 40). */
.lp-guides-seg-3 { flex-grow: 3; }
.lp-guides-seg-2 { flex-grow: 2; }
/* end guides */

/* ---- Blog figures: capture (dividir-conta-por-item, dividir-conta-por-audio) ---- */
/* By item (capture_item_*.html): the entry page's receipt and split, the bar weighted by
   each share (95.70, 171.60, 99.00, 95.70), as the app's SplitBar is. */
.lp-capture-split { width: 100%; }
.lp-capture-working { display: block; margin-top: 8px; }
/* On a phone the payer's "you get back" wraps, not their name. */
.lp-capture-split .lp-split-who { flex: none; }
.lp-capture-split .lp-split-share { flex: 1; min-width: 0; }
.lp-capture-seg-andre, .lp-capture-seg-ana { flex: 9570 1 0; }
.lp-capture-seg-theo { flex: 17160 1 0; }
.lp-capture-seg-yuki { flex: 9900 1 0; }
/* By voice (capture_voice_*.html): QuitsAI's sheet after dark, as the landing draws it
   (quits_ai.html, chat.html), on the app's sand. The post's p rules reset inside it. */
.lp-capture-sheet { max-width: none; box-shadow: 0 24px 48px -28px rgba(16, 50, 58, 0.55); }
.lp-doc .lp-capture-sheet p { margin: 0; }
.lp-capture-sheet { line-height: 1.4; }
.lp-capture-prompt {
  padding: 22px 16px 8px; font-family: var(--font-display); font-size: 26px; line-height: 1.2;
}
.lp-capture-sheet .lp-chat-ai-foot { padding-bottom: 16px; }
/* Not saved yet goes under the title when the two don't fit, as in the hero's thread. */
.lp-capture-sheet .lp-ai-card-head { flex-wrap: wrap; row-gap: 8px; }
.lp-capture-sheet .lp-ai-card-head > .lp-ai-card-what { flex: 1 1 210px; }
/* end capture */

/* ---- Blog figures: connect (conectar-ao-claude, conectar-ao-chatgpt) ---- */
/* lp-connect-fig-*: the landing already has lp-connect-* for its own section. */
/* A phone's screen: the sea header across the top, a cream ticket over its waves. */
.lp-post-screen.lp-connect-fig-phone {
  position: relative; overflow: hidden; gap: 0; padding: 0 0 16px;
  font-size: var(--text-body); line-height: 1.4; color: var(--color-ink);
}
/* The sea header at midday (blog/connect_sea.html): the sun, the title kept out of its
   column, and the landing's waves running into the sand. */
.lp-connect-fig-sea {
  position: relative; display: flex; flex-direction: column; align-items: flex-start;
  min-height: 180px; padding: 18px 18px 96px; background: var(--color-sea-deep); color: var(--color-on-sea);
}
.lp-connect-fig-sun { width: 54px; height: 54px; top: 16px; right: 34px; }
.lp-connect-fig-back {
  width: 40px; height: 40px; margin-bottom: 12px; display: flex; align-items: center;
  justify-content: center; border-radius: 50%; border: 1.5px solid var(--color-on-sea);
}
.lp-connect-fig-title {
  position: relative; padding-right: 92px; font-family: var(--font-display); font-size: 30px;
  line-height: 1.1;
}
.lp-connect-fig-detail { position: relative; margin-top: 6px; font-size: 13.5px; line-height: 1.4; color: var(--color-foam); }
/* The consent page's ticket (app.css's .ticket and .consent rules), a little smaller. */
.lp-connect-fig-ticket {
  position: relative; margin: -50px 14px 0; padding: 18px 16px; display: flex; flex-direction: column;
  border-radius: 20px; background: var(--color-cream); box-shadow: var(--shadow-ticket);
}
.lp-connect-fig-h { font-family: var(--font-display); font-size: 22px; line-height: 1.2; }
.lp-connect-fig-known {
  align-self: flex-start; margin-top: 8px; padding: 2px 8px; border-radius: 999px;
  background: var(--color-mint); font-weight: 700; font-size: 11px; line-height: 1.3;
}
.lp-connect-fig-lede { margin-top: 6px; font-size: 14px; color: var(--color-ink-muted); overflow-wrap: anywhere; }
.lp-connect-fig-ticket b { font-weight: 700; }
.lp-connect-fig-rule { margin: 12px 0 14px; }
.lp-connect-fig-dest {
  padding: 10px 12px; border-radius: 14px; border: 1.5px solid var(--color-divider-dashed);
  background: var(--color-sand); font-size: 14.5px;
}
.lp-connect-fig-text { margin-top: 12px; font-size: 14.5px; }
.lp-doc .lp-connect-fig-scopes { margin: 4px 0 0; padding-left: 20px; font-size: 14.5px; }
.lp-doc .lp-connect-fig-scopes li { margin: 4px 0 0; }
.lp-connect-fig-small { margin-top: 12px; font-size: 13px; color: var(--color-ink-muted); }
.lp-connect-fig-small u { font-weight: 600; color: var(--color-ink); text-underline-offset: 3px; }
.lp-connect-fig-allow, .lp-connect-fig-deny {
  display: flex; align-items: center; justify-content: center; border-radius: 999px; font-weight: 700;
}
.lp-connect-fig-allow {
  height: 52px; margin-top: 16px; background: var(--color-sun); box-shadow: var(--shadow-button);
  font-size: 16px;
}
.lp-connect-fig-deny { height: 48px; margin-top: 12px; border: 2px solid var(--color-ink); font-size: 15px; }
/* Connected assistants (ConnectedAppsPanel): a card per assistant, then the outline button. */
.lp-connect-fig-apps { position: relative; margin: -50px 14px 0; display: flex; flex-direction: column; gap: 12px; }
.lp-connect-fig-app {
  display: flex; flex-direction: column; gap: 2px; padding: 16px; border-radius: 20px;
  background: var(--color-cream); box-shadow: var(--shadow-card);
}
.lp-connect-fig-name { font-weight: 700; font-size: var(--text-row-title); line-height: var(--text-row-title--line-height); }
.lp-connect-fig-scope { font-size: var(--text-body); line-height: 1.4; }
.lp-connect-fig-app .lp-meta + .lp-connect-fig-scope { margin-top: 10px; }
.lp-connect-fig-disconnect {
  min-height: 40px; margin-top: 6px; display: flex; align-items: flex-end; font-weight: 700;
  font-size: 15px; color: var(--color-owes);
}
.lp-connect-fig-another { width: 100%; height: 48px; }
/* The Quits card in the chat (blog/connect_card.html), on the post's cream as an
   assistant shows it, a little larger than the landing's phone draws it. */
.lp-connect-fig-card { max-width: 400px; margin: 0 auto; }
.lp-connect-fig-card .lp-mcp { zoom: 0.9; }
/* end connect */

/* ---- Blog figures: trust (acertar-as-contas, nada-salvo-sem-seu-sim) ---- */
/* The post's p, ul, ol and li rules off inside the drawings (blog/trust_*_figure.html). */
.lp-doc .lp-trust-screen { font-size: var(--text-body); line-height: 1.4; }
.lp-doc .lp-trust-screen p, .lp-doc .lp-trust-screen ul, .lp-doc .lp-trust-screen ol,
.lp-doc .lp-trust-screen li { margin: 0; padding: 0; list-style: none; }
/* The trip's People: a cream card, a row per person with the balance in words. */
.lp-trust-people {
  overflow: hidden; border-radius: 20px; background: var(--color-cream);
  box-shadow: 0 1px 0 var(--color-divider-dashed), 0 12px 28px -18px rgba(16, 50, 58, 0.3);
}
.lp-doc .lp-trust-screen .lp-trust-person { min-height: 64px; padding: 10px 14px 10px 16px; display: flex; align-items: center; gap: 12px; }
.lp-trust-person + .lp-trust-person { border-top: 1px solid var(--color-hairline); }
.lp-trust-person .lp-status { white-space: nowrap; }
.lp-trust-chevron { display: flex; flex: none; color: var(--color-ink-muted); }
/* Settle up: the ticket with what you're owed, each payment with Record under it. */
.lp-transfers.lp-trust-ticket { padding: 16px 18px 4px; box-shadow: var(--shadow-card); }
.lp-trust-eyebrow { padding-bottom: 2px; }
.lp-trust-record { flex: 1 0 100%; height: 48px; padding: 0 18px; font-size: var(--text-body); }
.lp-trust-others { margin-top: 6px; }
.lp-transfer.lp-trust-loose { padding-top: 0; }
/* The Quits card in a plain chat: a white page, the person's words in a grey bubble. */
.lp-trust-chat {
  --chat-bg: #ffffff; --chat-ink: #0d0d0d; --chat-user-bg: #f2f2f2; --chat-user-radius: 20px;
  --chat-asst-font: var(--font-body); --chat-asst-size: 16px;
  background: var(--chat-bg); color: var(--chat-ink); box-shadow: inset 0 0 0 1px var(--color-hairline);
}
.lp-trust-chat .lp-chat-yes { max-width: 85%; line-height: 1.4; }
.lp-trust-chat .lp-mcp { color: var(--color-ink); }
.lp-trust-chat .lp-mcp-foot { flex-wrap: wrap; }
/* An entry's Activity, the deleted banner under it as on the entry's page. */
.lp-trust-history { gap: 18px; }
.lp-doc .lp-trust-history .lp-change, .lp-doc .lp-trust-history .lp-quote { margin-top: 6px; }
.lp-doc .lp-trust-history .lp-quote { padding: 10px 12px; }
.lp-trust-reason { color: var(--color-ink); }
/* end trust */

/* ---- Footer ---------------------------------------------------------------- */

.lp-foot { padding: 48px 24px 64px; }
.lp-foot-in { gap: 28px; }
.lp-footnotes {
  padding-left: 20px; display: flex; flex-direction: column; gap: 8px; max-width: 760px;
  font-size: 13px; line-height: 1.5; color: var(--color-ink-muted);
}
.lp-footnotes li { scroll-margin-top: 80px; }
.lp-foot-bar {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  padding-top: 24px; border-top: 1px solid var(--color-divider-dashed); font-size: 13px; color: var(--color-ink-muted);
}
.lp-foot-links { display: flex; gap: 8px 20px; flex-wrap: wrap; }
.lp-foot-links a {
  display: inline-flex; align-items: center; min-height: 44px; color: var(--color-ink); font-weight: 600;
  font-size: 14px; text-underline-offset: 3px;
}
.lp-company { font-size: 13px; line-height: 1.6; color: var(--color-ink-muted); }
.lp-foot-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 32px; flex-wrap: wrap; }
.lp-foot-brand { flex: none; }

/* ---- The chat demo ------------------------------------------------------------ */

/* ChatGPT's and Claude's own look, roughly: these colours are theirs, not the design's. */
.lp-chat {
  --chat-bg: #ffffff; --chat-ink: #0d0d0d; --chat-muted: #5d5d5d; --chat-faint: #8f8f8f;
  --chat-hair: #ececec; --chat-wave: #b9b9b9; --chat-user-bg: #f2f2f2; --chat-user-radius: 20px;
  --chat-font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", sans-serif;
  --chat-asst-font: var(--chat-font); --chat-asst-size: 16px; --chat-title-font: var(--chat-font);
  --chat-title-weight: 600; --chat-composer-border: #e3e3e3; --chat-composer-radius: 26px;
  --chat-send-on: #0d0d0d; --chat-send-off: #d4d4d4; --chat-send-radius: 50%;
  --chat-shimmer: linear-gradient(90deg, #a3a3a3 0%, #a3a3a3 40%, #0d0d0d 50%, #a3a3a3 60%, #a3a3a3 100%);
  position: relative; width: 100%; display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.lp-chat[data-chat="claude"] {
  --chat-bg: #faf9f5; --chat-ink: #1f1e1d; --chat-muted: #6b6862; --chat-faint: #97938a;
  --chat-hair: #e8e5da; --chat-wave: #c9c4b8; --chat-user-bg: #efece3; --chat-user-radius: 14px;
  --chat-asst-font: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif; --chat-asst-size: 16.5px;
  --chat-title-font: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif; --chat-title-weight: 500;
  --chat-composer-border: #e3dfd3; --chat-composer-radius: 18px; --chat-send-on: #c96442;
  --chat-send-off: #e8c6b8; --chat-send-radius: 10px;
  --chat-shimmer: linear-gradient(90deg, #aaa59a 0%, #aaa59a 40%, #1f1e1d 50%, #aaa59a 60%, #aaa59a 100%);
}
/* QuitsAI: the app's sheet after dark, in the design's night colours (tokens.css). */
.lp-chat[data-chat="quitsai"] {
  --chat-bg: var(--color-night-bg); --chat-ink: var(--color-night-text); --chat-muted: var(--color-night-muted);
  --chat-faint: var(--color-night-label); --chat-hair: var(--color-night-hairline); --chat-font: var(--font-body);
}
.lp-chat[data-chat="chatgpt"] .lp-for-claude, .lp-chat[data-chat="claude"] .lp-for-chatgpt,
.lp-chat[data-chat="quitsai"] .lp-for-assistants, .lp-chat:not([data-chat="quitsai"]) .lp-for-quitsai { display: none; }

.lp-chat-switch {
  position: relative; z-index: 2; display: flex; gap: 4px; padding: 4px; border-radius: 999px;
  background: var(--color-cream); box-shadow: 0 0 0 1px var(--color-hairline);
}
.lp-chat-switch button {
  min-height: 36px; padding: 0 18px; border: 0; border-radius: 999px; cursor: pointer;
  font-family: var(--font-body); font-weight: 600; font-size: 14px; background: transparent; color: var(--color-ink);
}
.lp-chat-switch button[aria-pressed="true"] { background: var(--color-ink); color: var(--color-cream); }
.lp-chat-switch button[data-theme="quitsai"] { display: inline-flex; align-items: center; gap: 6px; padding-left: 14px; }
.lp-chat-switch button[data-theme="quitsai"] .lp-icon { color: var(--color-sun-shadow); }
.lp-chat-switch button[data-theme="quitsai"][aria-pressed="true"] .lp-icon { color: var(--color-sun); }

.lp-chat-device {
  --lp-device-scale: 1;
  position: relative; width: 390px; max-width: 100%; height: 780px; border-radius: 58px;
  background: var(--color-ink); padding: 11px;
  box-shadow: 0 40px 80px -30px rgba(16, 50, 58, 0.55), 0 0 0 1px rgba(16, 50, 58, 0.4);
  /* Shrunk to the window's height on a wide screen (below), with the space it frees
     given back, so the whole phone shows under the nav. A transform, not a smaller
     phone: landing.js measures the conversation in the phone's own pixels. */
  transform: scale(var(--lp-device-scale)); transform-origin: top center;
  margin-bottom: calc(780px * (var(--lp-device-scale) - 1));
}
/* Above the phone, the nav, the hero's top and the switch take 183 px (with the hero's
   top cut to 32 px here): each step fits the shortest window it covers. */
@media (min-width: 641px) and (max-height: 1030px) {
  .lp-hero { padding-top: 32px; }
  .lp-chat-device { --lp-device-scale: 0.96; }
}
@media (min-width: 641px) and (max-height: 970px) { .lp-chat-device { --lp-device-scale: 0.92; } }
@media (min-width: 641px) and (max-height: 910px) { .lp-chat-device { --lp-device-scale: 0.85; } }
@media (min-width: 641px) and (max-height: 850px) { .lp-chat-device { --lp-device-scale: 0.77; } }
@media (min-width: 641px) and (max-height: 790px) { .lp-chat-device { --lp-device-scale: 0.7; } }
@media (min-width: 641px) and (max-height: 730px) { .lp-chat-device { --lp-device-scale: 0.64; } }
.lp-chat-screen {
  position: relative; width: 100%; height: 100%; border-radius: 47px; overflow: hidden;
  background: var(--chat-bg); color: var(--chat-ink); font-family: var(--chat-font);
  display: flex; flex-direction: column; transition: background-color 0.3s;
}
.lp-chat-status {
  height: 48px; flex: none; display: flex; align-items: center; justify-content: space-between;
  padding: 0 30px; font-size: 15px; font-weight: 600;
}
.lp-chat-island { width: 96px; height: 28px; border-radius: 999px; background: #0d0d0d; }
.lp-chat-battery { width: 24px; height: 11px; border-radius: 3px; border: 1.5px solid currentColor; }
.lp-chat-top {
  height: 48px; flex: none; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0 12px 0 18px; border-bottom: 1px solid var(--chat-hair);
}
.lp-chat-title { font-family: var(--chat-title-font); font-size: 17px; font-weight: var(--chat-title-weight); }
.lp-chat-tools { display: flex; align-items: center; justify-content: flex-end; gap: 6px; }
.lp-chat-paused { font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--chat-faint); }
.lp-chat-replay {
  width: 36px; height: 36px; padding: 0; border-radius: 50%; border: 1px solid var(--chat-hair);
  background: transparent; color: var(--chat-ink); cursor: pointer; display: flex; align-items: center;
  justify-content: center;
}
.lp-chat-view { position: relative; flex: 1; overflow: hidden; }
/* Without the script the conversation shows to its end; landing.js scrolls it as it plays. */
.lp-chat-content {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 16px 18px;
  display: flex; flex-direction: column; gap: 14px;
}
.lp-chat-live .lp-chat-content { top: 0; bottom: auto; transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1); }
.lp-chat-live .lp-chat-replay { display: flex; }
.lp-chat-replay { display: none; }

.lp-chat-photo {
  align-self: flex-end; position: relative; width: 214px; height: 262px; flex: none; border-radius: 18px;
  overflow: hidden; background: #4b3d31;
  background-image: radial-gradient(ellipse at 42% 38%, #8b735e 0%, #5a4a3c 58%, #352a22 100%);
}
.lp-chat-slip {
  position: absolute; left: 29px; top: 18px; width: 156px; padding: 12px 11px 14px; background: #fbfaf5;
  transform: rotate(-4deg); box-shadow: 0 12px 20px rgba(0, 0, 0, 0.38), 0 1px 2px rgba(0, 0, 0, 0.25);
  font-family: "Courier New", ui-monospace, monospace; font-size: 7.4px; line-height: 1.48; color: #2a2a2a;
}
.lp-slip-head { text-align: center; font-weight: 700; font-size: 9.6px; letter-spacing: 0.08em; }
.lp-slip-center { text-align: center; white-space: pre; }
.lp-slip-rule { border-top: 1px dashed #9a978f; margin: 5px 0; }
.lp-slip-line { display: flex; justify-content: space-between; gap: 6px; }
.lp-slip-total { font-weight: 700; font-size: 9px; margin-top: 3px; }

.lp-chat-voice { align-self: flex-end; max-width: 86%; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.lp-chat-note {
  display: flex; align-items: center; gap: 10px; padding: 9px 14px 9px 9px;
  border-radius: var(--chat-user-radius); background: var(--chat-user-bg);
}
.lp-chat-play {
  width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--chat-ink);
  display: flex; align-items: center; justify-content: center;
}
.lp-chat-f-bg { fill: var(--chat-bg); }
.lp-chat-wave { display: flex; align-items: center; gap: 2px; height: 26px; }
.lp-chat-bar { display: block; width: 3px; border-radius: 2px; background: var(--chat-wave); }
.lp-chat-bar.is-played { background: var(--chat-ink); }
.lp-h-7 { height: 7px; } .lp-h-8 { height: 8px; } .lp-h-9 { height: 9px; } .lp-h-10 { height: 10px; }
.lp-h-11 { height: 11px; } .lp-h-12 { height: 12px; } .lp-h-13 { height: 13px; } .lp-h-14 { height: 14px; }
.lp-h-15 { height: 15px; } .lp-h-16 { height: 16px; } .lp-h-17 { height: 17px; } .lp-h-18 { height: 18px; }
.lp-h-19 { height: 19px; } .lp-h-20 { height: 20px; } .lp-h-21 { height: 21px; } .lp-h-22 { height: 22px; }
.lp-h-23 { height: 23px; } .lp-h-24 { height: 24px; }
.lp-chat-time { font-size: 13px; font-variant-numeric: tabular-nums; color: var(--chat-muted); }
.lp-chat-transcript { min-height: 1px; font-size: 12.5px; line-height: 1.45; color: var(--chat-faint); text-align: right; text-wrap: pretty; }

.lp-chat-dots { display: flex; gap: 5px; padding: 8px 0; }
.lp-chat-dots span { display: block; width: 7px; height: 7px; border-radius: 50%; background: var(--chat-faint); }
.lp-chat-chip { display: flex; align-items: center; gap: 8px; font-size: 13.5px; }
.lp-chat-chip-tight { margin-top: -6px; }
.lp-chat-shimmer {
  background-image: var(--chat-shimmer); background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lp-chat-done { color: var(--chat-faint); }
.lp-chat-say { font-family: var(--chat-asst-font); font-size: var(--chat-asst-size); line-height: 1.5; text-wrap: pretty; }
.lp-chat-say b { font-weight: 650; }

/* The Quits card in the chat (backend/mcp_server/card.html, Claude Design:
   templates/mcp-cards): the app's own look, in either assistant. At four fifths of the
   app's size, as the app's demo draws it (ChatDemo's CARD_SCALE): full size, its 28 px
   title and 60 px button swamp the phone's chat. zoom, not a transform, so its box
   shrinks too and landing.js measures the conversation as it shows. */
.lp-mcp {
  zoom: 0.8; border-radius: 24px; background: var(--color-sand); border: 1px solid var(--color-hairline); overflow: hidden;
  font-family: var(--font-body); font-size: var(--text-body); line-height: 1.4; color: var(--color-ink);
}
.lp-mcp-head { display: flex; flex-direction: column; gap: 4px; padding: 22px 20px 16px; }
.lp-mcp-title { font-family: var(--font-display); font-size: 28px; line-height: 1.15; }
.lp-mcp-pill {
  align-self: flex-start; margin-top: 10px; padding: 4px 10px; border-radius: 999px;
  border: 1.5px solid var(--color-divider-dashed); font-family: var(--font-mono); font-weight: 500;
  font-size: 11px; line-height: 1.3; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-ink-muted);
}
.lp-mcp-body { display: flex; flex-direction: column; gap: 14px; padding: 0 20px 18px; }
.lp-mcp-added { display: flex; align-items: center; gap: 10px; padding-top: 18px; font-weight: 600; font-size: 14px; line-height: 1.35; }
.lp-mcp-tick {
  width: 22px; height: 22px; flex: none; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--color-sun);
}
.lp-mcp-ticket { padding: 18px 18px 6px; border-radius: 20px; background: var(--color-cream); box-shadow: var(--shadow-ticket); }
.lp-mcp-figure { margin-top: 2px; font-family: var(--font-display); font-size: 42px; line-height: 1.15; letter-spacing: -0.01em; }
.lp-mcp-ticket .lp-dashed { margin-top: 10px; }
.lp-mcp-row + .lp-mcp-row, .lp-mcp-balance + .lp-mcp-balance { border-top: 1px solid var(--color-hairline); }
.lp-mcp-row { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--color-ink-muted); }
.lp-mcp-value { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: var(--text-body-strong); color: var(--color-ink); }
.lp-mcp-balance { min-height: 44px; display: flex; align-items: center; gap: 10px; padding: 4px 0; }
.lp-mcp-figs { display: flex; flex-direction: column; align-items: flex-end; gap: 1px; }
/* The bar's segments, by each one's share of the R$ 592.90. */
.lp-mcp-seg-0 { flex: 24530 1 0; }
.lp-mcp-seg-1 { flex: 20240 1 0; }
.lp-mcp-seg-2 { flex: 14520 1 0; }
.lp-mcp .lp-split-card .lp-figure { margin-top: 8px; }
.lp-mcp .lp-split-row > .lp-amount { margin-left: auto; }
.lp-mcp .lp-btn-primary { align-self: stretch; }
.lp-mcp-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px;
  border-top: 1.5px dashed var(--color-divider-dashed);
}
.lp-mcp-hint { min-width: 0; font-size: 13px; color: var(--color-ink-muted); text-align: right; }
.lp-mcp-brand { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-size: 19px; line-height: 1; }
.lp-chat-yes {
  align-self: flex-end; padding: 9px 16px; border-radius: var(--chat-user-radius);
  background: var(--chat-user-bg); font-size: 16px;
}
.lp-chat-foot { flex: none; padding: 8px 12px 22px; background: var(--chat-bg); }
.lp-chat-composer {
  display: flex; flex-direction: column; gap: 8px; padding: 10px 10px 10px 14px; background: #ffffff;
  border: 1px solid var(--chat-composer-border); border-radius: var(--chat-composer-radius);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.07);
}
.lp-chat-thumb {
  position: relative; width: 56px; height: 56px; border-radius: 12px; overflow: hidden; background: #4b3d31;
  background-image: radial-gradient(ellipse at 42% 38%, #8b735e 0%, #5a4a3c 58%, #352a22 100%);
}
.lp-chat-thumb span {
  position: absolute; left: 15px; top: 7px; display: block; width: 27px; height: 44px;
  background-color: #fbfaf5; background-image: repeating-linear-gradient(#fbfaf5 0 3px, #bdb9ae 3px 4px);
  background-size: 19px 100%; background-position: 4px 4px; background-repeat: no-repeat;
  transform: rotate(-4deg); box-shadow: 0 3px 5px rgba(0, 0, 0, 0.35);
}
.lp-chat-input { min-height: 24px; display: flex; align-items: center; font-size: 16px; }
.lp-chat-input [data-k="typing"] { display: flex; align-items: center; }
.lp-chat-caret { display: block; width: 2px; height: 18px; margin-left: 1px; background: var(--chat-ink); }
.lp-chat-placeholder { color: var(--chat-faint); }
.lp-chat-actions { display: flex; align-items: center; justify-content: space-between; }
.lp-chat-attach {
  width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--chat-composer-border);
  display: flex; align-items: center; justify-content: center; color: var(--chat-muted);
}
.lp-chat-send {
  width: 32px; height: 32px; border-radius: var(--chat-send-radius); background: var(--chat-send-off);
  display: flex; align-items: center; justify-content: center; transition: background-color 0.2s;
}
.lp-chat-send.is-on { background: var(--chat-send-on); }

/* QuitsAI in the chat's phone: the QuitsAI section's sheet (.lp-ai-*) with the app's
   header, thread and composer (QuitsAiSheet, UserBubble, NightCard, Composer). */
.lp-chat-ai-top { display: flex; gap: 10px; padding: 0 12px 0 14px; height: 56px; }
.lp-chat-ai-disc { width: 30px; height: 30px; }
.lp-chat-ai-name { flex: 1; font-family: var(--font-display); font-size: 22px; line-height: 1; }
.lp-chat-ai-pill { padding: 6px 10px; font-size: 12.5px; }
.lp-chat-ai-thread { gap: 12px; padding: 16px 14px 16px; }
.lp-chat-ai-prompt { position: absolute; top: 20px; left: 18px; right: 18px; font-family: var(--font-display); font-size: 26px; line-height: 1.2; }
/* The status goes under the title when the two don't fit beside each other. */
.lp-chat-ai-thread .lp-ai-card-head { flex-wrap: wrap; row-gap: 8px; }
.lp-chat-ai-thread .lp-ai-card-head > .lp-ai-card-what { flex: 1 1 210px; }
.lp-chat-ai-sent { align-self: flex-end; max-width: 82%; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.lp-chat-ai-sent .lp-ai-bubble { max-width: none; }
/* The photo sent: 140 px tall, as the app's thread has it (the chat's photo, shrunk). */
.lp-chat-ai-shot { width: 115px; height: 140px; flex: none; border-radius: 14px; overflow: hidden; border: 1px solid var(--color-night-line); }
.lp-chat-ai-shot .lp-chat-photo { zoom: 0.535; border-radius: 0; }
.lp-chat-ai-dots { padding: 8px 0; }
.lp-chat-ai-dots span { background: var(--color-night-muted); }
.lp-chat-ai-body { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: 13.5px; color: var(--color-night-muted); }
.lp-chat-ai-name-strong { font-weight: 600; color: var(--color-night-text); }
.lp-chat-ai-total { font-weight: 700; font-size: 18px; color: var(--color-night-text); }
.lp-chat-ai-people { border-top: 1px solid var(--color-night-card-hairline); border-bottom: 1px solid var(--color-night-card-hairline); }
.lp-chat-ai-attach { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--color-night-muted); }
.lp-chat-ai-tile {
  width: 32px; height: 32px; flex: none; overflow: hidden; border-radius: 8px;
  border: 1px solid var(--color-night-line); background: var(--color-night-well);
}
.lp-chat-ai-tile .lp-chat-thumb { zoom: 0.572; border-radius: 0; }
.lp-chat-ai-actions { display: flex; flex-direction: column; gap: 6px; }
.lp-chat-ai-add { position: relative; height: 46px; }
.lp-chat-ai-add.is-pressed { transform: translateY(4px); box-shadow: none; }
.lp-chat-ai-ring { display: flex; }
/* The finger's tap on Add. */
.lp-chat-ai-tap {
  position: absolute; left: 50%; top: 50%; width: 40px; height: 40px; margin: -20px 0 0 -20px;
  border-radius: 50%; background: var(--color-night-text); opacity: 0.35; pointer-events: none;
}
.lp-chat-ai-check { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; color: var(--color-night-icon); }
.lp-chat-ai-tick {
  width: 20px; height: 20px; flex: none; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--color-night-icon); color: var(--color-night-raised);
}
.lp-chat-ai-owes { font-size: 12.5px; color: var(--color-night-owes); }
.lp-ai-strong.lp-chat-ai-owes { font-size: 14px; }
.lp-chat-ai-link {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 10px;
  border-radius: 999px; background: var(--color-night-bubble); font-weight: 600; font-size: 14px;
}
.lp-chat-ai-ringed { display: flex; border-radius: 50%; border: 1.5px solid var(--color-cream); }

.lp-chat-ai-foot {
  flex: none; display: flex; flex-direction: column; gap: 10px; padding: 10px 14px 22px 16px;
  border-top: 1px solid var(--color-night-hairline); background: var(--color-night-bg);
}
.lp-chat-ai-photos { display: flex; gap: 8px; }
.lp-chat-ai-bar { display: flex; align-items: flex-end; gap: 8px; }
.lp-chat-ai-input {
  min-width: 0; flex: 1; min-height: 48px; display: flex; align-items: flex-end; gap: 8px;
  padding: 0 12px 0 18px; border-radius: 24px; border: 1px solid var(--color-night-line);
  background: var(--color-night-raised); color: var(--color-night-icon); font-size: 15px; line-height: 1.4;
}
.lp-chat-ai-field { min-width: 0; flex: 1; display: flex; padding: 12px 0; }
.lp-chat-ai-hint { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--color-night-placeholder); }
/* Up to five lines, as the app's pill grows. */
.lp-chat-ai-words { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5; overflow: hidden; color: var(--color-night-text); }
.lp-chat-ai-listen { display: flex; align-items: center; gap: 8px; white-space: nowrap; color: var(--color-night-muted); }
.lp-chat-ai-rec { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--color-sun); }
.lp-chat-ai-clock { font-variant-numeric: tabular-nums; color: var(--color-night-text); }
.lp-chat-ai-camera { height: 46px; flex: none; display: flex; align-items: center; transition: color 0.2s; }
.lp-chat-ai-camera.is-on { color: var(--color-sun); }
.lp-chat-ai-button {
  width: 48px; height: 48px; flex: none; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--color-night-disc); color: var(--color-night-icon);
  transition: background-color 0.2s, transform 0.15s;
}
.lp-chat-ai-button.is-sun { background: var(--color-sun); color: var(--color-ink); }
.lp-chat-ai-button.is-pressed { transform: scale(0.9); }
.lp-chat-ai-glyph { display: flex; }

/* ---- Phones (templates/landing-page-mobile) ------------------------------------ */

@media (max-width: 640px) {
  body { background: var(--color-sand-deep); }
  .lp-page { max-width: 480px; margin: 0 auto; background: var(--color-sand); }

  .lp-nav { background: rgba(246, 233, 210, 0.9); }
  .lp-nav-in { padding: 8px 16px 8px 20px; gap: 12px; flex-wrap: nowrap; }
  .lp-brand { gap: 9px; }
  .lp-brand span:last-child { font-size: 24px; }
  .lp-nav-end { gap: 8px; flex-wrap: nowrap; }
  /* EN | PT and Start a trip: signing up matters more than logging in here, and the
     sign-up page links to log in. Narrower pills and button so Criar viagem fits on
     one line beside the brand at 360 px. */
  .lp-nav-links, .lp-login, .lp-wide-only { display: none; }
  .lp-lang a, .lp-lang span { min-width: 40px; padding: 0 10px; }
  .lp-nav-cta { flex: none; padding: 0 14px; white-space: nowrap; }
  .lp-phone-only { display: inline; }

  .lp-hero { position: relative; overflow: hidden; flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 24px; padding: 36px 20px 64px; }
  .lp-hero-words { flex: none; max-width: none; gap: 24px; }
  .lp-eyebrow span:last-child { font-size: 12px; }
  .lp-dot { width: 9px; height: 9px; }
  .lp-h1 { font-size: 50px; }
  /* Still a sentence a line, as in Portuguese: the English comes out smaller. */
  .lp-hero .lp-h1 { font-size: min(50px, 11.6cqi); }
  html[lang="pt-br"] .lp-hero .lp-h1 { font-size: min(50px, 14.2cqi); }
  .lp-lead { font-size: 18px; }
  .lp-hero-actions { flex-direction: column; align-items: center; gap: 6px; }
  .lp-hero-actions .lp-btn-primary { align-self: stretch; }
  .lp-more { display: flex; align-items: center; min-height: 44px; font-size: 16px; }
  .lp-hero-demo { flex: none; margin-top: 12px; padding: 0; }
  .lp-hero-sun { width: 320px; height: 320px; top: 40px; right: -130px; }
  .lp-hero-coral { width: 96px; height: 96px; bottom: -28px; left: -44px; }

  .lp-chat-device {
    width: 100%; height: 600px; border-radius: 26px; background: none; padding: 0;
    box-shadow: 0 30px 60px -30px rgba(16, 50, 58, 0.5), 0 0 0 1px var(--color-hairline);
  }
  .lp-chat-screen { border-radius: 26px; }
  .lp-chat-status { display: none; }
  .lp-chat-foot { padding: 8px 12px 14px; }
  .lp-chat-ai-foot { padding-bottom: 14px; }
  /* Three options at 360 px. */
  .lp-chat-switch button { padding: 0 14px; }
  .lp-chat-switch button[data-theme="quitsai"] { padding-left: 11px; }

  .lp-section { padding: 72px 16px; scroll-margin-top: 64px; }
  .lp-narrow, .lp-wide { gap: 32px; }
  #entries .lp-narrow { gap: 36px; }
  .lp-intro { align-items: stretch; text-align: left; gap: 16px; padding: 0 4px; }
  .lp-h2, .lp-wide > .lp-h2.lp-center { font-size: 38px; text-align: left; margin: 0; padding: 0 4px; }
  .lp-intro .lp-h2 { padding: 0; }
  .lp-sub { font-size: 17px; }

  .lp-log { gap: 12px; }
  .lp-log-card { padding: 4px 14px; }
  .lp-note { flex-direction: column; gap: 4px; padding: 12px 0 8px; }
  .lp-note-by { font-size: 11px; }

  .lp-bento { display: flex; flex-direction: column; gap: 32px; }
  .lp-tile, .lp-tile-full { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 20px; border-radius: 24px; padding: 24px 16px 16px; }
  .lp-tile-words, .lp-tile-full .lp-tile-words { flex: none; gap: 10px; padding: 0 4px; }
  .lp-tile-full:first-child .lp-tile-words { gap: 12px; }
  .lp-h3, .lp-h3-small { font-size: 27px; line-height: 1.12; }
  .lp-tile-text { font-size: 16px; }
  .lp-tile-demo, .lp-tile-full .lp-tile-demo { flex: none; border-radius: 18px; padding: 14px 12px; }
  .lp-split { max-width: none; }
  .lp-history { max-width: none; }
  .lp-transfers { border-radius: 16px; padding: 4px 14px; }
  .lp-who { margin-top: 10px; }
  .lp-label { font-size: 11px; }
  .lp-pills { display: grid; grid-template-columns: 1fr 1fr; }
  .lp-pill { min-height: 48px; padding: 6px 12px 6px 6px; }
  .lp-pill .lp-av { width: 32px; height: 32px; font-size: 14px; }
  .lp-pill-name { flex: 1; text-align: left; }

  .lp-assist { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 32px; }
  .lp-assist-sun { width: 160px; height: 160px; top: -48px; right: -40px; }
  .lp-assist-words, .lp-assist-steps { flex: none; }
  .lp-assist-words { gap: 18px; }
  .lp-assist-words > * { padding: 0 4px; }
  .lp-eyebrow-plain { font-size: 12px; }
  .lp-steps-frame { padding: 4px; }

  .lp-trio { display: flex; flex-direction: column; gap: 12px; }
  .lp-card { border-radius: 24px; padding: 16px 16px 22px; gap: 18px; }
  .lp-card-demo { border-radius: 16px; padding: 14px; min-height: 0; }
  .lp-card-demo-col { gap: 8px; }
  .lp-card-words { gap: 6px; padding: 0 4px; }
  .lp-h3-card { font-size: 23px; }
  .lp-well { border-radius: 14px; padding: 10px; }
  .lp-chiprow-note { font-size: 13px; }

  .lp-final { padding: 80px 20px 190px; }
  .lp-final-sun { width: 360px; height: 360px; bottom: -200px; margin-left: -180px; }
  .lp-glint-1 { left: -136px; }
  .lp-glint-2 { left: -62px; }
  .lp-glint-4 { left: 70px; }
  .lp-glint-5 { left: 128px; }
  .lp-final-in { gap: 20px; padding-bottom: 0; }
  .lp-h2-final { font-size: 42px; text-align: center; padding: 0; }

  .lp-doc-main { padding: 0 12px 64px; }
  .lp-doc-sun { width: 180px; height: 180px; top: -70px; right: -70px; }
  .lp-doc-head { padding: 40px 8px 24px; }
  .lp-doc-title { font-size: 44px; }
  .lp-doc { border-radius: 24px; padding: 28px 20px; font-size: 16px; }
  .lp-doc h2 { margin-top: 32px; font-size: 24px; }
  .lp-post-title { font-size: 34px; }
  .lp-post-card { padding: 22px 20px; border-radius: 24px; }
  .lp-post-card-title { font-size: 22px; }
  .lp-connect { margin-top: 48px; gap: 20px; padding: 0 4px; }
  .lp-connect-card { padding: 20px 16px; border-radius: 20px; }
  .lp-switch { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 32px; }
  .lp-switch-words { flex: none; gap: 16px; }
  .lp-switch-words > :not(.lp-steps) { padding: 0 4px; }
  .lp-switch-demo { flex: none; }
  .lp-ai { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 32px; }
  .lp-ai-words { flex: none; gap: 16px; }
  .lp-ai-words > :not(.lp-steps) { padding: 0 4px; }
  .lp-ai-demo { flex: none; }
  .lp-prices { gap: 12px; }
  .lp-faq details { padding: 0 16px; }
  .lp-faq summary { font-size: 16px; }
  .lp-foot-bottom { flex-direction: column-reverse; align-items: flex-start; }
  .lp-foot { padding: 40px 20px 48px; }
  .lp-foot-in { gap: 24px; }
  .lp-footnotes { padding-left: 18px; }
  .lp-foot-bar { flex-direction: column; align-items: flex-start; gap: 6px; padding-top: 20px; }
}

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

/* How the suns and the sea move, as in the app (sky.css's MOTION), only when the phone
   doesn't ask for reduced motion: on the compositor, by transform and opacity. */
@media (prefers-reduced-motion: no-preference) {
  .lp-sun { animation: lp-sun-body 3.6s ease-in-out infinite alternate; }
  .lp-sun::before { animation: lp-sun-halo 3.6s ease-in-out infinite alternate; }
  .lp-sun::after { animation: lp-sun-halo-outer 3.6s ease-in-out -0.5s infinite alternate; }
  .lp-wave-far { animation: lp-drift-left 16s linear infinite; }
  .lp-wave-near { animation: lp-drift-right 22s linear infinite; }
  .lp-wave-sand { animation: lp-drift-left 34s linear infinite; }
  .lp-bob-far { animation: lp-bob 3.4s ease-in-out infinite alternate; }
  .lp-glint { animation: lp-twinkle 1.8s ease-in-out infinite alternate; }
  .lp-glint-2 { animation-delay: -0.6s; }
  .lp-live-spark { animation: lp-spark-wiggle 5s ease-in-out infinite; }
  .lp-live-star { animation: lp-spark-twinkle 2.6s ease-in-out 0s infinite backwards; }
  .lp-live-star-2 { animation-delay: 1.3s; }
  .lp-glint-3 { animation-delay: -1.1s; }
  .lp-glint-4 { animation-delay: -0.3s; }
  .lp-glint-5 { animation-delay: -1.5s; }
  .lp-cloud-a { animation: lp-cloud 70s linear -35s infinite; }
  .lp-cloud-b { animation: lp-cloud 50s linear -23s infinite; }
  .lp-bob-near { animation: lp-bob 4.2s ease-in-out infinite alternate-reverse; }
}
@keyframes lp-sun-body { to { transform: scale(1.04); } }
@keyframes lp-sun-halo { from { opacity: 0.1; } to { opacity: 0.14; transform: scale(1.12); } }
@keyframes lp-sun-halo-outer { from { opacity: 0.056; } to { opacity: 0.08; transform: scale(1.12); } }
/* One wave period a loop, so the seam never shows: 130 px for the far wave and the
   sand, 195 px for the near one (SeaSky's 25% and 33.33% of its paths). */
@keyframes lp-drift-left { to { transform: translateX(-130px); } }
@keyframes lp-drift-right { from { transform: translateX(-195px); } to { transform: translateX(0); } }
@keyframes lp-bob { to { transform: translateY(2px); } }
@keyframes lp-twinkle { to { opacity: 0.25; } }
@keyframes lp-spark-wiggle {
  0%, 68%, 100% { transform: rotate(0deg) scale(1); } 72% { transform: rotate(-16deg) scale(1.12); }
  76% { transform: rotate(14deg) scale(1.12); } 80% { transform: rotate(-10deg) scale(1.06); }
  84% { transform: rotate(6deg) scale(1.02); } 88% { transform: rotate(0deg) scale(1); }
}
@keyframes lp-spark-twinkle {
  0%, 100% { opacity: 0; transform: scale(0.2) rotate(0deg); } 50% { opacity: 1; transform: scale(1) rotate(45deg); }
}
/* In from the right edge and out past the left, as SeaSky's clouds cross. */
@keyframes lp-cloud { from { transform: translateX(62%); } to { transform: translateX(-62%); } }
