/* =====================================================================
   Homepage (public landing) — page-specific styles.
   Loaded by templates/1SWISS1/includes/head.tpl when $templatefile == "homepage".
   Built on top of _design-tokens.css and _components.css.
   ===================================================================== */

/* =================================================================
   0. Scroll-in animation primitive
   ---------------------------------------------------------------
   Sections marked with [data-hp-reveal] start invisible & shifted
   down 30px. The accompanying JS adds .is-visible when the section
   enters the viewport, triggering the fade-up.
   ================================================================= */

[data-hp-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 600ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
[data-hp-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  [data-hp-reveal],
  [data-hp-reveal].is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* =================================================================
   1. Logged-in welcome strip (sits above the hero)
   ================================================================= */

.hp-welcome {
  background: var(--1s1-brand-soft);
  border-bottom: 1px solid var(--1s1-border);
}
.hp-welcome__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--1s1-space-4);
  padding: var(--1s1-space-3) var(--1s1-space-6);
  max-width: var(--1s1-container-xl);
  margin: 0 auto;
  font-size: var(--1s1-text-sm);
  color: var(--1s1-text);
}

/* =================================================================
   2. Hero
   ================================================================= */

.hp-hero {
  min-height: calc(100vh - 96px);
  padding: var(--1s1-space-16) 0;
  display: flex;
  align-items: center;
  background: linear-gradient(
      to bottom,
      rgba(255, 87, 86, 0.05),
      var(--1s1-bg) 60%,
      var(--1s1-bg)
    ),
    var(--1s1-bg);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.hp-hero::before {
  /* Big blurred brand blob behind the hero — Helvira-style */
  content: "";
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: rgba(255, 87, 86, 0.1);
  border-radius: 50%;
  filter: blur(64px);
  z-index: -1;
  pointer-events: none;
}
.hp-hero::after {
  /* Subtle dot grid, faded toward bottom */
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle,
    rgba(34, 34, 34, 0.04) 1px,
    transparent 1px
  );
  background-size: 28px 28px;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
  -webkit-mask-image: linear-gradient(to bottom, black, transparent 80%);
  z-index: -1;
}

/* Swiss-flag pill badge above the eyebrow */
.hp-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--1s1-space-2);
  padding: 6px 12px 6px 8px;
  background: var(--1s1-surface);
  border: 1px solid var(--1s1-border);
  border-radius: var(--1s1-radius-pill);
  box-shadow: var(--1s1-shadow-xs);
  font-size: var(--1s1-text-xs);
  font-weight: var(--1s1-weight-semibold);
  color: var(--1s1-text-muted);
  margin-bottom: var(--1s1-space-4);
}
.hp-hero__badge-flag {
  width: 16px;
  height: 16px;
  border-radius: 3px;
  background: var(--1s1-brand);
  background-image: linear-gradient(white, white), linear-gradient(white, white);
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
  background-size: 8px 2px, 2px 8px;
  flex: 0 0 16px;
}
.hp-hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: var(--1s1-space-10);
  align-items: center;
  width: 100%;
  max-width: var(--1s1-container-xl);
  margin: 0 auto;
  padding: 0 var(--1s1-space-6);
}

.hp-hero__eyebrow {
  margin-bottom: var(--1s1-space-4);
}
.hp-hero__content {
  position: relative;
}
.hp-hero__content::before {
  /* Glow halo behind the title */
  content: "";
  position: absolute;
  top: 8%;
  left: -8%;
  width: 60%;
  height: 50%;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 87, 86, 0.18) 0%,
    transparent 65%
  );
  filter: blur(48px);
  z-index: -1;
  pointer-events: none;
}

.hp-hero__title {
  font-size: 76px;
  font-weight: var(--1s1-weight-medium);
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--1s1-text);
  margin: 0 0 var(--1s1-space-5);
}
.hp-hero__title-accent {
  background: linear-gradient(
    115deg,
    #ff5756 0%,
    #d93333 40%,
    #ff5756 80%,
    #ff8a8a 100%
  );
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: hp-gradient-shift 9s ease-in-out infinite;
}
@keyframes hp-gradient-shift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hp-hero__title-accent {
    animation: none;
  }
}
.hp-hero__lead {
  font-size: var(--1s1-text-lg);
  line-height: var(--1s1-leading-relaxed);
  color: var(--1s1-text-muted);
  margin: 0 0 var(--1s1-space-8);
  max-width: 540px;
}

.hp-hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hp-hero__visual svg {
  width: 100%;
  height: auto;
  max-width: 600px;
  animation: hp-float 5s ease-in-out infinite;
  will-change: transform;
}

