:root {
  --paper: #f6f2ea;
  --paper-2: #efe9dd;
  --ink: #1f1d19;
  --ink-2: #57524a;
  --ink-3: #8a8378;
  --rule: #ddd5c6;
  --card: #fbf8f2;
  --accent: #2f4a3a;
  --accent-soft: #e2e8dc;
  --amber: #8a5a14;
  --amber-soft: #f3e6cc;
  --plum: #6b3d5c;
  --plum-soft: #efe0e8;
  --serif: 'Newsreader', 'Iowan Old Style', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #16150f;
    --paper-2: #1f1d16;
    --ink: #ebe5d8;
    --ink-2: #b4ac9d;
    --ink-3: #847d70;
    --rule: #34312a;
    --card: #1d1b15;
    --accent: #a9c4ae;
    --accent-soft: #24302a;
    --amber: #e0b56e;
    --amber-soft: #352a17;
    --plum: #d9a8c7;
    --plum-soft: #33232d;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.55;
  font-optical-sizing: auto;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration-color: var(--rule); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }

.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 12px; background: var(--paper); padding: 6px 10px; }

.masthead, main, .colophon { max-width: 660px; margin: 0 auto; padding: 0 20px; }
.masthead {
  display: flex; align-items: baseline; justify-content: space-between;
  padding-top: 28px; padding-bottom: 8px;
  font-family: var(--sans); font-size: 14px;
}
.wordmark { font-family: var(--serif); font-size: 26px; font-weight: 600; letter-spacing: -0.02em; text-decoration: none; }
.wordmark span { color: var(--accent); }
.masthead nav { display: flex; gap: 18px; }
.masthead nav a { color: var(--ink-2); text-decoration: none; }
.masthead nav a:hover { color: var(--ink); }

/* Edition header */
.dateline { font-family: var(--sans); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); margin: 44px 0 10px; }
.the-day { font-size: clamp(30px, 6vw, 40px); line-height: 1.18; font-weight: 500; letter-spacing: -0.015em; margin: 0 0 16px; text-wrap: balance; }
.meta { font-family: var(--sans); font-size: 14px; color: var(--ink-2); margin: 0 0 8px; }
.quiet { font-style: italic; color: var(--ink-2); }
.notice {
  font-family: var(--sans); font-size: 14px; line-height: 1.5;
  background: var(--paper-2); border-radius: 10px; padding: 12px 14px; color: var(--ink-2); margin: 16px 0;
}
.notice a { color: var(--ink); }

/* Stories */
.stories { margin-top: 36px; }
.story { padding: 30px 0 28px; border-top: 1px solid var(--rule); }
.story-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-family: var(--sans); font-size: 12px; margin-bottom: 10px; }
.num { font-weight: 600; color: var(--accent); min-width: 14px; }
.tag { color: var(--ink-3); letter-spacing: 0.04em; text-transform: uppercase; font-weight: 500; }
.tag + .tag::before { content: '·'; margin-right: 8px; color: var(--rule); }
.tag-developing { color: var(--amber); }
.tag-disputed { color: var(--plum); }
.story h2 { font-size: 25px; line-height: 1.25; font-weight: 600; letter-spacing: -0.01em; margin: 0 0 10px; text-wrap: balance; }
.changed { margin: 0 0 12px; }
.matters { margin: 0 0 14px; color: var(--ink-2); }
.matters span { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent); margin-right: 4px; }

details > summary { cursor: pointer; list-style: none; }
details > summary::-webkit-details-marker { display: none; }

.receipts summary, .lo-group summary {
  font-family: var(--sans); font-size: 13px; color: var(--ink-3);
  display: inline-flex; align-items: center; gap: 6px; min-height: 32px;
}
.receipts summary::before, .lo-group summary::before {
  content: ''; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(-45deg); transition: transform .15s ease; margin-right: 2px;
}
.receipts[open] summary::before, .lo-group[open] summary::before { transform: rotate(45deg); }
.receipts summary:hover { color: var(--ink); }
.receipts ul, .lo-group ul { list-style: none; margin: 6px 0 4px; padding: 0 0 0 14px; border-left: 2px solid var(--rule); }
.receipts li, .lo-group li { font-family: var(--sans); font-size: 14px; line-height: 1.45; margin: 0 0 8px; }
.outlet { display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-3); }

.heavy > summary {
  font-family: var(--sans); font-size: 14px; color: var(--ink-2);
  background: var(--paper-2); border-radius: 10px; padding: 12px 14px; display: block;
}
.heavy > summary span { color: var(--ink); font-weight: 500; }
.heavy[open] > summary { display: none; }

