/* ToolGuest video-to-content suite — one stylesheet for the shared engine.
 *
 * Nine pages render <VideoToBlogTool /> from the same markup and the same
 * /assets/video-to-blog-tool.js engine. Everything they need is here, so a
 * layout change is one edit rather than nine, and the pages ship no duplicated
 * <style> block.
 *
 * The sheet is deliberately self-contained: it carries its own colour tokens
 * and never relies on Tailwind utilities. `vercel.json` caches /assets/* for a
 * day and the filenames carry no hash, so pages that load this file must not
 * mix its visibility rules with Tailwind's `.hidden`, which would win or lose a
 * specificity tie depending on <link> order. Visibility here is `.is-hidden`
 * with !important, so the engine toggles one class and the outcome is fixed.
 */

:root {
  --vtb-bg: #ffffff;
  --vtb-panel: #ffffff;
  --vtb-panel-2: #fafafa;
  --vtb-fg: #0a0a0b;
  --vtb-fg-soft: #3f4249;
  --vtb-muted: #6b7280;
  --vtb-border: #e6e7ea;
  --vtb-accent: #4f46e5;
  --vtb-accent-2: #0891b2;
  --vtb-accent-soft: rgba(79, 70, 229, .08);
  --vtb-ok: #059669;
  --vtb-ok-soft: rgba(5, 150, 105, .10);
  --vtb-err: #dc2626;
  --vtb-err-soft: rgba(220, 38, 38, .07);
  --vtb-seg: #f2f3f5;
  --vtb-shadow: 0 1px 2px rgba(16, 18, 23, .04), 0 24px 60px -34px rgba(16, 18, 23, .28);
  --vtb-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

html.dark, html[data-theme="dark"], body.dark {
  --vtb-bg: #07080a;
  --vtb-panel: #0c0e11;
  --vtb-panel-2: #101317;
  --vtb-fg: #f4f5f7;
  --vtb-fg-soft: #c3c7cf;
  --vtb-muted: #8b919b;
  --vtb-border: #1d2127;
  --vtb-accent: #818cf8;
  --vtb-accent-2: #22d3ee;
  --vtb-accent-soft: rgba(129, 140, 248, .12);
  --vtb-ok: #34d399;
  --vtb-ok-soft: rgba(52, 211, 153, .12);
  --vtb-err: #f87171;
  --vtb-err-soft: rgba(248, 113, 113, .08);
  --vtb-seg: #13161b;
  --vtb-shadow: 0 1px 0 rgba(255, 255, 255, .03) inset, 0 44px 96px -56px rgba(99, 102, 241, .5);
}

/* ---------------------------------------------------------------- nav ---- */
.vtb-nav {
  position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--vtb-border);
  background: color-mix(in srgb, var(--vtb-bg) 84%, transparent);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}
.vtb-nav__in { max-width: 1120px; margin: 0 auto; padding: 0 20px; height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.vtb-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--vtb-fg); flex: none; }
.vtb-brand img { height: 28px; width: auto; }
.vtb-brand b { font-size: 15px; font-weight: 700; letter-spacing: -.02em; }
.vtb-crumbs { display: none; align-items: center; gap: 8px; font-size: 13px; color: var(--vtb-muted); list-style: none; margin: 0; padding: 0; }
@media (min-width: 768px) { .vtb-crumbs { display: flex; } }
.vtb-crumbs a { color: inherit; text-decoration: none; }
.vtb-crumbs a:hover { opacity: .7; }
.vtb-crumbs .sep { opacity: .4; }
.vtb-crumbs .here { font-weight: 600; color: var(--vtb-fg); }
.vtb-nav__right { display: flex; align-items: center; gap: 8px; flex: none; }
.vtb-theme {
  width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center;
  border: 1px solid var(--vtb-border); background: var(--vtb-panel-2);
  color: var(--vtb-fg-soft); cursor: pointer; padding: 0;
}
.vtb-theme:hover { color: var(--vtb-fg); border-color: color-mix(in srgb, var(--vtb-accent) 45%, var(--vtb-border)); }
.vtb-theme svg { width: 16px; height: 16px; }

