:root {
  --bg-page: #ffffff;
  --bg-subtle: #fafafa;
  --bg-soft: #f5f5f5;
  --bg-code: #f5f5f5;
  --bg-code-inline: #f6f8fb;
  --line: #eeeeee;
  --line-strong: #dddddd;
  --text: rgba(0, 0, 0, 0.9);
  --muted: rgba(0, 0, 0, 0.6);
  --muted-soft: rgba(0, 0, 0, 0.4);
  --brand: #07c160;
  --brand-hover: #00b54b;
  --brand-soft: rgba(7, 193, 96, 0.1);
  --link: #0052d9;
  --warning: #faad14;
  --danger: #d54941;
  --shadow: 0 0 4px rgba(0, 0, 0, 0.08);
  --sidebar-width: 300px;
  --radius-sm: 4px;
  --radius-md: 6px;
  --font-ui: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --topbar-height: 84px;
  --strip-height: 70px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: linear-gradient(
    180deg,
    #ddeef8 0%,
    #e1f1f9 5%,
    #e5f3fa 10%,
    #e8f5fb 15%,
    #eaf6fb 20%,
    #ecf6fb 25%,
    #eef7fb 30%,
    #f0f7fb 35%,
    #f1f8fb 40%,
    #f2f8fa 44%,
    #f3f8f9 48%,
    #f3f8f8 52%,
    #f3f8f7 56%,
    #f2f7f6 60%,
    #f2f7f5 64%,
    #f1f6f4 68%,
    #f0f6f3 72%,
    #eff5f2 76%,
    #eef5f1 80%,
    #edf4f0 84%,
    #ecf4ef 88%,
    #ebf3ee 92%,
    #eaf3ed 96%,
    #e9f2ec 100%
  );
  background-attachment: fixed;
}

body {
  margin: 0;
  min-height: 100vh;
  background: transparent;
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 14px;
  line-height: 1.6;
  position: relative;
}

a {
  color: var(--link);
  text-decoration: none;
}

a:hover {
  color: var(--brand-hover);
}

img {
  max-width: 100%;
  height: auto;
}

code,
kbd,
pre {
  font-family: "Fira Code", "Cascadia Code", "Consolas", monospace;
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.12);
}

.container {
  width: 100%;
  max-width: 1368px;
  margin: 0 auto 36px;
  position: relative;
  z-index: 1;
}

