@media (min-width: 521px) {
  .hero__bg {
    background-size: contain;
  }
}

@media (min-width: 1400px) and (max-width: 1919px) {
  .hero__bg {
    background-size: cover;
  }
}

@media (min-width: 521px) {
  .hero {
    display: block;
  }

  .hero__logo {
    top: var(--hero-logo-top, 50%);
  }

  .hero__content {
    position: absolute;
    left: 50%;
    bottom: var(--hero-content-bottom, 24px);
    transform: translateX(-50%);
    padding-bottom: 0;
  }
}

@media (min-width: 521px) and (max-width: 1024px) {
  .hero__bg {
    background-position: center top;
  }
}

@media (min-width: 1920px) {
  .hero {
    --hero-min-height: 1080px;
    --hero-logo-top: 50%;
    --hero-content-bottom: 24px;
  }
}

@media (min-width: 1025px) and (max-width: 1919px) {
  .hero {
    --hero-min-height: 788px;
    --hero-logo-top: 43%;
    --hero-content-bottom: 24px;
  }

  .hero__logo {
    width: min(400px, 30vw);
  }

  .hero__title {
    font-size: 40px;
  }

  .hero__text {
    font-size: 20px;
  }
}

@media (min-width: 521px) and (max-width: 1024px) {
  .timeline__item {
    padding: 52px 8px 16px;
    gap: 4px;
  }

  .timeline__level {
    font-size: 13px;
  }

  .timeline__item h3 {
    font-size: 16px;
  }

  .timeline__item p {
    font-size: 13px;
    max-width: none;
  }
}

@media (min-width: 521px) and (max-width: 1024px) {
  .hero {
    --hero-min-height: 577px;
    --hero-logo-top: 45%;
    --hero-content-bottom: 22px;
  }

  .hero__logo {
    width: min(320px, 42vw);
  }

  .hero__title {
    font-size: 32px;
  }

  .hero__text {
    font-size: 16px;
  }

  .hero__actions {
    margin-top: 24px;
  }

  .hero__scroll {
    margin-top: 24px;
  }

  .hero .btn {
    height: 44px;
    padding: 0 32px;
    font-size: 14px;
  }

  h2 {
    font-size: 36px;
  }

  .section {
    padding: 56px 0;
  }

  .steps {
    padding: 100px 0 56px;
  }

  .steps__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .step-card {
    min-height: 300px;
    padding: 0 16px 28px;
  }

  .step-card h3 {
    font-size: 18px;
  }

  .step-card p {
    font-size: 14px;
  }

  .steps__button {
    min-width: 240px;
    height: 44px;
    font-size: 14px;
  }

  .activation .container {
    width: min(100% - 48px, 1336px);
  }

  .activation .section-head p:not(.eyebrow) {
    font-size: 18px;
  }

  .final-cta__inner {
    min-height: 320px;
    padding: 48px 28px;
  }

  .final-cta .container {
    width: min(100% - 48px, 1336px);
  }

  .final-cta__inner h2 {
    font-size: 32px;
  }

  .final-cta__inner p:not(.eyebrow) {
    font-size: 18px;
  }

  .countdown .container {
    width: min(100% - 48px, 1336px);
  }

  .faq .container {
    width: min(100% - 48px, 1336px);
  }

  .faq__list {
    width: 100%;
  }

  .footer__grid {
    grid-template-columns: 1.5fr .8fr .7fr;
    gap: 40px;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(100% - 32px, var(--container));
  }

  .section {
    padding: 48px 0;
  }

  .steps {
    padding: 72px 0 48px;
  }

  .steps .section-head {
    margin-bottom: 30px;
  }

  .section-head {
    gap: 12px;
    margin-bottom: 30px;
  }

  .section-head p:not(.eyebrow) {
    font-size: 16px;
  }

  .activation .container {
    width: min(100% - 40px, var(--container));
  }

  .activation .section-head {
    gap: 16px;
    margin-bottom: 0;
  }

  .activation .section-head h2 {
    max-width: 480px;
  }

  .activation .section-head p:not(.eyebrow) {
    max-width: 480px;
    font-size: 16px;
    font-weight: 600;
  }

  h1 {
    font-size: clamp(38px, 12vw, 52px);
  }

  h2 {
    font-size: 31px;
  }

  h3 {
    font-size: 20px;
  }

  .hero {
    --hero-min-height: 500px;
  }

  .hero__header {
    padding: 4px 24px;
  }

  .hero__brand img {
    width: 148px;
  }

  .hero__logo {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: min(280px, 70vw);
    margin: 0 auto 8px;
  }

  .hero__content {
    padding-bottom: 20px;
  }

  .hero__title {
    font-size: clamp(22px, 5.5vw, 34px);
    white-space: normal;
  }

  .hero__text {
    max-width: 460px;
    margin-top: 10px;
    font-size: 14px;
    font-weight: 500;
  }

  .hero__text br {
    display: none;
  }

  .hero__actions {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
  }

  .hero__actions .btn {
    width: auto;
    min-width: 140px;
    height: 44px;
    padding: 0 24px;
    font-size: 14px;
    font-weight: 600;
  }

  .hero__scroll {
    margin-top: 16px;
    padding: 10px;
  }

  .hero__scroll img {
    height: 18px;
  }

  .btn {
    min-width: 0;
  }

  .timer__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
  }

  .timer__value {
    width: 100%;
    height: auto;
    font-size: clamp(28px, 8vw, 48px);
  }

  .timer__item {
    height: auto;
    min-height: 0;
    padding: 14px 8px;
  }

  .timer__label {
    width: 100%;
    height: auto;
    font-size: 11px;
  }

  .countdown .container {
    width: min(100% - 32px, var(--container));
    gap: 32px;
  }

  .countdown h2 {
    white-space: normal;
  }

  .countdown p {
    font-size: 16px;
  }

  .steps__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .steps__grid::before {
    display: none;
  }

  .step-card {
    min-height: 0;
    max-width: 440px;
    padding: 0 24px 40px;
  }

  .step-card h3 {
    font-size: 24px;
  }

  .step-card p {
    font-size: 17px;
  }

  .timeline {
    grid-template-columns: 1fr;
    gap: 0;
    max-width: 480px;
    padding: 0;
  }

  .timeline__item {
    align-items: flex-start;
    min-height: 72px;
    padding: 12px 0 12px 32px;
    border-radius: 0;
    background: transparent;
    text-align: left;
  }

  .timeline__item::before,
  .timeline__item::after {
    left: 10px;
    right: auto;
    width: 2px;
  }

  .timeline__item::before {
    top: 0;
    height: 12px;
  }

  .timeline__item::after {
    top: 32px;
    height: calc(100% - 32px);
  }

  .timeline__num,
  .timeline__num--done {
    left: 10px;
    top: 12px;
    width: 20px;
    height: 20px;
    font-size: 11px;
  }

  .timeline__level {
    font-size: 14px;
  }

  .timeline__item h3 {
    font-size: 20px;
  }

  .timeline__item p {
    max-width: none;
    font-size: 16px;
  }

  .final-cta__inner {
    min-height: 300px;
    padding: 40px 20px;
  }

  .final-cta .container {
    width: min(100% - 40px, var(--container));
  }

  .final-cta__inner::before {
    left: -250%;
    top: -100%;
    width: 560%;
    height: 340%;
  }

  .final-cta__inner h2 br,
  .final-cta__inner p br {
    display: none;
  }

  .final-cta__inner p:not(.eyebrow) {
    font-size: 16px;
  }

  .final-cta__button {
    width: min(100%, 266px);
    min-width: 0;
  }

  .faq-item summary {
    min-height: 57px;
    padding: 16px 20px;
    font-size: 16px;
  }

  .faq-item p {
    padding: 0 20px 18px;
    font-size: 14px;
  }

  .faq .container {
    width: min(100% - 32px, var(--container));
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

}

