/*
 * VIOX Home — typography and spacing calibration only.
 *
 * This file is loaded on the homepage only. It does not change the homepage
 * content, imagery, colors, layout structure, or interactions, and it does
 * not affect ordinary Pages, WooCommerce, or articles.
 */

.viox-homepage,
.viox-homepage h1,
.viox-homepage h2,
.viox-homepage h3,
.viox-homepage h4,
.viox-homepage p,
.viox-homepage a,
.viox-homepage button {
  font-family: var(--viox-font) !important;
}

.viox-homepage .viox-hero h1 {
  margin-bottom: 24px !important;
  color: #fff !important;
  font-size: clamp(56px, 5vw, 76px) !important;
  font-weight: 700 !important;
  letter-spacing: -.04em;
  line-height: 1.05 !important;
}

.viox-homepage .viox-hero h1 * {
  color: #fff !important;
}

.viox-homepage .viox-hero p {
  font-size: 18px !important;
  font-weight: 400 !important;
  line-height: 1.65 !important;
}

.viox-homepage .viox-actions {
  gap: 16px !important;
  margin-top: 32px !important;
}

.viox-homepage .viox-actions .viox-button,
.viox-homepage .viox-button {
  min-height: 48px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: .04em !important;
  line-height: 1.2 !important;
}

/* Homepage hero button states: red becomes white; white becomes VIOX red. */
.viox-homepage .viox-hero .viox-button--red {
  border: 0 !important;
}

.viox-homepage .viox-hero .viox-button--red::before {
  background: #fff !important;
}

.viox-homepage .viox-hero .viox-button--red:hover,
.viox-homepage .viox-hero .viox-button--red:focus-visible,
.viox-homepage .viox-hero .viox-button--red:active {
  color: var(--viox-dark) !important;
}

.viox-homepage .viox-hero .viox-button--white {
  border: 1px solid var(--viox-red) !important;
}

.viox-homepage .viox-hero .viox-button--white::before {
  background: var(--viox-red) !important;
}

.viox-homepage .viox-hero .viox-button--white:hover,
.viox-homepage .viox-hero .viox-button--white:focus-visible,
.viox-homepage .viox-hero .viox-button--white:active {
  color: #fff !important;
}

.viox-homepage .viox-section-heading,
.viox-homepage .viox-section--apps .viox-section-heading {
  margin-bottom: 48px !important;
}

.viox-homepage .viox-section-heading h2,
.viox-homepage .viox-hot-products__head h2,
.viox-homepage .viox-factory h2,
.viox-homepage .viox-direct-support__copy h2,
.viox-homepage .viox-final-cta h2 {
  font-size: 40px !important;
  font-weight: 600 !important;
  letter-spacing: -.035em !important;
  line-height: 1.16 !important;
}

.viox-homepage .viox-section-heading p,
.viox-homepage .viox-hot-products__head p,
.viox-homepage .viox-factory__copy p,
.viox-homepage .viox-app-card p,
.viox-homepage .viox-feature p,
.viox-homepage .viox-direct-support__copy > p,
.viox-homepage .viox-final-cta p {
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1.7 !important;
}

.viox-homepage .viox-section-heading p {
  margin-top: 24px !important;
}

.viox-homepage .viox-product-grid,
.viox-homepage .viox-app-grid,
.viox-homepage .viox-feature-grid,
.viox-homepage .viox-logo-grid,
.viox-homepage .viox-blog-grid,
.viox-homepage .viox-hot-grid {
  gap: 24px !important;
}

.viox-homepage .viox-product-card__body,
.viox-homepage .viox-blog-card__body,
.viox-homepage .viox-feature,
.viox-homepage .viox-app-card {
  padding: 24px !important;
}

.viox-homepage .viox-product-card h3,
.viox-homepage .viox-hot-card h3,
.viox-homepage .viox-blog-card h3,
.viox-homepage .viox-feature h3,
.viox-homepage .viox-app-card h3 {
  font-size: 24px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
}

.viox-homepage .viox-hot-products__head {
  margin-bottom: 40px !important;
}

.viox-homepage .viox-hot-products__head a {
  font-size: 14px !important;
  line-height: 1.2 !important;
}

.viox-homepage .viox-hot-card h3 {
  min-height: 0;
  padding: 24px !important;
}

.viox-homepage .viox-app-card__icon {
  margin-bottom: 24px;
}

.viox-homepage .viox-stats {
  margin-top: 48px;
}

/* The homepage shares the complete About-page factory proof component. The
 * dark photographic surface always uses high-contrast white copy; the three
 * overlapping proof cards retain their original white-card treatment. */
