/* Hallmark · genre: modern-minimal · macrostructure: Narrative Workflow (marketing) · design-system: design.md · designed-as-app
 * nav: N1b three-section · footer: Ft5 statement · enrichment: Tier-A CSS slats from the logo
 * pre-emit critique: P4 H4 E4 S4 R4 V4
 *
 * Vending Valley marketing site, sign-in pages and their subpages. Load after vv-tokens.css.
 * Everything is scoped to body.vv-site, so sellers' shop pages (body.vv-shop-page), which share
 * header.php / footer.php and marketplace.css, keep their own shop theme untouched.
 */

/* ---------- base ---------- */
html:has(body.vv-site) { overflow-x: clip; scroll-padding-top: 5rem; }
body.vv-site {
  margin: 0;
  overflow-x: clip;
  background: var(--color-paper) !important;
  color: var(--color-ink) !important;
  font-family: var(--font-body) !important;
  font-size: var(--text-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.vv-site *, body.vv-site *::before, body.vv-site *::after { box-sizing: border-box; }
body.vv-site [hidden] { display: none !important; }
body.vv-site h1, body.vv-site h2, body.vv-site h3 {
  font-family: var(--font-display) !important;
  font-style: normal !important;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--color-ink);
  overflow-wrap: anywhere;
  min-width: 0;
}
body.vv-site h3 { font-family: var(--font-body) !important; font-weight: 600; letter-spacing: 0; }
body.vv-site a { color: var(--color-accent); text-underline-offset: 3px; }
body.vv-site :focus-visible { outline: 2px solid var(--color-focus) !important; outline-offset: 2px; }
body.vv-site code, body.vv-site .vvs-mono { font-family: var(--font-mono); font-size: 0.92em; }
.vvs-skip { position: absolute; left: var(--space-sm); top: -4rem; z-index: 60; padding: var(--space-2xs) var(--space-sm); background: var(--color-accent); color: var(--color-accent-ink) !important; border-radius: var(--radius-input); }
.vvs-skip:focus { top: var(--space-2xs); }

/* Legacy page variables, pointed at the system so older subpage CSS follows it. */
body.vv-site {
  --steel-700: var(--color-paper-3); --steel-800: var(--color-paper-2); --steel-900: var(--color-paper); --slate-950: var(--color-paper);
  --accent: var(--color-accent); --accent-color: var(--color-accent); --accent-soft: var(--color-accent-wash);
  --gold: var(--color-accent); --on-gold: var(--color-accent-ink); --white: var(--color-ink);
  --text-primary: var(--color-ink); --text-muted: var(--color-muted); --text-dark: var(--color-ink); --text-dark-muted: var(--color-muted);
  --border-subtle: var(--color-rule-soft); --glass-border: var(--color-rule);
  --vv-ink: var(--color-paper); --vv-ink-2: var(--color-paper-2); --vv-navy: var(--color-paper-2); --vv-panel: var(--color-paper-2);
  --vv-panel-edge: var(--color-rule); --vv-gold: var(--color-accent); --vv-gold-hot: var(--color-accent-2); --vv-on-gold: var(--color-accent-ink);
  --vv-gold-soft: var(--color-accent-wash); --vv-text: var(--color-ink); --vv-muted: var(--color-muted); --vv-input: var(--color-paper);
  --vv-line: var(--color-rule); --vv-border: var(--color-rule); --vv-card: var(--color-paper-2); --vv-danger: var(--color-danger);
  --vv-danger-bg: var(--color-danger-wash); --vv-font: var(--font-body); --vv-display: var(--font-display);
  --primary: var(--color-paper); --secondary: var(--color-paper-2); --light: var(--color-paper-2); --dark: var(--color-ink);
  --font-body: "Geist", system-ui, sans-serif;
}

/* ---------- header (N1b: mark · links · one action) ---------- */
body.vv-site .header {
  position: sticky; top: 0; z-index: 40;
  /* Solid, no backdrop-filter: a filter here would trap the fixed menu drawer inside the 60px bar. */
  background: var(--color-paper) !important;
  backdrop-filter: none !important; transform: none !important; filter: none !important;
  border-bottom: 1px solid var(--color-rule-soft) !important;
  box-shadow: none !important;
  padding: 0 !important;
}
/* the logo's slats as a 3px hairline under the bar (design.md motif) */
body.vv-site .header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--slats); opacity: 0.14; pointer-events: none; }
body.vv-site .nav-container {
  width: min(1180px, 100%); margin: 0 auto; padding: var(--space-2xs) var(--space-sm) !important;
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-sm); min-height: 64px;
}
body.vv-site .header .logo { display: inline-flex; align-items: center; min-height: var(--touch); text-decoration: none; }
body.vv-site .vvs-lockup { height: 26px; width: auto; display: block; filter: var(--logo-filter); }
body.vv-site .mobile-menu-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: var(--touch); height: var(--touch); padding: 0; margin: 0;
  background: transparent !important; color: var(--color-ink) !important;
  border: 1px solid var(--color-rule) !important; border-radius: var(--radius-input); cursor: pointer;
}
.vvs-burger, .vvs-burger::before, .vvs-burger::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; content: ""; position: relative; transition: transform var(--dur-fast) var(--ease-out); }
.vvs-burger::before { position: absolute; top: -6px; }
.vvs-burger::after { position: absolute; top: 6px; }
body.vv-site .mobile-menu-toggle[aria-expanded="true"] .vvs-burger { background: transparent; }
body.vv-site .mobile-menu-toggle[aria-expanded="true"] .vvs-burger::before { transform: translateY(6px) rotate(45deg); }
body.vv-site .mobile-menu-toggle[aria-expanded="true"] .vvs-burger::after { transform: translateY(-6px) rotate(-45deg); }
/* Phone and tablet portrait (< 900): the links live in a drawer from the right. Tablet portrait keeps the
   logo, the one brass action and the menu button in the bar, so it is not a stretched phone header. */
