/* WeAllPeek - one stylesheet for the whole site.
   Neutrals and series colours follow the validated chart palette; up/down are a red/green pair
   checked for colour-blind separation (position or labels always carry the sign as well). */

@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url("../fonts/schibsted-grotesk-latin-wght-normal.ba4038fc5cb5.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url("../fonts/schibsted-grotesk-latin-ext-wght-normal.65233324c912.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* Peek Figures: the ten digits of Schibsted Grotesk in their tabular (equal-width) form and
   nothing else, so columns of numbers line up while punctuation keeps its normal width. */
@font-face { font-family: "Peek Figures"; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url("../fonts/peek-figures-wght.5bd808663a78.woff2") format("woff2"); unicode-range: U+0030-0039; }

:root {
  color-scheme: light;
  --num: "Peek Figures", "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --page: #f4f4f1; --surface: #ffffff; --surface-2: #f0efeb; --surface-3: #e7e6e0;
  --ink: #111110; --ink-2: #4f4e4a; --muted: #6f6d66;
  --rule: #e2e1da; --grid: #ecebe5; --axis: #c6c5bb; --ring: rgba(17,17,16,0.10);
  --band: #141413; --band-ink: #f4f3ef; --band-muted: #a3a199; --band-rule: #2b2b29;
  --accent: #2a78d6; --accent-soft: rgba(42,120,214,0.10);
  --s1: #2a78d6; --s2: #eb6834; --s3: #1baf7a; --s4: #eda100; --s7: #6250d6;
  --up: #15803d; --down: #dc2626; --mid: #ecebe6;
  --up-soft: rgba(21,128,61,0.10); --down-soft: rgba(220,38,38,0.09);
  --warn-bg: #fff4d6;
  --radius: 10px;
  font-family: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --page: #0f0f0e; --surface: #181817; --surface-2: #212120; --surface-3: #2a2a28;
    --ink: #f0efec; --ink-2: #c3c2b7; --muted: #8f8d85;
    --rule: #2a2a28; --grid: #242422; --axis: #3d3d3a; --ring: rgba(255,255,255,0.10);
    --band: #0a0a09; --band-ink: #f0efec; --band-muted: #95938b; --band-rule: #262624;
    --accent: #3987e5; --accent-soft: rgba(57,135,229,0.16);
    --s1: #3987e5; --s2: #d95926; --s3: #199e70; --s4: #c98500; --s7: #9085e9;
    --up: #1fae5a; --down: #cf3f38; --mid: #34342f;
    --up-soft: rgba(31,174,90,0.14); --down-soft: rgba(207,63,56,0.16);
    --warn-bg: #3a2f10;
  }
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--page); color: var(--ink); font-size: 15px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 2px; }
h1 { font-size: 30px; line-height: 1.15; letter-spacing: -0.022em; font-weight: 740; margin: 0; }
h2 { font-size: 17px; line-height: 1.3; letter-spacing: -0.01em; font-weight: 680; margin: 0; }
h3 { font-size: 15px; font-weight: 660; margin: 0; }
p { margin: 0 0 12px; }
.muted { color: var(--muted); }
.sub { color: var(--ink-2); margin: 6px 0 20px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.up, .pos, .zpos { color: var(--up); }
.down, .neg, .zneg { color: var(--down); }

/* ---------------------------------------------------------------- shell */
.band { background: var(--band); color: var(--band-ink); border-bottom: 1px solid var(--band-rule);
  position: sticky; top: 0; z-index: 20; }
.band-in { max-width: 1320px; margin: 0 auto; padding: 0 32px; height: 58px; display: flex; align-items: center; gap: 36px; }
.brand { color: var(--band-ink); font-weight: 780; font-size: 19px; letter-spacing: -0.03em; display: flex; align-items: center; gap: 9px; }
.brand:hover { text-decoration: none; }
.brand svg { flex: none; }
.band nav { display: flex; gap: 26px; height: 100%; flex: 1; }
.band nav a { color: var(--band-muted); font-size: 14.5px; font-weight: 560; display: flex; align-items: center;
  border-bottom: 2px solid transparent; padding-top: 2px; }
.band nav a:hover { color: var(--band-ink); text-decoration: none; }
.band nav a.on { color: var(--band-ink); border-bottom-color: var(--accent); }
.band .who { display: flex; align-items: center; gap: 18px; font-size: 13.5px; }
.band .who a, .band .who button.link { color: var(--band-muted); }
.band .who a:hover, .band .who button.link:hover { color: var(--band-ink); text-decoration: none; }
.band .btn.small { color: #fff; }
.fresh { display: flex; align-items: center; gap: 8px; color: var(--band-muted); font-size: 13px; white-space: nowrap; font-family: var(--num); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--band-muted); flex: none; }
.dot.live { background: #2fc06c; box-shadow: 0 0 0 0 rgba(47,192,108,0.55); animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 7px rgba(47,192,108,0); } 100% { box-shadow: 0 0 0 0 rgba(47,192,108,0); } }
@media (prefers-reduced-motion: reduce) { .dot.live { animation: none; } }
.inline { display: inline; margin: 0; }
button.link { background: none; border: 0; color: var(--accent); cursor: pointer; font: inherit; padding: 0; }

main { max-width: 1320px; width: 100%; margin: 0 auto; padding: 30px 32px 64px; }
main.narrow { max-width: 520px; }
footer { border-top: 1px solid var(--rule); color: var(--muted); font-size: 13px; margin-top: auto; }
footer .in { max-width: 1320px; margin: 0 auto; padding: 18px 32px 28px; display: flex; gap: 12px 24px; justify-content: space-between; flex-wrap: wrap; }
.foot-nav { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-nav a { color: var(--muted); }
.foot-nav a:hover { color: var(--ink); }

.messages { max-width: 1320px; margin: 16px auto 0; padding: 0 32px; }
.msg { padding: 10px 14px; border-radius: 8px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--ring); margin-bottom: 6px; font-size: 14px; }
.delay-banner { background: var(--warn-bg); text-align: center; padding: 8px; font-size: 14px; color: var(--ink); }

/* ---------------------------------------------------------------- buttons, controls */
.btn, button.btn, .auth-card button[type=submit] { display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--accent); color: #fff; border: 0; border-radius: 8px; padding: 10px 18px; font: inherit; font-weight: 620;
  cursor: pointer; text-decoration: none; }
.btn:hover { text-decoration: none; filter: brightness(1.06); }
.btn.small { padding: 7px 13px; font-size: 13.5px; }
.btn.lg { padding: 13px 22px; font-size: 16px; border-radius: 10px; }
.btn.ghost, .auth-card .btn.ghost[type=submit] { background: transparent; color: var(--accent); box-shadow: inset 0 0 0 1px var(--axis); }
.btn.danger, .auth-card .btn.danger[type=submit] { background: var(--down); color: #fff; }

.seg { display: inline-flex; padding: 3px; gap: 2px; background: var(--surface-2); border-radius: 9px; }
.seg button { background: transparent; border: 0; padding: 5px 11px; font: inherit; font-size: 13px; font-weight: 560;
  color: var(--ink-2); cursor: pointer; border-radius: 7px; white-space: nowrap; }
.seg button:hover { color: var(--ink); }
.seg button.on { background: var(--surface); color: var(--ink); box-shadow: 0 0 0 1px var(--ring); }
input.search, .toolbar input, .toolbar select, select.run { font: inherit; font-size: 13.5px; padding: 6px 10px; border-radius: 8px;
  border: 1px solid var(--axis); background: var(--surface); color: var(--ink); }
input.search { width: 190px; }

/* ---------------------------------------------------------------- page header & figures */
.head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: 20px; }
.head .crumb { font-size: 13.5px; color: var(--muted); margin-bottom: 6px; }
.head .crumb a { color: var(--muted); }
.asof { display: flex; align-items: center; gap: 12px; color: var(--ink-2); font-size: 14px; flex-wrap: wrap; font-family: var(--num); }
.asof b { color: var(--ink); font-weight: 640; }
.tag { font-size: 12px; font-weight: 640; padding: 3px 9px; border-radius: 99px; background: var(--surface-2); color: var(--ink-2); }
.tag.live { background: var(--accent-soft); color: var(--accent); }
.links { display: flex; gap: 14px; font-size: 13.5px; }

.figures { display: flex; flex-wrap: wrap; gap: 1px; background: var(--rule);
  border-radius: var(--radius); border: 1px solid var(--rule); margin-bottom: 22px; overflow: hidden; }
.fig { flex: 1 1 150px; padding: 14px 18px 15px; background: var(--surface); min-width: 0; }
.fig .k { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fig .v { font-size: 24px; font-weight: 680; letter-spacing: -0.02em; line-height: 1.25; margin-top: 3px; white-space: nowrap; font-family: var(--num); }
.fig .v small { font-size: 14px; font-weight: 560; color: var(--ink-2); letter-spacing: 0; margin-left: 4px; }
.fig .n { font-size: 12.5px; color: var(--muted); margin-top: 1px; font-family: var(--num); }

/* ---------------------------------------------------------------- panels */
.panel { background: var(--surface); border-radius: var(--radius); box-shadow: inset 0 0 0 1px var(--rule); margin-bottom: 22px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  padding: 14px 18px 0; }
.panel-head .note { font-size: 13px; color: var(--muted); }
.panel-body { padding: 8px 10px 10px; }
.panel-body.pad { padding: 14px 18px 18px; }
.chart { width: 100%; height: 340px; }
.chart:empty::before { content: "Loading chart"; display: flex; height: 100%; align-items: center; justify-content: center;
  color: var(--muted); font-size: 13px; background: var(--surface-2); border-radius: 8px; }
.chart.short { height: 220px; }
.chart.ext { height: 290px; }
.chart.tall { height: 440px; }
.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.cols-2 > .panel { margin-bottom: 0; }
.stack > * + * { margin-top: 22px; }
.legend { display: flex; gap: 18px; font-size: 13px; color: var(--ink-2); flex-wrap: wrap; }
.legend i { display: inline-block; width: 14px; height: 3px; border-radius: 2px; vertical-align: middle; margin-right: 7px; }
.empty { padding: 40px 18px; text-align: center; color: var(--muted); }

/* tabs (one per factor, or per book) */
.tabs { display: flex; gap: 0; border-bottom: 1px solid var(--rule); overflow-x: auto; scrollbar-width: none; padding: 0 8px; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; padding: 12px 14px 10px;
  font: inherit; cursor: pointer; color: var(--ink-2); text-align: left; white-space: nowrap; }
.tabs button .t { display: block; font-size: 13.5px; font-weight: 620; }
.tabs button .x { display: block; font-size: 12.5px; margin-top: 1px; font-family: var(--num); }
.tabs button:hover { color: var(--ink); }
.tabs button.on { color: var(--ink); border-bottom-color: var(--ink); }

/* factor page: today's bars beside the selected factor */
.split { display: grid; grid-template-columns: minmax(300px, 400px) 1fr; gap: 22px; margin-bottom: 22px; align-items: stretch; }
.split > .panel { margin-bottom: 0; min-width: 0; }
.split > .panel { display: flex; flex-direction: column; }
.panel-body.grow { flex: 1; display: flex; flex-direction: column; }
.chart.fill { flex: 1; height: auto; min-height: 340px; }
.panel-head .seg { margin-left: auto; }
.cap { font-size: 12.5px; color: var(--muted); padding: 10px 18px 0; }
.split.rev { grid-template-columns: 1fr minmax(280px, 360px); }
.cols-2.inner { padding: 4px 18px 16px; gap: 28px; }
.cols-2.inner h3 { font-size: 13.5px; font-weight: 620; color: var(--ink-2); margin: 6px 0 0; }
table.data.plain th { cursor: default; }
table.data.plain td, table.data.plain th { padding: 11px 12px; font-size: 14px; }
.strip { display: flex; flex-wrap: wrap; gap: 6px 26px; }
.strip .sf { display: flex; flex-direction: column; }
.strip .sf .k { font-size: 12px; color: var(--muted); }
.strip .sf .v { font-size: 17px; font-weight: 680; letter-spacing: -0.01em; font-family: var(--num); }


/* error pages */
.errorpage { text-align: left; }
.errorpage .code { font-size: 13px; font-weight: 640; color: var(--accent); margin: 0 0 6px; font-family: var(--num); }
.errorpage h1 { margin-bottom: 8px; }

/* small multiples */
/* item hairlines come from each panel's own shadow, so a part-filled last row leaves no grey cells */
.multiples { display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 1px;
  overflow: hidden; border-top: 1px solid var(--rule); }
.panel > .multiples { margin: 12px 1px 1px; border-radius: 0 0 calc(var(--radius) - 1px) calc(var(--radius) - 1px); }
.mult { background: var(--surface); box-shadow: 1px 1px 0 var(--rule); padding: 12px 14px 10px; color: var(--ink); display: block; }
.mgroup { margin: 0; padding: 16px 18px 0; font-size: 14px; font-weight: 640; }
.mgroup span { color: var(--muted); font-weight: 500; margin-left: 3px; }
.mgroup + .multiples { margin-top: 10px; }
.mult:hover { text-decoration: none; background: var(--surface-2); }
.mult .mh { display: flex; align-items: baseline; gap: 8px; font-size: 13px; }
.mult .mh b { font-size: 14.5px; font-weight: 720; letter-spacing: -0.01em; }
.mult .mh .zv { font-weight: 680; font-family: var(--num); }
.mult .mh .cs { color: var(--muted); }
.mult .mh .nw { margin-left: auto; font-size: 11.5px; font-weight: 640; padding: 1px 7px; border-radius: 99px; background: var(--surface-3); color: var(--ink-2); }
.mult svg { display: block; width: 100%; height: auto; margin-top: 6px; overflow: visible; }
.mult .mf { display: flex; justify-content: space-between; margin-top: 4px; font-size: 12px; color: var(--muted); font-family: var(--num); }
.mult .ax { font-size: 8.6px; fill: var(--muted); font-family: var(--num); }
.fig.hi .k, .fig.hi .v small { color: var(--up); }
.fig.lo .k, .fig.lo .v small { color: var(--down); }

/* ---------------------------------------------------------------- tables */
.tablewrap { overflow: auto; max-height: 680px; }
.tablewrap.full { max-height: none; }
table.data { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 13.5px; }
table.data th { text-align: right; color: var(--muted); font-weight: 600; font-size: 12.5px; padding: 10px 12px 9px;
  border-bottom: 1px solid var(--rule); cursor: pointer; white-space: nowrap; user-select: none; position: sticky; top: 0;
  background: var(--surface); z-index: 1; }
table.data th:hover { color: var(--ink); }
table.data th.l, table.data td.l, table.data th:first-child, table.data td:first-child { text-align: left; }
table.data td { text-align: right; padding: 8px 12px; border-bottom: 1px solid var(--grid); white-space: nowrap; font-family: var(--num); }
table.data tbody tr:last-child td { border-bottom: 0; }
table.data tbody tr:hover td { background: var(--surface-2); }
table.data td.sym a, table.data td.sym { font-weight: 680; color: var(--ink); }
table.data td.dim { color: var(--muted); }
table.data th.sorted { color: var(--ink); }
table.data th.sorted::after { content: " \2193"; } table.data th.sorted.asc::after { content: " \2191"; }
table.data td.zcell { font-weight: 640; }
.bar-cell { display: inline-block; height: 8px; border-radius: 2px; vertical-align: middle; margin-left: 8px; }
.toolbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }

.status-ok { color: var(--up); font-weight: 640; } .status-failed { color: var(--down); font-weight: 640; } .status-running { color: var(--s4); font-weight: 640; }
pre.msg-body { white-space: pre-wrap; font-size: 12px; color: var(--ink-2); max-height: 120px; overflow: auto; margin: 4px 0 0; font-family: inherit; }

/* ---------------------------------------------------------------- forms & account pages */
.auth-card, .form-card { background: var(--surface); border-radius: 14px; box-shadow: inset 0 0 0 1px var(--rule); padding: 30px 32px; margin: 28px auto 48px; }
.auth-card h1, .form-card h1 { font-size: 26px; margin-bottom: 12px; }
.auth-card input:not([type=checkbox]):not([type=radio]), .auth-card select, .form-card input:not([type=checkbox]):not([type=radio]), .form-card select {
  width: 100%; font: inherit; padding: 10px 12px; border-radius: 8px; border: 1px solid var(--axis);
  background: var(--surface); color: var(--ink); margin: 4px 0 10px; }
.auth-card label, .form-card label { font-size: 14px; font-weight: 560; }
.auth-card .helptext ul, .form-card .helptext ul { padding-left: 16px; color: var(--muted); font-size: 12px; margin: 0; }
.auth-card ul.errorlist, .form-card ul.errorlist { color: var(--down); font-size: 14px; margin-top: 0; }
.auth-card .helptext, .form-card .helptext { color: var(--muted); font-size: 12px; display: block; margin-top: -6px; margin-bottom: 8px; }
.auth-card .sub, .form-card .sub { color: var(--ink-2); margin: 0 0 20px; }
.auth-card .fine { color: var(--muted); font-size: 13px; margin: 14px 0 0; }
.field { margin-bottom: 14px; }
.field > label { display: block; margin-bottom: 5px; }
.field input:not([type=checkbox]):not([type=radio]), .field select { margin: 0; }
.field.check { display: flex; align-items: center; gap: 8px; }
.field.check label { font-weight: 500; margin: 0; }
.field .helptext { margin: 6px 0 0; }
.field .helptext ul { margin: 0; padding-left: 16px; }
.field .helptext a { font-size: 13px; }
.field ul.errorlist { margin: 6px 0 0; padding: 0; list-style: none; font-size: 13.5px; }
.field.has-error input, .field.has-error select { border-color: var(--down); }
.auth-card .social { margin-top: 18px; }
.auth-card .or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; margin: 18px 0 14px; }
.auth-card .or::before, .auth-card .or::after { content: ""; flex: 1; height: 1px; background: var(--rule); }
.auth-card .btn-google { display: block; width: 100%; text-align: center; padding: 10px 12px; border-radius: 8px;
  border: 1px solid var(--axis); background: var(--surface); color: var(--ink); font-weight: 620; text-decoration: none; }
