/* Calm white page. System font only. Weekly facts live in data/week.json. */

html {
  background: #fff;
  color-scheme: light;
}

body {
  margin: 0;
  background: #fff;
  color: #1d1d1f;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.47;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: #e8e8ed;
  color: #1d1d1f;
}

.shell {
  display: grid;
  grid-template-columns: 200px minmax(0, 860px);
  column-gap: 72px;
  justify-content: center;
  width: min(1140px, calc(100% - 48px));
  margin-inline: auto;
  padding-top: clamp(48px, 9vw, 88px);
  align-items: start;
}

.sidebar {
  position: sticky;
  top: 28px;
}

.side-group + .side-group {
  margin-top: 36px;
}

.side-list {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
}

.side-list li {
  margin: 0;
  padding: 8px 0;
}

.side-list a,
.month-toggle {
  display: block;
  color: #1d1d1f;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.side-list a.product,
.month-weeks a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.side-list a.is-live {
  font-weight: 600;
  box-shadow: inset 2px 0 0 #1d1d1f;
  padding-left: 10px;
}

.side-list a:hover,
.side-list a:focus-visible,
.month-toggle:hover,
.month-toggle:focus-visible {
  color: #6e6e73;
}

.side-list a:focus-visible,
.month-toggle:focus-visible {
  outline: 2px solid #1d1d1f;
  outline-offset: 3px;
}

.month-toggle {
  font-family: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-align: left;
}

.month-toggle::after {
  content: " +";
  color: #6e6e73;
  font-weight: 500;
}

.month-toggle[aria-expanded="true"]::after {
  content: " –";
}

.month-weeks {
  list-style: none;
  margin: 4px 0 0;
  padding: 0 0 0 12px;
  border-left: 1px solid #d2d2d7;
}

.month-weeks li {
  padding: 6px 0;
}

.wrap {
  width: auto;
  margin-inline: 0;
}

.mast {
  padding-top: 0;
}

.kicker {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.47;
  text-transform: uppercase;
  color: #6e6e73;
}

a.side-fundamentals {
  display: block;
  margin-top: calc(12px * 1.47 + 10px);
  color: #6e6e73;
  text-decoration: none;
}

a.side-fundamentals:hover,
a.side-fundamentals:focus-visible {
  color: #1d1d1f;
}

a.side-fundamentals:focus-visible {
  outline: 2px solid #1d1d1f;
  outline-offset: 3px;
}

h1 {
  margin: 10px 0 0;
  font-size: clamp(40px, 7vw, 56px);
  font-weight: 600;
  letter-spacing: -0.028em;
  line-height: 1.02;
}

.dateline {
  margin-top: 22px;
}

.dateline p {
  margin: 0;
  font-size: 19px;
  line-height: 1.35;
  letter-spacing: -0.015em;
}

.dateline p + p {
  margin-top: 4px;
  color: #6e6e73;
  font-size: 15px;
  letter-spacing: 0;
}

.status,
.noscript {
  color: #6e6e73;
  margin: 28px 0 48px;
}

p.noscript {
  width: min(860px, calc(100% - 48px));
  margin-inline: auto;
}

main section {
  margin-top: 88px;
  padding-top: 36px;
  border-top: 1px solid #d2d2d7;
}

main section:first-child {
  margin-top: 56px;
  padding-top: 0;
  border-top: 0;
}

h2 {
  margin: 0 0 20px;
  font-size: clamp(28px, 4vw, 34px);
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.1;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 20px;
}

.section-head h2 {
  margin: 0;
}

.regime {
  margin: 0;
  font-size: clamp(28px, 4vw, 34px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}

.thesis {
  margin: 0;
  max-width: 40em;
  font-size: 17px;
  line-height: 1.55;
}

.so-label {
  margin: 36px 0 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6e6e73;
}

.so-what {
  margin: 12px 0 0;
  padding: 2px 0 2px 18px;
  border-left: 2px solid #1d1d1f;
  max-width: 34em;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.018em;
}

.lead {
  margin: 0;
  max-width: 40em;
}

.note {
  margin: 22px 0 0;
  max-width: 42em;
  color: #6e6e73;
  font-size: 15px;
  line-height: 1.5;
}

.stack {
  margin-top: 22px;
}

.pair,
.window,
.level {
  padding: 26px 0 22px;
  border-top: 1px solid #e8e8ed;
}

.pair,
.window {
  display: grid;
  grid-template-columns: 1fr auto;
  column-gap: 24px;
  row-gap: 4px;
}

.pair h3,
.window h3,
.level h3,
.exhibit h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.state,
.impact {
  margin: 4px 0 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pair.is-off .state {
  color: #6e6e73;
}

.figs,
.when,
.detail,
.pairs,
.level p,
.read {
  margin: 0;
  max-width: 40em;
}

.figs,
.when {
  grid-column: 1 / -1;
  font-variant-numeric: tabular-nums;
}

.figs,
.detail,
.pairs {
  color: #6e6e73;
  font-size: 15px;
}

.read,
.detail,
.pairs,
.level p {
  grid-column: 1 / -1;
}

.read {
  margin-top: 6px;
}

.when + .when {
  margin-top: 2px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 24px;
  margin: 8px 0 0;
}

.stat .value {
  display: block;
  font-size: clamp(28px, 4vw, 34px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.stat .label {
  display: block;
  margin-top: 6px;
  max-width: 16em;
  color: #6e6e73;
  font-size: 14px;
  line-height: 1.35;
}

.readout {
  margin: 28px 0 0;
  max-width: 40em;
}

.facts {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.facts li {
  margin: 0;
  padding: 12px 0;
  border-top: 1px solid #e8e8ed;
  max-width: 40em;
}

.absent p {
  margin: 0 0 10px;
  max-width: 40em;
}

.exhibit {
  margin-top: 48px;
}

.exhibit:first-of-type {
  margin-top: 8px;
}

.caption {
  margin: 8px 0 18px;
  max-width: 42em;
  color: #6e6e73;
  font-size: 15px;
  line-height: 1.5;
}

.scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

th {
  padding: 0 16px 10px 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #6e6e73;
  text-align: left;
}

tbody th {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: #1d1d1f;
}

td {
  padding: 12px 16px 12px 0;
  border-top: 1px solid #e8e8ed;
  vertical-align: middle;
}

.num {
  text-align: right;
}

.real {
  min-width: 520px;
}

.track {
  position: relative;
  height: 8px;
  min-width: 140px;
}

.track .axis {
  position: absolute;
  top: -3px;
  bottom: -3px;
  left: 50%;
  width: 1px;
  background: #d2d2d7;
}

.track i {
  position: absolute;
  top: 0;
  height: 8px;
  background: #1d1d1f;
  border-radius: 4px;
}

.matrix {
  min-width: 560px;
  font-size: 13px;
}

.matrix th,
.matrix td {
  padding: 8px 8px 8px 0;
  text-align: right;
  font-size: 13px;
}

.matrix th {
  font-size: 11px;
  letter-spacing: 0.04em;
  color: #6e6e73;
  text-transform: uppercase;
}

.matrix tbody th,
.matrix th:first-child,
.matrix td:first-child {
  text-align: left;
}

.cot {
  min-width: 640px;
}

.sub {
  display: block;
  margin-top: 2px;
  color: #6e6e73;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.summary {
  margin: 0 0 22px;
  max-width: 42em;
}

footer {
  margin-top: 88px;
  padding: 28px 0 96px;
  border-top: 1px solid #d2d2d7;
}

.stamp,
.disclaimer {
  margin: 0;
  max-width: 42em;
  color: #6e6e73;
  font-size: 13px;
  line-height: 1.5;
}

.disclaimer {
  margin-top: 10px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1040px) {
  .shell {
    grid-template-columns: minmax(0, 860px);
    width: min(860px, calc(100% - 32px));
    row-gap: 36px;
    padding-top: 36px;
  }

  .sidebar {
    position: static;
  }

  a.side-fundamentals {
    margin-top: 0;
  }
}

@media (max-width: 640px) {
  .stats {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .so-what {
    font-size: 20px;
  }
}
