:root {
  --bg: #f6f8fb;
  --surface: #fff;
  --text: #1a2332;
  --text-muted: #5c6b7f;
  --accent: #2563eb;
  --accent-soft: rgba(37, 99, 235, 0.1);
  --border: #e5e9f0;
  --warn-bg: #fff7ed;
  --warn-border: #fdba74;
  --code-bg: #0f172a;
  --code-text: #e2e8f0;
  --prompt-bg: #f1f5f9;
  --radius: 12px;
  --shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
}

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

a:hover {
  opacity: 0.9;
}

.shell {
  max-width: 44rem;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}

.shell--article {
  max-width: 72rem;
  padding-bottom: 5rem;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(10.5rem, 13.5rem) minmax(0, 1fr);
  gap: 2rem 2.75rem;
  align-items: start;
  margin-top: 0.25rem;
}

.article-sidebar {
  position: sticky;
  top: 1.25rem;
  align-self: start;
  max-height: calc(100vh - 2.5rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}

.article-main {
  min-width: 0;
  max-width: 44rem;
}

.article-main > article {
  margin: 0;
}

.site-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  font-size: 0.92rem;
}

.brand {
  color: #0f172a;
  font-weight: 800;
  text-decoration: none;
}

.brand--lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.brand--lockup img {
  flex-shrink: 0;
  display: block;
}

.brand--lockup span {
  font-size: 0.92rem;
  letter-spacing: -0.02em;
}

.site-nav a:not(.brand):not(.site-nav-cta) {
  color: var(--text-muted);
}

.site-nav--global {
  flex-wrap: wrap;
  row-gap: 0.65rem;
}

.site-nav-menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  font-size: 0.9rem;
}

.site-nav-menu a {
  color: var(--text-muted);
  text-decoration: none;
}

.site-nav-menu a:hover,
.site-nav-menu a[aria-current="page"] {
  color: var(--accent);
  opacity: 1;
}

.site-nav-menu a[aria-current="page"] {
  font-weight: 700;
}

.site-nav-cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff !important;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav-cta:hover {
  opacity: 0.92;
}

.breadcrumbs {
  margin: 0 0 1.25rem;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  margin: 0;
}

.breadcrumbs li + li::before {
  content: "›";
  margin-right: 0.35rem;
  color: #94a3b8;
  font-weight: 600;
}

.breadcrumbs a {
  color: var(--text-muted);
  text-decoration: none;
}

.breadcrumbs a:hover,
.breadcrumbs a:focus {
  color: var(--accent);
  opacity: 1;
  outline: none;
}

.breadcrumbs [aria-current="page"] {
  color: var(--text);
  font-weight: 600;
}

.lp-breadcrumbs-wrap {
  padding-top: 0.85rem;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0.5rem;
}

.lp-breadcrumbs-wrap .breadcrumbs {
  margin: 0;
}

header.page-head {
  margin-bottom: 1.75rem;
}

.doc-meta {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

h1 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 1rem;
  color: #0f172a;
}

.lead {
  font-size: 1.08rem;
  color: var(--text-muted);
}

.note-inline {
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  background: var(--accent-soft);
  border-radius: var(--radius);
  border-left: 4px solid var(--accent);
  font-size: 0.95rem;
}

.note-inline strong {
  color: var(--text);
}

nav.toc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  margin: 0;
  box-shadow: var(--shadow);
}

nav.toc strong {
  display: block;
  margin-bottom: 0.6rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

nav.toc ol {
  margin: 0;
  padding-left: 0;
  list-style: none;
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.45;
}

nav.toc li {
  margin: 0;
  border-left: 2px solid transparent;
}

nav.toc a {
  display: block;
  padding: 0.35rem 0.5rem 0.35rem 0.65rem;
  color: var(--text-muted);
  text-decoration: none;
  border-radius: 0 6px 6px 0;
}

nav.toc a:hover,
nav.toc a:focus {
  color: var(--accent);
  background: var(--accent-soft);
  opacity: 1;
  outline: none;
}

article section {
  margin-bottom: 2.5rem;
  scroll-margin-top: 1.25rem;
}

h2 {
  font-size: 1.28rem;
  margin: 0 0 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--border);
  color: #0f172a;
}

