:root {
  --paper: #f4f1eb;
  --paper-2: #fffdf9;
  --ink: #1c1714;
  --muted: #6d645c;
  --line: #e4ddd3;
  --rose: #d01262;
  --rose-deep: #8e1248;
  --rose-soft: #fde7f0;
  --shadow: 0 18px 50px rgba(28, 23, 20, 0.08);
  --radius: 22px;
  --sans: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", sans-serif;
  --serif: "Noto Serif SC", "Songti SC", serif;
  --space: 8px;
  --max: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--rose-deep); }
button, a { cursor: pointer; }
h1, h2, h3 { font-family: var(--serif); text-wrap: balance; letter-spacing: -0.02em; }
p { text-wrap: pretty; }

.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0 8px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { width: 44px; height: 44px; border-radius: 14px; background: var(--rose); }
.brand b { display: block; font-size: 16px; }
.brand span { display: block; color: var(--muted); font-size: 13px; font-family: var(--sans); }
.nav { display: flex; gap: 8px; }
.nav a {
  text-decoration: none;
  color: var(--ink);
  padding: 10px 14px;
  border-radius: 999px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.nav a[aria-current="page"], .nav a:hover { background: var(--rose-soft); color: var(--rose-deep); }

.hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; padding: 48px 0 28px; }
.kicker { color: var(--rose-deep); font-weight: 600; letter-spacing: 0.08em; font-size: 13px; text-transform: uppercase; }
h1 { font-size: clamp(40px, 6vw, 68px); line-height: 1.12; margin: 10px 0 16px; }
.lede { font-size: 19px; color: var(--muted); margin: 0 0 22px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 20px; border-radius: 999px;
  text-decoration: none; font-weight: 600;
}
.btn-primary { background: var(--rose); color: #fff; }
.btn-primary:hover { background: var(--rose-deep); }
.btn-quiet { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.frame {
  background: var(--paper-2);
  border-radius: 28px;
  padding: 12px;
  box-shadow: var(--shadow);
}
.frame img { border-radius: 18px; width: 100%; height: auto; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 12px 0 40px; }
.split { grid-template-columns: 1fr 1fr; }
.card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.card h2 { margin: 0 0 8px; font-size: 26px; }
.card p { margin: 0; color: var(--muted); }
.num { color: var(--rose); font-family: var(--serif); font-size: 14px; }

.band {
  background: var(--ink);
  color: #f7f2ea;
  border-radius: 28px;
  padding: 36px;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 24px;
  align-items: center;
  margin-bottom: 48px;
}
.band h2 { margin: 0 0 8px; font-size: 32px; }
.band p { margin: 0; color: #d9d0c6; }
.band a { color: #fff; }

.prose { padding: 18px 0 64px; max-width: 740px; }
.prose h1 { font-size: clamp(36px, 5vw, 52px); margin-bottom: 8px; }
.meta { color: var(--muted); }
.prose h2 { font-size: 26px; margin: 36px 0 8px; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin: 6px 0; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.site-footer a { color: var(--ink); }

@media (max-width: 800px) {
  .hero, .grid, .split, .band { grid-template-columns: 1fr; }
  .wrap { width: min(var(--max), calc(100% - 28px)); }
  h1 { font-size: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
