: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;
  --error: #FF4B4B;
  --streak: #FF9600;
  --gems: #CE82FF;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 999px;
  --max: 988px;
  --wide: 1090px;
  --font-display: "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: 1.41;
  color: var(--muted);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
}

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

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

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

a:focus-visible,
button: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;
  border-radius: var(--radius-md);
}

.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: 50;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

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

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-strong);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
}

.brand-lockup:hover {
  text-decoration: none;
  color: var(--ink-strong);
}

.brand-lockup__mark {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--duo-green);
  display: grid;
  place-items: center;
  box-shadow: 0 4px 0 var(--duo-green-shadow);
}

.brand-lockup__mark svg {
  width: 26px;
  height: 26px;
}

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

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

.btn--primary:active,
.btn--primary.is-pressed {
  transform: translateY(4px);
  box-shadow: none;
  background: var(--duo-green-dark);
}

.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);
  text-decoration: none;
}

.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 #d0d0d8;
}

.btn--super:hover {
  background: #f5f5f8;
  text-decoration: none;
  color: var(--super-ink);
}

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

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

@media (min-width: 900px) {
  .hero__grid {
    grid-template-columns: minmax(280px, 424px) minmax(300px, 1fr);
    gap: 48px;
  }
}

.hero-illustration {
  position: relative;
  aspect-ratio: 1 / 0.95;
  max-width: 424px;
  margin-inline: auto;
}

.hero-illustration__bg {
  position: absolute;
  inset: 8% 5% 5% 5%;
  background: var(--wash-blue);
  border-radius: var(--radius-xl);
}

.slot-machine {
  position: relative;
  z-index: 1;
  width: 78%;
  margin: 12% auto 0;
  padding: 20px 16px 28px;
  background: linear-gradient(180deg, #fff 0%, #f0f7ff 100%);
  border: 3px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 0 var(--border-strong);
}

.slot-machine__top {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
}

.slot-machine__reels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 12px;
  background: var(--navy);
  border-radius: var(--radius-md);
}

.reel {
  aspect-ratio: 1;
  background: #fff;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  font-size: clamp(28px, 6vw, 40px);
}

.slot-machine__lever {
  position: absolute;
  right: -6%;
  top: 35%;
  width: 14px;
  height: 80px;
  background: var(--streak);
  border-radius: var(--radius-pill);
  box-shadow: 4px 0 0 #cc6a00;
}

.slot-machine__lever::after {
  content: "";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 28px;
  background: var(--warning);
  border-radius: 50%;
  box-shadow: 0 3px 0 #d4a000;
}

.hero-float {
  position: absolute;
  border-radius: var(--radius-pill);
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 800;
  color: var(--ink);
  background: #fff;
  border: 2px solid var(--border);
  box-shadow: 0 3px 0 var(--border-strong);
}

.hero-float--streak {
  top: 4%;
  right: 0;
  color: var(--streak);
}

.hero-float--gems {
  bottom: 8%;
  left: 0;
  color: var(--gems);
}

.hero-copy {
  text-align: center;
}

@media (min-width: 900px) {
  .hero-copy {
    text-align: left;
  }
}

.hero-eyebrow {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--link-blue);
}

.hero-title {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 12vw, 4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--duo-green);
}

.hero-title span {
  display: block;
  font-size: clamp(1.75rem, 5vw, 2rem);
  font-weight: 700;
  color: var(--ink-strong);
  letter-spacing: 0;
  margin-top: 8px;
}

.hero-lead {
  margin: 0 0 28px;
  max-width: 473px;
  color: var(--muted);
}

@media (min-width: 900px) {
  .hero-lead {
    margin-inline: 0;
  }
}

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

@media (min-width: 900px) {
  .hero-cta-stack {
    align-items: flex-start;
  }
}

.hero-note {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--muted-light);
}

