:root {
  --paper: #ffffff;
  --surface: #f3f6f5;
  --surface-strong: #e8efed;
  --ink: #171a19;
  --muted: #5c6562;
  --line: #d5ddda;
  --deep: #183a35;
  --deep-2: #102724;
  --teal: #236b61;
  --red: #b74434;
  --gold: #a77816;
  --blue: #315f8b;
  --code: #17201e;
  --focus: #1d6fa5;
  --max: 1180px;
  --article: 760px;
  --radius: 6px;
  --shadow: 0 18px 45px rgba(18, 32, 29, 0.12);
  color-scheme: light;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: var(--teal);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--red);
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 10px 14px;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--ink);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 72px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.site-header__inner {
  width: min(var(--max), calc(100% - 40px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.wordmark {
  min-width: 210px;
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

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

.wordmark__name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  font-weight: 700;
  line-height: 1;
}

.wordmark__note {
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.site-nav {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  position: relative;
  height: 100%;
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
}

.site-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  background: var(--red);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px 0;
  background: var(--ink);
  transition: transform 160ms ease, opacity 160ms ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.page-shell,
.home-section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
  text-transform: uppercase;
}

.button {
  min-height: 44px;
  padding: 10px 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}

.button--primary {
  background: var(--deep);
  color: #ffffff;
}

.button--primary:hover {
  background: var(--red);
  color: #ffffff;
}

.button--secondary {
  background: var(--paper);
  border-color: var(--line);
  color: var(--ink);
}

.button--secondary:hover {
  border-color: var(--red);
  color: var(--red);
}

.button--light {
  background: #ffffff;
  color: var(--deep-2);
}

.button--light:hover {
  background: #e7f0ed;
  color: var(--deep-2);
}

.text-link,
.hero-text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 750;
  text-decoration: none;
}

.home-hero {
  position: relative;
  width: 100%;
  height: 560px;
  max-height: 68vh;
  min-height: 500px;
  overflow: hidden;
  background: var(--deep-2);
}

.home-hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 24%;
}

.home-hero__copy {
  position: relative;
  z-index: 1;
  width: min(48%, 690px);
  height: 100%;
  padding: 64px max(40px, calc((100vw - var(--max)) / 2));
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(16, 39, 36, 0.94);
  color: #ffffff;
}

.home-hero__copy .eyebrow {
  color: #f0c565;
}

.home-hero h1 {
  margin: 0 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 56px;
  line-height: 1.03;
}

.home-hero__feature {
  margin: 0 0 18px;
  color: #ffffff;
  font-size: 24px;
  font-weight: 750;
  line-height: 1.35;
}

.home-hero__copy > p:not(.eyebrow):not(.home-hero__feature) {
  max-width: 570px;
  margin: 0;
  color: #d8e4e1;
  font-size: 16px;
  line-height: 1.8;
}

.hero-actions {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.hero-text-link {
  color: #ffffff;
}

.hero-text-link:hover {
  color: #f0c565;
}

.evidence-strip {
  min-height: 112px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--deep);
  color: #ffffff;
}

.evidence-strip > div {
  min-width: 0;
  padding: 23px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.evidence-strip > div:last-child {
  border-right: 0;
}

.evidence-strip strong {
  color: #f0c565;
  font-size: 23px;
  line-height: 1.2;
}

.evidence-strip span {
  margin-top: 5px;
  color: #cfddda;
  font-size: 13px;
}

.home-section {
  padding: 96px 0;
}

.section-heading {
  margin-bottom: 36px;
}

.section-heading--split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 64px;
  align-items: end;
}

.section-heading h2 {
  margin: 0;
  font-size: 36px;
  line-height: 1.2;
}

.section-heading--split > p {
  margin: 0;
  color: var(--muted);
}

.entry-list {
  border-top: 1px solid var(--line);
}

.entry-row {
  min-height: 154px;
  padding: 28px 0;
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) 92px;
  gap: 30px;
  align-items: start;
  border-bottom: 1px solid var(--line);
}

.entry-row__meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.entry-row__meta span {
  color: var(--red);
  font-weight: 750;
}

.entry-row__content {
  min-width: 0;
}

.entry-row__content h3 {
  margin: 0 0 9px;
  font-size: 22px;
  line-height: 1.35;
}

.entry-row__content h3 a {
  color: var(--ink);
  text-decoration: none;
}

.entry-row__content h3 a:hover {
  color: var(--red);
}

.entry-row__content p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
}

