@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Noto+Sans+SC:wght@400;500;700;900&family=Noto+Sans+TC:wght@400;500;700;900&display=swap');

:root {
  --bg: #f5f7fb;
  --bg-grid: #e8edf4;
  --surface: #ffffff;
  --surface-soft: #f7faff;
  --text: #0b1220;
  --muted: #4b5565;
  --line: #d8e0ea;
  --primary: #1d4ed8;
  --primary-soft: #dbeafe;
  --primary-strong: #1e40af;
  --accent: #0284c7;
  --star: #f59e0b;
  --danger: #dc2626;
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --shadow-sm: 0 8px 20px rgba(2, 12, 27, 0.06);
  --shadow-md: 0 16px 32px rgba(2, 12, 27, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  color: var(--text);
  font-family: "Plus Jakarta Sans", "Noto Sans SC", "Noto Sans TC", sans-serif;
  line-height: 1.7;
  background:
    radial-gradient(1100px 420px at 0% -8%, #dbeafe, transparent 58%),
    radial-gradient(880px 360px at 100% -12%, #d1fae5, transparent 62%),
    var(--bg);
}

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

a:hover {
  text-decoration: none;
  opacity: 0.9;
}

.top-notice {
  position: relative;
  z-index: 30;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 10px 20px;
  border-bottom: 1px solid #18233d;
  background: #0b1220;
  color: #dbeafe;
  font-size: 0.87rem;
}

.top-notice p {
  margin: 0;
}

.github-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  min-height: 30px;
}

.github-mark iframe {
  display: block;
  width: 170px;
  height: 30px;
  border: 0;
  border-radius: 6px;
  overflow: hidden;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 70;
  isolation: isolate;
  overflow: visible;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid #dbe3ee;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 1px;
}

.brand-main {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--text);
}

.brand-sub {
  font-size: 0.8rem;
  color: var(--muted);
}

.topbar nav {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  overflow: visible;
  padding-bottom: 2px;
}

.topbar nav > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 11px;
  border-radius: 10px;
  border: 1px solid transparent;
  color: #334155;
  background: transparent;
  transition: all 160ms ease;
  font-size: 0.88rem;
  white-space: nowrap;
}

.topbar nav > a:hover {
  background: #eef2f9;
  border-color: #dbe3ee;
  text-decoration: none;
}

.lang-switch {
  position: relative;
  z-index: 5;
  flex: 0 0 auto;
}

.lang-current {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 6px 9px;
  border-radius: 10px;
  border: 1px solid #dbe3ee;
  color: #1e293b;
  background: #fff;
  cursor: pointer;
  user-select: none;
  font-size: 0.86rem;
  transition: all 160ms ease;
}

.lang-current .lang-name {
  display: none;
}

.lang-current::-webkit-details-marker {
  display: none;
}

.lang-current:hover {
  background: #eef2f9;
  border-color: #dbe3ee;
}

.lang-caret {
  font-size: 0.82rem;
  color: var(--muted);
  transition: transform 160ms ease;
}

.lang-switch[open] .lang-caret {
  transform: rotate(180deg);
}

.lang-switch[open] {
  z-index: 140;
}

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 160;
  min-width: 156px;
  width: max-content;
  max-width: min(220px, calc(100vw - 24px));
  padding: 6px;
  border-radius: 10px;
  border: 1px solid #dbe3ee;
  background: #fff;
  box-shadow: var(--shadow-md);
}

.lang-switch:not([open]) .lang-menu {
  display: none;
}

.lang-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  color: #1e293b;
  font-size: 0.86rem;
  line-height: 1;
}

.lang-item:hover {
  background: var(--surface-soft);
  text-decoration: none;
}

.lang-item.is-current {
  background: #ecf3ff;
  color: #1e40af;
  font-weight: 700;
}

.lang-flag {
  width: 1.2em;
  text-align: center;
  font-size: 1rem;
}