@keyframes hp-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hp-hero__visual svg {
    animation: none;
  }
}

/* Coloured red shadow on primary CTAs over light surfaces — Linear/Helvira pattern */
.hp-hero__cta-row .s1-btn--primary,
.hp-search .s1-btn--primary {
  box-shadow: 0 8px 24px rgba(255, 87, 86, 0.3);
}
.hp-hero__cta-row .s1-btn--primary:hover,
.hp-search .s1-btn--primary:hover {
  box-shadow: 0 12px 32px rgba(255, 87, 86, 0.4);
  transform: translateY(-1px);
}

/* --- domain search form --- */
.hp-search {
  display: flex;
  flex-wrap: wrap;
  gap: var(--1s1-space-2);
  background: var(--1s1-surface);
  border: 1px solid var(--1s1-border);
  border-radius: var(--1s1-radius-lg);
  padding: var(--1s1-space-2);
  box-shadow: var(--1s1-shadow-sm);
  margin-bottom: var(--1s1-space-6);
  max-width: 560px;
  transition: border-color var(--1s1-transition-fast),
    box-shadow var(--1s1-transition-fast);
}
.hp-search:focus-within {
  border-color: var(--1s1-brand);
  box-shadow: var(--1s1-shadow-focus);
}
.hp-search__input {
  flex: 1 1 240px;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 0 var(--1s1-space-4);
  font-size: var(--1s1-text-md);
  color: var(--1s1-text);
}
.hp-search__input::placeholder {
  color: var(--1s1-text-subtle);
}
.hp-search__btn {
  flex: 0 0 auto;
}

/* --- trust strip --- */
.hp-hero__trust {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--1s1-space-8);
  display: flex;
  flex-wrap: wrap;
  gap: var(--1s1-space-2) var(--1s1-space-6);
  font-size: var(--1s1-text-sm);
  color: var(--1s1-text-muted);
}
.hp-hero__trust li {
  display: inline-flex;
  align-items: center;
  gap: var(--1s1-space-2);
}
.hp-hero__trust i {
  color: var(--1s1-success);
  font-size: 14px;
}

.hp-hero__cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--1s1-space-3);
}

/* =================================================================
   3. Stats strip (4 metrics, full-bleed)
   ================================================================= */

.hp-stats {
  background: var(--1s1-dark);
  color: var(--1s1-text-on-dark);
  padding: var(--1s1-space-10) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.hp-stats__inner {
  max-width: var(--1s1-container-xl);
  margin: 0 auto;
  padding: 0 var(--1s1-space-6);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--1s1-space-6);
  text-align: center;
}
.hp-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--1s1-space-2);
}
.hp-stat__value {
  font-size: 48px;
  font-weight: var(--1s1-weight-medium);
  line-height: 1;
  letter-spacing: var(--1s1-tracking-tight);
  font-variant-numeric: var(--1s1-numeric-tabular);
  color: var(--1s1-text-on-dark);
  display: inline-flex;
  align-items: baseline;
}
.hp-stat__suffix {
  color: var(--1s1-brand);
  font-size: 28px;
  margin-left: 2px;
}
.hp-stat__label {
  font-size: var(--1s1-text-sm);
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: var(--1s1-tracking-wide);
}

/* =================================================================
   4. Three pillars
   ================================================================= */

.hp-pillars {
  padding: var(--1s1-space-24) 0;
  background: var(--1s1-surface-sunken);
}
.hp-pillars__inner {
  max-width: var(--1s1-container-xl);
  margin: 0 auto;
  padding: 0 var(--1s1-space-6);
}
.hp-pillars__intro {
  max-width: 600px;
  margin: 0 auto var(--1s1-space-12);
  text-align: center;
}
.hp-pillars__intro .s1-eyebrow {
  margin-bottom: var(--1s1-space-3);
}
.hp-pillars__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--1s1-space-8);
}
.hp-pillar {
  background: var(--1s1-surface);
  border: 1px solid var(--1s1-border);
  border-radius: var(--1s1-radius-lg);
  padding: var(--1s1-space-8);
  transition: box-shadow var(--1s1-transition-base),
    transform var(--1s1-transition-base);
}
.hp-pillar:hover {
  box-shadow: var(--1s1-shadow-md);
  transform: translateY(-2px);
}
.hp-pillar__number {
  display: inline-block;
  font-size: 56px;
  font-weight: var(--1s1-weight-medium);
  line-height: 1;
  color: var(--1s1-brand);
  letter-spacing: var(--1s1-tracking-tight);
  margin-bottom: var(--1s1-space-5);
  font-variant-numeric: var(--1s1-numeric-tabular);
}
.hp-pillar__label {
  display: block;
  font-size: var(--1s1-text-xs);
  font-weight: var(--1s1-weight-semibold);
  letter-spacing: var(--1s1-tracking-wide);
  text-transform: uppercase;
  color: var(--1s1-text-muted);
  margin-bottom: var(--1s1-space-2);
}
.hp-pillar__title {
  font-size: var(--1s1-text-2xl);
  font-weight: var(--1s1-weight-semibold);
  color: var(--1s1-text);
  margin: 0 0 var(--1s1-space-3);
  line-height: var(--1s1-leading-snug);
}
.hp-pillar__desc {
  font-size: var(--1s1-text-md);
  color: var(--1s1-text-muted);
  line-height: var(--1s1-leading-normal);
  margin: 0;
}