.kg-site-nature {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.kg-nature-bird {
  position: absolute;
  pointer-events: none;
  user-select: none;
  animation: kg-bird-fly linear infinite;
  filter: opacity(0.55) sepia(0.15) saturate(0.85);
}

.kg-nature-bird.b1 {
  top: 8%;
  width: 72px;
  animation-duration: 42s;
}

.kg-nature-bird.b2 {
  top: 15%;
  width: 52px;
  animation-duration: 58s;
  animation-delay: -20s;
  filter: opacity(0.4) sepia(0.1) saturate(0.8);
}

.kg-nature-bird.b3 {
  top: 6%;
  width: 44px;
  animation-duration: 70s;
  animation-delay: -38s;
  filter: opacity(0.3) sepia(0.1);
}

.kg-nature-bird.b4 {
  top: 20%;
  width: 38px;
  animation-duration: 50s;
  animation-delay: -10s;
  filter: opacity(0.25) sepia(0.2);
}

@keyframes kg-bird-fly {
  from {
    transform: translateX(-180px);
  }

  to {
    transform: translateX(calc(100vw + 200px));
  }
}

.kg-side-deco {
  position: absolute;
  display: none;
  pointer-events: none;
  user-select: none;
}

.kg-side-deco.leaf-left {
  left: -60px;
  top: 18%;
  width: 220px;
  transform: scaleX(-1);
  filter: opacity(0.5) sepia(0.18) saturate(0.75) hue-rotate(-5deg);
}

.kg-side-deco.leaf-right {
  right: -50px;
  top: 38%;
  width: 180px;
  filter: opacity(0.45) sepia(0.18) saturate(0.75) hue-rotate(-5deg);
}

.kg-side-deco.kang-left {
  left: -30px;
  top: 62%;
  width: 160px;
  transform: scaleX(-1);
  filter: opacity(0.1) sepia(0.3) saturate(0.5) brightness(0.7);
}

.kg-side-deco.kang-right {
  right: -20px;
  top: 78%;
  width: 140px;
  filter: opacity(0.08) sepia(0.3) saturate(0.5) brightness(0.7);
}

.kg-tree-strip {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 80px;
  opacity: 0.12;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 80'%3E%3Cpolygon points='22,8 34,34 27,34 38,58 16,58 27,34 10,34' fill='%234a8c6a'/%3E%3Crect x='19' y='58' width='6' height='22' fill='%237a4a28'/%3E%3Cellipse cx='95' cy='42' rx='22' ry='30' fill='%23568e70'/%3E%3Cellipse cx='95' cy='30' rx='14' ry='20' fill='%234a8c6a'/%3E%3Crect x='92' y='68' width='6' height='12' fill='%237a4a28'/%3E%3Cellipse cx='152' cy='60' rx='16' ry='18' fill='%23568e70'/%3E%3Crect x='149' y='74' width='5' height='6' fill='%237a4a28'/%3E%3Cellipse cx='175' cy='68' rx='10' ry='12' fill='%234a8c6a'/%3E%3Crect x='172' y='77' width='4' height='3' fill='%237a4a28'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-position: bottom left;
  background-size: 200px 80px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  min-height: var(--topbar-height);
  padding: 10px 16px;
  border-bottom: 0;
  background: transparent;
  box-shadow: none;
  isolation: isolate;
  overflow: visible;
}

.topbar::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid #e8ede9;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: -1;
}

.topbar::after {
  display: none;
}

.brand {
  min-width: 0;
  position: relative;
  z-index: 1;
}

.brand::before,
.brand::after {
  display: none;
}