/* The end */
.done { text-align: center; padding: 56px 0 40px; border-top: 1px solid var(--rule); }
.done-mark { width: 44px; height: 44px; border-radius: 50%; background: var(--accent-soft); margin: 0 auto 18px; position: relative; }
.done-mark::after { content: ''; position: absolute; left: 16px; top: 11px; width: 9px; height: 17px; border-right: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(45deg); }
.done h2 { font-size: 32px; font-weight: 500; margin: 0 0 8px; letter-spacing: -0.01em; }
.done p { margin: 0; color: var(--ink-2); }
.done .next { font-family: var(--sans); font-size: 13px; color: var(--ink-3); margin-top: 14px; }

/* What we left out */
.left-out { border-top: 1px solid var(--rule); padding: 20px 0; }
.left-out > details > summary {
  font-family: var(--sans); font-size: 15px; font-weight: 500; color: var(--ink-2);
  padding: 10px 0; display: flex; justify-content: space-between; align-items: center;
}
.left-out > details > summary::after { content: '+'; font-size: 20px; color: var(--ink-3); }
.left-out > details[open] > summary::after { content: '−'; }
.lo-intro { font-size: 16px; color: var(--ink-2); margin: 4px 0 16px; }
.lo-group { border-top: 1px solid var(--rule); padding: 8px 0; }
.lo-group summary { width: 100%; justify-content: flex-start; font-size: 14px; color: var(--ink); }
.lo-reason { flex: 1; }
.lo-count { color: var(--ink-3); font-variant-numeric: tabular-nums; }
.lo-why { font-size: 15px; color: var(--ink-2); margin: 4px 0 8px 14px; font-style: italic; }

.provenance { font-family: var(--sans); font-size: 13px; color: var(--ink-3); border-top: 1px solid var(--rule); padding-top: 20px; margin: 8px 0 0; }
.provenance a { color: var(--ink-2); }
.pager { display: flex; justify-content: space-between; font-family: var(--sans); font-size: 14px; margin: 28px 0 8px; }
.pager a { color: var(--ink-2); text-decoration: none; }
.pager a:hover { color: var(--ink); }

/* Secondary pages */
.page-title { font-size: 38px; font-weight: 500; letter-spacing: -0.015em; margin: 44px 0 12px; }
.lede { font-size: 21px; color: var(--ink-2); margin: 0 0 32px; }
main h2 { font-size: 24px; font-weight: 600; margin: 40px 0 10px; }
.steps, .promises { padding-left: 22px; }
.steps li, .promises li { margin-bottom: 12px; }
.outlets { font-family: var(--sans); font-size: 14px; line-height: 1.8; color: var(--ink-2); }
.prompt summary { font-family: var(--sans); font-size: 14px; font-weight: 500; color: var(--accent); padding: 8px 0; }
.prompt pre { white-space: pre-wrap; font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 13px; line-height: 1.6; background: var(--paper-2); border-radius: 10px; padding: 16px; color: var(--ink-2); }

.archive { list-style: none; padding: 0; margin: 0; }
.archive li { border-top: 1px solid var(--rule); }
.archive a { display: grid; grid-template-columns: 110px 1fr; gap: 4px 16px; padding: 16px 0; text-decoration: none; }
.archive time { font-family: var(--sans); font-size: 13px; color: var(--ink-3); padding-top: 4px; }
.archive span { font-size: 18px; line-height: 1.4; }
.archive em { grid-column: 2; font-family: var(--sans); font-style: normal; font-size: 12px; color: var(--ink-3); }
.archive a:hover span { text-decoration: underline; text-decoration-color: var(--rule); }

.colophon { font-family: var(--sans); font-size: 13px; color: var(--ink-3); padding-top: 32px; padding-bottom: 48px; margin-top: 40px; border-top: 1px solid var(--rule); }
.colophon a { color: var(--ink-2); }

