.slide {
  position: relative;
  min-height: calc(var(--vh) * 100);
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: grid;
  align-content: center;
  justify-items: start;
  row-gap: clamp(16px, 3vh, 32px);
  padding-inline: 20px;
  padding-top: calc(clamp(24px, 6vh, 56px) + var(--safe-area-top));
  padding-bottom: calc(clamp(24px, 6vh, 56px) + var(--safe-area-bottom));
  margin-bottom: clamp(32px, calc(var(--vh) * 6), 96px);
  text-align: left;
  background-color: var(--bg);
  isolation: isolate;
}

.slide.slide-hidden {
  scroll-snap-align: none;
  scroll-snap-stop: normal;
  pointer-events: none;
  visibility: hidden;
  height: 0;
  min-height: 0;
  overflow: hidden;
  padding: 0;
  margin: 0;
}

.hero {
  background: transparent;
  color: #000;
  box-shadow: none;
  position: relative;
  overflow: hidden;
  justify-items: center;
}

.lang-switch {
  position: absolute;
  top: 20px;
  right: 52px;
  padding: 8px 16px;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.82);
  color: rgba(0, 0, 0, 0.22);
  border: 2px solid rgba(0, 0, 0, 0.22);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.03em;
  transition: all 200ms ease;
  z-index: 100;
  display: flex;
  align-items: center;
}

.lang-switch:hover {
  background: #111;
  color: #fff;
}

.lang-switch:focus-visible {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}

.lang-switch__label {
  display: inline-block;
  text-transform: none;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  margin: 0 auto 30px;
  text-align: center;
  line-height: 1.2;
}

.hero-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  width: 100%;
  padding-top: clamp(32px, calc(var(--vh) * 8), 100px);
  padding-bottom: clamp(32px, calc(var(--vh) * 8), 100px);
}

.hero p {
  font-size: 1.3rem;
  font-weight: 600;
  max-width: 900px;
  margin: 0 auto;
  margin-bottom: clamp(28px, 5vh, 60px);
}

.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: calc(clamp(32px, 8vh, 80px) + var(--safe-area-bottom));
  transform: translate(-50%, 0);
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 56px;
  height: 56px;
  padding: 0;
  color: rgba(0, 0, 0, 0.22);
  background: transparent;
  border: none;
  box-shadow: none;
  cursor: pointer;
  animation: arrowFloat 2.4s ease-in-out infinite;
  transition: transform 180ms var(--ease-smooth), color 180ms var(--ease-smooth), opacity 260ms var(--ease-smooth);
  opacity: 0;
  pointer-events: none;
}

.scroll-indicator:hover,
.scroll-indicator:focus-visible {
  transform: translateY(6px);
  color: rgba(0, 0, 0, 0.38);
  outline: none;
}

.scroll-indicator__arrow {
  width: 56px;
  height: 56px;
  display: block;
}

.scroll-indicator.is-visible {
  opacity: 1;
  pointer-events: auto;
  transition-delay: 0s;
}

.scroll-indicator--static {
  animation: none;
  opacity: 1;
  pointer-events: auto;
  transition: color 180ms var(--ease-smooth);
}

.scroll-indicator--static:hover,
.scroll-indicator--static:focus-visible {
  transform: translate(-50%, 6px);
}

@keyframes arrowFloat {
  0%, 100% {
    transform: translate(-50%, 0);
  }
  50% {
    transform: translate(-50%, 32px);
  }
}

section {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
}

section h2 {
  color: var(--text-strong);
  text-align: left;
  justify-self: start;
  margin: 0 0 clamp(8px, 1.6vh, 13px);
}

#special-offer {
  position: relative;
  min-height: calc(var(--vh) * 100);
  padding: clamp(24px, 6vh, 52px) 0;
  overflow: hidden;
}

#slow-down {
  position: relative;
  min-height: calc(var(--vh) * 100);
}

footer {
  display: grid;
  place-items: center;
}

@media (max-width: 768px) {
  .lang-switch {
    top: 12px;
    right: 32px;
    padding: 6px 12px;
    font-size: 0.85rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .banner {
    font-size: 1.2rem;
  }

  .banner-layer {
    font-size: 1.2rem;
  }

  .dot-nav {
    display: none;
  }

  .tool-row {
    grid-template-columns: 1fr auto;
    gap: 8px;
  }

  .tool-row > a,
  .tool-row > button:nth-child(3) {
    grid-column: 1 / -1;
  }

  .slide .cta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
}
