:root {
  --ink: #10251e;
  --muted: #64736d;
  --line: #dbe1dc;
  --paper: #f7f8f3;
  --white: #ffffff;
  --green: #087a5b;
  --green-deep: #075440;
  --tennis: #dfff45;
  --blue: #245ff6;
  --clay: #eb9b67;
  --page-pad: clamp(20px, 4.5vw, 76px);
  --section-gap: clamp(96px, 13vw, 190px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "PingFang SC", "Noto Sans CJK SC", "Microsoft YaHei", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.modal-open {
  overflow: hidden;
}

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

button {
  color: inherit;
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  display: grid;
  width: 100%;
  height: 72px;
  padding: 0 var(--page-pad);
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 82%, transparent);
  background: color-mix(in srgb, var(--paper) 91%, transparent);
  backdrop-filter: blur(16px);
}

.brand,
.footer-brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .02em;
}

.brand img,
.footer-brand img {
  width: 30px;
  height: 30px;
  border-radius: 2px;
}

nav {
  display: flex;
  gap: 34px;
  color: #44534d;
  font-size: 14px;
}

nav a {
  transition: color 180ms ease;
}

nav a:hover {
  color: var(--green);
}

.header-action {
  justify-self: end;
  padding: 10px 15px;
  border: 1px solid var(--ink);
  font-size: 13px;
  transition: background 180ms ease, color 180ms ease;
}

.header-action:hover {
  color: var(--white);
  background: var(--ink);
}

.hero {
  display: grid;
  min-height: 100svh;
  padding: clamp(130px, 16vh, 180px) var(--page-pad) clamp(72px, 9vh, 110px);
  grid-template-columns: minmax(0, 1.06fr) minmax(390px, .78fr);
  gap: clamp(44px, 5vw, 82px);
  align-items: center;
}

.eyebrow,
.section-index {
  margin: 0 0 30px;
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .17em;
}

.eyebrow {
  display: flex;
  gap: 10px;
  align-items: center;
}

.eyebrow span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--tennis);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--tennis) 22%, transparent);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 30px;
  font-size: clamp(52px, 5.4vw, 96px);
  font-weight: 560;
  line-height: .98;
  letter-spacing: -.065em;
  word-break: keep-all;
}

.hero-intro {
  max-width: 590px;
  margin-bottom: 42px;
  color: var(--muted);
  font-size: clamp(16px, 1.25vw, 20px);
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 28px;
  align-items: center;
}

.button {
  display: inline-flex;
  min-height: 50px;
  padding: 0 21px;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 650;
}

.button-primary {
  color: var(--white);
  background: var(--green);
  transition: transform 180ms ease, background 180ms ease;
}

.button-primary:hover {
  background: var(--green-deep);
  transform: translateY(-2px);
}

.button-text {
  min-height: auto;
  padding: 0;
  border-bottom: 1px solid var(--ink);
}

.button-text span,
.cooperation-panel a span {
  margin-left: 7px;
}

.hero-court {
  overflow: hidden;
  border: 1px solid #0a6149;
  background: var(--green);
}

.hero-court svg {
  display: block;
  width: 100%;
  aspect-ratio: 1.2;
}

.court-caption,
.court-footer {
  display: flex;
  min-height: 46px;
  padding: 0 16px;
  align-items: center;
  justify-content: space-between;
  color: color-mix(in srgb, var(--white) 72%, transparent);
  background: var(--green-deep);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  letter-spacing: .08em;
}

.court-footer {
  min-height: 62px;
  color: var(--white);
  background: #0b382d;
}

.court-footer strong {
  font-family: inherit;
  font-size: 13px;
  letter-spacing: 0;
}

.section {
  padding: var(--section-gap) var(--page-pad);
}

.section-heading,
.reports-head,
.cooperation {
  display: grid;
  grid-template-columns: minmax(240px, .78fr) minmax(0, 1fr);
  gap: clamp(48px, 9vw, 150px);
}

h2 {
  margin-bottom: 0;
  font-size: clamp(40px, 5.5vw, 82px);
  font-weight: 540;
  line-height: 1.08;
  letter-spacing: -.055em;
}

.insight {
  border-top: 1px solid var(--line);
  background: var(--white);
}

.insight-list {
  margin-top: clamp(72px, 10vw, 140px);
  margin-left: min(26vw, 390px);
  border-top: 1px solid var(--ink);
}

.insight-item {
  display: grid;
  min-height: 150px;
  padding: 28px 0;
  grid-template-columns: 60px minmax(220px, .8fr) 1fr;
  gap: 24px;
  align-items: start;
  border-bottom: 1px solid var(--line);
}

.insight-item > span,
.report-number {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
}

