:root {
  --rust: #D34516;
  --rust-dark: #b83a12;
  --rust-glow: rgba(211, 69, 22, 0.2);
  --navy: #1E2650;
  --navy-deep: #141a38;
  --rust-blue: #28607F;
  --teal: #14B8A6;
  --graphite: #232925;
  --cloud: #F4F6F8;
  --white: #FFFFFF;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --sans: "Plus Jakarta Sans", system-ui, sans-serif;
  --radius: 14px;
  --radius-lg: 22px;
  --flat-border: 2px solid rgba(30, 38, 80, 0.1);
  --flat-border-hover: 2px solid rgba(30, 38, 80, 0.18);
  --shadow-border: none;
  --shadow-border-hover: none;
  --shadow: none;
  --shadow-soft: none;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.2, 0, 0, 1);
  --nav-h: 72px;
}

[data-theme="light"] {
  --bg: var(--cloud);
  --bg-elevated: var(--white);
  --text: var(--graphite);
  --text-muted: #5c6470;
  --border: #dde2e8;
  --nav-bg: rgba(244, 246, 248, 0.92);
  --hero-text: var(--navy);
  --hero-sub: #4a5568;

  --code-bg: var(--navy-deep);
  --badge-bg: var(--white);
  --card-hover: rgba(30, 38, 80, 0.05);
  --overlay: rgba(20, 26, 56, 0.45);
}

[data-theme="dark"] {
  --bg: var(--navy-deep);
  --bg-elevated: #1a2248;
  --text: #f0f2f8;
  --text-muted: rgba(240, 242, 248, 0.65);
  --border: rgba(255, 255, 255, 0.1);
  --nav-bg: rgba(20, 26, 56, 0.94);
  --hero-text: var(--white);
  --hero-sub: rgba(240, 242, 248, 0.75);
  --flat-border: 2px solid rgba(255, 255, 255, 0.12);
  --flat-border-hover: 2px solid rgba(255, 255, 255, 0.22);
  --code-bg: #0c1024;
  --badge-bg: rgba(255, 255, 255, 0.06);
  --card-hover: rgba(255, 255, 255, 0.05);
  --overlay: rgba(0, 0, 0, 0.55);
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scene-deco { display: none; }
  :where(body :not(.scene-deco):not(.scene-deco *)) {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, .section-title, .page-hero h1, .cta-band h2 {
  text-wrap: balance;
}
p, .hero-lead, .section-lead, .page-hero .lead, .card p, .prose p, .testimonial p, .footer-brand p {
  text-wrap: pretty;
}

a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* Nav */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--bg-elevated);
  border-bottom: var(--flat-border);
}
.site-nav .bar {
  display: flex;
  align-items: center;
  gap: 12px;
  height: var(--nav-h);
}
.site-nav .logo { margin-right: 8px; }
.nav-main { flex: 1; justify-content: center; }
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.03em;
  color: var(--hero-text);
  flex-shrink: 0;
}
.logo-mark {
  width: 36px;
  height: 36px;
  background: var(--rust);
  border-radius: 10px;
  display: grid;
  place-items: center;
}
.logo em { font-style: normal; color: var(--rust); }