.auth-card button.btn-google { font: inherit; font-weight: 620; cursor: pointer; margin-top: 0; }
.auth-card .btn-google:hover { background: var(--surface-2); }
.auth-card button[type=submit] { width: 100%; margin-top: 8px; }
.auth-card .btn.ghost[type=submit], .auth-card .btn.danger[type=submit] { width: auto; margin: 8px 8px 0 0; }
.auth-card h2 { font-size: 18px; margin: 26px 0 10px; }
.auth-card input[type=radio] { margin-right: 8px; accent-color: var(--accent); }
.auth-card form button:not([type=submit]) { margin-top: 6px; }
.acct-list { list-style: none; padding: 0; margin: 18px 0 0; border-top: 1px solid var(--rule); }
.acct-list li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: 14.5px; }
.acct-list li span { color: var(--muted); }

/* ---------------------------------------------------------------- landing page */
main.landing { padding-top: 0; }
.lp-hero { padding: clamp(48px, 8vw, 96px) 0 36px; }
.lp-hero h1 { font-size: clamp(38px, 6.2vw, 74px); line-height: 1.02; letter-spacing: -0.035em;
  font-weight: 780; max-width: 17ch; margin: 0 0 22px; text-wrap: balance; }
.lp-lede { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.5; color: var(--ink-2); max-width: 54ch; margin: 0 0 28px; }
.lp-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.lp-fresh { margin: 26px 0 0; font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 9px; }
.lp-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--axis); flex: none; }
.lp-dot.live { background: var(--up); }
.lp-chart { border-top: 2px solid var(--ink); padding-top: 16px; margin-top: 8px; }
.lp-chart-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.lp-chart-head h2 { font-size: 15px; font-weight: 660; margin: 0; }
.lp-chart-head p { margin: 0; font-size: 14px; color: var(--muted); }
.lp-plot { height: clamp(260px, 36vw, 420px); margin: 6px -8px 0; }
.lp-what { display: grid; grid-template-columns: repeat(3, 1fr); margin: 56px 0 8px; }
.lp-what > div { padding: 18px 28px 6px 0; border-top: 1px solid var(--rule); }
.lp-what > div + div { padding-left: 28px; border-left: 1px solid var(--rule); }
.lp-what h3 { font-size: 18px; font-weight: 680; letter-spacing: -0.01em; margin: 0 0 8px; }
.lp-what h3 a { color: var(--ink); }
.lp-what p { color: var(--ink-2); max-width: 36ch; margin: 0; }

