:root {
  color-scheme: dark;
  --surface: #111410;
  --surface-soft: #181c17;
  --text: #e8ebe4;
  --muted: #a9afa5;
  --line: #343a32;
  --accent: #a7c875;
  --accent-ink: #10140d;
  --radius: 6px;
  font-family: "Microsoft YaHei UI", "Noto Sans CJK SC", "PingFang SC", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-width: 320px;
  min-height: 100%;
  background: var(--surface);
  color: var(--text);
}

body {
  min-height: 100dvh;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.check-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.8fr);
  min-height: 100dvh;
}

.check-copy {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100dvh;
  padding: clamp(24px, 4vw, 64px);
}

.brand {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.status-block {
  align-self: center;
  max-width: 660px;
  padding: 40px 0;
}

.status-block::before {
  display: block;
  width: 76px;
  height: 3px;
  margin-bottom: 28px;
  background: var(--accent);
  content: "";
}

.status-block h1 {
  min-height: 2.4em;
  margin: 0;
  font-size: clamp(36px, 6vh, 72px);
  font-weight: 520;
  line-height: 1.2;
  letter-spacing: 0;
  text-wrap: balance;
}

.status-tail {
  white-space: nowrap;
}

.status-note {
  max-width: 38ch;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.action-slot {
  min-height: 72px;
  padding-top: 24px;
}

.public-button {
  min-width: 124px;
  min-height: 44px;
  border: 0;
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--accent-ink);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

.public-button:hover {
  filter: brightness(1.06);
}

.public-button:active {
  transform: translateY(1px);
}

.privacy-link,
.back-link {
  width: fit-content;
  color: var(--muted);
  font-size: 14px;
  text-underline-offset: 4px;
}

.privacy-link:hover,
.back-link:hover {
  color: var(--text);
}

.check-visual {
  position: relative;
  min-height: 100dvh;
  margin: 0;
  overflow: hidden;
  background: var(--surface-soft);
}

.check-visual::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(17 20 16 / 0.08), rgb(17 20 16 / 0.5));
  content: "";
  pointer-events: none;
}

.check-visual img {
  width: 100%;
  height: 100%;
  min-height: 100dvh;
  object-fit: cover;
  object-position: 54% center;
  filter: saturate(0.56) contrast(1.08) brightness(0.72);
}

.privacy-layout {
  width: min(100% - 40px, 960px);
  margin: 0 auto;
  padding: clamp(32px, 7vw, 96px) 0 96px;
}

.privacy-header {
  max-width: 700px;
  margin-bottom: 72px;
}

.privacy-header h1 {
  margin: 44px 0 16px;
  font-size: clamp(42px, 8vh, 76px);
  font-weight: 520;
  line-height: 1.08;
  letter-spacing: 0;
}

.privacy-header p,
.privacy-content p {
  color: var(--muted);
  line-height: 1.9;
}

.privacy-content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 56px;
  border-top: 1px solid var(--line);
}

.privacy-content section {
  padding: 32px 0 30px;
  border-bottom: 1px solid var(--line);
}

.privacy-content h2 {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 650;
}

.privacy-content p {
  margin: 6px 0 0;
  font-size: 15px;
}

.privacy-content a {
  color: var(--accent);
  text-underline-offset: 4px;
}

@media (max-width: 760px) {
  .check-layout {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(500px, 65dvh) minmax(240px, 35dvh);
  }

  .check-copy {
    min-height: 65dvh;
    padding: 24px 20px;
  }

  .status-block {
    padding: 32px 0;
  }

  .status-block h1 {
    min-height: 2.7em;
    font-size: clamp(34px, 10vw, 52px);
  }

  .check-visual,
  .check-visual img {
    min-height: 35dvh;
  }

  .privacy-content {
    grid-template-columns: 1fr;
  }
}

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