/* =====================================================================
   vesc-landing.css  v1.0.9
   ===================================================================== */
.vesc-landing {
  background: var(--o-bg);
  color: var(--o-ink);
  font-family: var(--o-font-body);
  touch-action: manipulation;
  position: relative;
  z-index: 5;
}

.vesc-landing__inner {
  box-sizing: content-box;
  margin: 0 auto;
  padding: 36px 10px 48px;
  max-width: 1180px;
}
@media (min-width: 1300px) { .vesc-landing__inner { max-width: 1280px; } }
@media (min-width: 1400px) { .vesc-landing__inner { max-width: 1380px; } }

.vesc-section__title {
  font-family: var(--o-font-display);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--o-ink);
  margin: 0 0 22px;
}
.vesc-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}
.vesc-section__head .vesc-section__title { margin-bottom: 0; }
.vesc-more {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  flex: none;
  font-size: 12px;
  color: var(--o-ink-3);
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s ease;
}
.vesc-more svg { width: 14px; height: 14px; }
.vesc-more:hover { color: var(--o-accent); } 

.vesc-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  padding: 40px 0 8px;
}
.vesc-hero__title {
  font-family: var(--o-font-display);
  font-size: clamp(30px, 4.4vw, 52px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  color: var(--o-ink);
}
.vesc-hero__sub {
  font-size: 16px;
  line-height: 1.6;
  color: var(--o-ink-2);
  max-width: 46ch;
  margin: 0 0 26px;
}
.vesc-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.vesc-hero__media { min-width: 0; }
.vesc-hero__carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--o-radius);
  overflow: hidden;
  box-shadow: var(--o-shadow);
  background: var(--o-card);
}
.vesc-hero__track {
  display: flex;
  height: 100%;
  transition: transform .5s ease;
}
.vesc-hero__slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
}
.vesc-hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.vesc-hero__dots {
  position: absolute;
  left: 0; right: 0; bottom: 12px;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.vesc-hero__dot {
  width: 9px; height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--o-muted-soft);
  cursor: pointer;
  transition: background-color .2s ease, transform .2s ease;
}
.vesc-hero__dot.is-active { background: var( --o-ink-3); transform: scale(1.25); }
.vesc-hero__dot:focus-visible { outline: 2px solid #757070; outline-offset: 2px; }

@media (prefers-reduced-motion: no-preference) {
  .vesc-hero { animation: vescHeroIn .6s ease; }
}
@keyframes vescHeroIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}

.vesc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--o-radius-sm);
  font-family: var(--o-font-display);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: none;
  transition: background-color .15s ease, transform .12s ease, box-shadow .2s ease, color .2s ease, border-color .2s ease;
}
.vesc-btn--primary {
  height: 48px;
  padding: 0 28px;
  font-weight: 700;
  background: var(--o-accent);
  color: #fff;
  box-shadow: 0 4px 12px rgba(1,103,243,.22);
}
.vesc-btn--primary:hover { background: var(--o-accent-hover); color: #fff; }
.vesc-btn--ghost {
  background: var(--o-card);
  color: var(--o-ink-2);
  border-color: var(--o-line);
}
.vesc-btn--ghost:hover { border-color: var(--o-accent); color: var(--o-accent); }
.vesc-btn:active { transform: scale(.97); }

.vesc-trust {
  padding: 26px 0;
  border-top: 1px solid var(--o-line);
  border-bottom: 1px solid var(--o-line);
  margin-top: 28px;
}
.vesc-trust__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.vesc-trust__grid li { display: flex; align-items: center; gap: 12px; }
.vesc-trust__chip {
  flex: none;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--o-accent-soft);
  color: var(--o-accent);
  display: flex; align-items: center; justify-content: center;
}
.vesc-trust__chip svg { display: block; }
.vesc-trust__grid h3 { font-size: 15px; font-weight: 700; margin: 0 0 2px; color: var(--o-ink); }
.vesc-trust__grid span { font-size: 13px; color: var(--o-ink-2); }

