:root {
  color-scheme: dark;
  --text: #fffaf1;
  --muted: rgba(255, 250, 241, 0.76);
  --line: rgba(255, 255, 255, 0.2);
  --panel: rgba(25, 28, 42, 0.62);
  --panel-strong: rgba(22, 24, 34, 0.78);
  --accent: #f2b16d;
  --accent-dark: #6a3f26;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  background: #151823;
  color: var(--text);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url("./assets/home-bg.png") center / cover no-repeat;
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: linear-gradient(90deg, rgba(13, 16, 24, 0.84), rgba(13, 16, 24, 0.42) 48%, rgba(13, 16, 24, 0.18));
  z-index: -1;
}

.page-shell {
  min-height: calc(100vh - 70px);
}

.hero {
  position: relative;
  min-height: 74vh;
  display: flex;
  align-items: center;
  padding: 72px clamp(24px, 7vw, 108px) 56px;
}

.hero__content {
  width: min(680px, 100%);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.96;
  font-weight: 800;
  letter-spacing: 0;
}

.intro {
  width: min(560px, 100%);
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.8;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  border-radius: 6px;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  background: var(--text);
  border-color: var(--text);
  color: #17130f;
}

.button--ghost {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.section {
  padding: 0 clamp(18px, 5vw, 72px) 64px;
}

.section__inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 1180px;
}

.panel {
  min-height: 190px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  backdrop-filter: blur(18px);
}

.panel span {
  color: var(--accent);
  font-weight: 800;
}

.panel h2 {
  margin: 28px 0 12px;
  font-size: 1.35rem;
  letter-spacing: 0;
}

.panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.site-footer {
  min-height: 70px;
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding: 18px 24px;
  color: rgba(255, 250, 241, 0.76);
  background: rgba(12, 14, 20, 0.86);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer a {
  color: rgba(255, 250, 241, 0.86);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--accent);
}

@media (max-width: 760px) {
  body::after {
    background: linear-gradient(180deg, rgba(13, 16, 24, 0.82), rgba(13, 16, 24, 0.54));
  }

  .hero {
    min-height: 68vh;
    padding-top: 56px;
  }

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

  .button {
    width: 100%;
  }
}
