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

html,
body,
div,
span,
object,
iframe,
figure,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
code,
em,
img,
small,
strike,
strong,
sub,
sup,
tt,
b,
u,
i,
ol,
ul,
li,
fieldset,
form,
label,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
main,
canvas,
embed,
footer,
header,
nav,
section,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  text-size-adjust: none;
}

footer,
header,
nav,
section,
main {
  display: block;
}

body {
  line-height: 1;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

input {
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
  box-shadow: none;
}
input[type=range] {
  background: transparent;
  cursor: pointer;
}

html {
  font-family: "Nunito", sans-serif;
  font-size: 1em;
  color: #24301f;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: "Quicksand", sans-serif;
  font-weight: 600;
  line-height: 1.25em;
}

h1 {
  font-size: 3em;
}

h2 {
  font-size: 2em;
}

h3 {
  font-size: 1.5em;
}

button {
  font-family: "Quicksand", sans-serif;
  font-size: 1em;
  font-weight: 600;
}

p {
  font-weight: 400;
}

:focus-visible {
  outline: 0.1875em solid #007200;
  outline-offset: 0.125em;
  border-radius: 0.25em;
}

.btn {
  border: 0.125em solid transparent;
  border-radius: 0.5em;
  cursor: pointer;
  display: inline-block;
  font-family: "Quicksand", sans-serif;
  font-size: 1.02rem;
  font-weight: 600;
  padding: 0.9375em 1.625em;
  text-decoration: none;
  transition: transform 0.1s ease, background-color 0.1s ease;
}
.btn:active {
  transform: scale(0.95);
}

.btn-primary {
  background-color: #2166a5;
  color: white;
}
.btn-primary:hover {
  background-color: #1a5286;
}

.btn-ghost {
  background-color: transparent;
  border-color: #007200;
  color: #007200;
}

@font-face {
  font-family: "Quicksand";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/quicksand-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Quicksand";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/quicksand-latin-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/nunito-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Nunito";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/nunito-latin-400-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/nunito-latin-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Caveat";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/caveat-latin-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: "KaTeX_Main";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/KaTeX_Main-Regular.woff2") format("woff2");
}
html {
  scroll-behavior: smooth;
}

body {
  background-color: #faf9f3;
  font-size: 1em;
  font-weight: 400;
  line-height: 1.6;
}

a {
  color: #007200;
}

.wrap {
  margin: 0 auto;
  max-width: 1200px;
  padding: 0 1.5em;
}

.band-green {
  background-color: #bee8b7;
}

.band-light {
  background-color: #d6f7d2;
}

.nav {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding-block: 1.25em;
}

.logo {
  color: #24301f;
  font-family: "Quicksand", sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  text-decoration: none;
}

.nav .login {
  color: #24301f;
  font-family: "Quicksand", sans-serif;
  font-weight: 600;
  text-decoration: none;
}
.nav .login:hover {
  color: #007200;
}

.hero {
  padding: 4em 0 4.5em;
}

.hero-grid {
  align-items: center;
  display: grid;
  gap: 3.5em;
  grid-template-columns: 1.05fr 0.95fr;
}

.eyebrow {
  color: #007200;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  margin-bottom: 0.875em;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(2.1rem, 4.4vw, 3rem);
  letter-spacing: -0.005em;
  margin-bottom: 0.5em;
}
h1 .earn {
  color: #007200;
}

.sub {
  font-size: 1.12rem;
  margin-bottom: 0.625em;
  max-width: 33em;
}

.story-line {
  color: #55644e;
  font-style: italic;
  margin-bottom: 1.625em;
}

.trust {
  color: #55644e;
  font-size: 0.85rem;
}
.trust a {
  color: #55644e;
}

.cta-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
  margin-bottom: 0.75em;
}

.try-note {
  align-items: center;
  color: #2166a5;
  display: inline-flex;
  margin-left: 0.75em;
  pointer-events: none;
  user-select: none;
}

