/* Tight Ship: the product page. Probe D's page order, in probe B's look, with the demo drawn in code (the motion probe, variant B)
   (serif headings, paper and bone, green buttons, orange only for accents).
   Phone first (390), holds at 360, widens to 1440. Uses the names in tokens.css.
   Everything here sits under .pp, so it never restyles the shared header or footer.
   New settings, defined here because tokens.css has none for them: */
.pp {
  --pp-max: 1152px;                 /* the page's widest column, the same as probe B's wide column */
  --pp-side: 340px;                 /* the price card's column on desktop */
  --pp-card: #fffdf8;               /* the price card's ground, a lighter paper, from probe D */
  --pp-body: #26323f;               /* body text on bone, from probe B */
  --pp-no: #a61b1b;                 /* the cross on a "does not work in" line, from probe D */
  --pp-step: 4.5s;                  /* one demo step (demo.js holds the same number) */
  --pd-navy: #14263f;               /* the drawn demo's colors, from the workbooks' own fills (the motion probe) */
  --pd-slate: #3d4f6b;
  --pd-red: #c62828;
  --pd-head: #22334e;               /* a sheet's header row */
  --pd-alt: #eef0f3;                /* a sheet's alternate row */
  --pd-line: rgba(12, 22, 37, .28);
}

/* a small reset of our own, at no weight, so base.css and the rules below both win over it */
:where(.pp) *, :where(.pp) *::before, :where(.pp) *::after { box-sizing: border-box; }
:where(.pp) h1, :where(.pp) h2, :where(.pp) h3, :where(.pp) p, :where(.pp) ul, :where(.pp) ol, :where(.pp) figure { margin: 0; }
:where(.pp) ul, :where(.pp) ol { padding: 0; list-style: none; }
:where(.pp) img { max-width: 100%; height: auto; display: block; }
:where(.pp) a { color: inherit; }
:where(.pp) button { font: inherit; color: inherit; }
.pp [hidden] { display: none !important; }
.pp :focus-visible { outline: 3px solid var(--orange-text); outline-offset: 3px; border-radius: 6px; }

.pp { background: var(--paper); color: var(--ink); font: 400 var(--fs-body)/1.6 var(--text); overflow-x: clip; }
.pp-wrap { width: 100%; max-width: var(--pp-max); margin-inline: auto; padding-inline: var(--gutter); }
.pp-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.pp-ic { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }

.pp-kicker {
  font: 700 16px/1.3 var(--cond); font-stretch: condensed;
  text-transform: uppercase; letter-spacing: .14em; color: var(--steel);
}
.pp-kicker--bar { color: var(--orange-text); letter-spacing: .18em; }
.pp-kicker--bar::before { content: ""; display: block; width: 36px; height: 4px; background: var(--orange); margin-bottom: 12px; }
.pp-h1 { font: 400 clamp(29px, 7.6vw, 46px)/1.12 var(--serif); letter-spacing: -.01em; text-wrap: balance; margin-top: 8px; }
.pp-h2 { font: 400 clamp(25px, 6.4vw, 32px)/1.18 var(--serif); letter-spacing: -.01em; text-wrap: balance; }
.pp-fine { margin-top: 14px; color: var(--steel); font-size: var(--fs-small); line-height: 1.5; }

