:root {
  --duo-green: #58cc02;
  --duo-green-light: #61e002;
  --duo-green-dark: #46a302;
  --duo-green-shadow: #58a700;
  --ink: #3c3c3c;
  --ink-strong: #4b4b4b;
  --muted: #777777;
  --muted-light: #afafaf;
  --canvas: #ffffff;
  --wash-blue: #ddf4ff;
  --surface: #ffffff;
  --surface-alt: #f7f7f7;
  --border: #e5e5e5;
  --border-strong: #dadada;
  --link-blue: #1cb0f6;
  --link-blue-dark: #1b99d6;
  --navy: #042c60;
  --super-navy: #100f3e;
  --super-ink: #000437;
  --footer-soft: #d7ffb8;
  --warning: #ffc800;
  --streak: #ff9600;
  --ice-blue: #1cb0f6;
  --ice-deep: #0a6ebd;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 999px;
  --max: 988px;
  --wide: 1090px;
  --section-pad: 96px;
  --font-display: "Fredoka", "Nunito", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 500;
  line-height: 24px;
  color: var(--muted);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
}

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

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

a:hover {
  color: var(--link-blue-dark);
}

:focus-visible {
  outline: 3px solid var(--link-blue);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  padding: 12px 16px;
  background: var(--duo-green);
  color: #fff;
  font-weight: 700;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
}

.container {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--canvas);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--ink-strong);
  text-decoration: none;
}

.logo:hover {
  color: var(--ink);
}

.logo__mark {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, var(--wash-blue), #b8e8ff);
  display: grid;
  place-items: center;
  box-shadow: 0 3px 0 var(--border-strong);
}

.header-cta {
  flex-shrink: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 24px;
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.1s ease, background 0.15s ease, box-shadow 0.1s ease;
}

.btn--primary {
  color: #fff;
  background: var(--duo-green);
  box-shadow: 0 4px 0 var(--duo-green-shadow);
}

.btn--primary:hover {
  background: var(--duo-green-light);
  color: #fff;
}

.btn--primary:active {
  transform: translateY(4px);
  box-shadow: none;
}

.btn--secondary {
  color: var(--link-blue);
  background: var(--surface);
  border: 2px solid var(--border);
  box-shadow: 0 4px 0 var(--border-strong);
}

.btn--secondary:hover {
  background: var(--wash-blue);
  border-color: var(--link-blue);
  color: var(--link-blue-dark);
}

.btn--secondary:active {
  transform: translateY(4px);
  box-shadow: none;
}

.btn--wide {
  width: 100%;
  max-width: 330px;
}

.btn--super {
  color: var(--super-ink);
  background: #fff;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.2);
}

.btn--super:hover {
  background: var(--surface-alt);
  color: var(--super-ink);
}

.btn--super:active {
  transform: translateY(4px);
  box-shadow: none;
}

.btn--sm {
  min-height: 44px;
  padding: 0 16px;
  font-size: 13px;
}

/* Hero */
.hero {
  padding: 48px 0 56px;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.hero__visual {
  order: 2;
  display: flex;
  justify-content: center;
}

.hero__copy {
  order: 1;
  text-align: center;
}

.hero__eyebrow {
  display: inline-block;
  margin: 0 0 12px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ice-deep);
  background: var(--wash-blue);
  border-radius: var(--radius-pill);
}

.hero__title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 8vw, 4rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--duo-green);
}

.hero__subtitle {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 4vw, 2rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink-strong);
  max-width: 480px;
  margin-inline: auto;
}

.hero__lead {
  margin: 0 auto 28px;
  max-width: 473px;
  font-size: 17px;
  line-height: 24px;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.hero__note {
  margin: 16px 0 0;
  font-size: 14px;
  color: var(--muted-light);
}

/* Ice illustration */
.ice-scene {
  width: min(100%, 424px);
  aspect-ratio: 1;
  position: relative;
}

.ice-scene__card {
  position: absolute;
  inset: 8%;
  background: var(--wash-blue);
  border-radius: var(--radius-xl);
  border: 3px solid var(--border);
  overflow: hidden;
}

.ice-scene__snow {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image: radial-gradient(circle, #fff 2px, transparent 2px);
  background-size: 24px 24px;
}

.ice-scene__machine {
  position: absolute;
  left: 50%;
  top: 45%;
  transform: translate(-50%, -50%);
  width: 72%;
}

.slot-display {
  background: var(--super-navy);
  border-radius: var(--radius-lg);
  padding: 20px 16px 28px;
  box-shadow: 0 8px 0 rgba(4, 44, 96, 0.35);
}

.slot-display__reels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.slot-display__reel {
  background: #fff;
  border-radius: var(--radius-sm);
  height: 64px;
  display: grid;
  place-items: center;
  font-size: 28px;
}

.slot-display__label {
  text-align: center;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--footer-soft);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ice-scene__coin {
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--warning);
  border: 3px solid #e6b400;
  box-shadow: 0 4px 0 #c9a000;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 18px;
  color: #7a5a00;
}

.ice-scene__coin--1 {
  top: 5%;
  right: 8%;
  animation: float 4s ease-in-out infinite;
}

.ice-scene__coin--2 {
  bottom: 12%;
  left: 5%;
  animation: float 5s ease-in-out infinite 0.5s;
}

.ice-scene__flake {
  position: absolute;
  font-size: 24px;
  opacity: 0.85;
  animation: float 6s ease-in-out infinite;
}

.ice-scene__flake--1 {
  top: 18%;
  left: 10%;
}

.ice-scene__flake--2 {
  bottom: 22%;
  right: 12%;
  animation-delay: 1s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Game rail */
.game-rail {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
  background: var(--surface-alt);
}

.game-rail__label {
  margin: 0 0 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-light);
  text-align: center;
}

.game-rail__track {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
}

.chip__icon {
  font-size: 18px;
}

/* Benefits */
.benefits {
  padding: var(--section-pad) 0;
}

.section-title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--duo-green);
  text-align: center;
}