/* ---------------------------------------------------------------- shell -- */
.vtb-page {
  background: var(--vtb-bg);
  color: var(--vtb-fg);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.vtb-container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.vtb-container--narrow { max-width: 780px; }

.vtb-hero { position: relative; overflow: hidden; padding: 56px 0 30px; text-align: center; }
.vtb-hero::before {
  content: '';
  position: absolute; left: 50%; top: -280px; transform: translateX(-50%);
  width: 1100px; height: 600px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--vtb-accent) 32%, transparent), transparent 65%);
  filter: blur(30px);
}
html.dark .vtb-hero::before, html[data-theme="dark"] .vtb-hero::before, body.dark .vtb-hero::before { opacity: .55; }
.vtb-hero > * { position: relative; }

.vtb-badge {
  display: inline-flex; align-items: center; gap: .45rem; flex-wrap: wrap; justify-content: center;
  border: 1px solid var(--vtb-border); background: var(--vtb-panel-2); color: var(--vtb-fg-soft);
  border-radius: 999px; padding: .4rem .85rem; font-size: .8125rem; font-weight: 500;
}
.vtb-badge strong { color: var(--vtb-fg); }
.vtb-badge .sep { opacity: .35; }

.vtb-h1 {
  margin: 20px auto 16px; max-width: 940px; font-size: clamp(1.95rem, 5vw, 3.4rem);
  line-height: 1.08; font-weight: 800; letter-spacing: -.035em; text-wrap: balance;
}
.vtb-h1 .grad {
  background: linear-gradient(100deg, var(--vtb-accent) 0%, var(--vtb-accent-2) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.vtb-lead {
  max-width: 720px; margin: 0 auto; font-size: clamp(1rem, 2.2vw, 1.16rem);
  line-height: 1.65; color: var(--vtb-fg-soft);
}
.vtb-lead strong { color: var(--vtb-fg); }
.vtb-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-top: 22px; }
.vtb-pill {
  display: inline-flex; align-items: center; gap: .4rem; border: 1px solid var(--vtb-border);
  background: var(--vtb-panel-2); color: var(--vtb-fg-soft); border-radius: 999px;
  padding: .4rem .8rem; font-size: .8125rem; font-weight: 500; white-space: nowrap;
}

/* ----------------------------------------------------------------- tool -- */
.vtb-tool { padding: 6px 0 56px; }
.vtb-card {
  position: relative; border-radius: 26px; background: var(--vtb-panel);
  border: 1px solid var(--vtb-border); box-shadow: var(--vtb-shadow);
  padding: 22px; overflow: hidden;
}
.vtb-card::before {
  content: ''; position: absolute; top: 0; left: 12%; right: 12%; height: 1px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--vtb-accent) 70%, transparent), transparent);
}
.vtb-card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.vtb-card__id { display: flex; align-items: center; gap: 10px; }
.vtb-card__icon {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: var(--vtb-accent-soft); color: var(--vtb-accent); flex: none;
}
.vtb-card__title { font-size: 13px; font-weight: 700; line-height: 1.25; }
.vtb-card__sub { font-size: 11px; color: var(--vtb-muted); line-height: 1.25; }
.vtb-free {
  display: inline-flex; align-items: center; gap: 5px; border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--vtb-accent) 35%, transparent);
  background: var(--vtb-accent-soft); color: var(--vtb-accent);
  padding: .3rem .6rem; font-size: 11px; font-weight: 700; white-space: nowrap;
}

