html {
  min-height: 100%;
  background: linear-gradient(135deg, #f0f4ff, #e0f0ff);
  color-scheme: light;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  font-family: 'Microsoft YaHei', Arial, sans-serif;
  display: grid;
  place-items: center;
  text-align: center;
  padding: clamp(32px, 8vh, 88px) 24px;
  background: linear-gradient(135deg, #f0f4ff, #e0f0ff);
  color: #333;
}

.container {
  width: min(920px, 100%);
}

h1 {
  font-size: clamp(38px, 4.6vw, 56px);
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: #0073e6;
  margin: 0 0 18px;
}

p {
  font-size: 18px;
  line-height: 1.6;
  color: #555;
  margin-bottom: 40px;
}

.site-link {
  display: inline-block;
  font-size: 20px;
  color: #fff;
  background: #0073e6;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.site-link:hover {
  background: #005bb5;
}

.site-link:visited {
  color: #fff;
}

.site-link:focus-visible {
  outline: 2px solid #84b6ff;
  outline-offset: 2px;
}

.domain {
  margin-top: 20px;
  font-size: 18px;
  color: #333;
  word-break: break-all;
}

.domain-link,
.domain-link:visited {
  color: #0a58ca;
  text-decoration: none;
}

.domain-link:hover {
  color: #084298;
  text-decoration: none;
}

.domain-link:active {
  color: #06357a;
}

.domain-link:focus-visible {
  outline: 2px solid #84b6ff;
  outline-offset: 2px;
  border-radius: 4px;
}

@media (prefers-color-scheme: dark) {
  html {
    background: linear-gradient(135deg, #0f172a, #111827);
    color-scheme: dark;
  }

  body {
    background: linear-gradient(135deg, #0f172a, #111827);
    color: #d1d5db;
  }

  h1 {
    color: #60a5fa;
  }

  p {
    color: #cbd5e1;
  }

  .domain {
    color: #e5e7eb;
  }

  .domain-link,
  .domain-link:visited {
    color: #93c5fd;
  }

  .domain-link:hover {
    color: #bfdbfe;
  }

  .domain-link:active {
    color: #dbeafe;
  }

  .domain-link:focus-visible,
  .site-link:focus-visible {
    outline-color: #93c5fd;
  }

  .site-link {
    color: #e5e7eb;
    background: #1d4ed8;
  }

  .site-link:hover {
    background: #1e40af;
  }

  .site-link:visited {
    color: #e5e7eb;
  }
}

@media (max-width: 768px) {
  body {
    padding: calc(28px + env(safe-area-inset-top)) 20px calc(28px + env(safe-area-inset-bottom));
  }

  h1 {
    font-size: clamp(30px, 8.2vw, 38px);
    line-height: 1.22;
    margin-bottom: 14px;
  }

  p {
    font-size: 16px;
    margin-bottom: 24px;
  }

  .domain {
    margin-top: 10px;
    font-size: 16px;
    line-height: 1.7;
  }

  .site-link {
    display: inline-block;
    width: auto;
    max-width: min(100%, 320px);
    margin: 0 auto;
    font-size: 18px;
    padding: 14px 28px;
  }
}
