/* Proxi, the Zen prototype (27 Nov 2026): the front page first, then the pages behind its menu.
   Dmytro's advice: the same words and order as the live site, with honey and plum only as accents.
   Leon, 27 Nov 2026: a small accent means smaller, not invisible. So every accent is solid colour in a small shape:
   plum buttons and italic phrases, honey discs, rings and ticks. The grounds are calm (ivory and linen in small
   steps), the headings serif, and the sections open instead of filled panels. Later the same day: "I love the
   circles", then "use those circles in other places of this web page and the rest of the web pages ... I like this
   one better. I think it breathes." The Caregiver Guide keeps its own look.
   Loaded after palettes.css and chrome.css. Every page's html carries class pal-zen, so no other palette applies;
   the inner pages also carry data-skin, which is how their rules (at the end) stay off the front page. */

html.pal-zen{
  --bg:#F8F5EF;--linen:#F1ECE4;--card:#FFFDF9;--chip:#EFE9E0;--chip-2:#F3EEE7;
  --ink:#2B2129;--muted:#4E434C;--soft:#6F6470;--line:#E6DFD4;--hair:#EEE8DE;--rule:#CDBFB0;
  --plum:#5B1F5E;--plum-d:#471649;--plum-2:#8A3B8C;
  --honey:#E3A72F;--honey-tint:#F6E3B6;--honey-pale:#FBF3E2;--mom:#E9EFF5;--lilac:#F2EAF2;
  --teal:var(--plum);--teal-d:var(--plum-d);--teal-2:var(--plum-2);--teal-soft:var(--honey-tint);
  --orange:var(--honey);--orange-soft:var(--lilac);--amber:#7A4A12;
  --forest:var(--linen);--forest-2:var(--line);--slate:#2B2129;
  --accent-ink:#5B1F5E;--accent-ink-2:#3A1D37;--lock-a:#2B2129;--lock-b:#45222F;
  --viz-bg:#F2EEE7;--tint:#EDE5D8;--dot:#D9CFC1;--dot-on:#8C7A66;
  --mark:#5B1F5E;--mark-head:#E3A72F;--logo-a:#8A3B8C;--logo-b:#E3A72F;--on-accent:#3A1D37;
  --veil:40,28,38;--card-dark:#F8F5EF;
  --r:26px;--pad:22px;
  --serif:'Cormorant Garamond',Cormorant,Georgia,'Times New Roman',serif;
  /* paper grain, a few percent */
  --grain:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .24 0 0 0 0 .17 0 0 0 0 .12 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  /* the open ring, in honey: heavier at the lower left, thin and open at the upper right */
  --enso:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cdefs%3E%3Cmask id='m'%3E%3Crect width='200' height='200' fill='white'/%3E%3Cpath d='M100 100L250 -40L300 60Z' fill='black'/%3E%3C/mask%3E%3C/defs%3E%3Cpath mask='url(%23m)' fill='%23E3A72F' fill-rule='evenodd' d='M22 100a78 78 0 1 0 156 0a78 78 0 1 0 -156 0zM31 98a72 72 0 1 0 144 0a72 72 0 1 0 -144 0z'/%3E%3C/svg%3E");
}

/* what the Honey palette used to give these pages underneath, before build.py took the colour chooser (and with it
   Honey) off them: the evening and night over the first photo, dark words in the call card, plum soft phrases */
