/*
 * The VeinzPay website: the homepage and the downloads page.
 *
 * Plain and editorial: white paper, one navy, one blue, rules instead of boxes, and figures that
 * explain rather than decorate. Everything is served by the platform itself — no fonts, scripts
 * or images from anywhere else — so the site works on a campus network with no internet.
 */

@font-face { font-family: 'Jakarta'; src: url('/fonts/jakarta-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Jakarta'; src: url('/fonts/jakarta-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Jakarta'; src: url('/fonts/jakarta-600.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Jakarta'; src: url('/fonts/jakarta-700.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --bg: #ffffff;
  --bg-soft: #f6f7f9;
  --ink: #0a1628;
  --text: #2b3546;
  --muted: #5d687a;
  --faint: #8a94a5;
  --line: #e4e8ee;
  --line-strong: #cfd6e0;
  --navy: #03045e;
  --accent: #0069a8;
  --accent-soft: #e8f2f9;
  --btn-bg: #03045e;
  --btn-ink: #ffffff;
  --good: #1b7f4b;
  --warn: #9a5b00;
  /* The figures */
  --fig-bg: #fbfcfd;
  --fig-ink: #1d2736;
  --fig-muted: #6b7686;
  --fig-grid: #e8ecf1;
  --skin: #ecd8c6;
  --skin-line: #b48c70;
  --nir-bg: #0e131b;
  --nir-hand-1: #d7dce2;
  --nir-hand-2: #8f98a4;
  --vein: #262e39;
  --hb: #b3261e;
  --hbo2: #e0822f;
  --water: #2a6fb0;
  --window: rgba(0, 105, 168, 0.08);
  --genuine: #0069a8;
  --impostor: #8a94a5;
  --radius: 10px;
  --wrap: 1120px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b0f16;
    --bg-soft: #10151e;
    --ink: #eef2f7;
    --text: #c9d1dd;
    --muted: #93a0b3;
    --faint: #6e7a8d;
    --line: #1f2733;
    --line-strong: #2c3644;
    --navy: #cfe3ff;
    --accent: #5cb8f0;
    --accent-soft: #11263a;
    --btn-bg: #e8eef7;
    --btn-ink: #07122a;
    --good: #5cc98f;
    --warn: #e0a54a;
    --fig-bg: #0f141c;
    --fig-ink: #dfe5ee;
    --fig-muted: #8c98aa;
    --fig-grid: #1e2632;
    --skin: #c9ae98;
    --skin-line: #8a6a54;
    --nir-bg: #06080c;
    --hb: #f0685f;
    --hbo2: #f2a55e;
    --water: #6aa8e6;
    --window: rgba(92, 184, 240, 0.09);
    --genuine: #5cb8f0;
    --impostor: #6e7a8d;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0b0f16;
  --bg-soft: #10151e;
  --ink: #eef2f7;
  --text: #c9d1dd;
  --muted: #93a0b3;
  --faint: #6e7a8d;
  --line: #1f2733;
  --line-strong: #2c3644;
  --navy: #cfe3ff;
  --accent: #5cb8f0;
  --accent-soft: #11263a;
  --btn-bg: #e8eef7;
  --btn-ink: #07122a;
  --good: #5cc98f;
  --warn: #e0a54a;
  --fig-bg: #0f141c;
  --fig-ink: #dfe5ee;
  --fig-muted: #8c98aa;
  --fig-grid: #1e2632;
  --skin: #c9ae98;
  --skin-line: #8a6a54;
  --nir-bg: #06080c;
  --hb: #f0685f;
  --hbo2: #f2a55e;
  --water: #6aa8e6;
  --window: rgba(92, 184, 240, 0.09);
  --genuine: #5cb8f0;
  --impostor: #6e7a8d;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.65 'Jakarta', system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
strong { color: var(--ink); font-weight: 600; }
h1, h2, h3, h4 { color: var(--ink); margin: 0; font-weight: 700; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.3rem, 4.4vw, 3.5rem); line-height: 1.08; letter-spacing: -0.028em; }
h2 { font-size: clamp(1.75rem, 3vw, 2.35rem); line-height: 1.15; letter-spacing: -0.022em; }
h3 { font-size: 1.12rem; line-height: 1.35; letter-spacing: -0.01em; }
p { margin: 0; }
code, .mono { font-family: ui-monospace, 'Cascadia Mono', Consolas, 'SF Mono', Menlo, monospace; font-size: 0.88em; }
sub { font-size: 0.7em; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.spaced { margin-top: 44px; }
.after { margin-top: 20px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
@media (max-width: 560px) { .wrap { padding: 0 16px; } }

/* ---------------------------------------------------------------- header */

.top {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; font-size: 18px; letter-spacing: -0.02em; }
.brand:hover { text-decoration: none; }
.brand img { width: 28px; height: 28px; border-radius: 7px; }
.nav { display: flex; gap: 24px; font-size: 15px; }
.nav a { color: var(--muted); font-weight: 500; white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); text-decoration: none; }
.top .spacer { flex: 1; }
.top .actions { display: flex; align-items: center; gap: 16px; }
.top .signin { font-size: 15px; font-weight: 500; color: var(--ink); white-space: nowrap; }
.menu-btn { display: none; background: none; border: 1px solid var(--line-strong); border-radius: 8px; width: 40px; height: 40px; color: var(--ink); cursor: pointer; padding: 0; }
.menu-btn svg { width: 20px; height: 20px; margin: auto; }

@media (max-width: 1080px) {
  .nav { display: none; }
  .menu-btn { display: block; }
  .top .signin { display: none; }
  .top.open .nav {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; left: 0; right: 0; top: 64px;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 16px 16px;
  }
  .top.open .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .top.open .nav a.only-small { display: block; }
}
.nav a.only-small { display: none; }

/* ---------------------------------------------------------------- buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 20px; border-radius: 8px;
  background: var(--btn-bg); color: var(--btn-ink); border: 1px solid var(--btn-bg);
  font: inherit; font-size: 15.5px; font-weight: 600; letter-spacing: -0.005em;
  cursor: pointer; white-space: nowrap;
}
.btn:hover { text-decoration: none; filter: brightness(1.12); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn.secondary { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn.secondary:hover { border-color: var(--ink); filter: none; }
.btn.sm { height: 38px; padding: 0 14px; font-size: 14.5px; }
.btn[aria-disabled="true"] { opacity: 0.45; pointer-events: none; }
.link-arrow { font-weight: 600; font-size: 15.5px; }
.link-arrow::after { content: ' →'; }

/* ---------------------------------------------------------------- sections */

section { padding: 96px 0; border-top: 1px solid var(--line); }
section.first { border-top: 0; }
section.soft { background: var(--bg-soft); }
@media (max-width: 720px) { section { padding: 64px 0; } }

.label {
  display: block; margin-bottom: 14px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent);
}
.lead { font-size: 1.16rem; line-height: 1.6; color: var(--text); }
.intro { max-width: 720px; }
.intro p { margin-top: 18px; }
.intro p.lead { margin-top: 20px; }
.muted { color: var(--muted); }
.small { font-size: 14.5px; }

.prose p + p { margin-top: 16px; }
.prose h3 { margin-top: 36px; margin-bottom: 10px; }

/* ---------------------------------------------------------------- hero */

.hero { padding: 72px 0 0; }
.hero .grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 64px; align-items: center; }
.hero h1 { max-width: 13ch; }
.hero .lead { margin-top: 24px; max-width: 34em; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero .note { margin-top: 20px; font-size: 14.5px; color: var(--muted); }
@media (max-width: 920px) {
  .hero .grid { grid-template-columns: 1fr; gap: 48px; }
  .hero .figure { max-width: 460px; }
}

.facts {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 80px; border-top: 1px solid var(--line);
}
.facts > div { padding: 28px 28px 32px 0; }
.facts > div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.facts .num { display: block; color: var(--ink); font-size: 2rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
.facts p { margin-top: 10px; font-size: 15px; color: var(--muted); line-height: 1.55; }
@media (max-width: 920px) {
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .facts { grid-template-columns: 1fr; }
  .facts > div, .facts > div + div { padding: 24px 0; border-left: 0; }
  .facts > div + div { border-top: 1px solid var(--line); }
}

/* ---------------------------------------------------------------- figures */

.figure { margin: 0; }
.figure .frame { border: 1px solid var(--line); border-radius: var(--radius); background: var(--fig-bg); overflow: hidden; }
.figure .frame.pad { padding: 20px; }
.figure svg { width: 100%; height: auto; }
.figure figcaption { margin-top: 14px; font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.figure figcaption b { color: var(--ink); font-weight: 600; }
.figure .legend { display: grid; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; font-size: 14.5px; color: var(--muted); }
.figure .legend li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; align-items: start; }
.figure .legend .key {
  display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; margin-top: 2px;
  border-radius: 50%; background: var(--ink); color: var(--bg); font-size: 11.5px; font-weight: 700;
}
.fig-text { font-family: 'Jakarta', system-ui, sans-serif; fill: var(--fig-ink); }
.fig-muted { fill: var(--fig-muted); }
.fig-mono { font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace; letter-spacing: 0.06em; }
.fig-grid { stroke: var(--fig-grid); fill: none; }
.fig-axis { stroke: var(--fig-muted); fill: none; }
.marker circle { fill: #ffffff; stroke: #0a1628; stroke-width: 1.5; }
.marker text { fill: #0a1628; font: 700 12px 'Jakarta', system-ui, sans-serif; }

/* The hero's palm, half in visible light and half in near-infrared */
.skin { fill: var(--skin); }
.skin-line { fill: none; stroke: var(--skin-line); stroke-linecap: round; }
.nir-bg { fill: var(--nir-bg); }
.vis-bg { fill: #eef1f4; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .vis-bg { fill: #1a212c; } }
:root[data-theme="dark"] .vis-bg { fill: #1a212c; }
.vein { fill: none; stroke: var(--vein); stroke-linecap: round; stroke-linejoin: round; }
.roi { fill: none; stroke: #4cc3ff; stroke-width: 1.5; stroke-dasharray: 5 4; }
.roi-corner { fill: none; stroke: #4cc3ff; stroke-width: 3; stroke-linecap: square; }
.split { stroke: #ffffff; stroke-opacity: 0.85; stroke-width: 1.5; }
.tag { font: 600 11px ui-monospace, 'Cascadia Mono', Consolas, monospace; letter-spacing: 0.1em; }

/* ---------------------------------------------------------------- layouts */

.cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; align-items: start; }
.cols.wide-left { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
.cols.center { align-items: center; }
/* Beside a figure, the text takes the narrower column: a figure's labels must stay readable. */
.cols.figure-right { grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr); gap: 56px; }
.cols.figure-left { grid-template-columns: minmax(0, 1.22fr) minmax(0, 0.78fr); gap: 56px; }
@media (max-width: 920px) { .cols, .cols.wide-left, .cols.figure-right, .cols.figure-left { grid-template-columns: minmax(0, 1fr); gap: 40px; } }

.swatches { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 14px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--muted); }
.swatches li { display: inline-flex; align-items: center; gap: 8px; }
.swatches i { width: 18px; height: 3px; border-radius: 2px; }
.sw-hb { background: var(--hb); }
.sw-hbo2 { background: var(--hbo2); }
.sw-water { background: var(--water); }

.block + .block { margin-top: 72px; }

/* Numbered steps down a rule, each with where it happens */
.steps { list-style: none; margin: 48px 0 0; padding: 0; counter-reset: step; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.steps li { counter-increment: step; padding: 28px 28px 8px 0; }
.steps li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font: 600 13px ui-monospace, Consolas, monospace; color: var(--faint); letter-spacing: 0.06em; margin-bottom: 14px; }
.steps h3 { margin-bottom: 8px; }
.steps p { font-size: 15.5px; color: var(--muted); }
@media (max-width: 820px) {
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li + li { padding: 24px 0; border-left: 0; }
  .steps li + li { border-top: 1px solid var(--line); }
}

/* A payment, step by step, with where each step runs */
.flow-head { margin-bottom: 24px; }
.flow-head p { margin-top: 6px; }
.flow { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.flow li { display: grid; grid-template-columns: 44px 120px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.flow .n { font: 600 13px ui-monospace, Consolas, monospace; color: var(--faint); }
.flow .where { font-size: 12.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.flow .where.platform { color: var(--accent); }
.flow p { font-size: 15.5px; }
.flow p strong { display: block; margin-bottom: 2px; }
@media (max-width: 560px) {
  .flow li { grid-template-columns: 32px minmax(0, 1fr); }
  .flow .where { grid-column: 2; }
  .flow p { grid-column: 2; }
}

/* Headed paragraphs in a grid: features, protections */
.points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 48px; margin-top: 48px; }
.points.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.points > div { padding-top: 18px; border-top: 2px solid var(--ink); }
.points h3 { margin-bottom: 8px; }
.points p { font-size: 15.5px; color: var(--muted); }
@media (max-width: 920px) { .points { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .points, .points.two { grid-template-columns: 1fr; gap: 28px; } }

/* Tables */
.table-wrap { overflow-x: auto; margin-top: 40px; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 640px; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); font-weight: 600; background: var(--bg-soft); }
tbody th { color: var(--ink); font-weight: 600; width: 22%; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
td .yes { color: var(--good); font-weight: 600; }
td .no { color: var(--muted); font-weight: 600; }

/* Screens */
.screens { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; margin-top: 48px; }
.screens figure { margin: 0; }
.screens img { width: 100%; border-radius: 18px; border: 1px solid var(--line-strong); background: var(--bg-soft); }
.screens figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); text-align: center; }
@media (max-width: 920px) {
  .screens { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 42%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; }
  .screens figure { scroll-snap-align: start; }
}
@media (max-width: 520px) { .screens { grid-auto-columns: 64%; } }

.shot { border: 1px solid var(--line-strong); border-radius: var(--radius); overflow: hidden; background: var(--bg-soft); }
.shot .bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-bottom: 1px solid var(--line); background: var(--bg); font-size: 12.5px; color: var(--muted); }
.shot .bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.shot .bar span { margin-left: 10px; }
.shot img { width: 100%; }

.list { list-style: none; margin: 28px 0 0; padding: 0; }
.list li { position: relative; padding: 12px 0 12px 22px; border-top: 1px solid var(--line); font-size: 15.5px; }
.list li:last-child { border-bottom: 1px solid var(--line); }
.list li::before { content: ''; position: absolute; left: 2px; top: 22px; width: 8px; height: 2px; background: var(--accent); }

/* Questions */
.faq { margin-top: 40px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; color: var(--ink); font-weight: 600; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 18px; font-size: 24px; font-weight: 400; color: var(--muted); }
.faq details[open] summary::after { content: '−'; }
.faq details p { padding: 0 40px 24px 0; color: var(--text); max-width: 760px; }
.faq details p + p { margin-top: -10px; }

/* Closing */
.closing { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.closing p { margin-top: 10px; color: var(--muted); }
.closing .cta { display: flex; flex-wrap: wrap; gap: 12px; }

.refs { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.refs ol { margin: 8px 0 0; padding-left: 20px; }
.refs li + li { margin-top: 4px; }

/* ---------------------------------------------------------------- footer */

footer { border-top: 1px solid var(--line); padding: 56px 0 40px; font-size: 14.5px; }
footer .wrap { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 32px; }
footer p { color: var(--muted); margin-top: 12px; max-width: 30em; }
footer h4 { font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 12px; }
footer ul { list-style: none; margin: 0; padding: 0; }
footer li + li { margin-top: 8px; }
footer li a { color: var(--text); }
footer .legal { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; margin-top: 16px; border-top: 1px solid var(--line); color: var(--faint); font-size: 13.5px; }
@media (max-width: 760px) { footer .wrap { grid-template-columns: 1fr 1fr; } footer .wrap > div:first-child { grid-column: 1 / -1; } }

/* ---------------------------------------------------------------- the downloads page */

.page-head { padding: 64px 0 48px; }
.page-head .cols { align-items: end; }
.page-head .lead { margin-top: 18px; max-width: 36em; }
.qr-panel { justify-self: end; display: flex; gap: 18px; align-items: center; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); max-width: 360px; }
.qr-panel .qr { width: 104px; height: 104px; flex: none; padding: 6px; background: #fff; border-radius: 6px; }
.qr-panel p { font-size: 14px; color: var(--muted); }
@media (max-width: 920px) { .qr-panel { justify-self: start; } }

.apps { border-top: 1px solid var(--line); }
.app { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; padding: 36px 0; border-bottom: 1px solid var(--line); }
.app .who { font-size: 12.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.app h2 { font-size: 1.5rem; margin-top: 6px; }
.app p { margin-top: 10px; color: var(--muted); max-width: 44em; font-size: 15.5px; }
.app .meta { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-top: 14px; font-size: 14px; color: var(--muted); }
.app .meta span + span::before { content: '·'; margin-right: 12px; color: var(--faint); }
.app .get { display: flex; align-items: center; gap: 18px; }
.app .qr { width: 92px; height: 92px; padding: 5px; background: #fff; border: 1px solid var(--line); border-radius: 6px; }
.app details { margin-top: 12px; font-size: 13.5px; color: var(--muted); }
.app details summary { cursor: pointer; color: var(--accent); font-weight: 500; }
.app details code { display: block; margin-top: 6px; word-break: break-all; color: var(--text); }
@media (max-width: 720px) {
  .app { grid-template-columns: 1fr; gap: 20px; }
  .app .qr { display: none; }
}

.help { padding: 64px 0 96px; }
.help ol { margin: 16px 0 0; padding-left: 20px; }
.help li + li { margin-top: 8px; }
.help .cols + .cols { margin-top: 56px; padding-top: 48px; border-top: 1px solid var(--line); }
.help code { font-size: 15px; color: var(--ink); background: var(--bg-soft); padding: 2px 6px; border-radius: 4px; }

/* A figure across the whole width would blow its labels up; this keeps them near body size. */
.figure.narrow { max-width: 860px; margin-left: auto; margin-right: auto; }

/* On a phone a chart keeps a readable size and scrolls sideways inside its frame. */
@media (max-width: 600px) {
  .figure .frame.pad { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .figure svg.chart { min-width: 540px; }
}

.app .get .btn { min-width: 236px; }
