@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg: #fbfaf7;
  --surface: rgba(255, 255, 255, 0.94);
  --surface-strong: #ffffff;
  --text: #171717;
  --muted: #4b5563;
  --line: rgba(23, 23, 23, 0.10);
  --brand: #d4af37;
  --brand-deep: #b88f19;
  --shadow: 0 20px 48px rgba(23, 23, 23, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  font-family: "Inter", "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(212, 175, 55, 0.10), transparent 26%),
    linear-gradient(180deg, #fffdf7 0%, var(--bg) 48%, #f6f4ee 100%);
}

a {
  color: var(--text);
}

.shell {
  width: min(960px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 28px 0 56px;
}

.hero,
.section,
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero {
  border-radius: 28px;
  padding: 28px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.16);
  color: #6b5310;
  font-size: 0.86rem;
  font-weight: 700;
}

h1 {
  margin: 16px 0 10px;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.05;
}

h2 {
  margin: 0 0 14px;
  font-size: 1.3rem;
}

h3 {
  margin: 18px 0 10px;
  font-size: 1rem;
}

.lead {
  margin: 0;
  max-width: 44rem;
  color: var(--muted);
  line-height: 1.78;
  font-size: 1rem;
}

.meta {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.92rem;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.nav a,
.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(23, 23, 23, 0.10);
  border-radius: 14px;
  background: var(--surface-strong);
  text-decoration: none;
  font-weight: 600;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
  cursor: pointer;
}

.nav a:hover,
.button-link:hover {
  background: #fff8dd;
  border-color: rgba(184, 143, 25, 0.34);
  transform: translateY(-1px);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.card {
  border-radius: 22px;
  padding: 22px;
}

.section {
  margin-top: 18px;
  border-radius: 24px;
  padding: 24px;
}

p,
li {
  color: var(--muted);
  line-height: 1.8;
}

ul,
ol {
  margin: 0;
  padding-left: 1.25rem;
}

.footer {
  margin-top: 20px;
  color: var(--muted);
  font-size: 0.92rem;
  text-align: center;
}

.inline-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  background: rgba(23, 23, 23, 0.06);
  border-radius: 8px;
  padding: 1px 6px;
}

.list-tight li + li {
  margin-top: 6px;
}

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

  .nav a,
  .button-link {
    transition: none;
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(100vw - 20px, 960px);
    padding-top: 18px;
    padding-bottom: 36px;
  }

  .hero,
  .section,
  .card {
    border-radius: 20px;
    padding: 18px;
  }
}
