@font-face {
  font-family: "Nunito Sans";
  src: url("/assets/fonts/nunito-sans-latin.woff2") format("woff2");
  font-weight: 200 1000;
  font-display: swap;
}
/* The app's tokens (design/tokens.json), and the design guide's pairings: white on
   green, ink on yellow, green on mint, purple on lavender. */
:root {
  --ink: #223d36;
  --green: #285c4d;
  --muted: #5b7066;
  --cream: #faf8f0;
  --paper: #fff;
  --line: #e1e6de;
  --yellow: #f6ce67;
  --pale: #fff0bf;
  --mint: #e8f1e9;
  --lavender: #eee9f6;
  --purple: #71648a;
  --coral: #f5dfd4;
  --font: "Nunito Sans", ui-rounded, system-ui, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 30px;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 500 1.0625rem/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}
button,
input {
  font: inherit;
  color: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
}
a {
  color: inherit;
  text-decoration: none;
}
img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.02em;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
.wrap {
  width: min(1200px, calc(100% - 96px));
  margin-inline: auto;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 10;
  padding: 10px 16px;
  border-radius: 15px;
  background: var(--green);
  color: var(--paper);
  font-weight: 800;
}
.skip-link:focus {
  top: 16px;
}

/* Header and footer. */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 24px;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.85rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.wordmark img {
  width: 44px;
}
.site-header nav {
  display: flex;
  gap: 32px;
  font-size: 0.95rem;
  font-weight: 800;
}
.site-header nav a:hover,
.text-link:hover,
.footer-link:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  padding-block: 40px 48px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}
.site-footer .wordmark {
  color: var(--ink);
  font-size: 1.4rem;
}
.site-footer .wordmark img {
  width: 36px;
}
.site-footer p {
  font-weight: 800;
  color: var(--ink);
}
.footer-link {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Actions. */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  padding: 14px 24px;
  border: 0;
  border-radius: 15px;
  background: var(--green);
  color: var(--paper);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
  transition:
    transform 160ms ease,
    background-color 160ms ease;
}
.button:hover {
  background: #1f4b3e;
}
.button:active {
  transform: translateY(1px);
}
.button:disabled {
  background: var(--line);
  color: var(--muted);
  transform: none;
}
.button-small {
  min-height: 46px;
  padding: 10px 18px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
}
.text-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 10px 16px;
  border: 1.5px solid var(--green);
  border-radius: 15px;
  background: var(--paper);
  color: var(--green);
  font-weight: 800;
}
.text-button svg {
  width: 20px;
}
.text-button:hover {
  background: var(--mint);
}
.eyebrow {
  color: var(--green);
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* The opening: the promise beside the sample. */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 480px);
  align-items: center;
  gap: 56px;
  padding-block: 40px 72px;
}
.little-comb {
  color: var(--yellow);
  margin-right: 6px;
}
.hero h1 {
  margin-top: 20px;
  font-size: clamp(2.4rem, 4.4vw, 3.6rem);
}
.hero h1 > span {
  color: var(--green);
}
.hero-description {
  margin-top: 24px;
  max-width: 560px;
  color: var(--muted);
  font-size: 1.2rem;
  line-height: 1.55;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  margin-top: 32px;
}
.hero-note {
  margin-top: 28px;
  font-weight: 800;
}
.hero-perks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.hero-perks > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 8px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--green);
  font-size: 0.9rem;
  font-weight: 800;
}
.hero-perks > span > span {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green);
  color: var(--paper);
  font-size: 0.75rem;
}
.hero-stage {
  position: relative;
  padding-top: 112px;
}
.bee-orbit {
  position: absolute;
  top: 0;
  right: 28px;
  width: 118px;
  animation: hover 4s ease-in-out infinite;
}
.stage-note {
  position: absolute;
  top: 48px;
  left: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--pale);
  font-size: 0.95rem;
  font-weight: 800;
  transform: rotate(-3deg);
}
@keyframes hover {
  50% {
    transform: translateY(-8px) rotate(3deg);
  }
}

