/* One stylesheet for every landing page. No framework; system fonts;
   light/dark follows the OS. Edit the four colors and the measure, nothing else needs touching. */
:root {
  --bg: #ffffff;
  --fg: #1a1a1a;
  --muted: #555555;
  --rule: #dddddd;
  --link: #0b57d0;
  /* Learn infographics: the app's slate and clay, and a tinted callout. */
  --bar: #2d5470;
  --bar-highlight: #a64b25;
  --track: #ecefec;
  --callout-bg: #d3e3ef;
  --callout-fg: #0f2a3d;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #131313;
    --fg: #ededed;
    --muted: #a8a8a8;
    --rule: #333333;
    --link: #8ab4f8;
    --bar: #9dc1db;
    --bar-highlight: #e8956a;
    --track: #252c2a;
    --callout-bg: #1e3f57;
    --callout-fg: #d3e3ef;
  }
}
body {
  margin: 0;
  padding: 32px 16px 64px;
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}
main { max-width: 640px; margin: 0 auto; }
h1 { font-size: 28px; line-height: 1.2; margin: 0 0 4px; }
h2 { font-size: 20px; line-height: 1.3; margin: 32px 0 8px; }
p, ul { margin: 0 0 12px; }
ul { padding-left: 20px; }
a { color: var(--link); }
.meta { color: var(--muted); font-size: 15px; margin-bottom: 24px; }
.summary {
  margin: 12px 0 16px;
  padding: 12px 16px;
  border: 1px solid var(--rule);
  border-radius: 8px;
  color: var(--muted);
  font-size: 15px;
}
.summary p { margin: 0; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0; padding: 0; list-style: none; }
.stores a {
  display: inline-block;
  padding: 10px 16px;
  border: 1px solid var(--fg);
  border-radius: 8px;
  color: var(--fg);
  text-decoration: none;
  font-weight: 600;
}
/* The focus ring is global on purpose: every link and button gets it. */
:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }
/* Learn articles (scripts/learn-build.js): hero, table, bars, callout. */
.hero { margin: 0 0 16px; aspect-ratio: 2 / 1; border-radius: 8px; overflow: hidden; }
.hero img { display: block; width: 100%; height: 100%; object-fit: cover; }
h3 { font-size: 17px; line-height: 1.4; margin: 20px 0 4px; }
figure { margin: 20px 0; }
figcaption { margin-top: 8px; color: var(--muted); font-size: 15px; }
figure.table { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { padding: 8px 12px; border: 1px solid var(--rule); text-align: left; vertical-align: top; }
th { font-weight: 600; background: var(--track); }
.bars { display: flex; flex-direction: column; gap: 12px; }
.bar { display: grid; grid-template-columns: 1fr auto; column-gap: 12px; align-items: center; }
.bar-label { grid-column: 1 / -1; font-size: 15px; }
.bar.highlight .bar-label { font-weight: 600; }
.bar-track { display: block; height: 12px; border-radius: 6px; background: var(--track); overflow: hidden; }
.bar-fill { display: block; height: 100%; border-radius: 6px; background: var(--bar); }
.bar.highlight .bar-fill { background: var(--bar-highlight); }
.bar-value { font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.callout { margin: 20px 0; padding: 16px; border-radius: 8px; background: var(--callout-bg); color: var(--callout-fg); }
.callout p { margin: 0; }
.callout a { color: inherit; }
footer {
  max-width: 640px;
  margin: 48px auto 0;
  padding-top: 16px;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 15px;
}
footer a { color: var(--muted); }