.entry-row__action {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  color: var(--teal);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.project-band {
  padding: 82px max(40px, calc((100vw - var(--max)) / 2));
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(520px, 1.28fr);
  gap: 64px;
  align-items: center;
  background: var(--surface-strong);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.project-band__copy h2 {
  margin: 0 0 18px;
  font-size: 34px;
  line-height: 1.2;
}

.project-band__copy > p:not(.eyebrow) {
  margin: 0 0 22px;
  color: var(--muted);
}

.project-band__copy ul {
  margin: 0 0 26px;
  padding-left: 20px;
}

.project-band__copy li {
  margin: 7px 0;
}

.project-band__media {
  margin: 0;
}

.project-band__media img {
  width: 100%;
  aspect-ratio: 1.44 / 1;
  object-fit: cover;
  border: 1px solid #c9d3d0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.project-band__media figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
  text-align: right;
}

.boundary-section {
  padding-bottom: 110px;
}

.boundary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.boundary-grid > div {
  min-width: 0;
  padding: 28px;
  border-right: 1px solid var(--line);
}

.boundary-grid > div:first-child {
  padding-left: 0;
}

.boundary-grid > div:last-child {
  padding-right: 0;
  border-right: 0;
}

.boundary-grid span {
  display: block;
  margin-bottom: 9px;
  color: var(--red);
  font-size: 14px;
  font-weight: 800;
}

.boundary-grid > div:nth-child(2) span {
  color: var(--gold);
}

.boundary-grid > div:nth-child(3) span {
  color: var(--blue);
}

.boundary-grid p {
  margin: 0;
  color: var(--muted);
}

.breadcrumb {
  margin: 34px 0 18px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 13px;
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--red);
}

.article-utility {
  min-height: 66px;
  padding: 10px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.article-utility > div:first-child {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 18px;
  color: var(--muted);
  font-size: 13px;
}

.article-utility > div:first-child span:first-child {
  color: var(--red);
  font-weight: 750;
}

.article-actions {
  display: flex;
  gap: 9px;
}

.article-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, var(--article)) 260px;
  gap: 90px;
  justify-content: center;
  align-items: start;
}

.prose {
  min-width: 0;
  padding: 70px 0 96px;
  font-size: 17px;
  line-height: 1.9;
}

.prose > p:first-child strong {
  display: inline-block;
  padding: 4px 8px;
  color: var(--red);
  border: 1px solid #e0bbb4;
  border-radius: 3px;
  font-size: 12px;
  line-height: 1.4;
}

.prose h1,
.prose h2,
.prose h3,
.prose h4 {
  color: var(--ink);
  scroll-margin-top: 96px;
}

.prose h1 {
  margin: 17px 0 18px;
  font-size: 46px;
  line-height: 1.16;
}

.prose h2 {
  margin: 76px 0 22px;
  padding-top: 8px;
  font-size: 30px;
  line-height: 1.25;
}

.prose h3 {
  margin: 44px 0 16px;
  font-size: 22px;
  line-height: 1.35;
}

.prose h4 {
  margin: 32px 0 12px;
  font-size: 18px;
}

.heading-anchor {
  color: inherit;
  text-decoration: none;
}

.heading-anchor:hover {
  color: var(--red);
}

.prose p {
  margin: 0 0 20px;
}

.prose > blockquote:first-of-type {
  margin-top: 0;
}

.prose blockquote {
  margin: 30px 0;
  padding: 18px 24px;
  background: var(--surface);
  border-left: 4px solid var(--teal);
  color: #39413f;
}

.prose blockquote p:last-child {
  margin-bottom: 0;
}

.prose ul,
.prose ol {
  margin: 18px 0 24px;
  padding-left: 25px;
}

.prose li {
  margin: 7px 0;
  padding-left: 3px;
}

.prose hr {
  height: 1px;
  margin: 54px 0;
  border: 0;
  background: var(--line);
}

.prose code {
  padding: 2px 5px;
  border-radius: 3px;
  background: #edf1f0;
  color: #7d2b20;
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 0.88em;
  overflow-wrap: anywhere;
}

.prose pre {
  margin: 26px 0;
  padding: 21px 22px;
  overflow-x: auto;
  background: var(--code);
  color: #e7efed;
  border-radius: var(--radius);
  font-size: 14px;
  line-height: 1.7;
}

.prose pre code {
  padding: 0;
  background: transparent;
  color: inherit;
  overflow-wrap: normal;
}

