/* === HOME styles === */

/* HERO */
.vn-hero {
  position: relative;
  padding: 80px 0 0;
  overflow: hidden;
  background: linear-gradient(180deg, #FFFFFF 0%, #FAFAFA 100%);
}
.vn-hero-bg {
  position: absolute; inset: 0;
  pointer-events: none;
}
.vn-hero-grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(17,17,17,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(17,17,17,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at top right, black, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at top right, black, transparent 70%);
}
.vn-hero-inner { position: relative; z-index: 2; }

.vn-hero-meta { margin-bottom: 28px; }

.vn-hero-title {
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.04;
  max-width: 1100px;
  margin: 0 0 28px;
}
.vn-hero-title em {
  font-style: normal;
  color: var(--vn-orange);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.vn-hero-sub {
  max-width: 720px;
  font-size: 19px;
  line-height: 1.55;
  color: var(--vn-text-muted);
  margin-bottom: 36px;
}
.vn-hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 80px;
}

.vn-hero-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--vn-border);
  padding-top: 32px;
  margin-bottom: 56px;
}
.vn-hero-strip-item {
  border-right: 1px solid var(--vn-border);
  padding-right: 24px;
}
.vn-hero-strip-item:last-child { border-right: none; }
.vn-hero-strip-num {
  font-family: var(--vn-font-display);
  font-size: 56px;
  font-weight: 600;
  line-height: 1;
  color: var(--vn-ink);
  letter-spacing: -0.04em;
}
.vn-hero-strip-num small {
  font-size: 28px;
  color: var(--vn-orange);
  margin-left: 2px;
  font-weight: 500;
}
.vn-hero-strip-label {
  font-size: 13px;
  color: var(--vn-text-muted);
  margin-top: 10px;
  max-width: 220px;
}

/* Hero video */
.vn-hero-video {
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 7;
  margin-top: 16px;
}
.vn-hero-video-frame {
  width: 100%; height: 100%;
}
.vn-hero-video-tag {
  font-family: var(--vn-font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--vn-orange);
  text-align: center;
  margin-bottom: 6px;
}
.vn-hero-video-cap {
  font-family: var(--vn-font-mono);
  font-size: 11px;
  color: var(--vn-text-subtle);
  text-align: center;
  text-transform: lowercase;
  letter-spacing: 0.04em;
  max-width: 480px;
}
.vn-hero-video-play {
  position: absolute;
  bottom: 24px;
  left: 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: rgba(17,17,17,0.86);
  color: white;
  border-radius: var(--vn-r-pill);
  font-size: 12px;
  font-family: var(--vn-font-mono);
  letter-spacing: 0.04em;
}
.vn-hero-video-play:hover { background: var(--vn-orange); }