h3 {
  font-size: 1.08rem;
  margin: 1.35rem 0 0.5rem;
  color: #172033;
}

p {
  margin: 0 0 0.9rem;
}

ul,
ol {
  margin: 0 0 0.95rem;
  padding-left: 1.35rem;
}

li {
  margin-bottom: 0.35rem;
}

.callout-warn {
  background: var(--warn-bg);
  border: 1px solid var(--warn-border);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  margin: 1.25rem 0;
}

.callout-warn strong {
  color: #9a3412;
}

pre {
  background: var(--code-bg);
  color: var(--code-text);
  border-radius: calc(var(--radius) - 2px);
  padding: 1rem 1.1rem;
  overflow-x: auto;
  font-size: 0.85rem;
  line-height: 1.65;
}

pre.prompt {
  background: var(--prompt-bg);
  color: var(--text);
  border: 1px solid var(--border);
  white-space: pre-wrap;
  word-break: break-word;
}

pre code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.article-figure {
  margin: 1.4rem 0 1.7rem;
}

.article-figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #0f172a;
  box-shadow: var(--shadow);
}

.article-figure figcaption {
  margin-top: 0.55rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.article-list {
  display: grid;
  gap: 1rem;
  margin: 2rem 0;
  padding: 0;
  list-style: none;
}

.article-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.1rem 1.2rem;
  box-shadow: var(--shadow);
}

.article-card h2 {
  border: 0;
  padding: 0;
  margin-bottom: 0.45rem;
  font-size: 1.15rem;
}

.article-card h2 a {
  color: inherit;
  text-decoration: none;
}

.article-card h2 a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.article-card p {
  color: var(--text-muted);
  font-size: 0.98rem;
}

.article-card .doc-meta {
  margin-bottom: 0.35rem;
}

.hub-section-title {
  margin: 2rem 0 0.75rem;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hub-section-title:first-of-type {
  margin-top: 0.5rem;
}

.table-wrap {
  overflow-x: auto;
  margin: 1rem 0 1.25rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.95rem;
}

th,
td {
  border-bottom: 1px solid var(--border);
  padding: 0.65rem 0.75rem;
  text-align: left;
  vertical-align: top;
}

th {
  color: #0f172a;
  background: #eef3f8;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 1.1rem 0;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item h3 {
  margin-top: 0;
  font-size: 1.02rem;
}

footer.page-foot {
  margin-top: 3rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.back-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 40;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
  min-width: 2.85rem;
  min-height: 2.85rem;
  padding: 0.35rem 0.5rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: #0f172a;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition: color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease,
    transform 0.15s ease;
}

.back-to-top::after {
  content: "顶部";
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text-muted);
}

.back-to-top:hover,
.back-to-top:focus {
  opacity: 1;
  color: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.18);
  transform: translateY(-2px);
  outline: none;
}

.back-to-top:hover::after,
.back-to-top:focus::after {
  color: var(--accent);
}

/* —— Site-wide official disclaimer —— */
/* —— 404 —— */
.error-page .shell {
  min-height: calc(100vh - 4rem);
  display: flex;
  flex-direction: column;
}

.error-panel {
  flex: 1;
  margin: 1.5rem auto 2.5rem;
  max-width: 32rem;
  padding: 2rem 1.5rem;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.error-code {
  margin: 0 0 0.5rem;
  font-size: clamp(3.5rem, 12vw, 5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--accent);
  opacity: 0.92;
}

.error-panel h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.35rem, 4vw, 1.65rem);
  border: 0;
  padding: 0;
  color: #0f172a;
}

.error-lead {
  margin: 0 0 1.5rem;
  font-size: 1.02rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-bottom: 1.75rem;
}

