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

:root {
  --green-deep: #0B3B2E;
  --green-dark: #061F18;
  --green-bright: #1B5E4A;
  --gold: #D4A837;
  --gold-light: #F0C75E;
  --white: #FFFFFF;
  --gray-light: #F5F5F5;
  --gray-mid: #E0E0E0;
  --text-dark: #1A1A1A;
  --text-weak: #6B6B6B;
  --heading-font: "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  --body-font: "PT Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 4px 14px rgba(6, 31, 24, 0.08);
  --shadow-md: 0 10px 28px rgba(6, 31, 24, 0.12);
  --transition: 0.22s ease;
}

html {
  scroll-behavior: smooth;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
dl,
dd,
figure,
blockquote,
address,
pre {
  margin: 0;
}

body {
  font-family: var(--body-font);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

ul,
ol {
  padding-left: 0;
  list-style: none;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

button {
  font: inherit;
  border: 0;
}

:where(main) {
  display: block;
}

::selection {
  background: var(--gold);
  color: var(--green-dark);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--heading-font);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-dark);
}

a {
  color: var(--green-bright);
}

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

#main-content {
  display: block;
  padding-top: 88px;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 24px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  pointer-events: none;
}

.scroll-progress {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 2;
  pointer-events: none;
}

.scroll-progress-thumb {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 0 999px 999px 0;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 1200;
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  background: var(--gold);
  color: var(--green-dark);
  font-weight: 700;
  border-radius: 999px;
  text-decoration: none;
  transition: top 0.22s ease;
}

.skip-link:focus-visible {
  top: 16px;
}

.header-inner {
  position: relative;
  width: calc(100% - 32px);
  max-width: 1280px;
  margin: 16px auto 0;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 14px 10px 18px;
  border-radius: 999px;
  background: rgba(11, 59, 46, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 32px rgba(6, 31, 24, 0.28);
  pointer-events: auto;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
  text-decoration: none;
}

.brand-glyph {
  position: relative;
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 50%;
  background: var(--gold);
}

.brand-glyph::before {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  border: 2px dashed var(--green-deep);
}

.brand-glyph::after {
  content: "";
  position: absolute;
  inset: 13px;
  border-radius: 50%;
  background: var(--green-deep);
}

.brand-glyph-core {
  position: absolute;
  inset: 18px;
  z-index: 1;
  border-radius: 50%;
  background: var(--gold-light);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.1;
}

.brand-name {
  font-family: var(--heading-font);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #fff;
}

.brand-notice {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 14px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1;
  transition: color 0.22s ease, background-color 0.22s ease;
}

.site-nav a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--gold-light);
}

.site-nav a[aria-current="page"] {
  background: var(--gold);
  color: var(--green-dark);
  font-weight: 700;
}

.site-nav .nav-cta {
  margin-left: 8px;
  background: var(--gold);
  color: var(--green-dark);
  font-weight: 800;
}

.site-nav .nav-cta:hover {
  background: var(--gold-light);
  color: var(--green-dark);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  cursor: pointer;
}

.nav-toggle-line {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold-light);
  transition: transform 0.22s ease, opacity 0.22s ease;
}

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

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

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

.section {
  padding: 72px 0;
}

.section--alt {
  background: var(--gray-light);
}

.section--dark {
  background: var(--green-deep);
  color: rgba(255, 255, 255, 0.86);
}

.section--dark h1,
.section--dark h2,
.section--dark h3 {
  color: #fff;
}

.section--dark a {
  color: var(--gold-light);
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}

.section-heading-title {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.section-heading-index {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-weak);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}

.page-hero {
  padding: 48px 0 72px;
  background: linear-gradient(180deg, var(--gray-light) 0%, #fff 100%);
}

.page-hero-index {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-weak);
}

.page-hero-title {
  max-width: 14em;
  margin: 8px 0 16px;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.08;
  color: var(--green-deep);
}

.content-hero {
  padding: 64px 0 40px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 0.82rem;
  color: var(--text-weak);
}

.breadcrumbs li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumbs li + li::before {
  content: "/";
  color: var(--gray-mid);
}

.breadcrumbs a {
  color: var(--green-bright);
  text-decoration: none;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border: 2px solid transparent;
  border-radius: 999px;
  font: 700 0.95rem/1 var(--body-font);
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.22s ease, border-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.btn-primary {
  background: var(--gold);
  color: var(--green-dark);
  box-shadow: 0 6px 18px rgba(212, 168, 55, 0.28);
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(212, 168, 55, 0.32);
}

.btn-outline {
  background: transparent;
  color: var(--green-deep);
  border-color: var(--green-deep);
}

.btn-outline:hover {
  background: var(--green-deep);
  color: #fff;
}

.data-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--gray-light);
  border: 1px solid var(--gray-mid);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dark);
  white-space: nowrap;
}

.data-chip--gold {
  background: var(--gold);
  border-color: transparent;
  color: var(--green-dark);
}

.data-chip--green {
  background: var(--green-deep);
  border-color: transparent;
  color: #fff;
}

.pulse-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(212, 168, 55, 0.5);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  70% {
    box-shadow: 0 0 0 8px rgba(212, 168, 55, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(212, 168, 55, 0);
  }
}

