:root {
  --red: #d7332f;
  --red-dark: #b91f1c;
  --red-soft: #fff2f1;
  --ink: #14171f;
  --text: #3f4654;
  --muted: #6e7584;
  --line: #e4e8ef;
  --panel: #ffffff;
  --cool: #f5f7fa;
  --cool-2: #eef3f8;
  --blue: #2367d1;
  --shadow: 0 24px 64px rgba(26, 32, 44, 0.09);
  --radius: 8px;
  --container: 1280px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font-family:
    Inter,
    "PingFang SC",
    "Microsoft YaHei",
    "Noto Sans SC",
    Arial,
    sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
}

button,
input,
textarea {
  font: inherit;
}

.announcement {
  position: relative;
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 64px;
  background: linear-gradient(90deg, #b9201d, #df0500, #c3221e);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}

.icon-button {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: currentColor;
  cursor: pointer;
}

.icon-button svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.announcement-close {
  position: absolute;
  right: 22px;
  top: 50%;
  color: #fff;
  transform: translateY(-50%);
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.nav-shell {
  display: grid;
  max-width: var(--container);
  min-height: 76px;
  align-items: center;
  grid-template-columns: auto 1fr auto auto;
  gap: 42px;
  margin: 0 auto;
  padding: 0 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
}

.brand-mark {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
}

.brand-mark img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 62px;
  color: #171a21;
  font-size: 16px;
  font-weight: 650;
}

.nav-links a,
.site-footer a {
  transition:
    color 160ms ease,
    transform 160ms ease;
}

.nav-links a:hover,
.nav-item-trigger[aria-current="page"],
.site-footer a:hover {
  color: var(--red);
}

.nav-item {
  position: relative;
}

.nav-item-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 76px;
}

.nav-item-trigger svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.mega-menu {
  position: absolute;
  z-index: 25;
  top: calc(100% - 8px);
  left: 50%;
  display: grid;
  min-width: 214px;
  gap: 2px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 60px rgba(23, 31, 44, 0.13);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.mega-menu::before {
  position: absolute;
  top: -10px;
  right: 0;
  left: 0;
  height: 10px;
  content: "";
}

.mega-menu a {
  display: block;
  border-radius: 6px;
  padding: 10px 12px;
  color: #303947;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
}

.mega-menu a:hover,
.mega-menu a:focus-visible {
  background: var(--red-soft);
  color: var(--red);
}

.nav-item:hover .mega-menu,
.nav-item:focus-within .mega-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.nav-cta,
.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: var(--radius);
  font-size: 17px;
  font-weight: 750;
  line-height: 1.1;
  white-space: nowrap;
}

.nav-cta {
  min-width: 128px;
  background: var(--red);
  color: #fff;
  box-shadow: 0 12px 24px rgba(215, 51, 47, 0.22);
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #303947;
  box-shadow: 0 10px 28px rgba(31, 42, 58, 0.06);
}

.language-switcher a {
  display: inline-flex;
  min-width: 38px;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 10px;
  color: #4f5b6b;
  font-size: 13px;
  font-weight: 850;
  line-height: 1;
}

.language-switcher a[aria-current="true"] {
  background: var(--red);
  color: #fff;
}

.language-switcher em {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  color: var(--ink);
}

.section-inner {
  width: min(100%, var(--container));
  margin: 0 auto;
  padding: 0 28px;
}

.hero {
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 38%, rgba(215, 51, 47, 0.08), transparent 32%),
    linear-gradient(180deg, #fff 0%, #fff 78%, var(--cool) 78%, var(--cool) 100%);
}

.hero-grid {
  display: grid;
  min-height: 470px;
  align-items: center;
  grid-template-columns: minmax(0, 0.86fr) minmax(560px, 1.14fr);
  gap: 34px;
  padding-top: 32px;
  padding-bottom: 18px;
}

.hero-copy h1 {
  max-width: 650px;
  margin: 0;
  color: var(--ink);
  font-size: 46px;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.18;
}

.hero-copy h1 span {
  color: #df0500;
}

.hero-copy p {
  max-width: 615px;
  margin: 20px 0 0;
  color: #4f5968;
  font-size: 19px;
  line-height: 1.75;
}

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

.button {
  min-width: 184px;
  padding: 0 30px;
  border: 1px solid transparent;
}

.button svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.button-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 18px 32px rgba(215, 51, 47, 0.22);
}

.button-secondary {
  border-color: #d7dde7;
  background: #fff;
  color: var(--ink);
}

.button:hover,
.nav-cta:hover {
  transform: translateY(-1px);
}

.hero-visual {
  position: relative;
  min-height: 420px;
}

.hero-visual img {
  width: min(640px, 102%);
  max-width: none;
  height: auto;
  margin-left: -24px;
  filter: drop-shadow(0 26px 52px rgba(26, 32, 44, 0.1));
}

.ecosystem {
  border-top: 1px solid #e8edf3;
  background: linear-gradient(180deg, #f7f9fb 0%, #fff 100%);
}

.ecosystem-inner {
  display: grid;
  align-items: stretch;
  gap: 20px;
  padding-top: 34px;
  padding-bottom: 34px;
}

.ecosystem-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid #dfe5ec;
  padding-bottom: 18px;
}

.ecosystem-head strong {
  color: var(--ink);
  font-size: 26px;
  font-weight: 850;
  line-height: 1.2;
}

.ecosystem-head span {
  color: var(--muted);
  font-size: 16px;
  font-weight: 700;
  text-align: right;
}

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

.ecosystem-modes article,
.ecosystem-family {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 34px rgba(31, 42, 58, 0.05);
}

.ecosystem-modes article {
  padding: 20px 22px;
}

.ecosystem-coverage {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 18px 0 24px;
}

.ecosystem-coverage strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 850;
  margin-right: 2px;
}

.ecosystem-coverage span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: #283142;
  font-size: 14px;
  font-weight: 760;
  line-height: 1;
  padding: 0 12px;
  box-shadow: 0 10px 24px rgba(31, 42, 58, 0.04);
}

.ecosystem-modes h3,
.ecosystem-family h3 {
  margin: 0;
  color: var(--ink);
  font-size: 21px;
  font-weight: 850;
  line-height: 1.25;
}

.ecosystem-modes p,
.ecosystem-family p {
  margin: 8px 0 0;
  color: #596273;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.7;
}

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

.ecosystem-family {
  padding: 20px;
}

.ecosystem-family-head {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: center;
  margin-bottom: 14px;
}

.ecosystem-family-head .protocol-badge {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  font-size: 16px;
}

.ecosystem-vendor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
}

.ecosystem-vendor {
  min-height: 74px;
  grid-template-columns: 38px 1fr;
  column-gap: 10px;
  padding: 12px;
}

.ecosystem-vendor i {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  font-size: 12px;
}

.ecosystem-vendor strong {
  font-size: 14px;
}

.strategy-section {
  background:
    radial-gradient(circle at 8% 8%, rgba(215, 51, 47, 0.07), transparent 30%),
    linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.strategy-layout {
  display: grid;
  align-items: stretch;
  grid-template-columns: minmax(320px, 0.86fr) minmax(580px, 1.14fr);
  gap: 28px;
}

.strategy-thesis,
.strategy-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 42px rgba(31, 42, 58, 0.06);
}

.strategy-thesis {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  justify-content: space-between;
  padding: 34px;
}

