/* Veoteq — dark UI aligned with STR Deal Analyzer palette */
:root {
  /* STR palette (shared with str-deal-analyzer.css) */
  --str-bg: #0a0a0a;
  --str-card: rgba(255, 255, 255, 0.05);
  --str-border: rgba(255, 255, 255, 0.1);
  --str-muted: #a3a3a3;
  --str-body: #d4d4d4;
  --str-emerald: #10b981;
  --str-emerald-light: #34d399;
  --str-emerald-soft: #6ee7b7;
  --str-amber: #fcd34d;
  --str-red: #f87171;
  --str-max: 80rem;

  --vq-bg: var(--str-bg);
  --vq-bg-elevated: #141414;
  --vq-bg-muted: #0f0f0f;
  --vq-text: #f5f5f7;
  --vq-text-secondary: var(--str-muted);
  --vq-link: var(--str-emerald-light);
  --vq-link-hover: var(--str-emerald-soft);
  --vq-blue: var(--str-emerald);
  --vq-blue-hover: var(--str-emerald-light);
  --vq-border: var(--str-border);
  --vq-orange: var(--str-emerald-soft);
  --vq-radius-sm: 12px;
  --vq-radius-md: 18px;
  --vq-radius-pill: 980px;
  --vq-font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display",
    "Helvetica Neue", Helvetica, Arial, sans-serif;
  --vq-max: 1068px;
  --vq-header-h: 48px;
}

/* Light theme — light gray surfaces, same emerald accents */
html[data-theme="light"] {
  --str-bg: #e4e4e8;
  --str-card: rgba(0, 0, 0, 0.04);
  --str-border: rgba(0, 0, 0, 0.1);
  --str-muted: #6e6e73;
  --str-body: #424245;
  --str-emerald: #10b981;
  --str-emerald-light: #059669;
  --str-emerald-soft: #047857;
  --vq-bg: #e4e4e8;
  --vq-bg-elevated: #f5f5f7;
  --vq-bg-muted: #dcdce2;
  --vq-text: #1d1d1f;
  --vq-text-secondary: #6e6e73;
  --vq-link: #059669;
  --vq-link-hover: #047857;
  --vq-blue: #10b981;
  --vq-blue-hover: #059669;
  --vq-border: rgba(0, 0, 0, 0.1);
  --vq-orange: #059669;
}

html[data-theme="light"] .vq-header {
  background: rgba(255, 255, 255, 0.78);
  border-bottom-color: var(--vq-border);
}

html[data-theme="light"] .vq-header.vq-header--solid {
  background: rgba(255, 255, 255, 0.94);
}

html[data-theme="light"] .vq-nav-dropdown-panel {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

html[data-theme="light"] .vq-nav-dropdown-panel a {
  color: #1d1d1f;
}

html[data-theme="light"] .vq-nav-dropdown-panel a:hover {
  background: rgba(16, 185, 129, 0.12);
  color: #000;
}

@media (max-width: 833px) {
  html[data-theme="light"] .vq-nav-links {
    background: rgba(255, 255, 255, 0.97);
  }

  html[data-theme="light"] .vq-nav-dropdown-panel {
    background: rgba(0, 0, 0, 0.04);
  }
}

html[data-theme="light"] .vq-quote {
  background: #fff;
  border-color: var(--vq-border);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

html[data-theme="light"] .vq-field {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.15);
}

html[data-theme="light"] .vq-media-round {
  border-color: rgba(0, 0, 0, 0.08);
}

html[data-theme="light"] .vq-hero-marquee__overlay {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.35) 0%,
    rgba(0, 0, 0, 0.12) 45%,
    rgba(0, 0, 0, 0.4) 100%
  );
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  font-family: var(--vq-font);
  font-size: 17px;
  line-height: 1.47059;
  font-weight: 400;
  letter-spacing: -0.022em;
  color: var(--vq-text);
  background: var(--vq-bg);
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

a {
  color: var(--vq-link);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.vq-skip {
  position: absolute;
  left: -9999px;
  top: 12px;
  z-index: 10000;
  padding: 0.5rem 1rem;
  background: var(--str-emerald);
  color: var(--str-bg);
  border-radius: var(--vq-radius-sm);
}

.vq-skip:focus {
  left: 12px;
}

/* —— Header —— */
.vq-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  height: var(--vq-header-h);
  background: rgba(10, 10, 10, 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--vq-border);
}

.vq-header.vq-header--solid {
  background: rgba(10, 10, 10, 0.92);
}