.error-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  transition: opacity 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.error-btn:hover,
.error-btn:focus {
  opacity: 1;
  transform: translateY(-1px);
  outline: none;
}

.error-btn--primary {
  background: var(--accent);
  color: #fff !important;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}

.error-btn--primary:hover,
.error-btn--primary:focus {
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.error-btn--secondary {
  background: var(--surface);
  color: var(--accent) !important;
  border-color: var(--border);
}

.error-btn--secondary:hover,
.error-btn--secondary:focus {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.error-links {
  margin: 0 0 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  text-align: left;
}

.error-links-title {
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
}

.error-links ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.error-links li {
  margin: 0.35rem 0;
}

.error-links a {
  font-size: 0.95rem;
  text-decoration: none;
}

.error-note {
  margin: 0;
  padding: 0.85rem 1rem;
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--text-muted);
  background: var(--accent-soft);
  border-radius: 8px;
  text-align: left;
}

.error-note strong {
  color: var(--text);
}

.lp-official-banner,
.site-official-notice {
  background: #fffbeb;
  border-bottom: 2px solid #f59e0b;
  color: #78350f;
  font-size: 0.9rem;
  line-height: 1.55;
}

.lp-official-banner {
  padding: 0.65rem 0;
  text-align: center;
}

.lp-official-banner p,
.site-official-notice p {
  margin: 0;
}

.lp-official-banner strong,
.site-official-notice strong {
  color: #92400e;
}

.lp-official-banner a,
.site-official-notice a {
  color: #b45309;
  font-weight: 700;
}

.site-official-notice {
  margin-bottom: 1.5rem;
  padding: 0.85rem 1rem;
  border: 1px solid #fcd34d;
  border-radius: var(--radius);
  border-bottom-width: 2px;
}

.lp-hero-disclaimer {
  margin: 1rem 0 0;
  padding: 0.65rem 0.85rem;
  font-size: 0.88rem;
  color: #92400e;
  background: #fffbeb;
  border: 1px solid #fcd34d;
  border-radius: 8px;
  line-height: 1.5;
}

.lp-hero-disclaimer strong {
  color: #78350f;
}

.lp-official-footer {
  width: 100%;
  max-width: 36rem;
  margin: 0 auto 1rem;
  padding: 1rem 1.15rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(251, 191, 36, 0.45);
  border-radius: var(--radius);
  color: #e2e8f0;
  font-size: 0.9rem;
  line-height: 1.6;
}

.lp-official-footer-title {
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
  font-weight: 800;
  color: #fcd34d;
}

.lp-official-footer p {
  margin: 0;
}

.lp-official-footer a {
  color: #93c5fd;
  font-weight: 700;
}

.lp-official-footer strong {
  color: #fff;
}

.page-foot-notice {
  margin: 0 0 0.85rem;
  padding: 0.75rem 0.9rem;
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--text-muted);
  background: #fffbeb;
  border: 1px solid #fcd34d;
  border-radius: 8px;
  text-align: left;
}

.page-foot-notice strong {
  color: #92400e;
}

/* —— Landing page (index) —— */
.lp {
  background: var(--bg);
}

.lp-container {
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.lp-container--narrow {
  max-width: 40rem;
}

.lp-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.lp-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.75rem;
}

.lp-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 800;
  font-size: 0.95rem;
  color: #0f172a;
  text-decoration: none;
  white-space: nowrap;
}

.lp-logo img {
  flex-shrink: 0;
  display: block;
}

.lp-logo-text {
  letter-spacing: -0.02em;
}

.lp-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  font-size: 0.88rem;
}

.lp-nav a {
  color: var(--text-muted);
  text-decoration: none;
}

.lp-nav a:hover {
  color: var(--accent);
  opacity: 1;
}

.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  border: none;
  cursor: pointer;
}