body.vv-site .header nav.vvs-drawer {
  position: fixed; z-index: 70; top: 0; right: 0; bottom: 0; width: min(340px, 88vw);
  background: var(--color-paper); border-left: 1px solid var(--color-rule);
  padding: 0 var(--space-sm) var(--space-md); overflow-y: auto; overscroll-behavior: contain;
  transform: translateX(102%); visibility: hidden; transition: transform var(--dur-base) var(--ease-out);
}
body.vv-site .header nav.vvs-drawer.is-open { transform: none; visibility: visible; }
.vvs-scrim { position: fixed; inset: 0; z-index: 75; background: oklch(15% 0.02 257 / 0.55); }
/* The sticky header is its own stacking layer; lift it above the scrim while its drawer is open. */
body.vv-site.vvs-menu-open .header { z-index: 80 !important; }
.vvs-drawer-head { display: flex; align-items: center; justify-content: space-between; min-height: 60px; border-bottom: 1px solid var(--color-rule-soft); margin-bottom: var(--space-2xs); font-family: var(--font-display); font-size: var(--text-md); color: var(--color-ink); }
.vvs-drawer-close { width: var(--touch); height: var(--touch); display: inline-flex; align-items: center; justify-content: center; background: transparent; color: var(--color-ink); border: 1px solid var(--color-rule); border-radius: var(--radius-input); cursor: pointer; font-size: 1rem; }
body.vv-site .nav-links { list-style: none; margin: 0; padding: 0; display: flex !important; flex-direction: column; gap: 2px; position: static; background: none !important; }
body.vv-site .nav-links.mobile-active { display: flex !important; position: static; padding: 0 !important; border: 0; }
body.vv-site .nav-links a.btn-cta { margin-top: var(--space-xs); justify-content: center; }
.vvs-top-cta {
  display: none; align-items: center; min-height: var(--touch); padding: 0 var(--space-sm); margin-left: auto; margin-right: var(--space-2xs);
  border-radius: var(--radius-input); background: var(--color-accent); color: var(--color-accent-ink) !important; font-weight: 600; font-size: var(--text-sm);
  text-decoration: none !important; white-space: nowrap;
}
.vvs-top-cta:hover { background: var(--color-accent-2); }
@media (min-width: 440px) and (max-width: 899px) { .vvs-top-cta { display: inline-flex; } }
@media (prefers-reduced-motion: reduce) { body.vv-site .header nav.vvs-drawer { transition: none; } }
body.vv-site .nav-links li { margin: 0; }
body.vv-site .nav-links a {
  display: flex; align-items: center; min-height: var(--touch); padding: 0 var(--space-xs);
  color: var(--color-ink-2) !important; text-decoration: none; font-weight: 500; font-size: var(--text-sm);
  border-radius: var(--radius-input); white-space: nowrap; background: none !important; border: 0 !important;
  text-transform: none !important; letter-spacing: 0 !important;
}
body.vv-site .nav-links a:hover { color: var(--color-ink) !important; background: var(--color-paper-2) !important; }
body.vv-site .nav-links a[aria-current="page"] { color: var(--color-ink) !important; text-decoration: underline; text-decoration-color: var(--color-accent); text-underline-offset: 6px; }
body.vv-site .nav-links a.btn-cta {
  background: var(--color-accent) !important; color: var(--color-accent-ink) !important; font-weight: 600; padding: 0 var(--space-sm);
}
body.vv-site .nav-links a.btn-cta:hover { background: var(--color-accent-2) !important; }
@media (min-width: 900px) {
  body.vv-site .mobile-menu-toggle, .vvs-drawer-head, .vvs-scrim { display: none !important; }
  body.vv-site .header nav.vvs-drawer, body.vv-site .header nav {
    position: static; transform: none; visibility: visible; width: auto; background: none; border: 0; padding: 0; overflow: visible;
  }
  body.vv-site .nav-links, body.vv-site .nav-links.mobile-active {
    display: flex !important; flex-direction: row; align-items: center; gap: var(--space-3xs);
    position: static; background: none !important; border: 0; padding: 0 !important;
  }
  body.vv-site .header nav.vvs-drawer { flex: 1; min-width: 0; }
  body.vv-site .nav-links, body.vv-site .nav-links.mobile-active { width: 100%; padding-left: var(--space-lg) !important; }
  /* page links stay together; cart, account and the brass action go to the right end */
  body.vv-site .nav-links li.vvs-li-acct { margin-left: auto; }
  body.vv-site .nav-links li.vvs-li-acct ~ li.vvs-li-acct { margin-left: 0; }
  body.vv-site .nav-links li.vvs-li-cta { margin-left: var(--space-2xs); }
  body.vv-site .nav-links li.vvs-li-acct + li.vvs-li-cta { padding-left: var(--space-2xs); border-left: 1px solid var(--color-rule-soft); }
  body.vv-site .nav-links a.btn-cta { margin-top: 0; }
}
/* drawer (< 900): account links and the action sit under a rule, below the page links */
@media (max-width: 899px) {
  body.vv-site .nav-links li.vvs-li-acct:not(.vvs-li-acct ~ .vvs-li-acct) { margin-top: var(--space-xs); padding-top: var(--space-xs); border-top: 1px solid var(--color-rule-soft); }
}