/* The sample, drawn as the app draws a practice card. */
.demo-shell {
  position: relative;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--paper);
  box-shadow: 0 24px 60px -32px rgb(34 61 54 / 0.35);
}
.demo-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-weight: 900;
}
.toolbar-actions {
  display: flex;
  gap: 8px;
}
.chip-button {
  min-height: 44px;
  padding: 8px 14px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  font-size: 0.875rem;
  font-weight: 800;
}
.chip-button[aria-pressed="true"] {
  border-color: var(--green);
  background: var(--mint);
  color: var(--green);
}
.icon-button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
}
.chip-button:hover,
.icon-button:hover {
  border-color: var(--green);
}
.demo-progress {
  display: flex;
  justify-content: space-between;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.progress-track {
  height: 8px;
  margin-top: 8px;
  border-radius: 999px;
  background: var(--line);
  overflow: hidden;
}
.progress-track > span {
  display: block;
  width: 33.3%;
  height: 100%;
  border-radius: inherit;
  background: var(--yellow);
  transition: width 220ms ease;
}
.word-card {
  margin-top: 16px;
  padding: 24px;
  border-radius: 24px;
  background: var(--cream);
}
.word-card[data-phase="result"]:has(.correct) {
  background: var(--mint);
}
.word-card[data-phase="result"]:has(.missed) {
  background: var(--lavender);
}
.word-card[data-phase="meaning"] {
  background: var(--pale);
}
.card-body {
  display: grid;
  gap: 16px;
}
.card-body h2 {
  font-size: 1.75rem;
}
.card-body h2:focus {
  outline: none;
}
.card-prompt {
  margin-top: -8px;
  color: var(--muted);
}
.hear-button {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 14px 16px;
  border: 0;
  border-radius: 20px;
  background: var(--pale);
  text-align: left;
}
.hear-button:hover .hear-icon {
  transform: scale(1.05);
}
.hear-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
  transition: transform 160ms ease;
}
.hear-text {
  display: grid;
}
.hear-text strong {
  font-size: 1.2rem;
  font-weight: 900;
}
.hear-text small {
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 700;
}
.spelling-form {
  display: grid;
  gap: 8px;
}
.spelling-form label {
  font-size: 0.875rem;
  font-weight: 800;
}
.spelling-form input {
  width: 100%;
  min-height: 60px;
  padding: 10px 16px;
  border: 2px solid var(--green);
  border-radius: 14px;
  background: var(--paper);
  font-size: 1.6rem;
  font-weight: 800;
}
.spelling-form input:disabled {
  border-color: var(--line);
}
.card-note {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}
.spelling-form .button {
  margin-top: 8px;
}
.result-mark {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 900;
}
.result-mark.correct {
  background: var(--green);
  color: var(--paper);
}
.result-mark.missed {
  background: var(--purple);
  color: var(--paper);
}
.comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 0;
}
.comparison > div {
  padding: 12px 16px;
  border-radius: 16px;
  background: var(--paper);
}
.comparison dt {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
}
.comparison dd {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 900;
  overflow-wrap: anywhere;
}
.pile {
  color: var(--purple);
  font-weight: 800;
}
.spelled-word {
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.1;
  overflow-wrap: anywhere;
}
.meaning {
  display: grid;
  gap: 4px;
  padding: 16px;
  border-radius: 16px;
  background: var(--paper);
}
.meaning h3 {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.meaning p + h3 {
  margin-top: 10px;
}
.card-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}
.card-actions .button {
  flex: 1 1 auto;
}
.tally {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.tally p {
  display: grid;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--paper);
}
.tally strong {
  font-size: 2rem;
  font-weight: 900;
  line-height: 1.1;
}
.tally span {
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 800;
}
.missed-words {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.missed-words span {
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--lavender);
  color: var(--purple);
  font-weight: 800;
}
.clue {
  display: grid;
  gap: 6px;
  padding: 16px;
  border-radius: 20px;
  background: var(--pale);
}
.clue-label {
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 800;
}
.demo-caption {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}
#speech-status:not(.sr-only) {
  margin-top: 10px;
  padding: 10px 14px;
  border-radius: 14px;
  background: var(--lavender);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
}