.insight-item h3 {
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 560;
  letter-spacing: -.035em;
}

.insight-item p {
  max-width: 460px;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.75;
}

.reports {
  color: var(--white);
  background: #113e32;
}

.reports .section-index {
  color: var(--tennis);
}

.reports-head {
  align-items: end;
}

.reports-head > p {
  max-width: 440px;
  margin-bottom: 4px;
  color: #b9c8c2;
  line-height: 1.8;
}

.report-grid {
  display: grid;
  margin-top: clamp(66px, 9vw, 120px);
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2vw, 30px);
}

.report-card {
  padding: 0;
  border: 1px solid color-mix(in srgb, var(--white) 18%, transparent);
  background: #113e32;
  cursor: pointer;
  text-align: left;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.report-card:hover,
.report-card:focus-visible {
  border-color: color-mix(in srgb, var(--tennis) 62%, transparent);
  background: #16483a;
  transform: translateY(-4px);
}

.report-cover {
  position: relative;
  display: block;
  overflow: hidden;
  background: #0b2e26;
}

.report-cover img {
  display: block;
  width: 100%;
  aspect-ratio: 1.32;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(.2, .7, .1, 1);
}

.report-card:hover .report-cover img,
.report-card:focus-visible .report-cover img {
  transform: scale(1.035);
}

.report-tag {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 7px 9px;
  color: var(--ink);
  background: var(--paper);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .08em;
}

.report-body {
  display: grid;
  min-height: 330px;
  padding: 28px;
  align-content: start;
  border-top: 1px solid color-mix(in srgb, var(--white) 14%, transparent);
}

.report-number {
  color: #8fa69d;
}

.report-body strong {
  display: block;
  margin: 46px 0 18px;
  font-size: clamp(23px, 2.1vw, 32px);
  font-weight: 560;
  letter-spacing: -.035em;
}

.report-body > span:nth-child(3) {
  max-width: 330px;
  color: #b9c8c2;
  font-size: 14px;
  line-height: 1.7;
}

.report-body i {
  margin-top: 54px;
  color: var(--tennis);
  font-size: 13px;
  font-style: normal;
}

.cooperation {
  background: var(--tennis);
}

.cooperation .section-index {
  color: var(--green-deep);
}

.cooperation-panel {
  padding-top: 44px;
  border-top: 1px solid var(--ink);
}

.cooperation-panel > p {
  max-width: 620px;
  color: #31453e;
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1.7;
}

.cooperation-panel ul {
  margin: 55px 0;
  padding: 0;
  border-top: 1px solid color-mix(in srgb, var(--ink) 35%, transparent);
  list-style: none;
}

.cooperation-panel li {
  display: flex;
  padding: 20px 0;
  gap: 24px;
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 35%, transparent);
  font-size: 15px;
}

.cooperation-panel li span {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
}

.cooperation-panel a {
  display: inline-flex;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--ink);
  font-weight: 700;
}

footer {
  padding: 46px var(--page-pad) 28px;
  color: #78847f;
  background: var(--paper);
  font-size: 12px;
}

.footer-shell {
  display: grid;
  width: min(100%, 1440px);
  margin: 0 auto;
  grid-template-columns: minmax(190px, .55fr) minmax(0, 1.45fr);
  grid-template-areas:
    "brand info"
    "legal legal";
  gap: 36px clamp(44px, 7vw, 110px);
  align-items: start;
}

.footer-brand {
  grid-area: brand;
  align-self: start;
}

.footer-info {
  grid-area: info;
  display: flex;
  gap: clamp(36px, 5vw, 80px);
  align-items: flex-start;
  justify-content: space-between;
}

.footer-report {
  max-width: 620px;
}

.footer-report p,
.footer-address {
  margin: 0;
}

.footer-report p {
  margin-bottom: 8px;
  color: #53635c;
  font-size: 13px;
  line-height: 1.65;
}

.footer-report a {
  display: inline-block;
  color: var(--green-deep);
  font-size: 12px;
  line-height: 1.5;
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--green-deep) 38%, transparent);
  text-underline-offset: 4px;
}

.footer-address {
  max-width: 310px;
  color: #53635c;
  line-height: 1.65;
  text-align: right;
}

.footer-legal {
  grid-area: legal;
  display: flex;
  width: 100%;
  padding-top: 20px;
  gap: clamp(10px, 2vw, 30px);
  align-items: center;
  justify-content: flex-end;
  border-top: 1px solid color-mix(in srgb, var(--line) 76%, transparent);
  flex-wrap: nowrap;
  white-space: nowrap;
}

.footer-icp {
  color: inherit;
  transition: color 180ms ease;
}

