:root {
  --bg: #f5f5f3;
  --surface: #ffffff;
  --line: #e7e6e2;
  --line-strong: #d4d3cd;
  --ink: #1b1b1a;
  --muted: #6f6f6b;
  --dim: #97978f;
  --accent: #3e5c49;
  --radius: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.shell {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.page {
  display: flex;
  flex-direction: column;
  flex: 1;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 28px 36px;
}

/* 抬头：点阵交互区（通栏，占视口大部分高度） */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(460px, 68vh, 700px);
  padding: 48px 24px;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 96px;
  background: linear-gradient(180deg, rgba(245, 245, 243, 0), var(--bg));
  pointer-events: none;
}

.dots {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.mark {
  width: 56px;
  height: 56px;
}

.eyebrow {
  margin: 20px 0 8px;
  color: var(--dim);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.title {
  margin: 0;
  font-size: clamp(42px, 7vw, 58px);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-indent: 0.14em;
  color: var(--ink);
}

/* 入口卡片 */
.tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin: 0 0 64px;
}

.tile {
  display: flex;
  flex-direction: column;
  padding: 28px 28px 26px;
  color: inherit;
  text-decoration: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.tile:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: 0 12px 32px rgba(20, 20, 15, 0.06);
}

.tile-mark {
  margin-bottom: 20px;
  color: #b3b2ab;
  transition: color 0.3s ease;
}

.tile:hover .tile-mark {
  color: var(--accent);
}

.tile-label {
  margin: 0 0 6px;
  color: var(--dim);
  font-size: 11px;
  letter-spacing: 0.24em;
}

.tile-title {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.tile-desc {
  flex: 1;
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.85;
}

.tile-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  padding-bottom: 2px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  border-bottom: 1px solid var(--line-strong);
  transition:
    color 0.3s ease,
    border-color 0.3s ease;
}

.tile:hover .tile-cta {
  color: var(--accent);
  border-color: var(--accent);
}

.arrow {
  transition: transform 0.3s ease;
}

.tile:hover .arrow {
  transform: translateX(3px);
}

/* 页脚 */
.footer {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
}

.legal a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--dim);
  font-size: 12.5px;
  text-decoration: none;
  transition: color 0.25s ease;
}

.legal a:hover {
  color: var(--muted);
}

.legal img {
  opacity: 0.85;
}

.copyright {
  margin: 12px 0 0;
  color: var(--dim);
  font-size: 12.5px;
  letter-spacing: 0.08em;
}

/* 入场动画 */
.mark,
.eyebrow,
.title,
.tile {
  animation: rise 0.7s ease both;
}

.eyebrow {
  animation-delay: 0.06s;
}

.title {
  animation-delay: 0.12s;
}

.tile {
  animation-delay: 0.24s;
}

.tile:nth-child(2) {
  animation-delay: 0.3s;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mark,
  .eyebrow,
  .title,
  .tile {
    animation: none;
  }

  .tile,
  .tile-mark,
  .tile-cta,
  .arrow,
  .legal a {
    transition: none;
  }
}

/* 移动端 */
@media (max-width: 760px) {
  .page {
    padding: 0 20px 28px;
  }

  .hero {
    min-height: clamp(380px, 60vh, 540px);
    padding: 40px 16px;
  }

  .tiles {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 48px;
  }
}
