:root {
  --bg: #f5f8fc;
  --bg-soft: #ffffff;
  --bg-panel: rgba(255, 255, 255, 0.88);
  --line: rgba(15, 23, 42, 0.08);
  --line-strong: rgba(15, 23, 42, 0.14);
  --text: #0f172a;
  --muted: #64748b;
  --muted-2: #94a3b8;
  --sky: #0ea5e9;
  --teal: #14b8a6;
  --navy: #0f172a;
  --card-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
  --soft-shadow: 0 12px 38px rgba(15, 23, 42, 0.06);
  --max: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(14, 165, 233, 0.12), transparent 28%),
    radial-gradient(circle at bottom right, rgba(20, 184, 166, 0.10), transparent 24%),
    linear-gradient(180deg, #f8fbff 0%, #f3f7fb 55%, #ffffff 100%);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button {
  font: inherit;
}

main {
  padding-top: 108px;
}

.container,
.header-shell {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  padding: 36px 0 28px;
}

.hero-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94) 0%, rgba(250, 252, 255, 0.84) 52%, rgba(241, 248, 255, 0.92) 100%);
  box-shadow: var(--card-shadow);
}

.hero-shell::before,
.hero-shell::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(10px);
  pointer-events: none;
}

.hero-shell::before {
  width: 280px;
  height: 280px;
  right: -60px;
  top: -90px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.18), transparent 72%);
}

.hero-shell::after {
  width: 240px;
  height: 240px;
  left: -90px;
  bottom: -120px;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.16), transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.9fr);
  gap: 34px;
  align-items: start;
  padding: 44px 46px;
}

.hero-copy {
  max-width: 760px;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 13px;
  color: var(--muted);
}

.breadcrumb a:hover {
  color: var(--text);
}

.breadcrumb-sep {
  color: #cbd5e1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(14, 165, 233, 0.16);
  background: rgba(255, 255, 255, 0.82);
  color: #0369a1;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--sky), var(--teal));
  box-shadow: 0 0 0 6px rgba(14, 165, 233, 0.08);
}

.hero-title {
  margin: 18px 0 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.hero-title span {
  display: block;
}

.hero-highlight {
  margin-top: 6px;
  color: #0f172a;
}

.hero-desc {
  max-width: 650px;
  margin: 20px 0 0;
  font-size: 17px;
  line-height: 1.85;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.btn-dark,
.btn-light,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  transition: 0.25s ease;
  white-space: nowrap;
}

.btn-dark,
.btn-light {
  height: 48px;
  padding: 0 22px;
  font-size: 14px;
  font-weight: 700;
}

.btn-dark {
  color: #fff;
  background: var(--navy);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.16);
}

.btn-dark:hover {
  background: #1e293b;
  transform: translateY(-1px);
}

.btn-light {
  color: var(--navy);
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: rgba(255, 255, 255, 0.82);
}

.btn-light:hover {
  background: #fff;
  border-color: rgba(148, 163, 184, 0.34);
  transform: translateY(-1px);
}

.hero-side {
  display: grid;
  gap: 18px;
}

.hero-card,
.article-card,
.toc-card,
.action-card {
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 28px;
  background: var(--bg-panel);
  box-shadow: var(--soft-shadow);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.hero-card {
  padding: 24px 24px 22px;
}

.hero-card-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #0369a1;
}

.hero-card-copy {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
}

.hero-card-list {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
}

.hero-card-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.hero-card-item:first-child {
  padding-top: 0;
  border-top: 0;
}

.hero-card-index {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: rgba(14, 165, 233, 0.1);
  color: #0369a1;
  font-size: 12px;
  font-weight: 800;
}

.hero-card-item strong {
  display: block;
  font-size: 15px;
  margin-bottom: 4px;
}

.hero-card-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.72;
  color: var(--muted);
}

