:root {
  --bg: #07111f;
  --card: rgba(12, 28, 52, 0.78);
  --line: rgba(90, 196, 255, 0.18);
  --text: #e9f3ff;
  --muted: #b7c7d8;
  --accent: #3ce7ff;
  --shadow: 0 24px 60px rgba(1, 8, 24, 0.45);
  --font: "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px !important;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-style: normal;
  color: var(--text);
  background:
    radial-gradient(1000px 420px at 50% -8%, rgba(48, 164, 255, 0.2), transparent 55%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow: auto;
}

.doc-shell {
  width: min(860px, calc(100% - 48px));
  margin: 0 auto;
  padding: 40px 0 80px;
}

.doc-header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 28px;
}

.doc-logo img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 0 0 1px var(--line), 0 10px 24px rgba(0, 0, 0, 0.3);
}

.doc-header h1 {
  margin: 0;
  color: var(--text);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.doc-card {
  color: var(--muted);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 36px 40px 48px;
  line-height: 1.85;
  font-size: 15.5px;
  backdrop-filter: blur(16px);
}

.headline {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin: 28px 0 12px;
  padding-left: 12px;
  border-left: 3px solid var(--accent);
}

.headline:first-child {
  margin-top: 0;
}

#backtop {
  position: fixed;
  bottom: 28px;
  right: 20px;
  width: 56px;
  display: none;
  cursor: pointer;
  z-index: 80;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.35));
}

@media (max-width: 800px) {
  .doc-shell {
    width: calc(100% - 28px);
    padding-top: 24px;
  }

  .doc-header h1 {
    font-size: 22px;
  }

  .doc-logo img {
    width: 56px;
    height: 56px;
  }

  .doc-card {
    padding: 24px 20px 36px;
    font-size: 15px;
  }
}
