@font-face {
  font-family: "Tilda Sans";
  src: url("/assets/TildaSans-VF.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #000000;
  --muted: #efefef;
  --link: #ff8562;
  --accent: #3809e0;
  --content: 960px;
  --font: "Tilda Sans", Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: #ffffff;
  color: var(--ink);
  font-family: var(--font);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
}

a {
  color: var(--link);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

.hero {
  padding: 95px 24px 52px;
  text-align: center;
}

.event-date {
  margin: 0 0 22px;
  padding-top: 3px;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 500;
  letter-spacing: 2.5px;
}

.hero h1 {
  margin: 0;
  font-size: 30px;
  line-height: 1.23;
  font-weight: 550;
}

.hero h1 span {
  display: block;
}

.stats {
  padding: 30px 24px 28px;
  background: var(--muted);
  text-align: center;
  font-size: 22px;
  font-weight: 550;
  line-height: 1.4;
}

.stats p {
  margin: 0;
}

.partners {
  padding: 80px 24px 72px;
}

.section-heading {
  max-width: var(--content);
  margin: 0 auto 60px;
  text-align: center;
}

.section-heading h2,
.badge h2 {
  margin: 0;
  font-size: 42px;
  line-height: 1.23;
  font-weight: 600;
}

.section-heading p {
  max-width: 560px;
  margin: 28px auto 0;
  font-size: 24px;
  line-height: 1.5;
  font-weight: 300;
}

.partner-groups {
  max-width: 760px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.partner-group {
  display: grid;
  grid-template-columns: 65px minmax(0, 1fr);
  column-gap: 30px;
  align-items: start;
}

.partner-group + .partner-group {
  margin-top: 55px;
}

.partner-icon {
  display: block;
  width: 65px;
  height: 65px;
  overflow: hidden;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  color: transparent;
  user-select: none;
}

#general-partners .partner-icon {
  background-image: url("/assets/icon-general-partners.svg");
}

#partners .partner-icon {
  background-image: url("/assets/icon-partners.svg");
}

#supporters .partner-icon {
  background-image: url("/assets/icon-supporters.svg");
}

.partner-copy h3 {
  margin: 1px 0 17px;
  font-size: 20px;
  line-height: 1.35;
  font-weight: 600;
}

.partner-copy p {
  margin: 0;
  font-size: 18px;
  line-height: 1.55;
  font-weight: 300;
}

.partner-copy .current {
  font-weight: 500;
}

.partner-copy .past-title {
  margin-top: 22px;
  font-weight: 550;
  font-style: italic;
}

.partner-copy .past {
  margin-top: 3px;
  font-style: italic;
  color: #858585;
}

.badge {
  padding: 80px 24px 72px;
  background: var(--muted);
  text-align: center;
}

.badge-content {
  max-width: 760px;
  margin: 0 auto;
}

.badge h2 {
  font-size: 48px;
}

.badge-steps {
  margin-top: 25px;
  font-size: 24px;
  line-height: 1.5;
}

.badge-steps p {
  margin: 0;
}

.badge-steps .hint {
  font-style: italic;
}

.badge-action {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin-top: 42px;
}

.badge-arrow {
  fill: #c9c9c9;
}

.badge-arrow-desktop {
  position: absolute;
  top: 50%;
  left: -30px;
  width: 45px;
  transform: translate(-100%, -50%);
}

.badge-arrow-mobile {
  display: none;
}

.badge-button {
  display: inline-flex;
  min-height: 60px;
  align-items: center;
  justify-content: center;
  padding: 0 60px;
  border-radius: 100px;
  background: var(--accent);
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  transition: transform .2s ease, opacity .2s ease;
}

.badge-button:hover,
.badge-button:focus-visible {
  text-decoration: none;
  opacity: .88;
  transform: translateY(-1px);
}

@media (max-width: 1200px) {
  .event-date {
    font-size: 14px;
  }

  .stats {
    font-size: 20px;
  }

  .section-heading h2 {
    font-size: 38px;
  }

  .section-heading p {
    font-size: 22px;
  }

  .partner-copy h3 {
    font-size: 18px;
  }

  .partner-copy p {
    font-size: 16px;
  }

  .badge h2 {
    font-size: 44px;
  }

  .badge-steps {
    font-size: 22px;
  }

  .badge-button {
    padding-right: 45px;
    padding-left: 45px;
  }
}

@media (max-width: 960px) {
  .section-heading {
    margin-bottom: 30px;
  }

  .section-heading p {
    margin-top: 14px;
  }

  .partner-groups {
    max-width: 640px;
  }

  .partner-group {
    grid-template-columns: 60px minmax(0, 1fr);
    column-gap: 20px;
  }

  .partner-group + .partner-group {
    margin-top: 34px;
  }

  .partner-icon {
    width: 60px;
    height: 60px;
  }

  .badge-action {
    display: flex;
    width: max-content;
    max-width: 100%;
    flex-direction: column;
    gap: 10px;
    margin: 20px auto 0;
  }

  .badge-arrow-desktop {
    display: none;
  }

  .badge-arrow-mobile {
    display: block;
    width: 20px;
    margin: 0 auto 10px;
  }
}

@media (max-width: 640px) {
  .event-date {
    font-size: 12px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .stats {
    padding: 26px 18px 24px;
    font-size: 18px;
    line-height: 1.4;
  }

  .section-heading h2,
  .badge h2 {
    font-size: 30px;
  }

  .section-heading p {
    font-size: 20px;
    line-height: 1.4;
  }

  .partner-group {
    grid-template-columns: 50px minmax(0, 1fr);
  }

  .partner-icon {
    width: 50px;
    height: 50px;
  }

  .partner-copy h3 {
    font-size: 16px;
  }

  .partner-copy p {
    font-size: 14px;
    line-height: 1.45;
  }

  .badge-steps {
    font-size: 20px;
    line-height: 1.4;
  }

  .badge-action,
  .badge-button {
    width: 100%;
  }

  .badge-button {
    padding-right: 30px;
    padding-left: 30px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 56px 20px 44px;
  }

  .partners {
    padding: 48px 20px 44px;
  }

  .badge {
    padding: 48px 20px 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .badge-button {
    transition: none;
  }
}