@media (max-width: 520px) {
  body { font-size: 18px; }
  .masthead nav { gap: 14px; }
  .story h2 { font-size: 22px; }
  .archive a { grid-template-columns: 1fr; }
  .archive em { grid-column: 1; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* Edition board: one page, five cards */
body.wide .masthead, body.wide main, body.wide .colophon { max-width: 1320px; }
body.wide .colophon p { max-width: 640px; }
.prose { max-width: 680px; }
.outro { margin: 0 auto; }

.board { margin-top: 18px; }
.arrows[hidden] { display: none; }

/* Pinned bar: today's edition, the five companies, and Done, always in reach. */
.today-bar {
  position: sticky; top: 0; z-index: 10; margin: 26px -20px 0; padding: 10px 20px;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.today-bar.stuck { border-bottom-color: var(--rule); }
.bar-date { font-family: var(--sans); font-size: 13px; color: var(--ink-3); white-space: nowrap; }
.bar-date b { color: var(--ink); font-weight: 600; margin-right: 4px; }
.jump { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; font-family: var(--sans); font-size: 14px; padding: 2px; min-width: 0; }
.jump::-webkit-scrollbar { display: none; }
.jump a { flex: none; text-decoration: none; padding: 6px 12px 6px 10px; border: 1px solid var(--rule); border-radius: 999px; display: inline-flex; gap: 7px; align-items: center; transition: background .15s, border-color .15s, color .15s; background: var(--paper); }
.jump a b { font-weight: 600; color: var(--ink-2); }
.jump a.q { color: var(--ink-3); }
.jump a:hover { border-color: var(--brand, var(--ink-3)); }
.jump a.active { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); background: color-mix(in srgb, var(--brand) 8%, var(--paper)); }
.bar-actions { display: flex; align-items: center; gap: 10px; }
.arrows { display: flex; gap: 6px; }
.arrow { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--rule); background: var(--paper); color: var(--ink); font-size: 15px; cursor: pointer; }
.arrow:hover:not(:disabled) { border-color: var(--ink-3); }
.arrow:disabled { opacity: .35; cursor: default; }
.today-link { font-family: var(--sans); font-size: 14px; font-weight: 500; text-decoration: none; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--rule); }

/* Done */
.done-btn {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  font-family: var(--sans); font-size: 14px; font-weight: 600; color: var(--accent);
  background: var(--paper); border: 1.5px solid var(--accent); border-radius: 999px; padding: 8px 16px 8px 12px;
  transition: background .2s, color .2s, transform .1s;
}
.done-btn:active { transform: scale(.97); }
.done-btn .check {
  width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid currentColor; position: relative; flex: none;
}
.done-btn .check::after {
  content: ''; position: absolute; left: 5.5px; top: 2.5px; width: 4px; height: 8px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg);
}
.done-btn[aria-pressed="true"] { background: var(--accent); color: var(--paper); }
.done-btn[aria-pressed="true"] .check { background: var(--paper); border-color: var(--paper); }
.done-btn[aria-pressed="true"] .check::after { border-color: var(--accent); }
.done-btn.big { font-size: 17px; padding: 13px 26px 13px 18px; margin-top: 18px; }
.done-btn.big .check { width: 22px; height: 22px; }
.done-btn.big .check::after { left: 7px; top: 3.5px; width: 5px; height: 10px; }
.done-btn.pop { animation: pop .35s ease; }
@keyframes pop { 50% { transform: scale(1.06); } }
body.is-done .card { opacity: .78; transition: opacity .3s; }
body.is-done .card:hover, body.is-done .card:focus-within { opacity: 1; }