/* Chip rail */
.chip-rail {
  border-block: 1px solid var(--border);
  padding: 16px 0;
  background: var(--surface-alt);
}

.chip-rail__scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}

.chip {
  flex: 0 0 auto;
  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;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.chip__icon {
  font-size: 18px;
}

/* Sections */
.section {
  padding: 64px 0;
}

@media (min-width: 768px) {
  .section {
    padding: 96px 0;
  }
}

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

.section-head h2 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--duo-green);
}

.section-head p {
  margin: 0;
}

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

@media (min-width: 640px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .benefits-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.benefit-card {
  padding: 24px 20px;
  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: 48px;
  height: 48px;
  margin-bottom: 16px;
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  font-size: 24px;
  background: var(--wash-blue);
}

.benefit-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 800;
  color: var(--ink-strong);
}

.benefit-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.45;
}

/* Feature rows */
.feature-row {
  display: grid;
  gap: 40px;
  align-items: center;
  margin-bottom: 64px;
}

.feature-row:last-child {
  margin-bottom: 0;
}

@media (min-width: 900px) {
  .feature-row {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-bottom: 96px;
  }

  .feature-row--reverse .feature-row__visual {
    order: 2;
  }

  .feature-row--reverse .feature-row__copy {
    order: 1;
  }
}

.feature-row h2 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--duo-green);
}

.feature-row p {
  margin: 0 0 20px;
  max-width: 473px;
}

.feature-panel {
  padding: 32px;
  background: var(--wash-blue);
  border-radius: var(--radius-xl);
  min-height: 260px;
  display: grid;
  place-items: center;
}

.progress-card {
  width: 100%;
  max-width: 320px;
  padding: 20px;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 2px solid var(--border);
  box-shadow: 0 4px 0 var(--border-strong);
}

.progress-card__label {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 12px;
}

.progress-bar {
  height: 16px;
  background: #eee;
  border-radius: var(--radius-pill);
  overflow: hidden;
}

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

.leaderboard {
  width: 100%;
  max-width: 320px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.leaderboard li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #fff;
  border-radius: var(--radius-md);
  margin-bottom: 8px;
  font-weight: 700;
  color: var(--ink);
  border: 2px solid var(--border);
}

.leaderboard li.is-you {
  border-color: var(--duo-green);
  background: #f0ffe8;
}

.leaderboard__rank {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--surface-alt);
  display: grid;
  place-items: center;
  font-size: 13px;
}

.leaderboard__xp {
  margin-left: auto;
  color: var(--duo-green);
  font-size: 14px;
}

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

.trust-grid {
  display: grid;
  gap: 24px;
}

@media (min-width: 768px) {
  .trust-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

.trust-item__badge {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--duo-green);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 28px;
  box-shadow: 0 4px 0 var(--duo-green-shadow);
}

.trust-item h3 {
  margin: 0 0 8px;
  font-size: 17px;
  color: var(--ink-strong);
}

.trust-item p {
  margin: 0;
  font-size: 15px;
}

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

.super-block h2 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 800;
  color: #fff;
  background: linear-gradient(90deg, #ffc800, #ce82ff, #1cb0f6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.super-block p {
  margin: 0 auto 28px;
  max-width: 520px;
  color: #a8a8d0;
}

/* Final CTA */
.final-cta {
  position: relative;
  padding: 80px 0 120px;
  text-align: center;
  background: linear-gradient(180deg, var(--canvas) 0%, #e8ffd4 100%);
  overflow: hidden;
}

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

.final-cta p {
  margin: 0 auto 28px;
  max-width: 480px;
}

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

.hill-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 72px;
  background: var(--duo-green);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  transform: scaleX(1.2);
}

/* 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;
  gap: 32px;
  margin-bottom: 32px;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr;
  }
}

.site-footer h3 {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.site-footer p,
.site-footer ul {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
}

.disclaimer {
  font-size: 12px !important;
  opacity: 0.85;
  max-width: 720px;
}

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