.kg-topbar-shell {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.kg-top-home-link {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  min-width: 0;
  color: #111111;
  align-self: center;
  margin-top: 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  transition: color 180ms ease, opacity 180ms ease;
}

.kg-top-home-link:hover {
  color: #111111;
  opacity: 0.88;
}

.kg-top-logo {
  width: auto;
  height: 36px;
  flex: 0 0 auto;
}

.kg-top-brand-text {
  color: #111111;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 700;
  white-space: nowrap;
  letter-spacing: -0.01em;
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.kg-topbar-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  text-align: center;
  padding-inline: clamp(8px, 1.2vw, 18px);
  padding-top: 0;
}

.brand-kicker {
  display: none;
}

.brand-title {
  margin: 0;
  color: #1c2e24;
  font-size: clamp(22px, 1.9vw, 29px);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.brand-title.kg-top-page-title {
  max-width: 100%;
  font-size: clamp(22px, 1.9vw, 29px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  word-break: break-word;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.brand-subtitle {
  display: block;
  margin: 2px 0 0;
  color: #9daaa4;
  font-size: 11px;
  line-height: 1.35;
  letter-spacing: 0;
}

.topbar-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  position: relative;
  z-index: 1;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: #444444;
  font-size: 12.5px;
  line-height: 20px;
  white-space: nowrap;
  box-shadow: none;
  transition: background-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.pill-link {
  border-color: transparent;
  background: transparent;
  color: #444444;
  font-weight: 500;
}

.pill-link:hover {
  background: #eef7f2;
  color: #2e7d50;
}

.pill-link.is-active {
  color: #2e7d50;
  font-weight: 600;
  box-shadow: inset 0 -2px 0 #2e7d50;
}

.layout {
  display: grid;
  grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
  gap: 0;
  align-items: start;
}

.sidebar {
  position: sticky;
  top: var(--topbar-height);
  align-self: start;
  max-height: calc(100vh - var(--topbar-height) - 16px);
  overflow: auto;
  padding: 6px 0 28px;
  background: rgba(251, 252, 251, 0.84);
  border-right: 1px solid var(--line);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.nav-home {
  margin: 0 18px 14px;
  padding: 6px 0 14px;
  border-bottom: 1px solid rgba(212, 228, 218, 0.95);
}

.home-link,
.nav-link,
.nav-text {
  display: block;
}

.home-link {
  padding: 0;
  color: #203329;
  font-size: 15px;
  line-height: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.home-link:hover,
.home-link.active {
  color: var(--brand);
}

.home-link small {
  display: block;
  margin-top: 5px;
  color: #93a49b;
  font-size: 12px;
  line-height: 17px;
  font-weight: 400;
}

.nav-section {
  padding: 0 18px;
}

.nav-section + .nav-section {
  border-top: 1px solid rgba(233, 238, 234, 0.92);
}

.nav-section-title {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 18px;
  gap: 4px 12px;
  align-items: center;
  padding: 17px 0 15px;
  background: transparent;
  border: 0;
  border-radius: 0;
  cursor: pointer;
  user-select: none;
}

.nav-section-title:hover strong,
.nav-section-title:hover small {
  color: var(--brand);
}

.nav-section-title:focus-visible {
  outline: 2px solid rgba(7, 193, 96, 0.22);
  outline-offset: 4px;
  border-radius: var(--radius-sm);
}

.nav-section-title strong {
  display: block;
  grid-column: 1;
  color: #22352b;
  font-size: 14.5px;
  line-height: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.nav-section-title small {
  display: block;
  grid-column: 1;
  color: #96a79e;
  font-size: 12px;
  line-height: 17px;
}

.nav-section.active .nav-section-title strong,
.nav-section.active .nav-section-title small,
.nav-section.is-open .nav-section-title strong {
  color: #333;
}

.nav-section-title::after {
  content: "";
  grid-column: 2;
  grid-row: 1 / span 2;
  width: 10px;
  height: 10px;
  justify-self: center;
  border-right: 2px solid rgba(0, 0, 0, 0.35);
  border-bottom: 2px solid rgba(0, 0, 0, 0.35);
  transform: rotate(45deg);
  transition: transform 180ms ease, border-color 180ms ease;
}

.nav-section.is-open .nav-section-title::after,
.nav-section.active:not(.is-collapsed) .nav-section-title::after {
  transform: rotate(-135deg);
  border-color: var(--brand);
}

.nav-fold {
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows 200ms ease;
}

.nav-section.is-collapsed .nav-fold {
  grid-template-rows: 0fr;
}

.nav-fold > .nav-sublist {
  min-height: 0;
  overflow: hidden;
}

.nav-sublist {
  margin-left: 6px;
  padding-bottom: 16px;
}

.nav-link,
.nav-text {
  position: relative;
  margin: 2px 0;
  padding: 10px 12px 10px 18px;
  color: #5e7068;
  font-size: 13.5px;
  line-height: 21px;
  border-left: 1px solid transparent;
  border-radius: 10px;
  font-weight: 500;
  transition: background-color 160ms ease, color 160ms ease, padding-left 160ms ease;
}

.nav-link::before,
.nav-text::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 12px;
  bottom: 12px;
  width: 1px;
  background: rgba(186, 210, 194, 0.82);
}

.nav-link:hover {
  color: var(--brand);
  background: rgba(46, 125, 80, 0.05);
}

.nav-link.active {
  padding-left: 15px;
  color: var(--brand);
  font-weight: 700;
  background: rgba(46, 125, 80, 0.08);
}

.nav-link.active::before {
  width: 3px;
  background: var(--brand);
}

.nav-link small,
.nav-text small {
  display: block;
  margin-top: 4px;
  color: #97a79f;
  font-size: 12px;
  line-height: 17px;
  font-weight: 400;
}

.content {
  min-width: 0;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.section-strip {
  position: sticky;
  top: var(--topbar-height);
  z-index: 30;
  display: flex;
  align-items: stretch;
  gap: 28px;
  min-height: var(--strip-height);
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 40px;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.section-strip-link {
  position: relative;
  display: flex;
  min-width: 140px;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 12px 0 11px;
  color: #333;
  flex-shrink: 0;
}

.section-strip-link strong {
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
}

.section-strip-link small {
  display: none;
}

.section-strip-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1px;
  width: 32px;
  height: 2px;
  border-radius: 999px;
  background: transparent;
  transform: translateX(-50%);
}

.section-strip-link:hover {
  color: var(--brand);
}

.section-strip-link.active {
  color: var(--brand);
}

.section-strip-link.active::after {
  background: var(--brand);
}

.section-strip-link.is-disabled {
  color: var(--muted-soft);
  cursor: not-allowed;
}

.section-strip-link.is-disabled:hover {
  color: var(--muted-soft);
}

.hero {
  padding: 40px 56px 24px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.panel {
  background: transparent;
}

.section-kicker {
  margin-bottom: 12px;
  color: var(--brand);
  font-size: 12px;
  line-height: 20px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  color: var(--text);
  font-size: clamp(30px, 2.8vw, 42px);
  line-height: 1.2;
  font-weight: 700;
}

.lead {
  margin: 16px 0 0;
  color: var(--text);
  font-size: 16px;
  line-height: 28px;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
  min-height: 40px;
  padding: 0 22px;
  border-radius: var(--radius-sm);
  background: var(--brand);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.cta:hover {
  background: var(--brand-hover);
  color: #fff;
}

.grid {
  display: grid;
}

.cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 24px 56px 0;
}

.card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
}

.card h3 {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 18px;
  line-height: 28px;
}

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

.article {
  padding: 24px 56px 56px;
  background: #fff;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 8px;
}

.article h1,
.article h2,
.article h3,
.article h4,
.article h5,
.article h6 {
  margin: 0;
  color: var(--text);
  font-weight: 700;
}

.article h1 {
  padding-top: 24px;
  font-size: 28px;
  line-height: 36px;
}

.article h2 {
  padding-top: 32px;
  font-size: 24px;
  line-height: 32px;
}

.article h3 {
  padding-top: 24px;
  font-size: 20px;
  line-height: 28px;
}

.article h4 {
  padding-top: 24px;
  font-size: 18px;
  line-height: 28px;
}

.article h5,
.article h6 {
  padding-top: 24px;
  font-size: 16px;
  line-height: 26px;
}

.article p,
.article li,
.article dd,
.article dt,
.article blockquote {
  color: var(--text);
  font-size: 16px;
  line-height: 28px;
}

.article p,
.article ul,
.article ol,
.article pre,
.article blockquote,
.article .table-scroll,
.article .gallery-grid,
.article .outline-list,
.article .anchor-list,
.article .footer-note {
  margin-top: 16px;
}

.article ul,
.article ol {
  padding-left: 1.25em;
}

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

.article ul li::marker {
  color: var(--text);
}

.article blockquote {
  margin-left: 0;
  margin-right: 0;
  padding: 16px;
  background: var(--bg-subtle);
  border-left: 4px solid var(--line-strong);
  border-radius: 2px;
}

.article hr {
  border: 0;
  border-top: 1px solid #e6e9f1;
  margin: 32px 0;
}

.article strong {
  font-weight: 700;
}

.article code {
  display: inline-block;
  padding: 2px 8px;
  border: 1px solid #e4e7ed;
  border-radius: 2px;
  background: var(--bg-code-inline);
  color: #5d6a87;
  font-size: 12px;
  line-height: 20px;
  font-weight: 400;
}

.article pre {
  overflow: auto;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: var(--bg-code);
}

.article pre code {
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  color: #383a42;
  font-size: 14px;
  line-height: 22px;
}

.article table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  margin-top: 16px;
}

.article th,
.article td {
  padding: 14px 16px;
  border: 1px solid var(--line);
  vertical-align: top;
  text-align: left;
  word-break: break-word;
}

.article thead tr {
  background: var(--bg-subtle);
}

.article th {
  color: #666;
  font-size: 14px;
  font-weight: 600;
  line-height: 22px;
}

.article td {
  color: #333;
  font-size: 14px;
  line-height: 24px;
}

.article img {
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
}

.article figure {
  margin: 20px 0 0;
}

.article figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 22px;
}

.callout {
  margin: 20px 0;
  padding: 16px 18px;
  border: 1px solid rgba(7, 193, 96, 0.2);
  border-left: 4px solid var(--brand);
  border-radius: var(--radius-sm);
  background: #f7fcf8;
}

.callout strong {
  display: inline-block;
  margin-bottom: 6px;
  color: var(--brand);
  font-size: 15px;
  line-height: 22px;
}

.callout p {
  margin: 0;
}

.source-article {
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
}

.source-article > :first-child {
  margin-top: 0;
}

.source-article > :last-child {
  margin-bottom: 0;
}

.table-scroll {
  overflow-x: auto;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.outline-list {
  display: grid;
  gap: 12px;
}

.outline-item {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
}

.outline-item strong {
  display: block;
  margin-bottom: 6px;
  font-size: 16px;
  line-height: 24px;
}

.outline-item small {
  display: block;
  color: var(--muted);
  font-size: 14px;
  line-height: 24px;
}

.anchor-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.anchor-list a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  color: var(--link);
  font-size: 14px;
  line-height: 22px;
}

.anchor-list a:hover {
  border-color: rgba(7, 193, 96, 0.24);
  color: var(--brand);
}

.footer-note {
  padding: 16px 18px;
  border-left: 4px solid var(--brand);
  background: #f4f5f7;
  color: var(--text);
  font-size: 16px;
  line-height: 28px;
}

.official-guide .lead {
  max-width: 880px;
}

.official-guide-note {
  margin-top: 20px;
  padding: 18px 20px;
  border: 1px solid rgba(7, 193, 96, 0.18);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(7, 193, 96, 0.08), rgba(7, 193, 96, 0.02));
}

.official-guide-note strong {
  display: block;
  color: var(--text);
  font-size: 16px;
  line-height: 26px;
}

.official-guide-note p {
  margin: 8px 0 0;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.resource-card {
  padding: 18px 18px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, #fff, #fafcfa);
}

.resource-card h3 {
  padding-top: 0;
  margin: 0;
  font-size: 18px;
  line-height: 28px;
}

.resource-card ul {
  margin: 12px 0 0;
}

.official-step {
  position: relative;
  margin-top: 40px;
  padding-top: 24px;
}

.official-step::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 62px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), rgba(7, 193, 96, 0.12));
}

.doc-shot {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, #fff, #fafafa);
}

.doc-shot img {
  margin-top: 0;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.04);
}

.home-hero {
  position: relative;
  overflow: hidden;
}

.home-hero::after {
  content: "";
  position: absolute;
  right: 56px;
  bottom: -72px;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: radial-gradient(circle at center, rgba(7, 193, 96, 0.18), rgba(7, 193, 96, 0) 68%);
  pointer-events: none;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.cta-secondary {
  border: 1px solid rgba(7, 193, 96, 0.22);
  background: rgba(7, 193, 96, 0.08);
  color: var(--brand);
}

.cta-secondary:hover {
  background: rgba(7, 193, 96, 0.14);
  color: var(--brand-hover);
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f3f7f4;
  color: #2b5f43;
  font-size: 12px;
  line-height: 18px;
}

.homepage-section {
  padding: 28px 56px 0;
}

.homepage-section-soft {
  background: linear-gradient(180deg, rgba(7, 193, 96, 0.03), rgba(7, 193, 96, 0));
}

.section-heading {
  max-width: 760px;
  margin-bottom: 18px;
}

.section-heading h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1.24;
}

.section-heading p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 26px;
}

