:root {
  --ink: #0B1B2B;
  --ink-2: #33475A;
  --muted: #5A6B7B;
  --line: #E1E8EE;
  --line-strong: #C9D5DF;
  --bg: #FFFFFF;
  --bg-soft: #F5F9FA;
  --bg-tint: #EAF5F4;
  --brand: #0C7480;
  --brand-dark: #07515A;
  --brand-soft: #E6F4F3;
  --code-bg: #0D2231;
  --code-fg: #D9E7EF;
  --code-muted: #7E9AAC;
  --warn: #8A5A12;
  --warn-bg: #FBF3E3;
  --radius: 12px;
  --radius-lg: 16px;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }
h1, h2, h3, h4 { line-height: 1.25; letter-spacing: -0.02em; margin: 0 0 12px; font-weight: 650; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.35rem); }
h2 { font-size: clamp(1.55rem, 2.8vw, 2.15rem); }
h3 { font-size: 1.08rem; }
p { margin: 0 0 14px; }
ul, ol { padding-left: 20px; }
code, pre, kbd { font-family: var(--mono); }
strong { font-weight: 650; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.94);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 28px; height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 680; font-size: 1.03rem; letter-spacing: -0.02em; }
.brand:hover { color: var(--ink); }
.brand-logo { width: 26px; height: 26px; display: block; flex: none; }
.brand-mark {
  width: 26px; height: 26px; border-radius: 7px;
  background: var(--brand); position: relative; flex: none;
}
.brand-mark::before, .brand-mark::after {
  content: ""; position: absolute; background: #fff; border-radius: 2px;
}
.brand-mark::before { width: 11px; height: 2px; left: 7px; top: 9px; }
.brand-mark::after { width: 2px; height: 11px; left: 12px; top: 6px; }
.nav-links { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.nav-links a { color: var(--ink-2); font-size: 0.9rem; font-weight: 520; }
.nav-links a:hover, .nav-links a.active { color: var(--brand); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line-strong); border-radius: 8px; padding: 7px 10px; cursor: pointer; color: var(--ink); font-size: 0.9rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 18px; border-radius: 9px; font-size: 0.9rem; font-weight: 600;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.btn-primary { background: var(--brand); color: #fff; border-color: var(--brand); }
.btn-primary:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
.btn-secondary { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.btn-secondary:hover { border-color: var(--brand); color: var(--brand); }
.btn-ghost { background: transparent; color: var(--brand); border-color: transparent; padding-left: 0; padding-right: 0; }
.btn-ghost:hover { color: var(--brand-dark); }
.btn-sm { padding: 8px 13px; font-size: 0.84rem; }
.btn-lg { padding: 14px 22px; font-size: 0.98rem; }

/* Hero */
.hero { padding: 76px 0 64px; background: linear-gradient(180deg, var(--bg-soft) 0%, #fff 100%); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr); gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--brand); margin-bottom: 18px; }
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.hero-sub { font-size: 1.08rem; color: var(--ink-2); max-width: 560px; margin-bottom: 26px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { font-size: 0.76rem; font-weight: 600; color: var(--ink-2); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 5px 11px; }
.pill.mono { font-family: var(--mono); font-size: 0.72rem; }

/* Code block */
.code-block { background: var(--code-bg); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid #1B3547; }
.code-head { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.code-label { font-family: var(--mono); font-size: 0.74rem; color: var(--code-muted); }
.code-copy { background: transparent; border: 1px solid rgba(255,255,255,0.18); color: #B9D0DD; font-family: var(--mono); font-size: 0.7rem; padding: 4px 9px; border-radius: 6px; cursor: pointer; }
.code-copy:hover { border-color: #6FBFC4; color: #fff; }
.code-block pre { margin: 0; padding: 16px 18px; overflow-x: auto; font-size: 0.79rem; line-height: 1.75; color: var(--code-fg); }
.code-block .c { color: #6E8FA3; }
.code-block .k { color: #7FD1C8; }
.code-block .s { color: #E7C584; }
.inline-code { font-family: var(--mono); font-size: 0.86em; background: var(--bg-soft); border: 1px solid var(--line); padding: 2px 6px; border-radius: 5px; color: var(--brand-dark); }

/* Sections */
.section { padding: 78px 0; border-bottom: 1px solid var(--line); }
.section.tint { background: var(--bg-soft); }
.section.tint-brand { background: var(--bg-tint); }
.section-head { max-width: 720px; margin-bottom: 42px; }
.section-kicker { font-size: 0.76rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--brand); margin-bottom: 12px; }
.section-lead { color: var(--ink-2); font-size: 1.04rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card h3 { font-size: 1.02rem; margin-bottom: 8px; }
.card p { color: var(--ink-2); font-size: 0.92rem; margin-bottom: 0; }
.card .card-num { font-family: var(--mono); font-size: 0.74rem; color: var(--brand); font-weight: 700; display: block; margin-bottom: 14px; }
.card.flat { background: var(--bg-soft); }
.card ul { color: var(--ink-2); font-size: 0.9rem; margin: 10px 0 0; }

/* Metrics */
.metrics { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.metric { border-left: 2px solid var(--brand); padding: 4px 0 4px 16px; }
.metric-num { font-size: 1.65rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1.2; }
.metric-label { font-size: 0.8rem; color: var(--muted); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; counter-reset: step; }
.step { position: relative; padding-top: 18px; border-top: 2px solid var(--line); }
.step::before { content: "0" counter(step); counter-increment: step; position: absolute; top: -15px; left: 0; background: #fff; padding-right: 10px; font-family: var(--mono); font-size: 0.78rem; font-weight: 700; color: var(--brand); }
.step h3 { font-size: 1rem; margin-top: 12px; }
.step p { color: var(--ink-2); font-size: 0.9rem; }
.step .step-time { font-family: var(--mono); font-size: 0.74rem; color: var(--muted); }

/* Architecture */
.arch-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; }
.arch-wrap svg { width: 100%; height: auto; display: block; }
.arch-caption { font-size: 0.82rem; color: var(--muted); margin-top: 14px; text-align: center; }

/* Table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table.compare { width: 100%; border-collapse: collapse; font-size: 0.88rem; min-width: 720px; }
table.compare th, table.compare td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
table.compare thead th { background: var(--bg-soft); font-size: 0.78rem; letter-spacing: 0.03em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
table.compare tbody tr:last-child td { border-bottom: none; }
table.compare td:first-child { font-weight: 620; color: var(--ink); }
table.compare .us { background: #F2FAF9; }
table.compare th.us { background: var(--brand-soft); color: var(--brand-dark); }
.yes { color: var(--brand); font-weight: 650; }
.no { color: var(--muted); }

/* Callouts */
.callout { border: 1px solid var(--line); border-left: 3px solid var(--brand); background: var(--bg-soft); border-radius: 8px; padding: 16px 18px; font-size: 0.9rem; color: var(--ink-2); }
.callout.warn { border-left-color: #C08A2E; background: var(--warn-bg); color: #6B4A15; }
.callout strong { color: var(--ink); }
.note { font-size: 0.82rem; color: var(--muted); }

/* Badges */
.badge { display: inline-block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; padding: 3px 8px; border-radius: 5px; background: var(--brand-soft); color: var(--brand-dark); }
.badge.gray { background: var(--bg-soft); color: var(--muted); }
.badge.warn { background: var(--warn-bg); color: var(--warn); }

/* FAQ */
.faq { max-width: 800px; }
.faq > details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq > details:first-child { border-top: 1px solid var(--line); }
.faq > details > summary { cursor: pointer; font-weight: 620; font-size: 0.98rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq > details > summary::-webkit-details-marker { display: none; }
.faq > details > summary::after { content: "+"; color: var(--brand); font-weight: 700; flex: none; }
.faq > details[open] > summary::after { content: "\2212"; }
.faq > details > p { color: var(--ink-2); font-size: 0.92rem; margin: 12px 0 0; }
.faq .tech-note > summary::after { content: none; }
.faq .tech-note > p { margin: 0; }

/* CTA band */
.cta-band { padding: 76px 0; background: var(--ink); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #B7C7D3; max-width: 620px; margin: 0 auto 26px; }
.cta-band .btn-secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,0.35); }
.cta-band .btn-secondary:hover { border-color: #fff; color: #fff; }

/* Footer */
.site-footer { background: #F7FAFB; border-top: 1px solid var(--line); padding: 54px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 36px; margin-bottom: 36px; }
.footer-grid h4 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 14px; font-weight: 700; }
.footer-grid a { display: block; color: var(--ink-2); font-size: 0.88rem; margin-bottom: 8px; }
.footer-grid a:hover { color: var(--brand); }
.footer-about p { font-size: 0.88rem; color: var(--ink-2); max-width: 320px; }
.disclaimer { border-top: 1px solid var(--line); padding-top: 22px; font-size: 0.76rem; color: var(--muted); line-height: 1.7; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 16px; font-size: 0.76rem; color: var(--muted); }

/* Page hero (inner pages) */
.page-hero { padding: 58px 0 46px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); max-width: 760px; }
.page-hero p { color: var(--ink-2); font-size: 1.04rem; max-width: 720px; margin-bottom: 0; }

/* Docs layout */
.docs-layout { display: grid; grid-template-columns: 210px minmax(0,1fr); gap: 48px; align-items: start; }
.toc { position: sticky; top: 92px; font-size: 0.85rem; }
.toc h4 { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 12px; }
.toc a { display: block; color: var(--ink-2); padding: 5px 0; }
.toc a:hover { color: var(--brand); }
.doc-block { margin-bottom: 52px; scroll-margin-top: 90px; }
.doc-block h2 { font-size: 1.5rem; margin-bottom: 14px; }
.doc-block h3 { font-size: 1.05rem; margin: 26px 0 10px; }
.doc-block p, .doc-block li { color: var(--ink-2); font-size: 0.94rem; }
.doc-block .code-block { margin: 16px 0; }

/* Demo */
.demo-shell { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 22px; align-items: start; }
.demo-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; }
.demo-panel h3 { font-size: 0.98rem; }
.demo-input { width: 100%; border: 1px solid var(--line-strong); border-radius: 9px; padding: 12px 14px; font-family: var(--sans); font-size: 0.9rem; color: var(--ink); }
.demo-input:focus { outline: 2px solid var(--brand-soft); border-color: var(--brand); }
.demo-presets { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 18px; }
.chip { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; padding: 6px 11px; font-size: 0.78rem; color: var(--ink-2); cursor: pointer; }
.chip:hover { border-color: var(--brand); color: var(--brand); }
.demo-status { font-size: 0.78rem; color: var(--muted); font-family: var(--mono); margin-top: 14px; min-height: 20px; }
.demo-result table { width: 100%; border-collapse: collapse; font-size: 0.84rem; margin-top: 12px; }
.demo-result th, .demo-result td { padding: 9px 10px; border-bottom: 1px solid var(--line); text-align: left; }
.demo-result th { background: var(--bg-soft); font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); }
.demo-empty { color: var(--muted); font-size: 0.88rem; padding: 34px 0; text-align: center; }
.demo-trace { font-family: var(--mono); font-size: 0.74rem; color: var(--muted); background: var(--bg-soft); border-radius: 8px; padding: 12px 14px; margin-top: 14px; white-space: pre-wrap; }

/* Pricing */
.price-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; align-items: stretch; }
.price-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; }
.price-card.featured { border: 2px solid var(--brand); }
.price-card h3 { font-size: 1.1rem; }
.price-value { font-size: 1.8rem; font-weight: 700; letter-spacing: -0.03em; margin: 6px 0 4px; }
.price-value small { font-size: 0.82rem; font-weight: 500; color: var(--muted); }
.price-card ul { margin: 18px 0 24px; font-size: 0.88rem; color: var(--ink-2); flex: 1; }
.price-card li { margin-bottom: 8px; }
.price-card .btn { width: 100%; }

/* Misc */
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.split { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 36px; align-items: center; }
.list-check { list-style: none; padding: 0; }
.list-check li { position: relative; padding-left: 24px; margin-bottom: 10px; color: var(--ink-2); font-size: 0.92rem; }
.list-check li::before { content: ""; position: absolute; left: 0; top: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

@media (max-width: 940px) {
  .hero-grid, .demo-shell, .split { grid-template-columns: 1fr; gap: 32px; }
  .grid-3, .grid-4, .steps, .price-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .metrics { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .docs-layout { grid-template-columns: 1fr; gap: 0; }
  .toc { position: static; margin-bottom: 32px; border-bottom: 1px solid var(--line); padding-bottom: 18px; }
  .toc a { display: inline-block; margin-right: 16px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 640px) {
  .nav-links { display: none; position: absolute; top: 66px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 18px; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 0; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: inline-block; }
  .nav-cta { display: none; }
  .section { padding: 56px 0; }
  .grid-2, .grid-3, .grid-4, .steps, .price-grid, .metrics { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero { padding: 52px 0 46px; }
  .cta-band { padding: 56px 0; }
}

/* Motion — semantic animation only */
.flow { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; }
.flow-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 20px; }
.flow-title { font-size: 1.05rem; margin: 10px 0 4px; }
.flow-controls { display: flex; gap: 8px; flex: none; }
.flow-stage { background: var(--bg-soft); border-radius: var(--radius); padding: 8px; overflow: hidden; }
.flow-stage svg { width: 100%; height: auto; display: block; }
.flow-stage .fmono { font-family: var(--mono); font-size: 10px; }
.flow-node rect { transition: fill .35s ease, stroke .35s ease, stroke-width .35s ease; }
.flow-node.done rect { fill: #F7FCFB; stroke: #9CCFCB; }
.flow-node.active rect { fill: #E3F3F1; stroke: #0C7480; stroke-width: 2; }
.flow-node.active text { fill: #07515A; }
.flow-notice { margin-top: 10px; border: 1px solid var(--line); border-radius: 9px; padding: 10px 12px; font-size: 0.8rem; color: var(--muted); background: #fff; }
.flow-notice strong { color: var(--ink); }
.flow-swipe { display: none; }
.flow-cross { display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; border-radius: 50%; background: #FBE9E9; color: #A32D2D; font-weight: 700; margin-right: 8px; font-size: 0.72rem; }
.flow-steps { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 8px; margin-top: 18px; }
.flow-step { text-align: left; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 9px; padding: 10px 12px; font-family: var(--sans); font-size: 0.8rem; color: var(--ink-2); cursor: pointer; transition: background .25s ease, border-color .25s ease, color .25s ease; }
.flow-step span { display: block; font-family: var(--mono); font-size: 0.7rem; color: var(--muted); margin-bottom: 4px; }
.flow-step:hover { border-color: var(--brand); }
.flow-step.active { background: var(--brand-soft); border-color: var(--brand); color: var(--brand-dark); font-weight: 600; }
.flow-step.active span { color: var(--brand); }
.flow-step.done { background: #F7FCFB; }
.flow-caption { margin: 14px 0 0; padding-left: 14px; border-left: 2px solid var(--brand); font-size: 0.88rem; color: var(--ink-2); min-height: 42px; }

.chain { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px 22px; margin-bottom: 24px; }
.chain-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.chain-title { font-size: 0.9rem; font-weight: 600; color: var(--ink); }
.chain-status { margin-left: auto; font-family: var(--mono); font-size: 0.72rem; color: var(--muted); padding: 3px 9px; border: 1px solid var(--line); border-radius: 999px; }
.chain.play .chain-status { color: var(--brand-dark); border-color: var(--brand); background: var(--brand-soft); }
.chain-blocks { display: flex; gap: 0; }
.chain-block { position: relative; flex: 1; min-width: 0; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 9px; padding: 12px 13px; }
.chain-block:not(:last-child) { margin-right: 26px; }
.chain-block:not(:last-child)::after { content: "\2192"; position: absolute; right: -21px; top: 50%; transform: translateY(-50%); color: var(--brand); font-size: 1rem; }
.chain.armed .chain-block, .chain.armed .chain-block::after { opacity: 0; }
.chain.play .chain-block { animation: chainIn .45s ease both; animation-delay: calc(var(--i) * .38s); }
.chain.play .chain-block:not(:last-child)::after { animation: chainArrow .35s ease both; animation-delay: calc(var(--i) * .38s + .22s); }
.chain-block .chain-idx { display: block; font-family: var(--mono); font-size: 0.68rem; color: var(--brand); font-weight: 700; margin-bottom: 6px; }
.chain-block code { display: block; font-size: 0.8rem; color: var(--ink); font-weight: 650; }
.chain-block small { display: block; font-size: 0.72rem; color: var(--muted); margin-top: 4px; }
.chain-block:last-child { background: var(--brand-soft); border-color: var(--brand); }
.chain.reduced .chain-block, .chain.reduced .chain-block::after { opacity: 1; animation: none; }
@keyframes chainIn { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }
@keyframes chainArrow { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 760px) {
  .flow-top { flex-direction: column; }
  .flow-stage { overflow-x: auto; }
  .flow-stage svg { min-width: 860px; }
  .flow-swipe { display: inline; color: var(--brand); }
  .flow-steps { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .chain-blocks { flex-wrap: wrap; gap: 12px; }
  .chain-block { flex: 1 1 42%; }
  .chain-block:not(:last-child) { margin-right: 0; }
  .chain-block:not(:last-child)::after { display: none; }
}
@media (max-width: 480px) {
  .flow-steps { grid-template-columns: 1fr; }
  .chain-block { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .flow-node rect, .flow-step { transition: none; }
  .chain-block, .chain-block::after { animation: none !important; opacity: 1 !important; }
}

/* Business-first language: technical detail is collapsed, not deleted */
.tech-note { margin-top: 16px; border: 1px solid var(--line); border-radius: 9px; background: var(--bg-soft); }
.tech-note summary { cursor: pointer; padding: 11px 14px; font-size: 0.82rem; font-weight: 600; color: var(--brand); list-style: none; display: flex; align-items: center; gap: 9px; }
.tech-note summary::-webkit-details-marker { display: none; }
.tech-note summary::before { content: "\203A"; font-size: 1.15rem; line-height: 1; }
.tech-note[open] summary::before { content: "\2304"; }
.tech-note .tech-body { padding: 0 14px 14px; font-size: 0.84rem; color: var(--ink-2); }
.tech-note .tech-body p:last-child { margin-bottom: 0; }
.tech-note .code-block { margin-top: 12px; }
.tech-note .code-block pre { font-size: 0.74rem; }

.preview-q { background: var(--bg-tint); border: 1px solid var(--line); border-radius: 9px; padding: 12px 14px; font-size: 0.9rem; color: var(--ink); margin: 6px 0 16px; }
.preview-a { border: 1px solid var(--line); border-radius: 9px; overflow: hidden; }
.preview-a table { width: 100%; border-collapse: collapse; font-size: 0.82rem; }
.preview-a th, .preview-a td { padding: 8px 10px; text-align: left; border-bottom: 1px solid var(--line); }
.preview-a tr:last-child td { border-bottom: none; }
.preview-a th { background: var(--bg-soft); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); }
.preview-foot { font-size: 0.76rem; color: var(--muted); margin-top: 12px; }

.flow-stage .fsub { font-size: 10px; }

.audience-banner { display: flex; gap: 14px; align-items: flex-start; background: var(--bg-tint); border: 1px solid var(--line); border-radius: 9px; padding: 14px 16px; font-size: 0.88rem; color: var(--ink-2); margin-bottom: 34px; }
.audience-banner strong { color: var(--ink); }
.audience-banner .ab-mark { flex: none; width: 26px; height: 26px; border-radius: 7px; background: var(--brand-soft); color: var(--brand-dark); display: flex; align-items: center; justify-content: center; font-size: 0.78rem; font-weight: 700; }
.business-line { font-size: 0.88rem; color: var(--brand-dark); background: var(--brand-soft); border-left: 2px solid var(--brand); padding: 10px 14px; border-radius: 0 8px 8px 0; margin: 0 0 18px; }

/* Product tour — recorded walkthrough slot */
.video-slot { max-width: 900px; margin: 0 auto; }
.video-slot video, .video-slot iframe { width: 100%; aspect-ratio: 16 / 9; display: block; border: 0; border-radius: var(--radius-lg); background: #0D2231; }
.video-poster { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.video-poster img { width: 100%; height: auto; display: block; }
.video-soon { position: absolute; top: 16px; right: 16px; }
.video-note { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; background: var(--bg-soft); border: 1px solid var(--line); border-top: none; border-radius: 0 0 var(--radius-lg) var(--radius-lg); padding: 20px 24px; }
.video-note h3 { font-size: 1rem; margin: 0 0 6px; }
.video-note p { font-size: 0.9rem; color: var(--ink-2); margin: 0; max-width: 540px; }
.video-chapters { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; margin-top: 18px; }
.chapter { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.chapter-num { display: block; font-family: var(--mono); font-size: 0.72rem; font-weight: 700; color: var(--brand); margin-bottom: 8px; }
.chapter p { font-size: 0.86rem; color: var(--ink-2); margin: 0; }
@media (max-width: 760px) {
  .video-chapters { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .video-note { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) { .video-chapters { grid-template-columns: 1fr; } }