html.pal-zen{--dusk:90,44,88;--dusk-2:60,28,60;--glow:255,190,90;--night:30,12,30;--scene-bg:#33202A}
.pal-zen .callblock{color:var(--ink)}
.pal-zen .callblock::after{background:none}
.pal-zen .soft{color:var(--plum)}

/* ---------- type and grounds ---------- */
html.pal-zen body{background:var(--grain),var(--bg);color:var(--ink);font-size:18px;line-height:1.65}
.pal-zen h1,.pal-zen h2,.pal-zen h3{font-family:var(--serif);text-wrap:balance}
.pal-zen h1,.pal-zen h2{font-weight:500;letter-spacing:-.01em;line-height:1.05;color:var(--ink)}
.pal-zen h1{font-size:clamp(43px,11.6vw,52px)}
.pal-zen h2{font-size:clamp(38px,10vw,47px)}
.pal-zen h3{font-weight:600;font-size:25px;line-height:1.18;letter-spacing:0}
.pal-zen h1 .soft,.pal-zen h2 .soft{font-style:italic;color:var(--plum)}
.pal-zen h1,.pal-zen h2,.pal-zen h3,.pal-zen .askq li,.pal-zen .says li,.pal-zen .stat b,.pal-zen .nights .n,.pal-zen .num,.pal-zen .scard .n,.pal-zen .sci-c b,.pal-zen .vline,.pal-zen .tale .hit{font-variant-numeric:lining-nums}
.pal-zen p{text-wrap:pretty}
.pal-zen .lede{font-size:19px;line-height:1.6;color:var(--muted)}
.pal-zen .kick{gap:12px;font-size:12.5px;font-weight:700;letter-spacing:.2em;text-transform:uppercase;color:var(--plum);margin-bottom:16px}
.pal-zen .kick::before{width:34px;height:2px;border-radius:2px;background:var(--honey)}
.pal-zen .src,.pal-zen .facts{color:var(--soft)}
.pal-zen svg.i{stroke-width:1.6}
.pal-zen :focus-visible{outline-color:var(--plum-2)}

/* sections: open, no cards; linen on every other one, a small step from the ivory */
.pal-zen .sec{margin:0;border-radius:0;background:transparent;padding:64px max(var(--pad),calc((100% - 1160px) / 2)) 56px}
.pal-zen #disconnect,.pal-zen #back,.pal-zen #voice,.pal-zen #care,.pal-zen #app,.pal-zen #start,.pal-zen #privacy,.pal-zen #join{background:var(--grain),var(--linen)}

/* the one action colour: plum, solid */
.pal-zen .btn{min-height:54px;padding:0 28px;font-size:16.5px;letter-spacing:.02em}
.pal-zen .btn-go{background:var(--plum);color:#fff;box-shadow:0 12px 26px -16px rgba(91,31,94,.65)}
.pal-zen .btn-go:hover{background:var(--plum-d)}
.pal-zen .btn-line{background:transparent;color:var(--ink);box-shadow:inset 0 0 0 1px var(--rule)}
.pal-zen .btn-line:hover{background:var(--card)}
.pal-zen .more{color:var(--plum)}
.pal-zen .more span{background:transparent;box-shadow:inset 0 0 0 1.5px var(--honey)}
.pal-zen .more:hover span{background:var(--plum);color:#fff;box-shadow:none}

/* a hairline above each part of the night story and the science; the science's carries a small honey tick */
.pal-zen .nights li,.pal-zen .sci-c{position:relative;background:none;border-radius:0;border-top:1px solid var(--line)}
.pal-zen .sci-c::before{content:"";position:absolute;left:0;top:-1px;width:34px;height:2px;background:var(--honey)}

/* icon discs: solid honey, plum line drawing */
.pal-zen .feat .ic,.pal-zen .layer .ic,.pal-zen .both .ic{background:var(--honey);color:var(--plum);box-shadow:none}

/* white cards with a hairline where a card is needed at all */
.pal-zen .feat,.pal-zen .step,.pal-zen .layer,.pal-zen .face,.pal-zen .both,.pal-zen .after,.pal-zen .wpanel,.pal-zen .nscene,.pal-zen .sci{background:var(--card);box-shadow:inset 0 0 0 1px var(--line)}

/* ---------- the frame: top bar, menu, footer ---------- */
.pal-zen .px-bar{background:rgba(250,247,241,.88);box-shadow:inset 0 0 0 1px rgba(43,33,41,.08)}
.pal-zen .px-top.stuck .px-bar{box-shadow:inset 0 0 0 1px rgba(43,33,41,.08),0 14px 34px -18px rgba(43,33,41,.24)}
.pal-zen .px-links a{font-weight:400;font-size:16px;color:var(--ink)}
.pal-zen .px-links a:hover,.pal-zen .tools button:hover{background:rgba(227,167,47,.16)}
.pal-zen .px-join{background:var(--plum)}
.pal-zen .px-join:hover{background:var(--plum-d)}
.pal-zen .px-burger,.pal-zen .px-x{background:transparent;box-shadow:inset 0 0 0 1px var(--rule)}
/* Leon, 27 Nov 2026: on a PC the top bar already names every page, so the menu button would only "double the
   information"; a phone and a tablet keep it, their bar has no room for the links (chrome.css shows them from 1100px) */
@media (min-width:1100px){.pal-zen .px-burger{display:none}}
.pal-zen .px-sheet .px-panel{background:var(--bg)}
.pal-zen .px-sub,.pal-zen #pxPals{display:none}
.pal-zen .px-foot{margin:0;border-radius:0;background:var(--grain),var(--linen);border-top:1px solid var(--line);padding:56px 0 30px}

/* ---------- top of the page ---------- */
.pal-zen .hero{max-width:1400px;margin:0 auto;padding:30px 16px 0}
.pal-zen .hero-copy{background:none;padding:6px 6px 0}
.pal-zen .pill{align-self:flex-start;padding:6px 16px 6px 6px;border-radius:999px;background:var(--card);box-shadow:inset 0 0 0 1px var(--line);font-size:14.5px;color:var(--ink);margin-bottom:22px}
.pal-zen .mk{box-shadow:0 2px 8px rgba(43,33,41,.12)}
.pal-zen .hero h1{margin-bottom:20px}
.pal-zen .hero h1 .soft,.pal-zen .band h2 .soft{text-decoration:underline;text-decoration-color:var(--honey);text-decoration-thickness:.075em;text-underline-offset:.16em;text-decoration-skip-ink:auto}
.pal-zen .hero .lead{font-size:19px;line-height:1.6;color:var(--muted);margin-bottom:28px}
.pal-zen .facts{font-size:15px;margin-top:18px}
.pal-zen .hero-art{margin-top:32px;background:var(--card);border-radius:var(--r);box-shadow:inset 0 0 0 1px var(--line)}
.pal-zen .viewport{background:#E9E2D7}

/* the calls: Mom in her blue, your voice in honey, the nurse in lilac */
.pal-zen .ctabs{background:var(--chip)}
.pal-zen .ctabs button[aria-selected="true"]{background:var(--card);color:var(--plum)}
.pal-zen .q .bb{background:var(--mom)}
.pal-zen .a .bb{background:var(--honey-tint)}
.pal-zen .n .bb{background:var(--lilac)}
.pal-zen .flist .s{background:var(--chip-2);color:var(--muted)}
/* Leon, 27 Nov 2026: "I can't see white on white. Very hard to see what mom says. Maybe use her letters in blue."
   Over the wide photo her bubbles and the two waiting times kept the glass look's white letters on zen's pale grounds
   (contrast 1.2). Her words are in her blue at every width (the flower blue, 5.3 on her bubble); the waiting times in ink. */
.pal-zen .q .bb,.pal-zen .glass .q .bb{color:#0066A1}
.pal-zen .q .bb small,.pal-zen .glass .q .bb small{color:#0066A1}
.pal-zen .glass .q .bb{background:var(--mom);box-shadow:0 6px 18px rgba(0,0,0,.10);-webkit-backdrop-filter:none;backdrop-filter:none}
.pal-zen .glass .q .dots3 i{background:#0066A1}
.pal-zen .glass .a .dots3 i,.pal-zen .glass .n .dots3 i{background:var(--soft)}
.pal-zen .glass .ctabs{box-shadow:0 6px 18px rgba(0,0,0,.10);-webkit-backdrop-filter:none;backdrop-filter:none}
.pal-zen .glass .ctabs button{color:var(--muted)}
.pal-zen .glass .ctabs button[aria-selected="true"]{color:var(--plum)}

/* ---------- what she is really asking: three questions, each in a honey ring ---------- */
.pal-zen .ask{padding-top:80px}
/* each question sits in a narrow block centred in its ring, so the words always stay inside it (fit.py measures this) */
.pal-zen .askq{gap:0;margin-top:22px}
.pal-zen .askq li{--ring:276px;position:relative;isolation:isolate;display:flex;align-items:center;justify-content:center;width:100%;max-width:190px;min-height:296px;margin:0 auto;padding:0;background:none;border-radius:0;font-family:var(--serif);font-style:italic;font-weight:500;font-size:32px;letter-spacing:0;line-height:1.1;color:var(--ink);text-wrap:balance}
.pal-zen .askq li::before{content:"";position:absolute;left:50%;top:50%;width:var(--ring);height:var(--ring);margin:calc(var(--ring) / -2) 0 0 calc(var(--ring) / -2);background:var(--enso) center/contain no-repeat;z-index:-1}
.pal-zen .askq li:nth-child(2)::before{transform:rotate(120deg)}
.pal-zen .askq li:nth-child(3)::before{transform:rotate(240deg)}

/* ---------- the night story: each number circled in honey ---------- */
.pal-zen .nights{gap:0 22px}
.pal-zen .nights li{padding:20px 0 26px}
.pal-zen .nights .n{position:relative;display:grid;place-items:center;width:60px;height:60px;margin-left:-6px;font-family:var(--serif);font-style:italic;font-weight:600;font-size:21px;letter-spacing:0;line-height:1;color:var(--plum)}
.pal-zen .nights .n::before{content:"";position:absolute;inset:0;background:var(--enso) center/contain no-repeat;transform:rotate(var(--rot,0deg))}
.pal-zen .nights li:nth-child(3n+2) .n{--rot:120deg}
.pal-zen .nights li:nth-child(3n) .n{--rot:240deg}
.pal-zen .nights h3{font-size:22px;margin-top:8px}
.pal-zen .nights p{font-size:16px;line-height:1.55;color:var(--muted)}

/* ---------- you decide ---------- */
.pal-zen .face h3{font-size:26px}
.pal-zen .seg{background:var(--chip)}

/* ---------- dinner, work, sleep: light cards ---------- */
.pal-zen .scard{background:var(--card);color:var(--ink);box-shadow:inset 0 0 0 1px var(--line),0 -14px 30px -22px rgba(43,33,41,.3)}
.pal-zen .scard h3{font-size:26px}
.pal-zen .scard p{color:var(--muted)}
.pal-zen .scard .n{opacity:1;color:var(--plum);font-family:var(--serif);font-style:italic;font-weight:600;font-size:18px}
.pal-zen .phase{background:rgba(255,253,249,.94);color:var(--ink)}

/* ---------- numbers: each figure in a honey ring, its line underneath ---------- */
.pal-zen .stats{gap:8px}
.pal-zen .stat{padding:8px 0 22px;background:none;border-radius:0;text-align:center}
.pal-zen .stat b{--ring:248px;position:relative;isolation:isolate;display:flex;flex-direction:column;align-items:center;justify-content:center;width:var(--ring);height:var(--ring);margin:0 auto;font-family:var(--serif);font-weight:500;font-size:62px;letter-spacing:-.01em;line-height:1;color:var(--plum)}
.pal-zen .stat b::before{content:"";position:absolute;inset:0;background:var(--enso) center/contain no-repeat;z-index:-1;transform:rotate(var(--rot,0deg))}
.pal-zen .stat:nth-child(2) b{--rot:120deg}
.pal-zen .stat:nth-child(3) b{--rot:240deg}
.pal-zen .stat b span{display:block;margin:6px 0;font-family:'Lato',system-ui,sans-serif;font-size:16px;font-weight:400;letter-spacing:.01em;line-height:1.25;color:var(--soft)}
.pal-zen .stat p{max-width:300px;margin:12px auto 0;font-size:16.5px}

/* ---------- the voice ---------- */
.pal-zen .vcard{border-radius:var(--r)}
.pal-zen .vline{font-family:var(--serif);font-style:italic;font-weight:500;font-size:28px;line-height:1.25}
.pal-zen .feat h3,.pal-zen .step h3{font-size:25px}
.pal-zen .feat.photo{background:#2B2129;box-shadow:none}
.pal-zen .sci h3{font-size:clamp(31px,8.2vw,38px)}
.pal-zen .sci-grid{gap:0}
.pal-zen .sci-c{padding:22px 0 8px}
.pal-zen .sci-c b{font-family:var(--serif);font-weight:600;font-size:27px;letter-spacing:0;color:var(--plum)}

/* ---------- more than an answer ---------- */
.pal-zen .chips span{background:transparent;box-shadow:inset 0 0 0 1px var(--rule);font-weight:400;color:var(--ink)}

/* ---------- 25 families: an open band; the ring holds the two-line heading, breathing slowly; words and button below ---------- */
.pal-zen .band{position:relative;isolation:isolate;overflow:hidden;margin:0;border-radius:0;background:transparent;text-align:center;padding:56px var(--pad) 72px}
.pal-zen .band h2{--ring:min(344px,88vw);position:relative;z-index:0;display:flex;flex-direction:column;align-items:center;justify-content:center;width:var(--ring);height:var(--ring);margin:0 auto;font-size:32px;line-height:1.12}
.pal-zen .band h2::before{content:"";position:absolute;inset:0;background:var(--enso) center/contain no-repeat;z-index:-1;animation:zen-breathe 11s ease-in-out infinite}
@keyframes zen-breathe{0%,100%{transform:scale(.97) rotate(0deg)}50%{transform:scale(1.03) rotate(8deg)}}
.pal-zen .band h2 .soft{display:block}
.pal-zen .band p{margin:22px auto 28px;max-width:520px;color:var(--muted)}

/* ---------- the caregiver app ---------- */
.pal-zen .num{font-family:var(--serif);font-style:italic;font-weight:600;font-size:19px;letter-spacing:0;color:var(--plum)}
.pal-zen .tag.o{background:var(--honey-tint);color:var(--amber)}
.pal-zen .v-call .ring{background:var(--honey-tint);color:var(--plum)}

/* ---------- safety ---------- */
.pal-zen .layer.you{box-shadow:inset 4px 0 0 var(--honey),inset 0 0 0 1px var(--line)}
.pal-zen .layer h3{font-size:25px}
.pal-zen .tale{background:var(--grain),var(--linen);color:var(--ink);box-shadow:inset 0 0 0 1px var(--line)}
.pal-zen .tale h3{font-size:28px}
.pal-zen .tale p{color:var(--muted)}
.pal-zen .tale .hit{color:var(--ink);font-family:var(--serif);font-style:italic;font-weight:500;font-size:27px;line-height:1.25}
.pal-zen .tale .sm{color:var(--soft)}
.pal-zen .tale .more{color:var(--plum)}
.pal-zen .tale .more span{background:transparent}
.pal-zen .nhead h3{font-size:30px}
.pal-zen .nthread{background:var(--bg)}
.pal-zen .ladder li{background:var(--bg)}
.pal-zen .ladder li.ok{background:var(--honey-tint)}
.pal-zen .ladder li.miss .k{background:var(--lilac);color:var(--plum)}
.pal-zen .ladder li.miss .st{color:var(--plum)}

/* ---------- getting started ---------- */
.pal-zen .node{box-shadow:0 10px 28px rgba(43,33,41,.07),0 0 0 8px rgba(255,253,249,.6)}
.pal-zen .node .core{background:var(--honey-pale);color:var(--plum)}
.pal-zen .node.on .core{background:var(--plum);color:#fff}
.pal-zen .wheel .pin::before{background:var(--card)}
.pal-zen .wnav button{background:transparent;box-shadow:inset 0 0 0 1px var(--rule)}

/* ---------- people ---------- */
.pal-zen .weeks h2{font-size:clamp(40px,10.4vw,50px)}
.pal-zen .nurse{border-radius:var(--r)}

/* ---------- whoever they are to you: four statements, a small honey ring at each ---------- */
.pal-zen .says{gap:0;margin-top:16px}
.pal-zen .says li{position:relative;background:none;border-radius:0;border-top:1px solid var(--line);padding:26px 0 24px 46px;font-family:var(--serif);font-style:italic;font-weight:500;font-size:clamp(28px,7.6vw,34px);letter-spacing:0;line-height:1.2;color:var(--ink)}
.pal-zen .says li::before{content:"";position:absolute;left:0;top:33px;width:28px;height:28px;background:var(--enso) center/contain no-repeat}

/* ---------- the trial ---------- */
.pal-zen .after h3{font-size:28px}
.pal-zen .after .wait{color:var(--plum)}
.pal-zen .start{background:var(--card);box-shadow:inset 0 0 0 2px var(--honey)}
.pal-zen .start h3{font-size:28px}

/* ---------- questions ---------- */
.pal-zen .qa details{border-color:var(--line)}
.pal-zen .qa summary::after{background-color:transparent;box-shadow:inset 0 0 0 1.5px var(--honey)}
.pal-zen .qa a{color:var(--plum)}

/* ---------- closing ---------- */
.pal-zen .closing{margin:16px 14px 0;border-radius:var(--r)}
.pal-zen .closing h2{font-size:clamp(40px,10.6vw,52px);color:#fff}
.pal-zen .closing h2 span{color:#F3D492;font-style:italic}
.pal-zen .closing .btn-go{box-shadow:0 0 0 1px rgba(255,255,255,.4),0 12px 26px -14px rgba(0,0,0,.5)}

/* ---------- arriving: slower and shorter ---------- */
.pal-zen.js .rv{transform:translateY(14px);transition:opacity 1.1s cubic-bezier(.22,.61,.36,1),transform 1.1s cubic-bezier(.22,.61,.36,1);transition-delay:var(--d,0s)}
.pal-zen.js .rv.on{transform:none}

/* ---------- wider screens ---------- */
@media (min-width:700px){
  .pal-zen .nights li{padding:26px 0 28px}
  .pal-zen .nights p{font-size:16.5px}
  .pal-zen .stats{gap:0 24px}
  .pal-zen .stat{padding:8px 0}
  .pal-zen .stat b{--ring:208px;font-size:50px}
  .pal-zen .stat b span{font-size:14px}
  .pal-zen .says{gap:0 48px}
}
@media (min-width:960px){
  html.pal-zen{--pad:56px}
  .pal-zen h1{font-size:clamp(54px,4.6vw,74px)}
  .pal-zen h2{font-size:clamp(46px,4.1vw,64px)}
  .pal-zen .sec{margin:0;border-radius:0;padding:112px max(var(--pad),calc((100% - 1160px) / 2)) 100px}
  .pal-zen .head{margin-bottom:52px}

  .pal-zen .hero{grid-template-columns:minmax(440px,41%) 1fr;gap:48px;padding:28px 28px 0;min-height:calc(100vh - 96px)}
  .pal-zen .hero-copy{background:none;border-radius:0;padding:40px 0 48px 36px}
  .pal-zen .hero-art{margin:0;border-radius:34px;min-height:640px;box-shadow:none}

  .pal-zen .ask{padding-top:120px}
  .pal-zen .ask h2{font-size:clamp(56px,5vw,80px)}
  .pal-zen .askq{gap:24px;margin-top:40px}
  .pal-zen .askq li{--ring:290px;max-width:200px;min-height:330px;padding:0;border-radius:0;font-size:34px}

  .pal-zen .stat b{--ring:280px;font-size:70px}
  .pal-zen .stat b span{font-size:17px}

  .pal-zen .sci{padding:44px 48px}
  .pal-zen .sci-grid{gap:0 40px}

  .pal-zen .band{display:block;padding:80px var(--pad) 104px}
  .pal-zen .band h2{--ring:500px;font-size:46px}
  .pal-zen .band p{margin:26px auto 34px}

  .pal-zen .weeks h2{font-size:clamp(54px,5vw,78px)}

  .pal-zen .says li{min-height:0;display:block;padding:36px 0 34px 56px;font-size:38px;border-radius:0}
  .pal-zen .says li:nth-child(2),.pal-zen .says li:nth-child(3){background:none}
  .pal-zen .says li::before{top:45px;width:32px;height:32px}

  .pal-zen .closing{margin:28px 28px 0;border-radius:34px}
  .pal-zen .closing h2{font-size:clamp(56px,4.8vw,78px)}

  .pal-zen .px-foot{margin:28px 0 0;padding:72px 0 36px}
}
@media (min-width:1200px){
  .pal-zen .askq li{--ring:350px;max-width:240px;min-height:390px;font-size:42px}
  .pal-zen .band h2{--ring:560px;font-size:52px}
}

/* ---------- the logo in other colours (Leon, 27 Nov 2026): the little person all orange or in dementia blue, and the
   word in three colours "to symbolize all three unity". ?logo=<key> on any page sets one and it stays while
   browsing; ?logo=today goes back. The colourings themselves are written by build.py (LOGOS) at the end of the
   published copy of this file. The head is --logo-b; the body, arms and arcs --logo-a; PROX --logo-w1; CARE
   --logo-w2 (build.py wraps the two halves of the word). ---------- */
html.pal-zen{--logo-w1:var(--plum);--logo-w2:var(--plum)}
.pal-zen .lg .w1{color:var(--logo-w1)}
.pal-zen .lg .w2{color:var(--logo-w2)}

/* ================= the pages behind the menu ================= */
html.pal-zen[data-skin][class]{
  --accent:var(--plum);--accent-ink:var(--plum);--accent-soft:rgba(91,31,94,.08);
  --bg-alt:var(--linen);--card:#FFFDF9;--line:#E6DFD4;--ink-2:#4E434C;--muted:#4E434C;
  --em-color:var(--plum);--em-style:italic;
  --display:var(--serif);--display-w:500;--display-track:-.01em;
  --ui:'Lato',system-ui,sans-serif;--body:'Lato',system-ui,sans-serif;--body-size:18px;
  --kick-size:12.5px;--kick-w:700;--kick-track:.2em;
  --btn-bg:var(--plum);--btn-ink:#fff;--btn-w:700;--btn-size:16.5px;--btn-track:.02em;
  --radius:22px;--img-radius:22px;
  --no-bg:var(--lilac);--no-ink:var(--plum);--night:var(--plum-d);
}
html.pal-zen[data-skin] .alt{background:var(--grain),var(--linen)}
html.pal-zen[data-skin] h1{font-size:clamp(42px,10.6vw,50px);line-height:1.06;max-width:17ch}
html.pal-zen[data-skin] h2{font-size:clamp(36px,9.2vw,44px);line-height:1.08}
html.pal-zen[data-skin] h3{font-size:23px;line-height:1.2;font-weight:600}
html.pal-zen[data-skin] .lede{font-size:19px;line-height:1.6;color:var(--muted)}
html.pal-zen[data-skin] .after-line{color:var(--muted)}
/* the small capitals over a heading, after a short honey line, as on the front page */
html.pal-zen[data-skin] .kicker{display:flex;align-items:center;gap:12px;font-family:'Lato',system-ui,sans-serif;color:var(--plum);margin-bottom:16px}
html.pal-zen[data-skin] .kicker::before{content:"";flex:none;width:34px;height:2px;border-radius:2px;background:var(--honey)}
html.pal-zen[data-skin] .center .kicker,html.pal-zen[data-skin] .kicker.center{justify-content:center}
html.pal-zen[data-skin] .btn{min-height:54px;padding:0 28px;font-family:'Lato',system-ui,sans-serif}
html.pal-zen[data-skin] .btn-primary{background:var(--plum);color:#fff;box-shadow:0 12px 26px -16px rgba(91,31,94,.65)}
html.pal-zen[data-skin] .btn-primary:hover{background:var(--plum-d);color:#fff}
/* white cards on a hairline */
html.pal-zen[data-skin] .card,html.pal-zen[data-skin] .alt .card{background:var(--card);border:0;box-shadow:inset 0 0 0 1px var(--line)}
html.pal-zen[data-skin] .card h3{font-size:22px}
html.pal-zen[data-skin] .card p{color:var(--muted)}
html.pal-zen[data-skin] .changes li::before{background:var(--honey)}
html.pal-zen[data-skin] .chip{font-family:'Lato',system-ui,sans-serif;font-weight:400}
html.pal-zen[data-skin] .chip.yes{background:transparent;color:var(--ink);box-shadow:inset 0 0 0 1px var(--rule)}
html.pal-zen[data-skin] .chip.no{background:var(--lilac);color:var(--plum);box-shadow:none}
/* three short points, each under a hairline with a honey tick */
html.pal-zen[data-skin] .keys>div{position:relative;border-top:1px solid var(--line);padding-top:22px}
html.pal-zen[data-skin] .keys>div::before{content:"";position:absolute;left:0;top:-1px;width:34px;height:2px;background:var(--honey)}
html.pal-zen[data-skin] .keys h3{font-size:22px}
/* who overrides whom */
html.pal-zen[data-skin] .order .lvl{background:var(--card);border:0;box-shadow:inset 0 0 0 1px var(--line)}
html.pal-zen[data-skin] .order .lvl.you{box-shadow:inset 4px 0 0 var(--honey),inset 0 0 0 1px var(--line)}
html.pal-zen[data-skin] .order .lvl b{font-family:var(--serif);font-weight:600;font-size:26px}
html.pal-zen[data-skin] .order .ov{font-family:'Lato',system-ui,sans-serif;color:var(--soft)}
/* questions: the open sign in a honey ring */
html.pal-zen[data-skin] .faq{border-top-color:var(--line)}
html.pal-zen[data-skin] .faq details{border-bottom-color:var(--line)}
html.pal-zen[data-skin] .faq summary{padding:22px 52px 22px 0;font:600 19px/1.4 'Lato',system-ui,sans-serif;color:var(--ink)}
html.pal-zen[data-skin] .faq summary::after{content:"+";top:50%;right:2px;display:grid;place-items:center;width:30px;height:30px;margin-top:-15px;border-radius:50%;box-shadow:inset 0 0 0 1.5px var(--honey);font:400 20px/1 'Lato',system-ui,sans-serif;color:var(--plum)}
html.pal-zen[data-skin] .faq details[open] summary::after{content:"\2212"}
html.pal-zen[data-skin] .faq details p{color:var(--muted)}
/* How it works: the five steps, each number circled */
html.pal-zen[data-skin] .setup li{position:relative}
html.pal-zen[data-skin] .setup li::before{display:grid;place-items:center;width:64px;height:64px;margin:0 0 14px;font:italic 600 30px/1 var(--serif);color:var(--plum)}
html.pal-zen[data-skin] .setup li::after{content:"";position:absolute;left:0;top:0;width:64px;height:64px;background:var(--enso) center/contain no-repeat;transform:rotate(var(--rot,0deg))}
html.pal-zen[data-skin] .setup li:nth-child(2){--rot:72deg}
html.pal-zen[data-skin] .setup li:nth-child(3){--rot:144deg}
html.pal-zen[data-skin] .setup li:nth-child(4){--rot:216deg}
html.pal-zen[data-skin] .setup li:nth-child(5){--rot:288deg}
html.pal-zen[data-skin] .setup h3{font-size:21px}
html.pal-zen[data-skin] .setup p{font-size:16px;color:var(--muted)}
/* Who we are: each round portrait inside its own honey ring */
html.pal-zen[data-skin] .person .photo{position:relative;overflow:visible;background:none;border-radius:0}
html.pal-zen[data-skin] .person .photo img{transform:none;clip-path:circle(47%)}
html.pal-zen[data-skin] .person .photo::before{content:"";position:absolute;inset:-21%;background:var(--enso) center/contain no-repeat;transform:rotate(var(--rot,0deg));pointer-events:none}
html.pal-zen[data-skin] .person:nth-child(3n+2) .photo{--rot:120deg}
html.pal-zen[data-skin] .person:nth-child(3n) .photo{--rot:240deg}
html.pal-zen[data-skin] .person h3{margin-top:26px;font-size:24px}
html.pal-zen[data-skin] .people.two .person h3{margin-top:4px}
html.pal-zen[data-skin] .person .role{font-family:'Lato',system-ui,sans-serif;color:var(--plum)}
html.pal-zen[data-skin] .person p{color:var(--muted)}
html.pal-zen[data-skin] .person .does{color:var(--ink);background:var(--card);border:1.5px solid var(--honey);border-radius:14px}
/* Who we are: the two people who stand between groups (pages.css lays them out) */
/* How it works: the setup steps turn on the front page's wheel, each with its picture (Leon, 28 Nov 2026) */
html.pal-zen[data-skin] .wpanel{position:relative;margin-top:36px;background:var(--card);box-shadow:inset 0 0 0 1px var(--line);border-radius:24px;overflow:clip;padding-bottom:18px}
html.pal-zen[data-skin] .wpanel[hidden]{display:none}
html.pal-zen[data-skin] .wpic{position:relative;aspect-ratio:3/2;border-radius:20px;overflow:hidden;margin:10px 10px 0;background:var(--linen)}
html.pal-zen[data-skin] .wpic img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .7s ease}
html.pal-zen[data-skin] .wpic img.on{opacity:1}
html.pal-zen[data-skin] .wstep{position:absolute;left:12px;top:12px;background:rgba(255,253,249,.92);color:var(--ink);border-radius:999px;padding:6px 13px;font-size:14px;font-weight:700}
html.pal-zen[data-skin] .wside{position:relative}
html.pal-zen[data-skin] .wheel{position:relative;height:250px;overflow:clip}
html.pal-zen[data-skin] .wheel .arc{position:absolute;border-radius:50%;border:1.5px dashed var(--rule);pointer-events:none}
html.pal-zen[data-skin] .node{position:absolute;left:0;top:0;padding:0;border:0;cursor:pointer;border-radius:50%;background:#fff;display:grid;place-items:center;box-shadow:0 10px 28px rgba(43,33,41,.07),0 0 0 8px rgba(255,253,249,.6);transition:transform 1s cubic-bezier(.34,1.2,.4,1),opacity .6s}
html.pal-zen[data-skin] .node .core{width:62%;height:62%;border-radius:50%;background:var(--honey-pale);color:var(--plum);display:grid;place-items:center;transition:background .5s,color .5s,transform .5s ease}
html.pal-zen[data-skin] .node.on .core{background:var(--plum);color:#fff;transform:scale(1.08)}
html.pal-zen[data-skin] .node svg{width:46%;height:46%;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
html.pal-zen[data-skin] .wheel .pin{position:absolute;left:50%;top:var(--pin,100px);width:2px;height:40px;margin-left:-1px;background:linear-gradient(var(--honey),transparent)}
html.pal-zen[data-skin] .wheel .pin::before{content:"";position:absolute;left:-4px;top:-5px;width:6px;height:6px;border-radius:50%;border:2px solid var(--honey);background:var(--card)}
html.pal-zen[data-skin] .wlabel{position:absolute;left:50%;top:calc(var(--pin,100px) + 48px);transform:translateX(-50%);display:inline-flex;align-items:center;gap:10px;white-space:nowrap;background:#fff;border-radius:999px;padding:8px 18px 8px 8px;font-size:16px;font-weight:700;color:var(--ink);box-shadow:0 8px 24px rgba(43,33,41,.08)}
html.pal-zen[data-skin] .wlabel .ck{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:var(--honey);color:#fff}
html.pal-zen[data-skin] .wlabel .ck svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
html.pal-zen[data-skin] .fadeable{transition:opacity .22s}
html.pal-zen[data-skin] .fadeable.swap{opacity:0}
html.pal-zen[data-skin] .wdesc{text-align:center;color:var(--muted);max-width:420px;margin:4px auto 0;padding:0 18px;min-height:3.1em}
html.pal-zen[data-skin] .wnav{display:flex;justify-content:center;gap:10px;margin-top:12px}
html.pal-zen[data-skin] .wnav button{width:44px;height:44px;padding:0;border:0;cursor:pointer;border-radius:50%;background:transparent;box-shadow:inset 0 0 0 1px var(--rule);display:grid;place-items:center;color:var(--ink)}
html.pal-zen[data-skin] .wnav svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
@media (min-width:900px){
  html.pal-zen[data-skin] .wpanel{display:grid;grid-template-columns:1.3fr 1fr;align-items:center;gap:8px;padding:12px 0 12px 12px}
  html.pal-zen[data-skin] .wpic{margin:0;aspect-ratio:auto;height:100%;min-height:420px}
  html.pal-zen[data-skin] .wheel{height:300px}
}
html.pal-zen[data-skin] .prose .tick::before{background:var(--honey)}
/* the end of a page: no plum block; the heading on the ivory, its last words in a breathing honey ring */
html.pal-zen[data-skin] .closing{background:transparent;color:var(--ink);padding:80px 0 92px}
html.pal-zen[data-skin] .closing h2{max-width:22ch;margin:0 auto;color:var(--ink);font-size:clamp(34px,8.8vw,40px);line-height:1.12}
html.pal-zen[data-skin] .closing h2 .soft{--ring:min(260px,72vw);position:relative;isolation:isolate;display:flex;align-items:center;justify-content:center;width:var(--ring);height:var(--ring);margin:14px auto 0;padding:0 calc(var(--ring) * .25);box-sizing:border-box;color:var(--plum);font-size:.92em;font-style:italic;line-height:1.1;text-wrap:balance}
html.pal-zen[data-skin] .closing h2 .soft.wide{--ring:min(300px,82vw);padding:0 calc(var(--ring) * .22);font-size:.8em}
html.pal-zen[data-skin] .closing h2 .soft::before{content:"";position:absolute;inset:0;background:var(--enso) center/contain no-repeat;z-index:-1;animation:zen-breathe 11s ease-in-out infinite}
html.pal-zen[data-skin] .closing .btn{margin-top:26px;background:var(--plum);color:#fff;box-shadow:0 12px 26px -16px rgba(91,31,94,.65)}
html.pal-zen[data-skin] .closing .btn:hover{background:var(--plum-d)}
/* the legal pages: reading sizes */
html.pal-zen[data-skin] .legal-doc h1{font-size:clamp(40px,9.6vw,56px)}
html.pal-zen[data-skin] .legal-doc h2{font-size:clamp(27px,6.6vw,34px);line-height:1.15;margin:48px 0 12px}
html.pal-zen[data-skin] .legal-doc h3{font-size:22px}
html.pal-zen[data-skin] .legal-doc .updated{font-family:'Lato',system-ui,sans-serif;color:var(--soft)}
html.pal-zen[data-skin] .legal-doc p{color:var(--muted)}
@media (prefers-reduced-motion:reduce){html.pal-zen .band h2::before,html.pal-zen[data-skin] .closing h2 .soft::before{animation:none}}
@media (min-width:960px){
  html.pal-zen[data-skin] h1{font-size:clamp(52px,4.4vw,64px)}
  html.pal-zen[data-skin] h2{font-size:clamp(42px,3.6vw,54px)}
  html.pal-zen[data-skin] .closing{padding:112px 0 124px}
  html.pal-zen[data-skin] .closing h2{font-size:52px}
  html.pal-zen[data-skin] .closing h2 .soft{--ring:330px}
  html.pal-zen[data-skin] .closing h2 .soft.wide{--ring:400px}
}

/* ================= the front page's app cards, every width (Leon, 27 Nov 2026: "the numbers in the boxes are not
   aligned and cutting the thing"). Each number sits above its heading in a small honey ring, in the same place on every
   card (build.py moves it out of the picture), and the pictures' own small text is no longer enlarged by the card's
   text size, so each picture fits its box. ================= */
.pal-zen .step .viz p{margin:6px 0 0;font-size:12.5px;line-height:1.4;color:var(--ink)}
.pal-zen .step .num{position:relative;left:auto;top:auto;z-index:auto;display:grid;place-items:center;flex:none;width:46px;height:46px;margin:18px 0 0 6px;font-size:18px;line-height:1}
.pal-zen .step .num::before{content:"";position:absolute;inset:0;background:var(--enso) center/contain no-repeat;transform:rotate(var(--rot,0deg))}
.pal-zen .step:nth-child(3n+2) .num{--rot:120deg}
.pal-zen .step:nth-child(3n) .num{--rot:240deg}
.pal-zen .step .num+h3{margin-top:10px}
@media (min-width:700px){.pal-zen .rdots.zph{display:none}}

/* ================= the front page on a phone (Leon, 27 Nov 2026): "too much vertical scrolling", "we need more animation
   on the phone", and "where you land on the hero, and then the next scroll takes you to the whole evening part entirely,
   so it's focused on the screen". The words fill the first screen and the evening the second, and the two snap
   (phone.js turns snapping on above "It was never about Saturday" only). Below them each part is shorter: the three
   questions and the three numbers in smaller rings side by side, the night story and Where it works as swipe rows, the
   science and "Why not just a chatbot?" folded to their titles. ================= */
@media (max-width:699px){
  html.pal-zen:not([data-skin]){scroll-padding-top:var(--hdr,66px)}
  /* a turned ring's square box pokes past the screen's edge; a phone would zoom the whole page out for it */
  html.pal-zen:not([data-skin]) :is(.hero,.sec,.band,.closing){overflow-x:clip}
  html.pal-zen.snaptop:not([data-skin]){scroll-snap-type:y mandatory}
  html.pal-zen:not([data-skin]) .hero-copy,html.pal-zen:not([data-skin]) .hero-art,html.pal-zen:not([data-skin]) #asking{scroll-snap-align:start}
  html.pal-zen:not([data-skin]) .hero-art{scroll-snap-stop:always}

  /* screen one: the words, centred in the space under the top bar */
  html.pal-zen:not([data-skin]) .hero{padding:0 14px}
  html.pal-zen:not([data-skin]) .hero-copy{min-height:calc(100svh - var(--hdr,66px));display:flex;flex-direction:column;justify-content:center;padding:10px 6px 22px}
  html.pal-zen:not([data-skin]) .hero h1{font-size:max(32px,min(11.6vw,5.5svh));margin-bottom:min(20px,2.4svh)}
  html.pal-zen:not([data-skin]) .hero .lead{font-size:max(16px,min(19px,2.3svh));margin-bottom:min(28px,3.2svh)}
  html.pal-zen:not([data-skin]) .pill{margin-bottom:min(22px,2.6svh)}
  /* screen two: the whole evening under the top bar, the hands above and the calls below them */
  html.pal-zen:not([data-skin]) .hero-art{height:calc(100svh - var(--hdr,66px) - 14px);min-height:480px;margin:0;display:flex;flex-direction:column}
  html.pal-zen:not([data-skin]) .viewport{flex:0 0 36%;height:auto}
  html.pal-zen:not([data-skin]) .callpanel{flex:1 1 auto;min-height:0}
  html.pal-zen:not([data-skin]) .feed{flex:1 1 auto;height:auto;min-height:0}

  /* every part a little tighter */
  html.pal-zen:not([data-skin]) .sec{padding:40px var(--pad) 36px}
  html.pal-zen:not([data-skin]) .step .viz{height:250px}
  html.pal-zen:not([data-skin]) .ask{padding-top:52px}
  html.pal-zen:not([data-skin]) h2{font-size:clamp(33px,8.8vw,38px)}
  html.pal-zen:not([data-skin]) .head{margin-bottom:22px}
  html.pal-zen:not([data-skin]) .lede{margin-top:12px}

  /* the three questions: two rings above, one nested under them */
  html.pal-zen:not([data-skin]) .askq{display:grid;grid-template-columns:1fr 1fr;justify-items:center;max-width:380px;margin:20px auto 0;gap:0}
  html.pal-zen:not([data-skin]) .askq li{--ring:min(164px,44vw);width:calc(var(--ring) * .66);max-width:none;min-height:var(--ring);margin:0;font-size:21px;line-height:1.12}
  html.pal-zen:not([data-skin]) .askq li:nth-child(1){--rot:0deg}
  html.pal-zen:not([data-skin]) .askq li:nth-child(2){--rot:120deg}
  html.pal-zen:not([data-skin]) .askq li:nth-child(3){--rot:240deg;grid-column:1/-1;margin-top:calc(var(--ring) * -.17)}
  html.pal-zen:not([data-skin]) .askq li::before{transform:rotate(var(--rot))}

  /* the night story: a swipe row */
  html.pal-zen:not([data-skin]) .nights{display:flex;gap:18px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;margin:0 calc(var(--pad) * -1);padding:0 var(--pad) 4px;scroll-padding:0 var(--pad)}
  html.pal-zen:not([data-skin]) .nights::-webkit-scrollbar{display:none}
  html.pal-zen:not([data-skin]) .nights li{flex:0 0 74%;scroll-snap-align:start;padding:18px 0 10px}

  /* what you get back: shorter photos in the stacking cards */
  html.pal-zen:not([data-skin]) .scard .ph{aspect-ratio:2.3/1}
  html.pal-zen:not([data-skin]) .scard .cap{padding:14px 16px 18px}
  html.pal-zen:not([data-skin]) .scard h3{font-size:23px}

  /* the three numbers: a ring and its line side by side, the middle one mirrored */
  html.pal-zen:not([data-skin]) .stats{gap:18px}
  html.pal-zen:not([data-skin]) .stat{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:18px;padding:0;text-align:left}
  html.pal-zen:not([data-skin]) .stat:nth-child(2){grid-template-columns:1fr auto}
  html.pal-zen:not([data-skin]) .stat:nth-child(2) b{order:2}
  html.pal-zen:not([data-skin]) .stat b{--ring:156px;margin:0;font-size:40px}
  html.pal-zen:not([data-skin]) .stat b span{max-width:6.2em;margin:2px 0;font-size:13px;text-align:center}
  html.pal-zen:not([data-skin]) .stat p{max-width:none;margin:0;font-size:16px;line-height:1.5}

  /* the voice: a shorter photo; the science folds to its three titles */
  html.pal-zen:not([data-skin]) .vcard{min-height:390px}
  html.pal-zen:not([data-skin]) .sci{padding:22px 18px 6px}
  html.pal-zen:not([data-skin]) .sci-grid{gap:0;margin-top:12px}
  html.pal-zen:not([data-skin]) .sci-c{padding:0}
  html.pal-zen:not([data-skin]) .sci-c.fold>b{padding:16px 0}
  html.pal-zen:not([data-skin]) .sci-c.fold.open{padding-bottom:18px}
  html.pal-zen:not([data-skin]) .fold>b,html.pal-zen:not([data-skin]) .fold>h3{display:flex;align-items:center;justify-content:space-between;gap:14px;cursor:pointer;-webkit-tap-highlight-color:transparent}
  html.pal-zen:not([data-skin]) .fold>b::after,html.pal-zen:not([data-skin]) .fold>h3::after{content:"+";flex:none;display:grid;place-items:center;width:32px;height:32px;border-radius:50%;box-shadow:inset 0 0 0 1.5px var(--honey);font:400 21px/1 'Lato',system-ui,sans-serif;color:var(--plum);transition:transform .35s}
  html.pal-zen:not([data-skin]) .fold.open>b::after,html.pal-zen:not([data-skin]) .fold.open>h3::after{transform:rotate(45deg)}
  html.pal-zen:not([data-skin]) .fold:not(.open):not(.layer)>:not(b):not(h3){display:none}

  /* where it works: a swipe row */
  html.pal-zen:not([data-skin]) .where2{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;margin:0 calc(var(--pad) * -1);padding:4px var(--pad) 6px;scroll-padding:0 var(--pad)}
  html.pal-zen:not([data-skin]) .where2::-webkit-scrollbar{display:none}
  html.pal-zen:not([data-skin]) .where2>*{flex:0 0 84%;scroll-snap-align:start}
  html.pal-zen:not([data-skin]) .where2 .feat.photo{min-height:380px}

  /* cards in the swipe rows: no empty space below the words */
  html.pal-zen:not([data-skin]) .rail>.feat:not(.photo){min-height:0;gap:16px}
  html.pal-zen:not([data-skin]) .rail .feat p{font-size:16px}

  /* 25 families: a smaller ring */
  html.pal-zen:not([data-skin]) .band{padding:34px var(--pad) 44px}
  html.pal-zen:not([data-skin]) .band h2{--ring:min(300px,80vw);font-size:29px}
  html.pal-zen:not([data-skin]) .band p{margin:16px auto 22px}

  /* safety: tighter cards; each layer shows its name and promise, a tap opens the rest; "Why not just a chatbot?"
     folds to its title; so does "Not generally available yet" further down */
  html.pal-zen:not([data-skin]) .layer{padding:16px}
  html.pal-zen:not([data-skin]) .layer.fold{cursor:pointer;-webkit-tap-highlight-color:transparent}
  html.pal-zen:not([data-skin]) .layer.fold::after{content:"+";flex:none;align-self:center;margin-left:auto;display:grid;place-items:center;width:32px;height:32px;border-radius:50%;box-shadow:inset 0 0 0 1.5px var(--honey);font:400 21px/1 'Lato',system-ui,sans-serif;color:var(--plum);transition:transform .35s}
  html.pal-zen:not([data-skin]) .layer.fold.open::after{transform:rotate(45deg)}
  html.pal-zen:not([data-skin]) .layer.fold:not(.open) p:not(.s){display:none}
  html.pal-zen:not([data-skin]) .tale{padding:20px}
  html.pal-zen:not([data-skin]) .tale h3{font-size:25px}

  /* whoever they are to you: smaller lines */
  html.pal-zen:not([data-skin]) .says li{padding:18px 0 16px 42px;font-size:clamp(23px,6.2vw,26px)}
  html.pal-zen:not([data-skin]) .says li::before{top:21px;width:26px;height:26px}
}

/* the phone's motion: the hands drift slowly; rings turn into place, the soft half of each heading comes into focus,
   the honey line draws, swipe cards slide in from the side, photos move a little against the page; nothing moves for
   readers who ask their phone for less motion */
@keyframes zen-drift{from{transform:scale(1.02)}to{transform:scale(1.1) translate(-2%,-1.5%)}}
@keyframes zen-par{from{transform:translateY(-5%) scale(1.12)}to{transform:translateY(5%) scale(1.12)}}
@media (max-width:699px) and (prefers-reduced-motion:no-preference){
  html.pal-zen:not([data-skin]) #plane img{transform-origin:60% 55%;animation:zen-drift 24s ease-in-out infinite alternate}
  html.pal-zen.js:not([data-skin]) .askq li::before,html.pal-zen.js:not([data-skin]) .stat b::before,html.pal-zen.js:not([data-skin]) .nights .n::before,html.pal-zen.js:not([data-skin]) .step .num::before,html.pal-zen.js:not([data-skin]) .says li::before{transition:transform 1.6s cubic-bezier(.22,.61,.36,1),opacity 1.2s ease;transition-delay:calc(var(--d,0s) + .1s)}
  html.pal-zen.js:not([data-skin]) .askq li:not(.on)::before,html.pal-zen.js:not([data-skin]) .stat:not(.on) b::before,html.pal-zen.js:not([data-skin]) .nights li:not(.on) .n::before,html.pal-zen.js:not([data-skin]) .step:not(.on) .num::before{opacity:0;transform:rotate(calc(var(--rot,0deg) - 90deg)) scale(.8)}
  html.pal-zen.js:not([data-skin]) .says li:not(.on)::before{opacity:0;transform:rotate(-90deg) scale(.6)}
  html.pal-zen.js:not([data-skin]) .rv h2 .soft{transition:opacity 1.3s ease .4s,filter 1.3s ease .4s}
  html.pal-zen.js:not([data-skin]) .rv:not(.on) h2 .soft{opacity:0;filter:blur(6px)}
  html.pal-zen.js:not([data-skin]) .rv .kick::before{transform-origin:0 50%;transition:transform 1s cubic-bezier(.22,.61,.36,1) .25s}
  html.pal-zen.js:not([data-skin]) .rv:not(.on) .kick::before{transform:scaleX(0)}
  html.pal-zen.js:not([data-skin]) [data-rail]>.rv:not(.on){transform:translateX(40px)}
}
@supports (animation-timeline:view()){
  @media (max-width:699px) and (prefers-reduced-motion:no-preference){
    html.pal-zen:not([data-skin]) .scard .ph img,html.pal-zen:not([data-skin]) .vcard>img,html.pal-zen:not([data-skin]) .nurse img{animation:zen-par linear both;animation-timeline:view();animation-range:cover 0% cover 100%}
  }
}

/* the logo's colourings, from build.py LOGOS */
html.pal-zen.logo-orange{--logo-a:#E3A72F;--logo-b:#E3A72F;--logo-w1:#5B1F5E;--logo-w2:#5B1F5E}
html.pal-zen.logo-blue{--logo-a:#0066A1;--logo-b:#0066A1;--logo-w1:#5B1F5E;--logo-w2:#5B1F5E}
html.pal-zen.logo-mix{--logo-a:#0066A1;--logo-b:#E3A72F;--logo-w1:#5B1F5E;--logo-w2:#5B1F5E}
html.pal-zen.logo-unity{--logo-a:#5B1F5E;--logo-b:#5B1F5E;--logo-w1:#E3A72F;--logo-w2:#0066A1}
html.pal-zen.logo-unity-soft{--logo-a:#5B1F5E;--logo-b:#5B1F5E;--logo-w1:#E3A72F;--logo-w2:#3E6898}
html.pal-zen.logo-unity-head{--logo-a:#5B1F5E;--logo-b:#E3A72F;--logo-w1:#E3A72F;--logo-w2:#0066A1}
html.pal-zen.logo-blue-prox{--logo-a:#5B1F5E;--logo-b:#5B1F5E;--logo-w1:#0066A1;--logo-w2:#5B1F5E}
html.pal-zen.logo-soft-prox{--logo-a:#5B1F5E;--logo-b:#5B1F5E;--logo-w1:#3E6898;--logo-w2:#5B1F5E}
html.pal-zen.logo-yellow-prox{--logo-a:#5B1F5E;--logo-b:#5B1F5E;--logo-w1:#E3A72F;--logo-w2:#5B1F5E}
html.pal-zen.logo-blue-honey{--logo-a:#E3A72F;--logo-b:#E3A72F;--logo-w1:#0066A1;--logo-w2:#E3A72F}
html.pal-zen.logo-soft-honey{--logo-a:#E3A72F;--logo-b:#E3A72F;--logo-w1:#3E6898;--logo-w2:#E3A72F}