/* Between the sections. */
.ribbon {
  background: var(--green);
  color: var(--paper);
}
.ribbon .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  padding-block: 18px;
  font-weight: 800;
}
.ribbon span[aria-hidden] {
  color: var(--yellow);
}
.section-space {
  padding-block: 96px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
}
.section-heading h2 {
  margin-top: 14px;
  font-size: clamp(2rem, 3.6vw, 3.1rem);
}
.section-heading > p {
  max-width: 440px;
  color: var(--muted);
}

/* How it works. */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.steps article {
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--paper);
}
.step-number {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  font-weight: 900;
}
.steps h3 {
  margin-top: 20px;
  font-size: 1.35rem;
}
.steps p {
  margin-top: 8px;
  color: var(--muted);
}
.yellow {
  background: var(--yellow);
}
.mint {
  background: var(--mint);
  color: var(--green);
}
.lavender {
  background: var(--lavender);
  color: var(--purple);
}
.coral {
  background: var(--coral);
}

/* The word sets. */
.sets-section {
  background: var(--paper);
}
.set-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.set-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--cream);
  text-align: left;
  overflow: hidden;
  transition: transform 160ms ease;
}
.set-card:hover {
  transform: translateY(-3px);
}
.set-art {
  position: relative;
  display: grid;
  place-items: center;
  height: 160px;
}
.set-art svg {
  width: 72px;
}
.set-count {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 800;
}
.set-text {
  display: grid;
  gap: 6px;
  padding: 22px 24px 24px;
}
.set-text > strong {
  font-size: 1.3rem;
  font-weight: 900;
}
.set-ages {
  color: var(--green);
  font-size: 0.875rem;
  font-weight: 800;
}
.set-text > span:not(.set-ages, .set-action) {
  color: var(--muted);
}
.set-action {
  display: inline-flex;
  gap: 8px;
  margin-top: 8px;
  color: var(--green);
  font-weight: 800;
}
.sets-note {
  margin-top: 32px;
  font-weight: 800;
  text-align: center;
}
.sets-note > span {
  color: var(--muted);
  font-weight: 600;
}

/* Profiles and the rest of the benefits. */
.family-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 72px;
}
.family-art {
  position: relative;
  margin: 0;
  padding: 48px 32px 32px;
  border-radius: 32px;
  background: var(--pale);
}
.profile-card {
  padding: 28px;
  border-radius: 24px;
  background: var(--paper);
  box-shadow: 0 20px 50px -30px rgb(34 61 54 / 0.4);
}
.profile-title {
  font-size: 1.5rem;
  font-weight: 900;
}
.profile-list {
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}
.profile-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  font-weight: 800;
}
.avatar {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px dashed var(--muted);
  font-weight: 900;
}
.avatar.mint,
.avatar.lavender {
  border: 0;
}
.profile-add {
  color: var(--green);
}
.family-bee {
  position: absolute;
  top: -40px;
  right: -12px;
  width: 112px;
}
.family-art figcaption {
  margin-top: 18px;
  font-weight: 800;
  text-align: center;
}
.family-copy h2 {
  margin-top: 14px;
  font-size: clamp(2rem, 3.6vw, 3.1rem);
}
.section-intro {
  margin-top: 16px;
  color: var(--muted);
}
.benefit {
  display: flex;
  gap: 18px;
  margin-top: 28px;
}
.benefit-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 16px;
}
.benefit-icon svg {
  width: 26px;
}
.benefit h3 {
  font-size: 1.15rem;
}
.benefit p {
  margin-top: 4px;
  color: var(--muted);
}

