:root {
  --ink: #161618;
  --muted: #6e6e73;
  --surface: #f5f5f7;
  --blue: #1554ee;
  --navy: #08055f;
  --line: rgba(0, 0, 0, 0.09);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
@view-transition {
  navigation: auto;
}
::view-transition-old(root) {
  animation: page-out 0.2s ease both;
}
::view-transition-new(root) {
  animation: page-in 0.34s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes page-out {
  to {
    opacity: 0;
    transform: translateY(-8px);
  }
}
@keyframes page-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: -apple-system, BlinkMacSystemFont, 'Alexandria', sans-serif;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea {
  font: inherit;
}
.skip-link {
  position: fixed;
  top: -60px;
  right: 20px;
  z-index: 100;
  padding: 12px 18px;
  color: #fff;
  background: #000;
  border-radius: 12px;
}
.skip-link:focus {
  top: 12px;
}
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  background: rgba(250, 250, 252, 0.82);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(20px);
}
.nav-shell {
  width: min(1120px, calc(100% - 40px));
  height: 52px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  direction: ltr;
  color: var(--navy);
  font:
    700 17px/1 Manrope,
    sans-serif;
  letter-spacing: 0.2em;
}
.nav-links {
  display: flex;
  gap: 30px;
  margin-inline: auto;
  font-size: 12px;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.language {
  border: 0;
  background: transparent;
  color: #424245;
  font: 600 11px Manrope;
  cursor: pointer;
}
.nav-cta {
  padding: 8px 15px;
  color: #fff;
  background: var(--blue);
  border-radius: 999px;
  font-size: 11px;
}
.hero {
  position: relative;
  min-height: 720px;
  padding: 150px 24px 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  background: #fff;
}
.hero-glow {
  position: absolute;
  top: -250px;
  width: 900px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(29, 105, 255, 0.2), transparent 67%);
}
.hero > *:not(.hero-glow) {
  position: relative;
}
.eyebrow {
  margin: 0 0 16px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
}
.hero h1 {
  max-width: 1000px;
  margin: 0;
  font-size: clamp(52px, 8vw, 100px);
  line-height: 1.04;
  letter-spacing: -0.065em;
  font-weight: 600;
}
.hero-copy {
  max-width: 680px;
  margin: 28px auto 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.8;
}
.hero-button,
.submit-button {
  margin-top: 30px;
  padding: 15px 25px;
  color: #fff;
  background: var(--blue);
  border: 0;
  border-radius: 999px;
  font-size: 14px;
  cursor: pointer;
  transition: 0.2s;
}
.hero-button:hover,
.submit-button:hover {
  transform: translateY(-2px);
  background: #0b43cb;
}
.opportunities,
.how-it-works {
  width: min(1180px, calc(100% - 48px));
  margin: auto;
  padding: 110px 0;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
  margin-bottom: 42px;
}
.section-heading h2,
.how-it-works h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
  letter-spacing: -0.045em;
}
.section-heading > p {
  max-width: 390px;
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}
.tabs {
  display: flex;
  gap: 8px;
  padding: 6px;
  margin-bottom: 20px;
  border-radius: 18px;
  background: #e9e9ed;
  width: max-content;
}
.tab {
  padding: 11px 17px;
  border: 0;
  border-radius: 13px;
  background: transparent;
  color: #6e6e73;
  cursor: pointer;
}
.tab b {
  margin-inline-start: 8px;
  padding: 2px 7px;
  background: rgba(0, 0, 0, 0.06);
  border-radius: 999px;
  font-size: 11px;
}
.tab.active {
  color: #111;
  background: #fff;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
}
.filters {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}
.search-box {
  width: min(520px, 100%);
  height: 50px;
  margin: 0 0 18px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: 14px;
}
.search-box span {
  color: #777;
  font-size: 24px;
}
.search-box input {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  outline: 0;
}
.filter {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  cursor: pointer;
}
.filter.active {
  color: #fff;
  background: #161618;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card {
  min-height: 410px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 30px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 28px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.04);
  transition:
    transform 0.28s ease,
    opacity 0.22s ease,
    box-shadow 0.28s ease;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.07);
}
body.is-leaving .card {
  opacity: 0.45;
  transform: translateY(-7px);
}
.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: #303036;
  background: #f0f0f3;
  border-radius: 15px;
  font: 700 13px Manrope;
}
.badge {
  padding: 7px 11px;
  color: #65656b;
  background: #f1f1f3;
  border: 0;
  border-radius: 999px;
  font-size: 10px;
}
.badge.part {
  color: #65656b;
  background: #f1f1f3;
}
.meta {
  margin: 0 0 12px !important;
  color: var(--blue) !important;
  font-size: 11px;
}
.card h3 {
  margin: 0 0 14px;
  font-size: 22px;
  line-height: 1.45;
}
.card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
}
.apply-button {
  align-self: flex-start;
  padding: 11px 17px;
  border: 1px solid #d5d5da;
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
  transition: 0.2s;
}
.apply-button:hover {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
}
#challenges-panel {
  grid-template-columns: repeat(2, 1fr);
}
.challenge-card {
  min-height: 430px;
}
.prize {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.prize small {
  color: var(--muted);
}
.prize strong {
  font-size: 27px;
}
.prize span {
  font-size: 12px;
}
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.card-footer > span {
  color: var(--muted);
  font-size: 11px;
}
.hidden {
  display: none !important;
}
.how-it-works {
  padding-top: 50px;
  text-align: center;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 50px;
  text-align: start;
  background: #fff;
  border-radius: 30px;
  overflow: hidden;
}
.steps > div {
  padding: 40px;
  border-inline-end: 1px solid var(--line);
}
.steps > div:last-child {
  border: 0;
}
.steps b {
  color: var(--blue);
  font: 600 12px Manrope;
}
.steps h3 {
  margin: 45px 0 10px;
  font-size: 22px;
}
.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}
dialog {
  width: min(560px, calc(100% - 32px));
  padding: 36px;
  border: 0;
  border-radius: 28px;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.24);
}
#application-dialog {
  display: none !important;
}
dialog::backdrop {
  background: rgba(5, 8, 18, 0.5);
  backdrop-filter: blur(6px);
}
.dialog-close {
  position: absolute;
  top: 18px;
  inset-inline-end: 18px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  font-size: 25px;
  line-height: 1;
  background: #f0f0f3;
  cursor: pointer;
}
dialog h2 {
  margin: 0 0 28px;
  padding-inline-end: 32px;
  font-size: 28px;
  line-height: 1.4;
}
form {
  display: grid;
  gap: 17px;
}
label span {
  display: block;
  margin-bottom: 7px;
  font-size: 12px;
  font-weight: 600;
}
input,
textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #d4d4d9;
  border-radius: 12px;
  background: #fafafa;
  outline: none;
}
input:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(21, 84, 238, 0.12);
}
.submit-button {
  width: 100%;
  margin: 5px 0 0;
}
.form-note {
  text-align: center;
  margin: 0;
  color: var(--muted);
  font-size: 10px;
}
.success {
  text-align: center;
  padding: 45px 5px;
}
.success span {
  width: 60px;
  height: 60px;
  margin: auto;
  display: grid;
  place-items: center;
  color: #fff;
  background: #19a966;
  border-radius: 50%;
  font-size: 30px;
}
.success h3 {
  font-size: 25px;
  margin: 20px 0 10px;
}
.success p {
  color: var(--muted);
  line-height: 1.7;
}
@media (max-width: 800px) {
  .nav-links {
    display: none;
  }
  .hero {
    min-height: 650px;
    padding-top: 120px;
  }
  .section-heading {
    display: block;
  }
  .section-heading > p {
    margin-top: 18px;
  }
  .cards,
  #challenges-panel {
    grid-template-columns: 1fr;
  }
  .card {
    min-height: 350px;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .steps > div {
    border-inline-end: 0;
    border-bottom: 1px solid var(--line);
  }
  .steps h3 {
    margin-top: 25px;
  }
}
@media (max-width: 520px) {
  .nav-cta {
    display: none;
  }
  .hero h1 {
    font-size: 48px;
  }
  .opportunities,
  .how-it-works {
    width: min(100% - 32px, 1180px);
    padding-block: 75px;
  }
  .tabs {
    width: 100%;
  }
  .tab {
    flex: 1;
    padding-inline: 8px;
    font-size: 11px;
  }
  .card {
    padding: 23px;
  }
  .section-heading h2,
  .how-it-works h2 {
    font-size: 36px;
  }
  dialog {
    padding: 28px 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