.quick-grid,
.topic-grid,
.scenario-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.quick-card,
.topic-card,
.scenario-card,
.map-card,
.path-step {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
}

.quick-card {
  display: block;
  padding: 22px 22px 20px;
  color: inherit;
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.quick-card:hover,
.scenario-card:hover,
.path-step:hover {
  border-color: rgba(7, 193, 96, 0.32);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.04);
}

.quick-card-primary {
  background: linear-gradient(180deg, rgba(7, 193, 96, 0.1), rgba(7, 193, 96, 0.04));
  border-color: rgba(7, 193, 96, 0.22);
}

.quick-card strong,
.scenario-card strong,
.path-step strong {
  display: block;
  color: var(--text);
  font-size: 18px;
  line-height: 28px;
}

.quick-card span,
.scenario-card span,
.path-step span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 24px;
}

.path-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.path-step {
  display: block;
  padding: 20px;
  color: inherit;
}

.path-step em {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
}

.topic-card {
  padding: 20px;
}

.topic-card h3 {
  margin: 0;
  font-size: 18px;
  line-height: 28px;
}

.topic-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 24px;
}

.map-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.map-card {
  padding: 20px;
}

.map-card h3 {
  margin: 0 0 12px;
  font-size: 18px;
  line-height: 28px;
}