.strategy-thesis h2 {
  margin: 0;
  color: var(--ink);
  font-size: 36px;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.25;
}

.strategy-thesis p {
  margin: 20px 0 30px;
  color: #4f5968;
  font-size: 17px;
  line-height: 1.8;
}

.strategy-thesis strong {
  display: block;
  border-left: 4px solid var(--red);
  padding-left: 18px;
  color: #1f2937;
  font-size: 20px;
  font-weight: 850;
  line-height: 1.55;
}

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

.strategy-grid article {
  padding: 26px;
}

.strategy-grid span {
  display: inline-flex;
  width: 38px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(215, 51, 47, 0.24);
  border-radius: 6px;
  background: var(--red-soft);
  color: var(--red);
  font-size: 13px;
  font-weight: 850;
}

.strategy-grid h3 {
  margin: 18px 0 10px;
  color: var(--ink);
  font-size: 22px;
  font-weight: 850;
  line-height: 1.28;
}

.strategy-grid p {
  margin: 0;
  color: #596273;
  font-size: 15px;
  line-height: 1.75;
}

.section {
  padding: 92px 0;
  background: #fff;
  scroll-margin-top: 112px;
}

.compact-section {
  padding-top: 58px;
  padding-bottom: 58px;
}

.muted-section {
  background: linear-gradient(180deg, #f7f9fb 0%, #fff 100%);
}

.section-heading {
  max-width: 860px;
  margin: 0 auto 46px;
  text-align: center;
}

.section-heading.align-left {
  margin-left: 0;
  text-align: left;
}

.section-heading h2 {
  margin: 0;
  color: var(--ink);
  font-size: 38px;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.28;
}

.section-heading p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.plane-grid {
  display: grid;
  grid-template-columns: 1fr 1.18fr 1fr;
  gap: 24px;
}

.plane-card,
.edition-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 12px 44px rgba(28, 35, 49, 0.06);
}

.plane-card {
  padding: 30px;
}

.card-icon,
.solution-icon,
.edition-icon {
  display: inline-flex;
  width: 56px;
  height: 56px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: var(--red-soft);
  color: var(--red);
}

.card-icon svg,
.solution-icon svg,
.edition-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.plane-card h3,
.solution-row h3,
.edition-card h3 {
  margin: 18px 0 8px;
  color: var(--ink);
  font-size: 24px;
  font-weight: 820;
}

.plane-card p,
.edition-card p {
  margin: 0;
  color: var(--text);
  font-size: 15px;
}

.mini-terminal,
.rule-box,
.flow-diagram {
  margin: 26px 0 20px;
  border: 1px solid #dfe5ec;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fff, #f8fafc);
}

.mini-terminal {
  display: grid;
  gap: 6px;
  padding: 18px;
  color: #1f2b39;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 13px;
}

.flow-diagram {
  display: grid;
  min-height: 132px;
  align-items: center;
  grid-template-columns: 1fr 40px 1fr 40px 1fr;
  padding: 22px;
  text-align: center;
}

.flow-diagram span,
.flow-diagram strong {
  display: flex;
  min-height: 62px;
  align-items: center;
  justify-content: center;
  border: 1px solid #e1e6ee;
  border-radius: var(--radius);
  background: #fff;
}

.flow-diagram strong {
  border-color: rgba(215, 51, 47, 0.35);
  color: var(--red);
}

.flow-diagram i,
.solution-visual i {
  height: 1px;
  background: #aeb8c6;
}

.rule-box {
  display: grid;
  gap: 10px;
  padding: 18px;
  font-size: 14px;
}

.rule-box b {
  color: var(--red);
}

.feature-list,
.edition-card ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list li,
.edition-card li {
  position: relative;
  padding-left: 24px;
  color: #3e4654;
  font-size: 15px;
}

.feature-list li::before,
.edition-card li::before {
  position: absolute;
  left: 0;
  color: var(--red);
  content: "✓";
  font-weight: 850;
}

.solution-stack {
  display: grid;
  gap: 14px;
}

.solution-row {
  display: grid;
  min-height: 142px;
  align-items: center;
  grid-template-columns: 78px minmax(220px, 0.9fr) minmax(400px, 1.1fr);
  gap: 26px;
  padding: 22px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 34px rgba(31, 42, 58, 0.05);
}

.solution-row h3 {
  margin-top: 0;
  font-size: 22px;
}

.solution-row p {
  margin: 0;
  color: #596273;
  font-size: 15px;
}

.solution-visual {
  display: grid;
  align-items: center;
  border: 1px solid #dfe5ec;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fff, #f8fafc);
  color: #253041;
  font-size: 14px;
}

.route-visual,
.policy-visual {
  grid-template-columns: 1fr 32px 1fr 32px 1fr;
  gap: 12px;
  padding: 20px;
}

.route-visual span,
.policy-visual span {
  min-height: 48px;
  padding: 12px;
  border: 1px solid #e1e6ee;
  border-radius: 6px;
  background: #fff;
  text-align: center;
}

.table-visual {
  grid-template-columns: repeat(2, 1fr);
  overflow: hidden;
}

.table-visual span {
  padding: 16px;
  border-bottom: 1px solid #e1e6ee;
  border-left: 1px solid #e1e6ee;
}

.table-visual span:nth-child(odd) {
  border-left: 0;
}

.table-visual span:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.metrics-visual {
  gap: 8px;
  padding: 16px 20px;
}

.metrics-visual strong {
  color: var(--ink);
}

.metrics-visual svg {
  width: 100%;
  height: 54px;
}

.metrics-visual path {
  fill: none;
  stroke: var(--red);
  stroke-linecap: round;
  stroke-width: 3;
}

.section-note {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 15px;
  text-align: center;
}

.page-hero {
  overflow: hidden;
  padding: 78px 0 68px;
  background:
    radial-gradient(circle at 82% 22%, rgba(215, 51, 47, 0.08), transparent 34%),
    linear-gradient(180deg, #fff 0%, #fff 72%, var(--cool) 100%);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.breadcrumb a {
  color: var(--red);
}

.breadcrumb span::before {
  margin-right: 8px;
  color: #b8c1ce;
  content: "/";
}

.page-hero-grid {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 0.92fr) minmax(380px, 0.78fr);
  gap: 52px;
}

.page-hero h1 {
  max-width: 760px;
  margin: 0;
  color: var(--ink);
  font-size: 48px;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.22;
}

.page-hero p {
  max-width: 760px;
  margin: 22px 0 0;
  color: #4f5968;
  font-size: 19px;
  line-height: 1.8;
}

.docs-hero {
  padding: 76px 0 48px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 86% 18%, rgba(215, 51, 47, 0.08), transparent 32%),
    linear-gradient(180deg, #fff 0%, #f7f9fb 100%);
}

.docs-hero-inner {
  display: grid;
  align-items: end;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 48px;
}

.docs-hero h1 {
  max-width: 760px;
  margin: 0;
  color: var(--ink);
  font-size: 48px;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.2;
}

.docs-hero p {
  max-width: 820px;
  margin: 20px 0 0;
  color: #4f5968;
  font-size: 19px;
  line-height: 1.8;
}

.docs-version-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: #fff;
  box-shadow: 0 16px 44px rgba(31, 42, 58, 0.08);
}

.docs-version-panel span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.docs-version-panel strong {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-size: 36px;
  font-weight: 850;
  line-height: 1.1;
}

.docs-version-panel p {
  margin: 12px 0 0;
  color: #596273;
  font-size: 14px;
  line-height: 1.65;
}