.viox-homepage .viox-about-factory__copy,
.viox-homepage .viox-about-factory__copy .viox-about-kicker,
.viox-homepage .viox-about-factory__copy h2,
.viox-homepage .viox-about-factory__copy p,
.viox-homepage .viox-about-factory__copy .viox-about-stats strong,
.viox-homepage .viox-about-factory__copy .viox-about-stats span {
  color: #fff !important;
}

.viox-homepage .viox-about-factory {
  margin-top: 0;
  background-attachment: scroll, fixed;
  background-position: center, center;
  background-size: cover, cover;
}

.viox-homepage .viox-about-factory__copy h2 {
  padding-inline-start: 0 !important;
}

.viox-homepage .viox-about-factory__copy h2::before {
  display: none !important;
}

/* The factory proof cards straddle the photo/surface boundary. A white card
 * frame keeps the overlap visually separated from the moving content while
 * the lower surface continues into Certifications & Customization. */
.viox-homepage .viox-about-features {
  --viox-factory-card-overlap: 76px;
  margin-top: calc(-1 * var(--viox-factory-card-overlap));
  padding-top: 0;
  background: transparent;
  isolation: isolate;
}

.viox-homepage .viox-about-features::before {
  position: absolute;
  z-index: -1;
  inset: var(--viox-factory-card-overlap) 0 0;
  background: var(--viox-bg-soft);
  content: "";
}

.viox-homepage .viox-about-feature-card {
  border: 10px solid var(--viox-surface);
}

.viox-homepage .viox-product-explorer__content {
  padding: 32px !important;
}

.viox-homepage .viox-product-explorer__content h3 {
  margin: 12px 0 16px !important;
  font-size: 32px !important;
  font-weight: 600 !important;
  line-height: 1.16 !important;
}

.viox-homepage .viox-product-explorer__content > p {
  margin-bottom: 24px !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1.7 !important;
}

.viox-homepage .viox-product-explorer__content li a {
  font-size: 14px !important;
  line-height: 1.5 !important;
}

/* The product-family introduction is intentionally centered and quiet; the
 * split heading rule belongs to editorial section headings, not this catalog
 * entry point. */
.viox-homepage .viox-product-explorer__heading {
  width: 100%;
  max-width: 860px !important;
  margin-bottom: 36px !important;
  margin-right: auto !important;
  margin-left: auto !important;
  text-align: center !important;
}

.viox-homepage .viox-product-explorer__heading h2 {
  padding-left: 0 !important;
  text-align: center !important;
}

.viox-homepage .viox-product-explorer__heading h2::before {
  display: none !important;
}

.viox-homepage .viox-product-explorer__heading p {
  margin-right: auto !important;
  margin-left: auto !important;
  text-align: center !important;
}

.viox-homepage .viox-direct-support {
  padding: 96px 0 !important;
}

.viox-homepage .viox-direct-support__inner {
  gap: 64px !important;
}

.viox-homepage .viox-direct-support__copy h2 {
  margin-top: 24px !important;
  font-size: 48px !important;
  font-weight: 600 !important;
  letter-spacing: -.035em !important;
  line-height: 1.16 !important;
}

.viox-homepage .viox-direct-support__copy > p {
  margin-top: 24px !important;
}

.viox-homepage .viox-direct-support__copy > .viox-button {
  margin-top: 32px !important;
}

.viox-homepage .viox-direct-support__points > div {
  padding: 24px 0 24px 24px;
}

.viox-homepage .viox-direct-support__points strong {
  font-size: 18px !important;
  line-height: 1.4 !important;
}

.viox-homepage .viox-direct-support__points span {
  margin-top: 8px;
  font-size: 14px !important;
  line-height: 1.5 !important;
}

.viox-homepage .viox-news.viox-blog {
  padding: 96px 0 !important;
  background: #f5f7fa !important;
}

.viox-homepage .viox-news-head {
  margin-bottom: 48px !important;
}

.viox-homepage .viox-news-head h2 {
  color: #1b2027 !important;
  font-family: var(--viox-font) !important;
  font-size: 48px !important;
  font-weight: 600 !important;
  letter-spacing: -.035em !important;
  line-height: 1.16 !important;
}

.viox-homepage .viox-news-head .heading-accent {
  color: #d71920 !important;
}

.viox-homepage .viox-news-track {
  gap: 40px !important;
}