.vtb-input {
  display: flex; align-items: center; gap: .5rem; background: var(--vtb-panel-2);
  border: 1.5px solid var(--vtb-border); border-radius: 14px; padding: .3rem .3rem .3rem 1rem;
  transition: border-color .25s, box-shadow .25s;
}
.vtb-input:focus-within { border-color: color-mix(in srgb, var(--vtb-accent) 70%, transparent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--vtb-accent) 14%, transparent); }
.vtb-input.is-error { border-color: var(--vtb-err); box-shadow: 0 0 0 4px color-mix(in srgb, var(--vtb-err) 14%, transparent); animation: vtb-shake .4s cubic-bezier(.36,.07,.19,.97); }
@keyframes vtb-shake { 10%,90%{transform:translateX(-2px)} 20%,80%{transform:translateX(3px)} 30%,50%,70%{transform:translateX(-5px)} 40%,60%{transform:translateX(5px)} }
.vtb-input input {
  flex: 1; min-width: 0; background: transparent; border: 0; outline: 0;
  color: var(--vtb-fg); font-size: .9375rem; padding: .8rem 0; font-family: inherit;
}
.vtb-input input::placeholder { color: var(--vtb-muted); }
.vtb-clear {
  width: 26px; height: 26px; border-radius: 50%; border: 0; background: var(--vtb-seg);
  color: var(--vtb-muted); cursor: pointer; display: grid; place-items: center;
  font-size: 14px; font-weight: 600; line-height: 1; flex: none; transition: all .2s;
}
.vtb-clear:hover { background: var(--vtb-accent-soft); color: var(--vtb-accent); }

.vtb-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  background: linear-gradient(180deg, color-mix(in srgb, var(--vtb-accent) 92%, #fff), var(--vtb-accent));
  color: #fff; font-weight: 600; font-size: .9375rem; border-radius: 11px;
  padding: .75rem 1.35rem; border: 0; cursor: pointer; white-space: nowrap;
  font-family: inherit; transition: transform .18s, filter .2s, opacity .2s;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 8px 24px -10px color-mix(in srgb, var(--vtb-accent) 90%, transparent);
}
.vtb-btn:hover:not(:disabled) { transform: translateY(-1px); filter: brightness(1.07); }
.vtb-btn:active:not(:disabled) { transform: translateY(0) scale(.985); }
.vtb-btn:disabled { opacity: .7; cursor: not-allowed; transform: none; }

.vtb-spinner {
  width: 15px; height: 15px; border-radius: 50%; display: inline-block;
  border: 2px solid rgba(255, 255, 255, .3); border-top-color: #fff;
  animation: vtb-spin .7s linear infinite;
}
@keyframes vtb-spin { to { transform: rotate(360deg); } }

.vtb-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  background: var(--vtb-panel-2); color: var(--vtb-fg-soft); font-weight: 550; font-size: .875rem;
  border: 1px solid var(--vtb-border); border-radius: 11px; padding: .6rem 1rem;
  cursor: pointer; white-space: nowrap; font-family: inherit; transition: all .2s;
}
.vtb-ghost:hover { color: var(--vtb-fg); border-color: color-mix(in srgb, var(--vtb-accent) 45%, var(--vtb-border)); transform: translateY(-1px); }
.vtb-ghost.is-copied { color: var(--vtb-ok); border-color: color-mix(in srgb, var(--vtb-ok) 45%, transparent); background: var(--vtb-ok-soft); }

.vtb-hint { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; font-size: 11.5px; color: var(--vtb-muted); }
.vtb-linkbtn { background: none; border: 0; cursor: pointer; font-family: inherit; color: var(--vtb-accent); font-weight: 600; padding: 0; }
.vtb-linkbtn:hover { text-decoration: underline; }

.vtb-group { margin-top: 18px; }
.vtb-group__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.vtb-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--vtb-muted); }
.vtb-tone-tag { font-size: 10.5px; color: var(--vtb-muted); }

.chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.chip {
  display: inline-flex; align-items: center; gap: .42rem; padding: .46rem .78rem;
  border-radius: 999px; border: 1px solid var(--vtb-border); background: var(--vtb-panel-2);
  color: var(--vtb-fg-soft); font-size: .78125rem; font-weight: 550; cursor: pointer;
  font-family: inherit; white-space: nowrap; line-height: 1; transition: all .2s;
}
.chip:hover { border-color: color-mix(in srgb, var(--vtb-accent) 45%, var(--vtb-border)); color: var(--vtb-fg); transform: translateY(-1px); }
.chip[aria-pressed="true"] {
  background: var(--vtb-accent-soft); border-color: color-mix(in srgb, var(--vtb-accent) 55%, transparent);
  color: var(--vtb-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--vtb-accent) 9%, transparent);
}
.chip .em { font-size: .95rem; line-height: 1; }
.chip--opt[aria-pressed="true"]::after { content: '✓'; font-size: .7rem; font-weight: 800; margin-left: .1rem; }

.vtb-row { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: 14px; }
.vtb-select {
  appearance: none; -webkit-appearance: none; background: var(--vtb-panel-2);
  border: 1px solid var(--vtb-border); border-radius: 10px; color: var(--vtb-fg);
  font-size: .8125rem; font-weight: 550; padding: .55rem 2rem .55rem .8rem;
  font-family: inherit; cursor: pointer; max-width: 220px; text-overflow: ellipsis;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 16px) 55%, calc(100% - 11px) 55%;
  background-size: 5px 5px, 5px 5px; background-repeat: no-repeat;
}
.vtb-select:focus { outline: 0; border-color: color-mix(in srgb, var(--vtb-accent) 45%, var(--vtb-border)); }

