/* Kept pages (POV articles and the legal pages) in the G360 look.
   Published at /g/article.css. These pages load /g/site.css, then /css/pov.css (POV pages only, for component layout), then this file.
   It does four things: gives the old colour names light values, so pov.css components turn light; styles the few old site.css
   classes these pages still use; overrides every dark colour pov.css hard-codes; and sets the type to match the new site.
   No gradients and no monospace here: labels use the small uppercase eyebrow style in Inter. */

:root{
  /* the old site's names, light values */
  --bg:#fff; --bg-2:#f5f5f7; --surface:#f5f5f7; --surface-2:#f5f5f7; --surface-hi:#ededf0;
  --accent:#6b4cf0; --accent-2:#6b4cf0; --cyan:#6e6e73; --violet:#6b4cf0; --magenta:#6b4cf0;
  --white:#1d1d1f; --body:#6e6e73; --muted:#86868b;
  --line:#e8e8ed; --line-2:#d2d2d7;
  --acc-dim:#f0edfe; --acc-border:#dcd4fd;
  --radius:22px; --radius-sm:14px; --container:1240px;
  --brand-grad:#6b4cf0;
  /* pov.css's own names */
  --pov-measure:680px; --pov-body:#1d1d1f; --pov-ink:#1d1d1f;
}
.nav.scrolled{border-color:#e8e8ed}

/* labels: one small uppercase style, Inter, never monospace */
.pov-tag,.pov-position .pl,.pov-when,.pov-toc .toc-label,.pov-timeline .era,.pov-stats .label,.pov-check .head,.pov-note .nl,
.pov-sources summary,.pov-item .by .d,.pov-section-label,.pov-try .kicker,.pov-band .band-kicker,.pov-chart th,.pov-table thead th{
  font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:#6e6e73}

/* ---------- old site.css classes these pages use ---------- */
.container{width:min(var(--container),100% - 48px);margin-inline:auto;padding:0}
.page-shell{padding-top:56px}
section.page-hero,section.content,section.pov-band{padding-left:0;padding-right:0}
.page-hero{padding:clamp(72px,11vh,120px) 0 48px;text-align:center}
.page-hero .eyebrow{margin-bottom:18px}
/* the author page: its hero holds only the way back, so it lines up with the profile under it */
.page-hero:has(> .container > .pov-back:only-child){padding-top:clamp(56px,8vh,88px);text-align:left}
.page-hero:has(> .container > .pov-back:only-child) .container{width:auto;max-width:calc(820px + 64px);padding:0 32px}
.page-hero h1{font-size:clamp(40px,5.6vw,72px);font-weight:600;letter-spacing:-.035em;line-height:1.05;color:var(--ink);max-width:16ch;margin:0 auto}
.page-hero .lead{font-size:clamp(19px,1.6vw,22px);line-height:1.45;color:var(--mute);max-width:34em;margin:24px auto 0;text-wrap:balance}
.page-hero .updated{margin-top:18px;font-size:15px;color:var(--grey)}
.breadcrumb{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:26px;font-size:14px;color:var(--grey)}
.breadcrumb a{color:var(--acc)}
.breadcrumb a:hover{text-decoration:underline}
.breadcrumb .sep{color:var(--grey)}
.grad-text{color:var(--grey);background:none;-webkit-text-fill-color:currentColor;font-style:normal;padding:0}
.lead{color:var(--mute)}

/* legal prose: a plain reading column on white */
.content{padding:24px 0 clamp(96px,12vh,140px)}
.prose{max-width:720px;margin:0 auto;background:none;border:0;border-radius:0;padding:0}
.prose h2{font-size:clamp(24px,2.4vw,30px);font-weight:600;letter-spacing:-.025em;line-height:1.15;color:var(--ink);max-width:none;margin:56px 0 16px}
.prose h2:first-child{margin-top:0}
.prose h3{font-size:19px;font-weight:600;letter-spacing:-.015em;line-height:1.3;color:var(--ink);margin:0 0 10px}
.prose p{font-size:17px;line-height:1.65;color:#1d1d1f;margin:0 0 18px}
.prose ul.bullets{list-style:disc;padding-left:22px;margin:0 0 18px;display:flex;flex-direction:column;gap:8px}
.prose ul.bullets li{font-size:17px;line-height:1.6;color:#1d1d1f}
.prose ul.bullets li::marker{color:var(--grey)}
.prose a{color:var(--acc);border-bottom:1px solid rgba(107,76,240,.28);word-break:break-word;transition:border-color .2s}
.prose a:hover{border-color:var(--acc)}
.prose strong{color:var(--ink);font-weight:600}
.callout{background:var(--tile);border:0;border-radius:20px;padding:26px 28px;margin:0 0 18px}
.callout p:last-child,.callout ul:last-child{margin-bottom:0}
.contact-block{background:var(--tile);border:0;border-radius:20px;padding:24px 28px;margin:8px 0 20px}
.contact-block p{margin-bottom:0}

/* ---------- POV: hero ---------- */
.pov-hero{padding:clamp(64px,9vh,104px) 0 0}
.pov-hero .container{max-width:calc(var(--pov-measure) + 284px)}
.pov-back{font-size:15px;font-weight:500;color:var(--acc);margin-bottom:32px}
.pov-back:hover{color:var(--acc);text-decoration:underline}
.pov-meta{gap:14px;margin-bottom:18px}
.pov-tag{color:var(--acc);padding:0;border:0;border-radius:0;background:none}
.pov-pillar{font-size:14px;color:var(--grey);letter-spacing:0}
.pov-hero h1{font-size:clamp(34px,4.4vw,56px);font-weight:600;letter-spacing:-.035em;line-height:1.07;color:var(--ink);max-width:22ch;margin:0 0 24px;text-wrap:balance}
.pov-hero h1 .sub{display:inline;margin:0;font-size:1em;font-weight:600;letter-spacing:inherit;color:var(--grey)}
.pov-dek{font-size:clamp(19px,1.6vw,22px);line-height:1.45;color:var(--mute);max-width:34em;margin:0 0 40px}

.pov-position{margin:0 0 40px;padding:28px 32px;border:0;border-radius:24px;background:var(--tile);overflow:visible;max-width:var(--pov-measure)}
.pov-position::before{display:none}
.pov-position .pl{margin-bottom:10px}
.pov-position p{font-size:19px;line-height:1.55;color:var(--ink);max-width:none;margin:0 0 16px}
.pov-position .jump{font-size:16px;font-weight:500;color:var(--acc);padding:0;border:0;border-radius:0;background:none}
.pov-position .jump:hover{background:none;border:0;transform:none;text-decoration:underline}

.pov-author-row{padding:22px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);gap:16px 28px}
.pov-author img{width:48px;height:48px;border:0;box-shadow:none;filter:grayscale(1)}
.pov-author .name{font-size:16px;font-weight:600;color:var(--ink)}
.pov-author .role{font-size:14px;color:var(--mute)}
.pov-when{font-size:12px;color:#6e6e73}
.pov-when span+span::before{color:#c7c7cc}
.pov-share{font-size:14px;font-weight:500;color:var(--ink);padding:0 16px;height:36px;border:1px solid var(--line-2);border-radius:99px;background:#fff}
.pov-share:hover{border-color:var(--ink);background:#fff}

/* ---------- POV: reading column and contents rail ---------- */
.pov-wrap{max-width:calc(var(--pov-measure) + 284px + 64px);padding:64px 32px 96px}
.pov-toc-rail{left:calc(50% + var(--pov-measure) / 2 - 78px);top:64px}
.pov-toc{font-size:14px}
.pov-toc .toc-label{margin-bottom:14px}
.pov-toc ol{border-left:1px solid var(--line)}
.pov-toc a{color:var(--grey);padding:7px 0 7px 16px}
.pov-toc a:hover{color:var(--ink)}
.pov-toc a.active{color:var(--ink);border-left-color:var(--ink)}

.pov-article p{font-size:19px;line-height:1.6;color:var(--ink);margin:0 0 26px}
.pov-article p.lede{font-size:clamp(21px,1.8vw,23px);line-height:1.5;color:var(--ink);max-width:none;margin-top:0;text-wrap:pretty}
.pov-article h2{font-size:clamp(28px,2.8vw,36px);font-weight:600;letter-spacing:-.03em;line-height:1.12;color:var(--ink);max-width:none;margin:72px 0 20px}
.pov-article h2:first-of-type{margin-top:0}
.pov-article h3{font-size:21px;font-weight:600;letter-spacing:-.02em;color:var(--ink)}
.pov-article a{color:var(--acc);border-bottom:1px solid rgba(107,76,240,.28)}
.pov-article a:hover{color:var(--acc);border-color:var(--acc)}
.pov-article strong{color:var(--ink)}
.pov-article em{color:inherit}
.pov-article ul li,.pov-band ul li{font-size:19px;line-height:1.6;color:var(--ink)}
.pov-article ul li::before,.pov-band ul li::before{top:.68em;width:6px;height:6px;background:var(--ink);box-shadow:none}
.pov-band ul li strong{color:var(--ink)}
.pov-article hr{background:var(--line)}
.pov-block{margin:48px 0}

/* pull quote */
.pov-quote{padding:40px 40px 34px;border:0;border-radius:24px;background:var(--tile)}
.pov-quote::before{top:6px;left:34px;font-size:72px;font-weight:600;background:none;-webkit-text-fill-color:currentColor;color:#c7c7cc;opacity:1}
.pov-quote p{font-size:clamp(22px,2.2vw,27px);line-height:1.3;font-weight:600;letter-spacing:-.022em;color:var(--ink);padding-top:22px;margin:0 0 16px}
.pov-quote cite{font-size:15px;color:var(--mute)}

/* timeline */
.pov-timeline::before{height:1px;top:12px;background:var(--line-2)}
.pov-timeline .tl::before{width:12px;height:12px;top:6px;background:#fff;border:1.5px solid #aeaeb2}
.pov-timeline .tl.now::before{background:var(--acc);border-color:var(--acc);box-shadow:0 0 0 5px var(--acc-soft)}
.pov-timeline .era{margin-bottom:8px;text-transform:none;letter-spacing:0;font-size:14px}
.pov-timeline .metric{font-size:17px;font-weight:600;color:var(--ink)}
.pov-timeline .got{font-size:15px;color:var(--mute)}
.pov-timeline .tl.now .metric{background:none;-webkit-text-fill-color:currentColor;color:var(--acc)}

/* stat pair */
.pov-stats{border:1px solid var(--line);background:#fff}
.pov-stats .num{font-weight:600;color:var(--ink)}
.pov-stats .num.up{background:none;-webkit-text-fill-color:currentColor;color:var(--ok)}
.pov-stats .num.bad{background:none;-webkit-text-fill-color:currentColor;color:var(--stop)}
.pov-stats .sub{color:var(--mute)}
.pov-stats .cap{background:var(--tile);color:var(--mute)}
.pov-stats .cap a{color:var(--acc)}

/* checklist */
.pov-check{border:0;border-radius:24px;background:var(--tile);padding:32px 34px}
.pov-check .head{display:block;margin-bottom:20px}
.pov-check li{grid-template-columns:36px 1fr}
.pov-check li::before{font-family:Inter,system-ui,sans-serif;font-size:15px;font-weight:600;color:var(--grey);padding-top:2px}
.pov-check .q{font-size:19px;font-weight:600;letter-spacing:-.015em;color:var(--ink);margin-bottom:4px}
.pov-check .m{font-size:17px;line-height:1.5;color:var(--mute)}

/* note */
.pov-note{padding:24px 28px;border-left:0;border-radius:20px;background:var(--tile)}
.pov-note .nl{margin-bottom:8px}
.pov-note p{font-size:18px;line-height:1.5;color:var(--ink);margin:0}

/* sources */
.pov-sources{border-top:1px solid var(--line)}
.pov-sources summary::after{color:var(--acc);font-weight:500}
.pov-sources li{font-size:15px;color:var(--mute)}
.pov-sources li a{color:var(--acc)}

/* author card at the end */
.pov-end{max-width:calc(var(--pov-measure) + 284px + 64px)}
.pov-end .pov-card{max-width:var(--pov-measure)}
.pov-card{border:0;border-radius:28px;background:var(--tile);padding:32px}
.pov-card img{filter:grayscale(1)}
.pov-card .name{font-size:22px;font-weight:600;letter-spacing:-.02em;color:var(--ink)}
.pov-card .name a:hover{color:var(--acc)}
.pov-card .role{font-size:15px;font-weight:500;color:var(--mute)}
.pov-card p{font-size:16px;line-height:1.55;color:var(--mute)}
.pov-card .links a,.pov-profile .links a{font-size:14px;font-weight:500;color:var(--ink);height:36px;padding:0 16px;border:1px solid var(--line-2);border-radius:99px;background:#fff}
.pov-card .links a:hover,.pov-profile .links a:hover{border-color:var(--ink);background:#fff}
.pov-card .links a.li,.pov-profile .links a.li{border-color:var(--line-2);background:#fff}

/* POV index and author page */
.pov-list{max-width:calc(900px + 64px);gap:16px}
.pov-item{padding:36px 40px;border:0;border-radius:28px;background:var(--tile);transition:background .3s var(--ease)}
.pov-item:hover{transform:none;border:0;background:#ededf0}
.pov-item .meta{margin-bottom:14px}
.pov-item h2{font-size:clamp(24px,2.6vw,32px);font-weight:600;letter-spacing:-.03em;line-height:1.12;color:var(--ink);max-width:none;text-wrap:balance}
.pov-item h2 .sub,.pov-profile h2 .sub{font-weight:600;color:var(--grey)}
.pov-item p{font-size:17px;line-height:1.5;color:var(--mute);max-width:36em}
.pov-item .by img{border:0;filter:grayscale(1)}
.pov-item .by .n{font-size:15px;font-weight:600;color:var(--ink)}
.pov-item .by .d{letter-spacing:.04em}
.pov-profile{max-width:calc(820px + 64px);padding:16px 32px 0}
.pov-profile img{box-shadow:none;filter:grayscale(1)}
.pov-profile h1{font-size:clamp(34px,4.4vw,52px);font-weight:600;letter-spacing:-.035em;line-height:1.06;color:var(--ink);margin:0 0 10px}
.pov-profile .role{font-size:17px;font-weight:500;color:var(--mute)}
.pov-profile p{font-size:18px;line-height:1.55;color:var(--ink)}
.pov-section-label{max-width:calc(900px + 64px)}
.nick{font-weight:600;color:var(--grey)}

/* "try it" chips */
.pov-try{border:1px solid var(--line);border-radius:24px;background:#fff}
.pov-try .top{padding:28px 30px 18px;border-bottom:1px solid var(--line)}
.pov-try .kicker{color:var(--acc)}
.pov-try h3{font-size:22px;font-weight:600;letter-spacing:-.02em;color:var(--ink)}
.pov-try .hint{font-size:16px;color:var(--mute)}
.pov-try .chips{padding:22px 30px}
.pov-try .chip{font-size:15px;font-weight:500;color:var(--ink);padding:9px 16px;border:1px solid var(--line-2);background:#fff}
.pov-try .chip::before{background:#c7c7cc}
.pov-try .chip:hover{border-color:var(--ink)}
.pov-try .chip[aria-pressed="true"]{color:var(--acc);border-color:var(--acc);background:var(--acc-soft)}
.pov-try .chip[aria-pressed="true"]::before{background:var(--acc);box-shadow:none}
.pov-try .chip[data-kind="outcome"][aria-pressed="true"]{color:var(--ok);border-color:var(--ok);background:#e8f6ee}
.pov-try .chip[data-kind="outcome"][aria-pressed="true"]::before{background:var(--ok);box-shadow:none}
.pov-try .out{padding:0 30px 26px}
.pov-try .line{border:0;border-radius:16px;background:var(--tile)}
.pov-try .line.input .ic{background:var(--acc-soft);color:var(--acc)}
.pov-try .line.outcome .ic{background:#e8f6ee;color:var(--ok)}
.pov-try .line .t{font-size:15px;font-weight:600;color:var(--ink)}
.pov-try .line .b{font-size:16px;color:var(--mute)}
.pov-try .verdict{padding:18px 30px 24px;border-top:1px solid var(--line);font-size:16px;color:var(--mute);background:none}
.pov-try .verdict strong{color:var(--ink)}

/* charts: white card, hairline, quiet greys and one violet; the "bad" colour is the site's red */
.pov-chart{border:1px solid var(--line);border-radius:24px;background:#fff}
.pov-chart .ch-top{padding:26px 30px 6px}
.pov-chart .ch-title{font-size:19px;font-weight:600;letter-spacing:-.015em;color:var(--ink)}
.pov-chart .ch-sub{font-size:15px;color:var(--mute)}
.pov-chart .legend{padding:14px 30px 4px;font-size:14px;color:var(--mute);flex-wrap:wrap;gap:8px 20px}
.pov-chart .legend i{border-radius:50%;width:10px;height:10px}
.pov-chart .legend i[style*="3B82F6"]{background:var(--acc)!important}
.pov-chart .legend i[style*="EC4899"]{background:var(--stop)!important}
.pov-chart .plot{padding:10px 30px 20px}
.pov-chart .row-lbl{font-family:Inter,system-ui,sans-serif;font-size:13.5px;fill:var(--ink)}
.pov-chart .row-lbl.mono{font-family:Inter,system-ui,sans-serif;font-size:12px;font-weight:600;letter-spacing:.06em;fill:#6e6e73}
.pov-chart .val{font-family:Inter,system-ui,sans-serif;font-size:13px;font-weight:600;fill:var(--ink)}
.pov-chart .grid{stroke:#e8e8ed}
.pov-chart .base{stroke:#aeaeb2}
.pov-chart .bar[fill="#64748B"]{fill:#c7c7cc}
.pov-chart .bar[fill="#3B82F6"]{fill:var(--acc)}
.pov-chart .bar[fill="#EC4899"]{fill:var(--stop)}
.pov-chart .tip{background:#fff;border:1px solid var(--line);border-radius:12px;font-size:14px;color:var(--mute);box-shadow:0 12px 32px -8px rgba(29,29,31,.22)}
.pov-chart .tip b{color:var(--ink)}
.pov-chart .cap{padding:14px 30px 18px;background:var(--tile);border-top:0;font-size:13px;color:var(--mute)}
.pov-chart .cap a,.pov-chart summary{color:var(--acc)}
.pov-chart .cap a{border-bottom:0}
.pov-chart details{font-size:13px}
.pov-chart table{font-size:14px}
.pov-chart th{font-size:11px}
.pov-chart th,.pov-chart td{border-bottom:1px solid var(--line-2);color:var(--mute)}
.pov-chart td.n{font-family:Inter,system-ui,sans-serif;font-weight:600;color:var(--ink);font-variant-numeric:tabular-nums}

/* worked-example table */
.pov-table{border:1px solid var(--line);border-radius:24px;background:#fff}
.pov-table .tb-top{padding:24px 28px 16px}
.pov-table .tb-title{font-size:19px;font-weight:600;letter-spacing:-.015em;color:var(--ink)}
.pov-table .tb-sub{font-size:15px;color:var(--mute)}
.pov-table th,.pov-table td{font-size:16px;color:var(--ink);border-top:1px solid var(--line);padding:12px 16px}
.pov-table th:first-child,.pov-table td:first-child{padding-left:28px;color:var(--mute)}
.pov-table th:last-child,.pov-table td:last-child{padding-right:28px}
.pov-table thead th{font-size:11px}
.pov-table td{font-family:Inter,system-ui,sans-serif;font-variant-numeric:tabular-nums}
.pov-table tr.total td{font-weight:600;color:var(--ink);background:var(--tile)}
.pov-table tr.total td.good{color:var(--ok)}
.pov-table tr.total td.bad{color:var(--stop)}
.pov-table tr.total td small{font-size:12px;font-weight:500;opacity:1;color:var(--mute)}

/* the pivot band: a full-width soft grey section */
.pov-band{padding:clamp(80px,11vh,120px) 0 clamp(72px,10vh,104px);margin:24px 0 0;background:var(--tile);border-top:0}
.pov-band::before{display:none}
.pov-band .inner{max-width:calc(var(--pov-measure) + 284px + 64px)}
.pov-band .band-kicker{color:var(--acc);margin-bottom:16px}
.pov-band .band-kicker::before{display:none}
.pov-band h2{font-size:clamp(32px,3.6vw,48px);font-weight:600;letter-spacing:-.035em;line-height:1.08;color:var(--ink);max-width:none;margin:0 0 24px}
.pov-band p{font-size:19px;line-height:1.6;color:var(--ink);margin:0 0 26px}
.pov-band .inner>.pov-block{margin:32px 0 40px}
.pov-band .pov-check{background:#fff;backdrop-filter:none;-webkit-backdrop-filter:none}
.pov-wrap.after{padding-top:72px}

@media(max-width:1024px){
  .pov-wrap,.pov-band .inner,.pov-end{max-width:calc(var(--pov-measure) + 64px)}
}
@media(max-width:768px){
  .pov-wrap{padding:48px 20px 72px}
  .pov-wrap.after{padding-top:56px}
  .pov-end{padding:0 20px 72px}
  .pov-list{padding:8px 20px 72px}
  .pov-band .inner{padding:0 20px}
  .pov-profile{padding:8px 20px 0}
  .page-hero:has(> .container > .pov-back:only-child) .container{padding:0 20px}
  .pov-section-label{padding:0 20px}
}
@media(max-width:700px){
  .container{width:calc(100% - 40px)}
  .page-hero{padding:64px 0 36px}
  .page-hero h1{font-size:clamp(34px,10vw,44px)}
  .page-hero .lead{font-size:18px}
  .pov-hero{padding-top:48px}
  .pov-back{margin-bottom:24px}
  .pov-hero h1{font-size:clamp(30px,8.6vw,40px)}
  .pov-dek{font-size:18px;margin-bottom:32px}
  .pov-position{padding:22px 22px;border-radius:20px}
  .pov-position p{font-size:17px}
  .pov-article p{font-size:17.5px;line-height:1.6}
  .pov-article p.lede{font-size:19px}
  .pov-article ul li,.pov-band ul li{font-size:17.5px}
  .pov-article h2{font-size:26px;margin-top:56px}
  .pov-band p{font-size:17.5px}
  .pov-band h2{font-size:30px}
  .pov-quote{padding:30px 22px 24px;border-radius:20px}
  .pov-quote::before{left:20px;font-size:60px}
  .pov-quote p{font-size:21px}
  .pov-check{padding:24px 20px;border-radius:20px}
  .pov-check li{grid-template-columns:28px 1fr;gap:10px}
  .pov-check .q{font-size:17.5px}
  .pov-check .m{font-size:16px}
  .pov-note{padding:20px 20px;border-radius:18px}
  .pov-note p{font-size:17px}
  .pov-card{padding:24px;border-radius:24px}
  .pov-item{padding:26px 22px;border-radius:24px}
  .pov-item h2{font-size:23px}
  .pov-item p{font-size:16px}
  .pov-profile p{font-size:17px}
  .pov-try{border-radius:20px}
  .pov-try .top,.pov-try .chips,.pov-try .out,.pov-try .verdict{padding-left:18px;padding-right:18px}
  .pov-try .chip{font-size:14px}
  .pov-chart,.pov-table{border-radius:20px}
  .pov-chart .ch-top,.pov-chart .legend,.pov-chart .cap{padding-left:18px;padding-right:18px}
  .pov-chart .plot{padding:10px 12px 18px}
  .pov-table .tb-top{padding:20px 18px 14px}
  .pov-table th:first-child,.pov-table td:first-child{padding-left:18px}
  .pov-table th:last-child,.pov-table td:last-child{padding-right:18px}
  /* the worked example fits the phone width instead of scrolling sideways */
  .pov-table table{min-width:0}
  .pov-table th,.pov-table td{font-size:14px;padding:11px 8px;white-space:normal}
  .pov-table td{white-space:nowrap}
  .pov-table td:first-child{white-space:normal}
  .pov-table thead th{font-size:11px;letter-spacing:.03em}
  .pov-table tr.total td small{font-size:11px;white-space:normal}
  .prose p,.prose ul.bullets li{font-size:16.5px}
  .prose h2{margin-top:44px}
  .callout,.contact-block{padding:20px;border-radius:18px}
}

/* Charts on a phone. The drawings are 640 units wide, so on a phone screen they shrink to about half size.
   Their text is set larger, in drawing units, so it reads at about 12px. */
@media(max-width:760px){
  .pov-chart .row-lbl{font-size:18px}
  .pov-chart .row-lbl.mono{font-size:15px;letter-spacing:.03em}
  .pov-chart .val{font-size:18px}
}
@media(max-width:520px){
  .pov-chart .row-lbl{font-size:23px}
  .pov-chart .r .row-lbl:not([text-anchor]){transform:translateY(-2px)}
  .pov-chart .row-lbl.mono{font-size:20px;letter-spacing:.02em}
  .pov-chart .val{font-size:22px}
}
/* The chart whose names sit to the left of a zero line: on a phone the names move above their bars,
   and the empty space left of the zero line is cropped, so the bars and their text get the whole width. */
@media(max-width:600px){
  .pov-chart .plot:has(.row-lbl[text-anchor="end"]){padding-left:0;padding-right:0}
  .pov-chart svg:has(.row-lbl[text-anchor="end"]){width:calc(100% * 640 / 436);max-width:none;margin-left:calc(-100% * 204 / 436)}
  .pov-chart .r .row-lbl[text-anchor="end"]{text-anchor:start;transform:translate(14px,-15px);font-size:17px}
  .pov-chart svg:has(.row-lbl[text-anchor="end"]) .val{font-size:16px}
  .pov-chart svg:has(.row-lbl[text-anchor="end"]) .row-lbl.mono{font-size:14px}
}

/* the other legal pages: the list of documents, and the cookie table */
.reveal{opacity:1;transform:none}
.card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px;max-width:980px;margin:0 auto}
.doc-card{display:block;background:var(--tile);border:0;border-radius:24px;padding:28px;transition:background .3s}
.doc-card:hover{transform:none;background:#ededf0}
.doc-card .doc-ic{width:44px;height:44px;border-radius:12px;background:#fff;border:1px solid var(--line-2);display:flex;align-items:center;justify-content:center;margin-bottom:18px}
.doc-card .doc-ic svg{width:22px;height:22px;stroke:var(--acc);fill:none;stroke-width:1.7}
.doc-card h3{font-size:20px;font-weight:600;letter-spacing:-.02em;color:#1d1d1f;margin-bottom:8px}
.doc-card p{font-size:16px;color:#6e6e73;line-height:1.5}
.doc-card .arrow{margin-top:16px;display:inline-flex;align-items:center;gap:6px;font-size:15px;font-weight:500;color:var(--acc)}
.table-wrap{overflow-x:auto;margin:8px 0 22px;border:1px solid #e8e8ed;border-radius:16px}
table.cookie-table{width:100%;border-collapse:collapse;min-width:560px}
table.cookie-table th{text-align:left;font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:#86868b;padding:12px 16px;background:#f5f5f7;border-bottom:1px solid #e8e8ed}
table.cookie-table td{font-size:15px;color:#1d1d1f;padding:12px 16px;border-bottom:1px solid #e8e8ed}
table.cookie-table tr:last-child td{border-bottom:none}
table.cookie-table td:first-child{font-family:inherit;font-weight:600;color:#1d1d1f;font-size:15px}

/* ===== dark (theme.js sets it; light is the default) =====
   The old colour names get dark values, and every light colour hard-coded above gets its dark partner. */
html[data-theme=dark]{
  --bg:#000; --bg-2:#131315; --surface:#131315; --surface-2:#131315; --surface-hi:#1f1f23;
  --accent:#a594ff; --accent-2:#a594ff; --cyan:#a1a1a6; --violet:#a594ff; --magenta:#a594ff;
  --white:#f5f5f7; --body:#a1a1a6; --muted:#8e8e93;
  --line:#28282d; --line-2:#3a3a40;
  --acc-dim:rgba(165,148,255,.14); --acc-border:rgba(165,148,255,.35);
  --brand-grad:#a594ff;
  --pov-body:#e8e8ed; --pov-ink:#f5f5f7;
}
html[data-theme=dark] .nav.scrolled{border-color:#28282d}
html[data-theme=dark] .pov-tag,html[data-theme=dark] .pov-position .pl,html[data-theme=dark] .pov-when,html[data-theme=dark] .pov-toc .toc-label,html[data-theme=dark] .pov-timeline .era,html[data-theme=dark] .pov-stats .label,html[data-theme=dark] .pov-check .head,html[data-theme=dark] .pov-note .nl,
html[data-theme=dark] .pov-sources summary,html[data-theme=dark] .pov-item .by .d,html[data-theme=dark] .pov-section-label,html[data-theme=dark] .pov-try .kicker,html[data-theme=dark] .pov-band .band-kicker,html[data-theme=dark] .pov-chart th,html[data-theme=dark] .pov-table thead th{color:#8e8e93}
html[data-theme=dark] .prose p,html[data-theme=dark] .prose ul.bullets li{color:#e8e8ed}
html[data-theme=dark] .prose a,html[data-theme=dark] .pov-article a{border-bottom-color:rgba(165,148,255,.38)}
html[data-theme=dark] .pov-when span+span::before,html[data-theme=dark] .pov-quote::before{color:#48484e}
html[data-theme=dark] .pov-share,html[data-theme=dark] .pov-share:hover,
html[data-theme=dark] .pov-card .links a,html[data-theme=dark] .pov-profile .links a,html[data-theme=dark] .pov-card .links a:hover,html[data-theme=dark] .pov-profile .links a:hover,
html[data-theme=dark] .pov-card .links a.li,html[data-theme=dark] .pov-profile .links a.li,html[data-theme=dark] .pov-try .chip,html[data-theme=dark] .pov-chart .tip,html[data-theme=dark] .doc-card .doc-ic{background:#1c1c1f}
html[data-theme=dark] .pov-timeline .tl::before{background:#000;border-color:#5a5a62}
html[data-theme=dark] .pov-stats,html[data-theme=dark] .pov-try,html[data-theme=dark] .pov-chart,html[data-theme=dark] .pov-table,html[data-theme=dark] .pov-band .pov-check{background:#131315}
html[data-theme=dark] .pov-item:hover,html[data-theme=dark] .doc-card:hover{background:#1f1f23}
html[data-theme=dark] .pov-try .chip::before{background:#5a5a62}
html[data-theme=dark] .pov-try .chip[data-kind="outcome"][aria-pressed="true"],html[data-theme=dark] .pov-try .line.outcome .ic{background:rgba(48,194,124,.15)}
html[data-theme=dark] .pov-chart .row-lbl.mono{fill:#8e8e93}
html[data-theme=dark] .pov-chart .grid{stroke:#28282d}
html[data-theme=dark] .pov-chart .base{stroke:#5a5a62}
html[data-theme=dark] .pov-chart .bar[fill="#64748B"]{fill:#4a4a52}
html[data-theme=dark] .pov-chart .tip{box-shadow:0 12px 32px -8px #000}
html[data-theme=dark] .doc-card h3,html[data-theme=dark] table.cookie-table td,html[data-theme=dark] table.cookie-table td:first-child{color:#f5f5f7}
html[data-theme=dark] .doc-card p{color:#a1a1a6}
html[data-theme=dark] .table-wrap{border-color:#28282d}
html[data-theme=dark] table.cookie-table th{background:#131315;border-bottom-color:#28282d}
html[data-theme=dark] table.cookie-table td{border-bottom-color:#28282d}

/* On standard-sharpness screens (most office monitors at 100% scaling), very light greys wash out to white, so in light mode
   the hairlines and grey panels go one step stronger there. MacBook, Surface and phone screens keep the original look. */
@media (max-resolution:1.49dppx),(-webkit-max-device-pixel-ratio:1.49){
  html:not([data-theme=dark]){--line:#dadadf;--line-2:#c4c4ca;--bg-2:#f0f0f3;--surface:#f0f0f3;--surface-2:#f0f0f3}
}
