:root {
  --page-bg: #ffffff;
  --surface: #ffffff;
  --surface-muted: #f6f9fd;
  --stroke: #e7edf4;
  --text: #101828;
  --muted: #60708c;
  --navy: #11294f;
  --blue: #0180ff;
  --blue-soft: #e9f3ff;
  --shadow: 0 30px 90px rgba(16, 24, 40, 0.07);
  --radius-xl: 38px;
  --radius-lg: 28px;
  --radius-md: 20px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: #ffffff;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: #ffffff;
  color: var(--text);
}

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

.page-shell {
  width: 100%;
  margin: 0 auto;
  padding: 0 0 72px;
  background: #ffffff;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  width: 100%;
  max-width: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
  padding: 10px 64px 10px 92px;
  margin: 0;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(224, 230, 238, 0.95);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  min-width: 0;
  flex: 0 0 auto;
}

.brand-logo {
  display: block;
  width: 118px;
  height: auto;
}

.nav-links,
.nav-actions,
.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-links a {
  color: #171717;
  font-size: 0.95rem;
  font-weight: 400;
  white-space: nowrap;
}

.nav-links a.is-active {
  font-weight: 600;
}

.nav-links {
  flex: 1 1 auto;
  justify-content: center;
  gap: 30px;
}

.nav-actions {
  flex: 0 0 auto;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 22px;
  border-radius: 15px;
  font-weight: 500;
  font-size: 0.88rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: none;
}

.button-secondary {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--stroke);
}

main {
  display: grid;
  gap: 0;
}