/* MARKETPLACE LOGOS */
.vn-mp-strip {
  border-top: 1px solid var(--vn-border);
  border-bottom: 1px solid var(--vn-border);
  padding: 40px 0;
  background: var(--vn-bg-alt);
}
.vn-mp-strip-label {
  font-family: var(--vn-font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--vn-text-subtle);
  margin-bottom: 24px;
}
.vn-mp-strip-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}
.vn-mp-card {
  background: white;
  border: 1px solid var(--vn-border);
  border-radius: var(--vn-r-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: all 0.2s var(--vn-ease);
}
.vn-mp-card:hover {
  border-color: var(--vn-ink);
  transform: translateY(-2px);
}
.vn-mp-card-logo {
  height: 40px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--vn-ink);
}
.vn-mp-amzn-text {
  font-family: var(--vn-font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.04em;
  position: relative;
}
.vn-mp-amzn-smile {
  position: absolute;
  margin-left: -88px;
  margin-top: 28px;
}
.vn-mp-spark {
  color: #FFC220;
  font-size: 22px;
}
.vn-mp-walmart-text {
  font-family: var(--vn-font-display);
  font-weight: 700;
  font-size: 20px;
  color: #0071CE;
  letter-spacing: -0.02em;
}
.vn-mp-carrot {
  width: 14px; height: 14px; background: #F36D00;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  display: inline-block;
}
.vn-mp-instacart-text {
  font-family: var(--vn-font-display);
  font-weight: 700;
  font-size: 18px;
  color: #003D29;
}
.vn-mp-meli-text {
  font-family: var(--vn-font-display);
  font-weight: 700;
  font-size: 18px;
  color: #FFE600;
  background: #2D3277;
  padding: 6px 12px;
  border-radius: 4px;
  letter-spacing: -0.01em;
}
.vn-mp-tt-text {
  font-family: var(--vn-font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--vn-ink);
  letter-spacing: -0.04em;
}
.vn-mp-tt-shop {
  font-family: var(--vn-font-mono);
  font-size: 11px;
  background: var(--vn-ink);
  color: white;
  padding: 3px 8px;
  border-radius: 3px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.vn-mp-card-meta {
  font-family: var(--vn-font-mono);
  font-size: 11px;
  color: var(--vn-text-subtle);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* POSITION */
.vn-position-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.vn-position-title {
  font-size: clamp(28px, 3.6vw, 48px);
  margin-top: 18px;
  letter-spacing: -0.025em;
}
.vn-position-lead {
  font-size: 22px;
  color: var(--vn-ink);
  font-family: var(--vn-font-display);
  line-height: 1.4;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}
.vn-position-body {
  font-size: 16px;
  color: var(--vn-text-muted);
  line-height: 1.7;
  margin-bottom: 28px;
}
.vn-position-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.vn-pill {
  padding: 8px 16px;
  border: 1px solid var(--vn-border-strong);
  border-radius: var(--vn-r-pill);
  font-size: 13px;
  color: var(--vn-text);
  font-family: var(--vn-font-mono);
  letter-spacing: 0.02em;
}

/* SERVICES */
.vn-services { background: var(--vn-bg-alt); }
.vn-services-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: end;
  margin-bottom: 56px;
}
.vn-services-title {
  font-size: clamp(32px, 4.2vw, 56px);
}
.vn-services-sub {
  font-size: 17px;
  color: var(--vn-text-muted);
  line-height: 1.6;
  max-width: 480px;
}
.vn-services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-left: 1px solid var(--vn-border);
  border-top: 1px solid var(--vn-border);
}
.vn-service-card {
  position: relative;
  background: white;
  border-right: 1px solid var(--vn-border);
  border-bottom: 1px solid var(--vn-border);
  padding: 32px 28px 64px;
  display: flex;
  flex-direction: column;
  min-height: 240px;
  transition: all 0.25s var(--vn-ease);
  color: inherit;
  text-decoration: none;
}
.vn-service-card:hover {
  background: var(--vn-ink);
  color: white;
}
.vn-service-card:hover h3,
.vn-service-card:hover .vn-service-num,
.vn-service-card:hover p { color: white; }
.vn-service-card:hover .vn-service-arrow {
  background: var(--vn-orange);
  color: white;
  transform: rotate(-45deg);
}
.vn-service-num {
  font-family: var(--vn-font-mono);
  font-size: 12px;
  color: var(--vn-orange);
  letter-spacing: 0.08em;
  margin-bottom: 24px;
  transition: color 0.25s;
}
.vn-service-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  transition: color 0.25s;
}
.vn-service-card p {
  font-size: 14px;
  color: var(--vn-text-muted);
  line-height: 1.55;
  transition: color 0.25s;
}
.vn-service-arrow {
  position: absolute;
  bottom: 24px;
  right: 24px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--vn-bg-card);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  color: var(--vn-ink);
  transition: all 0.25s var(--vn-ease);
}

/* CASE FEATURE */
.vn-case-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.vn-case-image {
  aspect-ratio: 4/5;
  border-radius: var(--vn-r-md);
}
.vn-case-image-meta {
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 13px;
  color: var(--vn-text-muted);
}
.vn-case-image-meta .vn-mono {
  font-family: var(--vn-font-mono);
  font-size: 11px;
  color: var(--vn-text-subtle);
  letter-spacing: 0.04em;
}
.vn-case-title {
  font-size: clamp(32px, 4vw, 52px);
  margin: 16px 0 24px;
  letter-spacing: -0.025em;
}
.vn-case-lead {
  font-size: 17px;
  line-height: 1.65;
  color: var(--vn-text-muted);
  margin-bottom: 40px;
}
.vn-case-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding: 32px 0;
  border-top: 1px solid var(--vn-border);
  border-bottom: 1px solid var(--vn-border);
  margin-bottom: 32px;
}
.vn-case-stat .vn-stat-num { font-size: 56px; }