/* =================================================================
   5. Section header (used by products / why / link grids)
   ================================================================= */

.hp-section-header {
  text-align: center;
  margin-bottom: var(--1s1-space-10);
}
.hp-section-header .s1-eyebrow {
  margin-bottom: var(--1s1-space-3);
}
.hp-section-header__title {
  margin-bottom: var(--1s1-space-3);
}
.hp-section-header__lead {
  color: var(--1s1-text-muted);
  font-size: var(--1s1-text-lg);
  max-width: 640px;
  margin: 0 auto;
  line-height: var(--1s1-leading-normal);
}
.hp-section-header__bullet {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--1s1-brand);
  margin-right: var(--1s1-space-3);
  transform: translateY(-4px);
}

/* =================================================================
   6. Product cards (4-up)
   ================================================================= */

.hp-products {
  padding: var(--1s1-space-24) 0;
}
.hp-products__inner {
  max-width: var(--1s1-container-xl);
  margin: 0 auto;
  padding: 0 var(--1s1-space-6);
}
.hp-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--1s1-space-5);
}

.hp-product-card {
  display: flex;
  flex-direction: column;
  background: var(--1s1-surface);
  border: 1px solid var(--1s1-border);
  border-radius: var(--1s1-radius-lg);
  padding: var(--1s1-space-6);
  text-decoration: none;
  color: inherit;
  position: relative;
  transition: border-color var(--1s1-transition-base),
    box-shadow var(--1s1-transition-base), transform var(--1s1-transition-base);
}
.hp-product-card:hover,
.hp-product-card:focus-visible {
  border-color: var(--1s1-brand);
  box-shadow: var(--1s1-shadow-md);
  transform: translateY(-2px);
  color: inherit;
  text-decoration: none;
  outline: none;
}
.hp-product-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--1s1-radius-md);
  background: var(--1s1-brand-soft);
  color: var(--1s1-brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: var(--1s1-space-5);
  transition: transform var(--1s1-transition-base);
}
.hp-product-card:hover .hp-product-card__icon {
  transform: scale(1.06);
}
.hp-product-card__title {
  font-size: var(--1s1-text-xl);
  font-weight: var(--1s1-weight-semibold);
  color: var(--1s1-text);
  margin: 0 0 var(--1s1-space-2);
  line-height: var(--1s1-leading-snug);
}
.hp-product-card__desc {
  font-size: var(--1s1-text-sm);
  color: var(--1s1-text-muted);
  line-height: var(--1s1-leading-normal);
  margin: 0 0 var(--1s1-space-5);
  flex: 1 1 auto;
}
.hp-product-card__price {
  margin: 0 0 var(--1s1-space-4);
  padding-top: var(--1s1-space-3);
  border-top: 1px solid var(--1s1-border);
  font-size: var(--1s1-text-sm);
  color: var(--1s1-text-muted);
  line-height: 1.4;
}
.hp-product-card__price-from {
  display: block;
  font-size: var(--1s1-text-xs);
  color: var(--1s1-text-subtle);
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: var(--1s1-tracking-wide);
  font-weight: var(--1s1-weight-medium);
}
.hp-product-card__price strong {
  font-size: var(--1s1-text-2xl);
  font-weight: var(--1s1-weight-medium);
  color: var(--1s1-text);
  font-variant-numeric: var(--1s1-numeric-tabular);
}
.hp-product-card__price-period {
  color: var(--1s1-text-muted);
  margin-left: 2px;
}
.hp-product-card__cta {
  font-size: var(--1s1-text-sm);
  font-weight: var(--1s1-weight-semibold);
  color: var(--1s1-brand);
  display: inline-flex;
  align-items: center;
  gap: var(--1s1-space-2);
}
.hp-product-card__cta i {
  transition: transform var(--1s1-transition-fast);
}
.hp-product-card:hover .hp-product-card__cta i {
  transform: translateX(4px);
}