.lp-btn:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.lp-btn--primary {
  background: var(--accent);
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.lp-btn--secondary {
  background: var(--surface);
  color: #0f172a !important;
  border: 1px solid var(--border);
}

.lp-btn--header {
  flex-shrink: 0;
  padding: 0.5rem 0.95rem;
  font-size: 0.85rem;
}

.lp-btn--lg {
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
}

.lp-hero {
  padding: 2.5rem 0 3rem;
  background: linear-gradient(180deg, #fff 0%, var(--bg) 100%);
}

.lp-hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.lp-hero-copy h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  line-height: 1.22;
  letter-spacing: -0.02em;
}

.lp-hero-lead {
  margin: 0;
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 32rem;
}

.lp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.lp-hero-visual {
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.lp-hero-img {
  display: block;
  width: 100%;
  max-width: 640px;
  height: auto;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 2px);
  box-shadow:
    0 4px 6px rgba(15, 23, 42, 0.06),
    0 20px 48px rgba(15, 23, 42, 0.12);
  background: var(--surface);
}

.lp-section {
  padding: 3rem 0;
}

.lp-section--alt {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.lp-section-title {
  margin: 0 0 1rem;
  font-size: clamp(1.35rem, 3vw, 1.65rem);
  text-align: center;
  border: 0;
  padding: 0;
}

.lp-section-lead {
  margin: 0 auto 2rem;
  max-width: 42rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 1.02rem;
}

.lp-section-lead--center {
  margin-bottom: 1.75rem;
}

.lp-section-foot {
  margin: 1.75rem 0 0;
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.lp-section-foot a {
  font-weight: 700;
  text-decoration: none;
}

.lp-section-foot a:hover,
.lp-section-foot a:focus {
  text-decoration: underline;
  opacity: 1;
}

.lp-tutorial-picks {
  display: grid;
  gap: 1rem;
  max-width: 52rem;
  margin-inline: auto;
}

.tutorial-pick-card {
  display: grid;
  grid-template-columns: minmax(7.5rem, 10.5rem) minmax(0, 1fr);
  gap: 1rem 1.15rem;
  align-items: start;
  padding: 0.85rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.tutorial-pick-card:hover,
.tutorial-pick-card:focus {
  border-color: var(--accent);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.12);
  transform: translateY(-1px);
  opacity: 1;
  outline: none;
}

.tutorial-pick-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #eef3f8;
}

.tutorial-pick-body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

.tutorial-pick-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent);
}

.tutorial-pick-title {
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.35;
  color: #0f172a;
}

.tutorial-pick-desc {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.tutorial-pick-link {
  margin-top: 0.2rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent);
}

.lp-cards {
  display: grid;
  gap: 1rem;
}

.lp-cards--3 {
  grid-template-columns: 1fr;
}

.lp-cards--6 {
  grid-template-columns: 1fr;
}

.lp-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.3rem;
  box-shadow: var(--shadow);
}

.lp-section--alt .lp-card {
  background: var(--bg);
}

.lp-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.65rem;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 800;
}

.lp-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
}

.lp-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.lp-card--feature h3 {
  color: #0f172a;
}

.lp-audience {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr;
}

.lp-audience-item {
  padding: 1.15rem 1.2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  border-left: 4px solid var(--accent);
}

.lp-audience-item h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.lp-audience-item p {
  margin: 0;
  font-size: 0.94rem;
  color: var(--text-muted);
}

.lp-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1rem;
  max-width: 36rem;
  margin-inline: auto;
}

.lp-steps li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin: 0;
  padding: 1rem 1.15rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.lp-section--alt .lp-steps li {
  background: var(--bg);
}

.lp-step-num {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
}

.lp-steps strong {
  display: block;
  margin-bottom: 0.2rem;
  color: #0f172a;
}

.lp-steps p {
  margin: 0;
  font-size: 0.94rem;
  color: var(--text-muted);
}

.lp-steps-cta {
  margin: 2rem 0 0;
  text-align: center;
}

