:root {
  color-scheme: light;
  --paper: #f7f2e8;
  --paper-deep: #eee4d2;
  --ink: #172a46;
  --muted: #6f7480;
  --line: rgba(23, 42, 70, 0.14);
  --surface: rgba(255, 255, 255, 0.72);
  font-family: ui-serif, Georgia, "Times New Roman", "Songti SC", "STSong", serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 10%, rgba(255, 255, 255, 0.92), transparent 34rem),
    linear-gradient(145deg, var(--paper) 0%, var(--paper-deep) 100%);
  min-height: 100vh;
}

a {
  color: var(--ink);
  text-underline-offset: 0.2em;
}

.page-shell {
  width: min(760px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0 36px;
}

.hero,
.legal-header {
  text-align: center;
  margin-bottom: 42px;
}

.eyebrow {
  margin: 0 0 12px;
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.36em;
}

h1 {
  margin: 0;
  font-size: clamp(2.8rem, 10vw, 5.2rem);
  font-weight: 400;
  letter-spacing: -0.045em;
}

.tagline,
.effective-date {
  margin: 18px 0 0;
  color: var(--muted);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
}

.card {
  margin: 18px 0;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: 0 18px 50px rgba(23, 42, 70, 0.07);
  backdrop-filter: blur(14px);
}

h2 {
  margin: 0 0 16px;
  font-size: 1.3rem;
  font-weight: 600;
}

p {
  line-height: 1.85;
}

.card > p:last-child {
  margin-bottom: 0;
}

.response-note {
  color: var(--muted);
  font-size: 0.92rem;
}

details {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

details:first-of-type {
  border-top: 0;
}

summary {
  cursor: pointer;
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif;
  font-weight: 600;
}

details p {
  margin: 12px 0 0;
  color: var(--muted);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 30px;
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif;
  font-size: 0.9rem;
}

footer {
  margin-top: 24px;
  color: var(--muted);
  text-align: center;
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif;
  font-size: 0.82rem;
}

.legal-page {
  padding-top: 30px;
}

.back-link {
  margin-bottom: 48px;
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif;
  font-size: 0.9rem;
}

.legal-content h2:not(:first-child) {
  margin-top: 32px;
}

@media (max-width: 560px) {
  .page-shell {
    width: min(100% - 22px, 760px);
    padding-top: 48px;
  }

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

  .footer-links {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
}
