:root {
  --red: #ff4338;
  --soft: #f7f7f7;
  font-family: 'Ubuntu', Arial, sans-serif;
  color: #000;
  background: #fff;
  font-synthesis: none;
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 280px;
}

h1,
h2,
h3,
p {
  margin: 0;
}

button {
  font: inherit;
}

button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}

button,
summary {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

img {
  display: block;
  max-width: 100%;
}

picture {
  display: block;
}

button {
  color: inherit;
}

:focus-visible {
  outline: 3px solid #315c98;
  outline-offset: 4px;
}

[hidden] {
  display: none !important;
}

section[id] {
  scroll-margin-top: 24px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 10;
  padding: 12px;
  background: white;
}

.skip-link:focus {
  top: 24px;
}

.container {
  width: min(1416px, calc(100% - 72px));
  margin-inline: auto;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 16px 30px;
  border: 0;
  border-radius: 4px;
  background: var(--red);
  color: white;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  letter-spacing: 1.44px;
  text-transform: uppercase;
  text-align: center;
}

.button:hover {
  background: #e7352c;
  text-decoration: none;
}

.button--white {
  background: white;
  color: var(--red);
}

.button--white:hover {
  background: #f3f3f3;
}

.ticker {
  height: 20px;
  overflow: hidden;
  background: var(--red);
  color: white;
}

.ticker__track {
  display: flex;
  width: max-content;
  animation: ticker 45s linear infinite;
}

.ticker__track span {
  flex: 0 0 554px;
  padding-inline: 24px;
  white-space: nowrap;
  text-align: center;
  font-size: 11px;
  line-height: 20px;
  letter-spacing: .88px;
  text-transform: uppercase;
}

.ticker:hover .ticker__track {
  animation-play-state: paused;
}

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

.header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 80px;
  padding-inline: 36px;
  background: white;
  z-index: 2;
}

.brand {
  flex-shrink: 0;
  display: inline-block;
}

.navigation {
  display: flex;
  align-items: center;
  gap: 32px;
}

.navigation > a:not(.button) {
  font-size: 12px;
  line-height: 20px;
  letter-spacing: .96px;
  text-transform: uppercase;
}

.navigation > a:hover {
  color: var(--red);
}

.header__cta {
  width: 266px;
}

.menu-toggle,
.navigation__mobile-cta {
  display: none;
}

.hero {
  position: relative;
  width: 100%;
  aspect-ratio: 1728 / 711;
}

.hero__image {
  position: absolute;
  inset: 0;
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__content {
  position: absolute;
  top: 18.56%;
  left: 0;
  width: 40.625%;
  text-align: center;
  color: white;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(48px, 5.324vw, 92px);
  font-weight: 500;
  line-height: 1;
}

.hero h1 span {
  font-weight: 300;
}

.hero__subtitle {
  margin-top: 42px;
  font-size: clamp(22px, 2.2vw, 38px);
  line-height: 40px;
  font-weight: 500;
}

.hero__description {
  width: calc(100% - 48px);
  max-width: 594px;
  margin: 42px auto;
  font-size: 13px;
  line-height: 23px;
  font-weight: 500;
}

.hero__cta {
  width: 300px;
  max-width: 90%;
}

.section {
  padding-top: 80px;
}

h2 {
  font-size: clamp(40px, 4.167vw, 72px);
  line-height: 1.028;
  font-weight: 500;
  text-transform: uppercase;
  text-align: center;
}

.section > h2 {
  margin-bottom: 80px;
}

.prizes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.prize {
  padding: 6.579% 6.579% 9.43%;
  border-radius: 20px;
  background: var(--soft);
  min-width: 0;
}

.prize__image {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 396 / 485;
  border-radius: 20px;
  background: white;
  overflow: hidden;
}

.prize__image picture,
.prize__image img {
  width: 100%;
}

.prize__image img {
  height: auto;
}

.prize h3 {
  margin-top: 42px;
  font-size: 13px;
  line-height: 18px;
  font-weight: 500;
  text-align: center;
  text-transform: uppercase;
}

.campaign {
  margin-top: 80px;
}

.campaign img,
.editorial img {
  width: 100%;
  height: auto;
}

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 15px 20px 24px;
  border-radius: 20px;
  background: var(--soft);
  text-align: center;
}

