@import url("https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,400;0,6..12,600;0,6..12,700;1,6..12,400&family=Sora:wght@500;600;700&display=swap");

:root {
  --ink: #1a2330;
  --muted: #667286;
  --line: #dde5ee;
  --canvas: #edf3f7;
  --paper: #ffffff;
  --brand: #148a63;
  --mint: #60e4ab;
  --mint-deep: #1bb87a;
  --mint-soft: #e6f9f0;
  --header-ink: #f4fffa;
  --header-muted: #b8e6d2;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Nunito Sans", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  font-optical-sizing: auto;
  line-height: 1.8;
  background:
    radial-gradient(ellipse 90% 55% at 12% -10%, rgba(96, 228, 171, 0.28), transparent 55%),
    radial-gradient(ellipse 70% 45% at 100% 8%, rgba(120, 180, 230, 0.18), transparent 50%),
    linear-gradient(180deg, #e8f4ef 0%, var(--canvas) 38%, #e9eef4 100%);
  background-attachment: fixed;
  min-height: 100vh;
}

.shell {
  max-width: 1080px;
  margin: 0 auto;
  padding: 28px 28px 72px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.topbar a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.topbar a:hover,
.topbar a:focus-visible {
  color: var(--brand);
  outline: none;
}

.topbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-family: Sora, "Nunito Sans", sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.topbar-brand::before {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 4px rgba(96, 228, 171, 0.28);
  content: "";
}

header.hero {
  position: relative;
  overflow: hidden;
  margin: 0 0 0;
  padding: 48px 44px 44px;
  border-radius: 22px 22px 0 0;
  background:
    linear-gradient(135deg, rgba(20, 138, 99, 0.92) 0%, rgba(27, 110, 88, 0.95) 48%, rgba(22, 70, 78, 0.97) 100%),
    radial-gradient(circle at 88% 18%, rgba(96, 228, 171, 0.45), transparent 42%);
  color: var(--header-ink);
}

header.hero::before {
  position: absolute;
  inset: auto -8% -40% 42%;
  height: 160%;
  background: radial-gradient(circle, rgba(96, 228, 171, 0.22), transparent 62%);
  content: "";
  pointer-events: none;
}

header.hero > * {
  position: relative;
  z-index: 1;
}

.brand-label {
  display: inline-block;
  margin: 0 0 14px;
  color: var(--mint);
  font-family: Sora, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1 {
  max-width: 820px;
  margin: 0 0 12px;
  font-family: Sora, "Nunito Sans", sans-serif;
  font-size: clamp(28px, 4.2vw, 42px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.18;
}

.meta {
  margin: 0;
  color: var(--header-muted);
  font-size: 14px;
  font-weight: 600;
}

.layout {
  background: var(--paper);
  border: 1px solid rgba(221, 229, 238, 0.9);
  border-top: 0;
  border-radius: 0 0 22px 22px;
  box-shadow: 0 18px 48px rgba(26, 50, 60, 0.06);
}

nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 14px 28px;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  white-space: nowrap;
}

nav strong {
  flex: 0 0 auto;
  display: block;
  margin-right: 12px;
  padding-right: 14px;
  border-right: 1px solid var(--line);
  color: var(--brand);
  font-family: Sora, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

nav a {
  flex: 0 0 auto;
  padding: 7px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.18s ease, color 0.18s ease;
}

nav a:hover,
nav a:focus-visible {
  background: var(--mint-soft);
  color: var(--brand);
  outline: none;
}

article {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 36px 56px;
}

section {
  padding: 0 0 36px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 64px;
}

section + section {
  padding-top: 40px;
}

section:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

h2 {
  margin: 0 0 14px;
  color: var(--ink);
  font-family: Sora, "Nunito Sans", sans-serif;
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

h2::before {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 10px;
  margin-bottom: 2px;
  border-radius: 50%;
  background: var(--mint);
  vertical-align: middle;
  content: "";
}

h3 {
  margin: 28px 0 8px;
  color: var(--ink);
  font-family: Sora, "Nunito Sans", sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
}

p {
  margin: 0 0 14px;
}

ul,
ol {
  margin: 0 0 16px;
  padding-left: 1.3em;
}

li {
  padding-left: 4px;
}

li + li {
  margin-top: 6px;
}

.disclaimer {
  margin: 0 0 24px;
  padding: 14px 16px;
  border-left: 3px solid #e0a84a;
  background: #fff8e8;
  color: #6b4f12;
  font-size: 14px;
}

.note {
  margin: 22px 0 2px;
  padding: 16px 18px;
  border-left: 3px solid var(--mint-deep);
  background: var(--mint-soft);
  color: #1f4f3d;
  border-radius: 0 10px 10px 0;
}

.table-wrap {
  overflow-x: auto;
  margin: 20px 0;
  border: 1px solid var(--line);
  border-radius: 12px;
}

table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  background: var(--paper);
  font-size: 14px;
}

th,
td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  text-align: left;
}

th {
  background: #f0faf5;
  color: var(--brand);
  font-family: Sora, sans-serif;
  font-weight: 600;
}

tr:last-child td {
  border-bottom: 0;
}

a {
  color: var(--brand);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--mint-deep);
}

.page-footer {
  margin-top: 28px;
  padding: 8px 4px 0;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

@media (max-width: 820px) {
  .shell {
    padding: 16px 16px 48px;
  }

  header.hero {
    padding: 36px 22px 32px;
    border-radius: 16px 16px 0 0;
  }

  .layout {
    border-radius: 0 0 16px 16px;
  }

  nav {
    padding: 10px 14px;
  }

  nav strong {
    margin-right: 8px;
    padding-right: 10px;
  }

  article {
    padding: 36px 20px 40px;
  }

  section {
    padding-bottom: 28px;
  }

  section + section {
    padding-top: 32px;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 15px;
  }

  .topbar {
    margin-bottom: 18px;
  }

  h1 {
    font-size: 26px;
  }

  nav a {
    font-size: 12px;
    padding: 6px 10px;
  }
}

@media print {
  body {
    background: #fff;
    color: #000;
  }

  .shell {
    max-width: none;
    padding: 0;
  }

  .topbar,
  nav {
    display: none;
  }

  header.hero {
    margin: 0 0 24px;
    padding: 0 0 16px;
    background: #fff;
    color: #000;
    border-radius: 0;
    border-bottom: 2px solid #000;
  }

  header.hero::before {
    display: none;
  }

  .brand-label,
  .meta {
    color: #000;
  }

  .layout {
    border: 0;
    box-shadow: none;
  }

  section {
    break-inside: avoid;
  }
}
