:root {
  --blue: #1769e0;
  --ink: #111827;
  --muted: #667085;
  --line: #e4e9f1;
  --soft: #f4f7fb;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--soft);
  font-family: Inter, "HarmonyOS Sans SC", "MiSans", "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

a:focus-visible { outline: 3px solid rgba(23, 105, 224, 0.35); outline-offset: 3px; }

.legal-header {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(24px, calc((100vw - 1120px) / 2));
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.legal-brand { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.legal-brand img { width: 64px; height: 64px; object-fit: contain; mix-blend-mode: multiply; }
.legal-brand span { letter-spacing: .08em; }
.legal-back { color: var(--blue); font-size: 14px; font-weight: 600; }

.legal-shell {
  width: min(calc(100% - 40px), 920px);
  margin: 64px auto 90px;
  padding: 64px 74px;
  background: #fff;
  box-shadow: 0 20px 60px rgba(17, 40, 82, 0.08);
}

.legal-kicker { color: var(--blue); font-size: 11px; font-weight: 700; letter-spacing: .15em; }
.legal-shell h1 { margin: 20px 0 12px; font-size: clamp(36px, 5vw, 56px); line-height: 1.2; }
.legal-date { margin-bottom: 48px; color: #8a94a5; font-size: 13px; }
.legal-intro { padding: 24px 26px; color: #4d5b71; background: #f2f7ff; border-left: 3px solid var(--blue); line-height: 1.9; }
.legal-shell section { padding-top: 32px; }
.legal-shell h2 { margin: 0 0 16px; font-size: 21px; }
.legal-shell p,
.legal-shell li { color: var(--muted); font-size: 14px; line-height: 2; }
.legal-shell ul { margin: 12px 0; padding-left: 22px; }
.legal-shell a:not(.legal-back) { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.legal-footer { padding: 32px 20px; color: #7c8798; text-align: center; font-size: 12px; }
.legal-footer a { color: inherit; text-decoration: none; }
.legal-footer a:hover { color: var(--blue); }

.not-found { min-height: calc(100vh - 80px); display: grid; place-items: center; padding: 30px; text-align: center; }
.not-found strong { display: block; color: var(--blue); font-size: 90px; line-height: 1; }
.not-found h1 { margin: 22px 0 12px; font-size: 32px; }
.not-found p { margin: 0 0 30px; color: var(--muted); }
.not-found a { display: inline-flex; padding: 14px 24px; color: #fff; background: var(--blue); }

@media (max-width: 680px) {
  .legal-header { height: 70px; padding: 0 16px; }
  .legal-brand img { width: 54px; height: 54px; }
  .legal-shell { margin: 30px auto 60px; padding: 38px 24px; }
  .legal-date { margin-bottom: 34px; }
}
