/* ICP 备案静态首页 — 单页样式，无构建依赖 */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: linear-gradient(165deg, #f0f4f8 0%, #e8eef5 45%, #f8fafc 100%);
  color: #0f172a;
  line-height: 1.6;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-header {
  text-align: center;
  padding: 48px 0 24px;
}

.site-tag {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #64748b;
}

.site-title {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.site-subtitle {
  margin: 10px 0 0;
  font-size: 0.95rem;
  color: #475569;
}

.main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px 16px 48px;
}

.main h1 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 600;
  color: #1e293b;
}

.main-link-wrap {
  position: relative;
  display: inline-block;
  margin-top: 28px;
}

.main-link {
  display: inline-block;
  padding: 12px 28px;
  font-size: 1rem;
  font-weight: 600;
  color: #e65100;
  text-decoration: none;
  background: #fff;
  border: 1px solid #ffcc80;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(255, 152, 0, 0.12);
  transition: background 0.15s ease, box-shadow 0.15s ease;
}

.main-link:hover,
.main-link:focus-visible {
  background: #fff8f0;
  box-shadow: 0 6px 18px rgba(255, 152, 0, 0.18);
  outline: none;
}

.main-link-pop {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 12px);
  transform: translateX(-50%) translateY(6px);
  padding: 8px 14px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #4e342e;
  white-space: nowrap;
  background: #fff;
  border: 1px solid #ffe0b2;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  z-index: 2;
}

.main-link-pop::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  transform: translateX(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  background: #fff;
  border-right: 1px solid #ffe0b2;
  border-bottom: 1px solid #ffe0b2;
}

.main-link-wrap:hover .main-link-pop,
.main-link-wrap:focus-within .main-link-pop {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.site-footer {
  text-align: center;
  padding: 20px 16px 28px;
  font-size: 12px;
  color: #999;
  flex-shrink: 0;
}

.site-footer-beian {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 5px;
  line-height: 1.6;
}

.site-footer-label {
  color: #999;
  flex-shrink: 0;
}

.site-footer-links {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.site-footer a {
  color: #999;
  text-decoration: none;
  line-height: 1.5;
}

.site-footer a:hover {
  color: #64748b;
  text-decoration: underline;
}

.site-footer-psb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.site-footer-psb img {
  display: block;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