/* =================================================================
   7. Partners / trust strip
   ================================================================= */

.hp-partners {
  padding: var(--1s1-space-16) 0;
  background: var(--1s1-bg);
  border-top: 1px solid var(--1s1-border);
  border-bottom: 1px solid var(--1s1-border);
}
.hp-partners__inner {
  max-width: var(--1s1-container-xl);
  margin: 0 auto;
  padding: 0 var(--1s1-space-6);
  text-align: center;
}
.hp-partners__title {
  font-size: var(--1s1-text-xs);
  font-weight: var(--1s1-weight-semibold);
  text-transform: uppercase;
  letter-spacing: var(--1s1-tracking-wide);
  color: var(--1s1-text-subtle);
  margin: 0 0 var(--1s1-space-6);
}
.hp-partners__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--1s1-space-10);
}
.hp-partner {
  font-family: var(--1s1-font-sans);
  font-size: var(--1s1-text-lg);
  font-weight: var(--1s1-weight-semibold);
  letter-spacing: var(--1s1-tracking-tight);
  color: var(--1s1-text-muted);
  opacity: 0.65;
  transition: opacity var(--1s1-transition-base),
    color var(--1s1-transition-base);
}
.hp-partner:hover {
  opacity: 1;
  color: var(--1s1-text);
}

/* =================================================================
   8. "Why 1SWISS1" feature blocks (2x2)
   ================================================================= */

.hp-why {
  padding: var(--1s1-space-24) 0;
  background: var(--1s1-surface-sunken);
}
.hp-why__inner {
  max-width: var(--1s1-container-xl);
  margin: 0 auto;
  padding: 0 var(--1s1-space-6);
}
.hp-why__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--1s1-space-8) var(--1s1-space-12);
  margin-top: var(--1s1-space-10);
}
.hp-why__item {
  display: flex;
  gap: var(--1s1-space-5);
  align-items: flex-start;
}
.hp-why__icon {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  border-radius: var(--1s1-radius-lg);
  background: var(--1s1-surface);
  border: 1px solid var(--1s1-border);
  color: var(--1s1-brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}
.hp-why__title {
  font-size: var(--1s1-text-xl);
  font-weight: var(--1s1-weight-semibold);
  color: var(--1s1-text);
  margin: 0 0 var(--1s1-space-2);
  line-height: var(--1s1-leading-snug);
}
.hp-why__desc {
  font-size: var(--1s1-text-md);
  color: var(--1s1-text-muted);
  line-height: var(--1s1-leading-normal);
  margin: 0;
}

/* =================================================================
   9. CTA banner (full-bleed, brand gradient)
   ================================================================= */

.hp-cta-banner {
  position: relative;
  background: radial-gradient(
      circle at 30% 30%,
      rgba(255, 255, 255, 0.15),
      transparent 55%
    ),
    linear-gradient(135deg, #ff5756 0%, #b91c1c 100%);
  color: var(--1s1-text-on-dark);
  padding: var(--1s1-space-24) 0;
  overflow: hidden;
}
.hp-cta-banner::before {
  /* Subtle Swiss-cross watermark */
  content: "";
  position: absolute;
  top: 50%;
  right: 5%;
  transform: translateY(-50%);
  width: 220px;
  height: 220px;
  background: linear-gradient(
        rgba(255, 255, 255, 0.07),
        rgba(255, 255, 255, 0.07)
      )
      center/100% 32% no-repeat,
    linear-gradient(rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.07))
      center/32% 100% no-repeat;
  pointer-events: none;
}
.hp-cta-banner__inner {
  max-width: var(--1s1-container-md);
  margin: 0 auto;
  padding: 0 var(--1s1-space-6);
  text-align: center;
  position: relative;
  z-index: 1;
}
.hp-cta-banner__title {
  font-size: var(--1s1-text-4xl);
  font-weight: var(--1s1-weight-medium);
  line-height: var(--1s1-leading-tight);
  letter-spacing: var(--1s1-tracking-tight);
  margin: 0 0 var(--1s1-space-4);
  color: inherit;
}
.hp-cta-banner__lead {
  font-size: var(--1s1-text-lg);
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 var(--1s1-space-8);
  line-height: var(--1s1-leading-normal);
}
.hp-cta-banner__buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--1s1-space-3);
}
.hp-cta-banner .s1-btn--primary {
  background: white;
  color: var(--1s1-brand-active);
}
.hp-cta-banner .s1-btn--primary:hover {
  background: var(--1s1-bg);
  color: var(--1s1-brand-active);
}
.hp-cta-banner .s1-btn--secondary {
  background: transparent;
  color: white;
  border-color: rgba(255, 255, 255, 0.5);
}
.hp-cta-banner .s1-btn--secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: white;
  color: white;
}