.section-lead {
  margin: 0 auto 48px;
  max-width: 560px;
  text-align: center;
}

.benefits__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.benefit-card {
  padding: 28px 24px;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  border-bottom-width: 4px;
  border-bottom-color: var(--border-strong);
}

.benefit-card__icon {
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
  border-radius: var(--radius-md);
  background: var(--wash-blue);
  display: grid;
  place-items: center;
  font-size: 26px;
}

.benefit-card__title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink-strong);
}

.benefit-card__text {
  margin: 0;
  font-size: 16px;
}

/* Feature sections */
.feature {
  padding: 64px 0;
}

.feature--alt {
  background: var(--wash-blue);
}

.feature__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.feature__grid--reverse .feature__visual {
  order: 2;
}

.feature__grid--reverse .feature__text {
  order: 1;
}

.feature__heading {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--duo-green);
}

.feature__text p {
  margin: 0 0 16px;
  max-width: 503px;
}

.feature__list {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.feature__list li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 12px;
  color: var(--ink);
}

.feature__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--duo-green);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.feature-panel {
  background: var(--surface);
  border-radius: var(--radius-xl);
  border: 3px solid var(--border);
  padding: 32px;
  box-shadow: 0 6px 0 var(--border-strong);
}

.progress-demo__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.progress-demo__streak {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  color: var(--streak);
  font-size: 18px;
}

.progress-demo__bar {
  height: 16px;
  background: var(--surface-alt);
  border-radius: var(--radius-pill);
  overflow: hidden;
  margin-bottom: 16px;
}

.progress-demo__fill {
  height: 100%;
  width: 72%;
  background: var(--duo-green);
  border-radius: var(--radius-pill);
}

.progress-demo__nodes {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.progress-demo__node {
  flex: 1;
  text-align: center;
  padding: 12px 8px;
  background: var(--wash-blue);
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
}

.progress-demo__node--done {
  background: var(--duo-green);
  color: #fff;
}

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

.leaderboard__row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--surface-alt);
  border-radius: var(--radius-md);
}

.leaderboard__row--highlight {
  background: #e8f9d4;
  border: 2px solid var(--duo-green);
}

.leaderboard__rank {
  font-weight: 800;
  color: var(--muted);
  min-width: 24px;
}

.leaderboard__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--link-blue);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 14px;
}

.leaderboard__name {
  flex: 1;
  font-weight: 700;
  color: var(--ink);
}

.leaderboard__xp {
  font-weight: 800;
  color: var(--duo-green);
  font-size: 14px;
}

/* Trust */
.trust {
  padding: var(--section-pad) 0;
  background: var(--surface-alt);
}

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

.trust-item {
  text-align: center;
  padding: 24px;
}

.trust-item__icon {
  font-size: 40px;
  margin-bottom: 12px;
}

.trust-item__title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink-strong);
}

.trust-item p {
  margin: 0;
  font-size: 15px;
  max-width: 280px;
  margin-inline: auto;
}

/* Super block */
.super-block {
  padding: 80px 0;
  background: var(--super-navy);
  color: #fff;
  text-align: center;
}

.super-block__title {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  background: linear-gradient(90deg, #fff, var(--footer-soft));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.super-block__lead {
  margin: 0 auto 32px;
  max-width: 520px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 18px;
}

.super-block__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
}

.super-badge {
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Final CTA */
.final-cta {
  padding: var(--section-pad) 0 80px;
  text-align: center;
  background: linear-gradient(180deg, var(--canvas) 0%, #e8f9d4 100%);
}

.final-cta__title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--ink-strong);
}

.final-cta__brand {
  color: var(--duo-green);
}

/* Footer */
.site-footer {
  background: var(--duo-green);
  color: #fff;
  padding: 48px 0 32px;
}

.site-footer a {
  color: var(--footer-soft);
}

.site-footer a:hover {
  color: #fff;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.footer__brand {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 8px;
}

.footer__tagline {
  margin: 0;
  font-size: 15px;
  color: var(--footer-soft);
  max-width: 320px;
}

.footer__heading {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
}

.footer__links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer__links li {
  margin-bottom: 8px;
}

.footer__legal {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 13px;
  line-height: 1.6;
  color: var(--footer-soft);
}

.footer__legal p {
  margin: 0 0 12px;
}

/* Responsive */
@media (min-width: 768px) {
  .hero__grid {
    grid-template-columns: 424px 1fr;
  }

  .hero__visual {
    order: 1;
  }

  .hero__copy {
    order: 2;
    text-align: left;
  }

  .hero__subtitle,
  .hero__lead {
    margin-inline: 0;
  }

  .hero__actions {
    align-items: flex-start;
  }

  .benefits__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .feature__grid {
    grid-template-columns: 1fr 1fr;
  }

  .feature__grid--reverse .feature__visual {
    order: 1;
  }

  .feature__grid--reverse .feature__text {
    order: 2;
  }

  .trust__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer__grid {
    grid-template-columns: 1.2fr 1fr 1fr;
  }
}

@media (min-width: 900px) {
  .hero__title {
    font-size: 4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .ice-scene__coin,
  .ice-scene__flake {
    animation: none;
  }
}
