/* The playing demos (js/how.js): a short chat and the site it changes. Used by the feature pages (apps, payments, bookings, forms, teams).
   Copied from home.css (the demo, scene and animation-state rules, and the apps scene); the home package removes the moved rules there later.
   Device scenes (.av, .dv-*) come from styles.css. A .how section with one panel and no cards plays on its own. */
.hx-pause::after, .how-pause::after, .how-open::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; }
/* ---------- The demos: a short chat and the real site it changes (js/how.js), one per card in "Launching takes dozens
   of setups." (they play in turn) and one in "Building with other people?" (.how-team). Without JS, or with reduced
   motion, every scene shows its end state. ---------- */
.how { padding: var(--section) 0 0; }
.how-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 0 0 28px; }
.how-head h2 { margin: 0 0 8px; }
.how-lede { margin: 0; font-size: var(--fs-lede); line-height: 1.4; color: var(--muted); }
/* Pause / play (owner 2026-10-14): a small, quiet icon button, like the hero's. Two bars while the examples play,
   a triangle once paused; pausing freezes the scene and the tab's progress bar where they are, play carries on. */
.how-pause {
  position: relative; flex: 0 0 auto; display: inline-grid; place-items: center; width: 36px; height: 36px; margin: 0 -6px 2px 0; padding: 0;
  border: 0; border-radius: 50%; background: none; color: var(--muted); cursor: pointer; opacity: .75;
}
.how-pause[hidden] { display: none; }
.how-pause:hover, .how-pause:focus-visible { opacity: 1; color: var(--ink); background: var(--line); }
.how-pause::before { content: ""; width: 9px; height: 10px; border-inline: 3px solid currentColor; box-sizing: border-box; }
.how-pause[data-state="paused"]::before { width: 0; height: 0; margin-left: 2px; border: 0; border-left: 9px solid currentColor; border-block: 5px solid transparent; }
.how-pause[data-state="paused"] { opacity: 1; color: var(--ink); }

.how-panel-title { margin: 40px 0 14px; }
.how-panel:first-of-type .how-panel-title { margin-top: 0; }
.how.is-js .how-panel-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.how.is-js .how-panel:not([hidden]) { animation: how-fade 500ms ease both; }
.how-panel:focus-visible { outline-offset: 8px; border-radius: 12px; }
.how-note { margin: 16px 0 0; font-size: var(--fs-sm); color: var(--muted); }

.how-stage { display: grid; gap: 16px; }
@media (prefers-reduced-motion: reduce) { .how.is-js .req.is-cur .req-more { animation: none; } }
.how-demo-bar { display: flex; justify-content: flex-end; min-height: 36px; margin: 0 0 2px; }
.how-strip { margin: 24px 0 0; padding: 16px 20px; border-radius: var(--radius); background: var(--bg); font-size: var(--fs-body); line-height: 1.5; }
.how-strip a { color: var(--primary); font-weight: 600; white-space: nowrap; }
.how .waits-yes { margin: 20px 0 0; }
.how-more { margin: 16px 0 0; }
.how-more a { color: var(--primary); }

/* Take bookings demo (owner 2026-11-26): a plain studio page, the booking card a customer fills, then "Booked". The
   new-booking email lands on the owner's phone (.dv-phone). Drawn in HTML, sized with cqw like the other scenes. */