.viox-homepage .viox-news-card h3 {
  display: -webkit-box;
  height: 56px;
  overflow: hidden;
  margin: 24px 0 8px !important;
  color: #1b2027 !important;
  font-family: var(--viox-font) !important;
  font-size: 20px !important;
  font-weight: 600 !important;
  letter-spacing: -.02em !important;
  line-height: 1.4 !important;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.viox-homepage .viox-news-card > p {
  color: #687482 !important;
  font-family: var(--viox-font) !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
}

@media (min-width: 681px) and (max-width: 1020px) {
  .viox-homepage .viox-news-track {
    gap: 28px !important;
  }
}

.viox-homepage .viox-final-cta h2 {
  font-size: 40px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
}

/* Compact final CTA: 56px breathing room on desktop, 48px on mobile, with
 * one consistent 32px content gap before the mobile reduction. */
.viox-homepage .viox-section--final-cta {
  padding: 56px 0 !important;
}

.viox-homepage .viox-final-cta {
  gap: 32px;
}

@media (max-width: 780px) {
	.viox-homepage .viox-about-factory {
		background-attachment: scroll, scroll;
	}

	.viox-homepage .viox-about-features {
		--viox-factory-card-overlap: 48px;
		margin-top: calc(-1 * var(--viox-factory-card-overlap));
		padding-top: 0;
	}

	.viox-homepage .viox-about-feature-card {
		border-width: 6px;
	}

  .viox-homepage .viox-hero__content {
    padding: 80px 0 !important;
  }

  .viox-homepage .viox-hero h1 {
    font-size: clamp(36px, 10vw, 44px) !important;
    line-height: 1.1 !important;
  }

  .viox-homepage .viox-hero p {
    font-size: 16px !important;
    line-height: 1.65 !important;
  }

  .viox-homepage .viox-actions {
    gap: 16px !important;
    margin-top: 32px !important;
  }

  .viox-homepage .viox-section-heading,
  .viox-homepage .viox-section--apps .viox-section-heading {
    margin-bottom: 32px !important;
  }

  .viox-homepage .viox-section-heading h2,
  .viox-homepage .viox-hot-products__head h2,
  .viox-homepage .viox-factory h2,
  .viox-homepage .viox-direct-support__copy h2,
  .viox-homepage .viox-final-cta h2 {
    font-size: 30px !important;
    line-height: 1.16 !important;
  }

  .viox-homepage .viox-section-heading p {
    margin-top: 16px !important;
  }

  .viox-homepage .viox-product-grid,
  .viox-homepage .viox-app-grid,
  .viox-homepage .viox-feature-grid,
  .viox-homepage .viox-logo-grid,
  .viox-homepage .viox-blog-grid,
  .viox-homepage .viox-hot-grid {
    gap: 16px !important;
  }

  .viox-homepage .viox-product-card__body,
  .viox-homepage .viox-blog-card__body,
  .viox-homepage .viox-feature,
  .viox-homepage .viox-app-card {
    padding: 20px !important;
  }

  .viox-homepage .viox-product-card h3,
  .viox-homepage .viox-hot-card h3,
  .viox-homepage .viox-blog-card h3,
  .viox-homepage .viox-feature h3,
  .viox-homepage .viox-app-card h3 {
    font-size: 20px !important;
    line-height: 1.3 !important;
  }

  .viox-homepage .viox-product-explorer__content {
    padding: 24px !important;
  }

  .viox-homepage .viox-product-explorer__content h3 {
    font-size: 28px !important;
    line-height: 1.2 !important;
  }

  .viox-homepage .viox-direct-support {
    padding: 80px 0 !important;
  }

  .viox-homepage .viox-direct-support__inner {
    gap: 48px !important;
  }

  .viox-homepage .viox-direct-support__copy h2 {
    font-size: 32px !important;
    line-height: 1.16 !important;
  }

  .viox-homepage .viox-news.viox-blog {
    padding: 64px 0 !important;
  }

  .viox-homepage .viox-news-head {
    margin-bottom: 32px !important;
  }

  .viox-homepage .viox-news-head h2 {
    padding-left: 18px;
    font-size: 32px !important;
    letter-spacing: -.035em !important;
    line-height: 1.16 !important;
  }

  .viox-homepage .viox-news-head h2::before {
    top: 3px;
    height: 34px;
  }

  .viox-homepage .viox-news-track {
    gap: 16px !important;
  }

  .viox-homepage .viox-news-card h3 {
    height: 52px;
    margin-top: 20px !important;
    font-size: 20px !important;
    line-height: 1.3 !important;
  }

  .viox-homepage .viox-final-cta h2 {
    font-size: 28px !important;
    line-height: 1.2 !important;
  }

  .viox-homepage .viox-section--final-cta {
    padding: 48px 0 !important;
  }

  .viox-homepage .viox-final-cta {
    gap: 24px;
  }
}
