:root {
  --ink: #1d1b21;
  --paper: #fffaf1;
  --pink: #ff7198;
  --rose: #ff4f7d;
  --yellow: #ffd95f;
  --muted: #6d6873;
  --line: #ded7ce;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 10%, rgba(255, 217, 95, .24), transparent 28rem),
    radial-gradient(circle at 90% 30%, rgba(255, 113, 152, .16), transparent 30rem),
    var(--paper);
  font-family: ui-rounded, "SF Pro Rounded", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}
a { color: inherit; }
.site-shell, .legal-shell { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.hero { min-height: 70vh; display: flex; flex-direction: column; justify-content: center; padding: 72px 0 44px; }
.brand-mark {
  width: 58px; height: 58px; display: grid; place-items: center;
  border: 2px solid var(--ink); border-radius: 50%; background: var(--yellow);
  font: 800 30px/1 Georgia, serif; transform: rotate(-7deg); box-shadow: 5px 5px 0 var(--ink);
}
.eyebrow { margin: 28px 0 14px; font-size: 13px; font-weight: 800; letter-spacing: .18em; }
h1 { max-width: 850px; margin: 0; font-size: clamp(54px, 9vw, 116px); line-height: .9; letter-spacing: -.07em; }
h1 span { color: var(--rose); }
.lede { max-width: 590px; margin: 28px 0 0; color: var(--muted); font-size: clamp(18px, 2vw, 22px); line-height: 1.65; }
.piano {
  width: min(560px, 100%); height: 84px; margin-top: 46px; display: grid;
  grid-template-columns: repeat(8, 1fr); border: 2px solid var(--ink);
  border-radius: 12px; overflow: hidden; box-shadow: 8px 8px 0 var(--ink); transform: rotate(-1deg);
}
.piano i { background: white; border-right: 2px solid var(--ink); }
.piano i:last-child { border-right: 0; }
.piano i:nth-child(2), .piano i:nth-child(5), .piano i:nth-child(7) { background: var(--pink); }
.link-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; padding: 30px 0 80px; }
.info-card {
  min-height: 310px; display: flex; flex-direction: column; padding: 34px;
  border: 2px solid var(--ink); border-radius: 24px; background: rgba(255,255,255,.72);
  text-decoration: none; box-shadow: 8px 8px 0 var(--ink); transition: transform .18s ease, box-shadow .18s ease;
}
.info-card:hover, .info-card:focus-visible { transform: translate(4px, 4px); box-shadow: 4px 4px 0 var(--ink); outline: none; }
.info-card.accent { background: var(--pink); }
.card-number { font: 800 13px/1 ui-monospace, monospace; letter-spacing: .16em; }
.info-card h2 { margin: auto 0 10px; font-size: clamp(38px, 5vw, 64px); letter-spacing: -.04em; }
.info-card p { max-width: 390px; margin: 0 0 22px; color: #403b44; font-size: 17px; line-height: 1.55; }
.info-card strong { font-size: 15px; }
footer { padding: 28px 0 36px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.legal-shell { padding: 30px 0 72px; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 0 42px; }
.home-link { font-weight: 900; text-decoration: none; letter-spacing: -.02em; }
.topbar nav { display: flex; gap: 20px; }
.topbar nav a { color: var(--muted); font-size: 14px; font-weight: 700; text-decoration: none; }
.topbar nav a:hover { color: var(--rose); }
.legal-hero { padding: 54px 0 46px; border-bottom: 2px solid var(--ink); }
.legal-hero .tag {
  display: inline-block; padding: 8px 13px; border: 1.5px solid var(--ink);
  border-radius: 999px; background: var(--yellow); font-size: 12px; font-weight: 900; letter-spacing: .08em;
}
.legal-hero h1 { margin-top: 22px; font-size: clamp(48px, 8vw, 92px); }
.legal-hero p { max-width: 700px; margin: 24px 0 0; color: var(--muted); font-size: 19px; line-height: 1.7; }
.legal-content { display: grid; grid-template-columns: 220px minmax(0, 720px); gap: 70px; padding: 52px 0; }
.legal-meta { color: var(--muted); font-size: 13px; line-height: 1.7; }
.legal-meta strong { display: block; color: var(--ink); }
.legal-copy section { padding: 0 0 36px; }
.legal-copy h2 { margin: 0 0 14px; font-size: 26px; letter-spacing: -.025em; }
.legal-copy p, .legal-copy li { color: #4f4953; font-size: 16px; line-height: 1.8; }
.legal-copy ul, .legal-copy ol { padding-left: 22px; }
.legal-copy a { color: #c92055; font-weight: 700; }
.notice {
  margin: 4px 0 36px; padding: 22px 24px; border: 2px solid var(--ink);
  border-radius: 18px; background: #fff; box-shadow: 5px 5px 0 var(--pink); font-weight: 700; line-height: 1.7;
}
@media (max-width: 700px) {
  .site-shell, .legal-shell { width: min(100% - 26px, 1120px); }
  .hero { min-height: auto; padding-top: 54px; }
  .link-grid { grid-template-columns: 1fr; }
  .info-card { min-height: 260px; padding: 26px; }
  .legal-content { grid-template-columns: 1fr; gap: 26px; }
  .legal-hero { padding-top: 30px; }
  .topbar { align-items: flex-start; }
  .topbar nav { flex-direction: column; gap: 7px; text-align: right; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