/* =================================================================
   10. Help / Account link grids (kept from previous design)
   ================================================================= */

.hp-link-grid {
  margin-top: var(--1s1-space-8);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--1s1-space-5);
}
.hp-link-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--1s1-space-8) var(--1s1-space-4);
  background: var(--1s1-surface);
  border: 1px solid var(--1s1-border);
  border-radius: var(--1s1-radius-lg);
  text-decoration: none;
  color: inherit;
  transition: border-color var(--1s1-transition-base),
    box-shadow var(--1s1-transition-base), transform var(--1s1-transition-base);
}
.hp-link-card:hover,
.hp-link-card:focus-visible {
  border-color: var(--1s1-brand);
  box-shadow: var(--1s1-shadow-md);
  transform: translateY(-2px);
  color: inherit;
  text-decoration: none;
  outline: none;
}
.hp-link-card__icon {
  font-size: 28px;
  color: var(--1s1-brand);
  margin-bottom: var(--1s1-space-3);
  transition: transform var(--1s1-transition-base);
}
.hp-link-card:hover .hp-link-card__icon {
  transform: scale(1.08);
}
.hp-link-card__title {
  font-size: var(--1s1-text-md);
  font-weight: var(--1s1-weight-semibold);
  color: var(--1s1-text);
  margin: 0 0 var(--1s1-space-1);
}
.hp-link-card__desc {
  font-size: var(--1s1-text-sm);
  color: var(--1s1-text-muted);
  line-height: var(--1s1-leading-snug);
  margin: 0;
}

/* =================================================================
   11. Hairline gradient dividers (between sections)
   ================================================================= */

.hp-divider {
  border: 0;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    var(--1s1-border),
    transparent
  );
  margin: 0;
}

/* =================================================================
   12. Cursor-tracking spotlight on cards
   ---------------------------------------------------------------
   Any element with [data-hp-spotlight] gets a soft radial gradient
   that follows the mouse on hover. Driven by --mouse-x/--mouse-y
   set in JS.
   ================================================================= */

[data-hp-spotlight] {
  position: relative;
  overflow: hidden;
}
[data-hp-spotlight]::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(255, 87, 86, 0.1) 0%,
    transparent 40%
  );
  opacity: 0;
  transition: opacity 240ms;
  pointer-events: none;
  z-index: 0;
  border-radius: inherit;
}
[data-hp-spotlight]:hover::before {
  opacity: 1;
}
[data-hp-spotlight] > * {
  position: relative;
  z-index: 1;
}

/* =================================================================
   13. Awards / certifications strip
   ================================================================= */

.hp-awards {
  padding: var(--1s1-space-16) 0;
  background: var(--1s1-bg);
  border-bottom: 1px solid var(--1s1-border);
}
.hp-awards__inner {
  max-width: var(--1s1-container-xl);
  margin: 0 auto;
  padding: 0 var(--1s1-space-6);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--1s1-space-4);
}
.hp-award {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--1s1-space-2);
  padding: var(--1s1-space-4);
  border-radius: var(--1s1-radius-md);
  transition: background-color var(--1s1-transition-base);
}
.hp-award:hover {
  background: var(--1s1-surface-sunken);
}
.hp-award__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--1s1-radius-md);
  background: var(--1s1-brand-soft);
  color: var(--1s1-brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.hp-award__title {
  font-size: var(--1s1-text-sm);
  font-weight: var(--1s1-weight-semibold);
  color: var(--1s1-text);
  margin: 0;
  line-height: 1.2;
}
.hp-award__sub {
  font-size: var(--1s1-text-xs);
  color: var(--1s1-text-muted);
  margin: 0;
  line-height: 1.2;
}

/* =================================================================
   14. Feature deep-dive sections (alternating layout)
   ================================================================= */

.hp-feature-dive {
  padding: var(--1s1-space-24) 0;
  position: relative;
  overflow: hidden;
}
.hp-feature-dive--sunken {
  background: var(--1s1-surface-sunken);
}
.hp-feature-dive--dark {
  background: var(--1s1-dark);
  color: var(--1s1-text-on-dark);
}
.hp-feature-dive--dark .hp-feature-dive__title {
  color: var(--1s1-text-on-dark);
}
.hp-feature-dive--dark .hp-feature-dive__lead {
  color: rgba(255, 255, 255, 0.65);
}
.hp-feature-dive--dark .hp-feature-dive__list li {
  color: rgba(255, 255, 255, 0.85);
}
.hp-feature-dive--dark .hp-feature-dive__list li::before {
  background: rgba(255, 255, 255, 0.08);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%2310b981' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='3.5 8.5 6.5 11.5 12.5 5'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px 14px;
}

.hp-feature-dive__inner {
  max-width: var(--1s1-container-xl);
  margin: 0 auto;
  padding: 0 var(--1s1-space-6);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--1s1-space-12);
  align-items: center;
}
.hp-feature-dive--reverse .hp-feature-dive__visual {
  order: -1;
}