/* ---------- buttons ---------- */
.vvs-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2xs);
  min-height: var(--touch); padding: 0 var(--space-md); border-radius: var(--radius-input);
  font-family: var(--font-body); font-weight: 600; font-size: var(--text-sm); white-space: nowrap;
  text-decoration: none !important; border: 1px solid transparent; cursor: pointer;
  transition: background-color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.vvs-btn:active { transform: translateY(1px); }
.vvs-btn-primary { background: var(--color-accent); color: var(--color-accent-ink) !important; }
.vvs-btn-primary:hover { background: var(--color-accent-2); }
.vvs-btn-quiet { background: transparent; color: var(--color-ink) !important; border-color: var(--color-rule); }
.vvs-btn-quiet:hover { border-color: var(--color-ink-2); background: var(--color-paper-2); }
.vvs-link { color: var(--color-ink) !important; font-weight: 600; text-decoration: underline; text-decoration-color: var(--color-accent); text-decoration-thickness: 2px; text-underline-offset: 5px; min-height: var(--touch); display: inline-flex; align-items: center; }
.vvs-link:hover { text-decoration-color: var(--color-ink); }

/* ---------- homepage (Nov 21 2026 redo) ----------
 * Rhythm: split hero with the real 95/5 ledger · sticky-head step rail · full-bleed three-column band ·
 * editorial catalog list · hosted + API side by side · one-line close. No zebra sections, no card grid. */