main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 16px 56px;
}

.home-banner {
  margin-top: 4px;
}

.hero-main--solo {
  padding: clamp(28px, 5vw, 56px);
}

.hero-main--solo::after {
  width: 280px;
  height: 280px;
}

.hero-oneline {
  margin: 10px 0 0;
  max-width: 34ch;
  color: #0f172a;
  font-size: clamp(1.3rem, 3.2vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.22;
}

.hero-detail {
  margin: 12px 0 0;
  max-width: 68ch;
  color: #475569;
  font-size: clamp(0.98rem, 1.8vw, 1.12rem);
  line-height: 1.7;
}

.home-shortcuts {
  margin-top: 14px;
}

.quickstart-highlight {
  margin-top: 16px;
  border: 1px solid #d6e0ee;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(160deg, #ffffff 0%, #f8fbff 100%),
    var(--surface);
  box-shadow: var(--shadow-sm);
  padding: 20px;
}

.quickstart-head h2 {
  margin: 0;
  font-size: clamp(1.2rem, 2.4vw, 1.7rem);
}

.quickstart-accent {
  color: #e11d48;
  margin-right: 2px;
}

.quickstart-head p {
  margin: 8px 0 0;
  color: #475569;
  font-size: 0.96rem;
}

.quickstart-shell {
  margin-top: 14px;
  border: 1px solid #1f2937;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(170deg, #111827, #0b1220 70%);
  box-shadow: 0 18px 34px rgba(10, 17, 32, 0.28);
}

.quickstart-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
  padding: 12px;
  background: rgba(15, 23, 42, 0.78);
}