.try-word {
  font-family: "Caveat", cursive;
  font-size: 2.05rem;
  font-weight: 700;
  line-height: 1;
  transform: rotate(-7deg);
}

.try-arrow {
  margin-left: 0.375em;
  overflow: visible;
}

.try-arrow-desktop {
  height: 4em;
  width: 6.5em;
}

.try-arrow-mobile {
  display: none;
  height: 4.375em;
  width: 3.125em;
}

.game {
  background-color: white;
  border: 0.125em solid #2166a5;
  border-radius: 1em;
  box-shadow: 0 0 0 0.375em rgba(33, 102, 165, 0.1), 0 0.625em 1.75em rgba(33, 102, 165, 0.18);
  overflow: hidden;
}

.game-bar {
  align-items: center;
  border-bottom: 0.0625em solid #d6f7d2;
  display: flex;
  justify-content: space-between;
  padding: 0.75em 1.125em;
}
.game-bar .title {
  font-family: "Quicksand", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
}

.chip-demo {
  background-color: #d6f7d2;
  border-radius: 99em;
  color: #007200;
  font-family: "Quicksand", sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 0.1875em 0.625em;
  text-transform: uppercase;
}

.progress-track {
  background-color: #d6f7d2;
  border-radius: 99em;
  height: 0.5625em;
  margin: 1em 1.125em 0;
  overflow: hidden;
}

.progress-fill {
  background-color: #007200;
  border-radius: 99em;
  height: 100%;
  transition: width 0.5s ease;
  width: 0%;
}

.stages {
  display: grid;
}

.stages .stage {
  grid-area: 1/1;
}

.stage {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 15.625em;
  padding: 1.625em 1.125em 1.5em;
  text-align: center;
}

.hidden {
  pointer-events: none;
  visibility: hidden;
}

#stage-done {
  background-color: #faf9f3;
  opacity: 0;
  position: relative;
  transition: opacity 1.6s ease;
  z-index: 2;
}
#stage-done.fade-in {
  opacity: 1;
}

.problem {
  font-family: "KaTeX_Main", serif;
  font-size: 2.1rem;
  margin-bottom: 0.375em;
}

.answer-row {
  display: flex;
  gap: 0.625em;
  margin-top: 1em;
}
.answer-row input {
  background-color: #faf9f3;
  border: 0.125em solid #6b8650;
  border-radius: 0.5em;
  font-family: "KaTeX_Main", serif;
  font-size: 1.25rem;
  padding: 0.625em;
  text-align: center;
  width: 9.375em;
}
.answer-row input:focus {
  border-color: #007200;
  outline: none;
}

.submit {
  background-color: #007200;
  border: none;
  border-radius: 0.5em;
  color: white;
  cursor: pointer;
  font-size: 0.95rem;
  padding: 0.625em 1.25em;
  transition: transform 0.1s ease;
}
.submit:active {
  transform: scale(0.95);
}

.feedback {
  color: #007200;
  font-size: 0.92rem;
  font-weight: 700;
  height: 1.375em;
  margin-top: 0.75em;
}
.feedback.nudge {
  color: #55644e;
}

.shake {
  animation: landing-shake 0.3s ease;
}

@keyframes landing-shake {
  0%, 100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-0.375em);
  }
  75% {
    transform: translateX(0.375em);
  }
}
.video {
  margin: 0 auto;
  max-width: 20em;
  width: 100%;
}
.video .screen {
  aspect-ratio: 16/9;
  background-color: #24301f;
  border-radius: 0.25em;
  overflow: hidden;
}
.video .screen video {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.reward-caption {
  color: #55644e;
  font-size: 0.86rem;
  margin-top: 0.75em;
}

section {
  padding: 4.5em 0;
}

h2 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  margin-bottom: 0.75em;
}

.section-lede {
  color: #55644e;
  margin-bottom: 2.5em;
  max-width: 40em;
}

.steps {
  display: grid;
  gap: 1.625em;
  grid-template-columns: repeat(3, 1fr);
}

