:root {
  --ink: #182230;
  --muted: #667384;
  --line: #dce2e8;
  --blue: #0877e6;
  --soft: #f4f6f8;
  --white: #fff;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--soft);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

.legal-header {
  min-height: 74px;
  padding: 14px max(22px, calc((100vw - 980px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.legal-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.legal-brand img { width: 36px; height: 36px; border-radius: 10px; }
.legal-header > a:last-child { color: var(--blue); text-decoration: none; font-size: 13px; }

.legal-shell {
  width: min(920px, calc(100% - 34px));
  margin: 42px auto 70px;
  padding: 46px 54px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 18px 55px rgba(24, 34, 48, .06);
}

.eyebrow { margin: 0 0 10px; color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.legal-shell h1 { margin: 0; font-size: 40px; line-height: 1.2; }
.updated { margin: 12px 0 32px; color: var(--muted); font-size: 12px; }
.legal-shell h2 { margin: 34px 0 12px; font-size: 20px; }
.legal-shell p, .legal-shell li { color: #526070; font-size: 14px; line-height: 1.85; }
.legal-shell ul { padding-left: 22px; }

.notice {
  margin: 26px 0;
  padding: 18px;
  border: 1px solid #cbdced;
  border-radius: 13px;
  background: #f3f8ff;
}

.notice strong { display: block; margin-bottom: 6px; }
.support-contact-card {
  margin: 28px 0;
  padding: 20px;
  display: grid;
  grid-template-columns: 152px minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  border: 1px solid #cbdced;
  border-radius: 16px;
  background: #f3f8ff;
}
.support-contact-card img { width: 152px; height: 152px; object-fit: contain; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.support-contact-card h2 { margin-top: 0; }
.support-contact-card p { margin: 4px 0; }
.support-contact-note { font-size: 12px !important; }
.legal-actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 10px; }
.legal-actions a { padding: 11px 15px; border: 1px solid var(--line); border-radius: 10px; color: #35526d; background: var(--white); text-decoration: none; font-weight: 700; }
.legal-actions a.primary { color: var(--white); background: var(--blue); border-color: var(--blue); }
.legal-footer { padding: 0 20px 40px; text-align: center; color: var(--muted); font-size: 11px; }

@media (max-width: 680px) {
  .legal-shell { margin-top: 22px; padding: 28px 22px; border-radius: 16px; }
  .legal-shell h1 { font-size: 31px; }
  .legal-header { min-height: 66px; }
  .legal-brand span { font-size: 14px; }
  .support-contact-card { grid-template-columns: 1fr; text-align: center; }
  .support-contact-card img { margin: 0 auto; }
}