.quickstart-dots {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.quickstart-dots span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

.quickstart-dots span:nth-child(1) {
  background: #f87171;
}

.quickstart-dots span:nth-child(2) {
  background: #fbbf24;
}

.quickstart-dots span:nth-child(3) {
  background: #4ade80;
}

.quickstart-modes {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.quickstart-mode {
  min-height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(2, 6, 23, 0.45);
  color: #cbd5e1;
  padding: 5px 11px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 160ms ease;
}

.quickstart-mode:hover {
  border-color: #7dd3fc;
  color: #e2e8f0;
}

.quickstart-mode.is-active {
  background: rgba(2, 132, 199, 0.2);
  border-color: #38bdf8;
  color: #f8fafc;
}

.quickstart-pane {
  display: none;
  padding: 14px 12px 12px;
}

.quickstart-pane.is-active {
  display: block;
}

.quickstart-comment {
  margin: 0 0 8px;
  color: #94a3b8;
  font-size: 0.84rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.quickstart-line {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.62);
  padding: 8px 9px;
}

.quickstart-line + .quickstart-comment {
  margin-top: 12px;
}

.quickstart-prompt {
  color: #38bdf8;
  font-weight: 700;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.quickstart-line code {
  flex: 1;
  min-width: 0;
  color: #e2e8f0;
  font-size: 0.87rem;
  line-height: 1.4;
  word-break: break-word;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.quickstart-copy-btn {
  min-height: 28px;
  padding: 4px 10px;
  font-size: 0.74rem;
  border-color: rgba(125, 211, 252, 0.55);
  color: #0b1220;
  background: #e0f2fe;
  white-space: nowrap;
}

.quickstart-actions {
  margin-top: 12px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.quickstart-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid #d2ddf0;
  background: #fff;
  color: #1e3a8a;
  font-size: 0.84rem;
  font-weight: 700;
}

.quickstart-actions a:hover {
  border-color: #93c5fd;
  background: #f0f7ff;
}

.hero.v3 {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  gap: 20px;
}

.hero-main,
.hero-aside,
.install-showcase,
.knowledge-map,
.faq-card,
.latest,
.page-wrap,
.article {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.hero-main,
.hero-aside,
.install-showcase,
.knowledge-map,
.faq-card,
.latest,
.page-wrap,
.article {
  padding: 24px;
}

.hero-main {
  position: relative;
  overflow: hidden;
  border-color: #d6e0ee;
  background:
    linear-gradient(155deg, #ffffff 0%, #f8fbff 70%),
    var(--surface);
  animation: fade-up 420ms ease both;
}

.hero-main::after {
  content: "";
  position: absolute;
  right: -48px;
  bottom: -52px;
  width: 230px;
  height: 230px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(29, 78, 216, 0.2), transparent 64%);
  pointer-events: none;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  padding: 4px 11px;
  border-radius: 999px;
  border: 1px solid #c6d4eb;
  background: #eef4ff;
  color: #1e40af;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-main h1 {
  margin: 10px 0 6px;
  font-size: clamp(2.1rem, 5.2vw, 3.3rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  margin: 0 0 4px;
  color: #1e40af;
  font-weight: 700;
  font-size: 1.03rem;
}

.hero-copy {
  margin: 10px 0 0;
  max-width: 64ch;
  color: #425166;
}

.hero-trust {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid #d8e4f5;
  background: #fff;
  color: #334155;
  font-size: 0.79rem;
  font-weight: 600;
}

.hero-cta-row {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.btn.solid {
  color: #fff;
  background: linear-gradient(135deg, #1d4ed8, #0284c7);
  box-shadow: 0 10px 24px rgba(29, 78, 216, 0.24);
}

.btn.soft {
  color: #1e40af;
  border-color: #cbdaf2;
  background: #eff5ff;
}

.btn.text {
  color: #334155;
  border-color: #d6e0ea;
  background: rgba(255, 255, 255, 0.8);
}

.quick-command {
  margin-top: 16px;
  padding: 13px;
  border-radius: var(--radius-sm);
  border: 1px solid #cbdaf2;
  background: #f3f8ff;
  position: relative;
  z-index: 2;
}

.quick-command-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
  color: #1e3a8a;
  font-size: 0.85rem;
  font-weight: 700;
}

.quick-command code {
  display: block;
  font-size: 0.92rem;
  line-height: 1.6;
  word-break: break-all;
  color: #0b1220;
}

.quick-command-tip {
  margin: 8px 0 0;
  color: #4b5565;
  font-size: 0.82rem;
}

.copy-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 31px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid #cbdaf2;
  background: #fff;
  color: #1e40af;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.copy-trigger.is-copied {
  border-color: #86efac;
  color: #166534;
  background: #dcfce7;
}

.copy-trigger.is-failed {
  border-color: #fca5a5;
  color: #991b1b;
  background: #fee2e2;
}

.hero-aside h3 {
  margin: 0 0 8px;
  font-size: 1.18rem;
}

.hero-aside {
  border-color: #d6e0ee;
  background:
    linear-gradient(160deg, #ffffff 0%, #f9fbff 88%),
    var(--surface);
  animation: fade-up 520ms ease both;
}

.hero-aside p {
  margin: 0.5rem 0;
  color: #475569;
}

.hero-aside strong {
  color: var(--text);
}

.hero-checklist {
  margin: 0 0 12px;
  padding-left: 1.1rem;
  color: #334155;
}

.hero-checklist li {
  margin: 0 0 8px;
}

.star-giant {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  border-radius: var(--radius-sm);
  border: 1px solid #f3c35b;
  background: linear-gradient(130deg, #f59e0b, #facc15);
  color: #422006;
  font-weight: 800;
}

.install-showcase,
.knowledge-map,
.faq-card,
.latest,
.page-wrap,
.article {
  margin-top: 18px;
  animation: fade-up 620ms ease both;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

h2 {
  margin: 0 0 12px;
  font-size: 1.42rem;
}

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

.feature-card,
.knowledge-item {
  display: block;
  padding: 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: #fbfdff;
  color: inherit;
  transition: all 160ms ease;
}

.feature-card:hover,
.knowledge-item:hover {
  border-color: #bfdbfe;
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
  text-decoration: none;
}

.feature-card h3,
.knowledge-item h3 {
  margin: 0 0 2px;
  font-size: 1.02rem;
}

.feature-card p,
.knowledge-item p {
  margin: 8px 0 0;
  color: var(--muted);
}

.feature-tag {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 2px 8px;
  margin-bottom: 8px;
  border-radius: 999px;
  background: #edf3ff;
  border: 1px solid #cfddf5;
  color: #1e40af;
  font-size: 0.73rem;
  font-weight: 700;
}

.faq-detail {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-soft);
}

.faq-detail + .faq-detail {
  margin-top: 10px;
}

.faq-detail summary {
  cursor: pointer;
  padding: 12px 14px;
  font-weight: 700;
  list-style: none;
}

.faq-detail summary::-webkit-details-marker {
  display: none;
}

.faq-detail summary::after {
  content: "+";
  float: right;
  color: var(--muted);
}

.faq-detail[open] summary::after {
  content: "-";
}

.faq-detail div {
  padding: 0 14px 14px;
  color: var(--muted);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.context-reminder {
  margin: 10px 0 14px;
  padding: 12px;
  border-radius: var(--radius-md);
  border: 1px solid #d5e2f3;
  background: linear-gradient(165deg, #f8fbff 0%, #eef5ff 100%);
}

.context-reminder-title {
  margin: 0;
  color: #1e3a8a;
  font-weight: 800;
  font-size: 0.92rem;
}

.context-reminder-desc {
  margin: 6px 0 0;
  color: #475569;
  font-size: 0.86rem;
}

.context-reminder-links {
  margin-top: 9px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.context-reminder-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid #bfd2ee;
  background: #fff;
  color: #1e40af;
  font-size: 0.82rem;
  font-weight: 700;
}

.context-reminder-links a:hover {
  border-color: #93c5fd;
  background: #f8fbff;
}

.latest ul,
.post-list {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
}

.faq-search-panel {
  margin: 10px 0 16px;
  padding: 14px;
  border: 1px solid #dbe3ee;
  border-radius: var(--radius-md);
  background:
    linear-gradient(155deg, #ffffff 0%, #f7fbff 100%),
    #fff;
  box-shadow: var(--shadow-sm);
}

.faq-search-label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #1e3a8a;
}

.faq-search-input {
  width: 100%;
  min-height: 44px;
  padding: 10px 13px;
  border-radius: 12px;
  border: 1px solid #c7d6eb;
  background: #fff;
  color: #0f172a;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.faq-search-input:focus {
  border-color: #60a5fa;
  box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.2);
}

.faq-search-hint {
  margin: 8px 0 10px;
  color: var(--muted);
  font-size: 0.84rem;
}

.faq-search-results {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.faq-result-item a {
  display: block;
  padding: 10px 12px;
  border-radius: 11px;
  border: 1px solid #d9e4f2;
  background: #fff;
  transition: all 160ms ease;
}

.faq-result-item a:hover {
  border-color: #93c5fd;
  background: #f8fbff;
  transform: translateY(-1px);
  text-decoration: none;
}

.faq-result-title {
  display: block;
  color: #0f172a;
  font-weight: 700;
  line-height: 1.35;
}

.faq-result-meta {
  display: block;
  margin-top: 3px;
  font-size: 0.76rem;
  color: #1e40af;
  font-weight: 700;
}

.faq-result-desc {
  display: block;
  margin-top: 5px;
  color: #475569;
  font-size: 0.85rem;
  line-height: 1.5;
}

.faq-search-empty {
  margin: 10px 0 0;
  color: #b91c1c;
  font-size: 0.88rem;
}

.latest li,
.post-list li {
  padding: 13px 0;
  border-bottom: 1px dashed var(--line);
}

.latest li:last-child,
.post-list li:last-child {
  border-bottom: 0;
}

.latest small,
.post-list span {
  color: var(--muted);
}

.post-list p {
  margin: 6px 0 0;
  color: var(--muted);
}

.meta {
  color: var(--muted);
  margin-top: -6px;
}

.tags span {
  display: inline-flex;
  margin: 4px 6px 4px 0;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid #bfdbfe;
  background: #eff6ff;
  color: var(--primary-strong);
  font-size: 0.82rem;
}

.content h2,
.content h3,
.content h4 {
  margin-top: 1.4em;
  margin-bottom: 0.5em;
  line-height: 1.3;
}

.content img {
  max-width: 100%;
  border-radius: var(--radius-sm);
}

.content table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.content th,
.content td {
  border: 1px solid var(--line);
  padding: 9px;
}

.content th {
  background: #f1f5f9;
  text-align: left;
}

.content p code,
.content li code,
.content td code {
  padding: 2px 6px;
  border-radius: 7px;
  border: 1px solid #bfdbfe;
  background: #eff6ff;
  color: #1e3a8a;
  font-size: 0.92em;
}

.content pre {
  position: relative;
  overflow-x: auto;
  background: #0b1220;
  color: #e5e7eb;
  border: 1px solid #1f2937;
  border-radius: var(--radius-sm);
  padding: 13px;
}

.content pre code {
  display: block;
  min-width: max-content;
  color: inherit;
  font-size: 0.9rem;
  line-height: 1.6;
}

.copy-code-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  border: 1px solid #334155;
  background: #0f172a;
  color: #cbd5e1;
  border-radius: 999px;
  min-height: 28px;
  padding: 4px 10px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.copy-code-btn:hover {
  border-color: #93c5fd;
  color: #dbeafe;
}

.copy-code-btn.is-copied {
  border-color: #86efac;
  color: #dcfce7;
}

.copy-code-btn.is-failed {
  border-color: #fca5a5;
  color: #fecaca;
}

.content blockquote {
  margin: 1rem 0;
  padding: 10px 14px;
  border-left: 4px solid var(--primary);
  border-radius: 10px;
  background: #eff6ff;
  color: #1e3a8a;
}

.content details {
  margin: 1rem 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-soft);
  padding: 8px 10px;
}

.content details summary {
  cursor: pointer;
  font-weight: 700;
}

.content hr {
  border: 0;
  border-top: 1px dashed var(--line);
  margin: 1.5rem 0;
}

.content .wizard-goal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 14px 0 18px;
}

.content .wizard-goal-card {
  display: block;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(155deg, #f8fbff, #eef6ff);
  padding: 14px;
  color: inherit;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.content .wizard-goal-card:hover {
  transform: translateY(-2px);
  border-color: #bfdbfe;
  box-shadow: var(--shadow-sm);
}

.content .wizard-goal-card h3 {
  margin: 0;
  font-size: 1rem;
}

.content .wizard-goal-card p {
  margin: 8px 0 0;
  color: var(--muted);
}

.content .wizard-step-card {
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-sm);
  background: #f0f7ff;
  padding: 12px 14px;
  margin: 10px 0 14px;
}

.content .wizard-step-card h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  color: #1e3a8a;
}

.content .wizard-step-card p {
  margin: 0;
  color: #334155;
}

.content .wizard-step-card ol {
  margin: 8px 0 0 1.1rem;
}

.content .wizard-step-card li {
  margin: 4px 0;
}

.content .doc-shot {
  margin: 12px 0 18px;
  padding: 12px;
  border: 1px solid #dbe3ee;
  border-radius: var(--radius-md);
  background: linear-gradient(165deg, #ffffff 0%, #f8fbff 100%);
}

.content .doc-shot a {
  display: block;
}

.content .doc-shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  border: 1px solid #d7e3f3;
  box-shadow: var(--shadow-sm);
}

.content .doc-shot p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.footer {
  margin-top: 30px;
  border-top: 1px solid var(--line);
  padding: 20px;
  text-align: center;
  color: var(--muted);
}

@media (max-width: 980px) {
  .hero.v3 {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .knowledge-grid,
  .content .wizard-goal-grid {
    grid-template-columns: 1fr;
  }

  .quickstart-line {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .quickstart-copy-btn {
    margin-left: 20px;
  }

  .topbar {
    gap: 10px;
  }
}

@media (max-width: 760px) {
  .top-notice {
    flex-direction: column;
    align-items: flex-start;
  }

  .topbar {
    position: relative;
    z-index: 90;
    padding: 12px;
    flex-direction: column;
    align-items: flex-start;
  }

  .topbar nav {
    width: 100%;
    gap: 8px;
    row-gap: 8px;
    padding-bottom: 4px;
    overflow: visible;
    flex-wrap: wrap;
  }

  .topbar nav > a {
    min-height: 36px;
  }

  .lang-switch {
    margin-left: auto;
  }

  .lang-menu {
    top: calc(100% + 10px);
  }

  main {
    padding: 16px 10px 40px;
  }

  .hero-main,
  .hero-aside,
  .install-showcase,
  .knowledge-map,
  .faq-card,
  .latest,
  .page-wrap,
  .article {
    padding: 16px;
    border-radius: var(--radius-md);
  }

  .hero-main h1 {
    font-size: clamp(2rem, 9vw, 2.5rem);
  }

  .hero-trust {
    gap: 6px;
  }

  .hero-trust span {
    font-size: 0.74rem;
  }

  .quickstart-highlight {
    padding: 14px;
    border-radius: var(--radius-md);
  }

  .quickstart-toolbar {
    padding: 10px;
  }

  .quickstart-pane {
    padding: 12px 10px 10px;
  }

  .quickstart-line code {
    font-size: 0.82rem;
  }

  .quickstart-actions a {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Theme refresh */
:root {
  --bg: #f3f1eb;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: #ffffff;
  --surface-alt: #f8f6f0;
  --line: rgba(33, 52, 82, 0.12);
  --line-strong: rgba(33, 52, 82, 0.2);
  --text: #101828;
  --muted: #526072;
  --primary: #0f4c81;
  --primary-strong: #0b3558;
  --accent: #1f8f96;
  --accent-soft: rgba(31, 143, 150, 0.12);
  --shadow-sm: 0 14px 30px rgba(16, 24, 40, 0.06);
  --shadow-md: 0 24px 60px rgba(16, 24, 40, 0.1);
}

body {
  background:
    radial-gradient(900px 420px at 0% 0%, rgba(14, 76, 129, 0.14), transparent 60%),
    radial-gradient(820px 380px at 100% 0%, rgba(31, 143, 150, 0.11), transparent 58%),
    linear-gradient(180deg, #f6f4ef 0%, #f1efe8 52%, #efede6 100%);
  color: var(--text);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(16, 24, 40, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 24, 40, 0.028) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(circle at center, black 40%, transparent 85%);
  opacity: 0.35;
}

.top-notice {
  border-bottom: 0;
  background:
    linear-gradient(90deg, rgba(7, 18, 35, 0.96), rgba(8, 29, 54, 0.94) 48%, rgba(12, 49, 79, 0.92));
}

.top-notice-inner,
.topbar-inner,
.footer-inner {
  width: min(1240px, calc(100% - 28px));
  margin: 0 auto;
}

.top-notice-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.topbar {
  background: transparent;
  border-bottom: 0;
  padding: 14px 0 0;
  backdrop-filter: none;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 20px 50px rgba(16, 24, 40, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  gap: 4px;
}

.brand-main {
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.brand-sub {
  font-size: 0.78rem;
  color: #5d6978;
}

.topbar nav {
  gap: 8px;
}

.topbar nav > a,
.lang-current {
  min-height: 38px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
}

.topbar nav > a {
  padding: 8px 13px;
  color: #344255;
  font-weight: 700;
}

.topbar nav > a:hover,
.topbar nav > a:focus-visible {
  background: rgba(15, 76, 129, 0.08);
  border-color: rgba(15, 76, 129, 0.12);
}

.lang-current {
  border-color: rgba(33, 52, 82, 0.12);
  background: rgba(255, 255, 255, 0.78) !important;
}

.lang-menu {
  border-radius: 16px;
  border-color: rgba(33, 52, 82, 0.12);
  box-shadow: 0 22px 60px rgba(16, 24, 40, 0.16);
}

.site-main {
  max-width: 1240px;
  padding: 28px 16px 72px;
}

.home-banner,
.quickstart-highlight,
.latest,
.page-wrap,
.article {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.62);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.7)),
    var(--surface);
  box-shadow: var(--shadow-md);
}

.home-banner::before,
.quickstart-highlight::before,
.latest::before,
.page-wrap::before,
.article::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 180px;
  height: 180px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(31, 143, 150, 0.14), transparent 70%);
  pointer-events: none;
}

.hero-main {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: clamp(30px, 5vw, 58px);
}

.hero-main--solo::after {
  right: -24px;
  bottom: -36px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(15, 76, 129, 0.12), transparent 68%);
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(15, 76, 129, 0.14);
  background: rgba(15, 76, 129, 0.08);
  color: var(--primary-strong);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-main h1 {
  margin: 18px 0 0;
  font-size: clamp(2.9rem, 7vw, 5.4rem);
  letter-spacing: -0.06em;
  line-height: 0.92;
}

.hero-oneline {
  max-width: 13ch;
  margin-top: 18px;
  font-size: clamp(1.55rem, 3.5vw, 2.3rem);
  line-height: 1.08;
}

.hero-detail {
  max-width: 62ch;
  margin-top: 16px;
  color: #566476;
  font-size: clamp(1rem, 1.9vw, 1.14rem);
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.hero-facts span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(33, 52, 82, 0.1);
  background: rgba(255, 255, 255, 0.78);
  color: #334155;
  font-size: 0.84rem;
  font-weight: 700;
}

.quickstart-highlight {
  padding: 26px;
  background:
    linear-gradient(180deg, rgba(248, 249, 251, 0.72), rgba(241, 245, 249, 0.92)),
    rgba(255, 255, 255, 0.84);
}

.quickstart-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  flex-wrap: wrap;
}

.quickstart-head h2 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  letter-spacing: -0.04em;
}

.quickstart-head p {
  max-width: 54ch;
  margin: 0;
  color: #5b6777;
}

.quickstart-shell {
  margin-top: 18px;
  border-radius: 22px;
  border-color: rgba(76, 99, 136, 0.28);
  box-shadow: 0 24px 60px rgba(8, 16, 34, 0.24);
}

.quickstart-toolbar {
  padding: 14px 16px;
}

.quickstart-mode {
  min-height: 34px;
  padding: 6px 12px;
}

.quickstart-line {
  border-radius: 14px;
  padding: 10px 12px;
}

.quickstart-copy-btn {
  border-color: rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, #f8fafc, #dbeafe);
  color: #0f2f52;
}

.quickstart-actions {
  margin-top: 16px;
}

.quickstart-actions a {
  min-height: 38px;
  padding: 8px 13px;
  border-radius: 999px;
  border-color: rgba(33, 52, 82, 0.12);
  background: rgba(255, 255, 255, 0.78);
  color: var(--primary-strong);
}

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

.feature-card {
  padding: 18px;
  border-radius: 18px;
  border-color: rgba(33, 52, 82, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(248, 250, 252, 0.82)),
    #fff;
}

.feature-card h3 {
  font-size: 1.08rem;
  letter-spacing: -0.02em;
}

.latest,
.page-wrap,
.article {
  padding: 24px;
  border-radius: 24px;
}

.section-head {
  margin-bottom: 10px;
}

.section-head h2 {
  margin: 0;
  font-size: 1.6rem;
  letter-spacing: -0.03em;
}

.section-head a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(33, 52, 82, 0.12);
  background: rgba(255, 255, 255, 0.74);
  font-weight: 700;
}

.page-header,
.article-header {
  position: relative;
  margin-bottom: 18px;
  padding: 6px 0 18px;
  border-bottom: 1px solid rgba(33, 52, 82, 0.08);
}

.page-eyebrow,
.article-eyebrow {
  margin: 0 0 10px;
  color: var(--primary-strong);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-header h1,
.article-header h1 {
  margin: 0;
  font-size: clamp(2rem, 4.8vw, 3rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.page-lead,
.article-lead {
  max-width: 62ch;
  margin: 12px 0 0;
  color: #5a6778;
  font-size: 1.02rem;
}

.article-meta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.meta {
  margin: 0;
  color: #687688;
}

.tags {
  margin: 0;
}

.tags span {
  border-color: rgba(15, 76, 129, 0.12);
  background: rgba(15, 76, 129, 0.08);
}

.context-reminder,
.faq-search-panel {
  border-radius: 18px;
  border-color: rgba(33, 52, 82, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(245, 248, 252, 0.78)),
    #fff;
}

.faq-search-input {
  min-height: 50px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
}

.post-list li,
.latest li {
  padding: 16px 0;
}

.post-list li a,
.latest li a {
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.4;
}

.content {
  color: #213243;
  font-size: 1.01rem;
}

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

.content blockquote {
  margin: 1.2rem 0;
  padding: 14px 16px;
  border-left: 4px solid rgba(15, 76, 129, 0.24);
  border-radius: 0 16px 16px 0;
  background: rgba(15, 76, 129, 0.05);
  color: #344255;
}

.content pre {
  border-radius: 18px;
  border-color: rgba(76, 99, 136, 0.32);
  padding: 18px 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.content pre.has-copy {
  padding-top: 52px;
}

.copy-code-btn {
  top: 12px;
  right: 12px;
  min-height: 30px;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid rgba(147, 197, 253, 0.26);
  background: rgba(255, 255, 255, 0.08);
  color: #dbeafe;
}

.content table {
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.72);
}

.content th {
  background: rgba(15, 76, 129, 0.08);
}

.footer {
  margin-top: 34px;
  border-top: 0;
  padding: 0 0 28px;
  background: transparent;
}

.footer-inner {
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

@media (max-width: 980px) {
  .topbar-inner,
  .top-notice-inner {
    width: min(1240px, calc(100% - 20px));
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .quickstart-head {
    align-items: flex-start;
  }
}

@media (max-width: 760px) {
  .top-notice-inner,
  .topbar-inner,
  .footer-inner {
    width: min(1240px, calc(100% - 16px));
  }

  .top-notice-inner,
  .topbar-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .github-mark,
  .github-mark iframe {
    width: 160px;
  }

  .topbar {
    padding-top: 10px;
  }

  .topbar-inner {
    border-radius: 18px;
    padding: 14px;
  }

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

  .site-main {
    padding: 18px 10px 54px;
  }

  .home-banner,
  .quickstart-highlight,
  .latest,
  .page-wrap,
  .article {
    padding: 18px;
    border-radius: 20px;
  }

  .hero-main {
    padding: 8px 0 2px;
  }

  .hero-main h1 {
    font-size: clamp(2.5rem, 13vw, 3.4rem);
  }

  .hero-oneline {
    max-width: none;
    font-size: clamp(1.34rem, 6vw, 1.72rem);
  }

  .quickstart-highlight {
    padding: 18px;
  }

  .quickstart-shell {
    border-radius: 18px;
  }

  .page-header h1,
  .article-header h1 {
    font-size: clamp(1.85rem, 9vw, 2.4rem);
  }

  .article-meta-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}