@media (max-width: 520px) {
  .social__actions {
    flex-direction: column;
    width: 100%;
  }

  .social__button {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .hero__bg {
    background: url("../assets/img/hero-train520.png") 100% top / 140% auto no-repeat;
  }

  h2 {
    font-size: 26px;
  }

  .hero {
    --hero-min-height: 640px;
  }

  .hero__logo {
    width: min(260px, 80vw);
    margin-bottom: 6px;
  }

  .hero__title {
    font-size: 36px;
  }

  .hero__title .prize-line {
    display: block;
  }

  .hero__content {
    padding-bottom: 0;
  }

  .hero__text {
    font-size: 14px;
    max-width: 300px;
  }

  .hero__actions {
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
  }

  .hero__actions .btn {
    width: 100%;
    max-width: 280px;
    height: 48px;
    font-size: 15px;
  }

  .timer__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    overflow: hidden;
    padding: 24px;
    border: 2px solid rgba(255, 255, 255, .9);
    border-radius: 12px;
    background:
      linear-gradient(rgba(35, 2, 81, .57), rgba(35, 2, 81, .57)),
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 480 115' preserveAspectRatio='none'%3E%3Cg transform='matrix(7.1132 -3.9771 14.166 3.5316 204.8 57.5)'%3E%3CforeignObject x='-319.75' y='-319.75' width='639.51' height='639.51'%3E%3Cdiv xmlns='http://www.w3.org/1999/xhtml' style='background-image: conic-gradient(from 90deg, rgb(89, 7, 225) 0%, rgb(131, 18, 193) 4.5673%, rgb(172, 29, 160) 9.1346%, rgb(214, 40, 128) 13.702%, rgb(255, 51, 95) 18.269%, rgb(199, 39, 89) 25.601%, rgb(143, 26, 84) 32.933%, rgb(87, 14, 78) 40.264%, rgb(59, 7, 75) 43.93%, rgb(31, 1, 72) 47.596%, rgb(32, 15, 56) 60.337%, rgb(32, 29, 39) 73.077%, rgb(39, 26, 62) 76.442%, rgb(46, 24, 86) 79.808%, rgb(61, 18, 132) 86.538%, rgb(75, 13, 179) 93.269%, rgb(89, 7, 225) 100%); opacity:1; height:100%; width:100%;'%3E%3C/div%3E%3C/foreignObject%3E%3C/g%3E%3C/svg%3E"),
      linear-gradient(#fff, #fff);
    background-size: 100% 100%;
  }

  .timer__value {
    font-size: 36px;
  }

  .timer__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .timer__item + .timer__item {
    border-left: 0;
  }

  .timer__label {
    margin-top: 3px;
    font-size: 14px;
  }

  .social__inner p {
    font-size: 14px;
  }

  .footer p,
  .footer a {
    font-size: 11px;
  }
}

@media (min-width: 361px) and (max-width: 520px) {
  .hero__bg {
    background-position: center top;
    background-size: 100% auto;
  }

  .hero {
    --hero-min-height: 660px;
  }

  .hero__actions {
    width: auto;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 16px;
  }

  .hero__actions .btn {
    width: auto;
    max-width: none;
    min-width: 180px;
    padding: 0 28px;
  }
}