.docs-layout-section {
  padding: 0 0 72px;
  background: #fff;
}

.docs-layout {
  display: grid;
  align-items: start;
  grid-template-columns: 248px minmax(0, 1fr);
  gap: 54px;
}

.docs-sidebar {
  position: sticky;
  top: 112px;
  max-height: calc(100vh - 132px);
  overflow: auto;
  padding: 28px 0;
}

.docs-sidebar-title {
  margin-bottom: 14px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 850;
}

.docs-sidebar nav {
  display: grid;
  gap: 2px;
}

.docs-sidebar a {
  border-radius: 6px;
  padding: 9px 12px;
  color: #586273;
  font-size: 14px;
  font-weight: 750;
}

.docs-sidebar a:hover,
.docs-sidebar a:focus-visible {
  background: var(--red-soft);
  color: var(--red);
}

.docs-article {
  min-width: 0;
  padding-top: 36px;
}

.docs-chapter {
  padding: 46px 0;
  border-bottom: 1px solid #e5eaf1;
  scroll-margin-top: 118px;
}

.docs-chapter:first-child {
  padding-top: 0;
}

.docs-chapter:last-child {
  border-bottom: 0;
}

.docs-kicker {
  margin: 0 0 8px;
  color: var(--red);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0;
}

.docs-chapter h2 {
  margin: 0;
  color: var(--ink);
  font-size: 34px;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.25;
}

.docs-chapter > p {
  max-width: 900px;
  margin: 16px 0 0;
  color: #4f5968;
  font-size: 17px;
  line-height: 1.85;
}

.docs-callout {
  margin-top: 24px;
  border-left: 4px solid var(--red);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 20px;
  background: linear-gradient(90deg, rgba(215, 51, 47, 0.07), rgba(215, 51, 47, 0.02));
}

.docs-callout strong {
  display: block;
  color: var(--ink);
  font-size: 16px;
  font-weight: 850;
}

.docs-callout p {
  margin: 6px 0 0;
  color: #4f5968;
  font-size: 15px;
}

.docs-card-grid,
.docs-compat-grid,
.docs-reference-grid,
.docs-check-grid {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.docs-card-grid,
.docs-compat-grid,
.docs-check-grid {
  grid-template-columns: repeat(3, 1fr);
}

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

.docs-card-grid article,
.docs-compat-grid article,
.docs-playbook-list article,
.docs-reference-grid article,
.docs-check-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(31, 42, 58, 0.04);
}

.docs-card-grid h3,
.docs-compat-grid h3,
.docs-playbook-list h3,
.docs-reference-grid h3,
.docs-check-grid h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 19px;
  font-weight: 850;
  line-height: 1.25;
}

.docs-card-grid p,
.docs-compat-grid p,
.docs-playbook-list p,
.docs-reference-grid p,
.docs-check-grid p {
  margin: 0;
  color: #596273;
  font-size: 14px;
  line-height: 1.7;
}

.docs-table-wrap {
  overflow-x: auto;
  margin-top: 24px;
  border: 1px solid #d7dee9;
  border-radius: var(--radius);
  background: #fff;
}

.docs-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

.docs-table th,
.docs-table td {
  padding: 16px 18px;
  border-bottom: 1px solid #e0e6ee;
  border-left: 1px solid #e0e6ee;
  color: #303947;
  font-size: 14px;
  line-height: 1.65;
  text-align: left;
  vertical-align: top;
}

.docs-table th {
  background: #f8fafc;
  color: var(--ink);
  font-weight: 850;
}

.docs-table th:first-child,
.docs-table td:first-child {
  border-left: 0;
  font-weight: 800;
}

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

.docs-table code {
  display: inline-flex;
  margin: 2px 4px 2px 0;
  border-radius: 5px;
  padding: 2px 6px;
  background: #f0f3f7;
  color: #242b36;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
}

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

.markdown-doc-sidebar nav {
  gap: 4px;
}

.markdown-nav-group {
  display: block;
  margin: 16px 0 5px;
  padding: 0 12px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.markdown-nav-group:first-child {
  margin-top: 0;
}

.markdown-doc-sidebar a[aria-current="page"] {
  background: var(--red-soft);
  color: var(--red);
}

.markdown-article {
  max-width: 920px;
}

.markdown-article h1 {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: 42px;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.2;
}

.markdown-article h2 {
  margin: 44px 0 14px;
  color: var(--ink);
  font-size: 28px;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.28;
}

.markdown-article h3 {
  margin: 30px 0 10px;
  color: #182232;
  font-size: 21px;
  font-weight: 850;
  line-height: 1.35;
}

.markdown-article p,
.markdown-article li {
  color: #4f5968;
  font-size: 16px;
  line-height: 1.82;
}

.markdown-article p {
  margin: 14px 0 0;
}

.markdown-article ul,
.markdown-article ol {
  margin: 14px 0 0;
  padding-left: 24px;
}

.markdown-article li {
  margin: 7px 0;
}

.markdown-article a {
  color: var(--red);
  font-weight: 800;
}

.markdown-article code {
  border-radius: 5px;
  padding: 2px 6px;
  background: #f1f4f8;
  color: #1f2937;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92em;
}

.markdown-article pre {
  overflow-x: auto;
  margin: 18px 0 0;
  border-radius: var(--radius);
  padding: 18px;
  background: #101827;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.markdown-article pre code {
  padding: 0;
  background: transparent;
  color: #dbeafe;
  font-size: 14px;
  line-height: 1.7;
}

.markdown-table-wrap {
  overflow-x: auto;
  margin: 22px 0 0;
  border: 1px solid #d7dee9;
  border-radius: var(--radius);
  background: #fff;
}

.markdown-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

.markdown-table th,
.markdown-table td {
  padding: 15px 17px;
  border-bottom: 1px solid #e0e6ee;
  border-left: 1px solid #e0e6ee;
  color: #303947;
  font-size: 14px;
  line-height: 1.65;
  text-align: left;
  vertical-align: top;
}

.markdown-table th {
  background: #f8fafc;
  color: var(--ink);
  font-weight: 850;
}

.markdown-table th:first-child,
.markdown-table td:first-child {
  border-left: 0;
  font-weight: 800;
}

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

@media (max-width: 760px) {
  .markdown-article h1 {
    font-size: 32px;
  }

  .markdown-article h2 {
    font-size: 24px;
  }

  .markdown-article p,
  .markdown-article li {
    font-size: 15px;
  }

  .markdown-table {
    min-width: 0;
    border-collapse: separate;
    border-spacing: 0;
  }

  .markdown-table thead {
    display: none;
  }

  .markdown-table tbody,
  .markdown-table tr,
  .markdown-table td {
    display: block;
  }

  .markdown-table tr {
    border-bottom: 1px solid #e0e6ee;
    padding: 8px 0;
  }

  .markdown-table tr:last-child {
    border-bottom: 0;
  }

  .markdown-table td {
    border: 0;
    padding: 8px 14px;
  }

  .markdown-table td::before {
    display: block;
    margin-bottom: 2px;
    color: var(--muted);
    content: attr(data-label);
    font-size: 12px;
    font-weight: 850;
  }
}

.docs-steps {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: docs-step;
}

.docs-steps li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  background: linear-gradient(180deg, #fff, #f9fbfd);
  counter-increment: docs-step;
}

.docs-steps li::before {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  grid-row: 1 / span 2;
  border-radius: 8px;
  background: var(--red);
  color: #fff;
  content: counter(docs-step, decimal-leading-zero);
  font-size: 12px;
  font-weight: 850;
}

.docs-steps strong {
  grid-column: 2;
  color: var(--ink);
  font-size: 17px;
  font-weight: 850;
}

.docs-steps span {
  display: block;
  grid-column: 2;
  margin-top: 4px;
  color: #596273;
  font-size: 14px;
  line-height: 1.7;
}

.docs-playbook-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.page-visual {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.signal-panel {
  display: grid;
  gap: 14px;
  padding: 26px;
}

.signal-row {
  display: grid;
  align-items: center;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  padding: 14px;
  border: 1px solid #e1e6ee;
  border-radius: 6px;
  background: linear-gradient(180deg, #fff, #f8fafc);
  color: #2b3442;
  font-size: 14px;
}

.signal-row strong {
  color: var(--ink);
}

.signal-row i {
  display: block;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--red), rgba(215, 51, 47, 0.12));
}

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

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

.detail-card,
.doc-card,
.scenario-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 34px rgba(31, 42, 58, 0.05);
}