/* WORLD MAP */
.vn-world { background: var(--vn-dark); color: white; }
.vn-world h2 { color: white; font-size: clamp(32px, 4.2vw, 56px); margin: 16px 0 14px; }
.vn-world p { color: var(--vn-dark-text-muted); max-width: 540px; }
.vn-world-head { margin-bottom: 56px; }
.vn-world-map {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 1;
  background: var(--vn-dark-2);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--vn-r-md);
  overflow: hidden;
}
.vn-world-legend {
  font-family: var(--vn-font-mono);
  font-size: 11px;
  color: var(--vn-dark-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 24px;
  display: flex;
  align-items: center;
}
.vn-legend-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  margin-right: 8px;
}
.vn-pin {
  position: absolute;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--vn-orange);
  transform: translate(-50%, -50%);
  cursor: pointer;
  box-shadow: 0 0 0 4px rgba(217,102,38,0.18);
  transition: all 0.2s var(--vn-ease);
}
.vn-pin.brand { background: white; box-shadow: 0 0 0 4px rgba(255,255,255,0.12); width: 10px; height: 10px;}
.vn-pin:hover { transform: translate(-50%, -50%) scale(1.4); }
.vn-pin-tip {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  background: white;
  color: var(--vn-ink);
  padding: 10px 14px;
  border-radius: var(--vn-r-md);
  font-size: 12px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.18s;
  box-shadow: var(--vn-shadow-md);
}
.vn-pin-tip strong { font-family: var(--vn-font-display); display: block; margin-bottom: 2px; }
.vn-pin-tip small { color: var(--vn-text-subtle); font-family: var(--vn-font-mono); font-size: 10px; letter-spacing: 0.05em; text-transform: uppercase; }
.vn-pin:hover .vn-pin-tip { opacity: 1; }

/* TIMELINE */
.vn-history { background: var(--vn-bg-alt); }
.vn-history-head { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.vn-history-head h2 { font-size: clamp(32px, 4vw, 52px); margin: 16px 0 14px; }
.vn-history-head p { color: var(--vn-text-muted); }
.vn-timeline {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  padding: 24px 0;
}
.vn-timeline-track {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 1px;
  background: var(--vn-border-strong);
  transform: translateX(-50%);
}
.vn-timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-bottom: 48px;
  align-items: center;
}
.vn-timeline-item::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px; height: 14px;
  background: white;
  border: 2px solid var(--vn-orange);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}
.vn-timeline-year {
  font-family: var(--vn-font-display);
  font-size: 56px;
  font-weight: 600;
  color: var(--vn-text-disabled);
  letter-spacing: -0.04em;
  text-align: right;
  padding-right: 56px;
}
.vn-timeline-card {
  background: white;
  border: 1px solid var(--vn-border);
  padding: 28px;
  border-radius: var(--vn-r-md);
  margin-left: 56px;
}
.vn-timeline-card h4 {
  font-size: 18px;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.vn-timeline-card p { color: var(--vn-text-muted); font-size: 14px; line-height: 1.6; }
.vn-timeline-card-current {
  border-color: var(--vn-orange);
  box-shadow: 0 0 0 1px var(--vn-orange);
}

.vn-timeline-right .vn-timeline-year {
  order: 2;
  text-align: left;
  padding-right: 0;
  padding-left: 56px;
}
.vn-timeline-right .vn-timeline-card {
  order: 1;
  margin-left: 0;
  margin-right: 56px;
  text-align: right;
}

/* DASHBOARD PREVIEW */
.vn-dash-preview { background: white; }
.vn-dash-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: center;
}
.vn-dash-copy h2 {
  font-size: clamp(32px, 4vw, 48px);
  margin: 16px 0 20px;
}
.vn-dash-copy p {
  color: var(--vn-text-muted);
  font-size: 17px;
  line-height: 1.65;
  margin-bottom: 32px;
}
.vn-dash-mock-frame {
  background: white;
  border: 1px solid var(--vn-border-strong);
  border-radius: var(--vn-r-md);
  box-shadow: var(--vn-shadow-lg);
  padding: 24px;
  font-family: var(--vn-font-sans);
  position: relative;
}
.vn-dash-mock-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--vn-border);
}
.vn-dash-mock-tabs {
  display: flex;
  gap: 18px;
  font-size: 13px;
}
.vn-dash-mock-tabs span {
  color: var(--vn-text-muted);
  padding-bottom: 4px;
}
.vn-dash-mock-tabs span.active {
  color: var(--vn-ink);
  font-weight: 500;
  border-bottom: 2px solid var(--vn-orange);
}
.vn-dash-mock-time {
  font-size: 12px;
  color: var(--vn-text-subtle);
  font-family: var(--vn-font-mono);
}
.vn-dash-mock-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-bottom: 24px;
}
.vn-dash-mock-kpis > div {
  border-right: 1px solid var(--vn-border);
  padding: 0 18px;
}
.vn-dash-mock-kpis > div:first-child { padding-left: 0; }
.vn-dash-mock-kpis > div:last-child { border-right: none; }
.vn-dash-mock-kpi-label {
  font-size: 11px;
  font-family: var(--vn-font-mono);
  color: var(--vn-text-subtle);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.vn-dash-mock-kpi-num {
  font-family: var(--vn-font-display);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--vn-ink);
}
.vn-dash-mock-kpi-delta {
  font-size: 11px;
  font-family: var(--vn-font-mono);
  margin-top: 4px;
}
.vn-dash-mock-kpi-delta.up { color: var(--vn-success); }
.vn-dash-mock-kpi-delta.down { color: var(--vn-orange); }
.vn-dash-mock-chart { padding-top: 12px; }

