:root {
  --vvb-ink: #14201d;
  --vvb-muted: #60706a;
  --vvb-surface: rgba(255, 252, 247, 0.86);
  --vvb-surface-strong: #fffaf0;
  --vvb-line: rgba(20, 32, 29, 0.12);
  --vvb-accent: #d65e2e;
  --vvb-accent-deep: #8a3617;
  --vvb-highlight: #f2b134;
  --vvb-success: #256a4c;
  --vvb-danger: #b44532;
  --vvb-shadow: 0 22px 60px rgba(24, 37, 34, 0.11);
}

body.vvb-body {
  margin: 0;
  color: var(--vvb-ink);
  background:
    radial-gradient(circle at top left, rgba(242, 177, 52, 0.18), transparent 28%),
    radial-gradient(circle at top right, rgba(214, 94, 46, 0.14), transparent 24%),
    linear-gradient(180deg, #f7f1e5 0%, #f6f6ef 42%, #fdfcf8 100%);
  font-family: "Aptos", "Segoe UI Variable Text", "Trebuchet MS", sans-serif;
  line-height: 1.6;
}

.vvb-shell {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 20px 48px;
}

.vvb-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0 32px;
}

.vvb-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--vvb-ink);
  text-decoration: none;
}

.vvb-brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--vvb-accent), var(--vvb-highlight));
  color: #fffef8;
  font-family: "Aptos Display", "Segoe UI Variable Display", "Franklin Gothic Medium", sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
}

.vvb-brand-text {
  font-family: "Aptos Display", "Segoe UI Variable Display", "Franklin Gothic Medium", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
}

.vvb-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.vvb-nav-link {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--vvb-ink);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(20, 32, 29, 0.08);
}

.vvb-main {
  display: block;
}

.vvb-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--vvb-line);
  color: var(--vvb-muted);
  font-size: 0.95rem;
}

.vvb-footer a {
  color: var(--vvb-accent-deep);
}

.vvb-site,
.vvb-privacy {
  display: grid;
  gap: 32px;
}

.vvb-hero,
.vvb-section,
.vvb-privacy {
  border: 1px solid rgba(20, 32, 29, 0.08);
  border-radius: 28px;
  background: var(--vvb-surface);
  box-shadow: var(--vvb-shadow);
  backdrop-filter: blur(8px);
}

.vvb-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.85fr);
  gap: 24px;
  padding: 34px;
}

.vvb-hero-copy {
  align-self: center;
}

.vvb-kicker {
  margin: 0 0 10px;
  color: var(--vvb-accent-deep);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.76rem;
  font-weight: 700;
}

.vvb-hero-title,
.vvb-section-heading h2,
.vvb-surface-head h3,
.vvb-privacy h1 {
  margin: 0;
  font-family: "Aptos Display", "Segoe UI Variable Display", "Franklin Gothic Medium", sans-serif;
  line-height: 1.08;
}

.vvb-hero-title {
  max-width: 12ch;
  font-size: clamp(2.5rem, 5vw, 4.4rem);
}

.vvb-hero-text,
.vvb-section-heading p,
.vvb-upload-copy,
.vvb-empty-copy,
.vvb-feature-card p,
.vvb-faq-card p,
.vvb-notes p,
.vvb-privacy p {
  color: var(--vvb-muted);
}

.vvb-hero-actions,
.vvb-actions,
.vvb-result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.vvb-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.96rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.vvb-button:hover {
  transform: translateY(-1px);
}

.vvb-button-primary {
  color: #fffdf8;
  background: linear-gradient(135deg, var(--vvb-accent), var(--vvb-accent-deep));
  box-shadow: 0 12px 28px rgba(214, 94, 46, 0.25);
}

.vvb-button-secondary {
  color: var(--vvb-ink);
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(20, 32, 29, 0.12);
}

.vvb-button[disabled] {
  cursor: wait;
  opacity: 0.7;
  transform: none;
}

.vvb-hero-stats,
.vvb-feature-grid,
.vvb-faq-grid,
.vvb-privacy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.vvb-stat-card,
.vvb-feature-card,
.vvb-faq-card,
.vvb-metric-card {
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(20, 32, 29, 0.08);
  background: rgba(255, 255, 255, 0.72);
}

.vvb-stat-label,
.vvb-metric-label,
.vvb-surface-note,
.vvb-progress-caption,
.vvb-job-kind {
  color: var(--vvb-muted);
  font-size: 0.92rem;
}

.vvb-stat-value,
.vvb-metric-value {
  display: block;
  margin-top: 8px;
  font-size: 1.45rem;
  font-weight: 700;
}

.vvb-section,
.vvb-privacy {
  padding: 30px;
}

.vvb-section-heading {
  max-width: 760px;
  margin-bottom: 24px;
}

.vvb-section-heading h2,
.vvb-surface-head h3,
.vvb-privacy h1 {
  font-size: clamp(1.9rem, 3vw, 2.8rem);
}