.hp-feature-dive__eyebrow {
  margin-bottom: var(--1s1-space-3);
}
.hp-feature-dive__title {
  font-size: var(--1s1-text-4xl);
  font-weight: var(--1s1-weight-medium);
  line-height: var(--1s1-leading-tight);
  letter-spacing: var(--1s1-tracking-tight);
  color: var(--1s1-text);
  margin: 0 0 var(--1s1-space-4);
}
.hp-feature-dive__lead {
  font-size: var(--1s1-text-lg);
  color: var(--1s1-text-muted);
  line-height: var(--1s1-leading-relaxed);
  margin: 0 0 var(--1s1-space-6);
  max-width: 540px;
}
.hp-feature-dive__list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--1s1-space-6);
}
.hp-feature-dive__list li {
  position: relative;
  padding-left: 32px;
  margin-bottom: var(--1s1-space-3);
  font-size: var(--1s1-text-md);
  line-height: var(--1s1-leading-snug);
  color: var(--1s1-text);
}
.hp-feature-dive__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--1s1-success-soft);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%2310b981' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='3.5 8.5 6.5 11.5 12.5 5'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px 14px;
}
.hp-feature-dive__visual {
  position: relative;
  background: var(--1s1-surface);
  border: 1px solid var(--1s1-border);
  border-radius: var(--1s1-radius-xl);
  padding: var(--1s1-space-6);
  box-shadow: var(--1s1-shadow-md);
  overflow: hidden;
}
.hp-feature-dive__visual::before {
  content: "";
  position: absolute;
  inset: -40px;
  background: radial-gradient(
    circle at 30% 0%,
    rgba(255, 87, 86, 0.1),
    transparent 65%
  );
  pointer-events: none;
}
.hp-feature-dive__visual svg {
  width: 100%;
  height: auto;
  position: relative;
  z-index: 1;
}
.hp-feature-dive--dark .hp-feature-dive__visual {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}
.hp-feature-dive--dark .hp-feature-dive__visual::before {
  background: radial-gradient(
    circle at 30% 0%,
    rgba(99, 102, 241, 0.2),
    transparent 65%
  );
}

/* =================================================================
   15. Marquee partner strip (auto-scroll)
   ================================================================= */

.hp-marquee {
  position: relative;
  overflow: hidden;
  padding: var(--1s1-space-16) 0;
  background: var(--1s1-bg);
  text-align: center;
}
.hp-marquee__title {
  margin: 0 auto var(--1s1-space-6);
}
.hp-marquee__viewport {
  position: relative;
  overflow: hidden;
}
.hp-marquee__viewport::before,
.hp-marquee__viewport::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 96px;
  z-index: 2;
  pointer-events: none;
}
.hp-marquee__viewport::before {
  left: 0;
  background: linear-gradient(to right, var(--1s1-bg), transparent);
}
.hp-marquee__viewport::after {
  right: 0;
  background: linear-gradient(to left, var(--1s1-bg), transparent);
}
.hp-marquee__track {
  display: flex;
  align-items: center;
  gap: var(--1s1-space-12);
  width: max-content;
  animation: hp-marquee 36s linear infinite;
}
.hp-marquee__track:hover {
  animation-play-state: paused;
}
@keyframes hp-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
.hp-marquee__item {
  font-size: var(--1s1-text-xl);
  font-weight: var(--1s1-weight-semibold);
  letter-spacing: var(--1s1-tracking-tight);
  color: var(--1s1-text-muted);
  opacity: 0.55;
  transition: opacity var(--1s1-transition-base),
    color var(--1s1-transition-base);
  white-space: nowrap;
}
.hp-marquee__item:hover {
  opacity: 1;
  color: var(--1s1-text);
}

