:root {
  --ink: #17191c;
  --muted: #626870;
  --paper: #ffffff;
  --soft: #f4f5f2;
  --line: #dcdeda;
  --red: #b4232f;
  --red-dark: #841823;
  --yellow: #efc45a;
  --green: #1e5d4e;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  line-height: 1.65;
}

h1,
h2,
h3,
p,
address {
  overflow-wrap: anywhere;
}

button,
input {
  font: inherit;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  height: 72px;
  border-bottom: 1px solid rgba(220, 222, 218, 0.9);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  color: var(--ink);
  text-decoration: none;
  font-size: 20px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #fff;
  background: var(--red);
  font-family: Georgia, serif;
  font-size: 19px;
  line-height: 1;
}

.header-actions,
.main-nav {
  display: flex;
  align-items: center;
}

.header-actions {
  gap: 26px;
}

.main-nav {
  gap: 26px;
  white-space: nowrap;
}

.mobile-break {
  display: none;
}

.nav-link {
  position: relative;
  padding: 22px 0 20px;
  color: #40454a;
  text-decoration: none;
  font-size: 15px;
}

.nav-link::after {
  position: absolute;
  right: 0;
  bottom: 13px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--red);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.account-button,
.pay-button,
.form-submit {
  border: 0;
  cursor: pointer;
}

.account-button {
  min-height: 38px;
  padding: 7px 14px;
  color: #fff;
  background: var(--ink);
}

.account-button:hover {
  background: var(--red);
}

.feature {
  position: relative;
  height: min(540px, calc(100vh - 150px));
  min-height: 430px;
  overflow: hidden;
  color: #fff;
}

.feature-image,
.feature-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.feature-image {
  object-fit: cover;
  object-position: center 48%;
}

.feature-shade {
  background: linear-gradient(90deg, rgba(8, 10, 15, 0.92) 0%, rgba(8, 10, 15, 0.67) 46%, rgba(8, 10, 15, 0.16) 78%);
}

.feature-content {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
  padding-top: clamp(64px, 10vh, 104px);
}

.section-kicker,
.modal-kicker {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.feature .section-kicker {
  color: var(--yellow);
}

.feature h1 {
  width: min(720px, 82vw);
  margin: 0;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.18;
  letter-spacing: 0;
}

.feature-content > p:not(.section-kicker) {
  width: min(610px, 84vw);
  margin: 22px 0 26px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 17px;
}

.feature-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 2px solid var(--yellow);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.feature-link span {
  font-size: 20px;
  transition: transform 180ms ease;
}

.feature-link:hover span {
  transform: translateX(4px);
}

.news-section {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
  padding: 74px 0 86px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(300px, 1fr);
  align-items: end;
  gap: 60px;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.section-heading h2,
.about-section h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.25;
  letter-spacing: 0;
}

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

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.article-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.article-card:hover {
  box-shadow: 0 14px 34px rgba(20, 24, 27, 0.09);
  transform: translateY(-3px);
}

.article-card > img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.article-content {
  padding: 22px;
}

.article-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
}

.article-meta span {
  color: var(--green);
  font-weight: 800;
}

.article-content h3 {
  min-height: 84px;
  margin: 14px 0 12px;
  font-size: 20px;
  line-height: 1.42;
  letter-spacing: 0;
}