.section-card {
  background: var(--surface);
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.section-alt {
  background: #f6f7f9;
}

.hero {
  position: relative;
  min-height: calc(100vh - 110px);
  display: grid;
  place-items: center;
  padding: 92px 48px 86px;
  overflow: hidden;
  background: #fff;
  border-radius: 0;
  border: 0;
  box-shadow: none;
}

.eyebrow {
  margin: 10px 0 14px;
  font-size: 0.96rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: linear-gradient(90deg, #0f79ff 0%, #1bb8ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-eyebrow {
  text-transform: none;
}

.hero h1,
.section-heading h2,
.cta-banner h2 {
  margin: 0;
  font-size: clamp(4.2rem, 6vw, 6.9rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
  color: var(--navy);
}

.section-heading h2,
.cta-banner h2 {
  font-size: clamp(1.6rem, 2.25vw, 2.5rem);
}

.hero-lead,
.section-heading p:last-child,
.hero-note,
.reward-copy,
.criteria-note,
.info-copy,
.cta-banner p,
.info-card li,
.steps li {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

.hero-copy {
  display: grid;
  gap: 18px;
  align-content: center;
  justify-items: center;
  text-align: center;
  max-width: 1160px;
  position: relative;
  z-index: 1;
  padding-top: 0;
  transform: translateY(-36px);
}

.countdown {
  display: grid;
  gap: 10px;
  justify-items: center;
}

.countdown-label {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.countdown-timer {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.countdown-unit {
  min-width: 78px;
  padding: 12px 14px;
  background: #f6f7f9;
  border-radius: 18px;
  display: grid;
  gap: 4px;
  justify-items: center;
}

.countdown-value {
  font-size: clamp(1.35rem, 2.1vw, 1.9rem);
  line-height: 1;
  font-weight: 800;
  color: var(--navy);
}

.countdown-name {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
}

.hero-line {
  display: block;
}

.hero-line-dark {
  color: #070b14;
}

.hero-line-gradient {
  background: linear-gradient(90deg, #0f79ff 0%, #16c4f4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-body {
  display: grid;
  gap: 16px;
  justify-items: center;
  max-width: 940px;
}

.hero-subheading {
  margin: 0;
  font-size: clamp(1.2rem, 1.8vw, 1.6rem);
  line-height: 1.2;
  font-weight: 800;
  color: #0b1220;
}

.hero-lead {
  max-width: 840px;
  margin: 0 auto;
  font-size: 1.02rem;
  line-height: 1.55;
  color: #252f43;
}

.hero-scroll {
  margin-top: 10px;
  font-size: 2rem;
  line-height: 1;
  color: var(--blue);
}

.hero-deco {
  position: absolute;
  display: block;
  pointer-events: none;
}

.hero-deco {
  width: auto;
  height: auto;
}

.hero-coin {
  filter: none;
}

.hero-coin-left-top {
  width: 162px;
  left: 76px;
  top: 160px;
}

.hero-coin-right-top {
  width: 138px;
  right: 88px;
  top: 176px;
}

.hero-coin-left-bottom {
  width: 288px;
  left: -8px;
  bottom: -14px;
}

.hero-coin-right-bottom {
  width: 214px;
  right: 66px;
  bottom: 26px;
}

.hero-star {
  width: 52px;
}

.hero-star-left-top,
.hero-star-right-top {
  top: 330px;
  width: 34px;
}

.hero-star-left-mid,
.hero-star-right-mid {
  top: 396px;
  width: 58px;
}

.hero-star-left-bottom,
.hero-star-right-bottom {
  top: 560px;
  width: 34px;
}

.hero-star-left-top {
  left: 120px;
  transform: scaleX(-1);
}

.hero-star-left-mid {
  left: 156px;
  transform: scaleX(-1);
}

.hero-star-left-bottom {
  left: 308px;
  transform: scaleX(-1);
}

.hero-star-right-top {
  right: 120px;
}

.hero-star-right-mid {
  right: 156px;
}

.hero-star-right-bottom {
  right: 308px;
}

.hero-badge,
.card-kicker {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 15px;
  background: var(--blue-soft);
  border-radius: 999px;
  color: var(--blue);
  font-size: 0.92rem;
  font-weight: 700;
}

.hero-panel h2,
.info-card h3,
.reward-card h3,
.criteria-card h3 {
  margin: 0 0 12px;
  font-size: 1.55rem;
  line-height: 1.15;
  color: var(--navy);
}

.hero-metrics article,
.criteria-card,
.info-card,
.reward-card {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--stroke);
  border-radius: 24px;
}

.info-card .card-header {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 12px;
  margin-bottom: 16px;
}

.metric-label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-metrics strong,
.reward-amount {
  font-size: 1.8rem;
  color: var(--navy);
}

.content-grid,
.cta-banner {
  padding: 72px 48px;
}

.section-heading {
  display: grid;
  gap: 14px;
  margin-bottom: 34px;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
  justify-items: center;
  text-align: center;
}

.section-heading p:last-child {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

.card-grid {
  display: grid;
  gap: 20px;
}

.three-up {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.two-up {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.info-card .card-kicker {
  flex: 0 0 auto;
}

.info-card h3 {
  flex: 1 1 auto;
}

.info-copy {
  margin: 0;
}

.info-card ul,
.steps {
  margin: 0;
  padding-left: 22px;
}

.info-card li,
.steps li {
  margin-bottom: 10px;
}

.info-card {
  background: #f6f7f9;
  border: 0;
  box-shadow: none;
  border-radius: 28px;
}

.section-alt .info-card,
.section-alt .reward-card,
.section-alt .criteria-card {
  background: #ffffff;
}

#agenda .info-card {
  background: #ffffff;
}

.section-alt .reward-placement,
.section-alt .reward-summary,
.section-alt .criteria-grid span {
  background: #ffffff;
}

.reward-card,
.criteria-card {
  background: #f6f7f9;
  border: 1px solid rgba(224, 230, 238, 0.95);
  box-shadow: none;
  border-radius: 28px;
}

#tracks .reward-card,
#tracks .criteria-card {
  background: #ffffff;
}

.agenda-card {
  display: grid;
  gap: 12px;
  align-content: start;
}

.agenda-card .card-kicker {
  margin-bottom: 4px;
}

.info-card a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 0.14em;
}

.reward-card {
  display: grid;
  gap: 20px;
  align-content: start;
}

.reward-placements {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.reward-placement {
  display: grid;
  gap: 8px;
  padding: 16px 18px;
  background: rgba(246, 247, 249, 0.9);
  border-radius: 18px;
  align-content: start;
}

.reward-rank {
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
}

.reward-summary {
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 16px 18px;
  background: rgba(246, 247, 249, 0.9);
  border-radius: 18px;
}

.reward-summary .reward-amount,
.reward-placement .reward-amount {
  line-height: 1;
}

.reward-placement .reward-amount,
.reward-summary .reward-amount {
  font-size: 2rem;
}

.reward-card .reward-copy {
  margin: 0;
}

.highlight {
  border-color: rgba(1, 128, 255, 0.28);
  background: linear-gradient(180deg, #fbfdff 0%, #f4f9ff 100%);
}

.criteria-card {
  display: grid;
  gap: 20px;
  margin-top: 22px;
}

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

.criteria-grid span {
  padding: 17px 18px;
  background: var(--surface-muted);
  border-radius: 18px;
  border: 1px solid #f5f7fa;
  color: var(--navy);
  font-weight: 600;
}

.link-row {
  margin-top: 16px;
}

.link-row a {
  color: var(--blue);
  font-weight: 700;
}

.cta-banner {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: center;
  margin-bottom: 20px;
}

.site-footer {
  margin: 40px 24px 0;
  padding: 46px 48px 28px;
  background: #ffffff;
  border: 0;
  border-radius: 34px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: flex-start;
}

.footer-brand-block {
  max-width: 420px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
}

.footer-logo {
  width: 158px;
  height: auto;
}

.footer-copy,
.footer-meta p,
.footer-disclaimer,
.footer-nav a,
.footer-socials a,
.footer-bottom-mark {
  color: #7a879b;
}

.footer-copy {
  margin: 22px 0 20px;
  font-size: 1rem;
  line-height: 1.45;
  color: #1a1f2b;
}

.footer-socials,
.footer-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-socials a,
.footer-nav a {
  font-size: 0.98rem;
  text-decoration: none;
}

.footer-meta a {
  color: #1a1f2b;
  text-decoration: none;
}

.footer-ton {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-ton img {
  width: 22px;
  height: 22px;
  display: block;
  opacity: 0.42;
  filter: grayscale(1);
}

.footer-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.footer-icon img {
  display: block;
  width: 24px;
  height: 24px;
}

.footer-nav {
  gap: 42px;
  align-self: flex-end;
  padding-bottom: 10px;
}

.footer-rule {
  height: 1px;
  margin: 34px 0 26px;
  background: rgba(224, 230, 238, 0.95);
}

.footer-meta {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}

.footer-meta p {
  margin: 0;
  font-size: 0.92rem;
}

.footer-disclaimer {
  margin: 24px 0 0;
  font-size: 0.92rem;
  line-height: 1.5;
}

.footer-bottom-mark {
  margin: 0;
  text-align: center;
  font-size: 0.95rem;
  color: #8a95a8;
}

@media (max-width: 1120px) {
  .topbar,
  .cta-banner {
    width: 100%;
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

  .nav-links {
    display: none;
  }

  .nav-actions {
    justify-content: stretch;
  }

  .brand-logo {
    width: 129px;
  }

  .three-up,
  .two-up,
  .criteria-grid {
    grid-template-columns: 1fr;
  }

  .footer-top,
  .footer-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-nav {
    align-self: flex-start;
    padding-bottom: 0;
    gap: 24px;
  }

  .hero {
    min-height: auto;
    padding: 88px 32px 64px;
  }

  .hero-ring,
  .hero-star {
    opacity: 0.55;
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: 100%;
    padding-top: 0;
  }

  main {
    padding-top: 88px;
  }

  .topbar,
  .hero,
  .content-grid,
  .cta-banner,
  .site-footer {
    padding: 24px;
  }

  .topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    min-height: 68px;
    gap: 10px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: calc(env(safe-area-inset-top) + 8px) 12px 8px 16px;
    background: #ffffff;
  }

  .topbar::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -120px;
    height: 120px;
    background: #ffffff;
    pointer-events: none;
    z-index: -1;
  }

  .hero h1,
  .section-heading h2,
  .cta-banner h2 {
    font-size: 2.95rem;
  }

  .section-heading h2,
  .cta-banner h2 {
    font-size: 2.1rem;
    line-height: 1.05;
  }

  .hero-subheading {
    font-size: 1.25rem;
  }

  .nav-actions,
  .hero-actions {
    flex-direction: row;
    align-items: center;
    gap: 8px;
  }

  .button {
    width: auto;
    min-height: 34px;
    padding: 0 14px;
    font-size: 0.78rem;
    border-radius: 12px;
  }

  .reward-placements {
    gap: 10px;
  }

  .reward-placement,
  .reward-summary {
    min-width: 0;
    padding: 14px 22px;
  }

  .reward-placement .reward-amount,
  .reward-summary .reward-amount {
    font-size: 1.75rem;
  }

  .countdown-timer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .countdown-unit {
    min-width: 0;
    width: 100%;
  }

  .hero {
    padding: 56px 24px 48px;
  }

  .hero-ring-top-left,
  .hero-ring-bottom-left,
  .hero-ring-top-right,
  .hero-ring-bottom-right,
  .hero-star,
  .hero-coin {
    display: none;
  }

  .site-footer {
    margin: 28px 0 0;
    border-radius: 24px;
  }
}
