/* ==========================================================================================================
   The home page, made clearer: what Lull is in one line under the headline, what it costs and needs right by the
   button, three steps at a glance, a row of real covers, pricing and common questions, and (on phones) shorter
   scrolling: the app tour swipes sideways, the conversation topics sit on one line, and Text Lull stays in reach.
   Loaded after landing.css on the home page only, in the same ivory and slate, with the same type.
   ========================================================================================================== */

/* ---------- The first screen ---------- */
.lp-sub {
  margin: 18px 0 0; max-width: 30em;
  font-family: var(--font); font-size: clamp(18px, 1.45vw, 21px); line-height: 1.5; color: var(--ink-2);
  text-wrap: pretty; animation: lp-rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) 0.24s backwards;
}
.lp-cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; margin-top: 30px; animation: lp-rise 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) 0.3s backwards; }
.lp-cta-row .lp-btn, .lp-copy .lp-cta-row .lp-btn { margin: 0; }
.lp-cta-row .lp-more { margin: 0; animation: none; min-height: 44px; }
.lp-copy .lp-beta { margin-top: 16px; }

/* What it costs and what it needs, right by the button: three quiet ticks. */
.lp-trust { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14.5px; color: var(--ink-2); animation: lp-rise 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) 0.36s backwards; }
.lp-trust li { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.lp-trust li::before {
  content: ""; width: 16px; height: 16px; flex: none; border-radius: 50%; background: var(--ink);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0zm3.6 5.2a.8.8 0 0 0-1.1.1L7.1 9.4 5.5 7.8a.8.8 0 1 0-1.1 1.1l2.2 2.2a.8.8 0 0 0 1.2-.1l3.9-4.7a.8.8 0 0 0-.1-1.1z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0zm3.6 5.2a.8.8 0 0 0-1.1.1L7.1 9.4 5.5 7.8a.8.8 0 1 0-1.1 1.1l2.2 2.2a.8.8 0 0 0 1.2-.1l3.9-4.7a.8.8 0 0 0-.1-1.1z'/%3E%3C/svg%3E") center / contain no-repeat;
  opacity: 0.85;
}

/* The languages: one short line now, not fifteen names. */
.lp-copy .lp-langs { display: inline-flex; align-items: center; gap: 7px; margin-top: 14px; max-width: none; font-size: 14.5px; line-height: 1.4; color: var(--muted); text-decoration: none; }
.lp-copy .lp-langs .lp-hear { margin: 0; }
.lp-globe { width: 16px; height: 16px; flex: none; opacity: 0.8; }

@media (max-width: 900px) {
  .lp-sub { margin-top: 12px; font-size: 17px; line-height: 1.45; }
  .lp-cta-row { margin-top: 22px; gap: 10px 20px; }
  .lp-cta-row .lp-more { font-size: 15px; }
  .lp-trust { margin-top: 18px; gap: 6px 14px; font-size: 13.5px; }
  .lp-trust li::before { width: 14px; height: 14px; }
  .lp-copy .lp-langs { display: inline-flex; margin-top: 10px; font-size: 13.5px; }
  /* A smaller phone, so its top shows on the first screen and says "there's more". */
  .lp-stage { padding-top: 18px; padding-bottom: 24px; }
  .lp-stage > .phone { --h: min(560px, 64svh, calc((100vw - 2 * var(--pad) - 24px) / 0.478)); margin-top: 28px; }
}

/* ---------- The top bar on a computer: Text Lull joins it once the first one has scrolled away ---------- */
.lp-bar-cta { display: none; }
@media (min-width: 901px) {
  .lp-bar-cta {
    display: inline-flex; align-items: center; height: 32px; margin-inline-start: 6px; padding: 0 15px; border: 0; border-radius: 999px;
    background: var(--ink); color: var(--on-ink); font: 500 14px/1 var(--text); cursor: pointer; white-space: nowrap;
    max-width: 0; padding-inline: 0; opacity: 0; overflow: hidden; pointer-events: none;
    transition: max-width 0.45s cubic-bezier(0.2, 0.7, 0.2, 1), padding 0.45s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.3s ease, margin 0.45s ease;
  }
  .lp-bar.cta .lp-bar-cta { max-width: 220px; padding-inline: 15px; opacity: 1; pointer-events: auto; }
  .lp-bar.cta .lp-bar-cta:hover { transform: translateY(-1px); }
  /* With Text Lull beside it, Sign in steps back to a plain link, so there's one button to press. */
  .lp-bar.cta .lp-nav .lp-signin { background: transparent; color: var(--ink-2); }
  .lp-bar.cta .lp-nav .lp-signin:hover { background: var(--soft); color: var(--ink); }
  .lp-bar.cta.glass .lp-bar-in { max-width: 760px; padding-inline-end: 4px; }
}

/* ---------- Section headings shared by the new parts ---------- */
.steps-title, .covers-title, .faq-h {
  margin: 12px 0 0; font-family: var(--title); font-weight: 700; letter-spacing: -0.005em; color: var(--ink);
  font-size: clamp(28px, 3vw, 44px); line-height: 1.14; text-wrap: balance;
}
@media (max-width: 900px) { .steps-title, .covers-title, .faq-h { font-size: clamp(26px, 7vw, 32px); } }

/* ---------- How it works, at a glance: one person's evening in three steps ----------
   What they text, the week Lull plans from it, and tonight's link arriving at bedtime: the same story (and the same
   meditation, "Setting Thursday down") from card to card, numbered on a thin line that joins them. */
.steps { position: relative; z-index: 1; max-width: var(--wrap); margin: 0 auto; padding: 72px var(--pad) 32px; scroll-margin-top: calc(var(--bar) + 8px); }
.steps-head { max-width: 40em; }
.steps-list { position: relative; list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
/* The line through the numbers, from the first to the last. */
/* Each number sits centred over its card; the line runs from the middle of the first card to the middle of the last. */
.steps-list::before { content: ""; position: absolute; top: 18px; left: calc((100% - 40px) / 6); right: calc((100% - 40px) / 6); height: 1px; background: var(--line-2); }
.step { position: relative; display: flex; flex-direction: column; min-width: 0; }
.step-num {
  position: relative; z-index: 1; display: grid; place-items: center; width: 36px; height: 36px; margin: 0 auto 16px; border-radius: 50%;
  background: var(--ink); color: var(--on-ink); font: 600 15px/1 var(--text); box-shadow: 0 0 0 6px var(--bg);
}
.step-card { flex: 1; display: flex; flex-direction: column; border-radius: 28px; background: var(--card); border: 0.5px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.step-body { padding: 20px 24px 26px; }
.step h3 { margin: 0; font-family: var(--title); font-weight: 700; font-size: 22px; line-height: 1.2; color: var(--ink); }
.step-body > p:last-child { margin: 8px 0 0; font-size: 16.5px; line-height: 1.5; color: var(--ink-2); }
/* "Step 1": for screen readers (the number above says it to the eye). */
.step-n { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* Each card's picture: real-looking, in the apps' own look, at the size it would be. */
.step-art { position: relative; height: 236px; padding: 18px; display: flex; flex-direction: column; overflow: hidden; }

/* 1. Messages, early in the evening. */
.sa-chat { justify-content: flex-end; gap: 6px; background: #fff; border-bottom: 0.5px solid var(--line); font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif; font-size: 13.5px; line-height: 1.3; color: #000; }
.sa-who { display: flex; flex-direction: column; align-items: center; gap: 3px; margin: -4px 0 6px; font-size: 11px; color: #3c3c43; }
.sa-who svg { width: 28px; height: 28px; }
.sa-b { max-width: 80%; padding: 7px 12px; border-radius: 17px; }
.sa-in { align-self: flex-start; background: #e9e9eb; border-bottom-left-radius: 5px; }
.sa-out { align-self: flex-end; background: #0a7aff; color: #fff; border-bottom-right-radius: 5px; }
[dir="rtl"] .sa-in { border-bottom-left-radius: 17px; border-bottom-right-radius: 5px; }
[dir="rtl"] .sa-out { border-bottom-right-radius: 17px; border-bottom-left-radius: 5px; }
/* Lull's answer arrives last: on a short card, the earlier lines move up out of view, as in Messages. */
.sa-chat > * { flex: none; }

/* 2. The week, as the app shows it: tonight first, then the nights ahead. */
.sa-week { justify-content: center; gap: 8px; background: var(--soft); }
.sa-day { display: flex; align-items: center; gap: 12px; padding: 8px 12px 8px 8px; border-radius: 16px; background: var(--card); box-shadow: 0 0 0 0.5px var(--line); }
.sa-day img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; flex: none; }
.sa-day > span { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.sa-day small { font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.sa-day b { font-family: var(--title); font-weight: 700; font-size: 15px; line-height: 1.2; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sa-day:not(.sa-now) { opacity: 0.72; }
.sa-day:not(.sa-now) img { filter: saturate(0.7); }
.sa-go { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--on-ink); }
.sa-go svg { width: 13px; height: 13px; margin-inline-start: 2px; }
[dir="rtl"] .sa-go svg { transform: scaleX(-1); margin-inline-start: 0; margin-inline-end: 2px; }

/* 3. Bedtime: the link in Messages, in the dark. */
.sa-night { align-items: center; justify-content: center; gap: 10px; background: #1f1e1d; color: #f5f4ed; font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif; }
.sa-stamp { font-size: 11.5px; color: #98989f; }
.sa-link { width: min(100%, 236px); border-radius: 18px; overflow: hidden; background: #2c2c2e; box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35); }
.sa-link-art { position: relative; display: block; height: 124px; }
.sa-link-art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sa-link-art .sa-go { position: absolute; right: 10px; bottom: 10px; width: 36px; height: 36px; background: rgba(250, 249, 245, 0.92); color: #141413; }
[dir="rtl"] .sa-link-art .sa-go { right: auto; left: 10px; }
.sa-link-t { display: block; padding: 9px 12px 11px; line-height: 1.25; }
.sa-link-t b { display: block; font-size: 14px; color: #fff; }
.sa-link-t span { display: block; margin-top: 2px; font-size: 12px; color: #98989f; }
@media (prefers-color-scheme: dark) { .sa-night { background: #141413; } .sa-chat { background: #1c1c1e; color: #fff; } .sa-chat .sa-in { background: #3a3a3c; } .sa-who { color: #aeaeb2; } }

@media (max-width: 900px) {
  .steps { padding-top: 48px; padding-bottom: 8px; }
  .steps-list { grid-template-columns: minmax(0, 1fr); gap: 18px; margin-top: 24px; }
  /* On a phone the line runs down the left, from number to number. */
  .steps-list::before { display: none; }
  .step:not(:last-child)::after { content: ""; position: absolute; top: 36px; bottom: -18px; left: 17.5px; width: 1px; background: var(--line-2); }
  [dir="rtl"] .step:not(:last-child)::after { left: auto; right: 17.5px; }
  .step { display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 12px; align-items: start; }
  .step-num { margin: 0; }
  .step-card { border-radius: 22px; }
  .step-art { height: 196px; padding: 14px; }
  .step-body { padding: 14px 16px 18px; }
  .step h3 { font-size: 19px; }
  .step-body > p:last-child { font-size: 15px; line-height: 1.45; margin-top: 4px; }
  .sa-chat { font-size: 12.5px; }
  .sa-link-art { height: 104px; }
  .sa-day b { white-space: normal; font-size: 14px; }
  .sa-week, .sa-night { height: auto; min-height: 180px; }
}

/* Tablets: the picture beside the words in each card, so nothing stretches across the whole width. */
@media (min-width: 601px) and (max-width: 900px) {
  .step-card { flex-direction: row; }
  .step-art { flex: 0 0 52%; height: auto; min-height: 230px; border-bottom: 0; }
  .sa-chat { border-inline-end: 0.5px solid var(--line); }
  .step-body { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 20px 22px; }
}
/* The smallest phones: the week's titles get the room (tonight's play button stays on the link in step 3). */
@media (max-width: 360px) {
  .sa-day .sa-go { display: none; }
}

/* ---------- Every night, a new one: a slow row of real covers ---------- */
.covers { position: relative; z-index: 1; padding: 48px 0 72px; overflow: hidden; }
.covers-head { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.covers-track { margin-top: 32px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.covers-row { list-style: none; margin: 0; padding: 0; display: flex; gap: 18px; width: max-content; animation: covers-drift 80s linear infinite; }
.covers-track:hover .covers-row { animation-play-state: paused; }
/* The row drifts the same way in every language (it has no reading order); the words in each card keep theirs. */
.covers-track, .covers-row { direction: ltr; }
[dir="rtl"] .cv { direction: rtl; text-align: right; }
@keyframes covers-drift { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 9px)); } }
.cv { width: 220px; flex: none; }
.cv img { display: block; width: 220px; height: 220px; border-radius: 20px; object-fit: cover; box-shadow: 0 0 0 0.5px var(--line), 0 14px 30px rgba(20, 20, 19, 0.1); }
.cv b { display: block; margin-top: 12px; font-family: var(--title); font-weight: 700; font-size: 17px; line-height: 1.25; color: var(--ink); }
.cv span { display: block; margin-top: 3px; font-size: 13.5px; line-height: 1.4; color: var(--muted); }
@media (max-width: 900px) {
  .covers { padding: 36px 0 48px; }
  .covers-track { margin-top: 22px; }
  .covers-row { gap: 12px; animation-duration: 60s; }
  @keyframes covers-drift { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 6px)); } }
  .cv, .cv img { width: 156px; }
  .cv img { height: 156px; border-radius: 16px; }
  .cv b { font-size: 15px; margin-top: 9px; }
  .cv span { font-size: 12.5px; }
}
/* Less motion: no drift. The row simply scrolls sideways, and the repeated half is left out. */
@media (prefers-reduced-motion: reduce) {
  .covers-track { overflow-x: auto; -webkit-mask-image: none; mask-image: none; padding: 0 var(--pad); scrollbar-width: none; }
  .covers-row { animation: none !important; }
  .cv[data-copy] { display: none; }
}

/* ---------- The conversations, on phones: topics on one line that slides, a phone that fits ---------- */
@media (max-width: 900px) {
  .talk-tabs {
    flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none;
    margin-inline: calc(-1 * var(--pad)); padding: 2px var(--pad) 4px; scroll-padding-inline: var(--pad);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--pad), #000 calc(100% - var(--pad)), transparent);
    mask-image: linear-gradient(90deg, transparent, #000 var(--pad), #000 calc(100% - var(--pad)), transparent);
  }
  .talk-tabs::-webkit-scrollbar { display: none; }
  .talk-tab { flex: none; min-height: 36px; font-size: 14px; padding: 0 14px; }
  /* The caption right under the topic it explains, then the phone. */
  .talk-caps { order: 4; margin: 14px 0 0; min-height: 4.4em; text-align: start; }
  .talk-phone { order: 5; margin-top: 8px; }
  .talk-phone { --h: min(560px, 64svh, calc((100vw - 2 * var(--pad) - 24px) / 0.478)); }
  .talk { padding-bottom: 24px; }
}

/* ---------- The app tour, on phones: swipe through the screens instead of scrolling past five phones ---------- */
.demo-head, .demo-dots { display: none; }
@media (max-width: 900px) {
  .demo[data-mobile="stack"] { padding-top: 40px; }
  .demo[data-mobile="stack"] .demo-head { display: block; padding: 0 0 4px; }
  .demo[data-mobile="stack"] .demo-steps {
    display: flex; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin: 0 calc(-1 * var(--pad)); padding: 8px var(--pad) 12px; scroll-padding-inline: var(--pad);
  }
  .demo[data-mobile="stack"] .demo-steps::-webkit-scrollbar { display: none; }
  .demo[data-mobile="stack"] .demo-step, .demo[data-mobile="stack"] .demo-step:first-child {
    --slide: min(84vw, 360px);
    flex: 0 0 var(--slide); min-width: 0; display: flex; flex-direction: column; align-items: center; padding: 16px 12px 18px;
    scroll-snap-align: center; scroll-snap-stop: always; border-radius: 28px; background: var(--card); border: 0.5px solid var(--line); box-shadow: var(--shadow);
  }
  .demo[data-mobile="stack"] .demo-step .demo-card { max-width: none; min-height: 6em; padding: 0 6px; }
  .demo[data-mobile="stack"] .demo-card h2 { font-size: 21px; }
  .demo[data-mobile="stack"] .demo-card p { font-size: 15.5px; line-height: 1.42; }
  .demo[data-mobile="stack"] .step-phone { --h: min(460px, 52svh, calc((var(--slide) - 40px) / 0.478)); margin: 12px auto 0; }
  /* The dots under the row: where you are, and a tap to move. */
  .demo[data-mobile="stack"] .demo-dots { display: flex; justify-content: center; gap: 0; margin-top: 4px; }
  .demo-dots button { width: 28px; height: 32px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
  .demo-dots button::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); opacity: 0.2; transition: opacity 0.25s ease, width 0.25s ease; }
  .demo-dots button[aria-current="true"]::before { width: 18px; border-radius: 4px; opacity: 0.85; }
}

/* ---------- Pricing and questions ---------- */
.faq { position: relative; z-index: 1; max-width: var(--wrap); margin: 0 auto; padding: 96px var(--pad) 24px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; scroll-margin-top: calc(var(--bar) + 8px); }
.faq-price { padding: 32px; border-radius: 28px; background: var(--card); border: 0.5px solid var(--line); box-shadow: var(--shadow); }
.faq-price .faq-h { font-size: clamp(24px, 2.2vw, 32px); }
.mini-plans { margin-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mini-plan { display: block; padding: 14px 16px; border-radius: 18px; background: var(--soft); color: var(--ink); text-decoration: none; transition: transform 0.15s ease; }
.mini-plan:hover { transform: translateY(-1px); }
.mini-name { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.mini-name em { font-style: normal; font-size: 11px; font-weight: 600; padding: 2px 7px; border-radius: 999px; background: var(--ink); color: var(--on-ink); }
.mini-plan .price-amt { display: block; margin: 6px 0 0; font-family: var(--title); font-weight: 700; color: var(--ink); }
.mini-plan .price-fig { font-size: 28px; }
.mini-plan .price-amt > span { display: block; margin-top: 2px; font-family: var(--font); font-weight: 400; font-size: 13px; color: var(--muted); white-space: nowrap; }
.faq-price .price-incl { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; }
.faq-price .price-incl li { position: relative; padding-left: 0; padding-inline-start: 26px; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.faq-price .price-incl li::before { content: ""; position: absolute; inset-inline-start: 0; top: 0.2em; width: 16px; height: 16px; border: 0; transform: none; background: var(--ink); opacity: 0.85;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3 3 7-7' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3 3 7-7' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.faq-qs { min-width: 0; }
.faq-qs .faq-h { margin-bottom: 18px; }
.qa { border-bottom: 0.5px solid var(--line-2); }
.qa:first-of-type { border-top: 0.5px solid var(--line-2); }
.qa summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 60px; padding: 14px 0; font-size: 17.5px; font-weight: 500; color: var(--ink);
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; flex: none; width: 10px; height: 10px; margin-inline-end: 6px; border-inline-end: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: translateY(-3px) rotate(45deg); transition: transform 0.25s ease; }
[dir="rtl"] .qa summary::after { transform: translateY(-3px) rotate(-45deg); }
.qa[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.qa summary:hover { color: var(--ink); }
.qa summary:focus-visible { outline-offset: 2px; }
.qa p { margin: 0; padding: 0 32px 20px 0; font-size: 16.5px; line-height: 1.55; color: var(--ink-2); }
[dir="rtl"] .qa p { padding: 0 0 20px 32px; }
.qa p a { color: var(--ink); text-underline-offset: 3px; }
.qa[open] p { animation: lp-rise 0.35s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
@media (max-width: 900px) {
  .faq { grid-template-columns: minmax(0, 1fr); padding-top: 56px; gap: 44px; }
  .faq-qs { order: -1; }
  .faq-price { padding: 22px; border-radius: 24px; }
  .qa summary { font-size: 16.5px; min-height: 56px; }
  .qa p { font-size: 15.5px; padding-inline-end: 8px; }
}

/* ---------- The last call: three covers fanned out above it ---------- */
.end-stack { display: flex; justify-content: center; margin-bottom: 26px; }
.end-stack img { width: 84px; height: 84px; border-radius: 18px; object-fit: cover; box-shadow: 0 0 0 2px var(--bg), 0 12px 26px rgba(20, 20, 19, 0.16); }
.end-stack img:nth-child(1) { transform: rotate(-8deg) translateX(14px); }
.end-stack img:nth-child(2) { position: relative; z-index: 1; transform: translateY(-8px); }
.end-stack img:nth-child(3) { transform: rotate(8deg) translateX(-14px); }
.lp-end { padding-top: 88px; }
@media (max-width: 900px) { .lp-end { padding-top: 56px; } .end-stack img { width: 68px; height: 68px; border-radius: 15px; } }

/* ---------- Phones: Text Lull in reach at the bottom of the screen ---------- */
.lp-dock { display: none; }
@media (max-width: 900px) {
  .lp-dock {
    display: block; position: fixed; z-index: 40; left: 0; right: 0; bottom: 0;
    padding: 10px max(var(--pad), env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(var(--pad), env(safe-area-inset-left));
    background: var(--bg); border-top: 0.5px solid var(--line);
    transform: translateY(110%); transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1); will-change: transform;
  }
  .lp-dock.on { transform: none; }
  /* What scrolls under the bar fades into it, softly, instead of meeting a hard edge. */
  .lp-dock::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 40px; pointer-events: none; background: linear-gradient(to bottom, color-mix(in srgb, var(--bg) 0%, transparent), var(--bg)); }
  .lp-dock-in { max-width: 560px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
  .lp-dock-t { margin: 0; min-width: 0; display: flex; flex-direction: column; font-size: 13px; line-height: 1.3; color: var(--muted); }
  .lp-dock-t b { font-size: 15px; font-weight: 600; color: var(--ink); }
  .lp-dock .lp-btn, .lp-dock .lp-btn:has(.lp-btn-ico) { margin: 0; flex: none; min-height: 46px; padding: 0 18px 0 14px; font-size: 16px; border-radius: 13px; }
}
@media (prefers-reduced-motion: reduce) { .lp-dock { transition: none; } }
