:root {
  color-scheme: light;
  --ink: #30291f;
  --muted: #756957;
  --paper: #fffaf0;
  --line: #ddcfb8;
  --red: #a92e27;
  --green: #3f6d43;
  --amber: #a87520;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 12%, rgb(169 46 39 / 10%), transparent 28rem),
    linear-gradient(145deg, #e9dfcc, #f6f0e4 55%, #e4d7c0);
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
}

.shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px 16px;
}

.card {
  width: min(660px, 100%);
  padding: clamp(26px, 6vw, 52px);
  border: 1px solid rgb(154 128 89 / 35%);
  border-radius: 24px;
  background: rgb(255 250 240 / 94%);
  box-shadow: 0 28px 80px rgb(69 52 29 / 18%);
}

.seal {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #fff7e8;
  background: var(--red);
  box-shadow: 0 10px 24px rgb(169 46 39 / 25%);
  font-family: SimSun, serif;
  font-size: 28px;
  font-weight: 700;
}

.eyebrow {
  margin: 28px 0 8px;
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

h1 {
  margin: 0;
  font-size: clamp(28px, 7vw, 42px);
  letter-spacing: -0.03em;
}

.intro {
  margin: 18px 0 26px;
  color: var(--muted);
  line-height: 1.8;
}

.checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.check {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 92px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fffdf8;
}

.dot {
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 5px rgb(168 117 32 / 12%);
}

.check.success .dot {
  background: var(--green);
  box-shadow: 0 0 0 5px rgb(63 109 67 / 12%);
}

.check.failure .dot {
  background: var(--red);
  box-shadow: 0 0 0 5px rgb(169 46 39 / 12%);
}

.check h2,
.check p {
  margin: 0;
}

.check h2 {
  font-size: 14px;
}

.check p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}

.detail {
  min-height: 44px;
  margin: 18px 0 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

button {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 12px;
  color: #fff9ed;
  background: var(--red);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

button:hover {
  background: #922620;
}

button:focus-visible {
  outline: 3px solid rgb(169 46 39 / 25%);
  outline-offset: 3px;
}

button:disabled {
  cursor: wait;
  opacity: 0.58;
}

.instructions {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.instructions strong {
  color: var(--ink);
}

.instructions p {
  margin: 7px 0 0;
}

@media (max-width: 520px) {
  .checks {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}