.vq-nav-inner {
  max-width: var(--vq-max);
  margin: 0 auto;
  padding: 0 22px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.vq-nav-cluster {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: auto;
}

.vq-theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--vq-text);
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s ease;
}

.vq-theme-toggle:hover {
  background: rgba(255, 255, 255, 0.14);
}

html[data-theme="light"] .vq-theme-toggle {
  background: rgba(0, 0, 0, 0.06);
}

html[data-theme="light"] .vq-theme-toggle:hover {
  background: rgba(0, 0, 0, 0.1);
}

.vq-theme-toggle__icon {
  display: none;
  line-height: 0;
}

html:not([data-theme="light"]) .vq-theme-toggle__icon--sun {
  display: block;
}

html[data-theme="light"] .vq-theme-toggle__icon--moon {
  display: block;
}

.vq-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--vq-text);
  text-decoration: none;
  font-weight: 600;
  font-size: 21px;
  letter-spacing: -0.03em;
}

.vq-logo:hover {
  text-decoration: none;
  opacity: 0.8;
}

.vq-nav-toggle {
  display: none;
  border: none;
  background: transparent;
  padding: 8px;
  cursor: pointer;
  color: var(--vq-text);
}

.vq-nav-toggle svg {
  width: 22px;
  height: 22px;
}

.vq-nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.vq-nav-links a {
  font-size: 12px;
  font-weight: 400;
  color: var(--vq-text);
  opacity: 0.88;
  text-decoration: none;
  white-space: nowrap;
}

.vq-nav-links a:hover {
  text-decoration: none;
  opacity: 1;
}

/* Products dropdown */
.vq-nav-dropdown {
  position: relative;
}

.vq-nav-dropdown-btn {
  background: none;
  border: none;
  margin: 0;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 12px;
  font-weight: 400;
  color: var(--vq-text);
  opacity: 0.88;
  white-space: nowrap;
}

.vq-nav-dropdown-btn:hover {
  opacity: 1;
}

.vq-nav-dropdown-panel {
  list-style: none;
  margin: 0;
  padding: 0.35rem 0;
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0.5rem;
  min-width: 240px;
  background: rgba(23, 23, 23, 0.98);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  pointer-events: none;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s;
  z-index: 10001;
}

/* Bridge + panel offset (must follow base .vq-nav-dropdown-panel so these win on desktop) */
@media (min-width: 834px) {
  .vq-nav-dropdown::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    top: 100%;
    height: 12px;
    z-index: 10000;
  }

  .vq-nav-dropdown-panel {
    margin-top: 0;
    top: calc(100% + 12px);
  }
}

.vq-nav-dropdown-panel a {
  display: block;
  padding: 0.55rem 1rem;
  font-size: 13px;
  font-weight: 400;
  color: var(--vq-text);
  opacity: 1;
  text-decoration: none;
  white-space: nowrap;
}

.vq-nav-dropdown-panel a:hover {
  background: rgba(16, 185, 129, 0.12);
  color: #fff;
  opacity: 1;
}

/* Desktop: open on hover (real hover devices only — avoids stuck “hover” on touch),
   or when toggled open via click/keyboard (.vq-nav-dropdown--open). No :focus-within:
   it can keep the panel open on load when focus is inside the header. */
@media (min-width: 834px) {
  .vq-nav-dropdown--open .vq-nav-dropdown-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }
}

@media (min-width: 834px) and (hover: hover) {
  .vq-nav-dropdown:hover .vq-nav-dropdown-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }
}

@media (max-width: 833px) {
  .vq-nav-toggle {
    display: block;
  }

  .vq-nav-links {
    position: fixed;
    top: var(--vq-header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 0 1rem;
    background: rgba(10, 10, 10, 0.96);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--vq-border);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: max-height 0.35s ease, opacity 0.25s ease;
  }

  .vq-nav-links.vq-nav-links--open {
    max-height: min(90vh, 520px);
    opacity: 1;
    pointer-events: auto;
    overflow-y: auto;
  }

  .vq-nav-links > a {
    display: block;
    padding: 12px 22px;
    font-size: 17px;
    border-bottom: 1px solid var(--vq-border);
  }

  .vq-nav-dropdown {
    border-bottom: 1px solid var(--vq-border);
  }

  .vq-nav-dropdown-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 22px;
    font-size: 17px;
    text-align: left;
    opacity: 1;
  }

  .vq-nav-dropdown-btn::after {
    content: "";
    width: 0.5rem;
    height: 0.5rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    margin-top: -0.25rem;
    opacity: 0.6;
    transition: transform 0.2s ease;
  }

  .vq-nav-dropdown--open .vq-nav-dropdown-btn::after {
    transform: rotate(-135deg);
    margin-top: 0.15rem;
  }

  .vq-nav-dropdown-panel {
    position: static;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    margin-top: 0;
    min-width: 0;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.04);
    padding: 0 0 0.5rem;
  }

  .vq-nav-dropdown--open .vq-nav-dropdown-panel {
    display: block;
  }

  .vq-nav-dropdown-panel a {
    padding: 10px 22px 10px 2.25rem;
    font-size: 15px;
    border-bottom: none;
  }
}

