:root {
  color-scheme: dark;
  --ink: #eeeade;
  --muted: #8e9d97;
  --line: rgba(173, 202, 190, 0.15);
  --teal: #7ebdac;
  --amber: #c49a57;
}

* { box-sizing: border-box; }

html, body { min-height: 100%; margin: 0; background: #08100f; }

body {
  color: var(--ink);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

.landing {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding: 0 clamp(22px, 5vw, 76px);
  background:
    radial-gradient(circle at 84% 16%, rgba(48, 111, 92, 0.2), transparent 31%),
    radial-gradient(circle at 12% 74%, rgba(96, 78, 39, 0.12), transparent 28%),
    linear-gradient(145deg, #0c1513, #07100e 65%);
}

.grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(145, 186, 171, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(145, 186, 171, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

.header, .hero, .cases, footer {
  position: relative;
  z-index: 1;
  width: min(1220px, 100%);
  margin-inline: auto;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  border-bottom: 1px solid var(--line);
}

.brand { display: flex; align-items: center; gap: 12px; }

.brand-rule {
  width: 5px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(var(--amber) 0 25%, var(--teal) 25% 100%);
}

.eyebrow, .brand-name { margin: 0; }

.eyebrow {
  color: var(--amber);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.18em;
}

.brand-name {
  margin-top: 3px;
  font-family: "Songti SC", "STSong", serif;
  font-size: 17px;
  letter-spacing: 0.08em;
}

.badge {
  padding: 7px 12px;
  border: 1px solid rgba(126, 189, 172, 0.27);
  border-radius: 999px;
  color: #a9d3c7;
  background: rgba(73, 133, 116, 0.09);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.hero { padding: clamp(64px, 10vh, 112px) 0 clamp(45px, 7vh, 74px); }

.hero h1 {
  max-width: 900px;
  margin: 18px 0 24px;
  font-family: "Songti SC", "STSong", serif;
  font-size: clamp(48px, 7.8vw, 94px);
  font-weight: 500;
  line-height: 1.03;
  letter-spacing: -0.035em;
}

.hero h1 span { color: var(--teal); }

.hero > p:last-child {
  max-width: 610px;
  margin: 0;
  color: #9aa8a2;
  font-size: clamp(14px, 1.6vw, 18px);
  line-height: 1.9;
}

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

.card {
  position: relative;
  min-height: 222px;
  padding: 24px;
  overflow: hidden;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(15, 28, 24, 0.46);
  transition: transform 180ms ease, background 180ms ease;
}

.card:hover, .card:focus-visible {
  z-index: 2;
  outline: 1px solid rgba(126, 189, 172, 0.48);
  background: rgba(24, 46, 39, 0.75);
  transform: translateY(-4px);
}

.card-document {
  grid-column: 1 / -1;
  min-height: 174px;
  background:
    linear-gradient(105deg, rgba(49, 80, 70, 0.78), rgba(15, 28, 24, 0.5)),
    rgba(15, 28, 24, 0.46);
}

.card-document h2 { margin: 25px 0 22px; }

.card-document i { width: min(420px, 62%); }

.number {
  color: var(--amber);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  letter-spacing: 0.14em;
}

.arrow { float: right; color: var(--teal); font-size: 17px; }

.card h2 {
  margin: 34px 0 27px;
  font-family: "Songti SC", "STSong", serif;
  font-size: clamp(19px, 2vw, 25px);
  font-weight: 500;
  line-height: 1.25;
}

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

.card i {
  position: relative;
  display: block;
  width: 75%;
  height: 4px;
  margin-top: 18px;
  border-radius: 20px;
  background: linear-gradient(90deg, var(--teal), rgba(126, 189, 172, 0.35));
}

.card i::after {
  position: absolute;
  top: 50%;
  right: 0;
  width: 10px;
  height: 10px;
  border: 2px solid #10201c;
  border-radius: 50%;
  background: #a6d6c8;
  content: "";
  transform: translate(50%, -50%);
  box-shadow: 0 0 0 1px var(--teal);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0 34px;
  color: #75847e;
  font-size: 11px;
}

footer p { margin: 0; }

footer b {
  display: inline-grid;
  place-items: center;
  width: 17px;
  height: 17px;
  margin-right: 6px;
  border: 1px solid #9a7c49;
  border-radius: 50%;
  color: var(--amber);
  font-weight: 500;
}

@media (max-width: 920px) { .cases { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

@media (max-width: 580px) {
  .landing { padding-inline: 18px; }
  .header { min-height: 72px; }
  .eyebrow { font-size: 8px; }
  .badge { display: none; }
  .hero { padding: 55px 0 42px; }
  .hero h1 { font-size: clamp(47px, 15vw, 66px); }
  .cases { grid-template-columns: 1fr; }
  .card { min-height: 185px; }
  .card-document { grid-column: auto; }
  footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.001ms !important; }
}
