/* The landing page (welcome.html) and the pages of reading that share its header and footer (how, privacy, terms). The retired hero,
   ticket, tour and two-ways blocks are gone (2026-11-24): the page is built from the sheet on .sys (pv/feed.css, #page.wl-page). */
body.wl { display: block; background: var(--deep); min-height: 100vh; overflow-x: clip; font-family: var(--fd-ui, var(--f-ui)); }   /* clip, not hidden: the story's phone stays pinned; the header, footer and skip link in the page's face (Figtree), not the old Pulse face html gives them (the wordmark and Pro mark keep theirs) */
.wl-skip { position: absolute; left: -999px; } .wl-skip:focus { left: 16px; top: 12px; z-index: 9; padding: var(--sp-2) var(--sp-3); background: var(--text); color: var(--deep); border-radius: var(--r-tag); }
.wl-top { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); max-width: 1180px; margin: 0 auto; padding: max(var(--sp-4), env(safe-area-inset-top)) var(--sp-4) 0; }
.wl-brand { display: inline-flex; align-items: center; gap: var(--sp-25); color: var(--text); text-decoration: none; font: 700 var(--fs-lead) var(--f-big); letter-spacing: -.01em; }
.wl-brand img { border-radius: var(--r-tag); }
.wl-nav { display: flex; align-items: center; gap: var(--sp-15); }
.wl-nav a, .wl-nav button { all: unset; cursor: pointer; padding: var(--sp-25) var(--sp-3); border-radius: var(--r-act); color: var(--mute); font-weight: 600; font-size: var(--fs-b); }
@media (hover: hover) and (pointer: fine) { .wl-nav a:hover, .wl-nav button:hover { color: var(--text); } }
.wl-nav .wl-in { color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.wl-nav a:focus-visible, .wl-nav button:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
[hidden] { display: none !important; }

.wl-ask { color: var(--mute); }
.wl-ask b { color: var(--text); text-decoration: line-through; text-decoration-color: var(--wait); text-decoration-thickness: .08em; font-weight: 700; }
.wl-real b { color: var(--buy); font-weight: 700; }

.wl-box { display: block; width: 78%; height: auto; aspect-ratio: 1; object-fit: contain; margin: 0 auto var(--sp-15); filter: drop-shadow(0 22px 26px #000a); }


.wl-foot { max-width: 1180px; margin: 0 auto; padding: var(--sp-5) var(--sp-4) max(var(--sp-6), env(safe-area-inset-bottom)); border-top: 1px solid var(--line); color: var(--faint); font-size: var(--fs-s); display: grid; gap: var(--sp-15); }
.wl-foot p:last-child { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-4); }   /* the links, spaced (no dots between them) */


/* ---------- privacy and terms ---------- */
.doc { max-width: 720px; margin: 0 auto; padding: clamp(var(--sp-6), 6vw, 64px) var(--sp-4) 56px; }
.doc .eyebrow { color: var(--buy); }
.doc h1 { margin-top: var(--sp-25); font: 700 clamp(32px, 6vw, 48px)/1.08 var(--f-big); letter-spacing: -.02em; }
.doc h2 { margin-top: var(--sp-65); font: 700 var(--fs-d1)/1.25 var(--f-big); letter-spacing: -.01em; }
.doc p, .doc li { color: var(--mute); font-size: var(--fs-l); line-height: 1.65; } .doc p { margin-top: var(--sp-3); }
.doc ul { margin-top: var(--sp-3); padding-left: var(--sp-45); display: grid; gap: var(--sp-2); } .doc b { color: var(--text); font-weight: 600; }
.doc a:not(.wl-go):not(.btn-s), .wl-foot a { color: var(--text); text-underline-offset: 3px; }      /* text links only: a button in the text keeps its own colour (Browse prices was light on green, 1.5:1) */
.doc code { font-size: var(--fs-m); padding: 1px var(--sp-15); border-radius: var(--r-tag); background: var(--raise); color: var(--text); }

/* ================= the landing page, round 2: stats, the phone demo, how it works, everything, Pro, questions ================= */
/* one column for the whole page, the header's: 1180 wide with 16 in, so every block's left edge is the logo's (Faris, 2026-11-24 overnight:
   "tighter designs"; the stage's words, the fact cells, the way in and the story used four different edges at 1280) */
#page.wl-page { --wl-in: max(var(--sp-4), calc((100% - 1148px) / 2)); }
body.wl #page.wl-page { padding-bottom: 0; }   /* no bottom bar here to clear: the close's own margin is the space before the footer */
.wh, .wf, .wq-sec, .wp { margin: 0 var(--wl-in, var(--sp-4)); padding: clamp(var(--sp-65), 7vw, 96px) 0 0; box-sizing: border-box; }

/* the phone demo */
.wd-phone { position: relative; justify-self: center; width: 300px; height: 612px; border-radius: 46px; padding: var(--sp-3); box-sizing: border-box;
  background: linear-gradient(160deg, var(--phone-hi), var(--phone-lo)); box-shadow: inset 0 0 0 1px #ffffff1f, 0 40px 90px -30px #000, 0 0 0 1px #000; }
.wd-phone::before { content: ''; position: absolute; inset: -40px; z-index: -1; border-radius: 80px; background: radial-gradient(50% 50% at 50% 45%, color-mix(in srgb, var(--fair) 22%, transparent), transparent 70%); }   /* the gradient is soft already: no blur filter on a layer that rides the pinned phone */
.wd-notch { position: absolute; z-index: 2; top: 17px; left: 50%; width: 84px; height: 22px; transform: translateX(-50%); border-radius: var(--r-tag); background: #000; }
/* the screen: a status bar, then a picture of the real page (390 x 790, backend/tools/welcome_shots.py) */
.wd-screen { height: 100%; border-radius: 36px; overflow: hidden; background: var(--deep); display: grid; grid-template-rows: 28px minmax(0, 1fr); }
.wd-sb { display: flex; justify-content: space-between; align-items: center; padding: 0 var(--sp-5); font-size: var(--fs-label); font-weight: 700; color: var(--text); }
.wd-sig { display: flex; gap: var(--sp-05); } .wd-sig i { width: 4px; height: 4px; border-radius: 50%; background: var(--text); }
.wd-shot { position: relative; overflow: hidden; }
.wd-shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transform: translateY(8px); transition: opacity .3s var(--ease-out), transform .3s var(--ease-out); }
.wd-shot img.on { opacity: 1; transform: none; }
/* the part of the screen the chapter is about lifts off the phone, bigger, while the rest dims (welcome.js; where it sits comes from
   the screen itself: data-focus, written by the welcome_shots tool) */
.wd-shot::after { content: ''; position: absolute; inset: 0; z-index: 1; background: color-mix(in srgb, var(--deep) 64%, transparent); opacity: 0; transition: opacity .35s var(--ease-out); pointer-events: none; }
.wd-phone[data-lift] .wd-shot::after { opacity: 1; }
.wd-lift { position: absolute; inset: calc(var(--sp-3) + 28px) var(--sp-3) var(--sp-3); z-index: 3; pointer-events: none; }
.wd-pop { position: absolute; overflow: hidden; border-radius: var(--r-act); background: var(--deep); opacity: 0; transition: opacity .2s var(--ease-out), transform .6s var(--ease-out);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--fd-white) 32%, transparent), 0 var(--sp-5) var(--sp-7) calc(-1 * var(--sp-3)) var(--deep); }
.wd-pop img { position: absolute; max-width: none; }
.wd-phone[data-lift] .wd-pop { opacity: 1; }

/* how the price is worked out */

/* everything in StockHolo */
.wf-grid { align-items: start; margin-top: var(--sp-55); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-4); }
.wf-grid .ck-in ul, .wp-list { list-style: none; margin: var(--sp-4) 0 0; padding: 0; display: grid; gap: var(--sp-4); }
.wf-grid .ck-in li, .wp-list li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: var(--sp-3); align-items: start; }
.wf-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r-s); background: var(--raise); color: var(--text); }
.wf-grid .ck-in b, .wp-list b { display: flex; align-items: center; gap: var(--sp-2); font-size: var(--fs-b); font-weight: 600; } .wf-grid .ck-in small, .wp-list small { display: block; margin-top: var(--sp-05); color: var(--mute); font-size: var(--fs-m); line-height: 1.5; }

