/* Old Whistle Pro: one look for everything Pro (owner #1038, redesigned for #1039, 25 Nov 2026; the study is
   research/PRO_DESIGN_STUDY.md). Gold leaf and lapis on vellum, the colours of the illuminated page; the painting is
   a real page (web/proart.js). Motion: transform and opacity only, so it holds 60 fps on a mid phone; none of it runs
   for prefers-reduced-motion or the app's "less motion". */
:root { --pg-l: #f7e6a6; --pg: #d6a945; --pg-d: #8f6419; --pl: #22427a; --pl-d: #162c55; --pl-ink: #fbf3dc; }

/* ------------------------------------------------------------------ the icon set */
.pi { width: 24px; height: 24px; flex: none; overflow: visible; }
.pi .g { fill: url(#ow-gold); }
.pi .k { stroke: var(--pg-d); stroke-width: .7; stroke-linejoin: round; }
.pi .l { fill: var(--pl); }
.pi .ls { fill: none; stroke: var(--pl); stroke-width: 1.3; stroke-linecap: round; }
.pi .ls.w { stroke-width: 1.8; }
.pi .gs { fill: none; stroke: url(#ow-gold); stroke-width: 2.2; stroke-linecap: round; }
.pi .gs1 { fill: none; stroke: var(--pg); stroke-width: .9; }
.pi .gs0 { fill: var(--pg-l); }
.pi .bead { fill: none; stroke: var(--pl); stroke-width: 1.1; stroke-dasharray: .1 1.75; stroke-linecap: round; }
html[data-theme="dark"] .pi .l, html[data-theme="candlelight"] .pi .l { fill: #3b62ad; }
html[data-theme="dark"] .pi .ls, html[data-theme="candlelight"] .pi .ls { stroke: #c9d6f2; }
html[data-theme="dark"] .pi .bead, html[data-theme="candlelight"] .pi .bead { stroke: #c9d6f2; }

/* ------------------------------------------------------------------ the system (#1039, research/PRO_DESIGN_STUDY.md)
   Spacing: 4-pt base, 8-pt rhythm (4 8 12 16 24 32 48). Type: 32/38 page title, 26/32 window title, 20/26 card
   title, 16/24 body, 14/20 secondary, 12/16 the small-caps eyebrow. Touch: 48 px, the main button 56 px. */
:root { --pz-1: 4px; --pz-2: 8px; --pz-3: 12px; --pz-4: 16px; --pz-5: 24px; --pz-6: 32px; --pz-7: 48px; --pz-m: 24px;
  --pz-gold-ink: #7a5514; --pz-lapis-ink: #22427a; --pz-tint: rgba(214, 169, 69, .09); --pz-line: rgba(122, 85, 20, .22); --pz-r: 14px; }
html[data-theme="dark"], html[data-theme="candlelight"] { --pz-gold-ink: #e6c97e; --pz-lapis-ink: #c3d2f2; --pz-tint: rgba(230, 201, 126, .08); --pz-line: rgba(230, 201, 126, .24); }
@media (max-width: 370px) { :root { --pz-m: 20px; } }

/* ------------------------------------------------------------------ the hero: a real page, the musicians in its border */
.phero { position: relative; overflow: hidden; isolation: isolate; background: #c99a3c; }
.phero img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; animation: pz-reveal .9s cubic-bezier(.2, .7, .2, 1) both; }
/* the gilded edge where the painting meets the page: a gold fillet and a madder line, as in the book */
.phero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, #a8721e, #f3dc92 30%, #c99a3c 60%, #f3dc92 85%, #a8721e); box-shadow: 0 1px 0 rgba(139, 44, 72, .55); }
/* the gold catches the light once, then rests */
.ph-leaf { position: absolute; inset: -10% -50%; pointer-events: none; mix-blend-mode: soft-light; z-index: 1;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 248, 220, .0) 44%, rgba(255, 248, 220, .7) 50%, rgba(255, 248, 220, 0) 56%, transparent 60%);
  transform: translate3d(-70%, 0, 0); animation: pz-shine 2.4s .9s cubic-bezier(.4, 0, .2, 1) 1 both; will-change: transform; }
.ph-sheet { height: clamp(152px, 22vh, 220px); }
.ph-page, .ph-founder { height: clamp(200px, 34vh, 340px); margin: 0 calc(-1 * var(--m, 16px)); }
.ph-charter { height: 168px; margin: -1px -1px var(--pz-4); }
.ph-offer { height: 220px; flex: none; }
@media (max-height: 760px) { .ph-sheet { height: 148px; } .ph-offer { height: 170px; } .ph-charter { height: 128px; } }

/* ------------------------------------------------------------------ the window */
.sheetpanel .box.pzbox { padding: 0; background: var(--page); border-radius: 20px 20px 0 0; }
.pz { color: var(--ink); }
.pz .pz-side { display: none; }
.pz .pz-col { display: flex; flex-direction: column; min-height: 0; flex: 1 1 auto; width: 100%; }
.pz .dp-scroll { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.pz-body { padding: var(--pz-5) var(--pz-m) var(--pz-2); }
.pz-eye { display: flex; align-items: center; gap: var(--pz-2); margin: 0; font: 600 12px/16px var(--ui); letter-spacing: .12em; text-transform: uppercase; color: var(--pz-gold-ink); }
.pz-eye .pi { width: 18px; height: 18px; }
.pz-h { margin: var(--pz-2) 0 var(--pz-2); font: 500 28px/34px var(--display); letter-spacing: -.005em; color: var(--ink); text-wrap: balance; }
h1.pz-h { font-size: 32px; line-height: 38px; }
.pz-lede { margin: 0 0 var(--pz-5); font: 400 16px/24px var(--ui); color: var(--ink-2); text-wrap: pretty; max-width: 34em; }
.pz-cap { margin: var(--pz-6) 0 var(--pz-2); font: 600 12px/16px var(--ui); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* hear it */
.pz .pw-hear { display: grid; grid-template-columns: 40px 1fr; align-items: center; gap: var(--pz-3); width: 100%; min-height: 64px; margin: 0 0 var(--pz-4); padding: var(--pz-3) var(--pz-4) var(--pz-3) var(--pz-3);
  border: 1px solid var(--pz-line); border-radius: var(--pz-r); background: var(--pz-tint); text-align: left; color: var(--ink); font: inherit; cursor: pointer; transition: transform .12s, background .16s; }
.pz .pw-hear i { display: grid; place-items: center; width: 40px; height: 40px; }
.pz .pw-hear .pi { width: 36px; height: 36px; }
.pz .pw-hear b { display: block; font: 600 16px/22px var(--ui); }
.pz .pw-hear small { display: block; font: 400 14px/20px var(--ui); color: var(--ink-2); }
.pz .pw-hear:active { transform: scale(.98); }
.pz .pw-hear[aria-pressed="true"] { background: rgba(214, 169, 69, .18); border-color: var(--gold); }

/* what Pro gives, each with its icon */
.pben { list-style: none; margin: 0 0 var(--pz-2); padding: 0; display: grid; text-align: left; }
.pben li { display: grid; grid-template-columns: 40px 1fr; align-items: center; gap: var(--pz-4); min-height: 64px; padding: var(--pz-3) 0; border-bottom: 1px solid var(--rule);
  animation: pz-ink .5s calc(.28s + var(--i, 0) * .05s) cubic-bezier(.2, .7, .2, 1) both; }
.pben li:last-child { border-bottom: 0; }
.pben i { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fffaf0, var(--paper-2, #efe7d3)); box-shadow: inset 0 0 0 1px var(--pz-line); }
html[data-theme="dark"] .pben i, html[data-theme="candlelight"] .pben i { background: radial-gradient(circle at 35% 30%, #22345e, #16264a); }
.pben b { display: block; font: 600 16px/22px var(--ui); color: var(--ink); }
.pben small { display: block; margin-top: 2px; font: 400 14px/20px var(--ui); color: var(--ink-2); }
.pben .pi { width: 24px; height: 24px; }

/* ------------------------------------------------------------------ the plans */
.pz .pwact { margin: 0; }
.pz-plans { display: grid; gap: var(--pz-3); margin: var(--pz-5) 0 var(--pz-4); padding: 0; }
.pz-plans.pz-wait i { display: block; height: 72px; border-radius: var(--pz-r); background: linear-gradient(90deg, var(--pz-tint), rgba(214, 169, 69, .16), var(--pz-tint)) 0 0 / 200% 100%; animation: pz-wait 1.2s linear infinite; }
.pz-plan { position: relative; display: grid; grid-template-columns: 24px 1fr auto; align-items: center; gap: var(--pz-3); width: 100%; min-height: 76px; margin: 0; padding: var(--pz-4);
  border: 1.5px solid var(--rule-2); border-radius: var(--pz-r); background: var(--page); color: var(--ink); text-align: left; font: inherit; cursor: pointer;
  transition: border-color .16s, box-shadow .16s, background-color .16s, transform .12s; animation: pz-ink .45s calc(.2s + var(--i, 0) * .05s) cubic-bezier(.2, .7, .2, 1) both; }
.pz-plan:active { transform: scale(.985); }
.pz-plan:disabled { opacity: .55; cursor: default; }
.pz-plan[aria-checked="true"] { border-color: var(--gold); background: linear-gradient(180deg, rgba(214, 169, 69, .13), rgba(214, 169, 69, .05)), var(--page);
  box-shadow: 0 0 0 1px var(--gold), 0 6px 18px -10px rgba(122, 85, 20, .55); }
.pz-plan:focus-visible { outline: 3px solid var(--pz-lapis-ink); outline-offset: 2px; }
.pz-dot { width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--rule-2); transition: box-shadow .16s; }
.pz-plan[aria-checked="true"] .pz-dot { box-shadow: inset 0 0 0 2px var(--pz-lapis-ink), inset 0 0 0 6px var(--page), inset 0 0 0 11px var(--pz-lapis-ink); }
.pz-pn b { display: block; font: 600 17px/24px var(--ui); }
.pz-pn small { display: block; font: 400 14px/20px var(--ui); color: var(--ink-2); }
.pz-pp { text-align: right; white-space: nowrap; }
.pz-pp b { display: block; font: 600 20px/26px var(--ui); font-variant-numeric: tabular-nums lining-nums; }
.pz-pp small { display: block; font: 400 13px/18px var(--ui); color: var(--ink-2); }
.pz-tag { position: absolute; top: -11px; right: var(--pz-4); padding: 3px 10px; border-radius: 999px; font: 600 11px/16px var(--ui); letter-spacing: .1em; text-transform: uppercase;
  color: #fbf0cc; background: linear-gradient(180deg, #2c518f, #1d3a6c); box-shadow: inset 0 0 0 1px rgba(246, 222, 150, .7); }

/* the free week as three steps, with the days written out */
.pz-time { list-style: none; margin: 0 0 var(--pz-4); padding: var(--pz-4) var(--pz-4) var(--pz-1); border-radius: var(--pz-r); background: var(--pz-tint); box-shadow: inset 0 0 0 1px var(--pz-line); }
.pz-time li { position: relative; display: grid; gap: 2px; padding: 0 0 var(--pz-4) var(--pz-6); }
.pz-time li::before { content: ''; position: absolute; left: 4px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--page); box-shadow: inset 0 0 0 2px var(--gold); }
.pz-time li:first-child::before { background: var(--gold); }
.pz-time li:not(:last-child)::after { content: ''; position: absolute; left: 9px; top: 20px; bottom: 2px; width: 2px; background: linear-gradient(var(--gold), rgba(214, 169, 69, .25)); border-radius: 1px; }
.pz-time b { font: 600 14px/20px var(--ui); color: var(--ink); }
.pz-time span { font: 400 14px/20px var(--ui); color: var(--ink-2); }
.pz-launch, .pz-free { display: flex; gap: var(--pz-3); align-items: flex-start; margin: 0 0 var(--pz-4); font: 400 14px/20px var(--ui); color: var(--ink-2); }
.pz-launch b { font-weight: 600; color: var(--ink); }
.pz-launch .pi, .pz-free .pi { width: 20px; height: 20px; margin-top: 0; flex: none; }
.pz .pw-fine { margin: 0 0 var(--pz-4); font: 400 12px/18px var(--ui); color: var(--muted); text-align: left; text-wrap: pretty; }
.pz-getapp, .pz-more { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 48px; margin: 0; padding: 0; border: 0; border-top: 1px solid var(--rule); border-radius: 0;
  background: none; font: 600 15px/20px var(--ui); color: var(--pz-lapis-ink); text-decoration: none; text-align: left; cursor: pointer; }
.pz-getapp span, .pz-more span { font-size: 20px; line-height: 1; }

/* the foot: the button, the price beside it, Not now */
.pz .dp-foot.pz-foot { flex: none; padding: var(--pz-3) var(--pz-m) calc(var(--safe-b, 0px) + var(--pz-2)); background: var(--page); border-top: 1px solid var(--rule); box-shadow: 0 -10px 24px -18px rgba(31, 26, 21, .5); animation: none; }
.pz-footact .btn.pz-cta, .pz .btn.pz-cta { display: flex; align-items: center; justify-content: center; gap: var(--pz-2); width: 100%; min-height: 56px; margin: 0; border-radius: var(--pz-r); font: 600 17px/24px var(--ui); letter-spacing: .01em; }
.pz-cta .pi { width: 22px; height: 22px; }
.pz .pw-then { margin: var(--pz-2) 0 0; font: 400 14px/20px var(--ui); color: var(--ink-2); text-align: center; text-wrap: balance; }
.pz .pw-then b { font-weight: 600; color: var(--ink); }
.pz .pwmsg { margin: 0; font: 500 14px/20px var(--ui); color: var(--pz-lapis-ink); text-align: center; }
.pz .pwmsg.on { margin-top: var(--pz-2); }
.pz .pw-last { display: flex; justify-content: space-between; align-items: center; margin: var(--pz-1) calc(-1 * var(--pz-3)) 0; padding: 0; border: 0; }
.pz .pw-last .btn.quiet { min-height: 44px; padding: 0 var(--pz-3); font: 500 15px/20px var(--ui); color: var(--ink-2); }
.pz .pw-last .btn.quiet:only-child { margin: 0 auto; }

/* the window beside its painting: tablets, and phones on their side */
@media (min-width: 700px) {
  .sheetpanel:has(.pzbox) { justify-content: center; align-items: center; padding: var(--pz-5); }
  .sheetpanel .box.pzbox { width: min(980px, 100%); height: min(720px, calc(100dvh - 48px)); max-height: none; max-width: none; border-radius: 20px; box-shadow: 0 30px 80px -30px rgba(10, 16, 30, .6); }
  .pz.dpro { flex-direction: row; height: 100%; }
  .pz .pz-side { display: block; position: relative; flex: 0 0 42%; overflow: hidden; background: #c99a3c; }
  .pz .pz-side img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; animation: pz-reveal .9s cubic-bezier(.2, .7, .2, 1) both; }
  .pz .pz-side::after { content: ''; position: absolute; top: 0; bottom: 0; right: 0; width: 4px; background: linear-gradient(180deg, #a8721e, #f3dc92 30%, #c99a3c 60%, #f3dc92 85%, #a8721e); }
  .pz .ph-sheet { display: none; }
  .pz-body { padding-top: var(--pz-6); --pz-m: 32px; padding-left: 32px; padding-right: 32px; }
  .pz .dp-foot.pz-foot { padding-left: 32px; padding-right: 32px; }
  .pz-plans { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
  .pz-plans .pz-plan { grid-template-columns: 1fr; grid-template-rows: auto auto auto; align-content: start; gap: var(--pz-2); min-height: 132px; padding: var(--pz-5) var(--pz-4) var(--pz-4); }
  .pz-plans .pz-dot { position: absolute; top: var(--pz-4); right: var(--pz-4); }
  .pz-plans .pz-pp { text-align: left; order: -1; }
  .pz-plans .pz-tag { right: auto; left: var(--pz-4); }
}
@media (min-width: 700px) and (max-height: 600px) {
  .sheetpanel:has(.pzbox) { padding: var(--pz-3); }
  .sheetpanel .box.pzbox { height: calc(100dvh - 24px); }
  .pz .pz-side { flex-basis: 36%; }
  .pz-body { padding-top: var(--pz-5); }
  .pz-plans .pz-plan { min-height: 112px; padding-top: var(--pz-4); }
}

/* ------------------------------------------------------------------ the Pro button: lapis, a gold hairline, a press */
.btn.pbtn, .pz .btn.primary, .prolock .btn { position: relative; overflow: hidden; color: #fbf3dc; border: 0;
  background: linear-gradient(180deg, #2f5596, #22427a 55%, #183262); box-shadow: inset 0 0 0 1px rgba(246, 222, 150, .8), inset 0 0 0 3px #183262, inset 0 0 0 4px rgba(214, 169, 69, .5), 0 8px 18px -10px rgba(20, 34, 70, .8);
  transition: transform .12s cubic-bezier(.3, .7, .4, 1), box-shadow .12s, filter .12s; }
.btn.pbtn::after, .pz .btn.primary::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, transparent 40%, rgba(255, 240, 200, .3) 50%, transparent 60%); transform: translate3d(-120%, 0, 0); animation: ph-btn 6s 1.6s ease-in-out infinite; }
.btn.pbtn:active, .btn.pbtn.pressed, .pz .btn.primary:active, .prolock .btn:active { transform: scale(.97); filter: brightness(.95); }
.btn.pbtn:disabled { filter: saturate(.4); opacity: .7; }
.btn.pbtn .pb-seal { width: 22px; height: 22px; }
/* by night the button is gold leaf with dark ink: lapis on lapis would not show */
html[data-theme="dark"] .btn.pbtn:not(.ghost), html[data-theme="candlelight"] .btn.pbtn:not(.ghost), html[data-theme="dark"] .pz .btn.primary, html[data-theme="candlelight"] .pz .btn.primary {
  color: #1c1608; background: linear-gradient(180deg, #f5e3a4, #d9b35a 50%, #b88a2c); box-shadow: inset 0 0 0 1px rgba(255, 248, 220, .8), inset 0 -2px 0 rgba(120, 80, 20, .35), 0 8px 18px -10px rgba(0, 0, 0, .8); }
.btn.pbtn.ghost { display: flex; align-items: center; justify-content: center; min-height: 48px; background: transparent; color: var(--pz-lapis-ink); box-shadow: inset 0 0 0 1.5px currentColor; border-radius: var(--pz-r); }
.btn.pbtn.ghost::after { display: none; }

/* ------------------------------------------------------------------ the locked moment */
.locked.card.prolock.pz-lock { display: grid; grid-template-columns: 64px 1fr; gap: var(--pz-4); align-items: start; margin: var(--pz-4) 0; padding: var(--pz-5) var(--pz-5) var(--pz-5) var(--pz-4); border-radius: 16px; text-align: left;
  background: linear-gradient(180deg, rgba(214, 169, 69, .10), rgba(214, 169, 69, 0) 70%), var(--page);
  box-shadow: inset 0 0 0 1px var(--pz-line), inset 0 0 0 5px var(--page), inset 0 0 0 6px rgba(214, 169, 69, .35), 0 10px 24px -18px rgba(60, 40, 10, .5); animation: pz-ink .5s cubic-bezier(.2, .7, .2, 1) both; }
.pz-lock .pl-roundel { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fffaf0, var(--paper-2)); box-shadow: inset 0 0 0 1.5px var(--gold), 0 0 0 4px var(--pz-tint); }
html[data-theme="dark"] .pz-lock .pl-roundel, html[data-theme="candlelight"] .pz-lock .pl-roundel { background: radial-gradient(circle at 35% 30%, #22345e, #16264a); }
.pz-lock .pl-roundel .pi { width: 34px; height: 34px; }
.pz-lock .pz-lockt h2 { margin: var(--pz-2) 0 var(--pz-1); font: 500 22px/28px var(--display); color: var(--ink); text-wrap: balance; }
.pz-lock .why { margin: 0; font: 400 15px/22px var(--ui); color: var(--ink-2); }
.pz-lock .btn { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: var(--pz-2); width: 100%; min-height: 52px; margin: var(--pz-2) 0 0; border-radius: var(--pz-r); font: 600 16px/22px var(--ui); }

/* the small Pro mark beside a locked control: the seal, not a word in a box */
.promark { display: inline-block; flex: none; width: 18px; height: 18px; margin-left: var(--pz-1); padding: 0; border: 0; border-radius: 50%; overflow: hidden; text-indent: 40px; white-space: nowrap; vertical-align: -4px; color: transparent;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23f7e6a6'/%3E%3Cstop offset='.45' stop-color='%23c99a3c'/%3E%3Cstop offset='1' stop-color='%238f6419'/%3E%3C/linearGradient%3E%3C/defs%3E%3Ccircle cx='12' cy='12' r='11' fill='url(%23g)'/%3E%3Ccircle cx='12' cy='12' r='7.2' fill='%2322427a'/%3E%3Cpath d='M12 7.4l1.3 3.3 3.3 1.3-3.3 1.3L12 16.6l-1.3-3.3L7.4 12l3.3-1.3z' fill='%23f3dc92'/%3E%3C/svg%3E") center / 100% 100% no-repeat; box-shadow: 0 1px 2px rgba(60, 40, 10, .35); }

/* ------------------------------------------------------------------ the Pro page, the founders' page */
.pz-page { padding-bottom: var(--pz-6); }
.pz-page .pz-head { margin: var(--pz-5) 0 0; text-align: left; }
.pz-page .pz-lede { margin-bottom: var(--pz-2); }
.pz-page .dp-free { margin: var(--pz-4) 0 0; padding: var(--pz-4) 0 0; border-top: 1px solid var(--rule); font: 400 14px/20px var(--ui); color: var(--ink-2); animation: none; }
.pz-page #proact { margin-top: var(--pz-5); }
.pz-page #proact .pz-footact { margin-top: var(--pz-2); }
.pz-page #proact .pw-last { justify-content: center; }
.pz-links { margin-top: var(--pz-5); }
.pz-links .pz-more:last-child { border-bottom: 1px solid var(--rule); }
.pz-manage .pz-cap { margin-top: var(--pz-2); }
.pz-manage .pro-trial { display: flex; gap: var(--pz-3); align-items: flex-start; margin: 0 0 var(--pz-4); padding: var(--pz-4); border-radius: var(--pz-r); background: var(--pz-tint); font: 400 15px/22px var(--ui); color: var(--ink-2); }
.pz-manage .pro-trial b { color: var(--ink); }
.pz-manage .pro-trial .pi { width: 22px; height: 22px; flex: none; }
.pz-manage .pro-manage { margin: var(--pz-3) 0 0; font: 400 14px/20px var(--ui); color: var(--ink-2); text-align: left; }
.pz-manage .pro-life { margin: var(--pz-5) 0 0; padding: var(--pz-4); border-radius: var(--pz-r); box-shadow: inset 0 0 0 1px var(--pz-line); text-align: left; }
.pz-manage .pro-life p { margin: 0 0 var(--pz-3); font: 400 15px/22px var(--ui); color: var(--ink-2); }
.pz-manage .pro-life .btn { width: 100%; min-height: 52px; border-radius: var(--pz-r); }
@media (min-width: 900px) {
  .pz-page { display: grid; grid-template-columns: minmax(300px, 42%) 1fr; gap: var(--pz-6); align-items: start; }
  .pz-pageart { position: sticky; top: var(--pz-4); }
  .pz-page .phero { height: auto; aspect-ratio: 780 / 639; margin: var(--pz-4) 0 0; border-radius: 6px; box-shadow: 0 0 0 1px rgba(122, 85, 20, .4), 0 20px 40px -24px rgba(60, 40, 10, .6); }
  .pz-page .phero::after { display: none; }
  .pz-page .pz-head { margin-top: var(--pz-4); }
}

/* the member's card: lapis and gold, their name and number (a buyer's privilege, #756) */
.pz-card { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: var(--pz-4); align-items: center; margin: var(--pz-5) 0 0; padding: var(--pz-5) var(--pz-5) var(--pz-5) var(--pz-4); border: 0; border-radius: 16px; overflow: hidden; text-align: left; color: #f6ebcc;
  background: radial-gradient(120% 140% at 0% 0%, rgba(246, 222, 150, .18), transparent 50%), url('art/paint-lapis.webp') center / 220px, linear-gradient(160deg, #2c518f, #172f5c);
  box-shadow: inset 0 0 0 1px rgba(246, 222, 150, .85), inset 0 0 0 5px #172f5c, inset 0 0 0 6px rgba(214, 169, 69, .55), 0 16px 32px -18px rgba(20, 34, 70, .8); animation: pz-ink .6s .2s cubic-bezier(.2, .7, .2, 1) both; }
.pz-card .pz-cardseal { display: grid; place-items: center; width: 56px; height: 56px; }
.pz-card .pz-cardseal .pi { width: 56px; height: 56px; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .35)); }
.pz-card .pz-cardt { display: grid; gap: 2px; min-width: 0; }
.pz-card small { font: 600 11px/16px var(--ui); letter-spacing: .14em; text-transform: uppercase; color: #e9cf86; }
.pz-card b { font: 500 22px/28px var(--display); color: #fbf3dc; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pz-card span:not(.pz-cardseal):not(.pz-cardt) { font: 400 13px/18px var(--ui); color: rgba(246, 235, 204, .82); }
.pz-card em { margin-top: var(--pz-1); font: italic 400 15px/20px var(--display); color: #f3dc92; }
.pz-card::after { content: ''; position: absolute; inset: -20% -60%; pointer-events: none; background: linear-gradient(105deg, transparent 42%, rgba(255, 246, 210, .22) 50%, transparent 58%); transform: translate3d(-70%, 0, 0); animation: pz-shine 2.4s 1s cubic-bezier(.4, 0, .2, 1) 1 both; }
.founderpage.pz .pz-head { text-align: left; }

/* the doors to Pro: the You card and the Tunes page door use the same small painting */
.procard img, .prodoor img { border-radius: 8px !important; box-shadow: 0 0 0 1px rgba(122, 85, 20, .45), 0 0 0 3px var(--page), 0 0 0 4px rgba(214, 169, 69, .5) !important; object-fit: cover; }

/* ------------------------------------------------------------------ the tune of the week */
.weekband { display: flex; gap: 12px; align-items: flex-start; margin: 8px 0 16px; padding: 12px 16px; border-radius: 8px; font: 14px/20px var(--ui); color: var(--ink-2);
  background: rgba(34, 66, 122, .07); box-shadow: inset 3px 0 0 var(--pl); animation: ph-ink .5s cubic-bezier(.2, .7, .2, 1) both; }
.weekband b { color: var(--pl); margin-right: 4px; }
html[data-theme="dark"] .weekband b, html[data-theme="candlelight"] .weekband b { color: #c9d6f2; }
.weekband .pi, .weekcard .pi { width: 22px; height: 22px; margin-top: -1px; }
.weekcard { display: flex; align-items: center; gap: 12px; width: 100%; margin: 8px 0 16px; padding: 12px 16px; border: 0; border-radius: 8px; text-align: left; color: var(--ink); font: 14px/19px var(--ui);
  background: linear-gradient(100deg, rgba(34, 66, 122, .09), rgba(214, 169, 69, .1)); box-shadow: inset 0 0 0 1px rgba(143, 100, 25, .3); transition: transform .12s; }
.weekcard:active { transform: scale(.98); }
.weekcard .pi { width: 30px; height: 30px; }
.weekcard b { display: block; font: 500 20px/26px var(--display); }
.weekcard small { display: block; color: var(--ink-2); }


/* ------------------------------------------------------------------ the charter (after buying, and the founders') */
.pw-charter .phero { align-self: stretch; flex: none; border-radius: 2px 2px 0 0; }
.pw-unlock > i:has(.pi) { width: 34px; height: 34px; background: radial-gradient(circle at 35% 30%, #fffaf0, #efe4c8); box-shadow: inset 0 0 0 1px rgba(143, 100, 25, .35); }
.charter-trial { margin: 10px 12px 0; font: 14px/19px var(--ui); color: var(--ink-2); text-align: center; }
.pw-unlock > i svg.pi { width: 22px; height: 22px; stroke: none; stroke-width: 0; }
.pw-unlock > i svg.pi .ls { stroke-width: 1.3; } .pw-unlock > i svg.pi .gs { stroke-width: 2.2; }

/* ------------------------------------------------------------------ the day-5 and other quiet notes */
/* ------------------------------------------------------------------ the few notes a member gets (day 5, renewal, cancelled) */
.pronote { position: fixed; z-index: 60; left: var(--pz-4); right: var(--pz-4); bottom: calc(env(safe-area-inset-bottom, 0px) + 88px); max-width: 480px; margin: 0 auto;
  border-radius: var(--pz-r); background: #fdfaf2; color: var(--ink, #1f1a15); box-shadow: inset 0 0 0 1px var(--pz-line), 0 16px 40px rgba(20, 30, 60, .22);
  opacity: 0; transform: translateY(16px); transition: opacity .24s ease-out, transform .24s ease-out; }
.pronote.on { opacity: 1; transform: none; }
.pronote::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; border-radius: var(--pz-r) var(--pz-r) 0 0; background: linear-gradient(90deg, #a77a26, #e6c97e 50%, #a77a26); }
.pn-in { padding: var(--pz-5) var(--pz-5) var(--pz-4); font: 400 14px/20px var(--ui); color: var(--ink-2, #4a3f30); }
.pn-in p { margin: 0 0 var(--pz-3); }
.pn-head { display: block; font: 400 16px/24px var(--ui); color: var(--ink, #1f1a15); }
.pn-head b { font-weight: 600; }
.pn-seal, .pn-head .pi { float: left; width: 24px; height: 24px; margin: 0 var(--pz-3) 0 0; }
.pronote [hidden] { display: none !important; }
.pn-q small { color: var(--ink-3, #6b5d47); }
.pn-why { display: flex; flex-wrap: wrap; gap: var(--pz-2); margin: 0 0 var(--pz-3); }
.pn-why .chip { min-height: 40px; padding: 0 var(--pz-4); }
.pn-after p { margin-bottom: var(--pz-3); }
.pn-acts { display: flex; flex-wrap: wrap; gap: var(--pz-2); justify-content: flex-end; margin-top: var(--pz-2); }
.pn-acts .btn { min-height: 48px; }
html[data-theme="dark"] .pronote, html[data-theme="candlelight"] .pronote { background: #182a50; color: #f3ead6; box-shadow: inset 0 0 0 1px var(--pz-line), 0 16px 40px rgba(0, 0, 0, .5); }
html[data-theme="dark"] .pn-in, html[data-theme="candlelight"] .pn-in { color: #d9cfb8; }
html[data-theme="dark"] .pn-head, html[data-theme="candlelight"] .pn-head { color: #f3ead6; }


/* ------------------------------------------------------------------ motion */
@keyframes pz-shine { from { transform: translate3d(-70%, 0, 0); } to { transform: translate3d(70%, 0, 0); } }
@keyframes ph-btn { 0%, 70% { transform: translate3d(-120%, 0, 0); } 100% { transform: translate3d(120%, 0, 0); } }
/* the painting comes up out of the page */
@keyframes pz-reveal { from { opacity: 0; transform: scale(1.04); } to { opacity: 1; transform: none; } }
/* the ink comes up from the page */
@keyframes pz-ink { from { opacity: 0; transform: translate3d(0, 8px, 0); } to { opacity: 1; transform: none; } }
@keyframes ph-ink { from { opacity: 0; transform: translate3d(0, 8px, 0); } to { opacity: 1; transform: none; } }
@keyframes pz-wait { to { background-position: -200% 0; } }
.pz .pz-eye, .pz .pz-h, .pz .pz-lede { animation: pz-ink .5s cubic-bezier(.2, .7, .2, 1) both; }
.pz .pz-eye { animation-delay: .12s; } .pz .pz-h { animation-delay: .17s; } .pz .pz-lede { animation-delay: .22s; }
@media (prefers-reduced-motion: reduce) {
  .phero *, .pz *, .pz, .prolock, .pronote, .weekband, .ph-leaf, .pz-card, .pz-card::after, .btn.pbtn::after, .pz .btn.primary::after { animation: none !important; transition: none !important; }
  .ph-leaf, .pz-card::after { display: none; }
}
html[data-motion="less"] .phero *, html[data-motion="less"] .pz *, html[data-motion="less"] .pz, html[data-motion="less"] .prolock, html[data-motion="less"] .pronote, html[data-motion="less"] .weekband,
html[data-motion="less"] .pz-card, html[data-motion="less"] .btn.pbtn::after, html[data-motion="less"] .pz .btn.primary::after { animation: none !important; transition: none !important; }
html[data-motion="less"] .ph-leaf, html[data-motion="less"] .pz-card::after { display: none; }
