/* Smartie Verse 法律页面 — 版式与 pages/us 一致 */
:root {
  --bg: #f7f6f3;
  --surface: #ffffff;
  --ink: #1c1b19;
  --muted: #5c5a55;
  --line: #e4e2dc;
  --accent: #0f6e56;
  --accent-soft: #e7f4ef;
  --max: 42rem;
  --font: ui-sans-serif, system-ui, -apple-system, "PingFang SC", "Hiragino Sans GB",
    "Noto Sans SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  --serif: "Songti SC", "Noto Serif SC", "Source Han Serif SC", ui-serif, Georgia,
    "Times New Roman", serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, var(--accent-soft), transparent 55%),
    var(--bg);
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-thickness: 2px;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-header__inner,
.site-footer__inner,
.page {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.15rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
  text-decoration: none;
}

.page {
  padding: 2.5rem 0 4rem;
}

.page__eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.page__title {
  margin: 0 0 0.75rem;
  font-family: var(--serif);
  font-size: clamp(1.85rem, 4vw, 2.35rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.page__meta {
  margin: 0 0 2rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.toc {
  margin: 0 0 2.25rem;
  padding: 1.1rem 1.25rem;
  list-style: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.toc li {
  margin: 0.35rem 0;
}

.toc a {
  text-decoration: none;
}

.toc a:hover {
  text-decoration: underline;
}

article section {
  margin: 0 0 2.25rem;
  padding-top: 0.25rem;
}

article h2 {
  margin: 0 0 0.85rem;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  scroll-margin-top: 4.5rem;
}

article h3 {
  margin: 1.35rem 0 0.55rem;
  font-size: 1.05rem;
  font-weight: 650;
}

article p,
article li,
.privacy-tbl td {
  color: color-mix(in srgb, var(--ink) 92%, var(--muted));
}

article p {
  margin: 0 0 0.9rem;
}

article ul,
article ol:not(.toc) {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

article li {
  margin: 0.35rem 0;
}

article strong {
  color: var(--ink);
  font-weight: 650;
}

article u {
  text-underline-offset: 0.12em;
}

.privacy-tbl {
  margin: 0 0 1.25rem;
  overflow-x: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.privacy-tbl table {
  width: 100%;
  min-width: 52rem;
  border-collapse: collapse;
  font-size: 0.82rem;
  line-height: 1.45;
}

.privacy-tbl th,
.privacy-tbl td {
  padding: 0.55rem 0.7rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  text-align: left;
}

.privacy-tbl th {
  font-weight: 650;
  color: var(--ink);
  background: var(--accent-soft);
  white-space: nowrap;
}

.privacy-tbl tr:last-child td {
  border-bottom: none;
}

.privacy-tbl a {
  word-break: break-all;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0 2rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
}

@media (max-width: 560px) {
  .site-header__inner,
  .site-footer__inner,
  .page {
    width: min(100% - 1.5rem, var(--max));
  }
}