.vesc-lines,
.vesc-products,
.vesc-apps,
.vesc-why,
.vesc-faq { padding: 52px 0; }
.vesc-cta { padding: 52px 0; margin-bottom: 56px; }

.vesc-tier__input {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip: rect(0 0 0 0);
  overflow: hidden;
  white-space: nowrap;
}
.vesc-tier { cursor: pointer; }
.vesc-tier:hover { border-color: var(--o-accent); }
#vesc-tier-1:checked ~ .vesc-lines__grid .vesc-tier[for="vesc-tier-1"],
#vesc-tier-2:checked ~ .vesc-lines__grid .vesc-tier[for="vesc-tier-2"],
#vesc-tier-3:checked ~ .vesc-lines__grid .vesc-tier[for="vesc-tier-3"] {
  border-color: var(--o-accent);
  box-shadow: var(--o-shadow-hover);
}
#vesc-tier-1:focus-visible ~ .vesc-lines__grid .vesc-tier[for="vesc-tier-1"],
#vesc-tier-2:focus-visible ~ .vesc-lines__grid .vesc-tier[for="vesc-tier-2"],
#vesc-tier-3:focus-visible ~ .vesc-lines__grid .vesc-tier[for="vesc-tier-3"] {
  outline: 2px solid var(--o-accent);
  outline-offset: 2px;
}
.vesc-tier__btn { display: none; }
#vesc-tier-1:checked ~ .vesc-lines__grid .vesc-tier[for="vesc-tier-1"] .vesc-tier__btn,
#vesc-tier-2:checked ~ .vesc-lines__grid .vesc-tier[for="vesc-tier-2"] .vesc-tier__btn,
#vesc-tier-3:checked ~ .vesc-lines__grid .vesc-tier[for="vesc-tier-3"] .vesc-tier__btn {
  display: inline-flex;
}
.vesc-lines__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.vesc-tier:nth-child(3) { grid-column: 1 / -1; }
.vesc-tier {
  background: var(--o-card);
  border: 1px solid var(--o-line);
  border-radius: var(--o-radius);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.vesc-tier__range {
  align-self: flex-start;
  font-family: var(--o-font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--o-accent);
  background: var(--o-accent-soft);
  padding: 4px 10px;
  border-radius: var(--o-radius-tag);
}
.vesc-tier__name {
  font-family: var(--o-font-display);
  font-size: 20px;
  font-weight: 700;
  margin: 0;
  color: var(--o-ink);
}
.vesc-tier p { font-size: 14px; line-height: 1.6; color: var(--o-ink-2); margin: 0; }
.vesc-tier ul { margin: 4px 0 0; padding-left: 18px; color: var(--o-ink-2); font-size: 14px; }
.vesc-tier li { margin: 4px 0; }
.vesc-tier__btn { margin-top: 8px; align-self: flex-start; }

.vesc-products .product-card-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.vesc-products__empty { text-align: center; padding: 30px 0; }

.vesc-apps__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 220px;
  gap: 16px;
}
.vesc-app {
  position: relative;
  border-radius: var(--o-radius);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background-color: var(--o-card);
  text-decoration: none;
  color: #fff;
}
.vesc-app--wide { grid-column: span 2; }
.vesc-app::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--vesc-app-bg);
  background-size: cover;
  background-position: center;
  transition: transform .45s ease;
}
.vesc-app::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(13, 17, 23, 0) 25%, rgba(13, 17, 23, .74) 100%);
}
.vesc-app:hover::before { transform: scale(1.05); }
.vesc-app:hover { color: #fff; }
.vesc-app__label {
  position: relative;
  z-index: 2;
  margin: 18px 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--o-font-display);
  font-size: 18px;
  font-weight: 700;
  transition: color .2s ease;
}
.vesc-app__label svg { flex: none; transition: transform .25s ease; }
.vesc-app:hover .vesc-app__label { color: var(--o-accent); }
.vesc-app:hover .vesc-app__label svg { transform: translateX(3px); }