.step__number {
  display: block;
  font-size: 72px;
  line-height: 69px;
  font-weight: 500;
  color: #e1e2e0;
}

.step > img {
  flex-shrink: 0;
  margin-top: 10px;
}

.step p {
  max-width: 264px;
  min-height: 36px;
  margin-top: 10px;
  font-size: 13px;
  line-height: 18px;
  font-weight: 500;
  text-transform: uppercase;
}

.step__club-link {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.step a:hover {
  color: var(--red);
}

.ticker--second {
  margin-top: 80px;
}

.registration {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: var(--soft);
}

.registration__content {
  padding: 80px 24px;
  min-height: 706px;
}

.registration h2 {
  margin-bottom: 80px;
}

.registration__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rules {
  text-align: center;
}

.rules > h2 {
  margin-bottom: 52px;
}

.rules > .button {
  width: 300px;
  max-width: 100%;
}

.editorial {
  margin-top: 80px;
}

.footer {
  margin: 120px 36px 0;
  border-top: 1px solid #e1e2e0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 208fr 214fr 603fr 335fr;
  gap: clamp(24px, 4.63vw, 80px);
  padding-block: 28px;
}

.footer h3,
.footer summary {
  font-size: 15px;
  line-height: 20px;
  font-weight: 500;
  text-transform: uppercase;
}

.footer p,
.footer__links {
  font-size: 13px;
  line-height: 20px;
  color: #515151;
}

.footer__brand h3 {
  margin: 42px 0 12px;
}

.socials {
  display: flex;
  gap: 8px;
}

.socials > * {
  flex: 0 0 46px;
}

.footer__details {
  min-width: 0;
}

.footer summary {
  list-style: none;
}

.footer summary::-webkit-details-marker {
  display: none;
}

.footer__detail-content {
  padding-top: 12px;
}

.footer__details + .footer__details {
  margin-top: 28px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__terms p {
  line-height: 1.68;
}

.footer__app-description {
  margin-top: 12px;
  min-height: 36px;
}

.app-download {
  display: flex;
  gap: 16px;
  margin-top: 32px;
}

.app-download__qr {
  width: 148px;
  height: 148px;
  flex-shrink: 0;
}

.app-download__buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.app-download__buttons img {
  max-width: none;
}

.footer__copyright {
  padding-block: 26px 32px;
  border-top: 1px solid #e1e2e0;
  color: #8c8c8c !important;
}

@media (min-width: 768px) {
  .footer__details:not([open]) > .footer__detail-content {
    display: block;
  }
  .footer summary {
    pointer-events: none;
  }
}

@media (min-width: 768px) and (max-width: 1439px) {
  .header__cta {
    width: 200px;
  }
  .navigation {
    gap: 20px;
  }
  .hero__subtitle {
    margin-top: 24px;
    line-height: 1.1;
  }
  .hero__description {
    margin-block: 24px;
    font-size: 11px;
    line-height: 18px;
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .registration h2 {
    font-size: 48px;
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .header {
    padding-inline: 24px;
    gap: 16px;
  }
  .header__cta {
    display: none;
  }
  .navigation > a:not(.button) {
    font-size: 11px;
  }
  .hero {
    min-height: 440px;
  }
  .hero__content {
    top: 14%;
    width: 45%;
  }
  .hero h1 {
    font-size: 48px;
  }
  .hero__description {
    margin-block: 20px;
  }
  .prizes,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .registration h2 {
    font-size: 38px;
  }
  .registration__content {
    padding: 52px 24px;
    min-height: 650px;
  }
  .registration h2 {
    margin-bottom: 52px;
  }
}

@media (max-width: 767px) {
  .container {
    width: calc(100% - 32px);
  }
  .header {
    height: 60px;
    padding-inline: 16px;
  }
  .header .brand {
    width: 86px;
  }
  .header .brand img {
    width: 86px;
    height: auto;
  }
  .header__cta {
    display: none;
  }
  .menu-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    margin-right: -6px;
    border: 0;
    background: transparent;
  }
  .menu-toggle[aria-expanded="true"] {
    background: var(--soft);
    border-radius: 4px;
  }
  .navigation {
    display: none;
    position: absolute;
    top: 60px;
    inset-inline: 0;
    padding: 24px 16px;
    background: white;
    box-shadow: 0 8px 12px rgb(0 0 0 / .12);
  }
  .navigation.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }
  .navigation__mobile-cta {
    display: flex;
  }
  .hero {
    aspect-ratio: auto;
    height: 560px;
  }
  .hero__image {
    bottom: 60px;
  }
  .hero__image img {
    object-position: center top;
  }
  .hero__content {
    position: static;
    width: 100%;
  }
  .hero h1 {
    position: absolute;
    top: 332px;
    left: 16px;
    right: 16px;
    font-size: 38px;
    line-height: 38px;
  }
  .hero__subtitle {
    position: absolute;
    top: 424px;
    left: 16px;
    right: 16px;
    margin: 0;
    font-size: 16px;
    line-height: 16px;
  }
  .hero__description {
    position: absolute;
    top: 454px;
    left: 16px;
    right: 16px;
    width: auto;
    max-width: 343px;
    margin: 0 auto;
    padding: 0;
    font-size: 8px;
    line-height: 10px;
  }
  .desktop-break {
    display: none;
  }
  .hero__cta {
    position: absolute;
    bottom: 0;
    left: 16px;
    right: 16px;
    width: auto;
    max-width: none;
    background: var(--red);
    color: white;
  }
  .hero__cta:hover {
    background: #e7352c;
  }
  .section {
    padding-top: 52px;
  }
  h2 {
    font-size: 36px;
    line-height: 38px;
  }
  .section > h2 {
    margin-bottom: 28px;
  }
  .prizes {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  .prize {
    padding: 6.579% 6.579% 9.43%;
  }
  .prize h3 {
    margin-top: 32px;
    font-size: 10px;
    line-height: 14px;
  }
  .campaign {
    margin-top: 52px;
  }
  .campaign img {
    aspect-ratio: 343 / 224;
    object-fit: cover;
  }
  #participation h2 {
    max-width: 343px;
    margin-inline: auto;
  }
  .steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  .step {
    padding: 15px 20px 22px;
    min-height: 315px;
  }
  .step > img {
    margin-top: 12px;
  }
  .step p {
    margin-top: 16px;
  }
  .ticker--second {
    margin-top: 52px;
  }
  .registration {
    display: flex;
    flex-direction: column;
  }
  .registration__image {
    order: -1;
  }
  .registration__image img {
    height: auto;
    aspect-ratio: 375 / 296.5;
    object-fit: cover;
  }
  .registration__content {
    min-height: 520px;
    padding: 28px 16px;
  }
  .registration h2 {
    margin-bottom: 28px;
  }
  .rules > h2 {
    margin-bottom: 28px;
  }
  .rules > h2 br {
    display: none;
  }
  .rules > .button {
    width: 100%;
  }
  .editorial {
    margin-top: 52px;
  }
  .footer {
    margin: 52px 16px 0;
  }
  .footer__grid {
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding-block: 26px;
  }
  .footer__brand h3 {
    margin-top: 26px;
  }
  .footer__details + .footer__details {
    margin-top: 32px;
  }
  .footer summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .footer summary::after {
    content: '+';
    font-size: 20px;
    font-weight: 300;
  }
  .footer details[open] > summary::after {
    content: '−';
  }
  .footer__terms p {
    font-size: 12px;
  }
  .footer__app-description,
  .app-download__qr {
    display: none;
  }
  .app-download {
    margin-top: 12px;
  }
  .app-download__buttons {
    flex-direction: row;
  }
  .app-download__buttons img {
    width: 44px;
    height: 44px;
  }
  .footer__copyright {
    padding-block: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }
  .ticker__track {
    animation: none;
  }
}