.article-content > p {
  min-height: 108px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.pay-button {
  width: 100%;
  min-height: 44px;
  margin-top: 22px;
  padding: 9px 14px;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: #fff;
  text-align: left;
  transition: color 160ms ease, background 160ms ease;
}

.pay-button strong {
  float: right;
  color: var(--red);
}

.pay-button:hover {
  color: #fff;
  background: var(--ink);
}

.pay-button:hover strong {
  color: var(--yellow);
}

.about-section {
  padding: 78px 0 84px;
  color: #fff;
  background: #202527;
}

.about-inner {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(360px, 1fr);
  gap: 100px;
}

.about-section .section-kicker {
  color: var(--yellow);
}

.about-copy p {
  margin: 0 0 18px;
  color: #d3d7d5;
}

.about-copy address {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid #485052;
  color: #fff;
  font-style: normal;
  font-size: 14px;
}

.site-footer {
  padding: 34px 0;
  border-top: 4px solid var(--red);
  background: var(--soft);
}

.footer-inner {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 60px;
}

.footer-brand {
  font-size: 21px;
  font-weight: 800;
}

.footer-inner p {
  margin: 5px 0;
  color: var(--muted);
  font-size: 13px;
}

.footer-meta {
  text-align: right;
}

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

.filing-info a:hover {
  color: var(--red);
  text-decoration: underline;
}

.filing-info a:focus-visible {
  border-radius: 2px;
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.modal {
  width: min(calc(100% - 32px), 460px);
  max-height: calc(100vh - 32px);
  overflow: auto;
  padding: 30px;
  border: 0;
  border-radius: 6px;
  color: var(--ink);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

.modal::backdrop {
  background: rgba(15, 18, 19, 0.72);
  backdrop-filter: blur(3px);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 0;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

.modal-close:hover {
  color: var(--red);
}

.modal h2 {
  margin: 0;
  padding-right: 34px;
  font-size: 26px;
  line-height: 1.35;
}

.selected-article {
  margin: 12px 0 20px;
  color: var(--muted);
  font-size: 14px;
}

.payment-placeholder {
  width: 208px;
  aspect-ratio: 1;
  margin: 0 auto;
  display: grid;
  place-content: center;
  border: 1px solid var(--line);
  background-color: #f7f7f4;
  background-image: linear-gradient(45deg, #eceeea 25%, transparent 25%), linear-gradient(-45deg, #eceeea 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #eceeea 75%), linear-gradient(-45deg, transparent 75%, #eceeea 75%);
  background-position: 0 0, 0 8px, 8px -8px, -8px 0;
  background-size: 16px 16px;
  text-align: center;
}

.payment-placeholder span,
.payment-placeholder strong {
  display: block;
  padding: 2px 9px;
  background: rgba(255, 255, 255, 0.94);
}

.payment-placeholder span {
  color: var(--muted);
  font-size: 13px;
}

.payment-placeholder strong {
  color: var(--red);
  font-size: 19px;
}

.modal-note {
  margin: 18px 0 0;
  color: var(--muted);
  text-align: center;
  font-size: 13px;
}

.account-tabs {
  width: calc(100% - 52px);
  margin-bottom: 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
}

.account-tab {
  min-height: 40px;
  border: 0;
  color: var(--muted);
  background: #fff;
  cursor: pointer;
}

.account-tab.active {
  color: #fff;
  background: var(--ink);
}

.account-form {
  margin-top: 22px;
  display: grid;
  gap: 8px;
}

.account-form label {
  margin-top: 5px;
  font-size: 13px;
  font-weight: 700;
}

.account-form input {
  width: 100%;
  min-height: 44px;
  padding: 8px 11px;
  border: 1px solid #bfc3bf;
  border-radius: 0;
  outline: none;
}

.account-form input:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 2px rgba(180, 35, 47, 0.12);
}

.form-submit {
  min-height: 46px;
  margin-top: 14px;
  color: #fff;
  background: var(--red);
  font-weight: 700;
}

.form-submit:hover {
  background: var(--red-dark);
}

.form-status {
  min-height: 22px;
  margin: 4px 0 0;
  color: var(--green);
  font-size: 13px;
}

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

  .article-card:first-child {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .article-card:first-child > img {
    height: 100%;
    aspect-ratio: auto;
  }

  .about-inner {
    gap: 54px;
  }
}

@media (max-width: 720px) {
  html {
    scroll-padding-top: 114px;
  }

  .site-header {
    height: auto;
  }

  .header-inner {
    width: 100%;
    padding: 10px 16px 0;
    align-items: stretch;
    flex-direction: column;
    gap: 6px;
  }

  .header-actions {
    width: 100%;
  }

  .brand {
    min-height: 40px;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
  }

  .main-nav {
    width: 100%;
    gap: 18px;
    overflow-x: auto;
  }

  .nav-link {
    padding: 11px 0 13px;
    font-size: 14px;
  }

  .nav-link::after {
    bottom: 7px;
  }

  .account-button {
    position: absolute;
    top: 12px;
    right: 16px;
    margin-left: 0;
    min-height: 34px;
  }

  .feature {
    height: 480px;
    min-height: 0;
  }

  .feature-shade {
    background: linear-gradient(90deg, rgba(8, 10, 15, 0.9), rgba(8, 10, 15, 0.38));
  }

  .feature-content {
    padding-top: 66px;
  }

  .feature h1 {
    width: 100%;
    font-size: 36px;
    word-break: break-all;
  }

  .mobile-break {
    display: block;
  }

  .feature-content > p:not(.section-kicker) {
    width: 100%;
    font-size: 15px;
  }

  .section-heading,
  .about-inner,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .section-heading {
    gap: 14px;
  }

  .section-heading > p {
    padding-right: 8px;
    font-size: 14px;
  }

  .news-section {
    padding: 54px 0 62px;
  }

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

  .article-card:first-child {
    grid-column: auto;
    display: block;
  }

  .article-card:first-child > img {
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .article-content h3,
  .article-content > p {
    min-height: 0;
  }

  .about-inner {
    gap: 28px;
  }

  .footer-inner {
    gap: 22px;
  }

  .footer-meta {
    text-align: left;
  }
}

@media (max-width: 430px) {
  .header-inner,
  .feature-content,
  .news-section,
  .about-inner,
  .footer-inner {
    width: calc(100% - 28px);
  }

  .header-inner {
    width: 100%;
  }

  .main-nav {
    gap: 14px;
  }

  .account-button {
    padding: 6px 10px;
    font-size: 13px;
  }

  .feature h1 {
    font-size: 32px;
  }

  .modal {
    padding: 24px 20px;
  }

  .payment-placeholder {
    width: min(208px, 80vw);
  }
}

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

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