/* ------------------------------------------------------------- progress -- */
.vtb-progress { margin-top: 22px; }
.vtb-track { height: 4px; border-radius: 99px; background: var(--vtb-seg); overflow: hidden; }
.vtb-fill { height: 100%; width: 0%; border-radius: 99px; background: linear-gradient(90deg, var(--vtb-accent), var(--vtb-accent-2)); transition: width .38s cubic-bezier(.4,0,.2,1); }
.vtb-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
@media (min-width: 640px) { .vtb-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.vtb-step { display: flex; align-items: center; gap: .6rem; font-size: .8125rem; color: var(--vtb-muted); transition: color .3s; }
.vtb-step.is-done { color: var(--vtb-fg-soft); }
.vtb-dot { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--vtb-border); display: grid; place-items: center; flex: none; font-size: 10px; color: transparent; transition: all .3s; }
.vtb-step.is-done .vtb-dot { background: var(--vtb-ok); border-color: var(--vtb-ok); color: #fff; }
.vtb-step.is-done .vtb-dot::after { content: '✓'; }
.vtb-step.is-active .vtb-dot { border-color: var(--vtb-accent); box-shadow: 0 0 0 3px var(--vtb-accent-soft); }

.vtb-error {
  margin-top: 18px; display: flex; align-items: flex-start; gap: 12px;
  border-radius: 14px; padding: 14px 16px; background: var(--vtb-err-soft);
  border: 1px solid color-mix(in srgb, var(--vtb-err) 32%, transparent);
}
.vtb-error strong { display: block; font-size: 13px; color: var(--vtb-fg); }
.vtb-error span { display: block; font-size: 12.5px; color: var(--vtb-muted); margin-top: 2px; line-height: 1.6; }
.vtb-error code { font-family: var(--vtb-mono); font-size: .92em; }

/* --------------------------------------------------------------- output -- */
.vtb-output { margin-top: 20px; }
.vtb-output__top { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.vtb-output__id { display: flex; align-items: flex-start; gap: 12px; min-width: 0; flex: 1; }
.vtb-thumb { width: 54px; height: 54px; border-radius: 12px; object-fit: cover; border: 1px solid var(--vtb-border); background: var(--vtb-panel-2); flex: none; }
.vtb-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.vtb-tag-ok {
  display: inline-flex; align-items: center; gap: 5px; font-size: 10.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .05em; padding: 4px 8px; border-radius: 6px;
  background: var(--vtb-ok-soft); color: var(--vtb-ok); border: 1px solid color-mix(in srgb, var(--vtb-ok) 30%, transparent);
}
.vtb-speed {
  display: inline-flex; align-items: center; gap: 4px; font-size: 10px; font-weight: 800;
  letter-spacing: .05em; text-transform: uppercase; padding: 4px 8px; border-radius: 6px;
  background: var(--vtb-accent-soft); color: var(--vtb-accent);
  border: 1px solid color-mix(in srgb, var(--vtb-accent) 30%, transparent);
}
.vtb-out-title { font-size: 15px; font-weight: 700; line-height: 1.35; letter-spacing: -.01em; margin-top: 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vtb-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

.vtb-view { display: inline-flex; border: 1px solid var(--vtb-border); border-radius: 10px; overflow: hidden; background: var(--vtb-panel-2); }
.vtb-view button {
  border: 0; background: transparent; color: var(--vtb-muted); font-family: inherit;
  font-size: 12px; font-weight: 600; padding: .5rem .75rem; cursor: pointer; transition: all .2s;
}
.vtb-view button[aria-pressed="true"] { background: var(--vtb-accent-soft); color: var(--vtb-accent); }

.vtb-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 14px; }
@media (min-width: 640px) { .vtb-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.vtb-stat { display: flex; flex-direction: column; gap: 2px; padding: 11px 15px; border-radius: 11px; background: var(--vtb-panel-2); border: 1px solid var(--vtb-border); }
.vtb-stat b { font-size: 1rem; font-weight: 700; color: var(--vtb-fg); font-variant-numeric: tabular-nums; }
.vtb-stat span { font-size: .6875rem; text-transform: uppercase; letter-spacing: .06em; color: var(--vtb-muted); font-weight: 600; }

.vtb-pre {
  font-family: var(--vtb-mono); font-size: .8125rem; line-height: 1.75; white-space: pre-wrap;
  word-break: break-word; max-height: 480px; overflow-y: auto; padding: 20px 22px;
  color: var(--vtb-fg-soft); background: var(--vtb-panel-2); border-radius: 14px;
  border: 1px solid var(--vtb-border); tab-size: 2; margin: 0;
}
.vtb-pre::-webkit-scrollbar { width: 9px; }
.vtb-pre::-webkit-scrollbar-thumb { background: var(--vtb-border); border-radius: 99px; border: 3px solid var(--vtb-panel-2); }
.vtb-note { font-size: 11px; color: var(--vtb-muted); margin-top: 10px; line-height: 1.6; }

/* Polish & Publish bar — sits inside the output box and in the page body. */
.vtb-polish {
  margin-top: 16px; border: 1px solid color-mix(in srgb, var(--vtb-accent) 26%, var(--vtb-border));
  border-radius: 16px; padding: 14px 16px;
  background: linear-gradient(135deg, var(--vtb-accent-soft), transparent 70%);
}
.vtb-polish__label {
  display: flex; align-items: center; gap: 7px; font-size: .72rem; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase; color: var(--vtb-accent);
}
.vtb-polish__grid { display: grid; grid-template-columns: 1fr; gap: 8px; margin-top: 10px; }
@media (min-width: 640px) { .vtb-polish__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .vtb-polish__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.vtb-polish a {
  display: flex; flex-direction: column; gap: 2px; text-decoration: none; padding: 10px 12px;
  border-radius: 11px; background: var(--vtb-panel); border: 1px solid var(--vtb-border);
  transition: transform .2s, border-color .2s;
}
.vtb-polish a:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--vtb-accent) 50%, var(--vtb-border)); }
.vtb-polish a b { font-size: 12.5px; font-weight: 700; color: var(--vtb-fg); }
.vtb-polish a span { font-size: 11px; color: var(--vtb-muted); line-height: 1.5; }

/* ------------------------------------------------------------ content -- */
.vtb-section { padding: 0 0 56px; }
.vtb-eyebrow { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--vtb-accent); margin-bottom: .55rem; }
.vtb-h2 { font-size: clamp(1.35rem, 3vw, 1.9rem); font-weight: 800; letter-spacing: -.028em; line-height: 1.16; margin: 0; text-wrap: balance; }
.vtb-h3 { font-size: 1.02rem; font-weight: 700; letter-spacing: -.015em; margin: 0; }
.vtb-p { margin-top: .8rem; font-size: .975rem; line-height: 1.78; color: var(--vtb-fg-soft); }
.vtb-p a, .vtb-section a.inline { color: var(--vtb-accent); text-decoration: none; border-bottom: 1px solid color-mix(in srgb, var(--vtb-accent) 38%, transparent); }
.vtb-p strong { color: var(--vtb-fg); font-weight: 650; }
.vtb-code { font-family: var(--vtb-mono); font-size: .85em; background: var(--vtb-accent-soft); color: var(--vtb-accent); padding: .12em .42em; border-radius: .4em; border: 1px solid color-mix(in srgb, var(--vtb-accent) 20%, transparent); word-break: break-word; }