/* Questions. */
.faq-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 64px;
  border-top: 1px solid var(--line);
}
.faq-section h2 {
  margin-top: 14px;
  font-size: clamp(2rem, 3.6vw, 3.1rem);
}
.faq-section > div > img {
  width: 110px;
  margin-top: 32px;
}
.faq-list details {
  border-bottom: 1px solid var(--line);
}
.faq-list details:first-child {
  border-top: 1px solid var(--line);
}
.faq-list summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-block: 22px;
  font-size: 1.15rem;
  font-weight: 900;
  list-style: none;
  cursor: pointer;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary > span {
  flex: none;
  color: var(--green);
  font-size: 1.5rem;
  transition: transform 160ms ease;
}
.faq-list details[open] summary > span {
  transform: rotate(45deg);
}
.faq-list details > p {
  max-width: 640px;
  padding-bottom: 24px;
  color: var(--muted);
}
.faq-list details > p a {
  color: var(--green);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.faq-list details > p strong {
  color: var(--ink);
}

/* The last word. */
.closing-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 72px;
  padding: 56px 64px;
  border-radius: 32px;
  background: var(--green);
  color: var(--paper);
}
.closing-section .eyebrow {
  color: var(--yellow);
}
.closing-section h2 {
  margin-top: 14px;
  font-size: clamp(2rem, 3.6vw, 3.1rem);
}
.closing-section .button {
  margin-top: 28px;
  background: var(--yellow);
  color: var(--ink);
}
.closing-section .button:hover {
  background: #f3c24a;
}
.closing-section > img {
  width: 200px;
}

/* The page for an address that isn't there. */
.not-found {
  display: grid;
  justify-items: center;
  gap: 16px;
  padding-block: 96px;
  text-align: center;
}
.not-found img {
  width: 140px;
}
.not-found h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
}
.not-found p:not(.eyebrow) {
  color: var(--muted);
}

/* Privacy and support. */
.legal {
  max-width: 760px;
  padding-block: 32px 80px;
}
.legal h1 {
  margin-top: 12px;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
}
.legal h2 {
  margin-top: 44px;
  font-size: 1.5rem;
}
.legal p,
.legal ul {
  margin-top: 14px;
}
.legal ul {
  padding-left: 22px;
}
.legal li + li {
  margin-top: 10px;
}
.legal a {
  color: var(--green);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal .legal-date {
  color: var(--muted);
  font-weight: 700;
}
.legal .legal-lead {
  font-size: 1.15rem;
}
.legal .legal-summary {
  padding: 20px 20px 20px 42px;
  border-radius: 24px;
  background: var(--mint);
}
.legal code {
  padding: 1px 6px;
  border-radius: 6px;
  background: var(--paper);
  font-size: 0.9em;
}
.legal .legal-code {
  margin-top: 16px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  font-size: 0.85rem;
  line-height: 1.5;
  overflow-x: auto;
}
.legal .legal-code code {
  padding: 0;
  background: none;
}
.legal-contact {
  margin-top: 14px;
  font-style: normal;
}

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-stage {
    max-width: 560px;
  }
  .desktop-break {
    display: none;
  }
  .family-section {
    gap: 48px;
  }
}
@media (max-width: 800px) {
  .wrap {
    width: calc(100% - 48px);
  }
  .site-header nav {
    display: none;
  }
  .section-space {
    padding-block: 72px;
  }
  .section-heading {
    flex-direction: column;
    align-items: start;
  }
  .steps,
  .set-grid {
    grid-template-columns: 1fr;
  }
  .family-section,
  .faq-section {
    grid-template-columns: 1fr;
  }
  .faq-section {
    gap: 32px;
  }
  .faq-section > div > img {
    display: none;
  }
  .closing-section {
    padding: 40px 32px;
  }
  .closing-section > img {
    width: 120px;
  }
  .site-footer {
    flex-direction: column;
    align-items: start;
  }
}
@media (max-width: 480px) {
  .wrap {
    width: calc(100% - 32px);
  }
  .site-header .button-small {
    padding-inline: 14px;
  }
  .wordmark {
    font-size: 1.5rem;
  }
  .wordmark img {
    width: 36px;
  }
  .hero {
    padding-top: 16px;
  }
  .hero-description {
    font-size: 1.05rem;
  }
  .hero-stage {
    padding-top: 92px;
  }
  .bee-orbit {
    width: 96px;
    right: 8px;
  }
  .stage-note {
    top: 36px;
  }
  .demo-shell {
    padding: 14px;
    border-radius: 24px;
  }
  .word-card {
    padding: 18px;
  }
  .comparison,
  .tally {
    grid-template-columns: 1fr;
  }
  .closing-section {
    flex-direction: column;
    align-items: start;
  }
  .family-art {
    padding: 40px 18px 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