.nav-main {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-main a {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  transition-property: color, background-color;
  transition-duration: 150ms;
  transition-timing-function: ease-out;
}
.nav-main a:hover,
.nav-main a.active {
  color: var(--text);
  background: var(--card-hover);
}

.nav-dropdown { position: relative; }
.nav-dropdown > button {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: var(--sans);
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-dropdown > button:hover,
.nav-dropdown.open > button {
  color: var(--text);
  background: var(--card-hover);
}
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 200px;
  background: var(--bg-elevated);
  border: var(--flat-border);
  border-radius: 16px;
  padding: 8px;
  transition-property: opacity, transform;
  transition-duration: 150ms;
  transition-timing-function: ease-out;
}
.nav-dropdown.open .nav-dropdown-menu {
  display: block;
  animation: menuEnter 200ms var(--ease-out) forwards;
}
@keyframes menuEnter {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
.nav-dropdown-menu a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
}
.nav-dropdown-menu a:hover {
  background: var(--card-hover);
  color: var(--text);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  margin-left: auto;
}
.theme-btn {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: var(--flat-border);
  background: var(--bg-elevated);
  color: var(--text);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition-property: border-color, scale;
  transition-duration: 150ms;
  transition-timing-function: ease-out;
}
.theme-btn:hover { border: var(--flat-border-hover); }
.theme-btn:active { scale: 0.96; }
.theme-icon-wrap {
  position: relative;
  width: 18px;
  height: 18px;
}
.theme-icon {
  position: absolute;
  inset: 0;
  transition-property: opacity, transform, filter;
  transition-duration: 300ms;
  transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}
.theme-icon--sun {
  opacity: 1;
  transform: scale(1);
  filter: blur(0);
}
.theme-icon--moon {
  opacity: 0;
  transform: scale(0.25);
  filter: blur(4px);
}
[data-theme="dark"] .theme-icon--sun {
  opacity: 0;
  transform: scale(0.25);
  filter: blur(4px);
}
[data-theme="dark"] .theme-icon--moon {
  opacity: 1;
  transform: scale(1);
  filter: blur(0);
}

.menu-btn {
  display: none;
  background: var(--bg-elevated);
  border: var(--flat-border);
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  color: var(--text);
  font-family: var(--sans);
  transition-property: border-color, scale;
  transition-duration: 150ms;
  transition-timing-function: ease-out;
}
.menu-btn:active { scale: 0.96; }

.mobile-drawer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 300;
  pointer-events: none;
}
.mobile-drawer.open {
  display: block;
  pointer-events: auto;
}
.mobile-drawer .backdrop {
  position: absolute;
  inset: 0;
  background: var(--overlay);
  opacity: 0;
  transition-property: opacity;
  transition-duration: 200ms;
  transition-timing-function: ease-out;
}
.mobile-drawer.open .backdrop { opacity: 1; }
.mobile-drawer .panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(320px, 88vw);
  height: 100%;
  background: var(--bg-elevated);
  border-left: var(--flat-border);
  padding: 24px;
  transform: translateX(100%);
  transition-property: transform;
  transition-duration: 280ms;
  transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
  overflow-y: auto;
  will-change: transform;
}
.mobile-drawer.open .panel { transform: translateX(0); }
.mobile-drawer .panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.mobile-drawer .close-btn {
  position: relative;
  background: transparent;
  border: none;
  border-radius: 8px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  color: var(--text);
  font-size: 18px;
  border: var(--flat-border);
  transition-property: scale, border-color;
  transition-duration: 150ms;
  transition-timing-function: ease-out;
}
.mobile-drawer .close-btn::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  transform: translate(-50%, -50%);
}
.mobile-drawer .close-btn:active { scale: 0.96; }
.mobile-drawer nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mobile-drawer nav a {
  padding: 12px 14px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  color: var(--text-muted);
}
.mobile-drawer nav a:hover,
.mobile-drawer nav a.active {
  background: var(--card-hover);
  color: var(--text);
}
.mobile-drawer .divider {
  height: 1px;
  background: var(--border);
  margin: 16px 0;
}
.mobile-drawer .section-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  padding: 8px 14px 4px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition-property: transform, box-shadow, background-color, color;
  transition-duration: 150ms;
  transition-timing-function: ease-out;
  white-space: nowrap;
  font-family: var(--sans);
}
.btn:active { scale: 0.96; }
.btn-primary {
  background: var(--rust);
  color: var(--white);
  border: 2px solid var(--rust);
  padding-left: 22px;
  padding-right: 20px;
}
.btn-primary:hover { background: var(--rust-dark); border-color: var(--rust-dark); }
.btn-primary svg { margin-left: 1px; }
.btn-ghost {
  background: var(--bg-elevated);
  color: var(--text);
  border: var(--flat-border);
}
.btn-ghost:hover { border: var(--flat-border-hover); }
.btn-sm { padding: 8px 16px; font-size: 13px; }

.tabular-nums { font-variant-numeric: tabular-nums; }

/* Scroll parallax deco */
.scene-deco {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.deco-shape {
  position: absolute;
  will-change: transform;
  transition: transform 0.1s linear;
}
.deco-1 { width: 120px; height: 120px; border-radius: 28px; top: 12%; left: 8%; }
.deco-2 { width: 80px; height: 80px; border-radius: 50%; top: 22%; right: 12%; }
.deco-3 { width: 160px; height: 56px; border-radius: 16px; bottom: 18%; left: 6%; }
.deco-4 { width: 96px; height: 96px; border-radius: 50%; border: 3px solid; bottom: 28%; right: 10%; background: transparent; }
.deco-5 { width: 48px; height: 48px; border-radius: 8px; top: 48%; right: 22%; transform: rotate(45deg); }
.deco-6 { width: 20px; height: 20px; border-radius: 50%; top: 64%; left: 18%; }
.deco-rust { background: rgba(211, 69, 22, 0.14); }
.deco-teal { background: rgba(20, 184, 166, 0.16); }
.deco-navy { background: rgba(30, 38, 80, 0.1); }
.deco-ring { border-color: rgba(211, 69, 22, 0.28); }
.deco-diamond { background: rgba(40, 96, 127, 0.15); }
.deco-dot { background: rgba(211, 69, 22, 0.35); }
[data-theme="dark"] .deco-rust { background: rgba(211, 69, 22, 0.22); }
[data-theme="dark"] .deco-navy { background: rgba(255, 255, 255, 0.06); }

/* Hero */
.hero {
  position: relative;
  z-index: 1;
  padding: 88px 0 72px;
}
.hero-inner {
  position: relative;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  width: 100%;
  padding: 0 24px;
}
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 20px;
}
.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(40px, 6vw, 58px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.06;
  color: var(--hero-text);
}


