@font-face {
  font-family: "Onest";
  src: url("/assets/onest.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f7f6f1;
  --ink: #282d2b;
  --olive: #6b765b;
  --olive-dark: #505a44;
  --line: rgba(40, 45, 43, 0.16);
  --soft: #e9eadf;
  --muted: #626866;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color: var(--ink);
  font-family: "Onest", system-ui, sans-serif;
  line-height: 1.6;
}

body {
  min-width: 320px;
  margin: 0;
}

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

a:hover {
  color: var(--olive-dark);
}

.site-header,
.site-footer {
  padding: 22px clamp(20px, 5vw, 72px);
}

.site-header {
  border-bottom: 1px solid var(--line);
}

.header-inner,
.footer-inner {
  display: flex;
  width: min(1120px, 100%);
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-size: 20px;
  font-weight: 760;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.header-link {
  color: var(--muted);
  font-size: 14px;
}

main {
  padding: clamp(30px, 7vw, 84px) clamp(20px, 5vw, 72px) clamp(64px, 10vw, 120px);
}

.article-shell {
  width: min(820px, 100%);
  margin: 0 auto;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 42px;
  color: var(--muted);
  font-size: 13px;
}

.breadcrumbs a {
  text-decoration: none;
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 18px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--olive-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(36px, 6.8vw, 72px);
  font-weight: 780;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.lead {
  max-width: 680px;
  margin: 28px 0 0;
  color: #444b48;
  font-size: clamp(19px, 2.4vw, 24px);
  line-height: 1.45;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.article-body {
  max-width: 680px;
  margin-top: clamp(48px, 8vw, 76px);
  font-size: 17px;
}

.article-body h2 {
  margin: 48px 0 14px;
  font-size: clamp(25px, 3.5vw, 34px);
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.article-body p,
.article-body ul,
.article-body ol {
  margin: 0 0 22px;
}

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

.article-body li + li {
  margin-top: 9px;
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 36px 0 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--line);
}

.fact {
  min-height: 118px;
  padding: 20px;
  background: #fbfaf7;
}

.fact strong {
  display: block;
  margin-bottom: 8px;
  color: var(--olive-dark);
  font-size: 24px;
  line-height: 1;
}

.fact span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.notice,
.source {
  margin-top: 36px;
  padding: 22px 24px;
  border-radius: 16px;
}

.notice {
  border-left: 4px solid var(--olive);
  background: var(--soft);
}

.source {
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.notice p,
.source p {
  margin: 0;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

@media (max-width: 640px) {
  .header-inner,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .breadcrumbs {
    margin-bottom: 30px;
  }

  .fact-grid {
    grid-template-columns: 1fr;
  }

  .fact {
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}