/* —— Home: cinematic carousel (Apple-style) —— */
.vq-hero-marquee {
  position: relative;
  margin-top: calc(-1 * var(--vq-header-h));
  padding-top: var(--vq-header-h);
  min-height: min(72vh, 820px);
  overflow: hidden;
  background: var(--vq-bg);
}

.vq-hero-marquee__track {
  position: absolute;
  inset: 0;
}

.vq-hero-marquee__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.vq-hero-marquee__slide.is-active {
  opacity: 1;
  z-index: 1;
}

.vq-hero-marquee__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.5) 0%,
    rgba(0, 0, 0, 0.12) 42%,
    rgba(0, 0, 0, 0.55) 100%
  );
}

.vq-hero-marquee__content {
  position: relative;
  z-index: 3;
  max-width: var(--vq-max);
  margin: 0 auto;
  padding: 0 22px;
  min-height: min(72vh, 820px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 3rem;
  padding-top: 2rem;
}

@media (min-width: 734px) {
  .vq-hero-marquee__content {
    padding-bottom: 4rem;
    justify-content: center;
    padding-top: 4rem;
  }
}

.vq-hero-marquee__eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--str-emerald-soft);
  margin: 0 0 0.75rem;
}

.vq-hero-marquee__tagline {
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #fff;
  margin: 0;
  max-width: 28rem;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.vq-hero-marquee__dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.vq-hero-marquee__dot {
  width: 0.5rem;
  height: 0.5rem;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.vq-hero-marquee__dot:hover {
  background: rgba(255, 255, 255, 0.55);
}

.vq-hero-marquee__dot.is-active {
  background: var(--str-emerald);
  transform: scale(1.15);
}

.vq-hero-marquee__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 2.75rem;
  height: 2.75rem;
  border: none;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.vq-hero-marquee__arrow:hover {
  background: rgba(0, 0, 0, 0.5);
}

.vq-hero-marquee__arrow--prev {
  left: 1rem;
}

.vq-hero-marquee__arrow--next {
  right: 1rem;
}

@media (max-width: 733px) {
  .vq-hero-marquee__arrow {
    display: none;
  }
}

/* —— Layout —— */
.vq-main {
  padding-top: var(--vq-header-h);
}

.vq-section {
  padding: 80px 22px;
}

@media (min-width: 734px) {
  .vq-section {
    padding: 100px 22px;
  }
}

.vq-section--muted {
  background: rgba(255, 255, 255, 0.03);
}

.vq-section--dark {
  background: #000;
  color: var(--vq-text);
}

.vq-section--dark .vq-eyebrow,
.vq-section--dark .vq-headline,
.vq-section--dark .vq-subhead {
  color: var(--vq-text);
}

.vq-section--dark .vq-subhead-secondary {
  color: var(--vq-text-secondary);
}

.vq-container {
  max-width: var(--vq-max);
  margin: 0 auto;
}

.vq-container--narrow {
  max-width: 692px;
}

.vq-eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--vq-orange);
  margin-bottom: 0.5rem;
}

.vq-headline {
  font-size: 48px;
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 0 0 0.35em;
}

@media (min-width: 734px) {
  .vq-headline {
    font-size: 64px;
  }
}

@media (min-width: 1069px) {
  .vq-headline {
    font-size: 80px;
  }
}

.vq-headline--medium {
  font-size: 40px;
  line-height: 1.1;
}

@media (min-width: 734px) {
  .vq-headline--medium {
    font-size: 48px;
  }
}

.vq-subhead {
  font-size: 21px;
  line-height: 1.381;
  font-weight: 400;
  color: var(--vq-text-secondary);
  max-width: 692px;
  margin: 0 auto 1.5rem;
}

.vq-subhead-secondary {
  font-size: 17px;
  line-height: 1.47059;
  color: var(--vq-text-secondary);
  max-width: 640px;
}