.vvs-wrap { width: min(1180px, 100%); margin: 0 auto; padding: 0 var(--space-sm); }
@media (min-width: 768px) { .vvs-wrap { padding: 0 var(--space-lg); } }

.vvs-eyebrow { margin: 0 0 var(--space-sm); font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-muted); }

/* hero: words left, the ledger right */
.vvs-hero { padding: var(--space-xl) 0 var(--space-2xl); }
.vvs-hero-grid { display: grid; gap: var(--space-xl); grid-template-columns: minmax(0, 1fr); align-items: end; }
@media (min-width: 900px) { .vvs-hero-grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: var(--space-2xl); } .vvs-hero { padding: var(--space-3xl) 0 var(--space-2xl); } }
.vvs-hero h1 { font-size: var(--text-hero); line-height: 1.04; margin: 0 0 var(--space-md); font-weight: 600; letter-spacing: -0.025em; overflow-wrap: break-word; max-width: 14ch; }
.vvs-hero-sub { font-size: var(--text-md); color: var(--color-ink-2); max-width: 48ch; margin: 0 0 var(--space-lg); }
.vvs-actions { display: flex; flex-wrap: wrap; gap: var(--space-xs); align-items: center; }
@media (max-width: 420px) { .vvs-actions .vvs-btn { flex: 1 1 100%; } }

