/* ============================================================================
   peptide-letter.css — styling for sections/peptide_letter only.

   REQUIRES assets/we-chassis.css, linked immediately BEFORE this file. The
   chassis owns the tokens, reset, containers, the ONE nav's styling, .rv
   reveals, the shadow tiers, the .zone/.zone--light palettes, the canonical
   torn-paper tear system (.tstrip / --perf / --up2) with the real
   turbulence-derived masks, and the printed-paper layer (--pp-* / --tv-*).
   Nothing here redefines any of that. Do NOT add a #siteNav rule — see the
   chassis banner's "RESOLVED BY DELETION" note. (The nav's bar-to-tear seam
   was a real bug; it is fixed in assets/we-teaser-nav.css so all pages get
   it, NOT here.)

   PAGE IDEA
   An OPEN LETTER: a physical document rather than a landing page. Dark
   letterhead → cream sheet carrying a torn-off summary slip and the letter
   itself in serif with a drop-cap, hand-written beat headings and a signature
   → dark "ledger" of verbatim quotes on torn paper → cream operator section
   → dark seven-accounts close → cream reply. Everything is prefixed `pl-` so
   it cannot collide with the 26 other page sheets or with pdp.css.

   ⚠️ DESIGN LANGUAGE, decided in review — REAL PAPER, NOT PANELS.
   Every card on this page is a torn sheet of white paper with black ink and a
   yellow highlighter mark. Rounded dark translucent panels with blue
   micro-labels read as generic AI-template furniture and were explicitly
   rejected. When adding a card here, use .pl-paper — do not invent a
   `border:1px solid var(--line);border-radius:14px` panel.

   ⚠️ BLUE ON CREAM. Measured against the cream zone (#f5f0e8):
       --blue      #42b1ff → 2.07:1   (fails even the 3:1 large-text bar)
       --brand-ink ~#2d7cb6 → 3.96:1  (passes 3:1 large, FAILS 4.5:1 body)
   So on light zones: body-size accents are BLACK (#141109), and the only blue
   left is the large hand-written beat numerals (decorative — the sequence is
   redundant with the heading order) plus non-text underline strokes.

   VERTICAL RHYTHM — one scale, same names/values as pdp.css so the two newest
   pages in the theme agree optically:
     --s-xs 8 · --s-sm 14 · --s-md 22 · --s-lg 34 · --s-xl 56 · --s-2xl 84
   Tear clearances come from the chassis tokens via .tear-clear-top /
   .tear-clear-bottom — never hardcoded.
   ========================================================================== */

:root{--s-xs:8px;--s-sm:14px;--s-md:22px;--s-lg:34px;--s-xl:56px;--s-2xl:84px}
@media(max-width:640px){:root{--s-xl:40px;--s-2xl:56px}}

/* the fixed nav paints 55.6px + a 24px tear; 136px is the canonical
   first-content offset every other page in the theme uses. */
.pl-main{padding-top:136px}
@media(max-width:640px){.pl-main{padding-top:104px}}

/* ============================================================
   0 · SHARED PRIMITIVES
   ============================================================ */

/* ---- .pl-paper — one torn sheet of white paper -------------------------
   The page's single card primitive. Procedural stock (two generated noise
   layers composited multiply over white) with the two SHORT ends torn by the
   tiled --tv-l2 / --tv-r1 masks and everything between them filled by a
   gradient mask, so the long top/bottom edges stay cut straight. That is what
   a strip torn off a wider sheet actually looks like.

   ⚠️ The mask CLIPS the element's own drop-shadow, so the shadow MUST come
   from an unmasked wrapper — always wrap .pl-paper in .card-sh.
   ⚠️ Horizontal padding must stay >= var(--tear-amp) or text lands in the rag.
   Vary --pp-gp / --pp-sp per instance so no two sheets share a grain origin. */
/* ⬆ MOVED TO assets/we-chassis.css AS `.we-paper` (2026-08-28).
   The card recipe and the <mark> highlighter that used to live here are now
   the theme's canonical primitive, declared as `.we-paper,.pl-paper{…}` so
   this page keeps working unchanged while every FUTURE page has a
   torn-paper card to reach for instead of hand-rolling a rounded dark
   panel. Do not re-declare them here — one source of truth. The `pl-`
   ink tokens (--pi / --pi-soft / --pi-faint) come from that rule too, and
   the rules below still consume them. */

/* hand-drawn blue underline stroke. Non-text, so the 2.07:1 blue is fine
   here — it is an annotation, not the content. --blue is #42b1ff; it cannot
   be interpolated into a data URI, so the hex is inlined (keep in sync). */
.pl-uline{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 13' preserveAspectRatio='none'%3E%3Cpath d='M3 8.4C41 3.6 79 11.4 117 6.6c38-4.8 76 3.4 114-1.2 22-2.7 47 5.1 63 2.4' fill='none' stroke='%2342b1ff' stroke-width='3.2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:left 96%;background-size:100% .42em;
  padding-bottom:.1em;
  /* the stroke drew on the FIRST LINE ONLY: an inline box that wraps is
     painted as several fragments sharing one background box, so
     background-size:100% resolved against the whole inline box and the
     no-repeat image landed once. `clone` gives every line fragment its own
     background box — verified in production pixels on the two-line quote. */
  -webkit-box-decoration-break:clone;box-decoration-break:clone}

/* ---- editorial furniture (type scale shared with the teardowns) ---------- */
.hand-kick{font-family:var(--hand);font-weight:700;font-size:clamp(1.15rem,2.2vw,1.5rem);line-height:1;
  color:var(--blue);margin:0 0 var(--s-sm);transform:rotate(-1.4deg);transform-origin:left;
  display:inline-block}
.pl-main h1{font-weight:690;font-size:clamp(2.25rem,5vw,3.7rem);line-height:1.08;letter-spacing:-.03em;
  color:var(--ink);text-wrap:balance;margin:0 0 var(--s-md)}
.pl-main h2{font-weight:650;font-size:clamp(1.7rem,3.4vw,2.3rem);line-height:1.1;letter-spacing:-.025em;
  color:var(--ink);text-wrap:balance;margin:0 0 var(--s-md)}
.pl-main h3{font-size:1.24rem;font-weight:660;color:var(--ink);letter-spacing:-.015em;line-height:1.22;
  margin:0 0 var(--s-sm)}
.pl-main p{margin:0 0 var(--s-md)}
.pl-main p:last-child{margin-bottom:0}
.pl-main strong,.pl-main b{color:var(--ink);font-weight:640}
.lead{font-size:clamp(1.06rem,1.7vw,1.24rem);line-height:1.58;color:var(--ink);max-width:56ch}
.deck{font-size:1.02rem;line-height:1.6;color:var(--soft);max-width:60ch;margin:0 0 var(--s-lg)}
.pl-eyebrow{font-family:var(--mono);font-size:.62rem;letter-spacing:.16em;text-transform:uppercase;
  color:var(--dim);margin:0 0 var(--s-sm)}