@media (prefers-reduced-motion: reduce) {
  .hp-marquee__track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* =================================================================
   16. Comparison table
   ================================================================= */

.hp-compare {
  padding: var(--1s1-space-24) 0;
  background: var(--1s1-bg);
}
.hp-compare__inner {
  max-width: var(--1s1-container-lg);
  margin: 0 auto;
  padding: 0 var(--1s1-space-6);
}
.hp-compare__table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--1s1-surface);
  border: 1px solid var(--1s1-border);
  border-radius: var(--1s1-radius-xl);
  overflow: hidden;
  box-shadow: var(--1s1-shadow-sm);
}
.hp-compare__table th,
.hp-compare__table td {
  padding: var(--1s1-space-4) var(--1s1-space-5);
  text-align: left;
  border-bottom: 1px solid var(--1s1-border);
  font-size: var(--1s1-text-sm);
  line-height: var(--1s1-leading-snug);
}
.hp-compare__table tr:last-child th,
.hp-compare__table tr:last-child td {
  border-bottom: 0;
}
.hp-compare__table thead th {
  background: var(--1s1-surface-sunken);
  font-weight: var(--1s1-weight-semibold);
  color: var(--1s1-text);
  font-size: var(--1s1-text-md);
}
.hp-compare__col--brand {
  background: var(--1s1-brand-soft);
  color: var(--1s1-brand-active);
  text-align: center;
  position: relative;
}
.hp-compare__col--brand::after {
  /* highlight the brand column */
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid var(--1s1-brand);
  border-radius: var(--1s1-radius-xl) var(--1s1-radius-xl) 0 0;
  pointer-events: none;
}
.hp-compare__table tbody td:nth-child(2) {
  text-align: center;
  background: var(--1s1-brand-soft, #fff7f7);
}
.hp-compare__table tbody td:nth-child(3) {
  text-align: center;
}
.hp-compare__table tbody th {
  font-weight: var(--1s1-weight-medium);
  color: var(--1s1-text);
  background: var(--1s1-surface);
}
.hp-compare__table .hp-compare-yes {
  color: var(--1s1-success);
  font-weight: var(--1s1-weight-semibold);
}
.hp-compare__table .hp-compare-no {
  color: var(--1s1-text-subtle);
}
.hp-compare__table .hp-compare-yes i,
.hp-compare__table .hp-compare-no i {
  margin-right: 6px;
}

/* =================================================================
   17. Testimonials
   ================================================================= */

.hp-testimonials {
  padding: var(--1s1-space-24) 0;
  background: var(--1s1-surface-sunken);
}
.hp-testimonials__inner {
  max-width: var(--1s1-container-xl);
  margin: 0 auto;
  padding: 0 var(--1s1-space-6);
}
.hp-testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--1s1-space-6);
  margin-top: var(--1s1-space-10);
}
.hp-testimonial {
  background: var(--1s1-surface);
  border: 1px solid var(--1s1-border);
  border-radius: var(--1s1-radius-xl);
  padding: var(--1s1-space-8);
  box-shadow: var(--1s1-shadow-sm);
  transition: box-shadow var(--1s1-transition-base),
    transform var(--1s1-transition-base);
  display: flex;
  flex-direction: column;
}
.hp-testimonial:hover {
  box-shadow: var(--1s1-shadow-md);
  transform: translateY(-2px);
}
.hp-testimonial__rating {
  display: flex;
  gap: 2px;
  color: #f59e0b;
  margin-bottom: var(--1s1-space-4);
  font-size: 14px;
}
.hp-testimonial__quote {
  font-size: var(--1s1-text-md);
  color: var(--1s1-text);
  line-height: var(--1s1-leading-relaxed);
  margin: 0 0 var(--1s1-space-6);
  flex: 1 1 auto;
}
.hp-testimonial__author {
  display: flex;
  align-items: center;
  gap: var(--1s1-space-3);
}
.hp-testimonial__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--1s1-brand), #b91c1c);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--1s1-weight-semibold);
  font-size: var(--1s1-text-md);
  flex-shrink: 0;
}
.hp-testimonial__name {
  font-size: var(--1s1-text-sm);
  font-weight: var(--1s1-weight-semibold);
  color: var(--1s1-text);
  margin: 0;
}
.hp-testimonial__company {
  font-size: var(--1s1-text-xs);
  color: var(--1s1-text-muted);
  margin: 0;
}