/* ---------------------------------------------------------------- small screens */
@media (max-width: 900px) {
  .cols-2, .split, .split.rev { grid-template-columns: 1fr; }
  .band-in { gap: 18px; padding: 0 16px; }
  .band nav { gap: 16px; overflow-x: auto; scrollbar-width: none; }
  .band nav::-webkit-scrollbar { display: none; }
  .fresh span.when { display: none; }
}
@media (max-width: 760px) {
  main { padding: 20px 16px 48px; }
  .messages { padding: 0 16px; }
  footer .in { padding: 16px; }
  h1 { font-size: 25px; }
  .band-in { height: auto; min-height: 54px; flex-wrap: wrap; row-gap: 0; padding: 8px 16px 0; }
  .band nav { order: 3; flex-basis: 100%; height: 40px; }
  .band .who { margin-left: auto; gap: 12px; }
  .band .who .email { display: none; }
  .fig { padding: 11px 14px 12px; }
  .fig .v { font-size: 20px; }
  .panel-head { padding: 12px 14px 0; }
  .lp-what { grid-template-columns: 1fr; margin-top: 40px; }
  .lp-what > div, .lp-what > div + div { padding: 16px 0 14px; border-left: 0; }
  .auth-card, .form-card { padding: 24px 20px; }
  .multiples { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mult { padding: 10px 10px 8px; }
  .mult .mh .cs { display: none; }
  .mgroup { padding: 14px 14px 0; }
  .hide-sm { display: none; }
}

/* printing a page: no navigation or controls, panels kept whole */
@media print {
  .band nav, .band .who, .fresh, .seg, input.search, select.run, footer .foot-nav { display: none !important; }
  .band { position: static; }
  body { background: #fff; }
  .panel, .figures, .mult { break-inside: avoid; }
  .tablewrap { max-height: none; overflow: visible; }
}

/* Terms and Privacy */
.legal { max-width: 72ch; }
.legal h1 { margin-bottom: 4px; }
.legal .updated { color: var(--muted); font-size: 13.5px; margin: 0 0 22px; }
.legal h2 { font-size: 18px; margin: 30px 0 8px; }
.legal h3 { font-size: 15px; margin: 18px 0 6px; }
.legal p, .legal li { line-height: 1.6; }
.legal ul { padding-left: 20px; }
.legal li { margin: 6px 0; }