.footer-icp:hover {
  color: var(--green);
}

.footer-brand {
  color: var(--ink);
}

.modal {
  position: fixed;
  z-index: 50;
  inset: 0;
  display: grid;
  padding: 24px;
  place-items: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 200ms ease, visibility 200ms ease;
}

.modal.is-open {
  visibility: visible;
  opacity: 1;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: color-mix(in srgb, #09291f 72%, transparent);
  backdrop-filter: blur(8px);
}

.modal-dialog {
  position: relative;
  display: grid;
  width: min(920px, 100%);
  min-height: 530px;
  grid-template-columns: 1.08fr .92fr;
  color: var(--ink);
  background: var(--paper);
  transform: translateY(18px) scale(.985);
  transition: transform 260ms cubic-bezier(.2, .8, .2, 1);
}

.modal.is-open .modal-dialog {
  transform: none;
}

.modal-close {
  position: absolute;
  z-index: 2;
  top: 15px;
  right: 15px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  cursor: pointer;
  font-size: 22px;
}

.modal-report {
  padding: clamp(40px, 6vw, 72px);
}

.modal-report h2 {
  max-width: 460px;
  margin-bottom: 28px;
  font-size: clamp(38px, 5vw, 66px);
}

.modal-report > p:not(.section-index) {
  max-width: 430px;
  color: var(--muted);
  line-height: 1.8;
}

.modal-meta {
  display: flex;
  margin-top: 60px;
  gap: 8px;
  flex-wrap: wrap;
}

.modal-meta span {
  padding: 7px 10px;
  border: 1px solid var(--line);
  font-size: 11px;
}

.purchase-box {
  display: flex;
  padding: 70px 38px 38px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: var(--white);
  text-align: center;
}

.qr-code {
  position: relative;
  width: min(240px, 60vw);
  aspect-ratio: 1;
  margin-bottom: 26px;
  padding: 12px;
  border: 1px solid var(--line);
  outline: 1px solid var(--line);
  background: var(--white);
}

.qr-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  image-rendering: pixelated;
}

.qr-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 15%;
  aspect-ratio: 1;
  padding: 3px;
  place-items: center;
  border-radius: 3px;
  background: var(--white);
  transform: translate(-50%, -50%);
}

.qr-logo img {
  display: block;
  width: 100%;
  height: 100%;
}

.purchase-box strong {
  font-size: 23px;
}

.purchase-box p {
  margin: 9px 0 22px;
  color: var(--muted);
  font-size: 13px;
}

.purchase-box small {
  max-width: 230px;
  color: #9aa39f;
  font-size: 10px;
  line-height: 1.5;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(.2, .7, .2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-header nav {
    display: none;
  }

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

  .hero-court {
    width: min(680px, 100%);
  }

  .section-heading,
  .reports-head,
  .cooperation {
    grid-template-columns: 1fr;
  }

  .insight-list {
    margin-left: 0;
  }

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

  .report-card {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
  }

  .report-body {
    min-height: auto;
  }

  .modal-dialog {
    grid-template-columns: 1fr 320px;
  }

  .footer-shell {
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand"
      "info"
      "legal";
    gap: 28px;
  }

  .footer-legal {
    justify-content: flex-start;
  }
}

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

  .header-action {
    padding: 9px 12px;
  }

  .hero {
    padding-top: 112px;
    gap: 54px;
  }

  h1 {
    font-size: clamp(42px, 11vw, 58px);
    line-height: 1.02;
    word-break: normal;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .court-footer span,
  .court-caption span:last-child {
    display: none;
  }

  .insight-item {
    grid-template-columns: 36px 1fr;
  }

  .insight-item p {
    grid-column: 2;
  }

  .report-card {
    display: block;
  }

  .report-body {
    min-height: 290px;
  }

  footer {
    padding-top: 36px;
    padding-bottom: 24px;
  }

  .footer-shell {
    gap: 22px;
  }

  .footer-info {
    gap: 18px;
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-legal {
    padding-top: 16px;
    gap: 10px;
    font-size: 10px;
  }

  .footer-address {
    max-width: none;
    text-align: left;
  }

  .modal {
    padding: 12px;
    overflow-y: auto;
    place-items: start center;
  }

  .modal-dialog {
    grid-template-columns: 1fr;
  }

  .modal-report {
    padding: 52px 28px 32px;
  }

  .modal-meta {
    margin-top: 32px;
  }

  .purchase-box {
    padding: 34px 24px 40px;
  }
}

@media (max-width: 360px) {
  footer {
    padding-right: 12px;
    padding-left: 12px;
  }

  .footer-legal {
    min-width: 0;
    gap: 6px;
    font-size: 8px;
  }
}

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

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