.vvs-ledger { margin: 0; border: 1px solid var(--color-rule); border-radius: var(--radius-card); background: var(--color-paper-2); padding: var(--space-md); position: relative; overflow: hidden; }
.vvs-ledger::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--slats); opacity: 0.22; }
.vvs-ledger-head { display: flex; justify-content: space-between; align-items: center; gap: var(--space-sm); margin: 0 0 var(--space-md); font-size: var(--text-sm); font-weight: 600; color: var(--color-ink); }
.vvs-ledger-head img { height: 18px; width: auto; filter: var(--logo-filter); opacity: 0.7; flex: none; }
.vvs-ledger-bar { display: flex; gap: 3px; height: 14px; margin: 0 0 var(--space-md); }
.vvs-ledger-bar span { flex-basis: 0; border-radius: 3px; }
.vvs-ledger-you, .vvs-dot-you { background: var(--color-ink-2); }
.vvs-ledger-vv, .vvs-dot-vv { background: var(--color-accent); min-width: 10px; }
.vvs-ledger-rows { margin: 0; display: grid; }
.vvs-ledger-rows > div { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-sm); padding: var(--space-xs) 0; border-top: 1px solid var(--color-rule-soft); }
.vvs-ledger-rows dt { display: inline-flex; align-items: center; gap: var(--space-2xs); color: var(--color-ink-2); }
.vvs-ledger-rows dd { margin: 0; font-family: var(--font-mono); font-size: var(--text-lg); color: var(--color-ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.vvs-ledger-rows small { font-size: var(--text-xs); color: var(--color-muted); margin-left: var(--space-3xs); }
.vvs-dot { width: 10px; height: 10px; border-radius: 2px; display: inline-block; flex: none; }
.vvs-ledger-note { margin: var(--space-xs) 0 0; font-size: var(--text-sm); color: var(--color-muted); }

/* sections share one head rhythm */
.vvs-section { padding: var(--space-2xl) 0; border-top: 1px solid var(--color-rule-soft); }
.vvs-head { display: grid; gap: var(--space-2xs); margin-bottom: var(--space-xl); max-width: 62ch; }
.vvs-head h2, .vvs-how-head h2, .vvs-pair h2 { font-size: var(--text-display-s); line-height: 1.08; margin: 0; }
.vvs-head p { margin: 0; color: var(--color-ink-2); font-size: var(--text-md); }
@media (min-width: 900px) {
  .vvs-head-row { max-width: none; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: var(--space-xl); }
}

/* how selling works: heading stays put while the six steps scroll past */
.vvs-how-grid { display: grid; gap: var(--space-xl); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) {
  .vvs-how-grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: var(--space-2xl); align-items: start; }
  .vvs-how-head { position: sticky; top: calc(64px + var(--space-lg)); }
}
.vvs-how-head p { margin: var(--space-sm) 0 var(--space-md); color: var(--color-ink-2); font-size: var(--text-md); max-width: 40ch; }
.vvs-how-head .vvs-how-note { margin: var(--space-sm) 0 0; font-size: var(--text-sm); color: var(--color-muted); }
.vvs-steps { list-style: none; margin: 0; padding: 0; counter-reset: s; position: relative; }
.vvs-steps::before { content: ""; position: absolute; left: 1.15rem; top: 0.6rem; bottom: 0.6rem; width: 1px; background: var(--color-rule); }
.vvs-steps li { counter-increment: s; position: relative; padding: 0 0 var(--space-lg) 3.5rem; }
.vvs-steps li:last-child { padding-bottom: 0; }
.vvs-steps li::before {
  content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: 0;
  width: 2.3rem; height: 2.3rem; display: grid; place-items: center; border-radius: 50%;
  background: var(--color-paper); border: 1px solid var(--color-rule); color: var(--color-accent);
  font-family: var(--font-mono); font-size: var(--text-xs); font-variant-numeric: tabular-nums;
}
.vvs-steps h3 { margin: 0.3rem 0 var(--space-3xs); font-size: var(--text-md); }
.vvs-steps p { margin: 0; color: var(--color-ink-2); max-width: 52ch; }

/* platform: a full-bleed band, three columns of text under one rule */
.vvs-band { background: var(--color-paper-2); border-top: 1px solid var(--color-rule-soft); border-bottom: 1px solid var(--color-rule-soft); padding: var(--space-2xl) 0; }
.vvs-band-title { font-size: var(--text-display-s); line-height: 1.08; margin: 0 0 var(--space-xl); max-width: 18ch; }
.vvs-cols { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); }
@media (min-width: 768px) { .vvs-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-xl); } }
.vvs-cols > div { border-top: 2px solid var(--color-ink); padding-top: var(--space-sm); }
.vvs-cols h3 { margin: 0 0 var(--space-2xs); font-size: var(--text-lg); font-family: var(--font-display) !important; font-weight: 500; }
.vvs-cols p { margin: 0; color: var(--color-ink-2); }
.vvs-band + .vvs-section { border-top: 0; }

