:root {
  color-scheme: dark;
  --ink: #f6efd8;
  --muted: #b9b39e;
  --dim: #817b68;
  --black: #040706;
  --panel: rgba(11, 15, 12, 0.82);
  --panel-strong: rgba(17, 21, 17, 0.92);
  --line: rgba(217, 176, 82, 0.24);
  --line-cool: rgba(87, 144, 116, 0.32);
  --gold: #d9b052;
  --gold-bright: #f0cf74;
  --moss: #8fa63c;
  --moss-bright: #b7ce55;
  --violet: #7052c8;
  --cyan: #60d4dd;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
  font-family:
    "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--black);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 84% 18%, rgba(112, 82, 200, 0.16), transparent 27rem),
    radial-gradient(circle at 45% 58%, rgba(96, 212, 221, 0.1), transparent 26rem),
    #030605;
}

a {
  color: inherit;
}

img,
svg {
  display: block;
}

.page-shell {
  min-height: 100vh;
  overflow: hidden;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(217, 176, 82, 0.18);
  background: rgba(3, 6, 5, 0.72);
  backdrop-filter: blur(16px);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  text-decoration: none;
}

.brand-mark {
  width: 52px;
  height: 52px;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(96, 212, 221, 0.22));
}

.brand-logo {
  width: min(266px, 44vw);
  height: auto;
  margin-left: 8px;
  filter: drop-shadow(0 0 18px rgba(112, 82, 200, 0.22));
}

.site-nav {
  display: flex;
  gap: 28px;
  align-items: center;
  color: var(--muted);
  font-size: 15px;
}

.site-nav a {
  text-decoration: none;
  transition:
    color 160ms ease,
    text-shadow 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--gold-bright);
  text-shadow: 0 0 18px rgba(217, 176, 82, 0.35);
  outline: none;
}

.hero-section {
  position: relative;
  min-height: clamp(590px, 76svh, 830px);
  padding: clamp(104px, 12vh, 150px) clamp(18px, 6vw, 92px) 56px;
  isolation: isolate;
}

.hero-backdrop,
.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-backdrop {
  background-image: url("../images/hero-bg.png");
  background-position: center center;
  background-size: cover;
  transform: scale(1.02);
}

.hero-vignette {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(3, 6, 5, 0.9) 0%, rgba(3, 6, 5, 0.7) 35%, rgba(3, 6, 5, 0.2) 76%),
    linear-gradient(180deg, rgba(3, 6, 5, 0.25) 0%, rgba(3, 6, 5, 0.12) 58%, #030605 100%);
}

.hero-content {
  width: min(1120px, 100%);
  padding-top: clamp(24px, 5vh, 64px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  margin: 0 0 22px;
  color: var(--gold-bright);
  font-size: clamp(15px, 1.6vw, 21px);
  letter-spacing: 0;
}

.eyebrow::before,
.eyebrow::after {
  width: 54px;
  height: 1px;
  margin: 0 14px;
  background: linear-gradient(90deg, transparent, var(--gold));
  content: "";
}

.eyebrow::before {
  margin-left: 0;
}

.eyebrow::after {
  background: linear-gradient(90deg, var(--gold), transparent);
}

h1 {
  margin: 0;
  font-family: "STKaiti", "KaiTi", "FangSong", serif;
  font-size: clamp(70px, 11vw, 150px);
  font-weight: 900;
  line-height: 0.98;
  color: #fff8e7;
  text-shadow:
    0 2px 0 rgba(0, 0, 0, 0.55),
    0 0 36px rgba(217, 176, 82, 0.28);
}

.hero-subtitle {
  max-width: 1120px;
  margin: 12px 0 18px;
  font-family: "STKaiti", "KaiTi", "FangSong", serif;
  font-size: clamp(38px, 5.5vw, 78px);
  font-weight: 800;
  line-height: 1.1;
  white-space: nowrap;
  color: #bcd36a;
  text-shadow: 0 0 28px rgba(143, 166, 60, 0.28);
}

.hero-tagline {
  margin: 0;
  color: rgba(246, 239, 216, 0.84);
  font-size: clamp(18px, 2vw, 27px);
}

.feature-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  width: min(640px, 100%);
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(217, 176, 82, 0.14);
  border-bottom: 1px solid rgba(87, 144, 116, 0.16);
  background: linear-gradient(90deg, rgba(4, 7, 6, 0), rgba(4, 7, 6, 0.28), rgba(4, 7, 6, 0));
}

.feature-row li {
  display: grid;
  min-width: 0;
  min-height: 110px;
  align-content: center;
  justify-items: center;
  padding: 16px 14px;
  text-align: center;
}

.feature-row li + li {
  border-left: 1px solid rgba(217, 176, 82, 0.18);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 8px;
  border: 1px solid rgba(183, 206, 85, 0.44);
  border-radius: 50%;
  color: var(--moss-bright);
  font-weight: 800;
  line-height: 1;
  box-shadow: inset 0 0 18px rgba(183, 206, 85, 0.08);
}

.feature-row strong {
  color: var(--ink);
  font-size: clamp(18px, 1.7vw, 23px);
  font-weight: 800;
}