.match-card {
  background: #fff;
  border-radius: var(--radius-md);
  border-top: 3px solid var(--gold);
  box-shadow: var(--shadow-sm);
  padding: 24px;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.match-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

.bento-cell {
  grid-column: span 4;
}

.bento-cell--wide {
  grid-column: span 7;
}

.bento-cell--full {
  grid-column: 1 / -1;
}

.score-strip {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  background: var(--green-deep);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-sm);
}

.score-strip-label {
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.score-strip-value {
  font-weight: 800;
  font-size: 1rem;
}

.speed-line {
  position: relative;
  height: 2px;
  border: 0;
  background: linear-gradient(90deg, transparent, var(--gold) 35%, var(--gold-light) 70%, transparent);
}

.speed-line::after {
  content: "";
  position: absolute;
  top: -2px;
  right: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-light);
}

.chapter-list {
  display: grid;
  border-top: 2px solid var(--green-deep);
}

.chapter-item {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 28px 12px;
  border-bottom: 1px solid var(--gray-mid);
  text-decoration: none;
  color: var(--text-dark);
  transition: background-color 0.22s ease, padding-inline 0.22s ease;
}

.chapter-item:hover {
  background: var(--gray-light);
  padding-inline: 20px;
}

.chapter-index {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}

.chapter-title {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 800;
  color: var(--text-dark);
}

.chapter-desc {
  margin-left: auto;
  text-align: right;
  font-size: 0.88rem;
  color: var(--text-weak);
}

.image-frame {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 18px;
  background: var(--gray-light);
  aspect-ratio: 16 / 10;
}

.image-frame--tall {
  aspect-ratio: 4 / 5;
}

.image-frame--wide {
  aspect-ratio: 21 / 9;
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(135deg, rgba(11, 59, 46, 0.07) 25%, transparent 25%),
    linear-gradient(45deg, rgba(212, 168, 55, 0.06) 25%, transparent 25%);
  background-size: 32px 32px;
  pointer-events: none;
}

.legal-container {
  max-width: 760px;
  margin-inline: auto;
  padding: 40px 24px 80px;
}

.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--green-dark);
  color: rgba(255, 255, 255, 0.8);
}

.footer-speedline {
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(212, 168, 55, 0.7) 30%, rgba(240, 199, 94, 0.95) 55%, transparent);
}

.footer-inner {
  padding: 60px 24px 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
}

.footer-brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.footer-brand-lockup .brand-glyph {
  width: 34px;
  height: 34px;
}

.footer-brand-lockup .brand-glyph::before {
  inset: 5px;
}

.footer-brand-lockup .brand-glyph::after {
  inset: 11px;
}

.footer-brand-lockup .brand-glyph-core {
  inset: 15px;
}

.footer-brand-name {
  font-family: var(--heading-font);
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
}

.footer-about {
  margin-top: 14px;
  max-width: 38em;
  font-size: 0.88rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.6);
}

.footer-trust {
  margin-top: 18px;
  padding: 12px 16px;
  border-left: 3px solid var(--gold);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 0 12px 12px 0;
  font-size: 0.82rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.66);
}

.footer-col-title {
  margin-bottom: 16px;
  font-family: var(--heading-font);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.footer-nav-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 20px;
}

.footer-nav-grid a {
  display: inline-block;
  padding: 2px 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.88rem;
  text-decoration: none;
  transition: color 0.22s ease, transform 0.22s ease;
}

.footer-nav-grid a:hover {
  color: var(--gold-light);
  transform: translateX(4px);
}

.footer-contact-list {
  display: grid;
  gap: 16px;
  font-style: normal;
}

.contact-item {
  display: grid;
  grid-template-columns: 2.6em 1fr;
  gap: 10px;
  font-size: 0.85rem;
  line-height: 1.5;
}

.contact-label {
  padding-top: 2px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.5);
}

.contact-value {
  color: rgba(255, 255, 255, 0.86);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom p {
  margin: 0;
}

.footer-copyright {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-icp {
  opacity: 0.7;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.66);
  text-decoration: none;
  transition: color 0.22s ease;
}

.footer-legal a:hover {
  color: var(--gold-light);
}

@media (max-width: 1024px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand-col {
    grid-column: 1 / -1;
  }

  .bento-cell {
    grid-column: span 6;
  }

  .bento-cell--wide {
    grid-column: span 12;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: grid;
    gap: 6px;
    margin: 0;
    padding: 16px;
    background: var(--green-deep);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 22px;
    box-shadow: 0 18px 36px rgba(6, 31, 24, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  }

  .site-nav[data-open="true"] {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .site-nav a {
    width: 100%;
    justify-content: flex-start;
    padding: 13px 16px;
    font-size: 0.98rem;
  }

  .site-nav .nav-cta {
    margin-top: 8px;
    justify-content: center;
  }
}

@media (max-width: 720px) {
  .header-inner {
    margin-top: 10px;
    padding: 10px 12px 10px 14px;
    border-radius: 28px;
  }

  .brand-notice {
    display: none;
  }

  .container {
    padding-inline: 16px;
  }

  .section {
    padding: 48px 0;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-inner {
    padding: 40px 16px 28px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .bento-cell {
    grid-column: span 12;
  }

  .chapter-item {
    flex-wrap: wrap;
    gap: 8px 16px;
  }

  .chapter-desc {
    margin-left: 0;
    width: 100%;
    text-align: left;
  }
}

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

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

  .pulse-dot {
    animation: none;
  }
}