.vesc-why__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.vesc-why__item {
  background: var(--o-card);
  border: 1px solid var(--o-line);
  border-radius: var(--o-radius);
  padding: 22px;
  transition: box-shadow .2s ease;
}
.vesc-why__item:hover { box-shadow: var(--o-shadow-hover); }
.vesc-why__item svg { color: var(--o-accent); margin-bottom: 10px; }
.vesc-why__item h3 {
  font-family: var(--o-font-display);
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--o-ink);
}
.vesc-why__item p { font-size: 13px; line-height: 1.6; color: var(--o-ink-2); margin: 0; }

.vesc-faq__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: none;
}
.vesc-faq__item {
  background: var(--o-card);
  border: 1px solid var(--o-line);
  border-radius: var(--o-radius-sm);
  padding: 4px 18px;
}
.vesc-faq__item summary {
  cursor: pointer;
  padding: 14px 0;
  font-weight: 600;
  color: var(--o-ink);
  font-family: var(--o-font-display);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.vesc-faq__item summary::-webkit-details-marker { display: none; }
.vesc-faq__item summary::after { content: "+"; color: var(--o-accent); font-size: 20px; font-weight: 700; }
.vesc-faq__item[open] summary::after { content: "\2212"; }
.vesc-faq__item p { padding: 0 0 16px; margin: 0; color: var(--o-ink-2); font-size: 14px; line-height: 1.7; }

.vesc-cta {
  background: var(--o-card);
  border: 1px solid var(--o-accent);
  border-radius: var(--o-radius);
  padding: 40px;
  text-align: center;
  box-shadow: var(--o-shadow);
}
.vesc-cta__title {
  font-family: var(--o-font-display);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--o-ink);
}
.vesc-cta__sub { font-size: 15px; color: var(--o-ink-2); margin: 0 0 22px; }

.vesc-mobile-bar { display: none; }
@media (max-width: 991px) {
  .vesc-mobile-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: calc(var(--o-bottomnav-h) + env(safe-area-inset-bottom, 0px));
    z-index: 50;
    display: flex;
    gap: 12px;
    padding: 10px 12px;
    background: var(--o-card);
    border-top: 1px solid var(--o-line);
    box-shadow: var(--o-shadow-sticky);
  }
  .vesc-mobile-bar .vesc-btn {
    flex: 1 1 0;
    min-width: 0;
    min-height: 48px;
    font-size: 14px;
    padding: 0 10px;
  }
  .vesc-landing { padding-bottom: calc(92px + env(safe-area-inset-bottom, 0px)); }
  .vesc-hero { grid-template-columns: 1fr; gap: 24px; padding-top: 24px; }
  .vesc-hero__media { order: -1; }
  .vesc-hero__cta { display: none; }
  .vesc-trust__grid { grid-template-columns: repeat(2, 1fr); }
  .vesc-lines__grid { grid-template-columns: 1fr; }
  .vesc-tier__btn { display: none !important; }
  .vesc-products .product-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vesc-apps__grid { grid-template-columns: 1fr; grid-auto-rows: 160px; }
  .vesc-app--wide { grid-column: auto; }
  .vesc-why__grid { grid-template-columns: repeat(2, 1fr); }
  .vesc-cta { padding: 28px 20px; margin-bottom: calc(24px + env(safe-area-inset-bottom, 0px)); }
  .vesc-landing__inner { padding: 14px 14px 0; }
}
@media (max-width: 560px) {
  .vesc-trust__grid { grid-template-columns: 1fr; }
  .vesc-why__grid { grid-template-columns: 1fr; }
}

@media (min-width: 769px) and (max-width: 1100px) {
  .vesc-products .product-card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  .vesc-hero { animation: none; }
  .vesc-hero__track { transition: none; }
  .vesc-btn,
  .vesc-tier,
  .vesc-why__item,
  .vesc-app::before { transition: none; }
  .vesc-btn:active,
  .vesc-tier:active { transform: none; }
}