/* Instant answer capsule — the block an answer engine quotes. */
.vtb-capsule {
  border: 1px solid color-mix(in srgb, var(--vtb-accent) 30%, transparent); border-radius: 18px;
  padding: 22px 24px; background: linear-gradient(135deg, var(--vtb-accent-soft), transparent 72%);
}
.vtb-capsule__label { display: inline-flex; align-items: center; gap: .4rem; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--vtb-accent); }
.vtb-capsule p { margin-top: .6rem; font-size: 1.03rem; line-height: 1.7; color: var(--vtb-fg); }
.vtb-capsule p:first-of-type { margin-top: .6rem; }

/* 3-step how-to */
.vtb-steps3 { display: grid; gap: 14px; margin-top: 20px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .vtb-steps3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.vtb-step-card { border: 1px solid var(--vtb-border); border-radius: 16px; padding: 18px; background: var(--vtb-panel); }
.vtb-step-num {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  font-weight: 700; font-size: .95rem; background: var(--vtb-accent-soft); color: var(--vtb-accent);
  border: 1px solid color-mix(in srgb, var(--vtb-accent) 28%, transparent);
}
.vtb-step-card h3 { margin: 12px 0 0; }
.vtb-step-card p { margin-top: 6px; font-size: .9rem; line-height: 1.7; color: var(--vtb-fg-soft); }

/* feature grid */
.vtb-grid { display: grid; gap: 14px; margin-top: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .vtb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .vtb-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.vtb-card-sm { border: 1px solid var(--vtb-border); border-radius: 16px; padding: 18px; background: var(--vtb-panel); transition: transform .2s, border-color .2s; }
.vtb-card-sm:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--vtb-accent) 40%, var(--vtb-border)); }
.vtb-card-sm h3 { font-size: .95rem; font-weight: 700; margin: 0; }
.vtb-card-sm p { margin-top: 6px; font-size: .875rem; line-height: 1.65; color: var(--vtb-fg-soft); }