.hero-lead {
  margin: 0 auto 32px;
  max-width: 540px;
  font-size: 18px;
  color: var(--hero-sub);
  font-weight: 500;
}
.command-box {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--code-bg);
  color: #d8dce8;
  border-radius: 12px;
  font-family: var(--mono);
  font-size: 14px;
  margin-bottom: 28px;
  border: 2px solid rgba(255,255,255,0.08);
  max-width: 100%;
}
.command-box code { overflow: hidden; text-overflow: ellipsis; }
.command-box .prompt { color: var(--rust); user-select: none; }
.copy-btn {
  position: relative;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  color: #b8bec8;
  padding: 6px 12px;
  border-radius: 8px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
  transition-property: scale, background-color, color, border-color;
  transition-duration: 150ms;
  transition-timing-function: ease-out;
}
.copy-btn::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  transform: translate(-50%, -50%);
}
.copy-btn:active { scale: 0.96; }
.copy-btn.copied { color: var(--teal); border-color: var(--teal); }
.hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.trust-row {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px;
  background: var(--badge-bg);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  border: var(--flat-border);
}
.trust-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(211, 69, 22, 0.1);
  color: var(--rust);
  display: grid;
  place-items: center;
}
.trust-icon.teal { background: rgba(20, 184, 166, 0.12); color: var(--teal); }
.trust-icon.navy { background: rgba(30, 38, 80, 0.1); color: var(--navy); }
[data-theme="dark"] .trust-icon.navy { color: var(--teal); background: rgba(20,184,166,0.12); }

.code-panel { max-width: 560px; margin: 36px auto 0; padding: 8px; }
.section-cta {
  text-align: center;
  margin-top: 36px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
}
.section-cta a { color: var(--rust); }
.section-cta a:hover { text-decoration: underline; }

/* Page hero (inner pages) */
.page-hero {
  position: relative;
  z-index: 1;
  padding: 56px 0 48px;
  border-bottom: var(--flat-border);
  background: var(--bg-elevated);
}
.page-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--hero-text);
}
.page-hero .lead {
  margin: 0;
  max-width: 640px;
  font-size: 18px;
  color: var(--hero-sub);
  font-weight: 500;
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.breadcrumb a:hover { color: var(--rust); }
.breadcrumb span { opacity: 0.5; }

.step-card { text-align: left; }

.feature-card { text-align: left; }
.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(211, 69, 22, 0.1);
  color: var(--rust);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

.mcp-icon {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  display: grid;
  place-items: center;
  color: var(--white);
  flex-shrink: 0;
}

/* Sections */
section, .section { position: relative; z-index: 1; padding: 72px 0; }
.section-head { margin-bottom: 44px; }
.section-head.center { text-align: center; }
.section-head.center .section-lead { margin-left: auto; margin-right: auto; }
.section-label {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--rust);
  margin-bottom: 10px;
}
.section-title {
  margin: 0 0 14px;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--hero-text);
}
.section-lead {
  margin: 0;
  max-width: 580px;
  color: var(--text-muted);
  font-size: 17px;
  font-weight: 500;
}
.band-alt {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

.card {
  padding: 28px;
  background: var(--bg-elevated);
  border: var(--flat-border);
  border-radius: var(--radius);
  transition: border-color 150ms ease-out, transform 150ms ease-out;
}
.card:hover { border: var(--flat-border-hover); transform: translateY(-2px); }
.card:active { scale: 0.99; }
.card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 800;
  color: var(--hero-text);
}
.card p {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
}
.card .link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 700;
  color: var(--rust);
}
.card-num {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--navy);
  color: var(--white);
  font-weight: 800;
  font-size: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