/* black, not --brand-ink: 3.96:1 fails the 4.5:1 body-text bar on cream. */
.zone--light .pl-eyebrow{color:#4a4234}
.zone--light .hand-kick{color:#141109}

/* ============================================================
   1 · LETTERHEAD (dark paper)
   ============================================================ */
.pl-head{padding:0 0 var(--s-2xl)}

/* Put the recipient first, across the full masthead rather than in a tiny
   eyebrow above one column. Generic letters retain their existing eyebrow. */
.pl-main .pl-recipient{margin:0 0 clamp(22px,3vw,32px)}
.pl-recipient-label{display:block;font-family:var(--hand);font-size:clamp(1.15rem,2.2vw,1.5rem);
  line-height:1.1;color:var(--blue);margin-bottom:5px}
.pl-recipient-name{display:block;font-family:"FLBold",sans-serif;font-size:clamp(1.625rem,2.75vw,2.5rem);font-weight:400;
  line-height:1.02;letter-spacing:0;color:var(--blue);text-wrap:balance;
  overflow-wrap:anywhere}

/* the hero was ~45% dead space at 1440 (measured against the teardowns, which
   anchor their heroes with a visual). The exhibit card fills it with the
   single most damaging line of the actual paperwork. */
.pl-head-top{display:grid;grid-template-columns:minmax(0,1.06fr) minmax(0,.94fr);
  gap:var(--s-xl);align-items:start;margin:0 0 var(--s-xl)}
@media(max-width:1020px){.pl-head-top{grid-template-columns:1fr;gap:var(--s-lg)}}
.pl-head-top .lead{margin:0}

/* ---- the h1's paper tape ------------------------------------------------
   The teardowns' above-the-fold device: the emphasised phrase is a torn strip
   of white paper laid over the dark masthead, ink-on-tape, instead of a
   painted underline. Torn on the two SHORT ends because that is how tape
   comes off a roll — the long edges are the roll's own width.
   .pl-tape-sh is the unmasked shadow wrapper (a mask clips its own shadow). */
/* The sentence's full stop lives INSIDE the tape (see the markup), so the
   headline ends with paper rather than a stray mark of ink floating past the
   torn edge. That also retires the old `margin-right:-.24em` hack here, which
   existed only to drag the tape's box back under an outside period: the tape
   carries .34em of inner padding plus a ~10px mask rag on its short end, so
   its box always ends well right of its ink and anything set after it looked
   detached. Nothing follows the tape now, so there is nothing to pull back.
   If punctuation ever has to sit outside a tape again, pull the BOX back —
   never trim the padding, which would drop the last glyph into the rag. */
.pl-tape-sh{display:inline-block;filter:var(--slip-shadow);--sh-rgb:0,0,0}
/* one unbreakable strip: if the phrase wraps, the tape splits into two ragged
   boxes. Released below 560px where the h1 measure is too narrow to hold it. */
.pl-tape{display:inline-block;font-style:normal;color:#141109;white-space:nowrap;
  padding:.02em .34em .06em;rotate:-1.3deg;
  background:var(--pp-speck-w) 30px 8px/var(--pp-s-size) repeat,
             var(--pp-grain-w) 6px 22px/var(--pp-g-size) repeat #fff;
  background-blend-mode:multiply,multiply;
  -webkit-mask-image:var(--tv-l2),var(--tv-r1),linear-gradient(#000,#000);
  mask-image:var(--tv-l2),var(--tv-r1),linear-gradient(#000,#000);
  -webkit-mask-repeat:repeat-y,repeat-y,no-repeat;mask-repeat:repeat-y,repeat-y,no-repeat;
  -webkit-mask-size:22px 300px,22px 300px,calc(100% - 40px) 100%;
  mask-size:22px 300px,22px 300px,calc(100% - 40px) 100%;
  -webkit-mask-position:left top,right top,center;mask-position:left top,right top,center}

/* ---- the letterhead rule: TO / FROM / RE / DATE ----
   Review: "the 'to, from, re, date' needs to be a tape just like the ones on
   the teardowns pages." It was a dark bordered grid — the generic panel look.
   Now one long strip of paper: wide, thin, torn on the two SHORT ends only,
   which is the correct use of the tape treatment (see the "WHICH EDGES TEAR"
   banner in we-chassis.css). Ink is black-on-paper, not white-on-dark. */
.pl-memo-sh{display:block;margin:0 0 var(--s-xl);--sh-rgb:0,0,0}
/* COLUMN WIDTHS — proportional to their content, NOT `repeat(4,1fr)`.
   With four equal columns the three long fields wrapped while DATE ("July
   2026") kept a full quarter of the tape, leaving ~190px of dead paper at the
   right end against ~12px of optical margin at the left. `max-content` on the
   last column sizes it to exactly "July 2026", so the only space after the
   date is the tape's own padding — which now matches the left.

   PADDING: the left/right mask rag eats ~20px of the box before the paper is
   even visible, so `var(--tear-amp)` alone left the "TO" almost touching the
   torn edge. +14px puts ~20px of visible paper either side. */
.pl-memo{rotate:-.35deg;display:grid;
  grid-template-columns:1.3fr .85fr 1.35fr max-content;
  column-gap:var(--s-lg);row-gap:var(--s-sm);
  padding:15px calc(var(--tear-amp) + 14px) 14px}
.pl-memo>div{position:relative;min-width:0}
/* vertical rules between fields — same recipe as .statbar in we-chassis.css
   (1px, rgba(30,22,10,.16), inset 24% top and bottom), centred in the gap. */
/* alpha .3, not the statbar's .16 — verified in production pixels, .16 over
   this paper texture is effectively invisible at the memo's ~50px row height
   (the statbar carries it over a much taller row). */
.pl-memo>div+div::before{content:"";position:absolute;left:calc(var(--s-lg) / -2);
  top:18%;bottom:18%;width:1px;background:rgba(30,22,10,.3)}
.pl-memo dt{font-family:var(--mono);font-size:.55rem;letter-spacing:.16em;text-transform:uppercase;
  color:var(--pi-faint);margin:0 0 4px}
.pl-memo dd{margin:0;font-size:.88rem;line-height:1.3;color:var(--pi);font-weight:600}
/* wrapped layouts: kill the rule on whichever item starts a row, or it draws
   against the tape's left padding instead of between two fields. */
@media(max-width:780px){.pl-memo{grid-template-columns:repeat(2,minmax(0,1fr))}
  .pl-memo>div:nth-child(odd)::before{display:none}}
@media(max-width:420px){.pl-memo{grid-template-columns:1fr}
  .pl-memo>div::before{display:none}}

.pl-cta-row{display:flex;gap:var(--s-sm);flex-wrap:wrap;align-items:center}
/* The hero's primary CTA is blue (review: "the demo button should also be blue
   instead of white") — applied with the .button--blue variant class defined at
   the foot of this file, not a scoped override. */

/* EXHIBIT A — a white paper notice on the dark letterhead. Bottom tear (it is
   a card, not a tape); padding-bottom clears the rag. */
.pl-exhibit{rotate:1.1deg;padding:24px var(--tear-amp) calc(6px + var(--tx-h))}
.pl-exhibit-h{display:flex;align-items:baseline;justify-content:space-between;gap:10px;
  font-family:var(--mono);font-size:.56rem;letter-spacing:.14em;text-transform:uppercase;
  color:var(--pi-faint);margin:0 0 var(--s-sm);padding-inline:14px}
.pl-exhibit-h b{color:var(--pi);font-weight:700}
.pl-exhibit blockquote{margin:0;padding-inline:14px;font-family:var(--serif);
  font-size:1.06rem;line-height:1.5;color:#181410;font-style:italic}
.pl-exhibit blockquote::before{content:"\201C"}
.pl-exhibit blockquote::after{content:"\201D"}
.pl-exhibit-f{margin:var(--s-md) 0 0;padding:var(--s-sm) 14px 0;
  border-top:1px dashed rgba(30,22,10,.22);font-family:var(--mono);font-size:.58rem;
  line-height:1.55;letter-spacing:.04em;color:var(--pi-faint)}
@media(max-width:560px){.pl-tape{white-space:normal}}
@media(max-width:1020px){.pl-exhibit{rotate:.6deg}}

/* ============================================================
   2 · THE SHEET (cream paper) — slip + letter + signature
   ============================================================ */

/* ⚠️ NO `padding` SHORTHAND ON A .tear-clear-* ELEMENT. This used to be
   `.pl-sheet{padding:0}`, which loaded after the chassis and silently zeroed
   `.tear-clear-top`'s padding-top:64px. The white slip then started flush at
   the dark→cream tear and its rotation pushed the top-right corner over the
   boundary as a tapering white wedge ~600px long. Set individual sides.

   --pl-col is the page's shared text measure. The slip and the letter BOTH use
   it so the card's left edge lines up with the letter's first character and
   its right edge with the end of the measure (review note: "line up the card
   with the text instead of having it off to the left"). A px value, not `ch`:
   the slip is sans and the letter is serif, so equal `ch` would NOT align. */
.pl-sheet{--pl-col:min(660px,100%)}

/* ---- the torn-off summary slip ----
   Width: FULL `.wide` measure, i.e. exactly the content width of the dark
   letterhead above it — review note: "it should not be aligned with the left
   and right edges of the main letter portion, it should match the width of the
   content in the dark section above." So there is deliberately NO max-width
   here; .pl-sheet is itself the .wide container.
   Wide + short = the one shape that still reads as a torn-off strip at full
   width, which is why the tape-style left/right tear stays on this one. */
.pl-slip{rotate:-.5deg;padding:26px var(--tear-amp) 24px}
.pl-slip-h{font-family:var(--mono);font-size:.6rem;letter-spacing:.16em;text-transform:uppercase;
  color:var(--pi-faint);margin:0 0 var(--s-md);padding-inline:14px}
/* ⚠️ THE LI MUST NOT BE A GRID CONTAINER. In CSS grid/flex every ELEMENT child
   becomes its own item — only contiguous TEXT is wrapped anonymously. So
   `<li><b>Lead-in.</b> rest of sentence</li>` inside a
   `grid-template-columns:30px 1fr` produced THREE items: ::before → (r1,c1),
   <b> → (r1,c2), trailing text → (r2,c1) — i.e. the sentence rendered inside
   the 30px counter column, ONE WORD PER LINE, and the slip grew ~3500px tall.
   Verified in production, not theorised. The counter is absolutely positioned
   and the li stays a normal block so <b> + text remain one inline flow. */
/* two columns at the new full width — four stacked one-line items across
   1180px would leave most of the strip empty. */
.pl-slip ol{list-style:none;counter-reset:tldr;margin:0;padding:0 14px;
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--s-md) var(--s-xl)}
@media(max-width:820px){.pl-slip ol{grid-template-columns:1fr}}
.pl-slip li{counter-increment:tldr;position:relative;padding-left:34px;
  color:#241f16;font-size:1rem;line-height:1.55}
.pl-slip li::before{content:counter(tldr);position:absolute;left:0;top:1px;width:22px;
  text-align:right;font-family:var(--mono);font-size:.78rem;font-weight:700;
  color:var(--pi);opacity:.42;line-height:1.6}
.pl-slip li b{color:var(--pi);font-weight:660}
@media(max-width:560px){.pl-slip{padding-inline:calc(var(--tear-amp) - 6px)}
  .pl-slip-h,.pl-slip ol{padding-inline:4px}}

/* ---- the letter itself ---- */
/* was calc(var(--s-2xl)*1.7) = ~143px, which review flagged as too much air
   between the slip and "Dear founder." */
.pl-letter{margin:var(--s-lg) auto 0;max-width:var(--pl-col)}
.pl-letter .pl-salute{font-family:var(--serif);font-size:1.2rem;font-style:italic;color:var(--ink);
  margin:0 0 var(--s-md)}
/* --s-lg, not --s-md: consecutive paragraphs were reading as one block. */
.pl-letter p{font-family:var(--serif);font-size:1.16rem;line-height:1.72;color:var(--soft);
  margin:0 0 var(--s-lg)}
/* tighter than the original 12px: the drop cap felt divorced from its word. */
.pl-letter p.pl-drop::first-letter{float:left;font-family:var(--mono);font-weight:800;
  font-size:4.15rem;line-height:.82;padding:2px 5px 0 0;color:#141109}
.pl-letter em{font-style:italic;color:var(--ink)}
/* black text, blue stroke: #2d7cb6 link text is 3.96:1 on cream and fails the
   4.5:1 body bar, so the colour carries none of the meaning. */
.pl-letter a{color:#141109;border-bottom:2px solid rgba(66,177,255,.55);
  transition:border-color .18s ease}
.pl-letter a:hover{border-bottom-color:#42b1ff}

/* numbered beats — hand-written, per review. The numeral sits in the margin at
   wide widths so the letter's measure is never broken by furniture. */
.pl-beat{margin:var(--s-xl) 0 0;position:relative;padding-left:84px}
.pl-beat-n{position:absolute;left:0;top:-14px;font-family:var(--hand);font-weight:700;
  font-size:clamp(2.5rem,5vw,3.5rem);line-height:.9;color:var(--blue)}
/* ⚠️ SANS (Neue Haas), not the hand font. Review: "let's change the letter
   subheaders … to be the neue haas it was before. Looking at it now, it's too
   much handwritten font now." The hand font is now reserved for accents only —
   the beat numerals, the .hand-kick eyebrows and the signature area. Same
   applies to .pl-need h3 and .pl-step h3 below. */
.pl-beat h3{font-family:var(--sans);font-weight:680;font-size:clamp(1.14rem,1.9vw,1.3rem);
  line-height:1.18;letter-spacing:-.015em;margin:0 0 var(--s-sm);color:var(--ink)}
@media(max-width:640px){.pl-beat{padding-left:0;margin-top:var(--s-lg)}
  .pl-beat-n{position:static;display:block;margin:0 0 2px}}

/* ---- the letter's closing lines ----
   These two paragraphs sit OUTSIDE .pl-beat, and the indent has now been
   settled in both directions, so read this before changing it back.

   They were indented 84px to line up with the beat bodies. Review: "the 'it
   was independence day weekend' and following paragraph is currently indented
   as though it's part of point 06 - it shouldn't be. outdent that so it's full
   width." At padding-left:0 they return to exactly the measure of the
   salutation and the intro paragraph ABOVE the beats, which is what makes
   them read as the letter resuming rather than as beat 06 continuing.

   ⚠️ KEEP THE `.pl-beat + .pl-close` TOP MARGIN. That is a SEPARATE defect
   from the indent, and deleting it as "part of the indent fix" brings it
   straight back: `.pl-main p:last-child{margin-bottom:0}` (0,2,1) zeroes the
   margin on beat 06's final paragraph — correct when another .pl-beat follows
   (it brings its own margin-top), but it leaves a bare <p> butted against
   that last line. Only the FIRST closing gets the gap; the second is spaced
   by normal paragraph rhythm. */
.pl-letter .pl-close{padding-left:0}
.pl-letter .pl-beat+.pl-close{margin-top:var(--s-xl)}

/* ---- the one line that gets to shout — now a torn sheet, hand-written ---- */
.pl-shout-wrap{margin:var(--s-xl) auto;max-width:var(--pl-col)}
/* bottom tear only (not a tape) + padding-bottom clears the rag. */
.pl-shout{rotate:-.6deg;padding:var(--s-lg) var(--tear-amp) calc(var(--s-sm) + var(--tx-h))}
/* much smaller, per review — it was clamp(1.55rem,3.4vw,2.35rem) and shouted
   louder than the h1. */
.pl-shout blockquote{margin:0;padding-inline:14px;font-family:var(--hand);font-weight:700;
  font-size:clamp(1.1rem,1.9vw,1.4rem);line-height:1.3;color:#141109;text-wrap:balance}
/* ---- the letter's footnotes ----
   Replaces `.pl-source`, which was mono / .6rem / letter-spacing .06em.
   Review: "the text is spaced out and looks different than everywhere else on
   the page. I'm also not sure that should be there because there is nothing
   it's really obviously quoting in the section above." Both were true — mono
   with tracking beside a 1.16rem serif measure reads as a different document,
   and an unanchored blurb doesn't tell you WHICH sentence it is sourcing.

   So: genuine fine print in the letter's own serif, tied to the body by
   numbered superscript markers (.pl-fnm below), with a short hairline rule to
   separate it from the paragraph it belongs to. It sits INSIDE .pl-beat, so
   it inherits that beat's 84px indent and stays visibly attached to its own
   point rather than floating between two of them.

   ⚠️ EVERY PROPERTY IS DECLARED. `.pl-main p` (0,1,1) beats a bare class, and
   list defaults (disc, padding-left) come from the UA sheet — see the
   specificity trap note in section 7. The `.pl-letter` prefix is what clears
   0,1,1, so do not "simplify" these selectors down to `.pl-fn`. */
.pl-letter .pl-fn{list-style:none;counter-reset:plfn;
  margin:var(--s-md) 0 0;padding:12px 0 0;
  border-top:1px solid rgba(30,22,10,.16);max-width:58ch}

/* ⚠️ The paragraph above the footnotes is NO LONGER `:last-child` — the <ol>
   is — so `.pl-main p:last-child{margin-bottom:0}` stops applying to it and it
   reinstates its full var(--s-lg) 34px. Stacked under the list's own 22px that
   opened a ~70px hole between the last line and the rule. This closes it to
   8+22 = 30px above the rule, 12px below it.
   `:has()` is what keeps this scoped to beats that ACTUALLY have footnotes —
   `p:last-of-type` would also match the final paragraph of every beat without
   one and out-specify the :last-child reset, putting margin back where it was
   correctly zero. Where :has is unsupported the gap just falls back to 56px:
   looser than intended, not broken. */
.pl-letter .pl-beat p:has(+ .pl-fn){margin-bottom:var(--s-xs)}
.pl-letter .pl-fn li{counter-increment:plfn;position:relative;padding-left:22px;
  margin:0 0 5px;font-family:var(--serif);font-size:.86rem;line-height:1.55;
  letter-spacing:0;color:#5b5344}
.pl-letter .pl-fn li:last-child{margin-bottom:0}
.pl-letter .pl-fn li::before{content:counter(plfn);position:absolute;left:0;top:0;
  width:14px;text-align:right;font-family:var(--sans);font-size:.62rem;
  font-weight:660;color:#141109;line-height:1.72}

/* The in-body reference marker.
   ⚠️ `line-height:0` is load-bearing: a `vertical-align:super` sup otherwise
   grows its own line box and opens a visible gap above that ONE line of the
   paragraph, which looks like a typesetting bug in a page made of paper.
   ⚠️ NOT var(--blue). At .58em this is small text, so it needs 4.5:1 — and
   #2d7cb6 measures 3.96:1 on this cream (same reason .pl-letter a is inked
   black with a blue underline instead of blue text). Near-black + weight is
   what makes it read as a marker. */
.pl-letter .pl-fnm{font-family:var(--sans);font-size:.58em;font-weight:660;
  line-height:0;vertical-align:super;letter-spacing:0;color:#141109;
  margin-left:2px}

/* ---- signature ---- */
/* was --s-2xl: too much air under the closing line. */
.pl-sign{margin:var(--s-xl) auto 0;padding:var(--s-lg) 0 0;
  border-top:1px solid rgba(30,22,10,.16);max-width:var(--pl-col)}
.pl-sign-logo{display:block;height:44px;width:auto;margin:0 0 var(--s-md);filter:brightness(0)}
/* photo + (name over title) as ONE unit, vertically centred against the
   circle — align-items:center on the flex row centres the text STACK, not the
   two lines individually, which is what "grouped unit" needs. */
.pl-sign-by{display:flex;align-items:center;gap:16px}
.pl-sign-photo{width:68px;height:68px;border-radius:50%;object-fit:cover;flex:none;
  box-shadow:0 0 0 1px rgba(30,22,10,.18)}
/* hand font, per review. line-height 1.05 + margin 0: the hand face carries a
   lot of built-in leading, so the default 1.2 opened a visible gap above the
   title even at margin:0. The title's 2px top margin is the whole gap now. */
.pl-sign-name{font-family:var(--hand);font-weight:700;
  font-size:clamp(1.35rem,2.2vw,1.6rem);color:var(--ink);margin:0;line-height:1.05}
.pl-sign-role{font-family:var(--mono);font-size:.62rem;letter-spacing:.1em;text-transform:uppercase;
  color:#4a4234;margin:2px 0 0;line-height:1.2}

/* ============================================================
   3 · THE LEDGER (dark paper) — verbatim quotes on torn sheets
   ============================================================ */
.pl-ledger{padding:var(--s-2xl) 0}
.pl-ledger-head{max-width:60ch;margin:0 0 var(--s-xl)}
.pl-quotes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--s-lg) var(--s-md)}
@media(max-width:860px){.pl-quotes{grid-template-columns:1fr}}
/* .card-sh carries the shadow; --sh-rgb 0,0,0 so it reads on the dark zone. */
.pl-quotes>.card-sh{--sh-rgb:0,0,0;display:flex}
.pl-q{padding:var(--s-lg) var(--tear-amp) calc(var(--s-xs) + var(--tx-h));
  display:flex;flex-direction:column;width:100%}
/* slight opposing tilts so six sheets don't stack like a printed grid */
.pl-quotes>.card-sh:nth-child(odd) .pl-q{rotate:-.35deg}
.pl-quotes>.card-sh:nth-child(even) .pl-q{rotate:.3deg}
.pl-q-src{font-family:var(--mono);font-size:.58rem;letter-spacing:.13em;text-transform:uppercase;
  color:var(--pi-faint);margin:0 0 var(--s-sm);padding-inline:14px}
.pl-q blockquote{margin:0 0 var(--s-md);padding-inline:14px;font-family:var(--serif);
  font-size:1.06rem;line-height:1.55;color:#181410;font-style:italic}
.pl-q blockquote::before{content:"\201C"}
.pl-q blockquote::after{content:"\201D"}
.pl-q-tr{margin:auto 0 0;padding:var(--s-sm) 14px 0;border-top:1px dashed rgba(30,22,10,.22);
  font-size:.93rem;line-height:1.5;color:var(--pi-soft)}
.pl-q-tr b{display:block;font-family:var(--mono);font-size:.56rem;letter-spacing:.14em;
  text-transform:uppercase;color:var(--pi-faint);font-weight:500;margin:0 0 6px}
.pl-q-tr em{font-style:italic;color:var(--pi)}
.pl-foot-note{font-family:var(--mono);font-size:.62rem;line-height:1.6;letter-spacing:.04em;
  color:var(--faint);margin:var(--s-xl) 0 0;max-width:74ch}
.pl-foot-note a{color:var(--dim);border-bottom:1px solid rgba(255,255,255,.18)}
.pl-foot-note a:hover{color:var(--blue)}

/* ============================================================
   4 · WHAT YOU ACTUALLY RUN (cream paper) — torn sheets again
   ============================================================ */
/* padding-bottom only — a shorthand here would zero .tear-clear-top (above). */
.pl-needs{padding-bottom:var(--s-xl)}
.pl-needs-head{max-width:62ch;margin:0 0 var(--s-xl)}
.pl-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--s-lg) var(--s-md)}
@media(max-width:940px){.pl-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.pl-grid{grid-template-columns:1fr}}
.pl-grid>.card-sh{display:flex}
.pl-need{padding:var(--s-lg) var(--tear-amp) calc(var(--s-xs) + var(--tx-h));
  display:flex;flex-direction:column;width:100%}
/* .pl-need is an only-child inside its .card-sh, so nth-child on the card
   never varied anything — the tilt has to key off the WRAPPER. */
.pl-grid>.card-sh:nth-child(odd) .pl-need{rotate:-.3deg}
.pl-grid>.card-sh:nth-child(even) .pl-need{rotate:.35deg}
.pl-need-n{font-family:var(--mono);font-size:.58rem;letter-spacing:.14em;color:var(--pi);
  margin:0 0 var(--s-sm);opacity:.55;padding-inline:12px}
/* sans, not hand — see the note on .pl-beat h3 */
.pl-need h3{font-family:var(--sans);font-weight:680;font-size:1.1rem;line-height:1.2;
  letter-spacing:-.015em;margin:0 0 var(--s-xs);color:var(--pi);padding-inline:12px}
.pl-need p{font-size:.95rem;line-height:1.55;color:var(--pi-soft);margin:0 0 var(--s-md);
  padding-inline:12px}
.pl-need dl{margin:auto 0 0;display:grid;gap:var(--s-xs);
  border-top:1px dashed rgba(30,22,10,.22);padding:var(--s-sm) 12px 0}
.pl-need dl>div{display:grid;grid-template-columns:64px 1fr;gap:10px;align-items:baseline}
.pl-need dt{font-family:var(--mono);font-size:.55rem;letter-spacing:.1em;text-transform:uppercase;
  color:var(--pi-faint)}
.pl-need dd{margin:0;font-size:.86rem;line-height:1.42;color:var(--pi-soft)}
.pl-need dd.pl-yes{color:var(--pi);font-weight:640}

/* ---- how a move actually goes ----
   margin:0 — .pl-move is the first thing in its own cream zone now that the
   payments section sits above it; the section's tear clearance owns the gap. */
.pl-move{margin:0}
/* the segue into .pl-steps — the four stages used to appear with no
   introduction at all, reading as an unrelated grid. */
.pl-move-h{font-family:var(--sans);font-weight:680;font-size:clamp(1.2rem,2.1vw,1.45rem);
  line-height:1.2;letter-spacing:-.015em;color:var(--ink);margin:var(--s-xl) 0 var(--s-xs)}
.pl-move-lede{font-size:1rem;line-height:1.6;color:var(--soft);max-width:62ch;margin:0}
.pl-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--s-md);
  counter-reset:step;margin:var(--s-lg) 0 0}
@media(max-width:860px){.pl-steps{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.pl-steps{grid-template-columns:1fr}}
/* ⚠️ NO WHITE KNOCKOUT BEHIND THE NUMERAL. This used to draw the rule as the
   step's own border-top and then hide the segment under the number with
   `background:var(--bg)` — a flat cream square that sat visibly LIGHTER than
   the textured cream zone behind it. The rule is now a separate ::after that
   simply STARTS after the numeral, so nothing has to be painted over. */
.pl-step{counter-increment:step;position:relative;padding:var(--s-md) 0 0}
.pl-step::before{content:"0" counter(step);position:absolute;top:0;left:0;
  font-family:var(--mono);font-size:.62rem;font-weight:700;letter-spacing:.1em;color:#141109}
.pl-step::after{content:"";position:absolute;top:5px;left:34px;right:0;height:2px;
  background:rgba(30,22,10,.22)}
/* sans, not hand — see the note on .pl-beat h3 */
.pl-step h3{font-family:var(--sans);font-weight:680;font-size:1.04rem;line-height:1.2;
  letter-spacing:-.015em;margin:0 0 6px}
.pl-step p{font-size:.9rem;line-height:1.5;color:var(--dim);margin:0}

/* ============================================================
   5 · SEVEN ACCOUNTS (dark paper) — THE ADMIN ARTIFACT

   Chey, three times: the original tiles "read as fairly generic AI-generated
   cards" → a strict admin data TABLE → "looks much more like fluid admin UI
   now, but I liked the tiles better than the table rows in terms of layout".
   So the final form is the admin's visual language applied to a TILE layout:
   white tiles on a gray-50 trough inside a flat bordered panel. Values below
   are the admin styleguide's, not this page's — that is the whole point. Do
   not fold them back into the page's tokens or rhythm, and do not restore the
   table.

   ⚠️ WHY THIS ONE THING IS LIGHT ON A DARK PAGE.
   The admin is light-mode ONLY — there is no dark theme and no .dark token
   block in it. A dark "admin-style" panel would therefore be a look the
   product does not have. So the artifact stays white and reads as a printout
   laid on the dark paper. CONSEQUENCE: every colour here is a literal hex.
   The page's --ink/--soft/--dim/--faint are dark-zone (near-white) values and
   inheriting any of them makes this panel's text invisible. Same reason the
   title is re-declared rather than inheriting `.pl-main h3`.

   ⚠️ GREY RAMP: this uses Tailwind's blue-tinted gray-* scale throughout
   (#e5e7eb, #6a7282, #f9fafb, #101828) because that is the admin's dominant
   "legacy" layer. Do NOT mix in the achromatic semantic greys (#e5e5e5,
   #737373) — the styleguide calls that specific mix out as wrong.

   The admin values, for reference when editing:
     surface #fff · border #e5e7eb · NO SHADOW (the dominant admin card is
     `border border-gray-200 shadow-none`)
     radius: panel/card 10px · tile & controls 8px · status badge 12px+
     tinted trough / header fill #f9fafb (gray-50)
     card title 18px/600 #101828 · meta 14px #6a7282 · micro 12px #6a7282
     body default 14px — 16px anywhere here reads as "not admin"
     status pill: -100 bg + -600 text, radius 12px, 12px/500
   Font is Inter (var(--sans)) — NOT var(--mono), which in this theme is the
   WeHaas display face and would break the illusion immediately.
   ============================================================ */
/* Visually-hidden, still announced. Used for the letter's h2 so the beats'
   h3s don't skip a heading level from the page h1. clip-path + 1px box rather
   than display:none or visibility:hidden, both of which remove it from the
   accessibility tree and defeat the point. */
.pl-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;
  clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}

/* ===========================================================================
   PLATFORM SWITCHING — two independent regions, one shared data model.
   ===========================================================================
   Two places on this page show a platform's own paperwork, and they are
   INDEPENDENT: the letterhead's Exhibit A cycles through all six while the
   receipts sit on Shopify until the reader picks another. So the state lives
   per-region on a `[data-plat-scope]` element, never on the page root.

   ⚠️ EXACTLY ONE SET IS MARKED `is-on` BY THE SERVER.
   Liquid renders every platform's markup and writes `is-on` onto the active
   one, from that section's own setting. CSS shows `.is-on` and hides the rest.
   So with no JavaScript at all you get one correct, readable platform — the
   picker and the cycle simply don't move. That is exactly why the class is
   server-side: an earlier build inverted it (hide by default, reveal with JS)
   and a 404'd script rendered a blank evidence section. Visibility must never
   depend on the script arriving.
   ------------------------------------------------------------------------- */

/* ---- letterhead: the cycling Exhibit A ---------------------------------- */
/* GRID STACK, not absolute positioning. All six cards occupy one grid cell,
   so the cell auto-sizes to the TALLEST card and the masthead never reflows
   as the cycle advances. Absolute positioning collapses the container and
   forces a magic min-height that clips the longest quote. */
.pl-ex-stack{display:grid;isolation:isolate;min-width:0;
  /* ⚠️ align-items:start IS LOAD-BEARING, not tidying. These cards are all
     grid-area:1/1, so the default `stretch` makes EVERY wrapper as tall as the
     TALLEST card's quote. The paper inside is content-height and top-aligned,
     so the clause looks identical either way — but the wrapper's bottom edge
     ends up far below the visible paper on the shorter quotes, and the logo
     scrap (positioned bottom:-Npx against that wrapper) then floats in dead
     space with a gap instead of overlapping the card. Shipped exactly that.
     `start` collapses each wrapper onto its own paper; the cell still sizes to
     the tallest card, so the masthead still never reflows as the cycle runs. */
  align-items:start}
/* ⚠️ .pl-exhibit CARRIES ITS OWN `rotate:1.1deg` (line ~199) for the original
   single-card hero. Inside the stack the per-card --ex-tilt-on owns the angle,
   so that baked-in rotation has to be zeroed or the two COMPOSE and cancel:
   -1.5deg of tilt plus 1.1deg of card leaves 0.4deg, and every card renders
   dead straight. That shipped once — the cycle worked and looked broken. */
.pl-ex-stack .pl-exhibit{rotate:0deg}
.pl-ex-stack>[data-plat-card]{
  grid-area:1/1;
  /* containing block for the logo scrap. The transform below already makes
     this one, but say it out loud so removing the transform can't silently
     re-anchor the scrap to the section. */
  position:relative;
  opacity:0;visibility:hidden;pointer-events:none;
  transform:rotate(var(--ex-tilt,0deg)) scale(.968) translateY(6px);
  transform-origin:52% 62%;
  transition:opacity .58s cubic-bezier(.22,1,.36,1),
             transform .58s cubic-bezier(.22,1,.36,1),
             visibility 0s linear .58s}
/* visibility flips instantly ON so focus/selection work the moment it lands,
   and is delayed OFF (above) so the outgoing card can finish fading. */
.pl-ex-stack>[data-plat-card].is-on{
  opacity:1;visibility:visible;pointer-events:auto;z-index:2;
  transform:rotate(var(--ex-tilt-on,0deg)) scale(1) translateY(0);
  transition-delay:0s,0s,0s}

/* ---- letterhead: the logo scrap on the clause card ----------------------
   A small square of paper laid over the clause's bottom-right corner with the
   platform's mark on it. Lives inside [data-plat-card], so it fades and
   advances with the clause for free.

   ⚠️ IT HANGS BELOW THE CARD, AND THE BUDGET IS NOW TIGHT. That works because
   .pl-head-top is `align-items:start` (the row does not stretch) and carries
   `margin-bottom:var(--s-xl)`, which the overhang drops into:

       desktop   bottom:-44px  vs  --s-xl 56px  → 12px clearance
       ≤640px    bottom:-30px  vs  --s-xl 40px  → 10px clearance

   The scrap sat at -26px/-18px until review asked for it lower, so it would
   stop covering the clause footnote's first line. Going deeper than about
   -50px desktop / -34px mobile puts it into the memo tape below. If the hero's
   rhythm changes, re-check both numbers against --s-xl rather than nudging
   until it looks right at one width.

   ⚠️ THE RAG IS RE-SCALED, NOT REUSED. The .we-tear-* variants are sized for
   a ~400px card: at --tx-h:36px a rag would eat 40% of an 86px scrap. These
   values keep the tile's ORIGINAL 6.25:1 width:height ratio (112/18 = 6.2) so
   the rag reads as the same torn paper, just smaller. Change them in pairs or
   the artwork stretches.

   ⚠️ NO invert() on this logo. The chips further down sit on the dark zone and
   need inverting; this one sits on WHITE paper, where the Simple Icons SVGs'
   own black is exactly right. Inverting here would render a white mark on
   white paper. */
.pl-ex-badge{position:absolute;right:24px;bottom:-44px;z-index:2;width:100px;
  /* its own shadow, so it reads as a separate scrap sitting ON the clause.
     The parent .card-sh filter shadows the group silhouette but cannot cast
     between two elements inside that same group. */
  filter:drop-shadow(0 7px 12px rgba(0,0,0,.5));
  /* Counter-rotate against the card's resting tilt so the two never look like
     one glued object. Composes with the parent's rotate: final angle is
     card*(1 - 2.2) = -1.2x the card, i.e. always opposing and proportional,
     which is why this needs no per-platform array of its own. */
  rotate:calc(var(--ex-tilt-on,0deg) * -2.6);
  /* a beat behind the clause, so it reads as a second piece of paper landing */
  transition:rotate .58s cubic-bezier(.22,1,.36,1) .07s}
.pl-ex-badge-p{display:grid;place-items:center;min-height:90px;
  /* a grain origin of its own — two adjacent sheets sharing one looks cloned */
  --pp-gp:6px 44px;--pp-sp:56px 14px;
  --tx-w:132px;--tx-h:21px;--tx-x:-14px;
  padding:16px 12px calc(9px + var(--tx-h))}
.pl-ex-badge img{height:30px;width:auto;object-fit:contain}
/* ⚠️ WOOCOMMERCE IS A WORDMARK ON A SQUARE CANVAS. Every Simple Icon is
   24x24, but WooCommerce's ink sits between y=9.58 and y=13.72 — only ~17.5%
   of the canvas height, spanning its full width. At height:30px that is ~5px
   of ink and it reads as a dash. width/max-width cannot fix it (width:auto on
   a 1:1 canvas equals the height), so scale the canvas up and pull the box
   back with negative margins; the overflow is transparent canvas, never ink.
   Read the SVG's path bounds before changing any of these numbers. */
[data-plat-card="woocommerce"] .pl-ex-badge img{height:70px;margin:-20px 0}
@media(max-width:640px){
  .pl-ex-badge{width:84px;right:16px;bottom:-30px}
  .pl-ex-badge-p{min-height:74px;padding:13px 10px calc(8px + var(--tx-h))}
  .pl-ex-badge img{height:26px}
  [data-plat-card="woocommerce"] .pl-ex-badge img{height:60px;margin:-17px 0}
}

/* ---- receipts: show one set, hide five ---------------------------------- */
/* Three rules, not eighteen: the server decides which set carries `is-on`, so
   the selectors never have to enumerate the platforms. `.pl-quotes` needs its
   own rule because it must return to `grid`, not `block`. */
[data-plat-scope] [data-plat]{display:none}
[data-plat-scope] [data-plat].is-on{display:block}
[data-plat-scope] .pl-quotes[data-plat].is-on{display:grid}

/* ---- receipts: the chip picker ------------------------------------------ */
.pl-rc-pick{display:flex;flex-wrap:wrap;align-items:center;gap:.55rem .9rem;
  margin:1.6rem 0 0}
.pl-rc-picklab{font-size:.75rem;letter-spacing:.13em;text-transform:uppercase;
  color:var(--dim)}
.pl-rc-chips{display:flex;flex-wrap:wrap;gap:.45rem}
/* Standing note under the chips explaining the Stripe chip. Mono + faint +
   rule, deliberately: it is apparatus, not argument, and must not compete
   with the deck above it or read as a seventh receipt. */
.pl-rc-note{font-family:var(--mono);font-size:.66rem;line-height:1.65;letter-spacing:.03em;
  color:var(--faint);margin:calc(var(--s-sm) + 2px) 0 0;max-width:70ch;
  padding-left:12px;border-left:1px solid rgba(255,255,255,.14)}
.pl-rc-chip{appearance:none;cursor:pointer;display:inline-flex;align-items:center;
  gap:.45rem;padding:.42rem .7rem;font:inherit;font-size:.8rem;letter-spacing:.01em;
  color:var(--dim);background:rgba(247,248,250,.05);
  border:1px solid rgba(247,248,250,.13);border-radius:999px;
  transition:background .16s,border-color .16s,color .16s,transform .16s}
.pl-rc-chip:hover{background:rgba(247,248,250,.1);border-color:rgba(247,248,250,.3);
  color:var(--fg);transform:translateY(-1px)}
.pl-rc-chip:focus-visible{outline:2px solid var(--accent,#7aa2ff);outline-offset:2px}
.pl-rc-chip[aria-pressed="true"]{color:var(--fg);border-color:rgba(247,248,250,.5);
  background:rgba(247,248,250,.14)}
/* ⚠️ Height-first, width auto, then capped. These marks have wildly different
   aspect ratios — Shopify/Adobe/Squarespace are near-square, WooCommerce is a
   ~6:1 wordmark. Boxing them all into 18x18 shrinks the wide ones to a 3px
   smudge (shipped that once). invert() changes value only, never hue or shape. */
.pl-rc-chip img{height:16px;width:auto;object-fit:contain;
  filter:invert(1);opacity:.6;transition:opacity .16s}
/* ⚠️ THE WOOCOMMERCE MARK NEEDS THIS. Every Simple Icon is a 24x24 SQUARE
   canvas, but WooCommerce's is a WORDMARK: its ink sits between y=9.6 and
   y=13.7, so only ~17.5% of the canvas height is inked, full width. At
   height:16px that renders ~2.8px of ink and reads as a stray dash.
   width/max-width cannot fix it — width:auto on a 1:1 canvas is 16px, so the
   box was never the constraint (an earlier "fix" raising max-width to 98px was
   a no-op that shipped).
   So scale the whole canvas up until the ink band is legible, then pull the box
   back to 16px with negative margins so the chip doesn't grow. The overflow is
   transparent canvas, never ink, so nothing clips. Verify against the actual
   SVG path bounds before touching these numbers. */
.pl-rc-chip[data-plat-pick="woocommerce"] img{height:54px;margin:-19px 0}
.pl-rc-chip:hover img,.pl-rc-chip[aria-pressed="true"] img{opacity:1}
@media(max-width:620px){
  .pl-rc-pick{gap:.5rem}
  .pl-rc-chip span{display:none}
  .pl-rc-chip{padding:.5rem .6rem}
  .pl-rc-chip img{height:17px;max-width:64px}
}

/* ---- receipts: the animated repopulate ---------------------------------- */
/* Staggered entrance, delay driven by the card's own --rc-i (set inline by
   components/tos_receipts, because CSS cannot count siblings into a delay).
   ⚠️ Re-running this on cards that already ran it needs the class removed AND
   a forced reflow before re-adding — see receiptsPicker() in peptide-letter.js. */
@keyframes plRcIn{
  from{opacity:0;transform:translateY(16px) scale(.984)}
  to{opacity:1;transform:none}}
.pl-quotes.pl-rc-anim>*{animation:plRcIn .5s cubic-bezier(.2,.75,.25,1) both;
  animation-delay:calc(var(--rc-i,0) * 58ms)}

/* ⚠️ Motion here is decorative; the information is identical without it. Both
   the cycle and the stagger are switched off, and peptide-letter.js also skips
   starting the timer entirely. */
@media(prefers-reduced-motion:reduce){
  .pl-ex-stack>[data-plat-card],
  .pl-ex-stack>[data-plat-card].is-on{transition:none;transform:none}
  .pl-quotes.pl-rc-anim>*{animation:none}
  .pl-rc-chip:hover{transform:none}
}

/* The `.pl-pick-*` modal styles that used to live here were deleted with the
   modal itself (2026-08-31). See components/platform_picker/index.liquid for
   why it was replaced by the cycling Exhibit A and the chip picker above. */

.pl-seven{padding:var(--s-2xl) 0}
.pl-seven-head{max-width:58ch;margin:0 0 var(--s-lg)}

/* ---- the panel: flat white admin card ---- */
/* Full container width, because the content is now a 7-across TILE GRID
   rather than a 3-column table (the table only needed ~760px and wasted the
   rest on an empty Detail cell). */
.pl-adminpanel{margin:0 0 var(--s-md);
  font-family:var(--sans);background:#fff;border:1px solid #e5e7eb;border-radius:10px;
  overflow:hidden}
.pl-ap-head{display:flex;align-items:center;justify-content:space-between;gap:16px;
  flex-wrap:wrap;padding:16px 24px;border-bottom:1px solid #e5e7eb;background:#fff}
/* 0,2,0 beats `.pl-main h3` (0,1,1), which would otherwise impose the page's
   1.24rem near-white heading. 18px/600 #101828 is the admin card title. */
.pl-adminpanel .pl-ap-title{margin:0;font-family:var(--sans);font-size:18px;font-weight:600;
  line-height:1.2;letter-spacing:normal;text-transform:none;color:#101828}
.pl-ap-sub{font-size:14px;font-weight:400;color:#6a7282;letter-spacing:normal}

/* ---- the tile grid ----
   A tinted gray-50 body holding flat white tiles: the admin's "white card on
   a tinted trough" pattern, which is what lets the seven providers read as
   seven discrete objects (the reason Chey preferred tiles) WITHOUT resorting
   to the floating rounded cards that read as generic in the first pass.
   Tiles are 8px radius (the admin's control radius) inside the panel's 10px,
   1px #e5e7eb, and NO shadow — the flatness is the whole tell. */
.pl-ap-body{padding:16px;background:#f9fafb;
  display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:12px}
@media(max-width:1120px){.pl-ap-body{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:820px){.pl-ap-body{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:620px){.pl-ap-body{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* ⚠️ 360px, not 400px: at 390 (the iPhone case) two columns give ~149px tiles,
   which the widest pill — "Underwriting", ~100px + padding — still clears, and
   a 2x4 grid reads like the desktop artifact instead of a seven-item list.
   Below ~360 that pill would overflow a nowrap tile, so drop to one column. */
@media(max-width:360px){.pl-ap-body{grid-template-columns:1fr}}
.pl-ap-tile{background:#fff;border:1px solid #e5e7eb;border-radius:8px;
  padding:12px 12px 13px;min-width:0}
/* ⚠️ SCOPED. These are <p> inside .pl-main, and `.pl-main p` (0,1,1) beats a
   bare `.pl-ap-name` (0,1,0) — an unscoped margin here is silently replaced
   by the page's `margin:0 0 22px` and the tiles blow apart. `.pl-ap-tile .x`
   is 0,2,0 and wins. Same trap as .pl-source / .pl-foot-note further down. */
.pl-ap-tile .pl-ap-name{margin:0 0 8px;font-size:14px;font-weight:500;line-height:1.3;
  color:#101828;letter-spacing:normal}
.pl-ap-tile .pl-ap-detail{margin:8px 0 0;font-size:12px;font-weight:400;line-height:1.4;
  color:#6a7282;letter-spacing:normal}

/* ---- status pills: the admin's real status→colour map ----
   green settled · red terminated · yellow pending · blue scheduled.
   Set on the TILE so a state change is one attribute, and no new class. */
.pl-ap-tile[data-state="live"]        {--pill-bg:#dcfce7;--pill-fg:#00a63e}
.pl-ap-tile[data-state="down"]        {--pill-bg:#ffe2e2;--pill-fg:#e7000b}
.pl-ap-tile[data-state="underwriting"]{--pill-bg:#fef9c2;--pill-fg:#d08700}
.pl-ap-tile[data-state="connecting"]  {--pill-bg:#dbeafe;--pill-fg:#155dfc}
/* NO background tint on the failed tile. In this app even a destructive alert
   keeps a white background and only the text turns red — filled colour blocks
   are not the idiom. The hand-drawn X carries the exception instead. */
.pl-ap-pill{display:inline-flex;align-items:center;gap:6px;border-radius:12px;
  padding:2px 8px;font-size:12px;font-weight:500;line-height:1.5;
  background:var(--pill-bg);color:var(--pill-fg);white-space:nowrap}
.pl-ap-pill::before{content:"";width:6px;height:6px;border-radius:50%;
  background:currentColor;flex:none}

/* ---- the hand-drawn strike (the PAGE annotating the artifact) ----
   THE PAINT IS DECLARED HERE; THE WOBBLE COMES FROM THE FREEFORM SYSTEM.
   Both halves matter, and each one was learned by shipping it broken:

   1. Paint (fill/stroke/width/caps) is declared EXPLICITLY on `.pl-ap-x path`
      below, at (0,1,1), so it outranks `.fluid-stroke` (0,1,0) and cannot be
      silently restyled by another sheet in the chain. Leaning on
      `.fluid-stroke` alone for paint shipped a black, crisp, uneven X to
      production. `--ink` is the trap: we-freeform.css uses it as the stroke
      colour knob, while we-chassis.css defines it as the ZONE'S TEXT COLOUR
      (near-white on dark, near-black on cream). Whichever lands last wins, so
      an --ink-driven stroke can silently become body-text colour. Hence the
      literal hex.
   2. `.fluid-stroke` STAYS on the paths, and `filter:url(#wobble-stroke)` is
      ALSO re-declared below, for the one thing the system uniquely gives:
      the SMIL turbulence + displacement map from the sprite the layout
      inlines at the top of <body>. That filter is what makes the ink crawl;
      a wobbly `d` attribute only looks hand-drawn until you compare them.

   ⚠️ preserveAspectRatio="none" IS CORRECT HERE, with one condition.
   The tile is ~149x112 and the viewBox is square, so `none` stretches the
   geometry to span the whole card — which is the look that was signed off.
   The condition is `vector-effect:non-scaling-stroke`: without it the stroke
   width is stretched by different factors on each axis and the arms come out
   visibly uneven, thick one way and thin the other. The two go together —
   never remove one and keep the other. The turbulence is stretched by the
   same transform, which costs a little wobble fidelity; that is a deliberate
   trade for a mark that spans its card. */
/* ---- the shut-off tile has FALLEN OUT OF THE ROW ----
   Tilted and dropped so the failure reads structurally, not just as a red
   pill: this provider physically broke rank while the other six stayed
   aligned. Notes on why it is built this way:
     · `rotate`/`translate` (transforms), NOT margin — a transform does not
       affect layout, so the six healthy tiles keep their exact grid
       positions and the one tile visibly leaves the line. A margin would
       shove its neighbours and the whole row would look mis-built instead.
     · position:relative + z-index:2 so where the rotation overlaps the
       neighbouring tiles it paints OVER their 1px borders rather than being
       sliced by them.
     · 10px of drop against the panel body's 16px bottom padding, so nothing
       is clipped by .pl-adminpanel's overflow:hidden.
     · the X is a child, so it tilts WITH the card — the annotation stays
       registered to the thing it is annotating.
   ⚠️ The shadow is the ONE deliberate departure from the admin styleguide's
   "cards have no shadow" rule, and it is small on purpose. Without it the
   tilt reads as a CSS bug; with it the tile reads as lifted off the surface.
   The styleguide reserves shadows for things that overlay the page, and this
   tile now literally overlaps its neighbours. Do not grow it. */
.pl-ap-tile--x{position:relative;z-index:2;
  rotate:2.2deg;translate:0 10px;
  box-shadow:0 3px 8px -3px rgba(16,24,40,.16)}
.pl-ap-x{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;
  overflow:visible;z-index:1;
  --ink:#e7000b}   /* red-600 — the admin's own destructive colour */

/* ⚠️ EVERY STROKE PROPERTY IS DECLARED HERE, EXPLICITLY, ON PURPOSE.
   `.pl-ap-x path` is (0,1,1) so it outranks `.fluid-stroke` (0,1,0) and this
   mark cannot be silently restyled by another sheet in the chain. That is not
   belt-and-braces — it is a bug fix. Relying on `.fluid-stroke` alone shipped
   a BLACK, CRISP, half-dotted X to production ("looks like shite", correctly),
   because something between we-freeform.css, we-layer.css and the chassis was
   winning over it and no amount of reading the files told me which. Note in
   particular that `--ink` is an OVERLOADED NAME: we-freeform.css uses it as
   the stroke-colour knob, while we-chassis.css defines it as the zone's TEXT
   colour token (near-white on dark, near-black on cream). Depending on which
   one lands, an --ink-driven stroke can silently become body-text colour.
   Do not "simplify" this back to the classes.
   `.fluid-stroke` STAYS on the paths for the one thing it uniquely provides:
   filter:url(#wobble-stroke), the SMIL turbulence from the layout's sprite.
   Re-declared here too, so the wobble survives even if that class does not. */
.pl-ap-x path{
  fill:none;
  stroke:#e7000b;              /* literal, not var(--ink) — see above */
  stroke-width:3.4;            /* CSS px, held by vector-effect below */
  stroke-linecap:round;
  stroke-linejoin:round;
  stroke-dasharray:none;       /* defeats any draw-on dash rule */
  vector-effect:non-scaling-stroke;
  filter:url(#wobble-stroke);  /* the actual hand-drawn system */
  opacity:.92}
/* the retrace — a real marker X is drawn over itself once, never one clean
   pass. Faint and thinner so it reads as pressure, not a third stroke. */
.pl-ap-x path.pl-ap-x-retrace{stroke-width:2.1;opacity:.34}
.pl-acct-note{font-family:var(--hand);font-weight:700;font-size:clamp(1.15rem,2.4vw,1.55rem);
  color:var(--blue);transform:rotate(-1.2deg);display:inline-block;margin:0 0 var(--s-xl)}
.pl-three{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--s-lg);
  padding:var(--s-lg) 0 0;border-top:1px solid var(--line)}
@media(max-width:780px){.pl-three{grid-template-columns:1fr;gap:var(--s-md)}}
.pl-three h3{font-size:1.02rem;margin:0 0 var(--s-xs)}
.pl-three p{font-size:.93rem;line-height:1.55;color:var(--dim);margin:0}
.pl-three .pl-eyebrow{margin-bottom:6px}

/* ============================================================
   6 · ALREADY RUNNING (cream paper)
   Its own zone now that the payments section sits above it, so .pl-move is
   the first thing in the section rather than a continuation of the cards.
   ============================================================ */
/* padding-bottom only — a shorthand would zero .tear-clear-top (see .pl-sheet). */
.pl-already{padding-bottom:var(--s-xl)}

/* ============================================================
   7 · WHAT A DEMO ACTUALLY IS (dark paper)
   Split out of the old reply block: the demo explanation and the letter's
   sign-off were two different asks competing in one section.
   ============================================================ */
.pl-demozone{padding:var(--s-2xl) 0}
/* the video column is narrower than the copy column because the film is now
   SQUARE — at 1.04fr a square would stand ~590px tall and tower over the text
   beside it. .92/1.08 lands the square at roughly the height of the copy. */
.pl-demogrid{display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);
  gap:var(--s-xl);align-items:center}
/* Stacked, the section's own eyebrow + h2 must still lead — a video appearing
   before any heading loses the transition out of the cream zone above. */
@media(max-width:940px){.pl-demogrid{grid-template-columns:1fr;gap:var(--s-lg)}
  .pl-demogrid>:first-child{order:2}}
.pl-demozone h2{margin:0 0 var(--s-md)}
.pl-demozone .lead{margin:0 0 var(--s-lg);max-width:48ch}

/* the video. 16:9 via aspect-ratio so no padding-hack and no CLS; muted +
   playsinline + loop so it behaves as motion design rather than media the
   reader has to operate, and poster carries the first frame while it loads.
   Square corners on purpose — a rounded rect is the SaaS-panel tell.
   The hairline + shadow are neutral (not the warm 30,22,10) because this now
   sits on the DARK zone, where a warm ring reads as a brown edge. */
/* SQUARE (1:1), per review — every film that goes on these pages is square.
   aspect-ratio reserves the box before the video loads, so there is no CLS
   even though the <video> has no intrinsic size yet. object-fit:cover means a
   non-square source is centre-cropped rather than letterboxed, so a stray 16:9
   asset degrades acceptably instead of leaving black bars.
   The caption line that used to sit under this was removed in the same review
   ("we'll let it speak for itself") — do not reinstate .pl-vid-cap. */
.pl-vid{position:relative;aspect-ratio:1;overflow:hidden;
  background:#0b0f15;box-shadow:0 24px 60px -28px rgba(0,0,0,.75),
  0 0 0 1px rgba(255,255,255,.12)}
.pl-vid video{display:block;width:100%;height:100%;object-fit:cover}

/* what the call actually is. --soft/--ink flip with the zone, so only the
   hardcoded bullet needs a dark-zone value: black on #05070a is invisible. */
.pl-demo{list-style:none;margin:0 0 var(--s-lg);padding:0;display:grid;gap:var(--s-sm)}
.pl-demo li{position:relative;padding-left:26px;font-size:.96rem;line-height:1.5;color:var(--soft)}
.pl-demo li::before{content:"";position:absolute;left:4px;top:.55em;width:8px;height:8px;
  border-radius:50%;background:var(--blue)}
.pl-demo li b{color:var(--ink);font-weight:640}

/* ============================================================
   8 · REPLY (cream paper) — deliberately simple
   One low-commitment ask. The film, the bullets and the booking CTA all
   moved to the demo zone above.
   ============================================================ */
/* ⚠️ padding-bottom ONLY. This was `padding:0 0 var(--s-2xl)`, and the
   shorthand zeroed .tear-clear-top's 64px — which is exactly why review saw
   "the 'one more thing' is covered up by the dark background above". Third
   time this exact bug has bitten on this page (see .pl-sheet, .pl-needs). */
.pl-replyzone{padding-bottom:0}
/* ⚠️ two columns now (copy + polaroid), so the OLD single-column
   `max-width:var(--pl-col,660px)` had to go — 660px split in two gives a
   ~300px text measure. 940px keeps the copy at a readable width and still
   stops the pair stretching across the full 1180px container. */
.pl-reply{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);
  gap:var(--s-xl);align-items:center;max-width:940px}
@media(max-width:860px){.pl-reply{grid-template-columns:1fr;gap:var(--s-lg)}}
.pl-reply .hand-kick{color:#141109}
.pl-reply h2{margin:0 0 var(--s-md)}
.pl-reply .lead{margin:0 0 var(--s-lg);max-width:56ch}

/* ---- the polaroid ----
   Review: "put his headshot in a card to the right of 'One more thing' — the
   effect is that it should look like a polaroid that's torn off at the bottom,
   or like his picture is printed on the torn off paper card."

   So it is the SAME .we-paper--btm primitive as every other card on the page,
   not a bespoke frame: white stock, straight sides, torn bottom. The padding
   is the polaroid's white border — even on three sides, and deep at the bottom
   (>= --tx-h, or the caption lands in the rag) which is also what gives a real
   polaroid its heavy chin. we-tear-d so its rag differs from the cards above.
   .card-sh carries the shadow because the mask clips the element's own. */
.pl-pola-sh{justify-self:center;--sh-rgb:30,22,10}
.pl-pola{rotate:1.6deg;margin:0;max-width:330px;
  padding:14px 14px calc(4px + var(--tx-h))}
/* aspect-ratio:1 keeps the frame a true polaroid whatever the source crop */
.pl-pola img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:cover}
.pl-pola figcaption{font-family:var(--hand);font-weight:700;font-size:1.12rem;
  line-height:1.15;color:var(--pi);margin:12px 2px 0}
.pl-pola figcaption small{display:block;font-family:var(--mono);font-weight:400;
  font-size:.55rem;letter-spacing:.12em;text-transform:uppercase;color:var(--pi-faint);
  margin:3px 0 0}
@media(max-width:860px){.pl-pola{max-width:280px}}
/* ---- BUTTON VARIANTS ------------------------------------------------------
   Explicit CLASSES, not scoped overrides. The earlier `.pl-reply .button`
   rule also filled the `.ghost` secondary, so both CTAs rendered as identical
   blue slabs and the hierarchy vanished; `:not(.ghost)` patched that, but a
   variant class states the intent and cannot leak to a sibling.

   .button--blue = the page's ONE loud CTA (book a demo). Blue fill with
     near-black ink measures 7.9:1.
   .button--ink  = the reply's mailto. Black fill on cream paper reads as a
     stamp and stays visibly secondary to the blue booking CTA — the two live
     in different zones and must not compete. */
.button--blue{background:var(--blue);border-color:var(--blue);color:#07131d;font-weight:660}
.button--blue:hover{filter:brightness(1.07)}
.button--ink{background:#141109;border-color:#141109;color:#f7f4ee;font-weight:640}
.button--ink:hover{filter:brightness(1.35)}

/* ---- footer ---- */
.pl-footer{border-top:1px solid var(--line-soft);padding:var(--s-xl) 0}
.pl-footer-inner{width:min(var(--max),calc(100% - 44px));margin-inline:auto}
.pl-footer p{font-size:.84rem;line-height:1.6;color:var(--faint);max-width:80ch;margin:0 0 var(--s-md)}
.pl-footer .bar{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.pl-footer .bar img{height:26px;width:auto;opacity:.85}
.pl-footer .bar small{font-family:var(--mono);font-size:.6rem;letter-spacing:.1em;text-transform:uppercase;
  color:var(--faint)}

/* ============================================================
   7 · CORRECTIONS (keep last)
   ============================================================ */

/* ⚠️ SPECIFICITY TRAP — `.pl-main p` (0,1,1: class + type) BEATS a bare
   utility class like `.pl-source` (0,1,0), so every `margin:X 0 0` I set on a
   <p> in this file was silently replaced by the base rule's `margin:0 0 22px`.
   Symptom in production: the note under the reply CTAs sat ~10px below the
   buttons instead of 34px, and the ledger's source footnote butted up against
   the quote cards. Any <p> rule here that sets margin needs a descendant
   prefix to clear 0,1,1 — that is why these are re-declared rather than fixed
   in place. */
.pl-ledger .pl-foot-note{margin:var(--s-xl) 0 0}

/* The chassis `.button.ghost` is built for DARK zones — white ink on a
   translucent white border. On this page's cream reply zone it rendered as
   near-invisible white-on-cream (verified in production pixels). Re-ink it in
   black for light zones only; the dark-zone ghosts are untouched. */
.zone--light .button.ghost{color:#141109;border-color:rgba(30,22,10,.42);
  background:rgba(255,255,255,.34)}
.zone--light .button.ghost:hover{border-color:#141109;background:rgba(255,255,255,.62)}