.map-card ul {
  margin: 0;
  padding-left: 18px;
}

.map-card li + li {
  margin-top: 8px;
}

.scenario-card {
  display: block;
  padding: 20px;
  color: inherit;
}

.homepage-closing {
  margin-top: 28px;
}

.homepage-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
}

ol {
  counter-reset: none;
}

.kg-footer {
  margin-top: 40px;
  background: #edf4ef;
  color: #1c2e24;
  border-top: 1.5px solid #d4e4da;
  font-family: "Inter", "Noto Sans SC", "PingFang SC", "Helvetica Neue", Helvetica, "Microsoft YaHei", Arial, sans-serif;
}

.kg-footer-inner {
  width: 100%;
  max-width: 1368px;
  margin: 0 auto;
  padding: 48px 16px 40px;
}

.kg-footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid #d4e4da;
  padding-bottom: 22px;
}

.kg-footer-brand-block {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.kg-footer-brand {
  display: inline-flex;
  align-items: center;
}

.kg-footer-brand-copy {
  display: flex;
  flex-direction: column;
}

.kg-footer-logo {
  width: auto;
  height: 38px;
}

.kg-footer-brand-name {
  margin: 0;
  color: #1c2e24;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
}

.kg-footer-social {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.kg-footer-social-link {
  display: inline-flex;
  height: 36px;
  width: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1.5px solid #bad2c2;
  background: #fff;
  transition: all 0.2s ease;
}

.kg-footer-social-link:hover {
  transform: translateY(-2px);
  border-color: #2e7d50;
  background: #ebf5ee;
  box-shadow: 0 4px 10px rgba(46, 125, 80, 0.15);
}

.kg-footer-social-icon {
  width: 16px;
  height: 16px;
  filter: brightness(0) saturate(100%) invert(35%) sepia(30%) saturate(800%) hue-rotate(100deg) brightness(90%) contrast(90%);
}

.kg-footer-main {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 32px;
  padding-top: 30px;
  padding-bottom: 30px;
}

.kg-footer-title {
  margin: 0;
  color: #1c2e24;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.kg-footer-list {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.kg-footer-link {
  color: #5e7a6e;
  font-size: 14px;
  line-height: 1.45;
  transition: color 0.2s ease;
}

.kg-footer-link:hover {
  color: #2e7d50;
}

.kg-footer-payments {
  margin-bottom: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 12px;
  border-top: 1px solid #d4e4da;
  border-bottom: 1px solid #d4e4da;
  padding: 20px 0;
}

.kg-footer-payment-icon {
  height: 24px;
  width: auto;
  opacity: 0.75;
  transition: opacity 0.2s ease;
}

.kg-footer-payment-icon:hover {
  opacity: 1;
}

.kg-footer-legal {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px 6px;
  color: #5e7a6e;
  font-size: 11.5px;
  line-height: 1.6;
  text-align: center;
}

.kg-footer-legal p {
  margin: 0;
  color: #5e7a6e;
  font-size: 11.5px;
}

.kg-footer-legal-link {
  color: #5e7a6e;
  transition: color 0.2s ease;
}

.kg-footer-legal-link:hover {
  color: #2e7d50;
}

.kg-footer-dot {
  color: #bad2c2;
  font-size: 11.5px;
}

@media (max-width: 1200px) {
  .topbar {
    padding: 10px 20px 16px;
  }

  .topbar::before,
  .topbar::after {
    width: 72px;
  }

  .section-strip {
    padding-inline: 28px;
    gap: 20px;
  }

  .hero,
  .article,
  .cards,
  .homepage-section {
    padding-left: 32px;
    padding-right: 32px;
  }
}

@media (max-width: 1024px) {
  :root {
    --topbar-height: auto;
  }

  .topbar {
    position: relative;
    grid-template-columns: minmax(0, 1fr);
    padding: 12px 18px 16px;
  }

  .brand-title.kg-top-page-title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .topbar-meta {
    justify-content: flex-start;
  }

  .layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .sidebar {
    position: relative;
    top: 0;
    max-height: none;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .section-strip {
    top: 0;
  }

  .cards {
    grid-template-columns: minmax(0, 1fr);
  }

  .quick-grid,
  .topic-grid,
  .scenario-grid,
  .map-grid,
  .path-grid,
  .resource-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .kg-footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  :root {
    --topbar-height: auto;
    --strip-height: 58px;
  }

  .container {
    width: 100%;
  }

  .topbar {
    position: relative;
    gap: 14px;
    min-height: 0;
    padding: 12px 16px 14px;
  }

  .topbar::before,
  .topbar::after {
    display: none;
  }

  .brand {
    width: 100%;
  }

  .kg-topbar-shell {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .kg-top-home-link {
    width: fit-content;
    margin-top: 0;
  }

  .kg-top-logo {
    height: 30px;
  }

  .kg-top-brand-text {
    font-size: 16px;
  }

  .kg-topbar-heading {
    align-items: flex-start;
    text-align: left;
    padding-inline: 0;
  }

  .brand-title.kg-top-page-title {
    font-size: clamp(24px, 7vw, 30px);
    -webkit-line-clamp: 3;
  }

  .topbar-meta {
    width: 100%;
    justify-content: flex-start;
  }

  .section-strip {
    top: 0;
    min-height: 58px;
    padding-inline: 16px;
  }

  .section-strip-link {
    min-width: 112px;
  }

  .section-strip-link strong {
    font-size: 14px;
    line-height: 22px;
  }

  .section-strip-link small {
    display: none;
  }

  .hero,
  .article,
  .cards,
  .homepage-section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero {
    padding-top: 24px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .section-heading h2 {
    font-size: 24px;
  }

  .hero-actions,
  .homepage-links {
    flex-direction: column;
    align-items: flex-start;
  }

  .home-hero::after {
    right: -20px;
    width: 160px;
    height: 160px;
  }

  .lead,
  .article p,
  .article li,
  .article blockquote {
    font-size: 14px;
    line-height: 24px;
  }

  .article h1 {
    font-size: 24px;
    line-height: 32px;
  }

  .article h2 {
    font-size: 22px;
    line-height: 28px;
    padding-top: 24px;
  }

  .article h3 {
    font-size: 20px;
    line-height: 28px;
  }

  .article h4 {
    font-size: 16px;
    line-height: 24px;
  }

  .article table,
  .article th,
  .article td {
    font-size: 12px;
    line-height: 20px;
  }

  .gallery-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .kg-footer-inner {
    width: 100%;
    padding-top: 32px;
  }

  .kg-footer-main {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .kg-footer-logo {
    height: 34px;
  }
}

@media (min-width: 1460px) {
  .kg-side-deco {
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  .kg-nature-bird {
    animation: none;
  }
}
