:root {
  --ink: #17201d;
  --muted: #65716c;
  --paper: #f4f6f3;
  --white: #ffffff;
  --line: #d5dcd8;
  --teal: #0f766e;
  --red: #c95340;
  --gold: #e4b83e;
  --night: #111917;
  --shell: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", system-ui, sans-serif;
  line-height: 1.8;
}

a {
  color: inherit;
  text-decoration: none;
}

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

h1,
h2,
h3,
p,
figure,
blockquote,
ul,
ol,
pre {
  margin: 0;
}

.article-shell {
  width: min(calc(100% - 64px), var(--shell));
  margin-inline: auto;
}

.article-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  height: 78px;
  padding: 0 42px;
  align-items: center;
  justify-content: space-between;
  color: var(--white);
  border-bottom: 1px solid rgb(255 255 255 / 22%);
}

.article-brand {
  display: inline-flex;
  align-items: flex-end;
  gap: 6px;
  font-size: 21px;
  font-weight: 800;
}

.article-brand i {
  width: 7px;
  height: 7px;
  margin-bottom: 7px;
  background: var(--gold);
  border-radius: 50%;
}

.back-link {
  padding: 7px 0;
  border-bottom: 1px solid rgb(255 255 255 / 48%);
  font-size: 13px;
  font-weight: 700;
}

.back-link:hover,
.back-link:focus-visible {
  border-color: var(--white);
}

.article-hero {
  position: relative;
  display: flex;
  min-height: 560px;
  height: 68vh;
  max-height: 720px;
  overflow: hidden;
  align-items: flex-end;
  color: var(--white);
  background: #24302d;
}

.article-hero > img,
.article-hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.article-hero > img {
  object-fit: cover;
  object-position: center;
}

.article-hero-overlay {
  background: rgb(8 17 15 / 68%);
}

.article-hero-content {
  position: relative;
  z-index: 1;
  padding-bottom: 70px;
}

.article-kicker {
  color: #93d8cc;
  font-size: 12px;
  font-weight: 800;
}

.article-hero h1 {
  max-width: 980px;
  margin-top: 18px;
  font-size: 56px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0;
}

.article-deck {
  max-width: 820px;
  margin-top: 23px;
  color: rgb(255 255 255 / 78%);
  font-size: 17px;
}

.article-meta {
  display: flex;
  margin-top: 28px;
  flex-wrap: wrap;
  gap: 10px 24px;
  color: rgb(255 255 255 / 62%);
  font-size: 12px;
}

.article-main {
  display: grid;
  padding-top: 92px;
  padding-bottom: 112px;
  grid-template-columns: 210px minmax(0, 760px);
  gap: 74px;
  justify-content: center;
  align-items: start;
}

.article-detail-hero {
  min-height: 440px;
  height: 56vh;
  max-height: 620px;
}

.article-detail-hero .article-hero-content {
  padding-bottom: 76px;
}

.article-detail-hero h1 {
  margin-top: 0;
}

.article-main--single {
  display: block;
}

.article-main--single .article-body {
  max-width: 800px;
  margin: 0 auto;
}

.article-toc {
  position: sticky;
  top: 34px;
  padding-top: 13px;
  border-top: 2px solid var(--ink);
}

.article-toc > span {
  color: var(--red);
  font-size: 10px;
  font-weight: 800;
}

.article-toc nav {
  display: grid;
  margin-top: 17px;
}

.article-toc a {
  padding: 9px 0;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.55;
}

.article-toc a:hover,
.article-toc a:focus-visible {
  color: var(--teal);
}

.article-body {
  min-width: 0;
}

.article-body > p,
.article-body > ul,
.article-body > ol {
  margin-top: 24px;
  color: #39443f;
  font-size: 17px;
}

.article-body > p:first-child {
  margin-top: 0;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.85;
}

.article-body h2 {
  margin-top: 70px;
  padding-top: 18px;
  scroll-margin-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 31px;
  line-height: 1.35;
  letter-spacing: 0;
}

.article-body h3 {
  margin-top: 42px;
  font-size: 22px;
  line-height: 1.45;
}