.detail-card,
.doc-card {
  padding: 28px;
}

.detail-card h3,
.doc-card h3,
.scenario-card h3 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 23px;
  font-weight: 820;
  line-height: 1.28;
}

.detail-card p,
.doc-card p,
.scenario-card p {
  margin: 0;
  color: #596273;
  font-size: 15px;
}

.detail-card ul,
.doc-card ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.detail-card li,
.doc-card li {
  position: relative;
  padding-left: 22px;
  color: #3f4654;
  font-size: 15px;
}

.detail-card li::before,
.doc-card li::before {
  position: absolute;
  left: 0;
  color: var(--red);
  content: "✓";
  font-weight: 850;
}

.scenario-card {
  display: grid;
  min-height: 210px;
  grid-template-rows: auto 1fr auto;
  padding: 28px;
}

.scenario-card .scenario-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.scenario-meta span,
.small-chip {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  border: 1px solid #dbe2eb;
  border-radius: 6px;
  padding: 0 10px;
  background: #fff;
  color: #2d3542;
  font-size: 13px;
  font-weight: 700;
}

.scenario-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(520px, 1.18fr);
  gap: 28px;
  align-items: stretch;
}

.scenario-layout-code {
  grid-template-columns: minmax(360px, 0.85fr) minmax(520px, 1.15fr);
}

.scenario-brief,
.scenario-lane,
.rollout-step {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 34px rgba(31, 42, 58, 0.05);
}

.scenario-brief {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px;
}

.scenario-brief h3 {
  margin: 18px 0 12px;
  color: var(--ink);
  font-size: 27px;
  font-weight: 850;
  line-height: 1.25;
}

.scenario-brief p {
  margin: 0;
  color: #4c5564;
  font-size: 16px;
  line-height: 1.75;
}

.scenario-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.scenario-tags span {
  display: inline-flex;
  min-height: 31px;
  align-items: center;
  border: 1px solid rgba(215, 51, 47, 0.2);
  border-radius: 6px;
  padding: 0 10px;
  background: var(--red-soft);
  color: #a32925;
  font-size: 13px;
  font-weight: 750;
}

.scenario-lanes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.scenario-lane {
  padding: 24px;
}

.scenario-lane h4 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 850;
}

.scenario-lane ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.scenario-lane li {
  position: relative;
  padding-left: 18px;
  color: #4d5665;
  font-size: 14px;
  line-height: 1.65;
}

.scenario-lane li::before {
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  content: "";
}

.scenario-process {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 24px;
}

.loop-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.loop-step {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(31, 42, 58, 0.04);
}

.loop-step span {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(215, 51, 47, 0.24);
  border-radius: 6px;
  background: var(--red-soft);
  color: var(--red);
  font-size: 13px;
  font-weight: 850;
}

.loop-step h3 {
  margin: 18px 0 8px;
  color: var(--ink);
  font-size: 19px;
  font-weight: 850;
}

.loop-step p {
  margin: 0;
  color: #596273;
  font-size: 14px;
  line-height: 1.65;
}

.scenario-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 24px;
}

.scenario-metrics div {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  background: #fff;
}

.scenario-metrics strong,
.scenario-metrics span {
  display: block;
}

.scenario-metrics strong {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 850;
}

.scenario-metrics span {
  color: #596273;
  font-size: 14px;
  line-height: 1.65;
}

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

.rollout-step {
  padding: 24px;
}

.rollout-step span {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(215, 51, 47, 0.28);
  border-radius: 6px;
  color: var(--red);
  font-size: 13px;
  font-weight: 850;
}

.rollout-step h3 {
  margin: 18px 0 8px;
  color: var(--ink);
  font-size: 21px;
  font-weight: 850;
}

.rollout-step p {
  margin: 0;
  color: #596273;
  font-size: 14px;
  line-height: 1.65;
}

.doc-index-grid,
.checklist-grid,
.playbook-grid,
.acceptance-grid {
  display: grid;
  gap: 18px;
}

.doc-index-grid,
.playbook-grid,
.acceptance-grid {
  grid-template-columns: repeat(3, 1fr);
}

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

.doc-index-card,
.checklist-card,
.playbook-card,
.acceptance-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 34px rgba(31, 42, 58, 0.05);
}

.doc-index-card,
.playbook-card {
  display: block;
  min-height: 190px;
  padding: 24px;
  transition:
    border-color 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

.doc-index-card:hover,
.playbook-card:hover {
  border-color: rgba(215, 51, 47, 0.34);
  box-shadow: 0 18px 42px rgba(31, 42, 58, 0.08);
  transform: translateY(-2px);
}

.doc-index-card span,
.playbook-card span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  border: 1px solid rgba(215, 51, 47, 0.22);
  border-radius: 6px;
  padding: 0 10px;
  background: var(--red-soft);
  color: #a32925;
  font-size: 13px;
  font-weight: 850;
}

.doc-index-card h3,
.checklist-card h3,
.playbook-card h3,
.acceptance-card h3 {
  margin: 18px 0 10px;
  color: var(--ink);
  font-size: 21px;
  font-weight: 850;
  line-height: 1.25;
}

.doc-index-card p,
.checklist-card p,
.playbook-card p,
.acceptance-card p {
  margin: 0;
  color: #596273;
  font-size: 14px;
  line-height: 1.65;
}

.checklist-card,
.acceptance-card {
  padding: 24px;
}

.checklist-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.checklist-card li {
  position: relative;
  padding-left: 20px;
  color: #4d5665;
  font-size: 14px;
  line-height: 1.6;
}

.checklist-card li::before {
  position: absolute;
  left: 0;
  color: var(--red);
  content: "✓";
  font-weight: 850;
}

.playbook-card a,
.doc-card a {
  display: inline-flex;
  margin-top: 18px;
  color: var(--red);
  font-size: 14px;
  font-weight: 850;
}