/* Company themes, taken from each company's own colors */
[data-co="anthropic"] { --brand: #d97757; }
[data-co="google"]    { --brand: #4285f4; --strip: linear-gradient(90deg, #4285f4 0 25%, #ea4335 25% 50%, #fbbc04 50% 75%, #34a853 75%); }
[data-co="meta"]      { --brand: #0866ff; }
[data-co="openai"]    { --brand: #10a37f; }
[data-co="xai"]       { --brand: #111111; }
@media (prefers-color-scheme: dark) { [data-co="xai"] { --brand: #f2f2f2; } }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--strip, var(--brand)); flex: none; display: inline-block; }
[data-co="google"] .dot { background: conic-gradient(#4285f4 0 25%, #ea4335 0 50%, #fbbc04 0 75%, #34a853 0); }

.track {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(236px, 1fr); gap: 16px; align-items: start;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain;
  padding: 2px 2px 14px; scrollbar-width: thin; scrollbar-color: var(--rule) transparent;
}
.track:focus-visible { outline-offset: 6px; }
.card {
  scroll-snap-align: start; position: relative; overflow: hidden; min-width: 0;
  background: color-mix(in srgb, var(--brand) 5%, var(--card));
  border: 1px solid color-mix(in srgb, var(--brand) 22%, var(--rule)); border-radius: 18px;
  padding: 22px 18px 14px; box-shadow: 0 1px 2px rgba(0,0,0,.03);
}
.card::before { content: ''; position: absolute; inset: 0 0 auto; height: 5px; background: var(--strip, var(--brand)); }
.card.is-quiet { background: color-mix(in srgb, var(--brand) 2%, transparent); }
.card.is-quiet::before { opacity: .45; }
.company-head h2 { display: flex; align-items: center; gap: 9px; }
.company-head h2 .dot { width: 11px; height: 11px; }
.company-head { border-bottom-color: color-mix(in srgb, var(--brand) 25%, var(--rule)); }
.company-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding-bottom: 10px; border-bottom: 1px solid var(--rule); }
.company-head h2 { font-size: 24px; font-weight: 600; letter-spacing: -0.015em; margin: 0; }
.card.is-quiet .company-head h2 { color: var(--ink-2); font-weight: 500; }
.company-count { font-family: var(--sans); font-size: 12px; color: var(--ink-3); white-space: nowrap; }
.card .story { border-top: 1px solid var(--rule); padding: 16px 0 12px; }
.card .story:first-of-type { border-top: 0; }
.story-meta { flex-wrap: wrap; row-gap: 6px; }
.story h3 { font-size: 19px; line-height: 1.28; font-weight: 600; letter-spacing: -0.005em; margin: 0 0 8px; text-wrap: balance; }
.card .changed { font-size: 16px; line-height: 1.5; margin-bottom: 10px; }
.card .matters { font-size: 15px; line-height: 1.5; margin-bottom: 8px; }
.card .matters span { display: block; margin-bottom: 2px; }
.card .receipts summary { font-size: 12px; min-height: 28px; }
.card .receipts li { font-size: 13px; }
.card .quiet { margin: 14px 0 8px; font-style: italic; color: var(--ink-2); font-size: 16px; }
.coverage-note { font-family: var(--sans); font-size: 12px; line-height: 1.45; color: var(--ink-3); margin: 10px 0 0; }
.status { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: var(--paper-2); color: var(--ink-2); margin-right: 2px; }
.status-official { background: var(--accent-soft); color: var(--accent); }
.status-unconfirmed { background: var(--amber-soft); color: var(--amber); }
.status-disputed { background: var(--plum-soft); color: var(--plum); }
.promises .status { margin-right: 6px; }
.edition .done { margin-top: 36px; }

/* Below five-across: cards become a swipeable row, and the next card peeks in. */
@media (max-width: 1259px) {
  .track { grid-auto-columns: min(340px, 82%); }
}
@media (max-width: 900px) {
  .today-bar { grid-template-columns: 1fr auto; row-gap: 8px; }
  .today-bar .jump { grid-column: 1 / -1; grid-row: 2; margin: 0 -20px; padding: 2px 20px; }
  .today-bar .arrows { display: none; }
}
@media (max-width: 720px) {
  .track { margin: 0 -20px; padding: 2px 20px 14px; scroll-padding: 0 20px; grid-auto-columns: 86%; gap: 12px; }
  .card { padding: 16px 16px 12px; }
}
@media (prefers-reduced-motion: reduce) { .track { scroll-behavior: auto; } }

/* Wide editions: a shorter hero so the five cards start above the fold. */
body.wide .intro { max-width: 1000px; }
body.wide .the-day { font-size: clamp(28px, 2.6vw, 36px); line-height: 1.22; margin-bottom: 12px; }
body.wide .dateline { margin-top: 32px; }
.card .receipts summary { display: flex; align-items: flex-start; line-height: 1.45; padding: 4px 0; }
.card .receipts summary::before { margin-top: 5px; }

/* Digestible items: linked headline, short points, clear next steps */
.story h3 a { text-decoration: none; }
.story h3 a:hover { text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--brand, var(--ink)) 60%, transparent); text-decoration-thickness: 2px; }
.ago { font-family: var(--sans); font-size: 12px; color: var(--ink-3); margin-left: auto; white-space: nowrap; }
.story-meta { width: 100%; }
.points { margin: 0 0 10px; padding-left: 18px; }
.points li { font-size: 16px; line-height: 1.48; margin-bottom: 5px; }
.points li::marker { color: var(--brand, var(--ink-3)); }
.links { display: flex; flex-wrap: wrap; gap: 6px 14px; font-family: var(--sans); font-size: 13px; font-weight: 500; margin: 2px 0 4px; }
.links a { text-decoration: none; color: var(--ink); border-bottom: 1.5px solid color-mix(in srgb, var(--brand, var(--ink)) 55%, transparent); padding-bottom: 1px; }
.links a:hover { border-bottom-color: var(--brand, var(--ink)); }
.company-links { display: flex; flex-wrap: wrap; gap: 4px 12px; font-family: var(--sans); font-size: 12px; margin: 8px 0 0; }
.company-links a { color: var(--ink-3); text-decoration: none; }
.company-links a:hover { color: var(--ink); }

/* Date, day and week */
.dateline { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.dateline .wk, .bar-date .wk { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: 0.05em; color: var(--ink-2); background: var(--paper-2); border-radius: 999px; padding: 2px 8px; }
.bar-date { display: flex; align-items: center; gap: 6px; }
.bar-date .wk { font-size: 10px; padding: 1px 6px; }

/* Position pips under the cards, only when they scroll */
.pips { display: none; justify-content: center; gap: 7px; margin-top: 4px; }
.board.scrolls .pips { display: flex; }
.pips i { width: 7px; height: 7px; border-radius: 50%; background: var(--rule); transition: background .2s, transform .2s; }
.pips i.on { background: var(--brand); transform: scale(1.25); }

/* Today, rolled up after Done */
.rolled { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 18px; padding: 14px 16px; border: 1px solid var(--rule); border-radius: 14px; background: var(--card); font-family: var(--sans); font-size: 14px; }
.rolled[hidden] { display: none; }
.rolled p { margin: 0; display: flex; align-items: center; gap: 10px; color: var(--ink-2); }
.check-dot { width: 22px; height: 22px; border-radius: 50%; background: var(--accent); position: relative; flex: none; }
.check-dot::after { content: ''; position: absolute; left: 8px; top: 4.5px; width: 4px; height: 9px; border-right: 2px solid var(--paper); border-bottom: 2px solid var(--paper); transform: rotate(45deg); }
.unroll { font: inherit; font-weight: 600; color: var(--accent); background: none; border: 1.5px solid var(--accent); border-radius: 999px; padding: 8px 14px; cursor: pointer; min-height: 40px; }
.edition.is-rolled .board, .edition.is-rolled .today-bar .jump, .edition.is-rolled .today-bar .arrows { display: none; }

/* Earlier editions, rolled up by week */
.past { margin-top: 40px; }
.past > h2 { font-size: 26px; font-weight: 600; margin: 0 0 4px; }
.past-intro { color: var(--ink-2); margin: 0 0 18px; font-size: 17px; }
.week-group { margin-bottom: 22px; }
.week-group h3 { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); margin: 0 0 8px; display: flex; gap: 10px; align-items: baseline; }
.week-group h3 span { font-weight: 500; letter-spacing: 0.02em; text-transform: none; color: var(--ink-3); }
.day { border: 1px solid var(--rule); border-radius: 14px; background: var(--card); margin-bottom: 8px; }
.day > summary { display: grid; grid-template-columns: 92px 1fr auto; gap: 4px 14px; align-items: center; padding: 14px 16px; min-height: 56px; }
.day > summary::after { content: ''; width: 7px; height: 7px; border-right: 1.5px solid var(--ink-3); border-bottom: 1.5px solid var(--ink-3); transform: rotate(45deg); transition: transform .2s; grid-column: 3; grid-row: 1; justify-self: end; margin-top: -4px; }
.day[open] > summary::after { transform: rotate(-135deg); margin-top: 4px; }
.day-date { display: flex; flex-direction: column; font-family: var(--sans); font-size: 12px; color: var(--ink-3); line-height: 1.3; }
.day-date b { font-size: 14px; color: var(--ink); font-weight: 600; }
.day-text { font-size: 16px; line-height: 1.4; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.day[open] .day-text { -webkit-line-clamp: unset; }
.day-dots { display: flex; gap: 8px; font-family: var(--sans); font-size: 12px; font-weight: 600; color: var(--ink-2); grid-column: 2; }
.day-dots span { display: inline-flex; align-items: center; gap: 4px; }
.day-dots span.q { opacity: .4; }
.day-body { padding: 4px 16px 16px; border-top: 1px solid var(--rule); }
.day-co { padding: 12px 0 4px; }
.day-co h4 { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-size: 17px; font-weight: 600; }
.day-co ul { list-style: none; margin: 0; padding: 0 0 0 17px; border-left: 2px solid color-mix(in srgb, var(--brand) 45%, var(--rule)); }
.day-co li { margin: 0 0 12px; line-height: 1.4; }
.day-co li a { font-weight: 600; text-decoration: none; }
.day-co li a:hover { text-decoration: underline; text-decoration-color: var(--rule); }
.day-co .status { font-size: 9.5px; padding: 2px 6px; vertical-align: 2px; }
.day-point { display: block; font-size: 15px; color: var(--ink-2); margin-top: 3px; }
.day-quiet { font-family: var(--sans); font-size: 13px; color: var(--ink-3); margin: 6px 0 10px; }
.day-open { font-family: var(--sans); font-size: 14px; font-weight: 600; color: var(--accent); text-decoration: none; display: inline-block; padding: 8px 0 0; }
.past-more { font-family: var(--sans); font-size: 14px; }
.past-more a { color: var(--ink-2); }

/* Mobile pass: compact pinned bar, bigger tap targets, less chrome */
@media (max-width: 720px) {
  .masthead { padding-top: 18px; }
  .wordmark { font-size: 23px; }
  .masthead nav { font-size: 13px; gap: 12px; }
  body.wide .dateline { margin-top: 20px; }
  .dateline { font-size: 12px; }
  body.wide .the-day { font-size: 26px; line-height: 1.25; }
  .meta { font-size: 13px; }
  .today-bar { margin-top: 16px; padding: 8px 20px; row-gap: 6px; }
  .bar-date { font-size: 13px; }
  .done-btn.in-bar { padding: 6px 12px 6px 9px; font-size: 13px; min-height: 36px; }
  .jump a { padding: 7px 11px 7px 9px; font-size: 13px; min-height: 36px; }
  .board { margin-top: 12px; }
  .card { border-radius: 16px; }
  .company-head h2 { font-size: 22px; }
  .story h3 { font-size: 19px; }
  .points li { font-size: 16px; }
  .links { font-size: 14px; gap: 10px 16px; }
  .links a { padding: 6px 0 2px; }
  .card .receipts summary { min-height: 40px; font-size: 13px; }
  .company-links { font-size: 13px; gap: 6px 14px; }
  .company-links a { padding: 4px 0; }
  .day > summary { grid-template-columns: 1fr auto; padding: 14px; }
  .day-date { flex-direction: row; gap: 6px; align-items: baseline; grid-column: 1; }
  .day-text { grid-column: 1 / -1; }
  .day-dots { grid-column: 1 / -1; }
  .day > summary::after { grid-column: 2; }
  .day-body { padding: 4px 14px 14px; }
  .done-btn.big { width: 100%; justify-content: center; }
  .left-out > details > summary { min-height: 48px; }
  .lo-group summary { min-height: 44px; }
}

/* Smoothness: gentle motion that never gets in the way */
:root { interpolate-size: allow-keywords; }
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .22s; }
html { scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; }
body { -webkit-font-smoothing: antialiased; }

/* Folds open and close instead of snapping (browsers that support it; others just open). */
details::details-content { block-size: 0; overflow-y: clip; transition: block-size .28s cubic-bezier(.2,.7,.2,1), content-visibility .28s allow-discrete; }
details[open]::details-content { block-size: auto; }

/* Cards settle in one after another on first load. */
.card { animation: rise .55s cubic-bezier(.2,.7,.2,1) backwards; animation-delay: calc(var(--i, 0) * 70ms); transition: transform .2s ease, box-shadow .2s ease, opacity .3s; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }
@media (hover: hover) {
  .card:hover { transform: translateY(-2px); box-shadow: 0 10px 28px -14px color-mix(in srgb, var(--brand) 45%, transparent); }
  .day > summary:hover { background: color-mix(in srgb, var(--ink) 3%, transparent); }
}
.day > summary { border-radius: 14px; transition: background .15s; }
.day { transition: border-color .2s, box-shadow .2s; }
.day[open] { border-color: color-mix(in srgb, var(--ink) 18%, var(--rule)); box-shadow: 0 8px 24px -18px rgba(0,0,0,.25); }

/* Touch feedback */
.jump a, .arrow, .unroll, .done-btn, .day > summary, .links a { transition: transform .12s ease, background .15s, border-color .15s, color .15s; }
.jump a:active, .arrow:active, .unroll:active, .day > summary:active { transform: scale(.97); }

/* One card per swipe on phones, so it never lands halfway. */
@media (max-width: 720px) { .card { scroll-snap-stop: always; } }

.rolled { animation: fade-in .3s ease both; }
@keyframes fade-in { from { opacity: 0; transform: translateY(-4px); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after, ::view-transition-group(*) { animation: none !important; transition: none !important; }
}
