/* 杭州多博 · paper.gymdyk.com — industrial B2B */
:root {
  --ink: #0b1f33;
  --ink-2: #122a42;
  --ink-3: #1a3a56;
  --teal: #1aa6a6;
  --teal-dark: #128787;
  --teal-soft: rgba(26, 166, 166, 0.12);
  --paper: #f5f7fa;
  --card: #ffffff;
  --muted: #5a6b7d;
  --line: #d8e0ea;
  --warn: #c45c26;
  --ok: #2a9d6a;
  --shadow: 0 12px 40px rgba(11, 31, 51, 0.1);
  --radius: 12px;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  --mono: "SF Mono", ui-monospace, Menlo, Consolas, monospace;
  --max: 1180px;
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--teal-dark); text-decoration: none; }
a:hover { color: var(--teal); }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 0.6em; font-weight: 700; }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.2em; }
.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }
.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--teal); color: #fff; padding: .5rem 1rem; z-index: 100;
}
.skip-link:focus { left: 0; }

/* Nav */
.site-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 31, 51, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-inner {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand { display: flex; align-items: center; gap: .75rem; color: #fff; }
.brand:hover { color: #fff; }
.brand-mark {
  width: 36px; height: 36px; border-radius: 9px;
  background: linear-gradient(135deg, var(--teal), #3dd4d4);
  box-shadow: 0 0 0 3px rgba(26,166,166,.25);
  position: relative;
}
.brand-mark::after {
  content: ""; position: absolute; inset: 8px 7px 8px 14px;
  border: 2px solid #fff; border-radius: 2px 6px 6px 2px; opacity: .9;
}
.brand-text { display: flex; flex-direction: column; }
.brand-text strong { font-size: 1.05rem; letter-spacing: .02em; }
.brand-text small { font-size: .7rem; opacity: .65; font-weight: 400; }
.nav-menu {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: .15rem .35rem; align-items: center;
}
.nav-menu a {
  color: rgba(255,255,255,.78); font-size: .86rem; padding: .4rem .55rem; border-radius: 6px;
  white-space: nowrap;
}
.nav-menu a:hover, .nav-menu a.active {
  color: #fff; background: rgba(26,166,166,.22);
}
.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: .4rem;
  flex-direction: column; gap: 5px;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px; background: #fff; border-radius: 1px;
}

/* Hero */
.hero {
  position: relative;
  background: linear-gradient(160deg, var(--ink) 0%, #0e2d4a 55%, #0a3d4d 100%);
  color: #fff;
  overflow: hidden;
  min-height: clamp(520px, 78vh, 720px);
  display: flex; align-items: center;
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 2.5rem; align-items: center;
  padding: 3.5rem 0 4rem;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(26,166,166,.18); border: 1px solid rgba(26,166,166,.4);
  color: #8fe0e0; font-size: .8rem; padding: .35rem .75rem; border-radius: 999px; margin-bottom: 1.2rem;
}
.hero h1 {
  font-size: clamp(1.85rem, 4vw, 2.75rem); margin-bottom: .8rem; letter-spacing: .01em;
}
.hero .lead { font-size: 1.08rem; color: rgba(255,255,255,.78); max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.hero-canvas-wrap {
  position: relative; height: min(480px, 62vw); min-height: 360px; border-radius: var(--radius);
  background: rgba(0,0,0,.25); border: 1px solid rgba(255,255,255,.08);
  box-shadow: var(--shadow); overflow: hidden;
}
.hero-canvas-wrap canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; }
.canvas-fallback {
  position: absolute; inset: 0; display: none; place-items: center;
  padding: 1.5rem; text-align: center; color: rgba(255,255,255,.7); font-size: .9rem;
  background: radial-gradient(circle at 40% 40%, rgba(26,166,166,.25), transparent 60%), #0a1a2a;
}
.canvas-fallback.show { display: grid; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  padding: .7rem 1.25rem; border-radius: 8px; font-weight: 600; font-size: .95rem;
  border: 1px solid transparent; cursor: pointer; transition: .15s ease;
}
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-dark); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn-ghost:hover { background: rgba(255,255,255,.08); color: #fff; }
.btn-outline {
  background: #fff; color: var(--ink); border-color: var(--line);
}
.btn-outline:hover { border-color: var(--teal); color: var(--teal-dark); }

/* Sections */
.section { padding: 4rem 0; }
.section-alt { background: #fff; }
.section-dark {
  background: var(--ink); color: #fff;
}
.section-dark .muted { color: rgba(255,255,255,.65); }
.section-head { margin-bottom: 2rem; max-width: 40rem; }
.section-head .eyebrow {
  color: var(--teal); font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: .5rem;
}
.section-dark .section-head .eyebrow { color: #7fdada; }
.muted { color: var(--muted); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem 1.5rem; box-shadow: 0 4px 16px rgba(11,31,51,.04);
}
.card h3 { font-size: 1.1rem; }
.card .icon-dot {
  width: 40px; height: 40px; border-radius: 10px; background: var(--teal-soft);
  color: var(--teal-dark); display: grid; place-items: center; font-weight: 700; margin-bottom: .9rem;
}
.pillar-card {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #fff 0%, #f0faf9 100%);
}
.pillar-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--teal);
}
.pain-list { list-style: none; padding: 0; margin: 0; }
.pain-list li {
  display: flex; gap: .75rem; padding: .85rem 0; border-bottom: 1px solid var(--line);
}
.pain-list li:last-child { border-bottom: 0; }
.pain-list .num {
  flex: 0 0 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff;
  font-size: .75rem; display: grid; place-items: center; font-weight: 700; margin-top: .15rem;
}

/* Stats */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
  margin-top: -2.5rem; position: relative; z-index: 2;
}
.stat {
  background: #fff; border-radius: var(--radius); padding: 1.2rem 1.3rem;
  border: 1px solid var(--line); box-shadow: var(--shadow); text-align: center;
}
.stat strong { display: block; font-size: 1.55rem; color: var(--teal-dark); }
.stat span { font-size: .85rem; color: var(--muted); }

/* Page hero (inner) */
.page-hero {
  background: linear-gradient(135deg, var(--ink), var(--ink-3));
  color: #fff; padding: 3rem 0 2.5rem;
}
.page-hero h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.page-hero .breadcrumb { font-size: .85rem; opacity: .65; margin-bottom: .75rem; }
.page-hero .breadcrumb a { color: #9fe0e0; }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table.data {
  width: 100%; border-collapse: collapse; font-size: .92rem;
}
table.data th, table.data td {
  padding: .85rem 1rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top;
}
table.data th { background: var(--ink); color: #fff; font-weight: 600; }
table.data tr:last-child td { border-bottom: 0; }
table.data tr:nth-child(even) td { background: #f8fafc; }

/* Process steps */
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem;
  position: relative;
}
.step .step-no {
  font-family: var(--mono); font-size: .75rem; color: var(--teal); font-weight: 700; letter-spacing: .05em;
}
.step h3 { font-size: 1.05rem; margin-top: .35rem; }

/* Demo panels */
.demo-panel {
  display: grid; grid-template-columns: 1.4fr .9fr; gap: 1.25rem; align-items: stretch;
}
.demo-stage {
  position: relative; min-height: 380px; border-radius: var(--radius);
  background: #071521; border: 1px solid var(--ink-3); overflow: hidden;
}
.demo-stage canvas { width: 100% !important; height: 100% !important; }
.demo-side {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem;
}
.demo-side h3 { margin-top: 0; }
.node-btn {
  display: block; width: 100%; text-align: left; margin-bottom: .5rem;
  padding: .65rem .85rem; border-radius: 8px; border: 1px solid var(--line);
  background: #fff; cursor: pointer; font: inherit; color: var(--ink);
}
.node-btn:hover, .node-btn.active {
  border-color: var(--teal); background: var(--teal-soft); color: var(--teal-dark);
}
.hint { font-size: .85rem; color: var(--muted); margin-top: .75rem; }

/* Cases */
.case-card { overflow: hidden; padding: 0; }
.case-card .case-top {
  background: linear-gradient(120deg, var(--ink-2), #0d4a4a); color: #fff; padding: 1.25rem 1.4rem;
}
.case-card .case-body { padding: 1.25rem 1.4rem; }
.tag {
  display: inline-block; font-size: .72rem; padding: .2rem .5rem; border-radius: 4px;
  background: rgba(255,255,255,.15); margin-right: .35rem;
}
.metric-row { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1rem 0; }
.metric {
  flex: 1; min-width: 100px; background: var(--paper); border-radius: 8px; padding: .75rem; text-align: center;
}
.metric strong { display: block; color: var(--teal-dark); font-size: 1.2rem; }
.metric span { font-size: .75rem; color: var(--muted); }

/* Products */
.product-card .badge {
  display: inline-block; font-size: .72rem; font-weight: 700; color: var(--teal-dark);
  background: var(--teal-soft); padding: .2rem .55rem; border-radius: 4px; margin-bottom: .6rem;
}
.feature-list { list-style: none; padding: 0; margin: .8rem 0 0; }
.feature-list li {
  padding: .35rem 0 .35rem 1.2rem; position: relative; font-size: .92rem; color: var(--muted);
}
.feature-list li::before {
  content: ""; position: absolute; left: 0; top: .7em; width: 7px; height: 7px;
  border-radius: 50%; background: var(--teal);
}

/* Resources */
.article-list { list-style: none; padding: 0; margin: 0; }
.article-list li {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  margin-bottom: .85rem; padding: 1.15rem 1.35rem;
  display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: center;
}
.article-list .date {
  font-family: var(--mono); font-size: .8rem; color: var(--teal-dark); white-space: nowrap;
}
.article-list h3 { font-size: 1.05rem; margin: 0 0 .25rem; }
.article-list p { margin: 0; font-size: .9rem; color: var(--muted); }
.article-body { max-width: 720px; }
.article-body h2 { margin-top: 1.8rem; font-size: 1.25rem; }
.article-meta { color: var(--muted); font-size: .9rem; margin-bottom: 1.5rem; }

/* Forms */
.form-card { max-width: 640px; }
.form-row { margin-bottom: 1rem; }
.form-row label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .35rem; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; padding: .7rem .85rem; border: 1px solid var(--line); border-radius: 8px;
  font: inherit; background: #fff; color: var(--ink);
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: 2px solid rgba(26,166,166,.35); border-color: var(--teal);
}
.form-row textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: .85rem; color: var(--muted); }
.alert {
  padding: .9rem 1.1rem; border-radius: 8px; margin-bottom: 1.25rem; font-size: .95rem;
}
.alert-ok { background: #e8f7ef; color: #1a6b45; border: 1px solid #b8e0c8; }
.alert-err { background: #fef0e8; color: #8a3a12; border: 1px solid #f0cbb0; }

/* CTA band */
.cta-band {
  background: linear-gradient(90deg, var(--teal-dark), var(--teal));
  color: #fff; padding: 2.5rem 0; text-align: center;
}
.cta-band h2 { margin-bottom: .5rem; }
.cta-band p { opacity: .92; margin-bottom: 1.25rem; }

/* Footer */
.site-footer {
  background: #071521; color: rgba(255,255,255,.75); padding-top: 3rem; font-size: .9rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; padding-bottom: 2.5rem;
}
.footer-brand strong { color: #fff; font-size: 1.15rem; display: block; margin-bottom: .5rem; }
.footer-brand .domain { color: var(--teal); font-family: var(--mono); font-size: .85rem; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: .75rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .4rem; }
.site-footer a { color: rgba(255,255,255,.7); }
.site-footer a:hover { color: #8fe0e0; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding: 1rem 0; font-size: .8rem;
}
.footer-bottom .container {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem;
}

/* Timeline / solution flow */
.flow {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  position: relative;
}
.flow-item {
  background: #fff; border: 1px solid var(--line); padding: 1.5rem; position: relative;
}
.flow-item:first-child { border-radius: var(--radius) 0 0 var(--radius); }
.flow-item:last-child { border-radius: 0 var(--radius) var(--radius) 0; }
.flow-item .flow-n {
  width: 32px; height: 32px; border-radius: 50%; background: var(--teal); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: .85rem; margin-bottom: .85rem;
}

/* Callout */
.callout {
  border-left: 3px solid var(--teal); background: var(--teal-soft);
  padding: 1rem 1.2rem; border-radius: 0 8px 8px 0; margin: 1.25rem 0;
}

/* Demo captions & solo stage */
.demo-caption {
  margin-top: 0.85rem;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.55;
}
.section-dark .demo-caption { color: rgba(255,255,255,.65); }
.demo-stage-solo {
  position: relative; min-height: 400px; border-radius: var(--radius);
  background: #071521; border: 1px solid var(--ink-3); overflow: hidden;
}
.demo-stage-solo canvas { width: 100% !important; height: 100% !important; display: block; }
.demo-legend {
  display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem;
  margin-top: 0.75rem; font-size: 0.85rem; color: var(--muted);
}
.demo-legend span { display: inline-flex; align-items: center; gap: 0.4rem; }
.demo-legend i {
  display: inline-block; width: 12px; height: 12px; border-radius: 3px;
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .demo-panel, .grid-2, .flow { grid-template-columns: 1fr; }
  .grid-3, .process-steps, .stats { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .flow-item:first-child, .flow-item:last-child { border-radius: var(--radius); }
  .nav-toggle { display: flex; }
  .nav-menu {
    display: none; position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: var(--ink); flex-direction: column; align-items: stretch;
    padding: 1rem; border-bottom: 1px solid rgba(255,255,255,.08); gap: 0;
  }
  .nav-menu.open { display: flex; }
  .nav-menu a { padding: .75rem; }
  .article-list li { grid-template-columns: 1fr; gap: .35rem; }
}
@media (max-width: 560px) {
  .grid-3, .process-steps, .stats, .grid-4, .footer-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
}

/* Interactive demo extensions: charts, sliders, metrics, status */
.demo-chart-wrap {
  margin: 0.85rem 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0b1f33;
}
.demo-chart-wrap canvas {
  display: block;
  width: 100%;
  height: 140px;
}
.demo-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin: 0.85rem 0;
}
.demo-metric {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.65rem 0.75rem;
  text-align: center;
}
.demo-metric.warn {
  border-color: rgba(196, 92, 38, 0.45);
  background: #fef0e8;
}
.demo-metric strong {
  display: block;
  font-family: var(--mono);
  font-size: 1.25rem;
  color: var(--teal-dark);
  line-height: 1.2;
}
.demo-metric.warn strong { color: var(--warn); }
.demo-metric span {
  font-size: 0.72rem;
  color: var(--muted);
}
.demo-status {
  font-size: 0.88rem;
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  margin: 0.75rem 0;
  background: var(--teal-soft);
  color: var(--ink-2);
  border-left: 3px solid var(--teal);
}
.demo-status.ok {
  background: #e8f7ef;
  border-left-color: var(--ok);
  color: #1a6b45;
}
.demo-status.warn {
  background: #fef0e8;
  border-left-color: var(--warn);
  color: #8a3a12;
}
.demo-slider-row {
  margin: 0.85rem 0 0.35rem;
}
.demo-slider-row label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.demo-slider-row label em {
  font-style: normal;
  font-family: var(--mono);
  color: var(--teal-dark);
  font-weight: 700;
}
.demo-slider-row input[type="range"] {
  width: 100%;
  accent-color: var(--teal);
  cursor: pointer;
}
.demo-overlay-ctrl {
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.75rem;
  z-index: 2;
  background: rgba(11, 31, 51, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 0.65rem 0.85rem;
  color: #fff;
  pointer-events: auto;
}
.demo-overlay-ctrl label {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  margin-bottom: 0.35rem;
  opacity: 0.9;
}
.demo-overlay-ctrl label em {
  font-style: normal;
  font-family: var(--mono);
  color: #8fe0e0;
}
.demo-overlay-ctrl input[type="range"] {
  width: 100%;
  accent-color: var(--teal);
}
.demo-stage .demo-overlay-ctrl { max-width: 320px; }
.section-dark .demo-metric { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); }
.section-dark .demo-metric strong { color: #8fe0e0; }
.section-dark .demo-metric span { color: rgba(255,255,255,.55); }

/* Closed-loop chips (measure → deviate → control → stable) */
.loop-bar {
  position: absolute;
  left: 0.65rem;
  right: 0.65rem;
  top: 0.65rem;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem 0.75rem;
  padding: 0.45rem 0.65rem;
  border-radius: 8px;
  background: rgba(7, 21, 33, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.1);
  pointer-events: none;
  color: #e8eef5;
  font-size: 0.75rem;
}
.loop-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}
.loop-chip {
  padding: 0.18rem 0.45rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.55);
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.loop-chip.done {
  color: rgba(143, 224, 224, 0.75);
  border-color: rgba(26, 166, 166, 0.35);
}
.loop-chip.active {
  color: #071521;
  background: #3dd4d4;
  border-color: #3dd4d4;
}
.loop-bar[data-phase="deviate"] .loop-chip.active,
.loop-bar[data-phase="control"] .loop-chip.active {
  background: #e8a06a;
  border-color: #e8a06a;
  color: #3a1a08;
}
.loop-bar[data-phase="stable"] .loop-chip.active {
  background: #6fd6a0;
  border-color: #6fd6a0;
  color: #0a2e1c;
}
.loop-meta {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  font-family: var(--mono);
  white-space: nowrap;
}
.loop-meta .loop-metric {
  font-size: 0.95rem;
  color: #8fe0e0;
}
.loop-meta .loop-metric-label {
  color: rgba(255, 255, 255, 0.5);
  font-family: inherit;
  font-size: 0.7rem;
}
.loop-meta .loop-action {
  font-style: normal;
  margin-left: 0.35rem;
  padding: 0.12rem 0.4rem;
  border-radius: 4px;
  background: rgba(26, 166, 166, 0.2);
  color: #b8f0f0;
  font-size: 0.7rem;
}
.loop-bar[data-phase="deviate"] .loop-action,
.loop-bar[data-phase="control"] .loop-action {
  background: rgba(196, 92, 38, 0.35);
  color: #ffd2b0;
}
.loop-bar[data-phase="stable"] .loop-action {
  background: rgba(46, 160, 100, 0.35);
  color: #c8f5dc;
}
.hero-canvas-wrap { position: relative; }
.hero-canvas-wrap .loop-bar {
  left: 0.5rem;
  right: 0.5rem;
  top: 0.5rem;
}
.demo-kv {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.35rem 0.75rem;
  font-size: 0.88rem;
  margin: 0.75rem 0;
}
.demo-kv dt {
  color: var(--muted);
  font-weight: 600;
}
.demo-kv dd {
  margin: 0;
  color: var(--ink-2);
}
.demo-kv dd strong { color: var(--teal-dark); }