.article-body strong {
  color: var(--ink);
}

.article-body code {
  padding: 2px 5px;
  color: #145f59;
  background: #e5ece8;
  border-radius: 3px;
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 0.9em;
}

.article-body pre {
  max-width: 100%;
  margin-top: 28px;
  padding: 24px 26px;
  overflow-x: auto;
  color: #dce9e4;
  background: var(--night);
  border-left: 4px solid var(--gold);
  border-radius: 4px;
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 13px;
  line-height: 1.75;
}

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

.article-body blockquote {
  margin-top: 32px;
  padding: 24px 28px;
  color: #26312d;
  background: #e8eeea;
  border-left: 4px solid var(--teal);
  font-size: 18px;
  line-height: 1.8;
}

.article-body blockquote p + p {
  margin-top: 14px;
}

.article-body ul,
.article-body ol {
  padding-left: 24px;
}

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

.reference-list a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-pager {
  display: grid;
  margin-top: 82px;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.article-pager a {
  display: grid;
  min-height: 126px;
  padding: 24px 26px;
  align-content: center;
}

.article-pager a + a {
  text-align: right;
  border-left: 1px solid var(--line);
}

.article-pager span {
  color: var(--red);
  font-size: 10px;
  font-weight: 800;
}

.article-pager strong {
  margin-top: 7px;
  font-size: 15px;
  line-height: 1.5;
}

.article-pager a:hover strong,
.article-pager a:focus-visible strong {
  color: var(--teal);
}

.article-footer {
  padding: 34px 0;
  color: rgb(255 255 255 / 60%);
  background: var(--night);
  font-size: 12px;
}

.article-footer .article-shell {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.article-footer .filing-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px 18px;
}

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

.article-footer a:hover,
.article-footer a:focus-visible {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-list-hero {
  min-height: 720px;
  height: 82vh;
  max-height: 860px;
}

.article-list-hero .article-hero-overlay {
  background: rgb(8 17 15 / 18%);
}

.article-list-hero h1 {
  margin-top: 0;
}

.article-list-main {
  padding-top: 92px;
  padding-bottom: 118px;
}

.article-list-intro {
  display: grid;
  grid-template-columns: 150px minmax(0, 760px);
  gap: 42px;
  align-items: start;
}

.article-list-intro > span {
  color: var(--teal);
  font-size: 11px;
  font-weight: 800;
}

.article-list-intro h2 {
  font-size: 39px;
  line-height: 1.3;
}

.article-list-intro p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 16px;
}

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

.article-list-item {
  display: grid;
  min-height: 190px;
  padding: 28px 0 30px;
  grid-template-columns: 110px 190px minmax(0, 1fr) 34px;
  gap: 28px;
  align-items: start;
  border-bottom: 1px solid var(--line);
}

.article-list-item > strong {
  color: #a9b3ae;
  font-size: 46px;
  line-height: 1;
}

.article-list-meta {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 11px;
}

.article-list-meta span:first-child {
  color: var(--red);
  font-weight: 800;
}

.article-list-copy h2 {
  font-size: 25px;
  line-height: 1.45;
}

.article-list-copy p {
  max-width: 700px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
}

.article-list-arrow {
  padding-top: 7px;
  color: var(--teal);
  font-size: 22px;
  text-align: right;
}

.article-list-item:hover .article-list-copy h2,
.article-list-item:focus-visible .article-list-copy h2 {
  color: var(--teal);
}

.article-list-item:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 6px;
}

@media (max-width: 900px) {
  .article-main {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .article-toc {
    position: static;
    max-width: 760px;
  }

  .article-toc nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 28px;
  }

  .article-list-item {
    grid-template-columns: 76px 150px minmax(0, 1fr) 28px;
    gap: 20px;
  }
}