/* custom products: an editorial list, image beside words */
.vvs-catalog { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); column-gap: var(--space-xl); border-top: 1px solid var(--color-rule); }
@media (min-width: 1024px) { .vvs-catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.vvs-item { display: grid; grid-template-columns: minmax(0, 7.5rem) minmax(0, 1fr); gap: var(--space-sm); padding: var(--space-md) 0; border-bottom: 1px solid var(--color-rule); }
@media (min-width: 600px) { .vvs-item { grid-template-columns: minmax(0, 11rem) minmax(0, 1fr); gap: var(--space-md); } }
.vvs-item-img { aspect-ratio: 4 / 3; border-radius: var(--radius-input); background: var(--color-paper-3) center / cover no-repeat; border: 1px solid var(--color-rule-soft); }
.vvs-item-body { display: grid; gap: var(--space-3xs); align-content: start; min-width: 0; }
.vvs-item-cat { font-size: var(--text-xs); color: var(--color-muted); font-family: var(--font-mono); }
.vvs-item h3 { margin: 0; font-size: var(--text-md); }
.vvs-item p { margin: 0; color: var(--color-ink-2); font-size: var(--text-sm); }
.vvs-item .vvs-link { font-size: var(--text-sm); justify-self: start; }

/* hosted shops + open API, side by side */
.vvs-pair-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-2xl); }
@media (min-width: 1024px) { .vvs-pair-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-xl); } }
.vvs-pair-grid > div { scroll-margin-top: 5rem; min-width: 0; }
.vvs-pair-lead { margin: var(--space-2xs) 0 var(--space-lg); color: var(--color-ink-2); max-width: 52ch; }
.vvs-spec { margin: 0; border-top: 1px solid var(--color-rule); }
.vvs-spec > div { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-3xs); padding: var(--space-sm) 0; border-bottom: 1px solid var(--color-rule); }
@media (min-width: 600px) { .vvs-spec > div { grid-template-columns: minmax(0, 11rem) minmax(0, 1fr); gap: var(--space-md); } }
.vvs-spec dt { font-weight: 600; }
.vvs-spec dd { margin: 0; color: var(--color-ink-2); }

.vvs-api { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--color-rule); }
.vvs-api li { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); column-gap: var(--space-xs); row-gap: 2px; padding: var(--space-xs) 0; border-bottom: 1px solid var(--color-rule-soft); }
.vvs-api b { grid-row: span 2; color: var(--color-accent); font-weight: 500; font-family: var(--font-mono); font-size: var(--text-xs); padding-top: 0.2rem; }
.vvs-api code { color: var(--color-ink); overflow-wrap: anywhere; font-size: var(--text-sm); }
.vvs-api span { color: var(--color-muted); font-size: var(--text-sm); }
@media (max-width: 420px) { .vvs-api li { grid-template-columns: minmax(0, 1fr); } .vvs-api b { grid-row: auto; padding: 0; } }

/* close: one line and the one action */
.vvs-close { padding: var(--space-2xl) 0; border-top: 1px solid var(--color-rule-soft); }
.vvs-close-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-md); }
.vvs-close h2 { margin: 0; font-size: var(--text-display-s); line-height: 1.1; max-width: 22ch; }
@media (max-width: 420px) { .vvs-close .vvs-btn { flex: 1 1 100%; } }

/* ---------- footer (Ft5 statement) ---------- */
body.vv-site .footer {
  background: var(--color-paper) !important; color: var(--color-ink-2) !important;
  border-top: 1px solid var(--color-rule-soft); padding: var(--space-2xl) 0 var(--space-lg) !important; text-align: left !important;
  position: relative;
}
body.vv-site .footer::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 3px; background: var(--slats); opacity: 0.16; }
body.vv-site .footer .container { width: min(1180px, 100%); margin: 0 auto; padding: 0 var(--space-sm); }
@media (min-width: 768px) { body.vv-site .footer .container { padding: 0 var(--space-lg); } }
.vvs-foot-statement { font-family: var(--font-display); font-size: var(--text-xl); line-height: 1.2; color: var(--color-ink); margin: 0 0 var(--space-lg); max-width: 22ch; font-weight: 500; }
.vvs-foot-links { list-style: none; margin: 0 0 var(--space-lg); padding: 0; display: flex; flex-wrap: wrap; gap: 0 var(--space-md); }
.vvs-foot-links a { display: inline-flex; align-items: center; min-height: var(--touch); color: var(--color-ink-2) !important; text-decoration: none; white-space: nowrap; }
.vvs-foot-links a:hover { color: var(--color-ink) !important; text-decoration: underline; }
.vvs-foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-xs); padding-top: var(--space-sm); border-top: 1px solid var(--color-rule-soft); font-size: var(--text-sm); color: var(--color-muted); }
.vvs-foot-base img { height: 18px; width: auto; filter: var(--logo-filter); opacity: 0.8; }