.doc-split {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.runbook-table-wrap,
.api-table-wrap {
  overflow-x: auto;
  margin-top: 24px;
  border: 1px solid #d8dee8;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 34px rgba(31, 42, 58, 0.04);
}

.runbook-table,
.api-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.runbook-table th,
.runbook-table td,
.api-table th,
.api-table td {
  padding: 16px 18px;
  border-bottom: 1px solid #e6ebf2;
  color: #404958;
  font-size: 14px;
  text-align: left;
  vertical-align: top;
}

.runbook-table th,
.api-table th {
  background: #f8fafc;
  color: var(--ink);
  font-size: 14px;
  font-weight: 850;
}

.runbook-table tr:last-child td,
.api-table tr:last-child td {
  border-bottom: 0;
}

.api-table code {
  display: inline-flex;
  margin: 0 4px 4px 0;
  border-radius: 6px;
  padding: 4px 7px;
  background: #f1f4f8;
  color: #253041;
  font-size: 12px;
}

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

.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 22px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(31, 42, 58, 0.04);
}

.faq-list summary {
  cursor: pointer;
  color: var(--ink);
  font-size: 18px;
  font-weight: 850;
}

.faq-list p {
  margin: 14px 0 0;
  color: #596273;
  font-size: 15px;
  line-height: 1.7;
}

.process-rail {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
  counter-reset: step;
}

.process-rail + .content-grid {
  margin-top: 24px;
}

.process-step {
  position: relative;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.process-step::before {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border: 1px solid rgba(215, 51, 47, 0.28);
  border-radius: 6px;
  color: var(--red);
  content: counter(step, decimal-leading-zero);
  counter-increment: step;
  font-size: 13px;
  font-weight: 850;
}

.process-step h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 19px;
}

.process-step p {
  margin: 0;
  color: #596273;
  font-size: 14px;
}

.code-panel {
  overflow: hidden;
  border: 1px solid #dfe5ec;
  border-radius: var(--radius);
  background: #111820;
  color: #dce6f1;
  box-shadow: var(--shadow);
}

.code-panel header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 14px;
  font-weight: 750;
}

.code-panel pre {
  overflow: auto;
  margin: 0;
  padding: 22px;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 13px;
  line-height: 1.72;
}

.callout-strip {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  padding: 28px;
  border: 1px solid rgba(215, 51, 47, 0.16);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(215, 51, 47, 0.08), rgba(35, 103, 209, 0.04)),
    #fff;
}

.callout-strip h2,
.callout-strip h3 {
  margin: 0;
  color: var(--ink);
  font-size: 28px;
}

.callout-strip p {
  margin: 8px 0 0;
  color: var(--muted);
}

.subnav-bar {
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.subnav-inner {
  display: flex;
  min-height: 58px;
  align-items: center;
  gap: 24px;
  overflow-x: auto;
  white-space: nowrap;
}

.subnav-inner a {
  color: #394251;
  font-size: 14px;
  font-weight: 750;
}

.subnav-inner a:hover {
  color: var(--red);
}

.edition-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.edition-card {
  padding: 38px;
}

.edition-primary {
  border-color: rgba(215, 51, 47, 0.36);
  background:
    linear-gradient(135deg, rgba(215, 51, 47, 0.06), transparent 38%),
    #fff;
}

.edition-primary::after {
  position: absolute;
  top: 0;
  right: 0;
  border-top: 54px solid var(--red);
  border-left: 54px solid transparent;
  content: "";
}

.edition-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
}

.edition-icon svg {
  width: 34px;
  height: 34px;
}

.edition-icon-dark {
  background: #eef1f5;
  color: #2c333d;
}

.edition-card h3 {
  font-size: 28px;
}

.edition-card p {
  margin-bottom: 24px;
  color: #c62c28;
  font-weight: 700;
}

.protocol-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 4px 0 24px;
}

.protocol-chips span {
  padding: 9px 14px;
  border: 1px solid #d7dde7;
  border-radius: 6px;
  background: #fff;
  color: #222a35;
  font-size: 14px;
  font-weight: 700;
}

.protocol-ecosystem {
  display: grid;
  gap: 18px;
}

.protocol-family {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(31, 42, 58, 0.05);
}

.protocol-family-head {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
}

.protocol-badge,
.vendor-card i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 850;
  letter-spacing: 0;
}

.protocol-badge {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: linear-gradient(135deg, #cf3330, #73201e);
  font-size: 18px;
  box-shadow: 0 12px 24px rgba(190, 45, 42, 0.18);
}

.protocol-family h3 {
  margin: 0;
  color: var(--ink);
  font-size: 22px;
  font-weight: 850;
}

.protocol-family p {
  margin: 6px 0 0;
  color: #596273;
  font-size: 15px;
  line-height: 1.65;
}

.vendor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(178px, 1fr));
  gap: 12px;
}

