:root {
  color-scheme: light dark;
  --page-bg: #f3f6fb;
  --surface: #fff;
  --surface-soft: #f7f9fd;
  --text: #172033;
  --muted: #59677d;
  --border: #dce4f0;
  --primary: #315bdb;
  --safe: #147a55;
  --safe-bg: #eaf8f2;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--page-bg);
}

a {
  color: var(--primary);
  text-underline-offset: 3px;
}

a:focus-visible {
  outline: 3px solid rgb(49 91 219 / 22%);
  outline-offset: 3px;
  border-radius: 3px;
}

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.site-header__inner,
.page,
.site-footer__inner {
  width: min(880px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header__inner {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}

.brand {
  color: var(--primary);
  font-size: 14px;
  font-weight: 750;
  letter-spacing: 0.18em;
  text-decoration: none;
}

.back-link {
  min-height: 44px;
  padding: 12px 0;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.page {
  padding: 56px 0 72px;
}

.eyebrow {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  margin: 0;
  padding: 8px 12px;
  color: var(--safe);
  font-size: 13px;
  font-weight: 650;
  background: var(--safe-bg);
  border-radius: 999px;
}

.eyebrow::before {
  width: 8px;
  height: 8px;
  content: "";
  background: var(--safe);
  border-radius: 50%;
}

h1 {
  margin: 22px 0 0;
  font-size: clamp(32px, 6vw, 48px);
  line-height: 1.18;
  letter-spacing: -0.035em;
}

.lead {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.identity-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin: 36px 0;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 14px 42px rgb(32 50 86 / 8%);
}

.identity-card div {
  display: grid;
  gap: 5px;
}

.identity-card dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.identity-card dd {
  margin: 0;
  font-size: 15px;
  font-weight: 620;
  line-height: 1.6;
}

.content-card {
  padding: 12px 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
}

section {
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}

section:last-child {
  border-bottom: 0;
}

h2 {
  margin: 0;
  font-size: 20px;
  line-height: 1.45;
}

p,
li {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

ul,
ol {
  padding-left: 22px;
}

.warning {
  padding: 18px 20px;
  color: #76500f;
  background: #fff8e8;
  border: 1px solid #f1daa8;
  border-radius: 12px;
}

.warning strong {
  color: #684307;
}

.site-footer {
  padding: 24px 0;
  color: var(--muted);
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.site-footer__inner {
  display: flex;
  gap: 16px;
  justify-content: space-between;
  font-size: 13px;
  line-height: 1.6;
}

@media (prefers-color-scheme: dark) {
  :root {
    --page-bg: #0f1520;
    --surface: #161e2b;
    --surface-soft: #1a2433;
    --text: #f3f6fc;
    --muted: #b2bed1;
    --border: #2d3b52;
    --primary: #9ab3ff;
    --safe: #74d8b4;
    --safe-bg: #17352e;
  }

  .identity-card {
    box-shadow: 0 14px 42px rgb(0 0 0 / 24%);
  }

  .warning {
    color: #f3d39a;
    background: #342817;
    border-color: #624a22;
  }

  .warning strong {
    color: #ffe0a8;
  }
}

@media (max-width: 640px) {
  .site-header__inner,
  .page,
  .site-footer__inner {
    width: min(100% - 28px, 880px);
  }

  .page {
    padding: 40px 0 56px;
  }

  .identity-card {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .content-card {
    padding: 8px 20px;
  }

  .site-footer__inner {
    flex-direction: column;
  }
}