/* Pro, in holo foil */
.wp-card { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(var(--sp-5), 5vw, 56px); padding: clamp(var(--sp-5), 4vw, var(--sp-7)); border-radius: var(--r-l);
  background: linear-gradient(var(--deep), var(--deep)) padding-box, var(--holo, linear-gradient(100deg, var(--buy), var(--fair), var(--sell), var(--wait))) border-box; border: 2px solid transparent; box-shadow: 0 30px 90px -40px rgba(199, 155, 255, .55); }
.wp-card::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 90% at 0% 0%, rgba(57, 230, 160, .14), transparent 60%), radial-gradient(60% 80% at 100% 100%, rgba(199, 155, 255, .16), transparent 60%); }
.wp-sheen { position: absolute; inset: -50% -30%; z-index: -1; background: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, .07) 50%, transparent 58%); transform: translateX(-50%); }
.wp-card.seen .wp-sheen { animation: wpSheen 1.6s var(--fd-ease, ease-out) .2s both; }   /* once, as the card comes into view (welcome.js) */
@keyframes wpSheen { from { transform: translateX(-50%); } to { transform: translateX(50%); } }
.wp-mark { display: inline-flex; align-items: baseline; gap: var(--sp-05); font: 700 var(--fs-s) var(--f-big); letter-spacing: .04em; text-transform: uppercase; color: var(--mute); }
.wp-mark em { font-style: normal; margin-left: var(--sp-15); padding: var(--sp-05) var(--sp-2); border-radius: var(--r-tag); background: var(--holo, var(--buy)); color: var(--deep); letter-spacing: .08em; }
.wp-copy h2 { margin-top: var(--sp-35); font: 700 clamp(26px, 3.6vw, 40px)/1.08 var(--f-big); letter-spacing: -.03em; text-wrap: balance; }
.wp-copy p { margin-top: var(--sp-35); color: var(--mute); font-size: var(--fs-lead); line-height: 1.55; } .wp-copy p b { color: var(--text); }
.wp-go { all: unset; box-sizing: border-box; cursor: pointer; display: inline-flex; align-items: center; margin-top: var(--sp-5);
  color: var(--deep); background: var(--holo, var(--buy)); box-shadow: 0 12px 34px -12px rgba(199, 155, 255, .8); } .wp-go:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
.wp-list { margin: 0; grid-template-columns: 1fr 1fr; gap: var(--pad) var(--sp-45); align-content: center; }
.wp-list .wf-ic { color: var(--pro-ink); background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--holo, var(--line)) border-box; border: 1px solid transparent; box-sizing: border-box; }

/* questions */
.wq-list { margin-top: var(--sp-5); display: grid; gap: var(--sp-2); max-width: 820px; }

@media (max-width: 900px) {
  .wf-grid, .wp-card, .wp-list { grid-template-columns: 1fr; }
}
@media (max-width: 360px) { .wd-phone { width: 280px; height: 580px; } }
@media (prefers-reduced-motion: reduce) { .wd-shot img { transform: none; transition: opacity .2s ease; } .wd-pop { transition: opacity .2s ease; }
  .wp-card.seen .wp-sheen { animation: none; } }

/* how it works (how.html) */
.how-cols { grid-template-columns: 1fr 1fr; gap: var(--sp-2) var(--sp-5); } @media (max-width: 640px) { .how-cols { grid-template-columns: 1fr; } }