.vendor-card {
  display: grid;
  min-height: 86px;
  grid-template-columns: 42px 1fr;
  grid-template-rows: auto auto;
  column-gap: 12px;
  align-items: center;
  border: 1px solid #dfe5ec;
  border-radius: 8px;
  padding: 14px;
  background: linear-gradient(180deg, #fff, #f8fafc);
}

.vendor-card i {
  width: 42px;
  height: 42px;
  grid-row: 1 / span 2;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--logo-a, #2f4054), var(--logo-b, #141a21));
  font-style: normal;
  font-size: 13px;
}

.vendor-card strong {
  min-width: 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 850;
  line-height: 1.2;
}

.vendor-card small {
  color: #6a7483;
  font-size: 12px;
  line-height: 1.35;
}

.vendor-card[data-tone="mysql"] { --logo-a: #00758f; --logo-b: #f29111; }
.vendor-card[data-tone="maria"] { --logo-a: #003545; --logo-b: #9fc8d6; }
.vendor-card[data-tone="tidb"] { --logo-a: #2563eb; --logo-b: #38bdf8; }
.vendor-card[data-tone="ocean"] { --logo-a: #0f766e; --logo-b: #22c55e; }
.vendor-card[data-tone="polar"] { --logo-a: #1d4ed8; --logo-b: #60a5fa; }
.vendor-card[data-tone="aws"] { --logo-a: #232f3e; --logo-b: #ff9900; }
.vendor-card[data-tone="tdsql"] { --logo-a: #0052cc; --logo-b: #00a4ff; }
.vendor-card[data-tone="vitess"] { --logo-a: #5b5fc7; --logo-b: #9b8cff; }
.vendor-card[data-tone="pg"] { --logo-a: #336791; --logo-b: #1f4568; }
.vendor-card[data-tone="gauss"] { --logo-a: #c81e3a; --logo-b: #7f1d1d; }
.vendor-card[data-tone="highgo"] { --logo-a: #b91c1c; --logo-b: #2563eb; }
.vendor-card[data-tone="cockroach"] { --logo-a: #6933ff; --logo-b: #ffb000; }
.vendor-card[data-tone="yugabyte"] { --logo-a: #ff6a00; --logo-b: #4f46e5; }
.vendor-card[data-tone="greenplum"] { --logo-a: #15803d; --logo-b: #84cc16; }
.vendor-card[data-tone="oracle"] { --logo-a: #c74634; --logo-b: #7f1d1d; }
.vendor-card[data-tone="dm"] { --logo-a: #d7332f; --logo-b: #f97316; }
.vendor-card[data-tone="king"] { --logo-a: #b91c1c; --logo-b: #f59e0b; }
.vendor-card[data-tone="yashan"] { --logo-a: #1d4ed8; --logo-b: #0f172a; }
.vendor-card[data-tone="gbase"] { --logo-a: #374151; --logo-b: #64748b; }
.vendor-card[data-tone="db2"] { --logo-a: #0f62fe; --logo-b: #083b8a; }
.vendor-card[data-tone="mssql"] { --logo-a: #a4262c; --logo-b: #0078d4; }
.vendor-card[data-tone="azure"] { --logo-a: #0078d4; --logo-b: #50e6ff; }
.vendor-card[data-tone="babelfish"] { --logo-a: #2563eb; --logo-b: #7c3aed; }
.vendor-card[data-tone="snow"] { --logo-a: #29b5e8; --logo-b: #0369a1; }
.vendor-card[data-tone="bigquery"] { --logo-a: #4285f4; --logo-b: #34a853; }
.vendor-card[data-tone="redshift"] { --logo-a: #8b5cf6; --logo-b: #ef4444; }
.vendor-card[data-tone="clickhouse"] { --logo-a: #ffcc01; --logo-b: #111827; }
.vendor-card[data-tone="transwarp"] { --logo-a: #7c3aed; --logo-b: #06b6d4; }
.vendor-card[data-tone="databricks"] { --logo-a: #ff3621; --logo-b: #991b1b; }
.vendor-card[data-tone="trino"] { --logo-a: #dd00a1; --logo-b: #5b21b6; }

.edition-card .edition-footnote {
  margin: 22px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  text-align: center;
}

.comparison-wrap {
  overflow-x: auto;
  border: 1px solid #cfd6e1;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 34px rgba(31, 42, 58, 0.04);
}

.comparison-table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
  padding: 18px 22px;
  border-bottom: 1px solid #dfe5ec;
  border-left: 1px solid #dfe5ec;
  color: #2d3542;
  font-size: 15px;
  text-align: left;
  vertical-align: middle;
}

.comparison-table th {
  color: var(--ink);
  font-weight: 800;
  text-align: center;
}

.comparison-table th:first-child,
.comparison-table td:first-child {
  border-left: 0;
  color: #202733;
  font-weight: 750;
  text-align: center;
}

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

.check {
  margin-right: 14px;
  color: var(--red);
  font-size: 20px;
  font-weight: 850;
}

.cta-section {
  padding: 54px 0;
  background: #fff;
  scroll-margin-top: 112px;
}

.cta-inner {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1fr);
  gap: 32px;
  padding-top: 32px;
  padding-bottom: 32px;
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(215, 51, 47, 0.08), rgba(35, 103, 209, 0.04)),
    #fff;
}

.cta-inner h2 {
  margin: 0;
  color: var(--ink);
  font-size: 32px;
  line-height: 1.3;
}

.cta-inner p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.cta-actions {
  margin-top: 0;
}

.cta-copy .cta-actions {
  margin-top: 24px;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  background: #fff;
  box-shadow: 0 16px 44px rgba(31, 42, 58, 0.08);
}

.form-honey {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form span {
  color: #303947;
  font-size: 14px;
  font-weight: 850;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid #d7dee9;
  border-radius: 6px;
  padding: 10px 12px;
  background: #fff;
  color: var(--ink);
  font-size: 15px;
  outline: none;
}

.contact-form textarea {
  min-height: 108px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(215, 51, 47, 0.55);
  box-shadow: 0 0 0 3px rgba(215, 51, 47, 0.1);
}

.form-wide {
  grid-column: 1 / -1;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: #4f5b6b;
  font-size: 14px;
  line-height: 1.6;
}

.form-status.is-success {
  color: #157347;
  font-weight: 750;
}

.form-status.is-error {
  color: var(--red);
  font-weight: 750;
}

.assistant-widget {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 80;
  display: grid;
  justify-items: end;
  gap: 14px;
  font-family: inherit;
}

.assistant-backdrop {
  display: none;
}

.assistant-launch {
  display: inline-flex;
  width: 66px;
  height: 66px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(145deg, #e23935, #b91f1c);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 20px 42px rgba(185, 31, 28, 0.28);
}

.assistant-launch span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  font-size: 17px;
  font-weight: 950;
  letter-spacing: 0;
}

.assistant-launch em {
  position: absolute;
  right: 76px;
  min-width: 92px;
  border-radius: 999px;
  padding: 8px 10px;
  background: #14171f;
  color: #fff;
  font-size: 13px;
  font-style: normal;
  font-weight: 750;
  opacity: 0;
  pointer-events: none;
  transform: translateX(8px);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.assistant-launch:hover em,
.assistant-launch:focus-visible em {
  opacity: 1;
  transform: translateX(0);
}

.assistant-panel {
  display: none;
  width: min(390px, calc(100vw - 32px));
  max-height: min(660px, calc(100vh - 112px));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(23, 31, 44, 0.22);
}

.assistant-widget.is-open .assistant-panel {
  display: grid;
  grid-template-rows: auto minmax(150px, 1fr) auto auto auto auto;
}

.assistant-panel header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #fff, #fff7f6);
}

.assistant-panel header div {
  display: grid;
  gap: 4px;
}

.assistant-panel header strong {
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.2;
}

.assistant-panel header span {
  color: #6e7584;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.5;
}

.assistant-close {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: #303947;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.assistant-messages {
  display: grid;
  align-content: start;
  gap: 10px;
  overflow-y: auto;
  padding: 16px;
  background: #f8fafc;
}

.assistant-message {
  max-width: 92%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  color: #303947;
  font-size: 14px;
  line-height: 1.7;
}

.assistant-message.is-bot {
  justify-self: start;
  background: #fff;
}

.assistant-message.is-user {
  justify-self: end;
  border-color: rgba(215, 51, 47, 0.24);
  background: var(--red);
  color: #fff;
}

.assistant-message small {
  display: block;
  margin-top: 8px;
  color: #6e7584;
  font-size: 12px;
  line-height: 1.5;
}

.assistant-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.assistant-links a {
  border-radius: 999px;
  padding: 7px 10px;
  background: var(--red-soft);
  color: var(--red);
  font-size: 12px;
  font-weight: 850;
}

.assistant-quick {
  display: grid;
  gap: 10px;
  padding: 14px 16px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.assistant-quick > span {
  color: #6e7584;
  font-size: 12px;
  font-weight: 850;
}

.assistant-quick div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.assistant-quick button {
  border: 1px solid #dbe2ec;
  border-radius: 999px;
  padding: 7px 10px;
  background: #fff;
  color: #303947;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

.assistant-quick button:hover,
.assistant-quick button:focus-visible {
  border-color: rgba(215, 51, 47, 0.45);
  background: var(--red-soft);
  color: var(--red);
}

.assistant-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 14px 16px 8px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.assistant-form input {
  min-width: 0;
  min-height: 42px;
  border: 1px solid #d7dee9;
  border-radius: 6px;
  padding: 9px 11px;
  color: var(--ink);
  font-size: 14px;
  outline: none;
}

.assistant-form input:focus {
  border-color: rgba(215, 51, 47, 0.55);
  box-shadow: 0 0 0 3px rgba(215, 51, 47, 0.1);
}

.assistant-form button {
  min-height: 42px;
  border: 0;
  border-radius: 6px;
  padding: 0 14px;
  background: var(--red);
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 850;
}

.assistant-note {
  min-height: 24px;
  margin: 0;
  padding: 0 16px 14px;
  color: #6e7584;
  font-size: 12px;
  line-height: 1.5;
}

.assistant-contact {
  border-top: 1px solid var(--line);
  background: #fff;
}

.assistant-contact summary {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  color: var(--red);
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
  list-style: none;
}

.assistant-contact summary::-webkit-details-marker {
  display: none;
}

.assistant-contact summary::after {
  content: "+";
  color: #8a93a1;
  font-size: 18px;
  line-height: 1;
}

.assistant-contact[open] summary::after {
  content: "-";
}

.assistant-contact-form {
  display: grid;
  gap: 8px;
  padding: 0 16px 14px;
}

.assistant-contact-form .form-website {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.assistant-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.assistant-contact-grid input,
.assistant-contact-form textarea {
  min-width: 0;
  border: 1px solid #d7dee9;
  border-radius: 6px;
  padding: 9px 11px;
  color: var(--ink);
  font-family: inherit;
  font-size: 13px;
  outline: none;
}

.assistant-contact-grid input:focus,
.assistant-contact-form textarea:focus {
  border-color: rgba(215, 51, 47, 0.55);
  box-shadow: 0 0 0 3px rgba(215, 51, 47, 0.1);
}

.assistant-contact-grid input[name="contact"] {
  grid-column: 1 / -1;
}

.assistant-contact-form textarea {
  min-height: 78px;
  resize: vertical;
}

.assistant-contact-form button {
  min-height: 40px;
  border: 0;
  border-radius: 6px;
  background: var(--red);
  color: #fff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 850;
}

.assistant-contact-form button:disabled {
  cursor: not-allowed;
  opacity: 0.72;
}

.assistant-contact-status {
  min-height: 18px;
  margin: 0;
  color: #6e7584;
  font-size: 12px;
  line-height: 1.45;
}

.assistant-contact-status.is-success {
  color: #15803d;
}

.assistant-contact-status.is-error {
  color: var(--red);
}

.site-footer {
  padding: 56px 0 62px;
  background:
    linear-gradient(135deg, #141a21, #202a33 58%, #11171e);
  color: #d8dee8;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.55fr repeat(4, 1fr);
  gap: 40px;
}

.footer-logo {
  color: #fff;
  font-size: 24px;
}

.footer-logo .brand-mark,
.footer-logo .brand-mark img {
  width: 34px;
  height: 34px;
}

.footer-brand p {
  max-width: 360px;
  margin: 22px 0 0;
  color: #b8c1cd;
  font-size: 15px;
}

.site-footer h3 {
  margin: 0 0 16px;
  color: #fff;
  font-size: 17px;
}

.site-footer a {
  display: block;
  margin-top: 10px;
  color: #c3ccd8;
  font-size: 15px;
}

@media (max-width: 1100px) {
  .nav-shell {
    gap: 22px;
  }

  .nav-links {
    gap: 28px;
  }

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

  .docs-hero-inner,
  .docs-layout {
    grid-template-columns: 1fr;
  }

  .docs-sidebar {
    position: static;
    max-height: none;
    padding: 22px 0 0;
  }

  .docs-sidebar nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-visual {
    min-height: auto;
  }

  .hero-visual img {
    width: 100%;
    margin: 0;
  }

  .plane-grid,
  .edition-grid,
  .strategy-layout,
  .page-hero-grid,
  .scenario-layout,
  .scenario-layout-code,
  .doc-split,
  .content-grid,
  .content-grid.two,
  .cta-inner,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .doc-index-grid,
  .checklist-grid,
  .playbook-grid,
  .acceptance-grid,
  .docs-card-grid,
  .docs-compat-grid,
  .docs-check-grid,
  .scenario-metrics,
  .loop-grid,
  .rollout-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .docs-reference-grid,
  .docs-playbook-list {
    grid-template-columns: 1fr;
  }

  .solution-row {
    grid-template-columns: 70px 1fr;
  }

  .solution-visual {
    grid-column: 2;
  }
}

@media (max-width: 760px) {
  .assistant-widget {
    right: 16px;
    bottom: 16px;
    z-index: 120;
  }

  .assistant-launch {
    width: 48px;
    height: 48px;
  }

  .assistant-launch span {
    width: 32px;
    height: 32px;
    font-size: 13px;
  }

  .assistant-launch em {
    display: none;
  }

  .assistant-widget.is-open {
    left: 0;
    right: 0;
    bottom: 0;
    justify-items: stretch;
    gap: 0;
    pointer-events: none;
  }

  .assistant-widget.is-open .assistant-backdrop {
    position: fixed;
    inset: 0;
    display: block;
    border: 0;
    background: rgba(16, 22, 31, 0.38);
    cursor: pointer;
    pointer-events: auto;
  }

  .assistant-panel {
    width: auto;
    max-height: calc(100vh - 124px);
    max-height: min(78vh, calc(100dvh - 124px));
    margin: 0 10px max(24px, calc(env(safe-area-inset-bottom) + 14px));
    overflow-y: auto;
    overscroll-behavior: contain;
    border-radius: 12px;
    pointer-events: auto;
    scroll-padding-bottom: 28px;
    -webkit-overflow-scrolling: touch;
  }

  .assistant-widget.is-open .assistant-panel {
    position: relative;
    z-index: 1;
    grid-template-rows: auto minmax(86px, 1fr) auto auto auto auto;
  }

  .assistant-widget.is-contact-open .assistant-panel {
    grid-template-rows: auto minmax(72px, 0.55fr) auto;
  }

  .assistant-widget.is-open .assistant-launch {
    display: none;
  }

  .assistant-panel header {
    align-items: center;
    padding: 14px;
  }

  .assistant-panel header strong {
    font-size: 18px;
  }

  .assistant-panel header span {
    font-size: 13px;
  }

  .assistant-close {
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
    font-size: 28px;
  }

  .assistant-messages {
    padding: 12px;
  }

  .assistant-message {
    max-width: 100%;
    padding: 10px;
    font-size: 13px;
    line-height: 1.65;
  }

  .assistant-quick {
    gap: 8px;
    padding: 10px 12px;
  }

  .assistant-quick div {
    max-height: 112px;
    overflow-y: auto;
  }

  .assistant-quick button {
    padding: 7px 9px;
    font-size: 12px;
  }

  .assistant-widget.is-contact-open .assistant-quick,
  .assistant-widget.is-contact-open .assistant-form,
  .assistant-widget.is-contact-open .assistant-note {
    display: none;
  }

  .assistant-widget.is-contact-open .assistant-messages {
    max-height: 132px;
  }

  .assistant-form {
    grid-template-columns: 1fr;
    padding: 10px 12px 6px;
  }

  .assistant-form button {
    width: 100%;
  }

  .assistant-note {
    min-height: 20px;
    padding: 0 12px 10px;
  }

  .assistant-contact summary {
    padding: 0 12px;
  }

  .assistant-contact-form {
    max-height: 240px;
    overflow-y: auto;
    padding: 0 12px 24px;
    scroll-padding-bottom: 24px;
    -webkit-overflow-scrolling: touch;
  }

  .assistant-widget.is-contact-open .assistant-contact-form {
    max-height: none;
    overflow: visible;
  }

  .assistant-contact-grid {
    grid-template-columns: 1fr;
  }

  .assistant-contact-grid input,
  .assistant-contact-form textarea {
    font-size: 13px;
  }

  .assistant-contact-form textarea {
    min-height: 72px;
  }

  .announcement {
    min-height: 48px;
    justify-content: flex-start;
    padding: 10px 54px 10px 18px;
    font-size: 13px;
  }

  .nav-shell {
    min-height: 72px;
    grid-template-columns: auto auto auto;
    justify-content: space-between;
    padding: 0 18px;
  }

  .brand {
    font-size: 24px;
  }

  .brand-mark,
  .brand-mark img {
    width: 36px;
    height: 36px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-links.is-open,
  .nav-shell:focus-within .nav-links {
    position: absolute;
    top: 72px;
    right: 18px;
    left: 18px;
    display: grid;
    gap: 0;
    align-items: stretch;
    justify-content: stretch;
    justify-items: stretch;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
  }

  .nav-links.is-open .nav-item,
  .nav-shell:focus-within .nav-links .nav-item {
    border-bottom: 1px solid #eef2f6;
  }

  .nav-links.is-open .nav-item:last-child,
  .nav-shell:focus-within .nav-links .nav-item:last-child {
    border-bottom: 0;
  }

  .nav-links.is-open .nav-item-trigger,
  .nav-shell:focus-within .nav-links .nav-item-trigger {
    display: flex;
    min-height: auto;
    justify-content: space-between;
    padding: 13px 12px 8px;
    color: var(--ink);
  }

  .nav-links.is-open .mega-menu,
  .nav-shell:focus-within .nav-links .mega-menu {
    position: static;
    display: grid;
    min-width: 0;
    gap: 0;
    padding: 0 0 8px 12px;
    border: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .nav-links.is-open .mega-menu a,
  .nav-shell:focus-within .nav-links .mega-menu a {
    padding: 8px 12px;
    color: #667081;
    font-size: 14px;
  }

  .nav-links.is-open a,
  .nav-shell:focus-within .nav-links a {
    display: block;
    padding: 13px 12px;
    text-align: left;
  }

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

  .hero {
    background: #fff;
  }

  .hero-grid {
    min-height: auto;
    gap: 30px;
    padding-top: 46px;
    padding-bottom: 42px;
  }

  .hero-copy h1 {
    font-size: 40px;
  }

  .hero-copy p {
    margin-top: 22px;
    font-size: 17px;
    line-height: 1.75;
  }

  .hero-actions {
    gap: 14px;
  }

  .button {
    width: 100%;
  }

  .ecosystem-inner {
    gap: 14px;
    padding-top: 22px;
    padding-bottom: 22px;
  }

  .ecosystem-head {
    display: grid;
    gap: 8px;
    padding-bottom: 14px;
  }

  .ecosystem-head strong {
    font-size: 21px;
  }

  .ecosystem-head span {
    font-size: 14px;
    text-align: left;
  }

  .ecosystem-modes,
  .ecosystem-families {
    grid-template-columns: 1fr;
  }

  .ecosystem-modes article,
  .ecosystem-family {
    padding: 18px;
  }

  .ecosystem-vendor-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ecosystem-vendor {
    min-height: 68px;
    grid-template-columns: 34px 1fr;
    padding: 10px;
  }

  .ecosystem-vendor i {
    width: 34px;
    height: 34px;
  }

  .strategy-thesis {
    padding: 26px;
  }

  .strategy-thesis h2 {
    font-size: 30px;
  }

  .strategy-thesis p {
    font-size: 16px;
  }

  .strategy-thesis strong {
    font-size: 18px;
  }

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

  .strategy-grid article {
    padding: 22px;
  }

  .section {
    padding: 64px 0;
  }

  .page-hero {
    padding: 48px 0 50px;
  }

  .docs-hero {
    padding: 48px 0 28px;
  }

  .docs-hero h1 {
    font-size: 39px;
  }

  .docs-hero p {
    font-size: 16px;
  }

  .docs-version-panel {
    padding: 18px;
  }

  .docs-version-panel strong {
    font-size: 30px;
  }

  .docs-layout-section {
    padding-bottom: 48px;
  }

  .docs-sidebar nav {
    grid-template-columns: 1fr;
  }

  .docs-sidebar a {
    padding: 10px 12px;
    background: #f8fafc;
  }

  .docs-article {
    padding-top: 24px;
  }

  .docs-chapter {
    padding: 36px 0;
  }

  .docs-chapter h2 {
    font-size: 29px;
  }

  .docs-chapter > p {
    font-size: 15px;
  }

  .docs-card-grid,
  .docs-compat-grid,
  .docs-reference-grid,
  .docs-check-grid,
  .docs-playbook-list {
    grid-template-columns: 1fr;
  }

  .docs-steps li {
    grid-template-columns: 1fr;
  }

  .docs-steps li::before,
  .docs-steps strong,
  .docs-steps span {
    grid-column: auto;
    grid-row: auto;
  }

  .docs-table {
    min-width: 0;
    border-collapse: separate;
    border-spacing: 0;
  }

  .docs-table thead {
    display: none;
  }

  .docs-table tbody,
  .docs-table tr,
  .docs-table td {
    display: block;
  }

  .docs-table tr {
    border-bottom: 1px solid #e0e6ee;
    padding: 8px 0;
  }

  .docs-table tr:last-child {
    border-bottom: 0;
  }

  .docs-table td {
    border: 0;
    padding: 8px 14px;
  }

  .docs-table td::before {
    display: block;
    margin-bottom: 2px;
    color: var(--muted);
    content: attr(data-label);
    font-size: 12px;
    font-weight: 850;
  }

  .page-hero h1 {
    font-size: 34px;
  }

  .page-hero p {
    font-size: 16px;
  }

  .signal-panel {
    padding: 18px;
  }

  .signal-row {
    grid-template-columns: 1fr;
  }

  .content-grid,
  .content-grid.two,
  .process-rail,
  .scenario-lanes,
  .scenario-metrics,
  .loop-grid,
  .doc-index-grid,
  .checklist-grid,
  .playbook-grid,
  .acceptance-grid,
  .rollout-grid {
    grid-template-columns: 1fr;
  }

  .detail-card,
  .doc-card,
  .doc-index-card,
  .checklist-card,
  .playbook-card,
  .acceptance-card,
  .scenario-card,
  .scenario-brief,
  .scenario-lane,
  .loop-step,
  .rollout-step {
    padding: 22px;
  }

  .callout-strip {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .contact-form {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .callout-strip h2,
  .callout-strip h3 {
    font-size: 25px;
  }

  .section-heading {
    margin-bottom: 32px;
    text-align: left;
  }

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

  .plane-card,
  .edition-card {
    padding: 24px;
  }

  .solution-row {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .solution-visual {
    grid-column: auto;
  }

  .route-visual,
  .policy-visual {
    grid-template-columns: 1fr;
  }

  .route-visual i,
  .policy-visual i {
    width: 1px;
    height: 18px;
    margin: 0 auto;
  }

  .flow-diagram {
    grid-template-columns: 1fr;
  }

  .flow-diagram i {
    width: 1px;
    height: 20px;
    margin: 0 auto;
  }

  .cta-inner {
    padding: 26px 18px;
  }

  .cta-inner h2 {
    font-size: 27px;
  }

  .site-footer {
    padding: 34px 0 38px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 18px;
  }

  .footer-brand {
    grid-column: 1 / -1;
    display: grid;
    gap: 10px;
  }

  .footer-logo {
    font-size: 20px;
  }

  .footer-logo .brand-mark,
  .footer-logo .brand-mark img {
    width: 28px;
    height: 28px;
  }

  .footer-brand p {
    max-width: none;
    margin: 0;
    font-size: 13px;
    line-height: 1.65;
  }

  .site-footer h3 {
    margin-bottom: 8px;
    font-size: 15px;
  }

  .site-footer a {
    margin-top: 6px;
    font-size: 13px;
    line-height: 1.55;
  }
}

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