:root {
  color-scheme: light;
  --bg: #f6faf7;
  --surface: #ffffff;
  --ink: #17211c;
  --muted: #5f7067;
  --line: #dce8e1;
  --green-dark: #126654;
  --soft-shadow: 0 18px 45px rgba(36, 69, 52, 0.08);
  --ring: rgba(13, 148, 136, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  margin: 0;
  padding: 0;
  max-width: none;
  min-width: 320px;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "PingFang TC", "Hiragino Sans GB", "Microsoft YaHei", "Microsoft JhengHei", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0;
}

a {
  color: var(--green-dark);
}

a:focus-visible {
  outline: 3px solid var(--ring);
  outline-offset: 3px;
  border-radius: 6px;
}

.doc-content,
.footer-inner {
  width: min(800px, calc(100% - 40px));
  margin: 0 auto;
}

.doc-content {
  padding: 36px 0 70px;
}

.cardDiv {
  background-color: var(--surface);
  box-shadow: var(--soft-shadow);
}

.grayText {
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.footer-inner {
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 34px 0 38px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}

.footer-inner a {
  color: inherit;
  text-decoration: none;
  transition: color 180ms ease;
}

.footer-inner a:hover {
  color: var(--green-dark);
}

.footer-records {
  display: grid;
  gap: 6px;
}

.footer-records p,
.copyright {
  margin: 0;
}

.police-record {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.police-record img {
  display: block;
}

@media (max-width: 720px) {
  .doc-content,
  .footer-inner {
    width: min(100% - 28px, 800px);
  }
}