/* =================================================================
   18. FAQ accordion (CSS-only via <details>)
   ================================================================= */

.hp-faq {
  padding: var(--1s1-space-24) 0;
  background: var(--1s1-bg);
}
.hp-faq__inner {
  max-width: var(--1s1-container-md);
  margin: 0 auto;
  padding: 0 var(--1s1-space-6);
}
.hp-faq__list {
  margin-top: var(--1s1-space-8);
  display: flex;
  flex-direction: column;
  gap: var(--1s1-space-3);
}
.hp-faq__item {
  background: var(--1s1-surface);
  border: 1px solid var(--1s1-border);
  border-radius: var(--1s1-radius-md);
  transition: border-color var(--1s1-transition-base),
    box-shadow var(--1s1-transition-base);
}
.hp-faq__item[open] {
  border-color: var(--1s1-brand);
  box-shadow: var(--1s1-shadow-sm);
}
.hp-faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: var(--1s1-space-4) var(--1s1-space-6);
  font-size: var(--1s1-text-md);
  font-weight: var(--1s1-weight-semibold);
  color: var(--1s1-text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--1s1-space-4);
}
.hp-faq__item summary::-webkit-details-marker {
  display: none;
}
.hp-faq__item summary::after {
  content: "+";
  color: var(--1s1-brand);
  font-size: 24px;
  line-height: 1;
  transition: transform var(--1s1-transition-base);
  flex-shrink: 0;
}
.hp-faq__item[open] summary::after {
  content: "−";
  transform: rotate(0);
}
.hp-faq__answer {
  padding: 0 var(--1s1-space-6) var(--1s1-space-5);
  font-size: var(--1s1-text-sm);
  color: var(--1s1-text-muted);
  line-height: var(--1s1-leading-relaxed);
  margin: 0;
}

/* =================================================================
   19. Responsive
   ================================================================= */

@media (max-width: 1100px) {
  .hp-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hp-link-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .hp-stats__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--1s1-space-8);
  }
  .hp-partners__list {
    gap: var(--1s1-space-6);
  }
  .hp-awards__inner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .hp-testimonial-grid {
    grid-template-columns: 1fr;
  }
  .hp-feature-dive__inner {
    grid-template-columns: 1fr;
    gap: var(--1s1-space-8);
  }
  .hp-feature-dive--reverse .hp-feature-dive__visual {
    order: 0;
  }
  .hp-hero__title {
    font-size: 60px;
  }
}

@media (max-width: 900px) {
  .hp-hero__inner {
    grid-template-columns: 1fr;
    gap: var(--1s1-space-8);
  }
  .hp-hero__visual {
    order: -1;
    max-width: 480px;
    margin: 0 auto;
  }
  .hp-hero__title {
    font-size: 44px;
  }
  .hp-pillars__grid {
    grid-template-columns: 1fr;
    gap: var(--1s1-space-5);
  }
  .hp-why__grid {
    grid-template-columns: 1fr;
    gap: var(--1s1-space-6);
  }
  .hp-link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hp-partner {
    font-size: var(--1s1-text-md);
  }
}

@media (max-width: 600px) {
  .hp-hero {
    padding: var(--1s1-space-10) 0 var(--1s1-space-8);
  }
  .hp-hero__title {
    font-size: 40px;
  }
  .hp-hero__lead {
    font-size: var(--1s1-text-md);
  }
  .hp-pillars,
  .hp-products,
  .hp-why,
  .hp-cta-banner,
  .hp-feature-dive,
  .hp-compare,
  .hp-testimonials,
  .hp-faq {
    padding: var(--1s1-space-16) 0;
  }
  .hp-stats {
    padding: var(--1s1-space-8) 0;
  }
  .hp-stat__value {
    font-size: 36px;
  }
  .hp-stat__suffix {
    font-size: 20px;
  }
  .hp-product-grid,
  .hp-link-grid {
    grid-template-columns: 1fr;
  }
  .hp-awards__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hp-cta-banner__title {
    font-size: var(--1s1-text-3xl);
  }
  .hp-feature-dive__title {
    font-size: var(--1s1-text-3xl);
  }
  .hp-partners__list {
    gap: var(--1s1-space-4);
  }
  .hp-partner {
    font-size: var(--1s1-text-sm);
  }
  .hp-marquee__item {
    font-size: var(--1s1-text-md);
  }
  .hp-compare__table th,
  .hp-compare__table td {
    padding: var(--1s1-space-3);
    font-size: var(--1s1-text-xs);
  }
}