/* ---------- subpages: whitepaper, marketplace, fulfillment, checkout ---------- */
body.vv-site .container { max-width: 1180px; }
body.vv-site main, body.vv-site section { color: var(--color-ink); }
body.vv-site .hero, body.vv-site .wp-hero, body.vv-site .vv-mp-hero, body.vv-site .vv-checkout-hero,
body.vv-site .products-hero, body.vv-site .hosted, body.vv-site .api-section, body.vv-site .features, body.vv-site .vv-mp-section {
  background: transparent !important; color: var(--color-ink) !important;
}
body.vv-site .hero-bg { display: none !important; }
body.vv-site p, body.vv-site li { color: inherit; }
body.vv-site .vv-mp-lead, body.vv-site .section-title p, body.vv-site .wp-lead, body.vv-site .vv-mp-min-note { color: var(--color-ink-2) !important; }
body.vv-site .vv-mp-card, body.vv-site .wp-card, body.vv-site .module-card, body.vv-site .product-card, body.vv-site .hosted-item,
body.vv-site .api-block, body.vv-site .vv-checkout-card, body.vv-site .vv-mp-cart, body.vv-site .card, body.vv-site .stat-card {
  background: var(--color-paper-2) !important; border: 1px solid var(--color-rule) !important; box-shadow: none !important; color: var(--color-ink) !important;
  border-radius: var(--radius-card) !important;
}
body.vv-site .vv-mp-btn-gold, body.vv-site .btn-primary, body.vv-site .btn-hero-primary, body.vv-site button.vv-mp-btn-gold {
  background: var(--color-accent) !important; color: var(--color-accent-ink) !important; border-color: var(--color-accent) !important; box-shadow: none !important;
  min-height: var(--touch);
}
body.vv-site .vv-mp-btn, body.vv-site .btn { min-height: var(--touch); border-radius: var(--radius-input) !important; font-family: var(--font-body) !important; }
body.vv-site input:not([type="checkbox"]):not([type="radio"]), body.vv-site select, body.vv-site textarea {
  background: var(--color-paper) !important; color: var(--color-ink) !important; border: 1px solid var(--color-rule) !important;
  border-radius: var(--radius-input) !important; min-height: var(--touch); font-family: var(--font-body) !important;
}
body.vv-site table th { color: var(--color-ink) !important; background: transparent !important; }
body.vv-site table td { color: var(--color-ink-2) !important; border-color: var(--color-rule) !important; }
body.vv-site .fade-in { opacity: 1 !important; transform: none !important; }

/* ---------- sign-in pages (login, signup) ---------- */
body.vv-site.vv-auth { display: block; min-height: 100vh; }
body.vv-site .vv-auth-shell { min-height: 100vh; display: grid; place-items: center; padding: var(--space-lg) var(--space-sm); background: none !important; }
body.vv-site .vv-auth-card {
  width: min(420px, 100%); background: var(--color-paper-2) !important; border: 1px solid var(--color-rule) !important;
  border-radius: 16px !important; box-shadow: none !important; padding: var(--space-lg) var(--space-md) !important; color: var(--color-ink) !important;
}
body.vv-site .vv-auth-card::before, body.vv-site .vv-auth-card::after { display: none !important; }
body.vv-site .vv-auth-brand { display: flex !important; justify-content: center; margin-bottom: var(--space-md); text-decoration: none; }
body.vv-site .vv-auth-logo-frame, body.vv-site .vv-auth-brand-name { display: none !important; }
body.vv-site .vv-auth-title { font-size: var(--text-xl) !important; text-align: center; margin: 0 0 var(--space-3xs) !important; color: var(--color-ink) !important; }
body.vv-site .vv-auth-sub { text-align: center; color: var(--color-ink-2) !important; margin: 0 0 var(--space-md) !important; }
body.vv-site .vv-field label { color: var(--color-ink) !important; font-weight: 500; font-size: var(--text-sm); }
body.vv-site .vv-btn-primary { background: var(--color-accent) !important; color: var(--color-accent-ink) !important; min-height: var(--touch); border: 0 !important; box-shadow: none !important; border-radius: var(--radius-input) !important; font-weight: 600; }
body.vv-site .vv-btn-google { background: transparent !important; color: var(--color-ink) !important; border: 1px solid var(--color-rule) !important; min-height: var(--touch); border-radius: var(--radius-input) !important; box-shadow: none !important; }
body.vv-site .vv-auth-error { background: var(--color-danger-wash) !important; border: 1px solid var(--color-danger) !important; color: var(--color-ink) !important; }
body.vv-site .vv-auth-switch, body.vv-site .vv-legal { color: var(--color-ink-2) !important; text-align: center; }
body.vv-site .vv-auth-switch a { display: inline-flex; align-items: center; min-height: var(--touch); }
body.vv-site .vv-divider span { background: var(--color-paper-2) !important; color: var(--color-muted) !important; }
body.vv-site .vv-divider::before { background: var(--color-rule) !important; }