/* buttons: green, as in probe B */
.pp-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 0 30px;
  background: var(--green); color: var(--paper);
  font: 600 18px/1 var(--text); text-decoration: none;
  border: 2px solid var(--green); border-radius: 10px;
  transition: background-color var(--t-tap) ease, transform .12s ease;
}
.pp-btn:hover { background: #0f2620; }
.pp-btn:active { transform: translateY(1px); }
.pp-btn--full { display: flex; width: 100%; }

/* ---------- the top: back link, name, and on the phone the price and Buy ---------- */
.pp-grid { padding-top: 6px; padding-bottom: 40px; }
.pp-back {
  display: inline-flex; align-items: center; gap: 4px; min-height: var(--tap); margin-left: -4px; padding-right: 8px;
  color: var(--green); font-weight: 600; font-size: var(--fs-small); text-decoration: none;
}
.pp-back:hover span { text-decoration: underline; text-underline-offset: 3px; }
.pp-back .pp-ic { transition: transform var(--t-tap) var(--move); }
.pp-back:hover .pp-ic { transform: translateX(-3px); }
.pp-head .pp-kicker { margin-top: 10px; }
/* the phone's top (Hank, Nov 15, 2026: "a couple headlines that describe it plainly once you click in"; "a separate
   $49 from 'buy for $49'"): what it is and what it does for you, then the price on its own line, a full-width
   Buy, "Pay once", and the must-knows by Buy. Desktop has the price card beside the name instead. */
.pp-plain { margin-top: 14px; }
.pp-plain__what { font: 600 20px/1.35 var(--text); color: var(--ink); text-wrap: pretty; }
.pp-plain__does { margin-top: 8px; color: var(--pp-body); font-size: 17px; line-height: 1.5; text-wrap: pretty; }
.pp-quick { margin-top: 22px; }
.pp-quick__price { font: 700 32px/1 var(--text); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.pp-quick .pp-btn { margin-top: 14px; }
.pp-quick__note { margin-top: 10px; text-align: center; color: var(--steel); font-size: var(--fs-small); }
.pp-quick__facts { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: var(--fs-small); }
.pp-quick__facts .pp-list { gap: 8px; }
.pp-quick__facts .pp-list li { line-height: 1.45; }

/* ---------- the demo: each step drawn in code ----------
   Variant B of site/probes/motion (Hank's pick, Nov 13, 2026): bar charts, short tables, chips, ticks and
   filled fields, drawn from the product's own sample data. sitegen/product.py writes the markup from
   data/demo/<id>.json. Only transform and opacity ever animate; widths come from the w1 to w100 classes
   at the foot of this file, never from a style attribute. */
.pp-demo, .pp-gallery, .pp-hero { margin-top: 28px; padding-block: 0; scroll-margin-top: 12px; }
.pp-demo__head { display: flex; flex-direction: column; gap: 6px; }
.pp-demo__note { margin-top: 8px; color: var(--steel); font-size: var(--fs-small); line-height: 1.5; max-width: 44em; }

/* the plain stacked list: what shows with JavaScript off. Every drawing is finished. */
.pp-steps { margin-top: 14px; }
.pp-step { min-width: 0; }
.pp-step + .pp-step { margin-top: 36px; }
.pd-stage { display: grid; min-width: 0; background: var(--bone); border-radius: var(--r-lg); padding: 8px; container-type: inline-size; }
.pd-scene {
  display: grid; align-content: start; min-width: 0; overflow: hidden;
  background: #fff; border-radius: var(--r); padding: 16px 14px 18px;
  box-shadow: 0 1px 2px rgba(12, 22, 37, .08), 0 8px 20px -12px rgba(12, 22, 37, .3);
}
.pd-scene > * { min-width: 0; }
.pp-step__words { padding: 14px 2px 0; }
.pp-step__h { display: flex; gap: 12px; align-items: flex-start; font: 600 19px/1.35 var(--text); }
.pp-num {
  flex: none; width: 30px; height: 30px; margin-top: -2px; border-radius: 50%;
  background: var(--green); color: var(--paper);
  display: inline-flex; align-items: center; justify-content: center;
  font: 700 17px/1 var(--text); font-variant-numeric: tabular-nums;
}
.pp-step__cap { margin-top: 8px; padding-left: 42px; color: var(--steel); font-size: var(--fs-small); line-height: 1.5; }
.pp-step__more { color: var(--ink); }
.pd-real { padding-left: 42px; }
.pd-real a, .pp-full a {
  display: inline-flex; align-items: center; min-height: var(--tap);
  color: var(--green); font-weight: 600; font-size: var(--fs-small);
  text-decoration: underline; text-underline-offset: 3px;
}
.pd-real a:hover, .pp-full a:hover { color: var(--orange-text); }
.pp-full { display: flex; justify-content: flex-end; }
.pp-full a { padding: 0 4px; }
.pp-gallery .pp-full { margin-top: 2px; }

/* ----- the drawn parts ----- */
.pd-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.pd-k { color: var(--orange-text); font: 700 14px/1.3 var(--text); letter-spacing: .04em; }
.pd-t { font: 700 21px/1.2 var(--text); }
.pd-k + .pd-t { margin-top: 2px; }
.pd-tag {
  flex: none; margin-left: auto; padding: 2px 10px; border: 1px solid var(--pd-line); border-radius: 999px;
  color: var(--steel); font: 600 14px/1.5 var(--text); letter-spacing: 0; white-space: nowrap;
}
.pd-tile { position: relative; display: flex; flex-direction: column; padding: 2px 0 2px 14px; border-left: 4px solid var(--pd-navy); }
.pd-tile strong { font: 700 52px/1 var(--text); letter-spacing: -.01em; color: var(--pd-navy); font-variant-numeric: tabular-nums; }
.pd-tile > span { margin-top: 4px; color: var(--steel); font: 700 14px/1.3 var(--text); letter-spacing: .04em; }
.pd-tile .pd-tag { position: absolute; right: 0; top: 0; }
.pd-tile--orange { border-color: var(--orange); }
.pd-tile--orange strong { color: var(--orange-text); }
.pd-tile--red { border-color: var(--pd-red); }
.pd-tile--red strong { color: var(--pd-red); }
.pd-tile--green { border-color: var(--green); }
.pd-tile--green strong { color: var(--green); }
.pd-tile--long strong { margin-top: 34px; font-size: 40px; }
.pd-ct { margin-top: 18px; font: 700 18px/1.3 var(--text); }
.pd-h { margin-top: 14px; padding-bottom: 3px; border-bottom: 2px solid var(--orange); color: var(--orange-text); font: 700 14px/1.3 var(--text); letter-spacing: .03em; }
.pd-sub { margin-top: 6px; color: var(--steel); font-size: 14px; line-height: 1.4; }
.pd-sub--b { margin-top: 14px; color: var(--ink); font-size: 16px; font-weight: 600; }
.pd-name { margin-top: 10px; font: 700 26px/1.15 var(--text); }
.pd-under { margin-top: 2px; color: var(--steel); font-size: 14px; line-height: 1.35; }

/* chips, and the fills a sheet gives its status cells (the workbook's own colors, as in the probe) */
.pd-chip { display: inline-block; padding: 2px 10px; border-radius: 999px; font: 700 14px/1.5 var(--text); white-space: nowrap; }
.s-orange { background: #ffd9bf; color: #8f3b05; }
.s-blue { background: #dbe7f5; color: #1f4c80; }
.s-green { background: #dff0e3; color: #226639; }
.s-purple { background: #e9e1f3; color: #533579; }
.s-amber { background: #fff1c7; color: #7a5a00; }
.s-mint { background: #c9ecd4; color: #12532a; }
.s-red { background: #fde2e1; color: #a61b1b; }
.s-grey { background: #e9ecf0; color: var(--steel); }
.s-plain { background: #fff; color: var(--steel); box-shadow: inset 0 0 0 1px var(--pd-line); }
.pd-chip.s-empty { width: 52px; height: 25px; vertical-align: middle; background: #fff; border: 1.5px dashed var(--pd-line); }   /* not marked yet */
.pd-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 12px; font-size: 14px; font-weight: 600; }
.pd-lead { flex: 0 0 100%; }
.pd-chips .pd-chip { white-space: normal; }

/* bars: a label, then a bar on a track, with its number after it */
.pd-bars { margin-top: 10px; display: grid; gap: 9px; }
.pd-bl { display: block; margin-bottom: 3px; font-size: 14px; line-height: 1.3; }
.pd-track { display: block; padding-right: 40px; }
.pd-bars--long .pd-track { padding-right: 68px; }
.pd-cell { position: relative; display: block; height: 18px; }
.pd-bar { display: block; height: 100%; border-radius: 2px; background: var(--orange); transform-origin: 0 50%; }
.pd-bars--navy .pd-bar { background: var(--pd-navy); }
.pd-bars--slate .pd-bar { background: var(--pd-slate); }
.pd-bars--red .pd-bar { background: var(--pd-red); }
.pd-num { position: absolute; left: calc(100% + 8px); top: 0; font: 700 14px/18px var(--text); font-variant-numeric: tabular-nums; white-space: nowrap; }
.pd-bars--short .pd-brow { display: grid; grid-template-columns: 84px minmax(0, 1fr); align-items: center; column-gap: 10px; }
.pd-bars--short .pd-bl { margin: 0; }

/* a short table: a few typed rows */
.pd-tblw { margin-top: 10px; overflow: hidden; border-radius: 4px; }
.pd-tbl { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.3; }
.pd-tbl th, .pd-tbl td { padding: 8px 7px; text-align: left; overflow-wrap: break-word; }
.pd-tbl th { background: var(--pd-head); color: #fff; font-weight: 600; vertical-align: bottom; }
.pd-tbl td { vertical-align: top; }
.pd-tbl td:first-child { font-weight: 600; }
.pd-tbl tbody tr:nth-child(even) { background: var(--pd-alt); }
.pd-tbl:not(:has(thead)) tbody tr { border-bottom: 1px solid var(--line); background: none; }
.pd-tbl .m { display: none; }
.pd-tbl .nw { white-space: nowrap; }
.pd-tbl td.pd-fill { font-weight: 700; font-variant-numeric: tabular-nums; box-shadow: inset 0 0 0 1px #fff; }
.pd-tbl td.pd-td--chip { padding-block: 6px; }

/* a checklist: a mark, the words, and sometimes a chip */
.pd-chks { margin-top: 8px; display: grid; }
.pd-chks li { display: flex; align-items: flex-start; gap: 12px; min-width: 0; padding: 6px 0; border-bottom: 1px solid var(--line); }
.pd-mark { flex: none; }
.pd-mark--num, .pd-mark--tick {
  display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: var(--green); color: var(--paper); font: 700 14px/1 var(--text); font-variant-numeric: tabular-nums;
}
.pd-mark--tick .pp-ic { width: 16px; height: 16px; stroke-width: 3; }
.pd-mark--box { display: grid; place-items: center; width: 18px; height: 18px; margin-top: 2px; border: 1.5px solid var(--ink); background: #fff; }
.pd-mark--box > span { display: grid; }
.pd-mark--box .pp-ic, .pd-choice .pp-ic { width: 14px; height: 14px; stroke-width: 3; }
.pd-mark--dot { width: 7px; height: 7px; margin: 8px 5px 0 6px; border-radius: 50%; background: var(--ink); }
.pd-cw { flex: 1; min-width: 0; }
.pd-cw b { display: block; font-size: 16px; line-height: 1.3; }
.pd-cw span { display: block; color: var(--steel); font-size: 14px; line-height: 1.35; }
.pd-cw .pd-cw1 { color: var(--ink); font-size: 16px; line-height: 1.35; }
.pd-chks .pd-chip { flex: none; margin-top: 1px; }

/* a form's fields: the label, then what is typed in it, or an empty line */
.pd-kv { margin: 8px 0 0; display: grid; }
.pd-kv > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; min-width: 0; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.35; }
.pd-kv dt { color: var(--steel); font-weight: 600; }
.pd-kv dd { margin: 0; min-width: 0; font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.pd-kv > .pd-kv__long { flex-direction: column; gap: 2px; }
.pd-kv__long dd { text-align: left; }
.pd-kv .nw { white-space: nowrap; }
.pd-kv dd:has(> .nw) { flex: none; }      /* a phone number or an id keeps its line; the label wraps */
.pd-kv .pd-dd--blank { flex: 1 1 40%; max-width: 62%; align-self: stretch; display: flex; align-items: flex-end; }
.pd-line { display: block; width: 100%; height: 2px; margin-bottom: 2px; background: rgba(12, 22, 37, .45); transform-origin: 0 50%; }
.pd-line.pd-hl { height: 20px; margin-bottom: 0; background: rgba(255, 116, 25, .16); box-shadow: inset 0 -2px 0 var(--orange); }
.pd-v.pd-hl { padding: 1px 3px; background: rgba(255, 116, 25, .16); box-shadow: inset 0 -2px 0 var(--orange); -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* tick boxes to choose from, and plain lines of text */
.pd-choices { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 10px; }
.pd-choice { display: inline-flex; align-items: center; gap: 7px; font: 700 16px/1.3 var(--text); }
.pd-choice i { flex: none; display: grid; place-items: center; width: 16px; height: 16px; border: 1.5px solid var(--ink); background: #fff; }
.pd-choice.is-on i { border-color: var(--orange-text); color: var(--orange-text); }
.pd-lines { margin-top: 8px; }
.pd-lines li { font-size: 15px; line-height: 1.4; }
.pd-lines--rows li { padding: 7px 0; border-bottom: 1px solid var(--line); }
.pd-lines--quote { padding-left: 12px; border-left: 3px solid var(--orange); }
.pd-lines--quote li { padding: 2px 0; }
.pd-lines--bullets li { position: relative; padding: 3px 0 3px 18px; }
.pd-lines--bullets li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); }

/* wider scenes: the stage is 560 px or more (a large phone on its side, a tablet, the desktop column) */
@container (min-width: 560px) {
  .pd-scene { padding: 22px 24px 24px; }
  .pd-brow, .pd-bars--short .pd-brow { display: grid; grid-template-columns: 180px minmax(0, 1fr); align-items: center; column-gap: 12px; }
  .pd-bars--short .pd-brow { grid-template-columns: 96px minmax(0, 1fr); }
  .pd-bl { margin: 0; text-align: right; }
  .pd-bars { gap: 12px; margin-top: 14px; }
  .pd-cell { height: 22px; }
  .pd-num { line-height: 22px; }
  .pd-tbl th, .pd-tbl td { padding: 9px 10px; }
  .pd-tbl .m { display: table-cell; }
  .pd-chks--two, .pd-kv--two { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
  .pd-lead { flex: 0 0 auto; margin-right: 6px; }
}

/* ----- the player: desktop (900 px and wider) only -----
   It is laid out from the first paint: assets/js/early.js, loaded in the head with no defer, puts "early"
   on <html> before anything is drawn, so the page never shows the stacked list and then snaps to one step.
   With scripts off there is no "early", and the plain list above stays, every drawing finished.
   If demo.js finds it cannot run, it puts is-plain on the demo and the plain list comes back.
   Every step sits in the same two rows (the drawing, the words), each as tall as the tallest step's,
   so nothing under the demo moves when the step changes.
   A phone has no player (Hank, Nov 15, 2026: the swipe "isn't intuitive"): the steps stay one after another
   down the page, and each draws as it scrolls into view (below, and assets/js/demo.js). */
.pp-rail, .pp-controls { display: none; }
@media (min-width: 900px) {
  .early .pp-demo:not(.is-plain) .pp-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 10px; margin-top: 10px; }
}
.pp-rail__btn {
  display: block; width: 100%; min-height: var(--tap); padding: 20px 0 0; border: 0; background: none;
  text-align: left; cursor: pointer; position: relative; color: var(--steel);
}
.pp-rail__track { position: absolute; left: 0; right: 0; top: 18px; height: 5px; border-radius: 3px; background: rgba(12, 22, 37, .16); overflow: hidden; }
.pp-rail__fill { display: block; height: 100%; background: var(--orange); transform: scaleX(0); transform-origin: 0 50%; }
.pp-rail__n, .pp-rail__l { display: none; }
.pp-rail__btn[aria-current="step"] { color: var(--ink); }

@media (min-width: 900px) {
  .early .pp-demo:not(.is-plain) .pp-steps { display: grid; grid-template-rows: auto auto; margin-top: 2px; touch-action: pan-y; }
  .early .pp-demo:not(.is-plain) .pp-step {
    grid-area: 1 / 1 / 3 / 2; margin: 0; display: grid; grid-template-rows: subgrid;
    visibility: hidden; opacity: 0; transition: opacity .16s ease, visibility 0s .16s;
  }
  /* the step leaving fades out first (0.16 s); the next one comes in after it, never over it */
  .early .pp-demo:not(.is-plain) .pp-step.is-current { visibility: visible; opacity: 1; transition: opacity .2s var(--out) .16s; }
  .early .pp-demo:not(.is-plain):not(.is-on) .pp-step:first-child { visibility: visible; opacity: 1; transition: none; }
  .early .pp-demo:not(.is-plain) .pp-step.is-init { transition: none; }
  @supports not (grid-template-rows: subgrid) {
    .early .pp-demo:not(.is-plain) .pp-step { grid-template-rows: auto auto; align-content: start; }
    .early .pp-demo:not(.is-plain) .pd-stage { min-height: 430px; }
  }
}

/* the phone's list: each step's name first, then its drawing, then the line under it and the real screen.
   The setup note goes after the steps, so the steps come first. */
@media (max-width: 899.98px) {
  .pp-demo { display: flex; flex-direction: column; }
  .pp-demo > .pp-demo__note { order: 1; margin-top: 28px; }
  .pp-demo > .pp-fine { order: 2; }
  .pp-step { display: flex; flex-direction: column; }
  .pp-step + .pp-step { margin-top: 40px; }
  .pp-step__words { display: contents; }
  .pp-step__h { order: 0; }
  .pp-step__more { order: 0; }
  .pp-step .pd-stage { order: 1; margin-top: 14px; }
  .pp-step__cap:not(.pp-step__more), .pp-step .pd-real { order: 2; }
  .pp-step__cap:not(.pp-step__more) { margin-top: 12px; }
  .pp-card__pic { display: none; }       /* the name and the plain lines are at the top; the card is for buying */
}

/* what moves. A step's drawing plays once, when demo.js gives the step "go": rows rise (.r), marks pop (.p),
   labels fade (.f) and bars grow (.bar), each in its place in the order (data-i). The probe's timing:
   0.4 to 0.6 s on the brand's ease-out, 0.07 s between pieces, held back 0.2 s while the last step fades.
   Start states only apply while motion is welcome, so reduced motion shows every drawing finished. */
[data-i="0"] { --d: .12s; } [data-i="1"] { --d: .19s; } [data-i="2"] { --d: .26s; } [data-i="3"] { --d: .33s; }
[data-i="4"] { --d: .40s; } [data-i="5"] { --d: .47s; } [data-i="6"] { --d: .54s; } [data-i="7"] { --d: .61s; }
[data-i="8"] { --d: .68s; } [data-i="9"] { --d: .75s; } [data-i="10"] { --d: .82s; } [data-i="11"] { --d: .89s; }
[data-i="12"] { --d: .96s; } [data-i="13"] { --d: 1.03s; } [data-i="14"] { --d: 1.10s; } [data-i="15"] { --d: 1.17s; }
@media (prefers-reduced-motion: no-preference) {
  .early .pp-demo:not(.is-plain) .pp-step:not(.go) .r { opacity: 0; transform: translateY(14px); }
  .early .pp-demo:not(.is-plain) .pp-step:not(.go) .p { opacity: 0; transform: scale(.82); }
  .early .pp-demo:not(.is-plain) .pp-step:not(.go) .f { opacity: 0; }
  .early .pp-demo:not(.is-plain) .pp-step:not(.go) .bar { transform: scaleX(0); }
  /* a step that has just left keeps its finished drawing until it has faded, then goes back to the start */
  .early .pp-demo:not(.is-plain) .pp-step:not(.go) :is(.r, .p, .f, .bar) { transition: opacity 0s .25s, transform 0s .25s; }
  .pp-step.go .r { transition: opacity .5s var(--out) calc(var(--d, .12s) + .2s), transform .5s var(--out) calc(var(--d, .12s) + .2s); }
  .pp-step.go .p { transition: opacity .4s var(--out) calc(var(--d, .12s) + .2s), transform .4s var(--out) calc(var(--d, .12s) + .2s); }
  .pp-step.go .f { transition: opacity .4s var(--out) calc(var(--d, .12s) + .2s); }
  .pp-step.go .bar { transition: transform .6s var(--out) calc(var(--d, .12s) + .2s); }
  /* if demo.js never arrives, the drawings still show, after four seconds (every step: a phone shows them all) */
  .early .pp-demo:not(.is-plain):not(.is-on) .pp-step :is(.r, .p, .f, .bar) { animation: pd-show .01s 4s forwards; }
}
@keyframes pd-show { to { opacity: 1; transform: none; } }
.pp-demo .pp-step.is-reset, .pp-demo .pp-step.is-reset * { transition: none !important; }

@media (min-width: 900px) {
  .early .pp-demo:not(.is-plain) .pp-controls { display: flex; gap: 10px; margin-top: 18px; }
}
.pp-ctl {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 18px; border-radius: 10px; cursor: pointer;
  border: 2px solid rgba(12, 22, 37, .3); background: transparent; font-weight: 600; font-size: 17px; line-height: 1;
  transition: background-color var(--t-tap) ease, transform .12s ease;
}
.pp-ctl:active { transform: translateY(1px); }
.pp-ctl--next { flex: 1; background: var(--green); border-color: var(--green); color: var(--paper); font-size: 18px; }
.pp-ctl[disabled] { opacity: .4; cursor: default; }
.pp-ctl--play { display: none; }
.pp-ctl--play .pp-ic--play { display: none; fill: currentColor; stroke-width: 1.4; }
.pp-ctl--play.is-paused .pp-ic--play { display: block; }
.pp-ctl--play.is-paused .pp-ic--pause { display: none; }

/* ---------- no demo: the screens as a plain gallery, or the card picture, large ---------- */
.pp-frame {
  margin-top: 16px; background: var(--bone); border-radius: var(--r-lg); padding: 10px;
}
.pp-frame img { width: 100%; background: #fff; border-radius: 10px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.pp-frame figcaption { padding: 12px 6px 4px; color: var(--steel); font-size: var(--fs-small); line-height: 1.5; }
.pp-hero__img { width: 100%; border-radius: var(--r-lg); box-shadow: var(--shadow); }

/* ---------- the price card (probe B's plain price card) ---------- */
.pp-card {
  margin-top: 32px; background: var(--pp-card);
  border: 1px solid var(--line); border-top: 4px solid var(--orange); border-radius: var(--r);
  box-shadow: 0 18px 40px -24px rgba(12, 22, 37, .4);
  overflow: hidden; scroll-margin-top: 16px;
}
.pp-card__img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 50%; }
.pp-card__body { padding: 22px 20px 22px; }
.pp-card__name { font: 400 21px/1.25 var(--serif); }
.pp-card__price { margin-top: 10px; font: 700 44px/1 var(--text); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.pp-card__line { margin-top: 12px; color: var(--pp-body); font-size: var(--fs-small); line-height: 1.55; }
.pp-card .pp-btn { margin-top: 18px; }
.pp-card__note { margin-top: 12px; text-align: center; color: var(--steel); font-size: var(--fs-small); }
.pp-card__fact {
  display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; padding-top: 14px;
  border-top: 1px solid var(--line); font-size: var(--fs-small); line-height: 1.5;
}
.pp-card__fact .pp-ic { color: var(--green); margin-top: 1px; }
.pp-card__facts { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); font-size: var(--fs-small); }
.pp-card__facts .pp-list { gap: 10px; }
.pp-card__facts .pp-list li { line-height: 1.45; }
.pp-card__facts .pp-sub { font-size: var(--fs-small); margin: 16px 0 8px; }
.pp-card__facts > .pp-sub:first-child { margin-top: 0; }

/* Buy again, after the questions */
.pp-buyrow {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; align-items: baseline;
  margin-top: 32px; padding: 22px 20px;
  background: var(--pp-card); border: 1px solid var(--line); border-top: 4px solid var(--orange); border-radius: var(--r);
}
.pp-buyrow__name { font: 400 21px/1.25 var(--serif); }
.pp-buyrow__price { font: 700 28px/1 var(--text); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.pp-buyrow .pp-btn { grid-column: 1 / -1; margin-top: 14px; }
.pp-buyrow__note { grid-column: 1 / -1; margin-top: 8px; text-align: center; color: var(--steel); font-size: var(--fs-small); }

/* ---------- the rest ---------- */
.pp-rest { margin-top: 16px; }
.pp-row { padding-block: 32px; border-bottom: 1px solid var(--line); }
.pp-rest > .pp-row:last-child { border-bottom: 0; }
/* a pair (What's included and Before you buy, then any extra sections two by two) is no box on a phone:
   its rows stack with the rest, exactly as before. On desktop it is two columns (below). */
.pp-pair { display: contents; }
.pp-row .pp-h2 { margin-bottom: 16px; }
.pp-row__body > p + p { margin-top: 12px; }
.pp-row__note { color: var(--steel); margin-bottom: 14px; }
.pp-sub { font: 600 18px/1.35 var(--text); margin: 22px 0 12px; }
.pp-row__body > .pp-sub:first-child { margin-top: 0; }
.pp-list { display: grid; gap: 12px; }
.pp-list + .pp-list { margin-top: 12px; }
.pp-list li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.5; min-width: 0; }
.pp-list li span { min-width: 0; overflow-wrap: anywhere; }
.pp-list .pp-ic { color: var(--green); margin-top: 2px; }
.pp-list .pp-no .pp-ic { color: var(--pp-no); }
.pp-list .pp-no span { font-weight: 600; }
.pp-list .pp-unsure .pp-ic { color: var(--steel); }
.pp-list--steps { counter-reset: pp-n; }
.pp-list--steps li { counter-increment: pp-n; }
.pp-list--steps li::before {
  content: counter(pp-n); flex: none; width: 28px; height: 28px; margin-top: -1px; border-radius: 50%;
  border: 2px solid var(--green); color: var(--green);
  display: inline-flex; align-items: center; justify-content: center;
  font: 700 16px/1 var(--text); font-variant-numeric: tabular-nums;
}

/* tap-to-open rows (Hank, Nov 15, 2026: "it can get more detailed if you keep digging"): on a phone What's
   included, Before you buy and the other detail rows show their heading and open on a tap; assets/js/motion.js
   folds them when the page opens. They are written open, so they read in full with scripts off, and on
   desktop they stay open as plain sections. */
.pp-fold > summary { list-style: none; }
.pp-fold > summary::-webkit-details-marker { display: none; }
.pp-fold > summary .pp-ic { display: none; }
@media (max-width: 899.98px) {
  .pp-fold { padding-block: 0; }
  .pp-fold > summary {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    min-height: 72px; padding: 16px 2px; cursor: pointer;
  }
  .pp-row.pp-fold > summary .pp-h2 { margin: 0; font-size: 24px; }
  .pp-fold > summary .pp-ic { display: block; color: var(--green); transition: transform var(--t-tap) ease; }
  .pp-fold[open] > summary .pp-ic { transform: rotate(180deg); }
  .pp-fold > .pp-row__body { padding: 0 2px 30px; }
  .pp-rest > .pp-fold:first-child, .pp-rest > .pp-pair:first-child > .pp-fold:first-child { border-top: 1px solid var(--line); }
}
@media (min-width: 900px) {
  .pp-fold > summary { pointer-events: none; cursor: default; }
}

/* questions: plain details rows, no script */
.pp-faq { border-top: 1px solid rgba(12, 22, 37, .2); }
.pp-q { border-bottom: 1px solid rgba(12, 22, 37, .2); }
/* the last question's own line closes the list; the buy band below has its own frame (one line, not two) */
.pp-row--faq { border-bottom: 0; }
.pp-q summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 60px; padding: 12px 2px; cursor: pointer; list-style: none;
  font: 600 18px/1.3 var(--text);
}
.pp-q summary::-webkit-details-marker { display: none; }
.pp-q summary .pp-ic { color: var(--green); transition: transform var(--t-tap) ease; }
.pp-q[open] summary .pp-ic { transform: rotate(180deg); }
.pp-q__a { padding: 0 2px 20px; color: var(--pp-body); }
.pp-q__a p + p { margin-top: 10px; }

/* ---------- the related product: a bone band ---------- */
.pp-rel { background: var(--bone); padding-block: var(--band); }
.pp-rel__card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: 0 10px 24px -20px rgba(12, 22, 37, .35); overflow: hidden;
}
.pp-rel__pic { background: var(--bone); padding: 16px; }
.pp-rel__pic .viz { max-width: 320px; margin-inline: auto; border-radius: var(--r); }
.pp-rel__body { padding: 22px 20px 20px; }
.pp-rel__body .pp-h2 { margin: 8px 0 12px; font-size: clamp(23px, 5.8vw, 28px); }
.pp-rel__body > p { color: var(--pp-body); }
.pp-rel__body > p + p { margin-top: 10px; }
.pp-rel__link {
  display: flex; align-items: center; gap: 10px; min-height: 56px; margin-top: 18px; padding: 0 16px;
  border: 2px solid var(--green); border-radius: 10px; color: var(--green);
  text-decoration: none; font-weight: 600; font-size: 17px;
  transition: background-color var(--t-tap) ease, color var(--t-tap) ease;
}
.pp-rel__price { margin-left: auto; font-variant-numeric: tabular-nums; }
.pp-rel__link .pp-ic { transition: transform var(--t-tap) var(--move); }
.pp-rel__link:hover { background: var(--green); color: var(--paper); }
.pp-rel__link:hover .pp-ic { transform: translateX(4px); }

/* ---------- wider ---------- */
@media (min-width: 640px) {
  .pp-rel__card { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); align-items: stretch; }
  .pp-rel__pic { display: grid; align-content: center; }
  .pp-rel__body { padding: 28px 30px 26px; }
  .pp-rel__link { display: inline-flex; min-width: 300px; }
}

/* ---------- desktop: 900 and wider (Nov 14: "reads as a mobile view adapted to a website") ----------
   A store page's shape: the name and the demo on the left, the price card beside them from the top; then the
   details across the whole page (the lists two by two, a panel for who decides,
   the questions beside their heading), a closing buy band, and the related tool. */
@media (min-width: 900px) {
  .pp { --pp-side: 300px; --pp-gap: 36px; --pp-split: 48px; }
  .pp-wrap { padding-inline: 32px; max-width: calc(var(--pp-max) + 32px); }
  .pp-grid {
    display: grid; grid-template-columns: minmax(0, 1fr) var(--pp-side); column-gap: var(--pp-gap);
    grid-template-areas: "head card" "show card" "rest rest"; grid-template-rows: auto 1fr auto;
    padding-top: 14px; padding-bottom: 72px;
  }
  .pp-head { grid-area: head; }
  .pp-plain, .pp-quick { display: none; }   /* the price card is right there on desktop, with the plain line */
  .pp-demo, .pp-gallery, .pp-hero { grid-area: show; margin-top: 30px; }
  /* the card sits beside the name and the demo, Buy at the top, and scrolls with the page. Not sticky (Hank,
     Nov 15): a sticky card kept going over the details below, which run the full width, and on a laptop window
     it scrolled inside itself. It is about as tall as the demo anyway, and the buy band after the questions
     brings Buy back. */
  .pp-card { grid-area: card; align-self: start; margin-top: 16px; }
  .pp-card__img { aspect-ratio: 3 / 2; }
  .pp-card__name { display: none; }      /* the name is the h1 beside it */
  .pp-card__price { margin-top: 0; }

  /* the details, across the page */
  .pp-rest { grid-area: rest; margin-top: 64px; border-top: 1px solid var(--line-strong); }
  .pp-row { padding-block: 52px; }
  .pp-row .pp-h2 { font-size: 30px; margin: 0 0 22px; }
  .pp-pair {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--pp-split);
    border-bottom: 1px solid var(--line);
  }
  .pp-pair > .pp-row { border-bottom: 0; }
  .pp-pair--one > .pp-row { grid-column: 1 / -1; max-width: 46em; }
  .pp-rest .pp-list { gap: 14px; }
  .pp-row__note { max-width: 40em; }

  /* who decides, and the questions, split on the same line as the pairs above (the panel's padding is the same
     on both sides, so its middle is the page's middle) */
  /* who decides: a bone panel, the heading beside the words */
  .pp-row--person {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--pp-split); align-items: start;
    margin-block: 52px 0; padding: 40px 44px; border: 0; border-radius: var(--r-lg); background: var(--bone);
  }
  .pp-row--person .pp-h2 { margin: 0; }
  .pp-row--person .pp-row__body { color: var(--pp-body); font-size: 18px; line-height: 1.6; max-width: 42em; }

  /* the questions beside their heading, which stays in view while they scroll */
  .pp-row--faq {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--pp-split); align-items: start;
    padding-top: 64px; border-bottom: 0;           /* the buy band below has its own frame */
  }
  .pp-row--faq .pp-h2 { position: sticky; top: 28px; margin: 0; }

  /* the closing buy band: the name and "Pay once" on the left, the price, then Buy */
  .pp-buyrow {
    grid-template-columns: minmax(0, 1fr) auto auto; column-gap: 32px; row-gap: 4px; align-items: center;
    margin-top: 12px; padding: 28px 32px 28px 36px;
  }
  .pp-buyrow__name { grid-area: 1 / 1; align-self: end; font-size: 26px; }
  .pp-buyrow__note { grid-area: 2 / 1; align-self: start; margin: 0; text-align: left; }
  .pp-buyrow__price { grid-area: 1 / 2 / 3 / 3; font-size: 36px; }
  .pp-buyrow .pp-btn { grid-area: 1 / 3 / 3 / 4; width: auto; min-width: 240px; margin: 0; }

  /* the related tool: the drawing larger, the words in a readable measure */
  .pp-rel__card { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .pp-rel__pic { padding: 36px; }
  .pp-rel__pic .viz { max-width: 380px; }
  .pp-rel__body { display: flex; flex-direction: column; justify-content: center; padding: 44px 52px; }
  .pp-rel__body .pp-h2 { font-size: 32px; }
  .pp-rel__body > p { max-width: 38em; }
  .pp-rel__link { align-self: flex-start; }

  .pp-rail__btn { padding: 12px 0; min-height: 58px; }
  .pp-rail__track { top: 0; }
  .pp-rail__n, .pp-rail__l { display: inline; font-weight: 600; font-size: 15px; line-height: 1.25; }
  /* the number hangs: a name that wraps starts its second line under the name, not under the number */
  .pp-rail__btn { display: flex; align-items: flex-start; gap: 6px; text-wrap: balance; }
  .pp-rail__n { flex: none; color: var(--orange-text); font-weight: 700; }
  .pp-rail__l { min-width: 0; }
  .pp-rail__btn:hover { color: var(--ink); }
  .pp-step__words { padding-top: 18px; }
  /* every step's frame is as tall as the tallest step's, so nothing below moves; a shorter drawing sits in
     the middle of that frame instead of leaving an empty white box under it (the final review, Nov 17) */
  .early .pp-demo:not(.is-plain) .pd-scene { align-self: center; }
  .pp-step__h { font-size: 21px; }
  .pp-num { width: 34px; height: 34px; font-size: 18px; margin-top: -2px; }
  .pp-step__cap { padding-left: 46px; font-size: 17px; max-width: 700px; }
  .pd-real { padding-left: 46px; }
  .pp-ctl { min-height: var(--tap); font-size: 16px; padding: 0 14px; }
  .pp-ctl--next { flex: none; background: transparent; color: var(--ink); border-color: rgba(12, 22, 37, .3); font-size: 16px; }
  .pp-ctl:hover:not([disabled]) { background: rgba(12, 22, 37, .06); }

  .pp-frame { padding: 14px; }
}
@media (min-width: 1200px) {
  .pp { --pp-side: 340px; --pp-gap: 48px; --pp-split: 64px; }
}
@media (min-width: 900px) and (max-height: 999px) {
  .pp-card__pic { display: none; }       /* keep Buy in view on a short window */
}

/* things that move on their own: desktop only, and only if motion is welcome */
@media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
  .early .pp-demo:not(.is-plain) .pp-ctl--play { display: inline-flex; min-width: 136px; justify-content: flex-start; }
}

/* stills (?step=N) and reduced motion: nothing eases, nothing rises */
.pp-demo.is-still .pp-step, .pp-demo.is-still .pp-step *, .pp-demo.is-still .pp-rail__fill { transition: none !important; animation: none !important; }
@media (prefers-reduced-motion: reduce) {
  .pp *, .pp *::before, .pp *::after { transition: none !important; animation: none !important; }
}

/* ---------- the price card: the free sample, the refund rule and how to reach us (Hank's picks, Nov 13) ---------- */
.pp-card__sample { margin-top: 6px; text-align: center; font-size: var(--fs-small); line-height: 1.4; }
.pp-card__sample a, .pp-card__ask a {
  color: var(--green); font-weight: 600;
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px;
}
.pp-card__sample a { display: inline-flex; align-items: center; min-height: var(--tap); }
/* the email stays whole and wraps like a second line of text; its padding makes a 44 px tap row without
   spacing the lines apart, so "Questions?" never sits alone above a gap (the final review, Nov 17, 2026) */
.pp-card__ask a { white-space: nowrap; padding: 11px 0; }
.pp-card__sample a:hover, .pp-card__ask a:hover { color: var(--orange-text); }
.pp-card__sample a:focus-visible, .pp-card__ask a:focus-visible { outline: 3px solid var(--orange-text); outline-offset: 3px; border-radius: 4px; }
.pp-card__promise { margin-top: 14px; color: var(--pp-body); font-size: var(--fs-small); line-height: 1.5; }
.pp-card__ask { margin: 12px 0 6px; color: var(--pp-body); font-size: var(--fs-small); line-height: 1.5; }

/* ---------- the price card: the line to the set (Hank, Nov 14: "should we push the bundle up front") ----------
   One quiet bone strip under "Pay once", so the set is seen at the moment of buying without crowding the Buy button. */
.pp-card__set { margin-top: 14px; }
.pp-card__set a {
  display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 12px 10px 14px;
  background: var(--bone); border-radius: 10px; color: var(--green);
  font-weight: 600; font-size: var(--fs-small); line-height: 1.35; text-decoration: none;
  transition: background-color var(--t-tap) ease;
}
.pp-card__set span { flex: 1; min-width: 0; text-wrap: pretty; }
.pp-card__set .pp-ic { width: 20px; height: 20px; transition: transform var(--t-tap) var(--move); }
.pp-card__set a:hover { background: #e7dcc4; }
.pp-card__set a:hover span { text-decoration: underline; text-underline-offset: 3px; }
.pp-card__set a:hover .pp-ic { transform: translateX(3px); }

/* ---------- bar widths for the drawn demo: w37 is 37% of the chart's full width ---------- */
.pd-cell.w1 { width: 1%; } .pd-cell.w2 { width: 2%; } .pd-cell.w3 { width: 3%; } .pd-cell.w4 { width: 4%; } .pd-cell.w5 { width: 5%; }
.pd-cell.w6 { width: 6%; } .pd-cell.w7 { width: 7%; } .pd-cell.w8 { width: 8%; } .pd-cell.w9 { width: 9%; } .pd-cell.w10 { width: 10%; }
.pd-cell.w11 { width: 11%; } .pd-cell.w12 { width: 12%; } .pd-cell.w13 { width: 13%; } .pd-cell.w14 { width: 14%; } .pd-cell.w15 { width: 15%; }
.pd-cell.w16 { width: 16%; } .pd-cell.w17 { width: 17%; } .pd-cell.w18 { width: 18%; } .pd-cell.w19 { width: 19%; } .pd-cell.w20 { width: 20%; }
.pd-cell.w21 { width: 21%; } .pd-cell.w22 { width: 22%; } .pd-cell.w23 { width: 23%; } .pd-cell.w24 { width: 24%; } .pd-cell.w25 { width: 25%; }
.pd-cell.w26 { width: 26%; } .pd-cell.w27 { width: 27%; } .pd-cell.w28 { width: 28%; } .pd-cell.w29 { width: 29%; } .pd-cell.w30 { width: 30%; }
.pd-cell.w31 { width: 31%; } .pd-cell.w32 { width: 32%; } .pd-cell.w33 { width: 33%; } .pd-cell.w34 { width: 34%; } .pd-cell.w35 { width: 35%; }
.pd-cell.w36 { width: 36%; } .pd-cell.w37 { width: 37%; } .pd-cell.w38 { width: 38%; } .pd-cell.w39 { width: 39%; } .pd-cell.w40 { width: 40%; }
.pd-cell.w41 { width: 41%; } .pd-cell.w42 { width: 42%; } .pd-cell.w43 { width: 43%; } .pd-cell.w44 { width: 44%; } .pd-cell.w45 { width: 45%; }
.pd-cell.w46 { width: 46%; } .pd-cell.w47 { width: 47%; } .pd-cell.w48 { width: 48%; } .pd-cell.w49 { width: 49%; } .pd-cell.w50 { width: 50%; }
.pd-cell.w51 { width: 51%; } .pd-cell.w52 { width: 52%; } .pd-cell.w53 { width: 53%; } .pd-cell.w54 { width: 54%; } .pd-cell.w55 { width: 55%; }
.pd-cell.w56 { width: 56%; } .pd-cell.w57 { width: 57%; } .pd-cell.w58 { width: 58%; } .pd-cell.w59 { width: 59%; } .pd-cell.w60 { width: 60%; }
.pd-cell.w61 { width: 61%; } .pd-cell.w62 { width: 62%; } .pd-cell.w63 { width: 63%; } .pd-cell.w64 { width: 64%; } .pd-cell.w65 { width: 65%; }
.pd-cell.w66 { width: 66%; } .pd-cell.w67 { width: 67%; } .pd-cell.w68 { width: 68%; } .pd-cell.w69 { width: 69%; } .pd-cell.w70 { width: 70%; }
.pd-cell.w71 { width: 71%; } .pd-cell.w72 { width: 72%; } .pd-cell.w73 { width: 73%; } .pd-cell.w74 { width: 74%; } .pd-cell.w75 { width: 75%; }
.pd-cell.w76 { width: 76%; } .pd-cell.w77 { width: 77%; } .pd-cell.w78 { width: 78%; } .pd-cell.w79 { width: 79%; } .pd-cell.w80 { width: 80%; }
.pd-cell.w81 { width: 81%; } .pd-cell.w82 { width: 82%; } .pd-cell.w83 { width: 83%; } .pd-cell.w84 { width: 84%; } .pd-cell.w85 { width: 85%; }
.pd-cell.w86 { width: 86%; } .pd-cell.w87 { width: 87%; } .pd-cell.w88 { width: 88%; } .pd-cell.w89 { width: 89%; } .pd-cell.w90 { width: 90%; }
.pd-cell.w91 { width: 91%; } .pd-cell.w92 { width: 92%; } .pd-cell.w93 { width: 93%; } .pd-cell.w94 { width: 94%; } .pd-cell.w95 { width: 95%; }
.pd-cell.w96 { width: 96%; } .pd-cell.w97 { width: 97%; } .pd-cell.w98 { width: 98%; } .pd-cell.w99 { width: 99%; } .pd-cell.w100 { width: 100%; }
