:root {
  color-scheme: dark;
  background: #07110f;
  color: #edf1df;
  font-family: Arial, Helvetica, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --night: #07110f;
  --night-soft: #0b1814;
  --ink: #edf1df;
  --muted: #849289;
  --dim: #4e5c55;
  --line: rgb(237 241 223 / 15%);
  --line-strong: rgb(237 241 223 / 28%);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
  scroll-behavior: smooth;
  background: var(--night);
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% 3%, rgb(59 102 88 / 18%), transparent 24rem),
    var(--night);
  color: var(--ink);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: .08;
  background-image: radial-gradient(rgb(237 241 223 / 30%) .45px, transparent .45px);
  background-size: 9px 9px;
  content: "";
  pointer-events: none;
}

a {
  color: inherit;
}

.article-header {
  display: grid;
  width: min(1180px, calc(100% - 40px));
  min-height: 74px;
  margin: 0 auto;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.article-header__name,
.article-header__back {
  text-decoration: none;
}

.article-header__name {
  justify-self: start;
}

.article-header__back {
  justify-self: end;
  color: var(--muted);
  transition: color 180ms ease;
}

.article-header__back:hover,
.article-header__back:focus-visible {
  color: var(--ink);
}

.article-header__signal {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 22px rgb(237 241 223 / 65%);
}

.article-header__signal::after {
  position: absolute;
  inset: -7px;
  border: 1px solid var(--line);
  border-radius: inherit;
  content: "";
}

.article-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(48px, 6vw, 76px) 0 120px;
}

.article-hero {
  padding-bottom: clamp(44px, 5vw, 64px);
  border-bottom: 1px solid var(--line-strong);
}

.article-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.article-kicker::before {
  width: 7px;
  height: 7px;
  border: 1px solid currentColor;
  border-radius: 50%;
  content: "";
}

.article-hero h1 {
  max-width: 14ch;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 400;
  letter-spacing: -.06em;
  line-height: .94;
  text-wrap: balance;
}

.article-deck {
  max-width: 54rem;
  margin: 28px 0 0;
  color: #c7cec1;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.35;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(110px, 170px) minmax(0, 72ch);
  gap: clamp(42px, 8vw, 118px);
  justify-content: center;
  padding-top: clamp(44px, 5.5vw, 68px);
}

.article-rail {
  align-self: start;
  position: sticky;
  top: 32px;
  color: var(--dim);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .13em;
  line-height: 1.7;
  text-transform: uppercase;
}

.article-rail::before {
  display: block;
  width: 100%;
  margin-bottom: 18px;
  border-top: 1px solid var(--line);
  content: "";
}

.article-body {
  max-width: 72ch;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(18px, 1.65vw, 21px);
  line-height: 1.74;
}

[hidden] {
  display: none !important;
}

.audience-toggle {
  display: flex;
  margin-bottom: 60px;
  padding: 20px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  background: rgb(237 241 223 / 3%);
}

.audience-toggle strong {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.audience-toggle p {
  max-width: 34rem;
  margin: 7px 0 0;
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  line-height: 1.5;
}

.audience-toggle__controls {
  display: flex;
  flex: 0 0 auto;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 3px;
}

.audience-toggle__button {
  min-height: 38px;
  border: 0;
  border-radius: 2px;
  padding: 0 13px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: 700 9px/1 Arial, Helvetica, sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: background 160ms ease, color 160ms ease;
}

.audience-toggle__button:hover,
.audience-toggle__button:focus-visible {
  color: var(--ink);
}

.audience-toggle__button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--night);
}

.article-body > :first-child {
  margin-top: 0;
}

.article-body p,
.article-body ul {
  margin: 0 0 1.55em;
}

.article-body h2 {
  max-width: 18ch;
  margin: 3.3em 0 .85em;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4.4vw, 55px);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: 1.02;
  text-wrap: balance;
}

.article-body h3 {
  margin: 2.7em 0 .75em;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .11em;
  line-height: 1.35;
  text-transform: uppercase;
}

.article-body strong {
  color: #f5f7eb;
}

.article-body ul {
  padding-left: 1.25em;
}

.article-body li {
  margin-bottom: .55em;
  padding-left: .3em;
}

.article-body code {
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: .13em .36em;
  background: rgb(237 241 223 / 5%);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: .82em;
}

.article-body pre {
  margin: 2.25em 0;
  padding: 22px 24px;
  overflow-x: auto;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  background: rgb(237 241 223 / 4%);
  color: #cbd3c7;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 14px;
  line-height: 1.7;
}

.article-body pre code {
  border: 0;
  padding: 0;
  background: none;
  font-size: inherit;
}

.article-body img {
  display: block;
  width: min(100%, 720px);
  height: auto;
  margin: 2.8em auto;
  border: 1px solid var(--line);
  border-radius: 3px;
}

.article-table-wrap {
  margin: 2.25em 0;
  overflow-x: auto;
  border: 1px solid var(--line-strong);
}

.article-body table {
  width: 100%;
  border-collapse: collapse;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  line-height: 1.45;
}

.article-body th,
.article-body td {
  min-width: 120px;
  padding: 13px 15px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.article-body th {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.article-body th:last-child,
.article-body td:last-child {
  border-right: 0;
}

.article-body tbody tr:last-child td {
  border-bottom: 0;
}

.article-body--agent {
  font-size: clamp(17px, 1.4vw, 19px);
}

.agent-source-link {
  display: flex;
  margin-bottom: 46px;
  padding-bottom: 16px;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.agent-source-link a {
  color: var(--ink);
  text-decoration: none;
}

.article-tldr {
  margin: 0 0 3.4em;
  padding: 26px 28px 28px;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  color: #dce1d4;
}

.article-tldr strong {
  display: block;
  margin-bottom: 10px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 9px;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.article-callout {
  margin: 2.3em 0;
  padding-left: 24px;
  border-left: 1px solid var(--line-strong);
  color: #cbd3c7;
  font-size: 1.18em;
  line-height: 1.5;
}

.article-rule {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 4em 0;
  color: var(--dim);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.article-rule::after {
  flex: 1;
  border-top: 1px solid var(--line);
  content: "";
}

.article-footer {
  display: flex;
  width: min(1180px, calc(100% - 40px));
  min-height: 150px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.article-footer a {
  text-decoration: none;
}

@media (max-width: 700px) {
  .article-header {
    grid-template-columns: 1fr auto;
  }

  .article-header__signal {
    display: none;
  }

  .article-shell {
    padding-top: 48px;
  }

  .article-hero h1 {
    font-size: clamp(42px, 13vw, 58px);
  }

  .article-layout {
    display: block;
  }

  .audience-toggle {
    align-items: stretch;
    flex-direction: column;
  }

  .audience-toggle__controls {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .audience-toggle__button {
    padding: 0 8px;
  }

  .article-rail {
    position: static;
    margin-bottom: 42px;
  }

  .article-rail::before {
    width: 72px;
  }

  .article-body h2 {
    margin-top: 2.7em;
  }

  .article-footer {
    min-height: 120px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: .001ms !important;
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
  }
}
