.homepage .hero-slogan {
  width: min(var(--max), calc(100% - 40px));
  max-width: var(--max);
  top: 110px;
  font-size: 64px;
  line-height: 1.08;
  letter-spacing: 0;
  text-transform: none;
}

.homepage .quick-info-grid article {
  min-height: 0;
  padding: 20px 0 0;
}

.app-store-links {
  margin: 16px 0 0;
  font-size: 14px;
}

.app-store-links a {
  font-weight: 750;
  text-underline-offset: 4px;
}

.pricing-switch {
  display: none;
}

@media (max-width: 960px) {
  .homepage .hero-slogan {
    width: calc(100% - 28px);
    font-size: 44px;
  }
}

@media (max-width: 640px) {
  .homepage .hero {
    min-height: 0;
  }

  .homepage .hero-content {
    display: flex;
    align-items: flex-end;
    min-height: 520px;
    min-height: clamp(460px, calc(100svh - 102px), 600px);
    padding: 190px 0 24px;
  }

  .homepage .hero-slogan {
    top: 32px;
    font-size: 34px;
  }

  .homepage .hero-copy {
    position: static;
    width: 100%;
  }

  .homepage .hero-copy .lead {
    margin-bottom: 16px;
  }

  .homepage .hero-copy .hero-actions {
    margin-top: 20px;
  }

  .homepage .quick-info-grid {
    gap: 20px;
  }

  .homepage .pricing-switch {
    display: flex;
    margin-bottom: 24px;
  }

  .pricing-switch label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-weight: 750;
  }

  .pricing-switch input {
    appearance: none;
    position: relative;
    width: 46px;
    height: 28px;
    flex: 0 0 46px;
    margin: 0;
    border: 1px solid var(--line);
    border-radius: 80px;
    background: #deded9;
    cursor: pointer;
  }

  .pricing-switch input::before {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    content: "";
  }

  .pricing-switch input:checked {
    border-color: var(--accent);
    background: var(--accent);
  }

  .pricing-switch input:checked::before {
    transform: translateX(18px);
  }

  .pricing-switch input:focus-visible {
    outline: 2px solid var(--black);
    outline-offset: 4px;
  }

  .homepage #ceny .price-option--student {
    display: none;
  }

  .homepage #ceny:has(#student-pricing:checked) .price-option:not(.price-option--student) {
    display: none;
  }

  .homepage #ceny:has(#student-pricing:checked) .price-option--student {
    display: grid;
  }
}
