:root {
  --bg: #fcfcfa;
  --ink: #161615;
  --muted: #6f6e69;
  --faint: #a3a29c;
  --line: #e7e6e1;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #111110; --ink: #eceae4; --muted: #9b9a94; --faint: #6b6a65; --line: #272725; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 var(--sans);
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
main { max-width: 640px; margin: 0 auto; padding: 0 20px 96px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 2px; }

header { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 28px 0 18px; }
header .brand { font: 700 22px/1 var(--serif); letter-spacing: -0.01em; margin: 0; }
header .date { font-size: 13px; color: var(--muted); }

nav { position: sticky; top: 0; z-index: 5; background: var(--bg); display: flex; gap: 22px; border-bottom: 1px solid var(--line); }
nav a { font-size: 15px; line-height: 1; color: var(--muted); padding: 12px 0 11px; margin-bottom: -1px; border-bottom: 1px solid transparent; }
nav a:hover { color: var(--ink); text-decoration: none; }
nav a[aria-current] { color: var(--ink); font-weight: 600; border-bottom-color: var(--ink); }

.label { font-size: 13px; color: var(--muted); margin: 0 0 8px; }
.note { font-size: 14px; color: var(--muted); margin: 24px 0 0; }

.summary { margin-top: 36px; }
a.inline { font-weight: 700; text-decoration: none; }
a.inline:hover { text-decoration: underline; text-underline-offset: 3px; }
.lead { font: 19px/1.6 var(--serif); margin: 0; }

.usecase { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.usecase.past { margin-top: 0; padding: 24px 0; border-top: 0; border-bottom: 1px solid var(--line); }

h2.day { font: 400 13px/1.3 var(--sans); color: var(--muted); margin: 56px 0 0; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
article { padding: 24px 0; border-bottom: 1px solid var(--line); }
h3, h1.headline { font: 700 21px/1.3 var(--serif); letter-spacing: -0.005em; margin: 0 0 8px; text-wrap: balance; }
h1.headline { font-size: 30px; line-height: 1.2; margin: 0 0 16px; }
h1.page { font: 700 26px/1.25 var(--serif); margin: 36px 0 8px; }
article p, .usecase p { margin: 0 0 8px; }
.why { color: var(--muted); }
.deeper { list-style: none; margin: 12px 0 0; padding: 0; font-size: 14px; line-height: 1.45; color: var(--muted); }
.deeper li { margin-top: 4px; }
.deeper .src { color: var(--ink); font-weight: 600; margin-right: 6px; }

/* A single story on its own page */
.single { padding: 36px 0 28px; border-bottom: 1px solid var(--line); }
.single p { margin: 0 0 14px; }
.single .body { font: 19px/1.6 var(--serif); }
.single h2, .more h2 { font: 400 13px/1.3 var(--sans); color: var(--muted); margin: 28px 0 0; }
.more { padding: 8px 0 0; }
.more ul, .list { list-style: none; margin: 8px 0 0; padding: 0; }
.more li, .list li { padding: 7px 0; line-height: 1.4; }
.list li { border-bottom: 1px solid var(--line); padding: 12px 0; }
.list .meta { display: block; font-size: 13px; color: var(--muted); }

/* Read by search engines and screen readers, not shown on screen */
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* About page */
.prose { margin-top: 20px; }
.prose p { margin: 0 0 16px; }
.prose h2 { font: 700 19px/1.3 var(--serif); margin: 32px 0 10px; }

/* Daily audio recap */
.recap { margin-top: 24px; }
.recap .label a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.recap audio { display: block; width: 100%; height: 36px; margin-top: 4px; }
.transcript { margin-top: 28px; }
.transcript p { font: 18px/1.65 var(--serif); margin: 0 0 16px; }

/* Impact rating: a strip down the left of each story, hotter for bigger news */
:root { --impact-low: rgba(150, 150, 140, 0.35); --impact-moderate: rgba(230, 170, 40, 0.75); --impact-high: rgba(235, 110, 30, 0.95); --impact-extreme: rgb(215, 45, 40); }
article.impact { border-left: 4px solid var(--impact-color); padding-left: 16px; }
article.single.impact { padding-left: 18px; }
.impact-low { --impact-color: var(--impact-low); }
.impact-moderate { --impact-color: var(--impact-moderate); }
.impact-high { --impact-color: var(--impact-high); }
.impact-extreme { --impact-color: var(--impact-extreme); }
.impact-label { font-size: 12px; font-weight: 600; letter-spacing: 0.02em; color: var(--muted); margin: 0 0 6px; }
article.impact-high .impact-label { color: rgb(205, 95, 25); }
article.impact-extreme .impact-label { color: var(--impact-extreme); }
@media (prefers-color-scheme: dark) { article.impact-high .impact-label { color: rgb(240, 140, 70); } article.impact-extreme .impact-label { color: rgb(240, 90, 80); } }
@media (max-width: 480px) { article.impact { padding-left: 12px; } }

/* Tech stocks heat map (Economics) */
.markets { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.industry { margin-top: 14px; }
.ind-head { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 4px; }
.tile { display: flex; flex-direction: column; align-items: center; padding: 8px 4px; border-radius: 4px; font-size: 13px; line-height: 1.3; color: var(--ink); }
.tile:hover { text-decoration: none; outline: 1px solid var(--ink); }
.tile b { font-weight: 600; }
.tile span { font-variant-numeric: tabular-nums; }
.tile small { font-size: 10.5px; color: var(--muted); line-height: 1.2; }

.ad { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--faint); text-align: center; }
.ad a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }

details { margin-top: 56px; }
summary { cursor: pointer; font-size: 13px; color: var(--muted); padding-bottom: 12px; border-bottom: 1px solid var(--line); list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: " +"; }
details[open] summary::after { content: " \2212"; }
details h4 { font: 600 14px/1.3 var(--sans); margin: 24px 0 4px; }
details ul { list-style: none; margin: 0; padding: 0; }
details li { padding: 7px 0; font-size: 15px; line-height: 1.4; }

footer { margin-top: 56px; font-size: 13px; color: var(--faint); text-align: center; }
footer a { color: var(--muted); }
.empty { padding: 72px 0; color: var(--muted); text-align: center; }

@media (max-width: 480px) {
  body { font-size: 16.5px; }
  main { padding: 0 18px 96px; }
  nav { gap: 18px; }
  .lead, .single .body { font-size: 18px; }
  h3 { font-size: 20px; }
  h1.headline { font-size: 26px; }
}
