/* What asks a visitor to go on, and what backs the ask (2026-11-12): the bar at a phone's foot, the sheet for a visitor leaving, the email form, the proof
   band and the trials (engine/site/engage-view.ts, home-neutral.ts). Linked after /site-home.css by the pages that draw one. Solid fills, the theme's one
   radius, no shadow, blur or gradient. Motion is under prefers-reduced-motion: no-preference only, and a browser without scroll-driven animation shows every
   block in place. */

/* Every motion value of this file, in one place, for the polish pass: how long and how soft the bar slides, the sheet rises, a block eases in and a bar
   grows, and how far a block travels. The rules below use these and no number of their own. */
:root { --engage-bar-height: 68px; --engage-bar-time: .28s; --engage-sheet-time: .26s; --engage-ease: ease; --engage-rise: 18px; --engage-sheet-rise: 24px; --engage-in-range: entry 0% entry 45%; --engage-grow-range: entry 10% entry 70%; }

/* The bar: phones only, hidden until the script marks it .on (first screen scrolled away, closing call not yet in view). */
.home-engage-after { height: 1px; margin-top: -1px; }
.home-sticky { position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; display: none; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: var(--ink, #1d1a21); color: var(--paper, #fff); visibility: hidden; transform: translateY(100%); }
.home-sticky p { margin: 0; font: 600 15px/1.3 var(--sans, inherit); }
.home-sticky .btn { flex: none; min-height: 48px; padding: 0 20px; white-space: nowrap; background: var(--paper, #fff); color: var(--ink, #1d1a21); border-radius: var(--radius, 10px); }
.home-sticky.on { visibility: visible; transform: none; }
@media (max-width: 759.98px) { .home-sticky { display: flex; } html.has-sticky .help-pill { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); } html.has-sticky .site-footer { padding-bottom: calc(var(--engage-bar-height, 68px) + env(safe-area-inset-bottom, 0px)); } }
@media (prefers-reduced-motion: no-preference) { .home-sticky { transition: transform var(--engage-bar-time) var(--engage-ease), visibility 0s linear var(--engage-bar-time); } .home-sticky.on { transition: transform var(--engage-bar-time) var(--engage-ease), visibility 0s; } }

/* The email form, in the sheet and on a page. The box is the consent: nothing is ticked. */
.home-capture { display: grid; gap: 14px; max-width: 30rem; }
.home-capture-label { font-weight: 600; }
.home-capture input[type="email"] { width: 100%; min-height: 50px; padding: 0 14px; border: 1px solid var(--ink, #1d1a21); border-radius: var(--radius, 10px); background: var(--paper, #fff); color: var(--ink, #1d1a21); font: 16px/1.2 var(--sans, inherit); }
.home-capture-consent { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 15px; line-height: 1.45; }
.home-capture-consent input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--ink, #1d1a21); }
.home-capture-consent input[aria-invalid="true"] { outline: 2px solid var(--capture-ring, var(--accent, #1d1a21)); outline-offset: 2px; }
.home-capture-consent-error { margin: -6px 0 0; font-size: 15px; line-height: 1.45; color: var(--ink, #1d1a21); }
.home-capture .btn { justify-self: start; }
.home-capture-error { margin: 0; color: #a1260f; font-weight: 600; }
.home-capture-done { margin: 0; padding: 16px; border-radius: var(--radius, 10px); background: var(--stone-2, #f1eee9); font-weight: 600; }
/* What she sees right after she sends her email: its base look is in site.css (the footer's form is on pages that do not load this sheet); the sheet's and the
   band's layouts are here. */
/* The phone's bar steps aside while the state is on screen (the form's script marks it), as it does for the page's own button. */
.home-sticky.on.done-hide { visibility: hidden; transform: translateY(100%); }
/* On a short phone screen the photo is capped (cropped, not squeezed; the top of it, where the face and arms are, stays) so the sheet fits its screen without scrolling. */
@media (max-width: 759.98px) and (max-height: 700px) {
  .home-exit .home-done-photo { max-height: 170px; object-fit: cover; object-position: center 20%; }
}
/* From 760 px the sheet is a split: the photo at the left edge to the full height, the words, the button and the guarantee at the right. */
@media (min-width: 760px) {
  .home-exit:has(.home-done) { padding: 0; overflow: hidden; }
  .home-exit .home-done:has(.home-done-photo) { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: 0; align-content: center; max-width: none; margin: 0; }
  .home-exit .home-done > .home-done-photo { grid-column: 1; grid-row: 1 / span 5; width: 100%; height: 100%; min-height: 0; contain: size; object-fit: cover; border-radius: 0; }
  .home-exit .home-done > :not(.home-done-photo) { grid-column: 2; }
  .home-exit .home-done > :not(.home-done-photo):not(.btn) { padding-inline: 44px 48px; }
  .home-exit .home-done > .btn { margin-inline: 44px 48px; }
  .home-exit .home-done > .home-done-h { padding-top: 48px; }
  .home-exit .home-done > .home-done-guarantee { padding-bottom: 44px; }
}
/* The band's is the same split across the page's width. */
@media (min-width: 760px) {
  .home-capture-band .home-done:has(.home-done-photo) { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); grid-template-rows: 1fr repeat(4, auto) 1fr; column-gap: 40px; max-width: none; }
  .home-capture-band .home-done-photo { grid-column: 1; grid-row: 1 / -1; align-self: center; }
  .home-capture-band .home-done-photo ~ * { grid-column: 2; }
  .home-capture-band .home-done > .home-done-h { grid-row: 2; }
  .home-capture-band .home-done > .home-done-line { grid-row: 3; }
  .home-capture-band .home-done > .btn { grid-row: 4; }
  .home-capture-band .home-done > .home-done-guarantee { grid-row: 5; }
}
/* The band sits on the page's own `band` and `wrap` (the gutter and the vertical rhythm of the sections around it): nothing of its own here but the heading's size. */
.home-capture-band h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); }

/* The sheet for a visitor leaving: a modal <dialog>, full width at the foot of a phone, centred from 760 px. */
.home-exit { position: fixed; margin: auto auto 0; width: 100%; max-width: 34rem; max-height: 92vh; padding: 28px 20px calc(24px + env(safe-area-inset-bottom, 0px)); border: 0; border-radius: var(--radius, 10px) var(--radius, 10px) 0 0; background: var(--paper, #fff); color: var(--ink, #1d1a21); overflow: auto; }
.home-exit::backdrop { background: rgba(20, 16, 22, .55); }
.home-exit h2 { margin: 0 32px 8px 0; font-size: clamp(1.5rem, 5vw, 1.9rem); line-height: 1.15; }
.home-exit .lead { margin: 0 0 18px; }
.home-exit-close { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border: 0; border-radius: var(--radius, 10px); background: transparent; color: inherit; font-size: 28px; line-height: 1; cursor: pointer; }
@media (min-width: 760px) { .home-exit { margin: auto; padding: 32px; border-radius: var(--radius, 10px); } }
@media (prefers-reduced-motion: no-preference) { .home-exit[open] { animation: home-sheet var(--engage-sheet-time) var(--engage-ease) both; } }
@keyframes home-sheet { from { opacity: 0; transform: translateY(var(--engage-sheet-rise)); } to { opacity: 1; transform: none; } }

/* The pricing page's button above the cards, and the guarantee under it. */
.home-prices-start { display: grid; gap: 10px; justify-items: start; margin-block: 0 clamp(1.5rem, 4vw, 2.5rem); }
.home-start-note { margin: 0; font-size: 15px; font-weight: 600; }

/* The proof band: real lines first (only once they pass the site's minimum), then the plan's facts. */
.home-proof { padding-block: clamp(2.5rem, 7vw, 4.5rem); }
.home-proof-real, .home-proof-facts, .home-proof-replies, .home-why-list { display: grid; gap: 20px 32px; margin: 0; padding: 0; list-style: none; }
.home-proof-real { grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); margin-bottom: 28px; }
.home-proof-real li { display: grid; gap: 4px; }
.home-proof-facts { grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
.home-proof-facts li, .home-why-list li { display: grid; align-content: start; gap: 6px; }
.home-proof-facts p, .home-why-list p { margin: 0; }
.home-proof-figure, .home-why-figure { font: 600 clamp(2rem, 5vw, 2.8rem)/1.05 var(--display-s, var(--sans, inherit)); letter-spacing: -0.01em; color: var(--ink, #1d1a21); }
.home-proof-figure em, .home-why-figure em { font-size: .6em; }
.home-proof-replies { grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); margin-bottom: 28px; }
.home-proof-reply figure { margin: 0; display: grid; gap: 8px; }
.home-proof-reply blockquote { margin: 0; font-size: 18px; line-height: 1.45; }
.home-proof-reply cite { font-style: normal; font-weight: 600; }

/* Why it works: a plan's trials, outcome first; a bar where the trial has a per cent. */
.home-why { padding-block: clamp(2.5rem, 7vw, 4.5rem); }
.home-why-list { grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
/* The source is a small note under the figure and its line. */
.home-why-list .home-link { font-size: 13px; line-height: 1.4; color: var(--muted, #5b5660); }
.home-why-list .home-link a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.home-bar { display: block; height: 8px; border-radius: var(--radius, 10px); background: var(--stone-2, #f1eee9); overflow: hidden; }
.home-bar-fill { display: block; height: 8px; color: var(--ink, #1d1a21); fill: currentColor; transform-origin: left center; }
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .home-proof-facts li, .home-proof-real li, .home-proof-reply, .home-why-list li { animation: home-ease-in linear both; animation-timeline: view(); animation-range: var(--engage-in-range); }
    .home-bar-fill { animation: home-grow linear both; animation-timeline: view(); animation-range: var(--engage-grow-range); }
  }
}
@keyframes home-ease-in { from { opacity: 0; transform: translateY(var(--engage-rise)); } to { opacity: 1; transform: none; } }
@keyframes home-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