.vvb-tool-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 22px;
}

.vvb-surface {
  padding: 26px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(20, 32, 29, 0.08);
}

.vvb-surface-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.vvb-form {
  display: grid;
  gap: 18px;
}

.vvb-field {
  display: grid;
  gap: 10px;
}

.vvb-label {
  font-weight: 700;
}

.vvb-uploadbox {
  padding: 18px;
  border-radius: 22px;
  border: 1px dashed rgba(20, 32, 29, 0.2);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(246, 238, 226, 0.88));
}

.vvb-file-input {
  width: 100%;
  color: var(--vvb-ink);
  font: inherit;
}

.vvb-file-input::file-selector-button {
  margin-right: 12px;
  padding: 12px 16px;
  border: 0;
  border-radius: 999px;
  background: rgba(214, 94, 46, 0.12);
  color: var(--vvb-accent-deep);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.vvb-upload-title,
.vvb-empty-title {
  margin: 14px 0 6px;
  font-weight: 700;
  font-size: 1.02rem;
}

.vvb-upload-status {
  margin: 8px 0 0;
  color: var(--vvb-accent-deep);
  font-weight: 700;
}

.vvb-source-note {
  margin: 10px 0 0;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(37, 106, 76, 0.1);
  color: var(--vvb-success);
}

.vvb-range-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}

.vvb-range-output {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--vvb-accent-deep);
}

.vvb-range {
  width: 100%;
  accent-color: var(--vvb-accent);
}

.vvb-range-scale {
  display: flex;
  justify-content: space-between;
  color: var(--vvb-muted);
  font-size: 0.85rem;
}

.vvb-field-error {
  color: var(--vvb-danger);
  font-size: 0.92rem;
}

.vvb-validation {
  margin-bottom: 16px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(180, 69, 50, 0.18);
  background: rgba(180, 69, 50, 0.07);
  color: var(--vvb-danger);
}

.vvb-validation:empty {
  display: none;
}

.vvb-validation ul {
  margin: 0;
  padding-left: 20px;
}

.vvb-job-card {
  display: grid;
  gap: 16px;
}

.vvb-job-message {
  margin: 0;
}

.vvb-status-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
}

.vvb-status-chip.is-queued {
  background: rgba(242, 177, 52, 0.16);
  color: #8a5b04;
}

.vvb-status-chip.is-running {
  background: rgba(214, 94, 46, 0.15);
  color: var(--vvb-accent-deep);
}

.vvb-status-chip.is-complete {
  background: rgba(37, 106, 76, 0.14);
  color: var(--vvb-success);
}

.vvb-status-chip.is-failed {
  background: rgba(180, 69, 50, 0.16);
  color: var(--vvb-danger);
}

.vvb-progress-track {
  width: 100%;
  height: 14px;
  border-radius: 999px;
  background: rgba(20, 32, 29, 0.08);
  overflow: hidden;
}

.vvb-progress-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--vvb-highlight), var(--vvb-accent));
}

.vvb-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.vvb-result-block {
  display: grid;
  gap: 14px;
}

.vvb-result-block.is-hidden {
  display: none;
}

.vvb-media {
  width: 100%;
  border-radius: 20px;
  background: #060908;
}

.vvb-empty-state {
  padding: 24px;
  border-radius: 20px;
  background: rgba(247, 241, 229, 0.82);
  border: 1px dashed rgba(20, 32, 29, 0.12);
}

.vvb-empty-state-inline {
  padding: 18px;
}

.vvb-notes {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--vvb-line);
  font-size: 0.94rem;
}

.vvb-step-list {
  margin: 0;
  padding-left: 22px;
}

.vvb-step-list li {
  margin-bottom: 10px;
  padding-left: 8px;
}

.vvb-alert {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: 18px;
}

.vvb-alert.is-warning {
  background: rgba(242, 177, 52, 0.16);
  color: #754f08;
  border: 1px solid rgba(242, 177, 52, 0.22);
}

.vvb-privacy h1 {
  margin-bottom: 0;
}

@media (max-width: 1024px) {
  .vvb-hero,
  .vvb-tool-grid {
    grid-template-columns: 1fr;
  }

  .vvb-hero-title {
    max-width: none;
  }
}

@media (max-width: 780px) {
  .vvb-shell {
    padding-inline: 14px;
  }

  .vvb-header,
  .vvb-footer,
  .vvb-surface-head,
  .vvb-range-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .vvb-hero,
  .vvb-section,
  .vvb-privacy,
  .vvb-surface {
    padding: 22px;
  }

  .vvb-feature-grid,
  .vvb-faq-grid,
  .vvb-privacy-grid,
  .vvb-hero-stats,
  .vvb-metrics-grid {
    grid-template-columns: 1fr;
  }

  .vvb-actions,
  .vvb-hero-actions,
  .vvb-result-actions {
    flex-direction: column;
  }

  .vvb-button {
    width: 100%;
  }
}