.bkd { position: absolute; inset: 0; display: grid; align-content: start; justify-items: start; gap: 0.7em; padding: 1.2em 6% 0; box-sizing: border-box; background: #F7F4EE; color: #22302A; font: 400 clamp(9px, 2.3cqw, 15px)/1.35 var(--body); text-align: left; }
.bkd p { margin: 0; }
.bkd-top { width: 100%; padding-bottom: 0.7em; border-bottom: 1px solid rgba(34, 48, 42, 0.16); }
.bkd-name { font: 700 1.35em/1.2 var(--body); }
.bkd-h { margin-top: 0.5em !important; font: 700 2em/1.15 var(--body); }
.bkd-open { padding: 0.55em 1.3em; border-radius: 999px; background: #22302A; color: #FFFFFF; font-weight: 600; transition: transform 120ms ease, filter 120ms ease, opacity 600ms ease, visibility 600ms; }
.bkd-card { position: absolute; left: 38%; top: 56%; width: min(58%, 22em); display: grid; gap: 0.8em; padding: 1.2em 1.3em; box-sizing: border-box; border-radius: 1em; background: #FFFFFF; box-shadow: 0 20px 40px -16px rgba(0, 0, 0, 0.45); transform: translate(-50%, -50%); transition: opacity 600ms ease, visibility 600ms, transform 600ms cubic-bezier(.2, .7, .2, 1); }
.how-stage.is-anim .bkd-card:not(.is-on) { transform: translate(-50%, -43%); }
.bkd-t { font: 700 1.15em/1.25 var(--body); }
.bkd-swap { display: grid; }
.bkd-swap > * { grid-area: 1 / 1; align-self: center; }
.bkd-go { padding: 0.6em; border-radius: 999px; background: #22302A; color: #FFFFFF; font-weight: 600; text-align: center; transition: transform 120ms ease, filter 120ms ease, opacity 600ms ease, visibility 600ms; }
.bkd-done { display: flex; align-items: center; gap: 0.6em; font-weight: 600; color: #1E5B34; }
.bkd-done::before { content: ""; flex: none; width: 0.75em; height: 0.38em; margin: -0.2em 0 0 0.2em; border-left: 0.18em solid currentColor; border-bottom: 0.18em solid currentColor; transform: rotate(-45deg); }

@media (min-width: 900px) { .how-stage { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 28px; align-items: stretch; } }

/* The AI chat: big, readable bubbles are the focus */
.how-chat {
  display: flex; flex-direction: column; height: 400px; min-width: 0;
  background: var(--surface); border: 1px solid rgba(30, 29, 25, .28); border-radius: 18px; overflow: hidden;
  box-shadow: 0 1px 2px rgba(30, 29, 25, .06), 0 30px 60px -30px rgba(27, 42, 158, .35);
}
/* The chat never sets the row height: it matches the browser and older messages scroll off the top */
@media (min-width: 900px) { .how-chat { height: auto; min-height: 400px; contain: size; } }
.how-chat-bar { margin: 0; padding: 11px 16px; border-bottom: 1px solid var(--line); background: var(--surface); font: 500 var(--fs-xs)/1.2 var(--mono); color: var(--muted); }
.how-log { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; padding: 14px 12px; overflow: hidden; }
@media (min-width: 900px) { .how-log { gap: 12px; padding: 18px 16px; } }
.hb { margin: 0; max-width: 92%; padding: 10px 14px; border-radius: 18px; font-size: var(--fs-body); line-height: 1.4; }
@media (min-width: 900px) { .hb { font-size: var(--fs-h3); padding: 13px 18px; } }
.hb-user { align-self: flex-end; background: #ECEAE3; color: var(--ink); border-bottom-right-radius: 6px; } /* one chat look with the hero chat (.hx-me, .hx-ai): neutral bubbles */
.hb-ai { align-self: flex-start; background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.hb-new { background: var(--ok-bg); border: 2px solid var(--live); }
.hb-new b { display: block; margin: 0 0 2px; font-size: var(--fs-sm); font-weight: 600; color: var(--ok); }
/* Crumb: the AI's list of recent enquiries (smaller lines so all five fit the chat on phones) */
.hb-list p { margin: 0 0 6px; }
.hb-list ol { margin: 0; padding: 0 0 0 1.3em; font-size: var(--fs-sm); line-height: 1.4; }
.hb-list li + li { margin-top: 2px; }
.hb-list b { font-weight: 600; }
@media (min-width: 900px) { .hb.hb-list { font-size: 18px; } .hb-list ol { font-size: 16px; } }
.hb-dots { display: none; align-self: flex-start; padding: 16px 18px; background: var(--paper); border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.hb-dots span { display: inline-block; width: 8px; height: 8px; margin: 0 3px; border-radius: 50%; background: var(--muted); animation: blink 1.2s infinite; }
.hb-dots span:nth-child(2) { animation-delay: .2s; }
.hb-dots span:nth-child(3) { animation-delay: .4s; }
.how-composer { margin: 0 12px 12px; padding: 12px 14px; min-height: 50px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); font-size: var(--fs-body); line-height: 1.4; }
.how-typed:empty::before { content: "Message your AI"; color: var(--muted); }
.how-caret { display: inline-block; width: 2px; height: 1.15em; margin-left: 1px; vertical-align: -0.2em; background: var(--ink); visibility: hidden; }

/* The browser: real Page Lemon templates (English: Summit, Sprint, Crumb, Sorrel; translated: Links, Terrace, Vow, Tidy) */
.how-browser { min-width: 0; background: var(--surface); border: 2px solid var(--line-strong); border-radius: 16px; overflow: hidden; }
.how-url { display: flex; align-items: center; gap: 10px; min-height: 50px; padding: 9px 12px; background: var(--paper); border-bottom: 1px solid var(--line); }
.how-addr {
  display: inline-flex; align-items: center; gap: 7px; flex: 1; min-width: 0; padding: 6px 12px;
  border-radius: 999px; background: var(--bg); font: 500 var(--fs-ui)/1.3 var(--mono); color: var(--ink); white-space: nowrap; overflow: hidden;
}
.how-lock { flex: 0 0 auto; width: 14px; height: 14px; fill: none; stroke: var(--ok); stroke-width: 1.7; stroke-linecap: round; }
.how-swap { display: inline-grid; }
.how-swap > * { grid-area: 1 / 1; }
.how-swap-end { flex: 0 0 auto; justify-items: end; }
.how-new { margin: 0 -5px; padding: 0 5px; border-radius: 6px; }
.how-pill { display: inline-flex; align-items: center; padding: 6px 11px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font: 500 13px/1.2 var(--body); color: var(--ink); white-space: nowrap; }
.how-pill-ok { background: var(--ok-bg); border-color: transparent; color: var(--ok); }
.how-pill-sam { flex: 0 0 auto; padding: 3px 11px 3px 3px; gap: 7px; background: var(--ok-bg); border-color: transparent; color: var(--ok); }
.how-pill-sam b { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--ok); color: #FFFFFF; font-size: 12px; font-weight: 600; }
.how-view { position: relative; container-type: inline-size; aspect-ratio: 8 / 5; overflow: hidden; background: #120E0B; }
.how-view img { display: block; width: 100%; height: 100%; object-fit: cover; }
.how-layer { position: absolute; inset: 0; }
.how-load { position: absolute; left: 0; top: 0; width: 100%; height: 3px; background: var(--live); transform-origin: left; }

/* Launch scene: the site starts as a file on your computer */
.how-local { margin: 0 8px 0 -4px; padding: 2px 8px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font: 500 12px/1.3 var(--body); color: var(--muted); }
.how-view-light { background: var(--surface); }
@media (max-width: 899px) { .how-panel[data-scene="launch"] .how-chat { height: 480px; } }

/* Julian's cursor and selection on the Vow invitation */
.how-sel.how-sel-vow { left: 71.6%; top: 58.3%; width: 14%; height: 9.4%; }
.how-cursor-ed { --x: 92cqw; --y: 56cqw; }
.how-cursor-ed svg { fill: var(--ok); }
.how-cursor-ed b { margin: 18px 0 0 -6px; padding: 3px 8px; border-radius: 6px; background: var(--ok); color: #FFFFFF; font: 600 12px/1.2 var(--body); }
.how-stage:not(.is-anim) .how-cursor-ed { --x: 82cqw; --y: 40cqw; }

/* Sam's cursor and selection (Brasa; translated home pages) */
.how-sel { position: absolute; left: 60.5%; top: 38%; width: 33%; height: 17.5%; border: 2px solid var(--live); border-radius: 6px; background: rgba(46, 158, 91, 0.14); }
.how-cursor {
  position: absolute; left: 0; top: 0; z-index: 2; display: flex; align-items: flex-start; pointer-events: none;
  transform: translate(var(--x), var(--y));
  transition: transform 1300ms cubic-bezier(.45, 0, .2, 1), opacity 500ms ease, visibility 500ms;
}
.how-cursor svg { width: clamp(18px, 3.6cqw, 26px); height: auto; fill: var(--ink); stroke: #FFFFFF; stroke-width: 1.5; stroke-linejoin: round; }
.how-cursor-sam { --x: 90cqw; --y: 54cqw; }
.how-cursor-sam svg { fill: var(--ok); }
.how-cursor-sam b { margin: 18px 0 0 -6px; padding: 3px 8px; border-radius: 6px; background: var(--ok); color: #FFFFFF; font: 600 12px/1.2 var(--body); }
.how-stage:not(.is-anim) .how-cursor-sam { --x: 84cqw; --y: 32cqw; }
.how-cursor-guest { --x: 24cqw; --y: 52cqw; }
.how-cursor.is-click svg { animation: how-click 320ms ease; }

/* The booking form that appears on the site. Base look: Brasa (translated home pages); .bk-tidy below */
.bk {
  position: absolute; left: 55%; top: 15%; width: 40%; padding: 2.4cqw;
  background: #201812; color: #EFE6D8; border: 1px solid #67564A; border-top: 3px solid #FF6A2B;
  box-shadow: 0 2cqw 5cqw rgba(0, 0, 0, 0.45); font-family: var(--body);
}
@container (max-width: 560px) { .bk { left: 38%; width: 58%; top: 14%; } }
.bk-title { margin: 0 0 1.6cqw; font: 700 clamp(14px, 3.4cqw, 26px)/1 'Big Shoulders Display', var(--body); text-transform: uppercase; letter-spacing: 0.02em; }
.bk-days { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1cqw; margin: 0 0 1.4cqw; }
.bk-days span { display: grid; justify-items: center; gap: 0.4cqw; padding: 1cqw 0; border: 1px solid #67564A; border-radius: 1cqw; font: 600 clamp(11px, 2.3cqw, 17px)/1 var(--body); transition: background 300ms ease, color 300ms ease, border-color 300ms ease; }
.bk-days small { font: 500 clamp(8px, 1.4cqw, 11px)/1 var(--body); letter-spacing: 0.06em; text-transform: uppercase; color: #B7A99B; }
.bk-pick.is-on, .how-stage:not(.is-anim) .bk-pick { background: #FF6A2B; border-color: #FF6A2B; color: #120E0B; }
.bk-pick.is-on small, .how-stage:not(.is-anim) .bk-pick small { color: #120E0B; }
.bk-row { display: flex; gap: 1cqw; margin: 0 0 1.4cqw; }
.bk-row span { flex: 1; padding: 1cqw 1.2cqw; border: 1px solid #67564A; border-radius: 1cqw; font: 500 clamp(9px, 1.8cqw, 14px)/1.2 var(--body); }
.bk-pay { display: grid; place-items: center; margin: 0; padding: 1.5cqw; border-radius: 1cqw; background: #FF6A2B; color: #120E0B; font: 600 clamp(10px, 2cqw, 15px)/1 var(--body); transition: background 400ms ease; }
.bk-pay.is-on, .how-stage:not(.is-anim) .bk-pay { background: #EFE6D8; }
.bk-swap { display: inline-grid; justify-items: center; }
.bk-swap > * { grid-area: 1 / 1; }

/* The booking form on Tidy (Sunday Home): its own cream, plum and peach */
.bk-tidy { background: #FFF9F2; color: #392B43; border: 2px solid #392B43; border-radius: 2cqw; box-shadow: 0.8cqw 0.8cqw 0 #392B43; }
.bk-tidy .bk-title { font: 700 clamp(14px, 3cqw, 24px)/1.1 var(--body); text-transform: none; letter-spacing: -0.01em; }
.bk-tidy .bk-days span, .bk-tidy .bk-row span { border-color: #D9C9D6; }
.bk-tidy .bk-days small { color: #6E5F78; }
.bk-tidy .bk-pick.is-on, .how-stage:not(.is-anim) .bk-tidy .bk-pick { background: #F5CBBB; border-color: #392B43; color: #392B43; }
.bk-tidy .bk-pick.is-on small, .how-stage:not(.is-anim) .bk-tidy .bk-pick small { color: #392B43; }
.bk-tidy .bk-pay { border-radius: 999px; background: #392B43; color: #FFF9F2; }
.bk-tidy .bk-pay.is-on, .how-stage:not(.is-anim) .bk-tidy .bk-pay { background: #DCEBE0; color: #392B43; }

/* ---------- English home scenes: Summit (edit together), Sprint (protect), Crumb (form), Sorrel (booking) ---------- */
/* Expand icon: opens the template's page */
.how-open { position: relative; flex: 0 0 auto; display: inline-grid; place-items: center; width: 36px; height: 36px; margin: 0 -4px 0 0; border-radius: 8px; color: var(--muted); }
.how-open:hover { background: var(--bg); color: var(--ink); }
.how-open svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.hb-link { text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }

/* Summit: a toast when a Developer publishes */
.how-toast {
  position: absolute; right: 3cqw; bottom: 3cqw; display: flex; align-items: center; gap: 10px; margin: 0; padding: 8px 16px 8px 8px;
  background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 8px 24px rgba(30, 29, 25, 0.18);
  font: 500 clamp(13px, 2.4cqw, 16px)/1.2 var(--body);
}
.how-toast b { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ok); color: #FFFFFF; font-size: var(--fs-xs); font-weight: 600; }

/* Sprint: the passcode page on Page Lemon, then the gate visitors see */
.pc-veil { position: absolute; inset: 0; background: rgba(255, 253, 245, 0.55); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); }
.pc-page { position: absolute; inset: 0; display: grid; place-items: center; background: var(--paper); }
.pc-card {
  display: grid; justify-items: center; gap: 1.8cqw; width: min(80%, 380px); margin: 0; padding: 3.4cqw 3.6cqw;
  background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 10px 30px rgba(30, 29, 25, 0.14); text-align: center;
}
.pc-card p { margin: 0; }
.pc-gate { position: absolute; left: 10%; right: 10%; top: 50%; width: auto; transform: translateY(-50%); }
.how-view .pc-brand img { width: 20px; height: 20px; }
.pc-brand { display: inline-flex; align-items: center; gap: 6px; font: 600 clamp(11px, 2cqw, 14px)/1 var(--body); }
.pc-title { font: 600 clamp(13px, 2.8cqw, 20px)/1.25 var(--body); }
.pc-sub { margin-top: -1cqw !important; font: 400 clamp(11px, 2.1cqw, 15px)/1.3 var(--body); color: var(--muted); }
.pc-code { display: flex; gap: clamp(4px, 1cqw, 8px); }
.pc-code span { display: grid; place-items: center; width: clamp(22px, 5.4cqw, 40px); aspect-ratio: 4 / 5; border: 1.5px solid var(--line-strong); border-radius: 8px; background: var(--paper); }
.pc-code i { width: 32%; aspect-ratio: 1; border-radius: 50%; background: var(--ink); }
.pc-btn { padding: 1.3cqw 2.6cqw; border-radius: 999px; background: var(--ink); color: var(--paper); font: 600 clamp(11px, 2cqw, 14px)/1 var(--body); }

/* Crumb: the bakery's contact form (its own cream, ink and riso pink), then the email it becomes */
.cf {
  position: absolute; right: 4%; top: 7%; width: 44%; display: grid; gap: 1.1cqw; margin: 0; padding: 2.4cqw;
  background: #FBF4E6; color: #1B1B3A; border: 2px solid #1B1B3A; box-shadow: 1cqw 1cqw 0 #FF48B0; font-family: var(--body);
}
.cf p { margin: 0; }
.cf-title { font: 700 clamp(14px, 3.4cqw, 26px)/1 var(--body); letter-spacing: -0.02em; }
.cf-field { display: grid; gap: 0.4cqw; }
.cf-field small { font: 600 clamp(9px, 1.5cqw, 12px)/1 var(--body); letter-spacing: 0.06em; text-transform: uppercase; }
.cf-field span { min-height: 1.3em; padding: 0.8cqw 1.2cqw; background: #FFFFFF; border: 1.5px solid #1B1B3A; font: 500 clamp(10px, 1.9cqw, 15px)/1.3 var(--body); }
.cf-msg span { min-height: 2.6em; }
.cf-send { justify-self: start; padding: 1.1cqw 2.8cqw; background: #FF48B0; color: #1B1B3A; border: 2px solid #1B1B3A; font: 700 clamp(10px, 2cqw, 15px)/1 var(--body); transition: background 300ms ease, color 300ms ease; }
.cf-send.is-on, .how-stage:not(.is-anim) .cf-send { background: #1B1B3A; color: #FBF4E6; }
@container (max-width: 560px) { .cf { width: 62%; right: 3%; top: 4%; gap: 0.8cqw; } .cf-msg span { min-height: 1.3em; } }

/* Emails (Crumb form message; Sorrel booking to the owner and to the guest) */
.how-mail {
  position: absolute; display: grid; gap: 0.9cqw; width: 52%; margin: 0; padding: 2.2cqw 2.6cqw;
  background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 10px 30px rgba(30, 29, 25, 0.2);
  font: 400 clamp(11px, 1.9cqw, 15px)/1.35 var(--body);
}
.how-mail p { margin: 0; }
.hm-head { display: grid; gap: 0.3cqw; padding: 0 0 0.9cqw; border-bottom: 1px solid var(--line); }
.hm-head b { font-weight: 600; font-size: 1.08em; }
.hm-head small, .hm-row small { display: block; color: var(--muted); font-size: 0.85em; }
.hm-head small::before { content: "✉ "; }
.how-mail-one { left: 24%; top: 10%; }
.how-mail-owner { left: 4%; top: 10%; width: 48%; }
.how-mail-guest { right: 4%; top: 48%; width: 48%; }
@container (max-width: 560px) { .how-mail-one { left: 8%; width: 84%; } .how-mail-owner, .how-mail-guest { width: 62%; } .how-mail-guest { top: 52%; } }

/* Sorrel: the booking form (its own butter paper and sorrel green) */
.sb {
  position: absolute; right: 4%; top: 8%; width: 46%; display: grid; gap: 1.3cqw; margin: 0; padding: 2.6cqw;
  background: #E9D995; color: #294D36; border: 1px solid #294D36; box-shadow: 0 2cqw 5cqw rgba(41, 77, 54, 0.25); font-family: var(--body);
}
.sb p { margin: 0; }
.sb-title { font: 400 clamp(15px, 3.6cqw, 28px)/1 Georgia, 'Times New Roman', serif; }
.sb-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.8cqw; }
.sb-size { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sb-row span { display: grid; place-items: center; padding: 1cqw 0.3cqw; background: #F8F5EA; border: 1px solid #294D36; font: 600 clamp(9px, 1.8cqw, 14px)/1.1 var(--body); text-align: center; transition: background 300ms ease, color 300ms ease; }
.sb-go { display: grid; place-items: center; padding: 1.4cqw; background: #294D36; color: #F8F5EA; font: 600 clamp(10px, 2cqw, 15px)/1 var(--body); transition: background 300ms ease; }
.sb .pick.is-on, .how-stage:not(.is-anim) .sb .pick { background: #294D36; color: #F8F5EA; }
.sb .sb-go.is-on, .how-stage:not(.is-anim) .sb .sb-go { background: #B83928; }
@container (max-width: 560px) { .sb { width: 64%; right: 3%; top: 4%; } }

/* Oat: the café's menu card, filled from a list (its own cream, forest green and berry red) */
.mn {
  position: absolute; right: 4%; top: 9%; width: 44%; display: grid; gap: 1.4cqw; margin: 0; padding: 2.6cqw 2.8cqw;
  background: #FBF8F1; color: #1F3B2D; border: 1px solid #1F3B2D; border-radius: 1.4cqw; box-shadow: 0 2cqw 5cqw rgba(31, 59, 45, 0.2); font-family: var(--body);
}
.mn p { margin: 0; }
.mn-title { font: 400 clamp(15px, 3.6cqw, 28px)/1 Georgia, 'Times New Roman', serif; }
.mn-list { display: grid; gap: 0.9cqw; margin: 0; padding: 0; list-style: none; }
.mn-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 1.2cqw; padding-bottom: 0.9cqw; border-bottom: 1px solid rgba(31, 59, 45, 0.25); font: 500 clamp(10px, 1.9cqw, 15px)/1.3 var(--body); }
.mn-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.mn-list b { font-weight: 700; color: #B5313A; white-space: nowrap; }
.mn-name { min-width: 0; }
.mn .how-swap { vertical-align: bottom; }
/* Oat: the post the owner asked about, ringed while the AI answers with its numbers */
.mn-list li { position: relative; }
.mn-ring { position: absolute; inset: -0.5cqw -1cqw 0.2cqw; border: 2px solid var(--primary); border-radius: 1cqw; pointer-events: none; }
@container (max-width: 560px) { .mn { width: 62%; right: 3%; top: 5%; gap: 1cqw; } }

/* Scene motion (only while js/how.js plays) */
.how-stage.is-anim .how-toast,
.how-stage.is-anim .how-mail,
.how-stage.is-anim .cf,
.how-stage.is-anim .sb { transition: opacity 600ms ease, visibility 600ms, transform 700ms cubic-bezier(.2, .7, .2, 1); }
.how-stage.is-anim .how-toast:not(.is-on) { transform: translateY(3cqw); }
.how-stage.is-anim .how-mail:not(.is-on) { transform: translate(4cqw, -3cqw) scale(0.8); }
.how-stage.is-anim .how-mail-guest { transition-delay: 900ms; }
.how-stage.is-anim .cf:not(.is-on) { transform: translate(-6cqw, 3cqw) scale(0.8); }
.how-stage.is-anim .sb:not(.is-on) { transform: translateY(3cqw); }
.how-stage.is-anim .mn-add { transition: opacity 600ms ease, visibility 600ms, transform 700ms cubic-bezier(.2, .7, .2, 1); }
.how-stage.is-anim .mn-add:not(.is-on) { transform: translateY(1.5cqw); }
.how-stage.is-anim .mn-add.is-on { animation: how-glow 2s ease both; }
.how-stage.is-anim .pc-code i { transition-duration: 150ms; }

/* ---------- English scenes, round 4 (2026-10-13): every step the user takes is shown ---------- */
/* clip: the cursor never makes the page scroll sideways */
.how-stage { position: relative; overflow: clip; overflow-clip-margin: 8px; }
/* One cursor per scene, above the chat and the browser, so it can click a link in the chat and then a
   button on the page. It shows only while it has something to do. */
.how-stage > .how-cursor { z-index: 5; opacity: 0; visibility: hidden; }
.how-stage > .how-cursor.is-shown { opacity: 1; visibility: visible; }
.how-stage > .how-cursor svg { width: 24px; }
.how-stage:not(.is-anim) .how-cursor { display: none; }
.how-cursor.is-jump { transition: none; }
/* Click feedback: whatever the cursor clicks is pressed for a moment */
.hb-link, .pl-btn, .cf-send, .sb-row span, .sb-go, .how-send { transition: transform 120ms ease, filter 120ms ease, background 300ms ease, color 300ms ease; }
.how-stage .is-press { transform: scale(0.94); filter: brightness(0.88); }
.how-stage .hb-link.is-press { transform: none; filter: none; background: color-mix(in srgb, var(--primary) 16%, transparent); }
.hb-link { color: var(--primary); border-radius: 4px; }

/* The composer's send button: grey while empty, ink while there is a message to send */
.how-composer { position: relative; padding-right: 52px; }
.how-send { position: absolute; right: 9px; bottom: 9px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--line); }
.how-send::before { content: ""; width: 8px; height: 8px; margin-top: 4px; border-left: 2.5px solid var(--surface); border-top: 2.5px solid var(--surface); transform: rotate(45deg); }
.how-composer:has(.how-typed:not(:empty)) .how-send { background: var(--ink); }

/* A field the visitor clicked: focused, with a caret after what they type */
.how-stage.is-anim .how-fill.is-focus { outline: 2px solid var(--primary); outline-offset: 1px; }
.how-stage.is-anim .how-fill.is-focus::after { content: ""; display: inline-block; width: 1.5px; height: 1.05em; margin-left: 1px; vertical-align: -0.15em; background: currentColor; animation: blink 1s steps(1) infinite; }
/* Crumb's fields: all three one line high, and they never grow while text is typed */
.cf-field span { display: block; box-sizing: border-box; height: calc(1.3em + 1.6cqw + 3px); min-height: 0; white-space: nowrap; overflow: hidden; }
.cf-msg span { min-height: 0; }

/* Page Lemon's own pages (approve, choose a passcode, members sign-in), as in the app: paper, a white card */
.pl-page { position: absolute; inset: 0; display: grid; place-items: center; background: var(--paper); }
.pl-card {
  display: grid; gap: 1.3cqw; width: min(80%, 400px); margin: 0; padding: 3cqw 3.4cqw; box-sizing: border-box;
  background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 1px 2px rgba(30, 29, 25, 0.04), 0 8px 24px rgba(30, 29, 25, 0.08);
  font: 400 clamp(10px, 2.1cqw, 15px)/1.4 var(--body); text-align: left;
}
.pl-card p { margin: 0; }
.pl-brand { display: inline-flex; align-items: center; gap: 6px; font: 700 clamp(10px, 1.8cqw, 13px)/1 var(--display); }
.how-view .pl-brand img, .how-view .bkv-top img { width: clamp(14px, 2.6cqw, 20px); height: auto; }
.pl-title { font: 700 clamp(13px, 2.7cqw, 20px)/1.2 var(--body); color: var(--brand); }
.pl-note { font-size: 0.88em; color: var(--muted); }
.pl-btns { display: flex; gap: 1cqw; margin-top: 0.4cqw !important; }
.pl-btn { display: inline-grid; place-items: center; padding: 1.1cqw 2.4cqw; border: 1.5px solid var(--primary); border-radius: 999px; background: var(--primary); color: var(--on-primary); font-weight: 600; white-space: nowrap; }
.pl-btn-2 { background: var(--surface); border-color: rgba(30, 29, 25, 0.26); color: var(--ink); }
.pl-btn-wide { flex: 1; }
.pl-swap { display: grid; }
.pl-swap > * { grid-area: 1 / 1; }
.pl-done { align-self: center; font-weight: 600; color: var(--ok); }
.pl-seg { display: flex; gap: 2px; width: fit-content; padding: 2px; border: 1px solid var(--line); border-radius: 999px; font-size: 0.88em; }
.pl-seg span { padding: 0.5cqw 1.6cqw; border-radius: 999px; white-space: nowrap; }
.pl-seg .is-cur { background: var(--bg); font-weight: 600; }
/* The connect screen: "It will be able to", the publish line, then the "manage" box (unticked by default) */
.pl-sub { font-weight: 700; }
.pl-tick { position: relative; padding-left: 1.4em; }
.pl-tick::before { content: ""; position: absolute; left: 0.2em; top: 0.4em; width: 0.6em; height: 0.3em; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }
.pl-check { display: flex; align-items: flex-start; gap: 0.6em; }
.pl-box { flex: none; display: grid; place-items: center; width: 1.15em; height: 1.15em; margin-top: 0.12em; border: 1.5px solid rgba(30, 29, 25, 0.4); border-radius: 4px; background: var(--surface); transition: background 150ms ease, border-color 150ms ease, transform 120ms ease, filter 120ms ease; }
.pl-box.is-on { background: var(--primary); border-color: var(--primary); }
.pl-box.is-on::after { content: ""; width: 0.5em; height: 0.25em; margin-top: -0.12em; border-left: 2px solid var(--on-primary); border-bottom: 2px solid var(--on-primary); transform: rotate(-45deg); }
.pl-field { display: grid; gap: 0.5cqw; }
.pl-field small { font-size: 0.92em; font-weight: 600; }
.pl-input { display: block; box-sizing: border-box; height: calc(1.4em + 1.8cqw + 3px); padding: 0.9cqw 1.4cqw; border: 1.5px solid rgba(30, 29, 25, 0.26); border-radius: 10px; background: var(--surface); white-space: nowrap; overflow: hidden; letter-spacing: 0.12em; }
.how-stage.is-anim .pl-input.how-fill.is-focus { outline: 0; border-color: var(--primary); box-shadow: 0 0 0 2px color-mix(in srgb, var(--primary) 22%, transparent); }
.pl-toast { position: absolute; left: 50%; bottom: 3cqw; transform: translateX(-50%); margin: 0; padding: 1cqw 2cqw; border-radius: 10px; background: var(--ink); color: var(--paper); font: 500 clamp(10px, 1.8cqw, 14px)/1.3 var(--body); white-space: nowrap; }
@container (max-width: 480px) { .pl-card { width: 88%; gap: 1.1cqw; padding: 2.6cqw 3cqw; } .pl-card .pl-note { display: none; } }

/* The page a protected site shows its visitors (served by Page Lemon: cream, navy, a yellow button) */
.gate { position: absolute; inset: 0; display: grid; place-items: center; background: var(--paper); color: var(--brand); font: 400 clamp(10px, 2cqw, 16px)/1.5 system-ui, sans-serif; }
.gate-box { display: grid; gap: 1.2cqw; width: min(72%, 380px); }
.gate p { margin: 0; }
.gate-title { font-size: 1.5em; font-weight: 700; line-height: 1.2; }
.gate-input { padding: 0.9cqw 1.3cqw; border: 1.5px solid var(--brand); border-radius: 10px; background: var(--surface); color: color-mix(in srgb, var(--brand) 55%, transparent); }
.gate-btn { padding: 0.9cqw 1.3cqw; border-radius: 10px; background: var(--field); font-weight: 600; text-align: center; }

/* Sorrel: the bookings list in the Page Lemon app (mirrors the app's Bookings tab) */
.bkv { position: absolute; inset: 0; overflow: hidden; background: var(--paper); color: var(--ink); font: 400 clamp(8px, 1.8cqw, 14px)/1.35 var(--body); }
.bkv p, .bkv ul { margin: 0; }
.bkv-top { display: flex; align-items: center; gap: 6px; padding: 1.2cqw 3cqw; border-bottom: 1px solid var(--line); font: 700 clamp(9px, 1.6cqw, 13px)/1 var(--display); }
.bkv-main { display: grid; gap: 1.3cqw; padding: 2cqw 3cqw; }
.bkv-site { font: 700 clamp(12px, 2.6cqw, 20px)/1.1 var(--body); color: var(--brand); }
.bkv-tabs { display: flex; gap: 2.6cqw; border-bottom: 1px solid var(--line); }
.bkv-tabs span { padding: 0 0 0.8cqw; color: var(--muted); }
.bkv-tabs .is-cur { color: var(--ink); font-weight: 600; box-shadow: inset 0 -2px 0 var(--field); }
.bkv-ctl { display: flex; gap: 0.8cqw; }
.bkv-ctl span { padding: 0.5cqw 1.8cqw; border: 1px solid rgba(30, 29, 25, 0.26); border-radius: 999px; background: var(--surface); font-weight: 600; }
.bkv-ctl .is-cur { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.bkv-day { font-weight: 700; }
.bkv-list { list-style: none; padding: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; }
.bkv-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 2cqw; align-items: center; padding: 1.1cqw 1.8cqw; }
.bkv-list li + li { border-top: 1px solid var(--line); }
.bkv-row { display: flex; align-items: center; gap: 0.8cqw; }
.bkv-row i { padding: 0.1em 0.6em; border: 1px solid var(--line); border-radius: 999px; font-size: 0.82em; font-style: normal; color: var(--muted); }
.bkv-who { grid-column: 1; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bkv-acts { grid-column: 2; grid-row: 1 / 3; display: flex; gap: 0.6cqw; }
.bkv-acts span { padding: 0.5cqw 1.4cqw; border: 1px solid rgba(30, 29, 25, 0.26); border-radius: 999px; font-size: 0.92em; font-weight: 600; }
.bkv-acts .bkv-x { border-color: var(--alert); color: var(--alert); }
@container (max-width: 480px) { .bkv-acts span:not(.bkv-x) { display: none; } .bkv-main { gap: 1cqw; } }

/* ---------- Round 5 (2026-10-13) ---------- */
/* Whose chat it is: "You", then "Sam" once Sam's own AI takes over (Edit together) */
.how-chat-bar:has(.how-who) { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-block: 9px; }
.how-chat-bar:has(.how-who) > span:first-child { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.how-who { flex: none; font: 600 var(--fs-xs)/1 var(--body); color: var(--ink); }
.how-who > * { padding: 4px 10px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); }
.how-who .how-new { margin: 0; }
/* The invite email Sam gets, with its button */
.how-mail-invite { top: 14%; }
.hm-btns { margin-top: 0.4cqw !important; }
.how-mail .pl-btn { padding: 1cqw 2.4cqw; font-size: 0.95em; }
/* The link that ends an AI's list (the dashboard) */
.hb-list .hb-more { margin: 8px 0 0; font-size: var(--fs-sm); }
@media (min-width: 900px) { .hb-list .hb-more { font-size: 16px; } }
/* The visitor's page on a protected site, as Page Lemon serves it: title, line, password field, button, small print */
.gate-input { display: block; box-sizing: border-box; height: calc(1.5em + 1.8cqw + 3px); white-space: nowrap; overflow: hidden; color: var(--brand); letter-spacing: 0.14em; }
.gate-input:empty::before { content: attr(data-placeholder); letter-spacing: 0; color: color-mix(in srgb, var(--brand) 55%, transparent); }
.how-stage.is-anim .gate-input.is-focus { outline: 0; box-shadow: 0 0 0 2px color-mix(in srgb, var(--primary) 30%, transparent); }
.gate-small { font-size: 0.8em; opacity: 0.75; }
.gate-btn { transition: transform 120ms ease, filter 120ms ease; }
/* A 6-digit passcode goes in 6 boxes (owner 2026-10-13 round 6, as the real unlock page); fixed size while typed. */
.gate-label { font-size: 0.85em; font-weight: 600; }
.gate-code { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1cqw; }
.gate-code i { display: grid; place-items: center; box-sizing: border-box; height: calc(1.25em + 1.6cqw); border: 1.5px solid color-mix(in srgb, var(--brand) 45%, transparent); border-radius: 8px; background: var(--surface); font-style: normal; font-weight: 700; font-size: 1.3em; line-height: 1; color: var(--brand); }
.how-stage.is-anim .gate-code.is-focus i.is-cur { border-color: var(--primary); box-shadow: 0 0 0 2px color-mix(in srgb, var(--primary) 30%, transparent); }
.how-stage.is-anim .gate-code.is-focus { outline: 0; }
.how-stage.is-anim .gate-code.is-focus::after { content: none; }
/* The owner chooses the passcode in 6 boxes too (owner 2026-10-14), smaller than on the visitor page. */
.pl-code { gap: 0.8cqw; }
.pl-code i { height: calc(1.2em + 1.6cqw); font-size: 1.25em; border-color: rgba(30, 29, 25, 0.26); color: var(--ink); }
/* The team answer's list: bullets, not numbers */
.hb-list ul { margin: 0; padding: 0 0 0 1.2em; font-size: var(--fs-sm); line-height: 1.4; }
@media (min-width: 900px) { .hb-list ul { font-size: 16px; } }
/* Crumb: the Messages tab in the Page Lemon app (form picker, Inbox filter, each message with Archive and Bin) */
.msv-ctl .msv-sel { position: relative; padding-right: 2.6cqw; background: var(--surface); border-radius: 8px; font-weight: 500; }
.msv-ctl .msv-sel::after { content: ""; position: absolute; right: 1cqw; top: 40%; width: 0.4em; height: 0.4em; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: translateY(-50%) rotate(45deg); }
.msv-list .bkv-row small { color: var(--muted); font-size: 0.86em; }
.msv-list .bkv-row .msv-new { border-color: transparent; background: var(--field); color: var(--ink); font-weight: 600; }
.msv-list li { padding-block: 0.9cqw; }

.how-stage.is-anim .pl-page,
.how-stage.is-anim .gate,
.how-stage.is-anim .bkv { transition: opacity 450ms ease, visibility 450ms; }
.how-stage.is-anim .pl-page .pl-card { transition: transform 600ms cubic-bezier(.2, .7, .2, 1); }
.how-stage.is-anim .pl-page:not(.is-on) .pl-card { transform: translateY(2cqw); }
.how-stage.is-anim .pl-toast { transition: opacity 400ms ease, visibility 400ms, transform 500ms cubic-bezier(.2, .7, .2, 1); }
.how-stage.is-anim .pl-toast:not(.is-on) { transform: translate(-50%, 2cqw); }

/* Animation states, only while js/how.js plays a scene */
.fx { transition: opacity 600ms ease, visibility 600ms; }
.fx-slow { transition-duration: 1200ms; }
.how-stage:not(.is-anim) .fx[data-until]:not([data-still="on"]),
.how-stage:not(.is-anim) .fx[data-still="off"],
.how-stage.is-anim .fx:not(.is-on) { opacity: 0; visibility: hidden; }
.how-stage.is-anim .hb[data-at]:not(.is-on) { display: none; }
.how-stage.is-anim .hb-dots.is-on { display: block; }
.how-stage.is-anim .hb.is-on { animation: how-in 450ms cubic-bezier(.2, .7, .2, 1) both; }
.how-stage.is-anim .how-caret { visibility: visible; animation: blink 1s steps(1) infinite; }
.how-stage.is-anim .how-new.is-on { animation: how-glow 2s ease both; }
.how-stage.is-anim .how-load.is-on { animation: how-load 900ms ease-out both; }
.how-stage.is-anim .bk { transform: translateY(3cqw); transition: opacity 600ms ease, visibility 600ms, transform 800ms cubic-bezier(.2, .7, .2, 1); }
.how-stage.is-anim .bk.is-on { transform: none; }
.how-stage:not(.is-anim) .how-cursor-guest { display: none; }
.how.is-paused .how-stage.is-anim .how-caret { animation-play-state: paused; }

@keyframes how-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes how-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes how-glow { 0%, 40% { background: var(--field); } 100% { background: transparent; } }
@keyframes how-load { from { transform: scaleX(0); } 80% { opacity: 1; } to { transform: scaleX(1); opacity: 0; } }
@keyframes how-click { 50% { transform: scale(0.8); } }

@media (prefers-reduced-motion: reduce) {
  .how *, .how *::before { animation: none !important; transition: none !important; }
}

/* ---------- Two devices (owner 2026-10-18; styles.css "Device scenes"): the chat and the browser are the asker's
   laptop (the chip on the frame, their initial on their messages); another person's phone rises over the frame's
   bottom right corner; what lands for the asker drops in at the frame's top right. Room is kept above and below. */
.how-stage.how-dv { padding: 16px 0 76px; overflow-clip-margin: 14px; }
@media (min-width: 720px) { .how-stage.how-dv { overflow-clip-margin: 22px; } }
@media (min-width: 900px) { .how-stage.how-dv { padding-bottom: 64px; } }
.how-frame { position: relative; min-width: 0; container: dvf / inline-size; }
.how-frame > .how-browser { height: 100%; box-sizing: border-box; }
.how-frame .dv-note { top: 58px; }
.how-dv .how-swap { min-width: 0; max-width: 100%; }
.how-dv .how-swap > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.how-view .dv-ask > img { width: 30px; height: 30px; }
@media (max-width: 719px) { .how-frame .dv-phone { right: -6px; } .how-frame .dv-note { left: -6px; right: auto; top: 54px; width: calc(100% - clamp(128px, 30cqi, 184px) - 4px); } .how-frame .dv-phone > .dv-tag { top: 26%; } }
/* Whose messages: the asker's initial on the corner of each of their bubbles */
.hb-user[data-av] { position: relative; margin-right: 10px; }
.hb-user[data-av]::after {
  content: attr(data-av); position: absolute; right: -11px; bottom: -7px; display: grid; place-items: center; width: 22px; height: 22px;
  border-radius: 50%; background: var(--primary); color: #FFFFFF; font: 700 11px/1 var(--body); box-shadow: 0 0 0 2px var(--surface);
}
/* On a phone the cursor is a fingertip */
.how-cursor::before { content: ""; position: absolute; left: -11px; top: -11px; width: 22px; height: 22px; border-radius: 50%; background: rgba(30, 29, 25, 0.28); border: 2px solid #FFFFFF; opacity: 0; transition: opacity 200ms ease; }
.how-cursor.is-tap::before { opacity: 1; }
.how-cursor.is-tap svg { opacity: 0; }
.how-cursor.is-tap.is-click::before { animation: how-tap 320ms ease; }
@keyframes how-tap { 50% { transform: scale(0.75); } }
/* The passcode boxes: dots as they are typed */
.dv-code.is-focus i:empty:first-child, .dv-code i.is-cur { border-color: var(--primary); }
.how-stage.is-anim .dv-code.how-fill.is-focus { outline: 0; }
.how-stage.is-anim .dv-code.how-fill.is-focus::after { content: none; }
.how-stage.is-anim .dv-field.how-fill.is-focus { outline: 0; border-color: var(--primary); }

/* ---------- Apps scene (owner 2026-10-20, second version): the owner's app page with its Free and Pro plans (drawn in
   HTML, sized to the browser with cqw), then the member's phone: join, code, Stripe's page, /app, the AI summary of the month ---------- */
.tl-site { position: absolute; inset: 0; display: grid; align-content: start; justify-items: start; gap: 0.5em; padding: 1.2em 6% 0;
  background: #F6F1E7; color: #1F3B2D; font: 400 clamp(9px, 2.1cqw, 14px)/1.3 var(--body); text-align: left; }
/* Left-aligned, so the member's phone over the frame's right corner never covers the Pro plan */
.tl-site p { margin: 0; }
.tl-top { justify-self: stretch; display: flex; justify-content: space-between; align-items: center; padding-bottom: 0.7em; border-bottom: 1px solid rgba(31, 59, 45, 0.15); }
.tl-top b { font-size: 1.25em; }
.tl-top span { font-weight: 600; text-decoration: underline; }
.tl-h { margin-top: 0.8em !important; font: 700 2.3em/1.1 var(--body); letter-spacing: -0.02em; }
.tl-sub { color: #4F5F55; }
.tl-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9em; width: min(66%, 30em); margin-top: 0.8em; }
.tl-plan { display: grid; justify-items: start; gap: 0.25em; padding: 0.9em 1em; border: 1px solid rgba(31, 59, 45, 0.18); border-radius: 0.8em; background: #FFFFFF; text-align: left; }
.tl-plan b { font-size: 1.15em; }
.tl-plan small { color: #4F5F55; font-size: 0.95em; }
.tl-price { font-weight: 700; font-size: 1.35em; }
.tl-join { justify-self: stretch; margin-top: 0.5em; padding: 0.45em; border-radius: 999px; border: 1.5px solid #1F3B2D; font-weight: 600; text-align: center; }
.tl-pro { border-color: #1F3B2D; box-shadow: 0 0 0 1.5px #1F3B2D; }
.tl-pro .tl-join { background: #1F3B2D; color: #FFFFFF; }
.tl-stack { display: grid; width: min(60%, 26em); }
.tl-stack > .fx { grid-area: 1 / 1; display: grid; align-content: start; gap: 0.6em; }
.tl-pane .tl-h { margin-top: 0.3em !important; font-size: 1.7em; }
.tl-pane .dv-field, .tl-pane .dv-go { font-size: 1em; }
/* Phones: the member's phone covers the frame's right third, so the page keeps to the left of it (the heading wraps,
   the plans narrow) and the view is taller so the plans fit. */
@media (max-width: 719px) {
  .tl-site { padding-right: calc(clamp(128px, 30cqi, 184px) + 4px); }
  .tl-plans, .tl-plans.tl-one { width: 100%; gap: 0.6em; }
  #how-p8 .tl-site { padding-right: 6%; }
  .tl-plan { padding: 0.7em 0.75em; }
  .tl-h { font-size: 2em; }
}
/* Round 2 (owner 2026-11-02): one pay button on a simple café page; a Sign in button then the sign-in box; an internal CRM
   whose sample data becomes real rows; a tarot app that draws a card and gives a reading. All drawn in HTML, sized with cqw. */
.tl-plans.tl-one { grid-template-columns: 1fr; width: min(46%, 20em); }
.tl-top .lg-open { padding: 0.35em 1em; border-radius: 999px; background: #1F3B2D; color: #FFFFFF; font-weight: 600; text-decoration: none; }
.tl-solo .tl-plans.tl-one { gap: 0.6em; }
.tl-solo .tl-plan { padding: 0.6em 1em; }
.lg-scrim { position: absolute; inset: 0; background: rgba(31, 59, 45, 0.4); }
.lg-card { position: absolute; left: 50%; top: 50%; width: min(56%, 22em); display: grid; gap: 0.7em; padding: 1.2em 1.3em; box-sizing: border-box; border-radius: 1em; background: #FFFFFF; box-shadow: 0 20px 40px -16px rgba(0, 0, 0, 0.5); transform: translate(-50%, -50%); transition: opacity 600ms ease, visibility 600ms, transform 600ms cubic-bezier(.2, .7, .2, 1); }
.how-stage.is-anim .lg-card:not(.is-on) { transform: translate(-50%, -43%); }
.lg-t { font: 700 1.3em/1.2 var(--body); }
.lg-google { display: flex; align-items: center; justify-content: center; gap: 0.7em; padding: 0.65em; border: 1.5px solid #1F3B2D; border-radius: 999px; font-weight: 600; }
.lg-google svg { flex: none; width: 1.3em; height: 1.3em; fill: currentColor; }
.lg-or { display: flex; align-items: center; gap: 0.8em; color: #4F5F55; }
.lg-or::before, .lg-or::after { content: ""; flex: 1; height: 1px; background: rgba(31, 59, 45, 0.2); }
.lg-card .dv-field { font-size: 1em; }
.lg-mail { padding: 0.55em; border-radius: 999px; background: #1F3B2D; color: #FFFFFF; font-weight: 600; text-align: center; }
@media (max-width: 719px) { .tl-plans.tl-one { width: 100%; } }
.app-pro { display: inline-block; padding: 0.05em 0.5em; border-radius: 999px; background: var(--primary); color: var(--on-primary); font-size: 0.75em; font-weight: 700; vertical-align: 0.1em; }
.app-amt { font-weight: 700; font-size: 1.2em; }
.app-total { justify-self: stretch; display: flex; justify-content: space-between; align-items: baseline; padding: 0 0.2em; }
.app-ai { border-color: var(--primary); }
.app-ai small { color: var(--ink); line-height: 1.3; }
.how-stage.is-anim .is-on > .app-ai { animation: how-in 600ms cubic-bezier(.2, .7, .2, 1) both; }
.app-list { align-content: start; padding-top: 3.2em; gap: 0.5em; }
.app-list > p:nth-child(2) { justify-self: start; }
.app-proj { display: grid; gap: 0.1em; white-space: normal; }
.app-proj b { font-size: 1em; }
/* On a feature page the demo sits inside an .ft-sec: no section padding of its own, the pause button above the stage. */
.how-demo-bar { display: flex; justify-content: flex-end; min-height: 36px; margin: 0 0 2px; }
.ft-sec.how { padding: 0; }
.ft-sec.how .ft-ba-rows { margin-bottom: 0; }