.feature-row span:last-child {
  margin-top: 4px;
  color: var(--muted);
  font-size: clamp(13px, 1.1vw, 15px);
}

.action-section {
  position: relative;
  padding: 0 clamp(18px, 6vw, 92px) clamp(44px, 7vh, 80px);
  margin-top: -42px;
}

.action-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 18px;
  border: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(217, 176, 82, 0.08), rgba(87, 144, 116, 0.06), rgba(112, 82, 200, 0.08)),
    rgba(5, 8, 7, 0.82);
  box-shadow: var(--shadow);
}

.action-card {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  min-height: 262px;
  padding: 28px;
  border: 1px solid rgba(217, 176, 82, 0.14);
  border-radius: 8px;
  background:
    radial-gradient(circle at 15% 5%, rgba(143, 166, 60, 0.17), transparent 10rem),
    var(--panel);
}

.action-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 18px;
  border: 1px solid rgba(217, 176, 82, 0.22);
  border-radius: 50%;
  color: var(--moss-bright);
  background: rgba(255, 255, 255, 0.04);
}

.action-icon svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.action-card h2 {
  margin: 0;
  color: #fff8e7;
  font-size: clamp(24px, 2.2vw, 31px);
  line-height: 1.18;
}

.action-card p {
  margin: 10px 0 24px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.button-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #fff9df;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease,
    filter 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
  filter: brightness(1.05);
}

.button-primary {
  background: linear-gradient(180deg, var(--gold-bright), #a77722);
  box-shadow: 0 12px 28px rgba(217, 176, 82, 0.24);
}

.button-secondary {
  background: linear-gradient(180deg, var(--moss-bright), #617c22);
  box-shadow: 0 12px 28px rgba(143, 166, 60, 0.2);
}

.button[aria-disabled="true"] {
  cursor: not-allowed;
  color: rgba(246, 239, 216, 0.58);
  background: linear-gradient(180deg, #33372d, #191d18);
  border-color: rgba(217, 176, 82, 0.14);
  box-shadow: none;
  transform: none;
  filter: none;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
  justify-content: center;
  min-height: 74px;
  padding: 22px;
  border-top: 1px solid rgba(217, 176, 82, 0.14);
  color: var(--dim);
  background: #030605;
  font-size: 14px;
}

@media (max-width: 1024px) {
  .site-header {
    min-height: 68px;
  }

  .site-nav {
    gap: 18px;
  }

  .hero-section {
    min-height: 620px;
  }

  .hero-content {
    width: min(690px, 100%);
  }

  .action-grid {
    grid-template-columns: 1fr;
    max-width: 680px;
  }

  .action-card {
    min-height: 0;
  }
}

@media (max-width: 720px) {
  .site-header {
    position: absolute;
    min-height: 64px;
    padding: 10px 16px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .brand-logo {
    width: min(196px, 58vw);
    margin-left: 6px;
  }

  .site-nav {
    display: none;
  }

  .hero-section {
    min-height: 590px;
    padding: 92px 18px 34px;
  }

  .hero-backdrop {
    background-position: 62% center;
  }

  .hero-vignette {
    background:
      linear-gradient(90deg, rgba(3, 6, 5, 0.94) 0%, rgba(3, 6, 5, 0.7) 64%, rgba(3, 6, 5, 0.34) 100%),
      linear-gradient(180deg, rgba(3, 6, 5, 0.2) 0%, rgba(3, 6, 5, 0.22) 58%, #030605 100%);
  }

  .hero-content {
    padding-top: 24px;
  }

  .eyebrow {
    margin-bottom: 16px;
    font-size: 14px;
  }

  .eyebrow::before,
  .eyebrow::after {
    width: 24px;
    margin-right: 10px;
    margin-left: 10px;
  }

  h1 {
    font-size: clamp(54px, 17vw, 78px);
  }

  .hero-subtitle {
    font-size: clamp(31px, 10vw, 44px);
    white-space: normal;
  }

  .hero-tagline {
    font-size: 17px;
  }

  .feature-row {
    grid-template-columns: 1fr;
    width: min(360px, 100%);
    margin-top: 30px;
  }

  .feature-row li {
    grid-template-columns: auto 1fr;
    min-height: 78px;
    column-gap: 12px;
    justify-items: start;
    padding: 12px 6px;
    text-align: left;
  }

  .feature-row li + li {
    border-top: 1px solid rgba(217, 176, 82, 0.18);
    border-left: 0;
  }

  .feature-icon {
    grid-row: span 2;
    width: 38px;
    height: 38px;
    margin: 0;
  }

  .feature-row span:last-child {
    margin-top: 0;
  }

  .action-section {
    padding: 0 14px 34px;
    margin-top: -28px;
  }

  .action-grid {
    gap: 14px;
    padding: 12px;
  }

  .action-card {
    padding: 22px;
  }

  .button-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 430px) {
  .hero-section {
    min-height: 560px;
  }

  .brand-logo {
    width: min(170px, 56vw);
  }

  .action-card p {
    font-size: 14px;
  }

  .button {
    min-height: 46px;
    font-size: 16px;
  }
}