/* DIAGNOSTIC */
.vn-diag {
  background: var(--vn-bg-alt);
  position: relative;
}
.vn-diag-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
.vn-diag-copy h2 {
  font-size: clamp(32px, 3.8vw, 48px);
  margin: 16px 0 20px;
}
.vn-diag-copy p {
  color: var(--vn-text-muted);
  font-size: 17px;
  line-height: 1.65;
  margin-bottom: 32px;
}
.vn-diag-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.vn-diag-list li {
  font-size: 15px;
  color: var(--vn-text);
  position: relative;
  padding-left: 28px;
}
.vn-diag-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--vn-orange);
  font-weight: 600;
}
.vn-diag-form {
  background: white;
  border: 1px solid var(--vn-border);
  padding: 40px;
  border-radius: var(--vn-r-md);
  box-shadow: var(--vn-shadow-md);
}
.vn-diag-step-label {
  font-family: var(--vn-font-mono);
  font-size: 11px;
  color: var(--vn-orange);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
}
.vn-diag-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 13px;
  color: var(--vn-text);
  font-weight: 500;
}
.vn-diag-form input,
.vn-diag-form select {
  font-family: var(--vn-font-sans);
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid var(--vn-border-strong);
  border-radius: var(--vn-r-sm);
  background: white;
  color: var(--vn-ink);
  transition: border-color 0.15s;
}
.vn-diag-form input:focus,
.vn-diag-form select:focus {
  outline: none;
  border-color: var(--vn-orange);
}
.vn-diag-checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}
.vn-diag-checks label {
  flex-direction: row;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--vn-border-strong);
  border-radius: var(--vn-r-sm);
  cursor: pointer;
  margin-bottom: 0;
  font-weight: 400;
  font-size: 14px;
  transition: all 0.15s;
}
.vn-diag-checks label:hover { border-color: var(--vn-ink); }
.vn-diag-checks input[type="checkbox"]:checked + label { border-color: var(--vn-orange); }
.vn-diag-buttons {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
}
.vn-diag-success {
  text-align: center;
  padding: 24px 0;
}
.vn-diag-success-mark {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--vn-orange);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 20px;
}
.vn-diag-success h3 { font-size: 24px; margin-bottom: 12px; }
.vn-diag-success p { color: var(--vn-text-muted); }
.vn-diag-success a { color: var(--vn-orange); border-bottom: 1px solid currentColor; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .vn-services-grid { grid-template-columns: repeat(2, 1fr); }
  .vn-mp-strip-row { grid-template-columns: repeat(3, 1fr); }
  .vn-position-grid,
  .vn-case-grid,
  .vn-dash-grid,
  .vn-diag-grid { grid-template-columns: 1fr; gap: 48px; }
  .vn-services-head { grid-template-columns: 1fr; gap: 24px; }
  .vn-hero-strip { grid-template-columns: 1fr 1fr; gap: 24px; }
  .vn-hero-strip-item { border-right: none; }
}
@media (max-width: 640px) {
  .vn-mp-strip-row { grid-template-columns: 1fr 1fr; }
  .vn-services-grid { grid-template-columns: 1fr; }
  .vn-case-stats { grid-template-columns: 1fr; gap: 16px; }
  .vn-timeline-track { left: 16px; }
  .vn-timeline-item,
  .vn-timeline-right { grid-template-columns: 1fr; gap: 12px; }
  .vn-timeline-item::before { left: 16px; }
  .vn-timeline-year,
  .vn-timeline-right .vn-timeline-year { text-align: left; padding: 0 0 0 40px; font-size: 32px; order: 0; }
  .vn-timeline-card,
  .vn-timeline-right .vn-timeline-card { margin: 0 0 0 40px; text-align: left; order: 1; }
  .vn-diag-checks { grid-template-columns: 1fr; }
  .vn-diag-form { padding: 24px; }
}