.prose img {
  width: 100%;
  height: auto;
  margin: 32px 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.table-wrap {
  max-width: 100%;
  margin: 28px 0 36px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.prose table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.6;
}

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

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

.prose tr:last-child td {
  border-bottom: 0;
}

.prose th {
  background: var(--surface-strong);
  color: var(--deep-2);
}

.article-toc {
  position: sticky;
  top: 105px;
  margin-top: 78px;
  padding-left: 22px;
  border-left: 1px solid var(--line);
}

.article-toc > p {
  margin: 0 0 15px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.article-toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.article-toc li {
  margin: 0;
}

.article-toc a {
  display: block;
  padding: 5px 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  text-decoration: none;
}

.article-toc .toc-depth-3 a {
  padding-left: 13px;
  color: #747c79;
}

.article-toc a:hover,
.article-toc a.is-active {
  color: var(--red);
}

.license-note {
  min-height: 92px;
  padding: 20px 0;
  display: grid;
  grid-template-columns: 120px 190px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

.license-note p {
  margin: 0;
  color: var(--muted);
}

.license-note a {
  font-weight: 750;
}

.license-note span {
  color: var(--muted);
}

.related-content {
  padding: 80px 0 110px;
}

.related-content .section-heading h2 {
  font-size: 30px;
}

.index-main {
  min-height: 65vh;
  padding-bottom: 110px;
}

.index-header {
  max-width: 790px;
  padding: 92px 0 54px;
}

.index-header h1 {
  margin: 0 0 18px;
  font-size: 46px;
  line-height: 1.15;
}

.index-header > p:last-child {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.entry-list--index {
  margin-bottom: 30px;
}

.not-found {
  min-height: 66vh;
  width: min(700px, calc(100% - 40px));
  margin: 0 auto;
  padding: 120px 0;
}

.not-found h1 {
  margin: 0 0 16px;
  font-size: 42px;
}

.not-found > p:not(.eyebrow) {
  margin: 0 0 30px;
  color: var(--muted);
}

.site-footer {
  background: var(--deep-2);
  color: #d8e3e0;
}

.site-footer__inner {
  width: min(var(--max), calc(100% - 40px));
  min-height: 260px;
  margin: 0 auto;
  padding: 54px 0 40px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 42px 70px;
  align-items: start;
}

.site-footer__brand {
  margin: 0 0 8px;
  color: #ffffff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 700;
}

.site-footer__inner > div:first-child > p:last-child {
  margin: 0;
  color: #9fb0ac;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 13px 24px;
}

.site-footer__links a {
  color: #d8e3e0;
  font-size: 14px;
  text-decoration: none;
}

.site-footer__links a:hover {
  color: #f0c565;
}

.site-footer__legal {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 28px;
  color: #859893;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 12px;
}

.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 80;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #aebbb7;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  color: var(--deep-2);
  box-shadow: 0 8px 24px rgba(16, 39, 36, 0.15);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 150ms ease, transform 150ms ease, border-color 150ms ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  border-color: var(--red);
  color: var(--red);
}

.reading-progress {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 220;
  height: 3px;
  background: var(--red);
  pointer-events: none;
  transform: scaleX(0);
  transform-origin: left center;
}

.code-wrap {
  position: relative;
  margin: 26px 0;
}

.code-wrap .prose pre,
.prose .code-wrap pre {
  margin: 0;
  padding-top: 48px;
}

.copy-code {
  position: absolute;
  top: 9px;
  right: 9px;
  min-width: 58px;
  height: 30px;
  padding: 0 9px;
  border: 1px solid #52625e;
  border-radius: 3px;
  background: #24322f;
  color: #dbe6e3;
  font-size: 12px;
  cursor: pointer;
}

.copy-code:hover {
  border-color: #f0c565;
  color: #f0c565;
}

@media (max-width: 1080px) {
  .home-hero__copy {
    width: 58%;
  }

  .home-hero h1 {
    font-size: 48px;
  }

  .project-band {
    grid-template-columns: minmax(280px, 0.8fr) minmax(420px, 1.2fr);
    gap: 42px;
  }

  .article-layout {
    grid-template-columns: minmax(0, var(--article)) 220px;
    gap: 52px;
  }
}

@media (max-width: 900px) {
  .site-header,
  .site-header__inner {
    height: 64px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 64px;
    right: 0;
    left: 0;
    height: calc(100vh - 64px);
    padding: 30px 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-top: 1px solid var(--line);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    height: 58px;
    border-bottom: 1px solid var(--line);
    font-size: 17px;
  }

  .site-nav a[aria-current="page"]::after {
    right: auto;
    width: 4px;
    height: 32px;
    top: 13px;
    bottom: auto;
  }

  .home-hero {
    height: 620px;
    max-height: none;
    min-height: 620px;
  }

  .home-hero__copy {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    min-height: 390px;
    padding: 38px 40px 42px;
    justify-content: flex-start;
    background: rgba(16, 39, 36, 0.96);
  }

  .home-hero__media {
    height: 270px;
    object-position: center top;
  }

  .home-hero h1 {
    font-size: 42px;
  }

  .evidence-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .evidence-strip > div:nth-child(2) {
    border-right: 0;
  }

  .evidence-strip > div:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .section-heading--split {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .project-band {
    grid-template-columns: 1fr;
    padding: 72px 40px;
  }

  .project-band__media {
    order: -1;
  }

  .article-layout {
    display: block;
  }

  .article-toc {
    display: none;
  }

  .prose {
    max-width: var(--article);
    margin: 0 auto;
  }

  .article-utility {
    align-items: flex-start;
  }
}

@media (max-width: 680px) {
  .site-header__inner,
  .page-shell,
  .home-section,
  .site-footer__inner {
    width: min(100% - 28px, var(--max));
  }

  .wordmark {
    min-width: 0;
  }

  .wordmark__note {
    display: none;
  }

  .home-hero {
    height: 650px;
    min-height: 650px;
  }

  .home-hero__media {
    height: 245px;
    object-fit: cover;
    object-position: 62% top;
  }

  .home-hero__copy {
    min-height: 430px;
    padding: 32px 20px 34px;
  }

  .home-hero h1 {
    margin-bottom: 14px;
    font-size: 36px;
  }

  .home-hero__feature {
    font-size: 21px;
  }

  .home-hero__copy > p:not(.eyebrow):not(.home-hero__feature) {
    font-size: 15px;
    line-height: 1.7;
  }

  .hero-actions {
    margin-top: 24px;
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }

  .evidence-strip > div {
    min-height: 94px;
    padding: 17px 16px;
  }

  .evidence-strip strong {
    font-size: 20px;
  }

  .home-section {
    padding: 68px 0;
  }

  .section-heading h2 {
    font-size: 30px;
  }

  .entry-row {
    min-height: 0;
    padding: 24px 0;
    grid-template-columns: 1fr auto;
    gap: 11px 18px;
  }

  .entry-row__meta {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: space-between;
  }

  .entry-row__content h3 {
    font-size: 19px;
  }

  .entry-row__content p {
    font-size: 14px;
  }

  .entry-row__action {
    align-self: center;
  }

  .project-band {
    padding: 58px 20px;
  }

  .project-band__copy h2 {
    font-size: 29px;
  }

  .project-band__media figcaption {
    text-align: left;
  }

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

  .boundary-grid > div,
  .boundary-grid > div:first-child,
  .boundary-grid > div:last-child {
    padding: 22px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .boundary-grid > div:last-child {
    border-bottom: 0;
  }

  .breadcrumb {
    margin-top: 24px;
  }

  .article-utility {
    padding: 14px 0;
    flex-direction: column;
    gap: 12px;
  }

  .article-actions {
    width: 100%;
  }

  .article-actions .button {
    flex: 1 1 0;
  }

  .prose {
    padding: 48px 0 72px;
    font-size: 16px;
    line-height: 1.85;
  }

  .prose h1 {
    font-size: 34px;
    line-height: 1.2;
  }

  .prose h2 {
    margin-top: 58px;
    font-size: 26px;
  }

  .prose h3 {
    font-size: 20px;
  }

  .prose blockquote {
    margin: 25px 0;
    padding: 15px 17px;
  }

  .prose pre {
    margin-right: -2px;
    margin-left: -2px;
    padding: 17px;
    font-size: 13px;
  }

  .license-note {
    padding: 22px 0;
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .related-content {
    padding: 64px 0 82px;
  }

  .index-header {
    padding: 66px 0 42px;
  }

  .index-header h1 {
    font-size: 36px;
  }

  .index-header > p:last-child {
    font-size: 16px;
  }

  .site-footer__inner {
    min-height: 0;
    padding: 45px 0 34px;
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .site-footer__legal {
    grid-column: 1;
  }

  .back-to-top {
    right: 14px;
    bottom: 14px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media print {
  .site-header,
  .site-footer,
  .article-toc,
  .article-actions,
  .back-to-top,
  .related-content,
  .breadcrumb {
    display: none !important;
  }

  .page-shell {
    width: 100%;
  }

  .article-layout {
    display: block;
  }

  .prose {
    max-width: none;
    padding-top: 24px;
    font-size: 11pt;
  }

  .prose a {
    color: inherit;
  }

  .prose pre,
  .prose blockquote {
    break-inside: avoid;
  }
}
