/* The A4 document — the artifact the client actually signs off on. The phone
   deck is an adaptation of THIS, not the other way round.

   Taken verbatim from the WalletV brief delivered 2026-11-26 (brief.html),
   with three changes: every selector is scoped under .a4 so it cannot collide
   with the phone layout; the hard-coded palette is replaced by the client's
   brand tokens; and .page no longer clips its overflow, because the content
   is data now and clipped overflow silently loses a paragraph.

   Every fill here is flat or a plain CSS gradient between two opaque colours.
   No blur, no SVG filter, no semi-transparent gradient: Chrome rasterises
   those into a transparency-masked bitmap that Brave draws as a purple block
   (it ate the 2026-11-26 PDF). Keep it that way — Brief/scripts/pdf.py counts
   the images in the output and fails if any appear. */

.a4{
  --bg:#07051A; --panel:#110C2B; --panel2:#181238; --line:#2A2256;
  --text:#F1EEFF; --ink:#F1EEFF; --ink2:#CFCAE8; --muted:#9A94BE;
  --v:var(--accent,#7C66F5); --v2:var(--accent-soft,#AFA2FF); --deep:#2A1C7A;
  font-family:"Noto Sans SC","Noto Sans CJK SC",system-ui,sans-serif;
  color:var(--text); background:var(--bg);
  -webkit-print-color-adjust:exact; print-color-adjust:exact;
}
.a4 *{box-sizing:border-box;margin:0;padding:0}

.a4 .page{width:210mm;height:297mm;position:relative;overflow:visible;
  page-break-after:always;break-after:page;padding:22mm 18mm 20mm;
  background:radial-gradient(150mm 120mm at 105% -5%,#1D1546 0%,#07051A 70%)}
.a4 .page:last-child{page-break-after:auto;break-after:auto}
.a4 .logo{display:inline-block;vertical-align:middle}
.a4 .run{position:absolute;left:18mm;right:18mm;top:8mm;display:flex;
  justify-content:space-between;align-items:center;font-size:8.5pt;color:var(--muted);letter-spacing:.04em}
.a4 .mark{display:flex;align-items:center;gap:2mm;font-weight:900;color:var(--text);font-size:10pt;letter-spacing:-.01em}
.a4 .mark i,.a4 .wordmark i{font-style:normal;color:var(--v2)}
.a4 .foot{position:absolute;left:18mm;right:18mm;bottom:9mm;display:flex;
  justify-content:space-between;font-size:8pt;color:var(--muted);border-top:1px solid var(--line);padding-top:3mm}

/* cover — the one page that bleeds, so the one page that clips. Without
   this the glow and the mark stick out past 210mm, the sheet measures wider
   than A4, and Chrome silently scales the whole document to ~75% to fit. */
.a4 .cover{padding:0;background:#06041A;overflow:hidden}
.a4 .cover .glow{position:absolute;width:190mm;height:190mm;border-radius:50%;right:-70mm;top:-60mm;
  background:radial-gradient(circle,#3A2A9C 0%,#06041A 65%)}
.a4 .cover .bigmark{position:absolute;right:-6mm;top:18mm;width:118mm;height:118mm;opacity:.95}
.a4 .cover .in{position:absolute;inset:0;padding:24mm 20mm;display:flex;flex-direction:column}
.a4 .wordmark{display:flex;align-items:center;gap:3mm;font-size:15pt;font-weight:900;letter-spacing:-.01em;color:var(--text)}
.a4 .kicker{margin-top:auto;font-size:9.5pt;letter-spacing:.32em;color:var(--v2);font-weight:700}
.a4 .cover h1{font-size:44pt;line-height:1.1;font-weight:900;margin-top:5mm}
.a4 .cover h1 span{color:var(--v2)}
.a4 .cover .lede{margin-top:8mm;font-size:12.5pt;line-height:1.75;color:#C9C4E6;max-width:150mm}
.a4 .chips{display:flex;gap:3mm;margin-top:10mm;flex-wrap:wrap}
.a4 .chip{border:1px solid #4A3D9E;background:#0F0B2B;border-radius:99px;padding:2mm 4.5mm;font-size:9.5pt;color:#E8E5FA}
.a4 .chip b{color:var(--v2);font-weight:700;margin-right:1.5mm}
.a4 .cover .meta{margin-top:18mm;display:flex;justify-content:space-between;font-size:8.5pt;color:#8A84AE;
  border-top:1px solid var(--line);padding-top:4mm}

/* sections */
.a4 .sec{display:flex;align-items:baseline;gap:4mm;margin:0 0 5mm}
.a4 .sec .no{font-size:10pt;font-weight:900;color:#fff;background:var(--v);border-radius:2mm;padding:.6mm 2.2mm}
.a4 .sec h2{font-size:19pt;font-weight:900;color:var(--text)}
.a4 .intro{font-size:10.5pt;line-height:1.8;color:var(--ink2);margin-bottom:6mm}
.a4 p,.a4 li{font-size:10pt;line-height:1.75;color:var(--ink2)}
.a4 b,.a4 strong{font-weight:700;color:#fff}
.a4 .gap{height:9mm}
.a4 .capline{font-size:9pt;font-weight:700;color:var(--muted);letter-spacing:.12em;margin-bottom:2mm}

.a4 .facts{display:grid;grid-template-columns:30mm 1fr;border-top:2px solid var(--v)}
.a4 .facts div{padding:3.4mm 0;border-bottom:1px solid var(--line);font-size:10pt;line-height:1.65;color:var(--ink2)}
.a4 .facts .k{font-weight:700;color:var(--muted);font-size:9pt;letter-spacing:.04em;padding-top:3.8mm}

.a4 .ov{display:grid;gap:3mm}
.a4 .ov .c{background:var(--panel);border:1px solid var(--line);border-radius:3mm;padding:4mm 3.5mm;min-height:42mm}
.a4 .ov .c.hero{background:linear-gradient(180deg,#3E2BB0 0%,#160F3E 60%,#07051A 100%);border:1.5px solid var(--v)}
.a4 .ov .c .n{font-size:20pt;font-weight:900;color:var(--v2);line-height:1}
.a4 .ov .c.hero .n{color:#fff}
.a4 .ov .c h3{font-size:10.5pt;margin-top:3mm;line-height:1.35;color:#fff}
.a4 .ov .c p{font-size:8.3pt;line-height:1.55;color:var(--muted);margin-top:2mm}
.a4 .ov .c.hero p{color:#D4CEF5}
.a4 .tag{display:inline-block;font-size:7.5pt;font-weight:700;background:var(--v);color:#fff;border-radius:99px;padding:.4mm 2mm;margin-top:2.5mm}

/* One block = one unit the paginator will not split. Spacing lives here
   rather than on the blocks themselves, so a page never opens with a stray
   top margin. */
.a4 .blk{margin-bottom:9mm}
.a4 .blk:last-child{margin-bottom:0}
.a4 .blk.sp-blk{margin-bottom:6mm}
.a4 .logo{display:inline-block;flex:none}
.a4 .logo svg,.a4 .bigmark svg{width:100%;height:100%;display:block}

/* selling point */
.a4 .sp{background:var(--panel);border:1px solid var(--line);border-radius:4mm;padding:6mm 7mm 5.5mm}
.a4 .sp.hero{border:1.5px solid var(--v);background:linear-gradient(180deg,#1C1450,#0E0A26 45%)}
.a4 .sp .head{display:flex;align-items:center;gap:4mm;margin-bottom:4mm}
.a4 .sp .badge{width:11mm;height:11mm;border-radius:3mm;background:linear-gradient(180deg,#6A4FE0,#120A33 70%);
  border:1.2px solid var(--v2);color:#fff;font-weight:900;font-size:13pt;display:flex;align-items:center;justify-content:center;flex:none}
.a4 .sp .eyebrow{font-size:8pt;letter-spacing:.2em;color:var(--v2);font-weight:700}
.a4 .sp h3{font-size:14.5pt;font-weight:900;line-height:1.3;color:#fff}
.a4 .row{display:grid;grid-template-columns:22mm 1fr;gap:3mm;padding:2.6mm 0;border-top:1px dashed var(--line)}
.a4 .row .k{font-size:8.8pt;font-weight:700;color:var(--muted);padding-top:.6mm}
.a4 .row ul{list-style:none}
.a4 .row li{position:relative;padding-left:4.5mm}
.a4 .row li:before{content:"";position:absolute;left:0;top:2.6mm;width:1.8mm;height:1.8mm;border-radius:50%;background:var(--v2)}
.a4 .angle{background:#1F1845;border-radius:2.5mm;padding:2.6mm 3.5mm}
.a4 .angle .k{color:var(--v2)}
.a4 .angle.row{border-top:0;margin-top:2mm}

/* audience / partners */
.a4 .cols{display:grid;grid-template-columns:1fr 1fr;gap:6mm}
.a4 .box{background:var(--panel);border:1px solid var(--line);border-radius:4mm;padding:6mm}
.a4 .box h3{font-size:12.5pt;font-weight:900;margin-bottom:3mm;display:flex;align-items:center;gap:2.5mm;color:#fff}
.a4 .box h3 .no{font-size:8.5pt;background:var(--v);color:#fff;border-radius:1.5mm;padding:.3mm 1.6mm}
.a4 .ticks{list-style:none}
.a4 .ticks li{position:relative;padding:1.8mm 0 1.8mm 6mm;border-bottom:1px solid var(--line)}
.a4 .ticks li:last-child{border-bottom:0}
.a4 .ticks li:before{content:"✓";position:absolute;left:0;top:1.8mm;font-weight:900;color:var(--v2);font-size:9.5pt}

/* platform */
.a4 .plat{display:grid;grid-template-columns:1fr 1fr;gap:4mm;margin-bottom:5mm}
.a4 .pcard{background:var(--panel);border:1px solid var(--line);border-radius:3.5mm;padding:5mm}
.a4 .pcard .k{font-size:8pt;letter-spacing:.18em;color:var(--v2);font-weight:700;margin-bottom:1.5mm}
.a4 .pcard .v{font-size:11.5pt;font-weight:700;line-height:1.5;color:#fff}
.a4 .pcard .v .s{display:block;font-weight:500;font-size:10pt;color:var(--ink2)}
.a4 .core{background:linear-gradient(120deg,#3A28A8,#130C38 70%);border:1.5px solid var(--v);border-radius:4mm;padding:6mm 7mm;margin-bottom:5mm}
.a4 .core .k{font-size:8pt;letter-spacing:.2em;color:var(--v2);font-weight:700}
.a4 .core .v{font-size:13pt;font-weight:700;margin-top:2mm;line-height:1.55;color:#fff}
.a4 .core .s{font-size:9.5pt;color:#D4CEF5;margin-top:2mm;line-height:1.7}
.a4 .opt{display:grid;gap:3mm}
.a4 .opt div{background:var(--panel);border:1px solid var(--line);border-radius:3mm;padding:4mm;font-size:9.5pt;line-height:1.6;color:var(--ink2)}
.a4 .opt div span{display:block;font-size:7.5pt;color:var(--v2);letter-spacing:.12em;font-weight:700;margin-bottom:1mm}
.a4 .note{font-size:9.3pt;color:var(--muted);line-height:1.7;margin-top:4mm;padding-left:3.5mm;border-left:2px solid var(--v)}

/* message */
.a4 .flow{display:grid;gap:2mm;margin:2mm 0 4mm;align-items:stretch}
.a4 .flow .st{background:var(--panel);border:1px solid var(--line);border-radius:3mm;padding:4mm;text-align:center}
.a4 .flow .st span{display:block;font-size:7.5pt;color:var(--v2);letter-spacing:.14em;font-weight:700}
.a4 .flow .st b{display:block;font-size:11pt;margin-top:1.2mm}
.a4 .flow .st p{font-size:8.5pt;color:var(--muted);margin-top:1mm}
.a4 .flow .ar{align-self:center;font-weight:900;color:var(--v2)}
.a4 .cta{display:flex;align-items:center;gap:4mm;background:linear-gradient(90deg,#5B44E0,#7C66F5);border-radius:4mm;padding:5mm 6mm}
.a4 .cta .k{font-weight:900;font-size:10pt;background:#07051A;color:var(--v2);border-radius:2mm;padding:1mm 2.5mm;flex:none}
.a4 .cta .v{font-weight:700;font-size:12pt;color:#fff}

/* rewards */
.a4 .ladder{display:grid;gap:3mm;align-items:end;margin:3mm 0 2mm}
.a4 .step{border-radius:3mm 3mm 0 0;padding:4mm 3.5mm;color:#fff;display:flex;flex-direction:column;
  justify-content:flex-end;border:1px solid var(--line);border-bottom:0}
.a4 .step span{font-size:7.5pt;letter-spacing:.14em;font-weight:700;opacity:.85}
.a4 .step b{font-size:15pt;font-weight:900;margin-top:1mm;line-height:1.15}
.a4 .step small{font-size:8.3pt;opacity:.85;margin-top:1mm;line-height:1.45}
.a4 .base{height:2px;background:var(--v);margin-bottom:6mm}
.a4 .rebate{display:grid;grid-template-columns:1fr 1fr 1.6fr;gap:4mm;margin-bottom:5mm}
.a4 .big{background:var(--panel);border:1.5px solid var(--v);border-radius:4mm;padding:5mm}
.a4 .big span{font-size:8pt;letter-spacing:.16em;font-weight:700;color:var(--muted)}
.a4 .big b{display:block;font-size:32pt;font-weight:900;line-height:1.05;margin-top:1mm}
.a4 .big b em{font-style:normal;color:var(--v2)}
.a4 .big.desc{border:1px solid var(--line);background:var(--panel2)}
.a4 .big.desc p{font-size:9.5pt}
.a4 .list2{display:grid;grid-template-columns:1fr 1fr;gap:3mm}
.a4 .list2 div{background:var(--panel);border:1px solid var(--line);border-radius:3mm;padding:4mm;font-size:9.5pt;line-height:1.65;color:var(--ink2)}
.a4 .list2 div b{display:block;font-size:10.5pt;margin-bottom:1mm}
.a4 .closing{margin-top:7mm;background:linear-gradient(120deg,#2A1C7A,#0E0930 70%);border:1.5px solid var(--v);
  border-radius:4mm;padding:7mm;display:flex;justify-content:space-between;align-items:center;gap:6mm}
.a4 .closing .t{font-size:14pt;font-weight:900;color:#fff}
/* The product name inside the sign-off is the one **bold** that is coloured
   rather than just heavier — it is the last thing on the page. */
.a4 .closing .t span,.a4 .closing .t b{color:var(--v2);font-weight:900}
.a4 .closing .s{font-size:9pt;color:#C9C4E6;margin-top:1.5mm}

/* The document is built off-screen and only exists on paper; ?a4=1 shows it
   on screen for checking a layout without printing. */
.a4{position:absolute;left:-10000px;top:0}
.a4.show{position:static;left:auto;margin:0 auto;display:flex;flex-direction:column;align-items:center;gap:8mm;padding:8mm 0}
.a4.show .page{box-shadow:0 2mm 8mm #0008}

@media print{
  html,body{height:auto;overflow:visible;background:#07051A}
  body>#shell{display:none!important}
  .a4{position:static!important;left:auto!important;display:block!important}
  .a4.show{padding:0;gap:0}
  .a4.show .page{box-shadow:none}
  @page{size:A4;margin:0}
}