.section {
  padding: 18px 0 72px;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.toc-card {
  position: sticky;
  top: 110px;
  padding: 24px;
}

.toc-title {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0369a1;
}

.toc-links {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.toc-links a {
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(248, 250, 252, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.18);
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
}

.toc-links a:hover {
  border-color: rgba(14, 165, 233, 0.22);
  color: #0369a1;
  background: #fff;
}

.toc-note {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}

.article-card {
  padding: 34px 34px 28px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-bottom: 18px;
  font-size: 13px;
  color: var(--muted);
}

.article-block {
  padding: 26px 0;
  border-top: 1px solid var(--line);
}

.article-block:first-of-type {
  padding-top: 0;
  border-top: 0;
}

.article-block h2 {
  margin: 0 0 14px;
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.article-block p,
.article-block li {
  font-size: 16px;
  line-height: 1.95;
  color: #334155;
}

.article-block p {
  margin: 0 0 12px;
}

.article-block p:last-child {
  margin-bottom: 0;
}

.article-block ul {
  margin: 0;
  padding-left: 1.2em;
}

.article-block li + li {
  margin-top: 10px;
}

.notice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 26px;
}

.action-card {
  padding: 22px;
}

.action-card-title {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0369a1;
}

.action-card p {
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.82;
  color: var(--muted);
}

.action-card .btn-light,
.action-card .btn-dark {
  margin-top: 18px;
}

.error-shell {
  padding-bottom: 72px;
}

.error-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 40px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 251, 255, 0.88) 56%, rgba(242, 248, 255, 0.92) 100%);
  box-shadow: var(--card-shadow);
}

.error-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(14, 165, 233, 0.14), transparent 22%),
    radial-gradient(circle at 90% 80%, rgba(20, 184, 166, 0.12), transparent 22%);
  pointer-events: none;
}

.error-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  gap: 30px;
  padding: 56px 48px 52px;
  align-items: center;
}

.error-code {
  font-size: clamp(104px, 18vw, 196px);
  line-height: 0.85;
  letter-spacing: -0.08em;
  font-weight: 800;
  color: #0f172a;
}

.error-title {
  margin: 18px 0 0;
  font-size: clamp(30px, 4.8vw, 54px);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.error-desc {
  max-width: 640px;
  margin: 18px 0 0;
  font-size: 17px;
  line-height: 1.88;
  color: var(--muted);
}

.error-links {
  display: grid;
  gap: 16px;
}

.error-link-card {
  padding: 20px 22px;
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--soft-shadow);
}

.error-link-card strong {
  display: block;
  font-size: 17px;
  margin-bottom: 6px;
}

.error-link-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.74;
  color: var(--muted);
}

.error-link-card:hover {
  border-color: rgba(14, 165, 233, 0.24);
  transform: translateY(-1px);
}

.footer-section {
  background: linear-gradient(180deg, #f8fbff 0%, #eef7ff 36%, #0f172a 100%);
  border-top: 1px solid var(--line);
}
.footer-wrap {
  padding: 0 0 40px;
}
.footer-card {
  overflow: hidden;
  border-radius: 36px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.98) 100%);
  color: #fff;
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.18);
  padding: 34px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: inherit;
  text-decoration: none;
}
.footer-brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 60%, #334155 100%);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.22);
  position: relative;
  overflow: hidden;
  flex: 0 0 auto;
}
.footer-brand-mark::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.22), transparent 55%);
}
.footer-brand-mark::after {
  content: "";
  position: relative;
  z-index: 1;
  width: 24px;
  height: 24px;
  background: center / contain no-repeat url("../brand/junzhuo-logo-mark.svg");
}
.footer-brand-mark svg { display: none; }
.footer-brand-title { font-size: 15px; font-weight: 700; }
.footer-nav,
.footer-links {
  display: flex;
  flex-wrap: wrap;
}
.footer-nav {
  justify-content: flex-end;
  gap: 8px;
}
.footer-nav a {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: #cbd5e1;
  padding: 10px 16px;
  font-size: 14px;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.footer-nav a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.footer-copy {
  max-width: 720px;
  margin-top: 16px;
  color: #94a3b8;
  font-size: 14px;
  line-height: 1.9;
}
.footer-bottom {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #94a3b8;
  font-size: 14px;
  flex-wrap: wrap;
}
.footer-meta-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-record {
  color: #94a3b8;
  font-size: 14px;
}
.footer-links {
  gap: 20px;
}
.footer-links a:hover {
  color: #fff;
}

@media (max-width: 1100px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-nav { justify-content: flex-start; }
}
@media (max-width: 720px) {
  .footer-section { padding-top: 64px; padding-bottom: 32px; }
  .footer-copy { font-size: 13px; line-height: 1.85; }
  .footer-card { padding: 24px; }
  .footer-top { gap: 24px; }
}