/* benchmark / fact summary */
.vtb-facts { border: 1px solid var(--vtb-border); border-radius: 18px; padding: 22px 24px; background: var(--vtb-panel-2); margin-top: 20px; }
.vtb-facts p { font-size: 1rem; line-height: 1.75; color: var(--vtb-fg); margin: 0; }
.vtb-facts dl { display: grid; gap: 10px; margin: 16px 0 0; grid-template-columns: 1fr; }
@media (min-width: 640px) { .vtb-facts dl { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.vtb-facts .fact { display: flex; flex-direction: column; gap: 2px; padding: 11px 14px; border-radius: 11px; background: var(--vtb-panel); border: 1px solid var(--vtb-border); }
.vtb-facts dt { font-size: .6875rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--vtb-muted); }
.vtb-facts dd { margin: 0; font-size: .95rem; font-weight: 650; color: var(--vtb-fg); }

/* comparison table */
.vtb-tablewrap { margin-top: 20px; overflow-x: auto; border: 1px solid var(--vtb-border); border-radius: 18px; background: var(--vtb-panel); }
.vtb-table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: .875rem; text-align: left; }
.vtb-table th, .vtb-table td { padding: 13px 16px; border-bottom: 1px solid var(--vtb-border); vertical-align: top; }
.vtb-table tbody tr:last-child th, .vtb-table tbody tr:last-child td { border-bottom: 0; }
.vtb-table thead th { font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--vtb-muted); }
.vtb-table th[scope="row"] { font-weight: 600; color: var(--vtb-fg); }
.vtb-table .col-us { background: color-mix(in srgb, var(--vtb-accent) 7%, transparent); }
.vtb-table thead .col-us { color: var(--vtb-accent); }
.vtb-table .yes { color: var(--vtb-ok); font-weight: 650; }
.vtb-table .no { color: var(--vtb-muted); }
.vtb-table caption { text-align: left; padding: 14px 16px 0; font-size: .78rem; color: var(--vtb-muted); }

/* FAQ */
.vtb-faq { display: grid; gap: 10px; margin-top: 20px; }
.vtb-faq details { border: 1px solid var(--vtb-border); border-radius: 14px; padding: 0 18px; background: var(--vtb-panel); }
.vtb-faq summary { cursor: pointer; padding: 15px 0; font-weight: 650; list-style: none; display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; font-size: .95rem; }
.vtb-faq summary::-webkit-details-marker { display: none; }
.vtb-faq summary::after { content: '+'; font-size: 1.2rem; font-weight: 400; color: var(--vtb-muted); flex: none; }
.vtb-faq details[open] summary::after { content: '\2013'; }
.vtb-faq p { padding-bottom: 15px; margin: 0; font-size: .9rem; line-height: 1.75; color: var(--vtb-fg-soft); }

/* ecosystem grid */
.vtb-eco { display: grid; gap: 12px; margin-top: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .vtb-eco { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .vtb-eco { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.vtb-eco a {
  display: block; text-decoration: none; padding: 16px 18px; border-radius: 15px;
  border: 1px solid var(--vtb-border); background: var(--vtb-panel);
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.vtb-eco a:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--vtb-accent) 45%, var(--vtb-border)); box-shadow: var(--vtb-shadow); }
.vtb-eco b { display: block; font-size: .9rem; font-weight: 700; color: var(--vtb-fg); }
.vtb-eco span { display: block; margin-top: 4px; font-size: .8rem; line-height: 1.55; color: var(--vtb-muted); }
.vtb-eco a[aria-current="page"] { border-color: color-mix(in srgb, var(--vtb-accent) 55%, transparent); background: var(--vtb-accent-soft); }

/* toast */
.vtb-toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(120px);
  background: var(--vtb-fg); color: var(--vtb-bg); padding: .75rem 1.25rem; border-radius: 11px;
  font-size: .875rem; font-weight: 600; box-shadow: 0 10px 40px rgba(0, 0, 0, .3);
  transition: transform .4s cubic-bezier(.22,1,.36,1); z-index: 9999; pointer-events: none; max-width: 90vw;
}
.vtb-toast.is-shown { transform: translateX(-50%) translateY(0); }
.vtb-toast.is-error { background: var(--vtb-err); color: #fff; }

/* utility */
.is-hidden { display: none !important; }
.vtb-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (prefers-reduced-motion: reduce) {
  .vtb-page *, .vtb-page *::before, .vtb-page *::after {
    animation-duration: .01ms !important; transition-duration: .01ms !important;
  }
}
