@font-face {
  font-family: "Geist";
  src: url("/fonts/geist-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Geist Mono";
  src: url("/fonts/geist-mono-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #0e0e10;
  --ink-2: #3c3c42;
  --muted: #6b6b73;
  --line: #e4e4e7;
  --panel: #f4f4f5;
  --coral: #ff6b4a;
  --focus: #6a4fd8;
  --sans: "Geist", ui-sans-serif, system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --gutter: clamp(16px, 3vw, 40px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font: 400 18px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  caret-color: var(--coral);
}

::selection {
  background: #ffd9cc;
}

a {
  color: inherit;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 560;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px var(--gutter);
  border-bottom: 1px solid var(--line);
}

.top nav {
  display: flex;
  gap: 4px;
}

.top nav a {
  padding: 8px 12px;
  border-radius: 999px;
  font: 500 12px/1 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
}

.top nav a:hover {
  background: var(--panel);
}

.article {
  max-width: 760px;
  margin: 0 auto;
  padding: 28px var(--gutter) 64px;
}

.status-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  padding: 12px 16px;
  border-radius: 14px;
  background: linear-gradient(100deg, #ffd3c4, #ffe3b8 40%, #dbe7fb 75%, #e5dcfb);
  text-decoration: none;
  font-size: 15px;
}

.status-strip__dot {
  width: 9px;
  height: 9px;
  border-radius: 3px;
  background: var(--coral);
}

.status-strip__go {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.article__head {
  padding: 44px 0 8px;
}

.crumbs {
  font: 500 12px/1 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}

.crumbs a {
  text-decoration: none;
}

.crumbs a:hover {
  text-decoration: underline;
}

h1 {
  margin: 0;
  font-size: clamp(38px, 6vw, 64px);
  font-weight: 560;
  letter-spacing: -0.035em;
  line-height: 1;
  text-wrap: balance;
}

.article__meta {
  margin: 16px 0 0;
  font: 500 13px/1.4 var(--mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.prose {
  margin-top: 28px;
}

.prose > p:first-child {
  font-size: 21px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.prose p,
.prose li {
  color: var(--ink-2);
  max-width: 68ch;
}

.prose h2 {
  margin: 2.2em 0 0.5em;
  font-size: clamp(26px, 3.2vw, 34px);
  font-weight: 560;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--ink);
  text-wrap: balance;
}

.prose h3 {
  margin: 1.8em 0 0.4em;
  font-size: 21px;
  font-weight: 560;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.prose strong {
  color: var(--ink);
  font-weight: 560;
}

.prose a {
  color: var(--ink);
}

.prose ul,
.prose ol {
  padding-left: 1.3em;
}

.prose li + li {
  margin-top: 0.35em;
}

.prose code {
  font: 500 0.88em/1 var(--mono);
  padding: 0.15em 0.35em;
  border-radius: 5px;
  background: var(--panel);
}

.prose pre {
  overflow-x: auto;
  padding: 18px 20px;
  border-radius: 14px;
  background: var(--ink);
  color: #f2f2f4;
  font: 400 14px/1.6 var(--mono);
}

.prose pre code {
  padding: 0;
  background: none;
  font: inherit;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.4em 0;
  font-size: 15px;
  display: block;
  overflow-x: auto;
}

.prose th,
.prose td {
  text-align: left;
  vertical-align: top;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}

.prose th {
  font: 500 12px/1.3 var(--mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom-color: var(--ink);
}

.prose td {
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}

.prose blockquote {
  margin: 1.4em 0;
  padding: 4px 0 4px 18px;
  border-left: 1px solid var(--ink);
  color: var(--ink);
}

.sponsor-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 48px 0 8px;
  padding: 18px 20px;
  border-radius: 18px;
  background: var(--panel);
  text-decoration: none;
}

.sponsor-box:hover {
  background: #ececee;
}

.sponsor-tag {
  padding: 5px 9px;
  border-radius: 6px;
  background: var(--ink);
  color: #fff;
  font: 500 11px/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sponsor-box__name {
  flex: 1;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #6f6f78;
}

.sponsor-box__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
}

.faq,
.sources {
  margin-top: 48px;
}

.faq h2,
.sources h2,
.related h2 {
  margin: 0 0 12px;
  font-size: 28px;
  font-weight: 560;
  letter-spacing: -0.025em;
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  padding: 16px 0;
  font-weight: 500;
  font-size: 18px;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  float: right;
  font-family: var(--mono);
  color: var(--muted);
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p {
  margin: 0 0 18px;
  color: var(--ink-2);
}

.sources ol {
  padding-left: 1.3em;
  font-size: 15px;
  color: var(--ink-2);
}

.sources li + li {
  margin-top: 6px;
}

.alert-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 48px;
  padding: 28px;
  border-radius: 22px;
  background: var(--ink);
  color: #fff;
}

.alert-box__h {
  margin: 0;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
  max-width: 22ch;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
}

.related {
  margin-top: 64px;
}

.related ul,
.index {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--ink);
}

.related li a,
.index li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.015em;
}

.related li a:hover span,
.index li a:hover .index__t {
  text-decoration: underline;
}

.index li a {
  display: grid;
  gap: 6px;
}

.index__d {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--ink-2);
}

.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
  padding: 28px var(--gutter) 40px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}

.foot p {
  margin: 0;
}

.foot .wordmark {
  color: var(--ink);
}

@media (max-width: 560px) {
  body {
    font-size: 17px;
  }

  .top nav a:first-child {
    display: none;
  }

  .status-strip__go {
    margin-left: 0;
  }

  .prose > p:first-child {
    font-size: 19px;
  }
}