.panel {
  background: var(--bg-elevated);
  border: var(--flat-border);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.flat-panel.center { text-align: center; }
.panel .code-block { margin: 0; }

.code-block {
  padding: 18px;
  background: var(--code-bg);
  border-radius: 14px;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.65;
  color: #c5cad6;
  overflow-x: auto;
  white-space: pre;
  border: 1px solid rgba(255,255,255,0.05);
}
.code-block .kw { color: #c678dd; }
.code-block .fn { color: #61afef; }
.code-block .str { color: #98c379; }
.code-block .attr { color: #e5c07b; }
.code-block .cmt { color: #6b7280; }
.code-block .prompt { color: var(--rust); }

.config-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.config-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: var(--bg);
  border-radius: 10px;
  border: none;
  border: var(--flat-border);
  font-size: 14px;
}
.config-list code {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--teal);
  background: rgba(20, 184, 166, 0.1);
  padding: 2px 8px;
  border-radius: 6px;
  flex-shrink: 0;
}

.subnav-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.subnav-pills a {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  border: none;
  color: var(--text-muted);
  background: var(--bg-elevated);
  border: var(--flat-border);
  transition-property: border-color, color;
  transition-duration: 150ms;
  transition-timing-function: ease-out;
}
.subnav-pills a:active { scale: 0.96; }
.subnav-pills a:hover,
.subnav-pills a.active {
  border-color: var(--rust);
  color: var(--rust);
}

.cta-band {
  position: relative;
  z-index: 1;
  background: var(--navy);
  color: var(--white);
  border: var(--flat-border);
  border-radius: var(--radius-lg);
  padding: 72px 48px;
  text-align: center;
  margin: 0 24px 80px;
  max-width: 1112px;
  margin-left: auto;
  margin-right: auto;
}
.cta-band h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.cta-band p {
  margin: 0 0 28px;
  opacity: 0.85;
  font-size: 16px;
}

/* Footer */
.site-footer {
  padding: 56px 0 40px;
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 36px;
}
.footer-brand p {
  margin: 12px 0 0;
  font-size: 14px;
  color: var(--text-muted);
  max-width: 280px;
}
.footer-col h4 {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--hero-text);
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  padding: 4px 0;
  font-weight: 500;
}
.footer-col a:hover { color: var(--rust); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--text-muted);
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.prose { max-width: 720px; }
.prose p { color: var(--text-muted); font-size: 16px; margin: 0 0 16px; }
.prose h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--hero-text);
  margin: 32px 0 12px;
  letter-spacing: -0.02em;
}

.testimonial {
  padding: 28px;
  background: var(--bg-elevated);
  border: var(--flat-border);
  border-radius: var(--radius);
}
.testimonial p {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
}
.testimonial cite {
  font-style: normal;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
}

.mcp-banner, .flat-banner {
  display: flex;
  gap: 24px;
  align-items: center;
  padding: 36px;
  background: var(--navy);
  border: var(--flat-border);
  border-radius: var(--radius-lg);
  color: var(--white);
}
.mcp-banner a { color: var(--teal); }
.mcp-banner h2 { margin: 0 0 8px; font-size: 24px; font-weight: 800; }
.mcp-banner p { margin: 0; opacity: 0.88; }

@media (max-width: 1024px) {
  .nav-main, .nav-dropdown { display: none; }
  .menu-btn { display: inline-flex; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 48px 24px; margin: 0 16px 64px; }
  .mcp-banner { flex-direction: column; text-align: center; }
  .command-box { font-size: 12px; padding: 10px 12px; }
  .scene-deco .deco-3, .scene-deco .deco-4 { display: none; }
}

.doc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.doc-part h3 {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 800;
  color: var(--hero-text);
}
.doc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.doc-list a {
  display: grid;
  gap: 2px;
  padding: 12px 14px;
  border: var(--flat-border);
  border-radius: 12px;
  background: var(--bg-elevated);
  transition: border-color 150ms ease-out;
}
.doc-list a:hover { border: var(--flat-border-hover); }
.doc-list strong { font-size: 14px; color: var(--hero-text); }
.doc-list span { font-size: 13px; color: var(--text-muted); }

.link-card svg { color: var(--rust); margin-bottom: 12px; }
.example-card .tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal);
  margin-bottom: 10px;
}
.example-card h4 { margin: 0 0 8px; font-size: 15px; }
.example-card code { font-family: var(--mono); font-size: 14px; color: var(--rust); }
.example-group { margin-bottom: 40px; }
.example-group h3 {
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 800;
  color: var(--hero-text);
}
.path-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 12px;
  font-size: 12px;
}
.path-steps code {
  font-family: var(--mono);
  background: var(--bg);
  border: var(--flat-border);
  padding: 4px 8px;
  border-radius: 8px;
}
.card.center { text-align: center; }
.card.center .card-num { margin-left: auto; margin-right: auto; }

@media (max-width: 900px) {
  .doc-grid { grid-template-columns: 1fr; }
}