/* Store Counts, the "Ledger" look (docs/design/ui.md). One stylesheet for every page the Worker renders. */
@font-face {
  font-family: "Inter";
  src: url(/static/fonts/inter.woff2) format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url(/static/fonts/space-grotesk.woff2) format("woff2");
  font-weight: 300 700;
  font-display: swap;
}
:root {
  --paper: #f6f5f1;
  --panel: #ffffff;
  --line: #e3e1da;
  --grid: #eceae3;
  --ink: #15171c;
  --body: #3d424a;
  --muted: #5b616b;
  --rule: #8a8f98;
  --blue: #1f5fd1;
  --blue-d: #163f8c;
  --blue-t: #e6eefb;
  --orange: #b4500e;
  --orange-d: #8a3b08;
  --orange-t: #fbebdf;
  --field: #fbfaf7;
  --head: "Space Grotesk", system-ui, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    16px/1.55 Inter,
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  font-variant-numeric: tabular-nums;
}
a {
  color: var(--blue);
}
a:hover {
  color: var(--blue-d);
}
h1,
h2,
h3 {
  font-family: var(--head);
  line-height: 1.15;
  letter-spacing: -0.01em;
}
h1 {
  font-size: 44px;
  margin: 0;
  letter-spacing: -0.02em;
}
h2 {
  font-size: 22px;
  margin: 0;
}
h3 {
  font-size: 16px;
  margin: 0;
}
p {
  margin: 0;
}
.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}
main.wrap {
  padding-top: 28px;
  padding-bottom: 64px;
}
main.narrow {
  max-width: 820px;
}
.vh {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
  z-index: 9;
}
.skip:focus {
  left: 8px;
}
:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}
/* Header */
.hd {
  background: var(--panel);
  border-bottom: 1px solid var(--line);
}
.hd .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.logo {
  font-family: var(--head);
  font-weight: 700;
  font-size: 20px;
  color: var(--ink);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
}
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
  font-size: 15px;
  font-weight: 500;
}
.nav a,
.signin {
  color: var(--ink);
  text-decoration: none;
  padding: 10px 0;
  font-size: 15px;
  font-weight: 500;
}
.nav a:hover,
.signin:hover {
  text-decoration: underline;
}
.nav a[aria-current="page"] {
  box-shadow: inset 0 -2px 0 var(--ink);
}
.hs {
  margin-left: auto;
  position: relative;
}
.hs input {
  width: 200px;
}
.sugg {
  position: absolute;
  top: 44px;
  left: 0;
  right: 0;
  min-width: 240px;
  background: var(--panel);
  border: 1px solid var(--rule);
  border-radius: 8px;
  margin: 0;
  padding: 4px;
  list-style: none;
  z-index: 5;
  box-shadow: 0 8px 24px rgba(21, 23, 28, 0.12);
}
.sugg li a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px;
  color: var(--ink);
  text-decoration: none;
  border-radius: 6px;
  font-size: 14px;
}
.sugg li a span {
  color: var(--muted);
}
.sugg li a:hover,
.sugg li a.on {
  background: var(--blue-t);
}
.menu {
  display: none;
  margin-left: auto;
}
.menu summary {
  list-style: none;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.menu summary::-webkit-details-marker {
  display: none;
}
.menu .panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 69px;
  background: var(--panel);
  border-bottom: 1px solid var(--line);
  padding: 8px 16px 16px;
  z-index: 6;
  box-shadow: 0 12px 24px rgba(21, 23, 28, 0.08);
}
.menu .panel a {
  display: block;
  padding: 12px 0;
  border-top: 1px solid var(--grid);
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
}
.menu .panel form {
  margin: 8px 0;
}
.menu .panel input {
  width: 100%;
}
/* Footer */
.ft {
  border-top: 1px solid var(--line);
  background: var(--panel);
  font-size: 14px;
  color: var(--muted);
}
.ft .wrap {
  padding-top: 24px;
  padding-bottom: 24px;
}
.ft nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}
.ft a {
  color: var(--muted);
}
.ft p {
  margin-top: 14px;
}
/* Forms and buttons */
input[type="search"],
input[type="text"],
input[type="email"],
input[type="url"],
select,
textarea {
  height: 44px;
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 0 12px;
  font: inherit;
  font-size: 15px;
  background: var(--field);
  color: var(--ink);
  max-width: 100%;
}
textarea {
  height: auto;
  padding: 10px 12px;
  width: 100%;
}
.btn,
.btn-o,
.btn-w {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 8px;
  font: inherit;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  border: 0;
}
.btn {
  background: var(--blue);
  color: #fff;
}
.btn:hover {
  background: var(--blue-d);
  color: #fff;
}
.btn-o {
  background: var(--panel);
  color: var(--ink);
  border: 1px solid var(--rule);
  font-weight: 500;
}
.btn-w {
  background: #fff;
  color: var(--ink);
}
.btn-dk {
  border: 1px solid #aeb4bd;
  color: #fff;
  background: transparent;
  font-weight: 500;
}
.btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.seg {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.seg a {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 14px;
  border: 1px solid var(--rule);
  border-radius: 6px;
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  background: var(--panel);
}
.seg a[aria-current="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
/* Panels and type */
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px;
  margin-top: 24px;
  min-width: 0;
}
.card.blue {
  border: 2px solid var(--blue);
}
.card.dark {
  background: var(--ink);
  color: #fff;
  border: 0;
}
.card.dark p {
  color: #d9dce1;
}
.row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.row > .card {
  margin-top: 24px;
}
.grow {
  flex: 999 1 560px;
}
.side {
  flex: 1 1 300px;
}
.bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 14px;
}
.xs {
  font-size: 13px;
}
.lede {
  font-size: 18px;
  color: var(--body);
  max-width: 760px;
  margin-top: 10px;
}
.crumb {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 18px;
}
.crumb a {
  color: var(--muted);
}
.kicker {
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.big {
  font-family: var(--head);
  font-size: 28px;
  font-weight: 600;
}
.up {
  color: var(--blue);
}
.down {
  color: var(--orange);
}
.zero {
  color: var(--muted);
}
.grey {
  color: var(--muted);
}
.prose p,
.prose ul,
.prose ol {
  margin: 12px 0 0;
  color: var(--body);
  max-width: 760px;
}
.prose h2 {
  margin-top: 36px;
}
.prose h3 {
  margin-top: 24px;
}
.prose li {
  margin: 4px 0;
}
.gap {
  margin-top: 24px;
}
.gap-s {
  margin-top: 12px;
}
/* Headline and tiles */
.hl {
  font-size: 22px;
  line-height: 1.4;
  max-width: 760px;
}
.hl strong {
  font-family: var(--head);
  font-size: 30px;
}
.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.tile {
  border-top: 3px solid var(--ink);
  padding-top: 12px;
}
.tile.t-up {
  border-color: var(--blue);
}
.tile.t-down {
  border-color: var(--orange);
}
.tile.t-grey {
  border-color: var(--rule);
}
.tile .lab {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.tile .val {
  font-family: var(--head);
  font-size: 28px;
  font-weight: 600;
  margin-top: 4px;
}
.tile .val.sm {
  font-size: 19px;
  line-height: 1.3;
  padding-top: 6px;
}
.tile .note {
  font-size: 14px;
  color: var(--muted);
}
.alert {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 20px;
  padding: 16px 18px;
  border-radius: 10px;
  background: var(--orange-t);
  border-left: 4px solid var(--orange-d);
  color: var(--ink);
}
.alert.info {
  background: #f0efea;
  border-color: var(--ink);
}
.alert svg {
  flex: none;
  margin-top: 2px;
}
/* Charts */
.chartbox {
  margin-top: 20px;
}
.chart {
  width: 100%;
  height: auto;
  display: block;
}
.chart-narrow {
  display: none;
}
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  color: var(--muted);
}
.legend li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
/* The swatches keep their size when a long label wraps on a phone. */
.legend svg {
  flex: none;
  width: 16px;
  height: 16px;
}
.legend .ln {
  flex: none;
  width: 20px;
  height: 3px;
  background: var(--ink);
  display: inline-block;
}
.spark {
  display: block;
}
.ukmap {
  width: 100%;
  max-width: 340px;
  height: auto;
  display: block;
  margin: 0 auto;
}
details.tbl summary {
  cursor: pointer;
  color: var(--blue);
  font-weight: 500;
  margin-top: 12px;
}
/* Tables */
.tw {
  overflow-x: auto;
  margin-top: 12px;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
caption {
  text-align: left;
  font-size: 14px;
  color: var(--muted);
  padding-bottom: 6px;
}
th {
  text-align: left;
  font-weight: 500;
  color: var(--muted);
  font-size: 13px;
  padding: 8px 8px 8px 0;
}
td,
tbody th {
  padding: 10px 8px 10px 0;
  border-top: 1px solid var(--grid);
  text-align: left;
  font-weight: 400;
  color: var(--ink);
  font-size: 15px;
  vertical-align: top;
}
.num {
  text-align: right;
  white-space: nowrap;
}
th.num {
  text-align: right;
}
th button,
th a.sort {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-decoration: none;
}
th a.sort:hover {
  text-decoration: underline;
}
.pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.p-add {
  background: var(--blue-t);
  color: var(--blue-d);
}
.p-rem {
  background: var(--orange-t);
  color: var(--orange-d);
}
.p-n {
  background: #f0efea;
  color: var(--body);
}
.flag {
  display: inline-block;
  margin-left: 8px;
  padding: 1px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: #f0efea;
  color: var(--body);
  white-space: nowrap;
}
.flag.warn {
  background: var(--orange-t);
  color: var(--orange-d);
}
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  background: var(--panel);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}
.tile-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.tile-links a {
  display: block;
  padding: 16px;
  border: 1px solid var(--rule);
  border-radius: 10px;
  color: var(--ink);
  text-decoration: none;
}
.tile-links a:hover {
  border-color: var(--ink);
}
.tile-links b {
  display: block;
  font-weight: 600;
}
.quote {
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 16px;
  padding: 12px;
  background: #23262d;
  border-radius: 8px;
  color: #fff;
}
.quote.light {
  background: #f0efea;
  color: var(--ink);
}
ol.rank {
  margin: 12px 0 0;
  padding-left: 22px;
}
ol.rank li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-top: 1px solid var(--grid);
}
.pager {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  font-size: 15px;
}
.pager ul {
  display: flex;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.pager a,
.pager span.cur {
  display: inline-flex;
  min-width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 0 10px;
  text-decoration: none;
  color: var(--ink);
}
.pager span.cur {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
/* Plans */
.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 28px;
  align-items: start;
}
.plan {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px;
}
.plan.main {
  border: 2px solid var(--blue);
}
.price {
  font-family: var(--head);
  font-size: 40px;
  font-weight: 600;
  margin-top: 8px;
  line-height: 1.15;
}
.price span {
  display: inline-block;
  line-height: 1.3;
  font-size: 16px;
  font-weight: 500;
  color: var(--muted);
  font-family: Inter, system-ui, sans-serif;
}
.plan ul {
  padding-left: 20px;
  margin: 14px 0 18px;
  color: var(--body);
  font-size: 15px;
}
.plan li {
  margin: 6px 0;
}
.picker {
  max-height: 260px;
  overflow: auto;
  border: 1px solid var(--grid);
  border-radius: 8px;
  margin-top: 8px;
  padding: 4px 8px;
}
.picker label {
  display: flex;
  gap: 10px;
  align-items: center;
  min-height: 40px;
  font-size: 15px;
}
.picker input {
  width: 18px;
  height: 18px;
}
.hint {
  margin-top: 10px;
  padding: 12px;
  border-radius: 8px;
  background: var(--blue-t);
  font-size: 14px;
}
/* Forms */
.form {
  display: grid;
  gap: 20px;
  max-width: 600px;
}
.form label,
.form legend {
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
}
.form fieldset {
  border: 0;
  padding: 0;
  margin: 0;
}
.form fieldset label {
  font-weight: 400;
  display: flex;
  gap: 10px;
  align-items: center;
  min-height: 40px;
}
.form .hint-t {
  display: block;
  color: var(--muted);
  font-size: 14px;
  margin: -2px 0 6px;
}
.form input[type="text"],
.form input[type="email"],
.form input[type="url"],
.form select {
  width: 100%;
}
.err-sum {
  border: 3px solid var(--orange-d);
  border-radius: 10px;
  padding: 16px 20px;
  background: var(--panel);
}
.err-sum h2 {
  font-size: 20px;
}
.err {
  color: var(--orange-d);
  font-weight: 600;
  margin: 0 0 6px;
}
.bad {
  border-left: 4px solid var(--orange-d);
  padding-left: 16px;
}
.bad input,
.bad select,
.bad textarea {
  border: 2px solid var(--orange-d);
}
.ok-box {
  border-left: 4px solid var(--blue);
  background: var(--panel);
  border-radius: 10px;
  padding: 24px;
  margin-top: 20px;
}
.layout2 {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 20px;
}
.layout2 > div {
  flex: 999 1 520px;
  min-width: 0;
}
.layout2 > aside {
  flex: 1 1 280px;
}
.toc {
  position: sticky;
  top: 16px;
}
.toc ul,
.toc ol {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
}
.toc li a {
  display: block;
  padding: 6px 0;
  color: var(--body);
  text-decoration: none;
  font-size: 15px;
}
.toc li a:hover {
  color: var(--blue);
}
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  border-bottom: 1px solid var(--line);
  margin: 8px 0 24px;
}
.tabs a {
  padding: 10px 0;
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
}
.tabs a[aria-current="page"] {
  box-shadow: inset 0 -3px 0 var(--ink);
}
.doc h2 {
  margin-top: 32px;
  font-size: 20px;
}
.doc h3 {
  margin-top: 20px;
}
.doc p,
.doc ul,
.doc ol {
  color: var(--body);
  margin: 10px 0 0;
}
.doc table {
  margin-top: 12px;
}
.doc td,
.doc th {
  border-top: 1px solid var(--grid);
  padding: 8px 8px 8px 0;
}
.table-wrap {
  overflow-x: auto;
}
pre {
  background: #f0efea;
  border-radius: 8px;
  padding: 12px;
  overflow-x: auto;
  font-size: 13px;
}
code {
  font-size: 0.92em;
}
.credit {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  margin-top: 14px;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  max-width: 560px;
  width: calc(100% - 32px);
}
dialog::backdrop {
  background: rgba(21, 23, 28, 0.45);
}
/* Phones */
@media (max-width: 767px) {
  .wrap {
    padding: 0 16px;
  }
  main.wrap {
    padding-top: 20px;
    padding-bottom: 48px;
  }
  h1 {
    font-size: 34px;
  }
  .hd .wrap {
    padding-top: 10px;
    padding-bottom: 10px;
    position: relative;
  }
  .hd .nav,
  .hd .hs,
  .hd .signin {
    display: none;
  }
  .menu {
    display: block;
  }
  .logo {
    font-size: 18px;
  }
  .card {
    padding: 20px;
    border-radius: 12px;
    margin-top: 16px;
  }
  .row {
    gap: 0;
  }
  .hl {
    font-size: 18px;
  }
  .hl strong {
    font-size: 26px;
  }
  .tiles {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .tile .val {
    font-size: 24px;
  }
  .chart-wide {
    display: none;
  }
  .chart-narrow {
    display: block;
  }
  .plans {
    grid-template-columns: 1fr;
  }
  .stack thead {
    display: none;
  }
  .stack tr {
    display: block;
    border-top: 1px solid var(--grid);
    padding: 10px 0;
  }
  .stack td,
  .stack tbody th {
    display: block;
    border: 0;
    padding: 2px 0;
  }
  .stack td.num {
    text-align: left;
  }
  .stack td[data-l]::before {
    content: attr(data-l) ": ";
    color: var(--muted);
    font-size: 13px;
  }
}
@media (max-width: 400px) {
  .tiles {
    grid-template-columns: 1fr;
  }
  h1 {
    font-size: 30px;
  }
}
@media print {
  .hd,
  .ft,
  .btns,
  .seg {
    display: none;
  }
}
/* Embedded chart (/embed/chain/<slug>) */
body.embed {
  background: #fff;
  margin: 0;
}
.emb {
  padding: 12px 14px;
}
.emb-t {
  font-family: var(--head);
  font-weight: 600;
  font-size: 16px;
}
.emb-f {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  margin-top: 8px;
}
.emb-f svg,
.emb-d svg {
  vertical-align: middle;
}
.emb-d {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 8px;
  font-size: 14px;
  padding: 8px 10px;
  border-radius: 8px;
  background: var(--orange-t);
}
.emb-msg {
  padding: 16px;
}
.search-row {
  flex-wrap: nowrap;
}
.search-row input {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 420px;
}
/* Phone overflow: grid and flex children may shrink below their content, so code blocks and tables scroll in
   their own box; long addresses and links wrap. */
.layout2 > *,
.row > *,
.bar > *,
.plans > *,
.grow,
main {
  min-width: 0;
}
p,
li,
dd,
td,
th,
.doc,
.quote,
.credit {
  overflow-wrap: break-word;
}
.doc a,
.quote,
.credit {
  overflow-wrap: anywhere;
}
/* The period buttons: with no period chosen, "All" is current on wide screens and "1 year" on phones. */
.seg a.cur-wide {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.phone-only {
  display: none;
}
details.more {
  margin-top: 10px;
}
details.more summary {
  cursor: pointer;
  color: var(--blue);
  font-weight: 500;
}
details.more[open] summary {
  margin-bottom: 4px;
}
.mk {
  cursor: help;
}
/* Home: the featured chain card */
a.card {
  color: inherit;
  text-decoration: none;
}
a.card:hover .feat-go {
  text-decoration: underline;
}
.spark-box {
  overflow: hidden;
  margin-top: 10px;
}
.spark-box svg {
  width: 100%;
  height: auto;
}
/* Buttons that cannot be used yet */
.btn:disabled,
.btn[aria-disabled="true"] {
  background: var(--grid);
  color: var(--muted);
  cursor: not-allowed;
}
/* Pricing: the plans sit at the top of the row at their own height, each button where its text ends */
.plans {
  align-items: start;
}
figure.preview {
  margin: 0;
}
figure.preview figcaption {
  margin-top: 8px;
}
/* Report form: larger radio buttons */
.form input[type="radio"] {
  width: 20px;
  height: 20px;
  accent-color: var(--blue);
}
@media (max-width: 767px) {
  .seg a.cur-wide {
    background: var(--panel);
    border-color: var(--rule);
    color: var(--ink);
  }
  .seg a.cur-phone {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
  }
  .phone-only {
    display: block;
    margin-top: 8px;
  }
}
figure.preview img {
  display: block;
  width: 100%;
  max-width: 280px;
  height: auto;
  margin: 0 auto;
}
.row.top {
  align-items: flex-start;
}
/* Links on a dark panel: light blue, 9:1 against #15171C */
.card.dark a:not([class]),
.quote a {
  color: #a9c4f5;
}
.card.dark a:not([class]):hover {
  color: #fff;
}
/* Two cards side by side at equal width, whatever either holds (one column on phones). */
.pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 24px;
}
@media (max-width: 767px) {
  .pair {
    grid-template-columns: minmax(0, 1fr);
  }
}