.lp-cta-mid {
  padding: 3rem 0;
  background: linear-gradient(135deg, #0f172a 0%, #1e40af 100%);
  color: #f8fafc;
  text-align: center;
}

.lp-cta-mid h2 {
  margin: 0 0 1.25rem;
  color: #fff;
  border: 0;
  padding: 0;
  font-size: clamp(1.3rem, 3vw, 1.75rem);
}

.lp-cta-mid-note {
  margin: 1rem 0 0;
  font-size: 0.88rem;
  color: #94a3b8;
}

.lp-risk {
  padding: 2.5rem 0 3rem;
  background: var(--warn-bg);
  border-top: 1px solid var(--warn-border);
}

.lp-risk h2 {
  margin: 0 0 1rem;
  font-size: 1.15rem;
  border: 0;
  padding: 0;
  color: #9a3412;
}

.lp-risk ul {
  margin: 0;
  padding-left: 1.2rem;
  color: #7c2d12;
  font-size: 0.95rem;
}

.lp-risk li {
  margin-bottom: 0.5rem;
}

.lp-footer {
  padding: 2.5rem 0 2rem;
  background: #0f172a;
  color: #94a3b8;
  text-align: center;
}

.lp-footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.lp-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem 0.75rem;
  font-size: 0.88rem;
}

.lp-footer-links a {
  color: #cbd5e1;
  text-decoration: none;
}

.lp-footer-links a:hover {
  color: #fff;
  opacity: 1;
}

.lp-footer-copy {
  margin: 0;
  font-size: 0.88rem;
}

.lp-footer-copy a {
  color: #e2e8f0;
}

.lp-footer-note {
  margin: 0;
  font-size: 0.8rem;
  opacity: 0.85;
}

.lp #faq .lp-section-title {
  margin-bottom: 0.5rem;
}

.lp #faq .faq-item h3 {
  border: 0;
}

@media (min-width: 720px) {
  .lp-nav {
    gap: 1.25rem;
    font-size: 0.9rem;
  }

  .lp-hero-grid {
    grid-template-columns: 1fr 1.05fr;
    gap: 2.5rem 3rem;
    align-items: center;
  }

  .lp-hero-img {
    max-width: 100%;
  }

  .lp-cards--3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .tutorial-pick-card {
    grid-template-columns: minmax(9rem, 11.5rem) minmax(0, 1fr);
    padding: 1rem 1.05rem;
  }

  .lp-cards--6 {
    grid-template-columns: repeat(2, 1fr);
  }

  .lp-audience {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .lp-cards--6 {
    grid-template-columns: repeat(3, 1fr);
  }

  .lp-audience {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 719px) {
  .lp-header-inner {
    flex-wrap: wrap;
  }

  .lp-logo {
    flex: 1 1 auto;
  }

  .lp-nav {
    order: 3;
    width: 100%;
    padding-top: 0.25rem;
    border-top: 1px solid var(--border);
  }

  .lp-btn--header {
    flex-shrink: 0;
  }

  .lp-hero-actions {
    flex-direction: column;
  }

  .lp-hero-actions .lp-btn {
    width: 100%;
  }

  .tutorial-pick-card {
    grid-template-columns: 1fr;
  }

  .tutorial-pick-card img {
    max-height: 11rem;
  }
}

@media (max-width: 900px) {
  .article-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .article-sidebar {
    position: static;
    max-height: none;
    overflow: visible;
  }

  .article-main {
    max-width: none;
  }

  nav.toc ol {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr));
    gap: 0.15rem 0.5rem;
  }

  nav.toc li {
    border-left: none;
  }

  nav.toc a {
    padding: 0.4rem 0.55rem;
    border-radius: 6px;
  }
}

@media (max-width: 560px) {
  .shell {
    padding-top: 1.25rem;
  }

  .shell--article {
    padding-bottom: 4.5rem;
  }

  .site-nav {
    align-items: flex-start;
    flex-direction: column;
  }

  table {
    min-width: 42rem;
  }

  nav.toc ol {
    grid-template-columns: 1fr;
  }

  .back-to-top {
    right: 0.85rem;
    bottom: 0.85rem;
    min-width: 2.65rem;
    min-height: 2.65rem;
  }
}