@media (max-width: 700px) {
  .article-shell {
    width: min(calc(100% - 28px), var(--shell));
  }

  .article-header {
    height: 66px;
    padding: 0 14px;
  }

  .article-brand,
  .back-link {
    min-height: 44px;
  }

  .back-link {
    display: inline-flex;
    align-items: center;
  }

  .article-hero {
    min-height: 630px;
    height: 88vh;
    max-height: 760px;
  }

  .article-list-hero {
    min-height: 520px;
    height: 88vh;
    height: 88svh;
    max-height: 700px;
  }

  .article-list-hero > img {
    object-position: 60% center;
  }

  .article-list-hero .article-hero-overlay {
    background: rgb(8 17 15 / 30%);
  }

  .article-detail-hero {
    min-height: 430px;
    height: 58vh;
    max-height: 540px;
  }

  .article-detail-hero .article-hero-content {
    padding-bottom: 42px;
  }

  .article-hero-content {
    padding-bottom: 48px;
  }

  .article-hero h1 {
    font-size: 37px;
  }

  .article-deck {
    font-size: 15px;
  }

  .article-main {
    padding-top: 64px;
    padding-bottom: 80px;
    gap: 44px;
  }

  .article-toc nav {
    grid-template-columns: 1fr;
  }

  .article-body > p,
  .article-body > ul,
  .article-body > ol {
    font-size: 16px;
  }

  .article-body > p:first-child {
    font-size: 18px;
  }

  .article-body h2 {
    margin-top: 56px;
    font-size: 27px;
  }

  .article-body pre {
    padding: 20px 18px;
    font-size: 12px;
  }

  .article-body blockquote {
    padding: 21px 20px;
    font-size: 16px;
  }

  .article-body p code,
  .article-body li code,
  .reference-list a {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .article-list-main {
    padding-top: 64px;
    padding-bottom: 80px;
  }

  .article-list-intro {
    display: block;
  }

  .article-list-intro > span {
    display: block;
    margin-bottom: 14px;
  }

  .article-list-intro h2 {
    font-size: 31px;
  }

  .article-list {
    margin-top: 46px;
  }

  .article-list-item {
    min-height: 0;
    grid-template-columns: 48px minmax(0, 1fr) 24px;
    gap: 14px;
  }

  .article-list-item > strong {
    font-size: 30px;
  }

  .article-list-meta {
    grid-column: 2;
    grid-row: 1;
  }

  .article-list-copy {
    grid-column: 2 / 4;
  }

  .article-list-copy h2 {
    font-size: 20px;
  }

  .article-list-arrow {
    grid-column: 3;
    grid-row: 1;
    font-size: 20px;
  }

  .article-pager {
    grid-template-columns: 1fr;
  }

  .article-pager a + a {
    text-align: left;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .article-footer .article-shell {
    display: grid;
    gap: 4px;
  }

  .article-footer .filing-links {
    justify-content: flex-start;
    margin-top: 8px;
  }
}

@media (max-width: 420px) {
  .article-header {
    gap: 16px;
  }

  .back-link {
    white-space: nowrap;
    font-size: 12px;
  }

  .article-hero h1 {
    overflow-wrap: anywhere;
    font-size: 32px;
  }

  .article-detail-hero {
    min-height: 400px;
    height: 56vh;
    height: 56svh;
    max-height: 460px;
  }

  .article-main {
    padding-top: 54px;
    padding-bottom: 68px;
  }

  .article-body h2 {
    overflow-wrap: anywhere;
    font-size: 25px;
  }

  .article-list-main {
    padding-top: 54px;
    padding-bottom: 68px;
  }

  .article-list-intro h2 {
    overflow-wrap: anywhere;
    font-size: 27px;
  }

  .article-list {
    margin-top: 38px;
  }

  .article-list-item {
    padding: 24px 0 26px;
    grid-template-columns: 42px minmax(0, 1fr) 20px;
    gap: 12px;
  }

  .article-list-item > strong {
    font-size: 28px;
  }

  .article-list-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 3px 10px;
  }

  .article-list-copy {
    grid-column: 1 / -1;
    margin-top: 5px;
  }

  .article-list-copy h2 {
    overflow-wrap: anywhere;
    font-size: 19px;
  }

  .article-list-copy p {
    margin-top: 8px;
    font-size: 13px;
  }
}

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

  * {
    transition-duration: 0.01ms !important;
  }
}