@media (prefers-reduced-motion: reduce) {
  .vvs-btn, .vvs-burger, .vvs-burger::before, .vvs-burger::after { transition: none; }
}
body.vv-site.vv-auth { background-image: none !important; }
body.vv-site.vv-auth::before, body.vv-site.vv-auth::after { display: none !important; }
body.vv-site .vv-field label { text-transform: none !important; letter-spacing: 0 !important; }

/* Manufacturing page: category menu beside the product list (stacked on phones). */
img.vvs-item-img { width: 100%; height: auto; object-fit: cover; display: block; }
.vvs-mfg-hero h1 { margin: var(--space-3xs) 0 var(--space-sm); }
.vvs-mfg-hero .vvs-hero-sub { max-width: 62ch; }
.vvs-mfg-grid { display: grid; gap: var(--space-lg); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .vvs-mfg-grid { grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: var(--space-xl); align-items: start; } .vvs-mfg-menu { position: sticky; top: 5.5rem; } }
.vvs-mfg-menu-title { font-size: var(--text-sm); font-family: var(--font-mono); color: var(--color-muted); margin: 0 0 var(--space-2xs); text-transform: uppercase; letter-spacing: .04em; }
.vvs-mfg-menu ul { list-style: none; margin: 0 0 var(--space-md); padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-3xs); }
@media (min-width: 900px) { .vvs-mfg-menu ul { flex-direction: column; flex-wrap: nowrap; } }
.vvs-mfg-menu a:not(.vvs-btn) { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2xs); min-height: 44px; padding: 0 var(--space-sm); border: 1px solid var(--color-rule); border-radius: var(--radius-input); color: var(--color-ink); text-decoration: none; font-size: var(--text-sm); }
.vvs-mfg-menu a:not(.vvs-btn):hover, .vvs-mfg-menu a:not(.vvs-btn):focus-visible { border-color: var(--color-ink); }
.vvs-mfg-menu a span { font-family: var(--font-mono); color: var(--color-muted); font-size: var(--text-xs); }
.vvs-mfg-menu .vvs-btn { width: 100%; justify-content: center; }
.vvs-mfg-cat { scroll-margin-top: 5.5rem; margin-bottom: var(--space-xl); }
.vvs-mfg-cat h2 { margin: 0 0 var(--space-xs); font-size: var(--text-lg); }
@media (prefers-reduced-motion: no-preference) { html:has(body.vv-mfg) { scroll-behavior: smooth; } }
.vvs-mfg-teaser { display: flex; flex-wrap: wrap; gap: var(--space-sm) var(--space-lg); align-items: center; justify-content: space-between; }
.vvs-mfg-teaser p { margin: 0; max-width: 60ch; color: var(--color-ink-2); }
.vvs-mfg-list .vvs-catalog { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1280px) { .vvs-mfg-list .vvs-catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