.vq-hero {
  text-align: center;
  padding-top: 48px;
  padding-bottom: 60px;
}

.vq-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;
}

/* —— Buttons —— */
.vq-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  padding: 12px 22px;
  font-family: var(--vq-font);
  font-size: 17px;
  line-height: 1.17647;
  font-weight: 400;
  letter-spacing: -0.022em;
  border-radius: var(--vq-radius-pill);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease;
}

.vq-btn:hover {
  text-decoration: none;
}

.vq-btn--primary {
  background: var(--str-emerald);
  color: var(--str-bg);
}

.vq-btn--primary:hover {
  background: var(--str-emerald-light);
  color: var(--str-bg);
}

.vq-btn--secondary {
  background: transparent;
  color: var(--str-emerald-soft);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.vq-btn--secondary:hover {
  background: rgba(16, 185, 129, 0.12);
  color: #fff;
}

.vq-btn--dark {
  background: rgba(255, 255, 255, 0.1);
  color: var(--vq-text);
}

.vq-btn--dark:hover {
  background: rgba(255, 255, 255, 0.16);
}

.vq-link-inline {
  font-size: 19px;
  color: var(--vq-link);
}

.vq-link-inline:hover {
  text-decoration: underline;
}

/* —— Grids —— */
.vq-grid-2 {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 834px) {
  .vq-grid-2 {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.vq-grid-3 {
  display: grid;
  gap: 2rem;
}

@media (min-width: 734px) {
  .vq-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.vq-tile {
  padding: 2rem 0 0;
  border-top: 1px solid var(--vq-border);
}

.vq-tile h3 {
  font-size: 24px;
  line-height: 1.16667;
  font-weight: 600;
  letter-spacing: 0.009em;
  margin: 0.75rem 0 0.75rem;
}

.vq-tile p {
  margin: 0;
  color: var(--vq-text-secondary);
  font-size: 17px;
}

.vq-index {
  font-size: 14px;
  color: var(--vq-text-secondary);
  font-weight: 600;
}

/* —— Media / product shots —— */
.vq-media-round {
  border-radius: var(--vq-radius-md);
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.vq-media-phone {
  max-width: 280px;
  margin: 0 auto;
  border-radius: 36px;
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.5);
}

/* —— Stats —— */
.vq-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  text-align: center;
}

@media (min-width: 734px) {
  .vq-stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

.vq-stat-value {
  font-size: 48px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 0.25rem;
}

.vq-stat-label {
  font-size: 14px;
  color: var(--vq-text-secondary);
}

/* —— Quotes / testimonials —— */
.vq-quote-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 734px) {
  .vq-quote-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.vq-quote {
  background: var(--str-card);
  border-radius: var(--vq-radius-md);
  padding: 1.75rem;
  border: 1px solid var(--vq-border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.vq-quote p {
  margin: 0 0 1rem;
  font-size: 17px;
  line-height: 1.47059;
}

.vq-quote cite {
  font-style: normal;
  font-size: 14px;
  color: var(--vq-text-secondary);
}

/* —— Principles —— */
.vq-principles {
  display: grid;
  gap: 2rem;
}

@media (min-width: 734px) {
  .vq-principles {
    grid-template-columns: repeat(3, 1fr);
  }
}

.vq-principle h3 {
  font-size: 19px;
  font-weight: 600;
  margin: 0 0 0.5rem;
}

.vq-principle p {
  margin: 0;
  font-size: 14px;
  line-height: 1.42857;
  color: var(--vq-text-secondary);
}

/* —— Forms —— */
.vq-form {
  max-width: 480px;
  margin: 0 auto;
}

.vq-field {
  width: 100%;
  margin-bottom: 1rem;
  padding: 14px 16px;
  font-family: var(--vq-font);
  font-size: 17px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--vq-radius-sm);
  background: rgba(0, 0, 0, 0.35);
  color: var(--vq-text);
}

.vq-field:focus {
  outline: none;
  border-color: var(--str-emerald);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
}

textarea.vq-field {
  min-height: 140px;
  resize: vertical;
}

.vq-alert {
  margin-top: 1rem;
  padding: 12px 16px;
  border-radius: var(--vq-radius-sm);
  font-size: 14px;
}

.vq-alert--ok {
  background: rgba(16, 185, 129, 0.15);
  color: var(--str-emerald-soft);
}

.vq-alert--err {
  background: rgba(248, 113, 113, 0.12);
  color: #fca5a5;
}

/* —— Newsletter —— */
.vq-newsletter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  max-width: 520px;
  margin: 0 auto;
  justify-content: center;
}

.vq-newsletter .vq-field {
  flex: 1 1 220px;
  margin-bottom: 0;
}

/* —— Footer —— */
.vq-footer {
  background: var(--vq-bg-muted);
  padding: 40px 22px 24px;
  font-size: 12px;
  line-height: 1.33337;
  color: var(--vq-text-secondary);
  border-top: 1px solid var(--vq-border);
}

.vq-footer-grid {
  max-width: var(--vq-max);
  margin: 0 auto;
  display: grid;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--vq-border);
}

@media (min-width: 734px) {
  .vq-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1069px) {
  .vq-footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.vq-footer h3 {
  font-size: 12px;
  font-weight: 600;
  color: #e5e5e5;
  margin: 0 0 0.75rem;
}

.vq-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.vq-footer li {
  margin-bottom: 0.5rem;
}

.vq-footer a {
  color: var(--vq-text-secondary);
}

.vq-footer a:hover {
  color: var(--vq-text);
}

.vq-footer address {
  font-style: normal;
}

.vq-footer-legal {
  max-width: var(--vq-max);
  margin: 0 auto;
  padding-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  justify-content: space-between;
}

/* —— Legal / prose —— */
.vq-prose h2 {
  font-size: 28px;
  font-weight: 600;
  margin: 2rem 0 1rem;
  letter-spacing: 0.007em;
}

.vq-prose h2:first-child {
  margin-top: 0;
}

.vq-prose p,
.vq-prose li {
  font-size: 17px;
  line-height: 1.47059;
  color: var(--vq-text);
}

.vq-prose ul {
  padding-left: 1.25rem;
}

.vq-prose li {
  margin-bottom: 0.5rem;
}

/* —— Page hero (inner pages) —— */
.vq-page-hero {
  padding: 56px 22px 32px;
  text-align: left;
}

.vq-page-hero h1 {
  font-size: 40px;
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 0 0 0.5rem;
}

@media (min-width: 734px) {
  .vq-page-hero h1 {
    font-size: 56px;
  }
}

.vq-meta {
  font-size: 14px;
  color: var(--vq-text-secondary);
}

.vq-divider {
  height: 1px;
  background: var(--vq-border);
  margin: 2.5rem 0;
  border: none;
}

/* —— 404 —— */
.vq-404 {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.vq-404 h1 {
  font-size: 72px;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 0 0 0.5rem;
}

/* —— Job listing anchors —— */
.vq-subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-top: 1rem;
  padding: 0;
  list-style: none;
}

.vq-subnav a {
  font-size: 14px;
  color: var(--vq-text-secondary);
}

.vq-subnav a:hover {
  color: var(--vq-link);
}

/* —— Utility —— */
.vq-text-center {
  text-align: center;
}

.vq-mt-0 {
  margin-top: 0;
}

.vq-mb-2 {
  margin-bottom: 2rem;
}

/* —— Motion (respects prefers-reduced-motion) —— */
@media (prefers-reduced-motion: no-preference) {
  .vq-header {
    animation: vq-header-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  @keyframes vq-header-in {
    from {
      opacity: 0;
      transform: translateY(-8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .vq-animate-item {
    opacity: 0;
    transform: translate3d(0, 22px, 0);
    transition:
      opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--vq-delay, 0ms);
    will-change: opacity, transform;
  }

  .vq-reveal--active .vq-animate-item,
  .vq-reveal--active.vq-animate-item {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    will-change: auto;
  }

  .vq-btn {
    transition:
      background 0.2s ease,
      transform 0.2s cubic-bezier(0.22, 1, 0.36, 1),
      box-shadow 0.25s ease;
  }

  .vq-btn:active {
    transform: scale(0.98);
  }

  .vq-nav-links a {
    transition: color 0.2s ease, opacity 0.2s ease;
  }

  .vq-footer a {
    transition: color 0.2s ease;
  }

  .vq-link-inline {
    transition: color 0.2s ease;
  }

  .vq-media-round,
  .vq-media-phone {
    transition:
      transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
      box-shadow 0.5s ease;
  }

  .vq-media-round:hover,
  .vq-media-phone:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 28px 56px rgba(0, 0, 0, 0.5);
  }

  .vq-quote {
    transition: box-shadow 0.35s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .vq-quote:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  }
}

@media (prefers-reduced-motion: reduce) {
  .vq-header {
    animation: none !important;
  }

  .vq-animate-item {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
