/* The site in the product's own system — the report and card pages' tokens:
   ink, court blue, the ball's optic yellow once; Schibsted Grotesk for words,
   IBM Plex Mono for keywords and numbers. Light and dark follow the phone. */
:root{
  --ink:#16181D; --paper:#FFFFFF; --ground:#F3F4F7; --court:#2B5CAD; --optic:#D9F24F;
  --dim:#5B6472; --ok:#1E7A46; --bad:#B3261E; --coin:#9A7300; --line:#E3E6EC;
  --f-body:'Schibsted Grotesk',system-ui,-apple-system,'Segoe UI',sans-serif;
  --f-num:'IBM Plex Mono',ui-monospace,SFMono-Regular,Menlo,monospace;
}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]){
  --ink:#ECEEF2; --paper:#15181E; --ground:#0E1014; --court:#7FA6E8;
  --dim:#9AA3B2; --ok:#5CC48A; --bad:#F08A80; --coin:#E8C14E; --line:#2A2F38; color-scheme:dark}}
:root[data-theme="dark"]{
  --ink:#ECEEF2; --paper:#15181E; --ground:#0E1014; --court:#7FA6E8;
  --dim:#9AA3B2; --ok:#5CC48A; --bad:#F08A80; --coin:#E8C14E; --line:#2A2F38; color-scheme:dark}

*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--ground);color:var(--ink);font-family:var(--f-body);
  font-size:15px;line-height:1.55}
.wrap{max-width:680px;margin:0 auto;padding:20px 16px 48px}
.page{background:var(--paper);border-radius:14px;padding:22px 20px 26px}
@media (max-width:480px){.wrap{padding:12px 12px 36px}.page{padding:18px 16px 22px;border-radius:12px}}

/* header: the brand line every report and card opens with, plus the site's four doors */
.head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 16px;
  margin:0 0 18px;padding:0 0 12px;border-bottom:1px solid var(--line)}
.brand{font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:var(--dim);
  font-weight:600;display:inline-flex;align-items:center;gap:8px;text-decoration:none}
.brand i{width:8px;height:8px;border-radius:50%;background:var(--optic);box-shadow:0 0 0 1px var(--line)}
.nav{display:flex;flex-wrap:wrap;gap:4px 14px;font-size:13px;font-weight:600}
.nav a{color:var(--dim);text-decoration:none;padding:2px 0;border-bottom:2px solid transparent}
.nav a:hover,.nav a.on{color:var(--ink);border-bottom-color:var(--court)}

/* the written page */
.content h1{font-size:26px;line-height:1.15;letter-spacing:-.02em;margin:0 0 .6rem;font-weight:800;
  text-wrap:balance}
.content h2{font-size:19px;line-height:1.25;letter-spacing:-.01em;font-weight:700;
  margin:1.7rem 0 .5rem;padding-top:1.1rem;border-top:1px solid var(--line);text-wrap:balance}
.content h1 + h2,.content hr + h2{border-top:0;padding-top:0;margin-top:1.1rem}
.content h3{font-size:16px;line-height:1.3;font-weight:700;margin:1.3rem 0 .35rem}
.content h4{font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;
  color:var(--dim);margin:1.1rem 0 .3rem}
.content p{margin:.6rem 0}
.content ul,.content ol{margin:.5rem 0;padding-left:1.25rem}
.content li{margin:.25rem 0}
.content li > ul,.content li > ol{margin:.2rem 0}
.content a{color:var(--court);text-decoration:underline;text-decoration-thickness:1px;
  text-underline-offset:2px}
.content strong{font-weight:700}
.content hr{border:0;border-top:1px solid var(--line);margin:1.5rem 0}
.content img{max-width:100%;height:auto;border-radius:10px}

/* sample texts (the flows and the guide quote them): a text, set like one */
.content blockquote{margin:.8rem 0;padding:10px 12px;border-left:3px solid var(--court);
  background:var(--ground);border-radius:0 10px 10px 0;font-size:14.5px}
.content blockquote p{margin:0}
.content blockquote p + p{margin-top:.5rem}
.content blockquote strong{color:var(--court)}

/* keywords and numbers in the mono the reports use for figures */
.content code{font-family:var(--f-num);font-size:13px;font-weight:600;background:var(--ground);
  padding:1px 6px;border-radius:6px;white-space:nowrap}
.content pre{font-family:var(--f-num);font-size:13px;line-height:1.5;background:var(--ground);
  padding:10px 12px;border-radius:10px;overflow-x:auto;margin:.8rem 0}
.content pre code{background:none;padding:0;white-space:pre;font-weight:500}

/* tables as the Weekly report sets them */
.content table{display:block;max-width:100%;overflow-x:auto;border-collapse:collapse;
  font-size:14px;font-variant-numeric:tabular-nums;margin:.8rem 0}
.content th{font-size:12px;color:var(--dim);font-weight:600;text-align:left;
  padding:6px 8px;border-bottom:1px solid var(--line);white-space:nowrap}
.content td{padding:7px 8px;border-bottom:1px solid var(--line);vertical-align:top}
.content td:not(:first-child),.content th:not(:first-child){white-space:nowrap}

.foot{margin-top:2rem;padding-top:.9rem;border-top:1px solid var(--line);color:var(--dim);font-size:12.5px}
.foot p{margin:.25rem 0}
.foot a{color:var(--dim)}
:focus-visible{outline:2px solid var(--court);outline-offset:2px}
@media (prefers-reduced-motion: reduce){*{scroll-behavior:auto!important}}
