:root {
  --paper: #f6f1e7;
  --ink: #2b2118;
  --muted: #8a7a66;
  --red: #e4362f;
  --blue: #2f5bd3;
  --green: #2fbf71;
  --pink: #ff9cc6;
  --serif: "Iowan Old Style", "Songti SC", "Noto Serif SC", Georgia, serif;
  --sans: "PingFang SC", "Hiragino Sans GB", system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }

.page {
  min-height: 100svh;
  padding: max(env(safe-area-inset-top), 16px) 16px max(env(safe-area-inset-bottom), 24px);
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  transform-origin: 50% 45%;
  transition: transform 1.1s cubic-bezier(.2, .9, .25, 1), opacity .8s;
}
.page:not(.revealed) { transform: scale(.94); opacity: .85; }

.hero {
  min-height: 88svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.eyebrow { margin: 0 0 14px; font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(44px, 13vw, 120px);
  line-height: .95;
  letter-spacing: -.02em;
}
.hero h1 span { color: var(--red); font-style: italic; }
.sub { margin: 18px 0 0; color: var(--muted); font-size: 15px; letter-spacing: .2em; }

.revealed .hero > * { animation: rise .9s cubic-bezier(.2, .9, .25, 1) backwards; }
.revealed .hero h1 { animation-delay: .08s; }
.revealed .hero .sub { animation-delay: .16s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

.shelf { display: grid; gap: 14px; grid-template-columns: 1fr; }
.card {
  border-radius: 20px;
  padding: 22px 22px 26px;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
}
.card h2 { margin: 0; font-family: var(--serif); font-size: 30px; font-weight: 600; }
.card p { margin: 6px 0 0; opacity: .85; font-size: 13px; letter-spacing: .12em; }
.c1 { background: var(--blue); }
.c2 { background: var(--red); }
.c3 { background: var(--green); }

.foot { display: flex; gap: 18px; justify-content: center; align-items: center; padding: 40px 0 8px; font-size: 14px; }
.foot button {
  font: inherit; color: var(--ink); background: #fff; border: 1px solid #e3d8c6;
  border-radius: 999px; padding: 10px 18px; cursor: pointer;
}
.foot a { color: var(--muted); }

/* 平板 / PC */
@media (min-width: 720px) {
  .page { padding-left: 32px; padding-right: 32px; }
  .shelf { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .card { min-height: 220px; }
}

@media (prefers-reduced-motion: reduce) {
  .page, .revealed .hero > * { transition: none; animation: none; transform: none; }
}
