:root {
  color-scheme: light;
  --bg: #f5efe6;
  --bg-strong: #f9f4ec;
  --surface: rgba(255, 252, 247, 0.92);
  --surface-strong: #fffaf3;
  --border: rgba(116, 78, 36, 0.14);
  --text: #2b2017;
  --muted: #6b5746;
  --accent: #b56a2d;
  --accent-soft: rgba(181, 106, 45, 0.12);
  --shadow: 0 18px 60px rgba(69, 45, 20, 0.12);
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(225, 184, 132, 0.28), transparent 32%),
    radial-gradient(circle at bottom right, rgba(156, 117, 84, 0.18), transparent 30%),
    linear-gradient(180deg, #f7f1e7 0%, #f2eadf 48%, #efe6da 100%);
  font-family: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Source Han Sans SC", sans-serif;
  line-height: 1.7;
}

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

.shell {
  width: min(1120px, calc(100% - 32px));
  margin: 32px auto 64px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 36px;
  border-radius: var(--radius-xl);
  background: linear-gradient(140deg, rgba(255, 252, 247, 0.95), rgba(246, 238, 225, 0.9));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.hero::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 240px;
  height: 240px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(181, 106, 45, 0.22), rgba(181, 106, 45, 0));
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.hero h1 {
  margin: 18px 0 12px;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.08;
}

.hero p {
  margin: 0;
  max-width: 760px;
  font-size: 17px;
  color: var(--muted);
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.meta-card,
.section,
.nav,
.footer {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.meta-card {
  padding: 18px 18px 16px;
}

.meta-label {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.meta-value {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
}

.layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.nav {
  position: sticky;
  top: 24px;
  align-self: start;
  padding: 18px;
}

.nav h2,
.section h2 {
  margin: 0 0 14px;
  font-size: 18px;
}

.nav a {
  display: block;
  padding: 10px 12px;
  margin-bottom: 8px;
  text-decoration: none;
  color: var(--text);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.52);
}

.nav a:hover {
  background: rgba(181, 106, 45, 0.12);
}

.section {
  padding: 26px;
  margin-bottom: 18px;
}

.section p,
.section li {
  color: var(--muted);
  font-size: 16px;
}

.section ul {
  margin: 0;
  padding-left: 20px;
}

.section li + li {
  margin-top: 8px;
}

.callout {
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 248, 239, 0.9);
  border: 1px solid rgba(181, 106, 45, 0.18);
  color: var(--text);
}

.footer {
  padding: 20px 24px;
  margin-top: 24px;
}

.footer p {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 900px) {
  .layout {
    grid-template-columns: 1fr;
  }

  .nav {
    position: static;
  }

  .hero {
    padding: 24px;
  }
}