.step {
  background-color: white;
  border: 0.0625em solid #c9d2c7;
  border-radius: 1em;
  box-shadow: 0 0.5em 1.5em rgba(35, 48, 32, 0.1);
  padding: 1.625em 1.5em;
}
.step .num {
  align-items: center;
  background-color: #007200;
  border-radius: 50%;
  color: white;
  display: inline-flex;
  font-family: "Quicksand", sans-serif;
  font-weight: 700;
  height: 2.125em;
  justify-content: center;
  margin-bottom: 0.875em;
  width: 2.125em;
}
.step h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5em;
}
.step p {
  color: #55644e;
  font-size: 0.95rem;
}
.step p b {
  color: #24301f;
}
.step.reward-step .num {
  background-color: #2166a5;
}

.toggles {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625em;
  margin: 1.625em 0 2.125em;
}

.tog {
  background: white;
  border: 0.09375em solid #c9d2c7;
  border-radius: 1.25em;
  display: flex;
  justify-content: center;
  padding: 0.6em 0.85em 0.5em;
  align-items: baseline;
  color: #24301f;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  gap: 0.375em;
}
.tog[aria-pressed=true] {
  background-color: #d6f7d2;
  border-color: #007200;
}
.tog small {
  color: #55644e;
  font-size: 0.85em;
}

.points {
  display: grid;
  gap: 1.375em;
  grid-template-columns: repeat(2, 1fr);
}

.point {
  border-left: 0.25em solid #007200;
  padding: 0.25em 0 0.25em 1.125em;
}
.point h3 {
  font-size: 1rem;
  margin-bottom: 0.25em;
}
.point p {
  color: #55644e;
  font-size: 0.93rem;
}

.story {
  padding: 4.5em 0;
}
.story p {
  margin-bottom: 0.875em;
}

.story-grid {
  align-items: center;
  display: grid;
  gap: 3em;
  grid-template-columns: 1.1fr 0.9fr;
}

.stats {
  display: grid;
  gap: 1em;
}

.stat {
  align-items: baseline;
  background-color: white;
  border: 0.0625em solid #c9d2c7;
  border-radius: 1em;
  box-shadow: 0 0.5em 1.5em rgba(35, 48, 32, 0.1);
  display: flex;
  gap: 0.875em;
  padding: 1.125em 1.375em;
}
.stat .n {
  color: #007200;
  font-family: "Quicksand", sans-serif;
  font-size: 1.55rem;
  font-weight: 700;
  min-width: 5.6em;
}
.stat .l {
  color: #55644e;
  font-size: 0.9rem;
}

details {
  border-bottom: 0.0625em solid #c9d2c7;
  padding: 1em 0.25em;
}
details:first-of-type {
  border-top: 0.0625em solid #c9d2c7;
}
details p {
  color: #55644e;
  font-size: 0.95rem;
  max-width: 46em;
  padding: 0.625em 0 0.25em;
}

summary {
  cursor: pointer;
  font-family: "Quicksand", sans-serif;
  font-size: 1rem;
  font-weight: 600;
}
summary::marker {
  color: #007200;
}

.final {
  padding: 5em 0;
  text-align: center;
}
.final .sub {
  margin: 0 auto 1.625em;
}
.final .cta-row {
  justify-content: center;
}

footer {
  color: #55644e;
  font-size: 0.9rem;
  padding: 2.125em 0;
  text-align: center;
}
footer a {
  color: #55644e;
}
footer .separator {
  margin: 0 0.5em;
}

@media only screen and (max-width: 880px) {
  .hero {
    padding: 2.5em 0 3.5em;
  }
  .hero-grid,
  .story-grid,
  .steps,
  .points {
    gap: 2em;
    grid-template-columns: 1fr;
  }
  .toggles {
    grid-template-columns: repeat(2, 1fr);
  }
  .cta-row {
    justify-content: center;
  }
  .hero .trust {
    display: none;
  }
  .try-arrow-desktop {
    display: none;
  }
  .try-arrow-mobile {
    display: block;
  }
  .stat .n {
    min-width: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
  html {
    scroll-behavior: auto;
  }
}
