/* Wordstone marketing site: white and flat, with pixel art as accents (docs/site/BRIEF.md). */

@font-face {
  font-family: 'Inter';
  src: url('/fonts/inter.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'Pixelify Sans';
  src: url('/fonts/pixelify-sans-700.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

:root {
  --accent: #0f7a57;
  --accent-dark: #0b5c41;
  --on-accent: #ddf5ea;
  --ink: #111318;
  --body: #3a3f4b;
  --muted: #5b6170;
  --faint: #6b7180;
  --line: #eceef1;
  --soft: #f6f7f9;
  --button: #f2f3f5;
  --mint: #e9f7f1;
  --butter: #fff3d6;
  --lilac: #eeedff;
  --sky: #e3f3ff;
  --night: #1c1930;
  --night-card: #2a2645;
  --gold: #ffd666;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 16px;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family:
    Inter,
    system-ui,
    -apple-system,
    'Segoe UI',
    sans-serif;
  overflow-x: clip;
}
img {
  display: block;
  flex: none;
}
.px {
  image-rendering: pixelated;
}
h1,
h2,
h3,
p,
figure,
blockquote,
ul {
  margin: 0;
}
ul {
  padding: 0;
  list-style: none;
}
a {
  color: var(--accent);
}
a:hover {
  color: var(--accent-dark);
}
:focus-visible {
  outline: 3px solid #1f7bc2;
  outline-offset: 2px;
}
.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding-inline: 24px;
}
.section {
  padding-bottom: 112px;
}
.stack-heading {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 680px;
}
.skip {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 10;
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
  border-radius: 999px;
}
.skip:focus {
  top: 12px;
  color: #fff;
}

/* Type */
h2 {
  font-size: 48px;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -1.6px;
}
.h2-small {
  font-size: 40px;
  line-height: 1.08;
  letter-spacing: -1.2px;
}
.lede {
  font-size: 18px;
  line-height: 1.55;
  color: var(--muted);
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--accent);
}
.eyebrow svg {
  flex: none;
}

/* Buttons */
.btn {
  border: 0;
  cursor: pointer;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  text-align: center;
  text-decoration: none;
  transition:
    transform 0.18s var(--ease),
    background-color 0.18s;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn:active {
  transform: translateY(1px);
}
.btn-lg {
  min-height: 56px;
  padding: 14px 30px;
  font-size: 17px;
}
.btn-accent,
.btn-accent:hover {
  background: var(--accent);
  color: #fff;
}
.btn-accent:hover {
  background: var(--accent-dark);
}
.btn-soft,
.btn-soft:hover {
  background: var(--button);
  color: var(--ink);
}
.btn-soft:hover {
  background: #e8eaed;
}
.btn-dark,
.btn-dark:hover {
  background: var(--ink);
  color: #fff;
}
.btn-white,
.btn-white:hover {
  background: #fff;
  color: var(--ink);
}
.btn-white-accent,
.btn-white-accent:hover {
  background: #fff;
  color: var(--accent-dark);
  font-weight: 700;
}

/* Header */
.nav {
  position: relative;
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--ink);
  text-decoration: none;
}
.brand:hover {
  color: var(--ink);
}
.wordmark {
  font-family: 'Pixelify Sans', Inter, system-ui, sans-serif;
  font-size: 24px;
  font-weight: 700;
}
.nav-links {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  gap: 16px;
  font-size: 15px;
  font-weight: 500;
}
.nav-links a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 8px;
  color: var(--body);
  text-decoration: none;
}
.nav-links a:hover {
  color: var(--ink);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-login {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}
.nav-play {
  min-height: 44px;
  padding: 10px 22px;
  font-size: 15px;
}
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Hero */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding-top: 64px;
  padding-bottom: 80px;
  text-align: center;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 600;
}
.pill-short {
  display: none;
}
h1 {
  max-width: 900px;
  font-size: 76px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -3px;
  text-wrap: balance;
}
.h1-end {
  white-space: nowrap;
}
.mark {
  box-shadow: inset 0 -0.24em 0 var(--gold);
}
.h1-star {
  display: inline-block;
  margin-left: 6px;
  vertical-align: top;
}
.hero-lede {
  max-width: 640px;
  font-size: 20px;
  line-height: 1.55;
  color: var(--muted);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding-top: 4px;
}
.hero-note {
  font-size: 14px;
  color: var(--faint);
}

/* Carousel */
.carousel {
  width: 100%;
  max-width: 1080px;
  margin-top: 64px;
}
.carousel-frame {
  position: relative;
}
.peek {
  position: absolute;
  bottom: 100%;
  z-index: 1;
}
.peek-left {
  left: 72px;
  width: 84px;
  height: 75px;
}
.peek-right {
  right: 96px;
  width: 81px;
  height: 75px;
}
.track {
  display: flex;
  aspect-ratio: 16 / 9;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  border-radius: 28px;
  background: #e9f1f6;
  scrollbar-width: none;
}
.track::-webkit-scrollbar {
  display: none;
}
.slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.caption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(17, 19, 24, 0.78);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  pointer-events: none;
}
.round {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  cursor: pointer;
  transition: background-color 0.18s;
}
.round:hover {
  background: #fff;
}
.prev {
  left: 16px;
  top: calc(50% - 24px);
}
.next {
  right: 16px;
  top: calc(50% - 24px);
}
.pause {
  right: 16px;
  bottom: 16px;
  width: 44px;
  height: 44px;
}
.pause .icon-play,
.pause[aria-pressed='true'] .icon-pause {
  display: none;
}
.pause[aria-pressed='true'] .icon-play {
  display: block;
}
.dots {
  display: flex;
  justify-content: center;
  margin-top: 6px;
}
.dot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  min-width: 36px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.dot::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #d5d8de;
  transition:
    width 0.3s var(--ease),
    background-color 0.3s;
}
.dot[aria-current='true']::before {
  width: 24px;
  background: var(--accent);
}

/* Trust strip */
.trust {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding-bottom: 96px;
}
.trust-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  border-radius: 20px;
  background: var(--soft);
}
.trust-icon {
  display: flex;
  align-items: flex-end;
  height: 40px;
}
.trust-title {
  font-size: 17px;
  font-weight: 700;
}
.trust-text {
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
}

/* How it works */
.how {
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.step {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px;
  border-radius: 28px;
}
.step-mint {
  background: var(--mint);
}
.step-butter {
  background: var(--butter);
}
.step-lilac {
  background: var(--lilac);
}
.step-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 18px;
}
.step-pets {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-content: center;
  gap: 6px;
  height: 200px;
  padding: 8px;
  border-radius: 18px;
  background: #fff;
}
.step-pets span {
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-num {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
}
.step h3 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.step p:last-child {
  font-size: 16px;
  line-height: 1.55;
  color: var(--body);
}

/* The world */
.world {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 56px;
  border-radius: 32px;
  background: var(--night);
}
.world-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
}
.world-heading {
  flex: 0 1 560px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.world .eyebrow {
  color: #a7f0d2;
}
.world h2 {
  font-size: 44px;
  letter-spacing: -1.4px;
  color: #fff;
}
.world-side {
  flex: none;
  display: flex;
  align-items: flex-end;
  gap: 20px;
}
.realms {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}
.realm {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 8px 14px;
  border-radius: 18px;
  background: var(--night-card);
  text-align: center;
}
.realm img {
  width: 96px;
  height: 96px;
}
.realm-name {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}
.realm-kind {
  font-size: 12px;
  color: #b8b3d1;
}

/* For parents */
.parents {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 64px;
}
.parents-copy {
  flex: 1 1 440px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: 17px;
  line-height: 1.5;
}
.feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.feature-icon {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
}
.feature-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  font-weight: 700;
}
.feature-text {
  margin-top: 2px;
  color: var(--muted);
}
.tag {
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 600;
}
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 8px;
}
.dash {
  flex: 1 1 480px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px;
  border-radius: 28px;
  background: var(--soft);
}
.dash-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.dash-title {
  font-size: 18px;
  font-weight: 700;
}
.dash-label {
  font-size: 13px;
  color: var(--faint);
}
.dash-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.dash-stat,
.dash-tricky {
  padding: 16px;
  border-radius: 16px;
  background: #fff;
}
.dash-num {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -1px;
}
.dash-stat-label {
  font-size: 13px;
  color: var(--muted);
}
.dash-tricky {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.dash-tricky-title {
  font-size: 14px;
  font-weight: 700;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
}
.chips li {
  padding: 6px 12px;
  border-radius: 999px;
  background: #ffe8e5;
  color: #8a2c1f;
}
.dash-next {
  font-size: 14px;
  color: var(--muted);
}

/* For teachers */
.teachers {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 48px;
  padding: 56px;
  border-radius: 32px;
  background: var(--mint);
}
.teachers-copy {
  flex: 1 1 400px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.teachers .eyebrow {
  color: var(--accent-dark);
}
.teachers-text {
  font-size: 17px;
  line-height: 1.55;
  color: #2f4a40;
}
.teachers-cards {
  flex: 1 1 420px;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.teacher-card {
  padding: 20px;
  border-radius: 20px;
  background: #fff;
  font-size: 15px;
  line-height: 1.45;
  color: var(--body);
}
.teacher-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 16px;
  color: var(--ink);
}

/* Spelling lists */
.column-section {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.grades {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}
.grade {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 22px;
  border-radius: 20px;
  background: var(--soft);
}
.grade-letter {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -1px;
}
.grade-name {
  font-weight: 600;
}
.grade-short {
  display: none;
}
.grade-count {
  font-size: 14px;
  color: var(--faint);
}

/* Testimonials */
.quotes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.quote {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px;
  border-radius: 24px;
  background: var(--soft);
}
.quote blockquote {
  font-size: 18px;
  line-height: 1.5;
  font-weight: 500;
}
.quote figcaption {
  font-size: 14px;
  color: var(--faint);
}

/* Plans */
.plans-section {
  align-items: center;
}
.plans-section h2 {
  text-align: center;
}
.plans-lede {
  margin-top: -16px;
  text-align: center;
}
.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
  max-width: 860px;
}
.plan {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 32px;
  border-radius: 28px;
}
.plan-free {
  background: var(--soft);
}
.plan-paid {
  background: var(--accent);
  color: #fff;
}
.plan-head {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
}
.plan-name {
  font-size: 22px;
  font-weight: 800;
}
.plan-price {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.15;
}
.price-was {
  margin-right: 4px;
  font-size: 0.7em;
  font-weight: 600;
  opacity: 0.75;
}
.plan-then {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
}
.plan-paid .plan-then {
  color: #fff;
}
.upsell-price {
  font-size: 15px;
  line-height: 1.5;
  color: var(--body);
}
.upsell-price .price-was {
  font-size: 1em;
  font-weight: 500;
}
.upsell-price strong {
  color: var(--ink);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.plan-price small {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0;
}
.plan-sub {
  font-size: 15px;
  line-height: 1.5;
}
.plan-free .plan-sub {
  color: var(--muted);
}
.plan-paid .plan-sub {
  color: var(--on-accent);
}
.plan-items {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 16px;
  line-height: 1.45;
}
.plan-items li {
  position: relative;
  padding-left: 18px;
}
.plan-items li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 8px;
  height: 8px;
  background: var(--accent);
}
.plan-paid .plan-items li::before {
  background: var(--gold);
}
.plan-free .plan-items {
  color: var(--body);
}
.plan-paid .plan-items {
  color: var(--on-accent);
}
.plan .btn {
  margin-top: 12px;
}

/* FAQ */
.faq {
  max-width: 820px;
  margin: 0 auto;
  padding-inline: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq h2 {
  margin-bottom: 16px;
  font-size: 36px;
  line-height: 1.1;
  letter-spacing: -1px;
}
details {
  border-radius: 16px;
  background: var(--soft);
}
summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 44px;
  padding: 20px 22px;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
summary::-webkit-details-marker {
  display: none;
}
summary svg {
  flex: none;
  transition: transform 0.25s var(--ease);
}
details[open] summary svg {
  transform: rotate(180deg);
}
details p {
  padding: 0 22px 20px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--muted);
}

/* Final banner */
.final-section {
  padding-bottom: 96px;
}
.final {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 64px 56px;
  border-radius: 32px;
  background: var(--accent);
}
.final-copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cast {
  display: flex;
  align-items: flex-end;
  gap: 16px;
}
.final h2 {
  font-size: 44px;
  letter-spacing: -1.4px;
  color: #fff;
}

/* Footer */
footer {
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  padding-block: 48px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.footer-col strong {
  padding-bottom: 6px;
  color: var(--ink);
}
.footer-col a {
  display: flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
  text-decoration: none;
}
.footer-col a:hover {
  color: var(--ink);
}
.footer-brand {
  gap: 8px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-logo .wordmark {
  font-size: 20px;
  color: var(--ink);
}

/* Motion. Everything stays visible without scripts or for visitors who prefer less motion. */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes hop {
  0% {
    opacity: 0;
    transform: translateY(26px);
  }
  60% {
    opacity: 1;
    transform: translateY(-7px);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}
@keyframes bob {
  50% {
    transform: translateY(-4px);
  }
}
@keyframes unfold {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  /* The hero plays once on load. */
  .hero > * {
    animation: rise 0.7s var(--ease) both;
  }
  .hero > :nth-child(2) {
    animation-delay: 0.08s;
  }
  .hero > :nth-child(3) {
    animation-delay: 0.16s;
  }
  .hero > :nth-child(4) {
    animation-delay: 0.24s;
  }
  .hero > :nth-child(5) {
    animation-delay: 0.3s;
  }
  .hero > :nth-child(6) {
    animation-delay: 0.36s;
  }
  .peek {
    animation: hop 0.65s var(--ease) 0.8s both;
  }
  .peek-right {
    animation-delay: 0.95s;
  }

  /* Everything else fades up as it scrolls in (site.js adds .in and the stagger). */
  .js [data-reveal] {
    opacity: 0;
    transform: translateY(22px);
    transition:
      opacity 0.7s var(--ease) var(--delay, 0s),
      transform 0.7s var(--ease) var(--delay, 0s);
  }
  .js [data-reveal].in {
    opacity: 1;
    transform: none;
  }

  /* The cast lines up on the final banner, one by one. */
  .js .cast img {
    opacity: 0;
  }
  .js .cast.in img {
    animation: hop 0.6s var(--ease) both;
    animation-delay: calc(var(--i, 0) * 90ms + 0.15s);
  }

  /* Small sprites come alive when their card arrives. */
  .js .in .trust-icon img,
  .js .in .step-pets img {
    animation: hop 0.6s var(--ease) both;
    animation-delay: calc(var(--i, 0) * 60ms + 0.2s);
  }
  .malgrin {
    animation: bob 3.6s ease-in-out infinite;
  }
  details[open] p {
    animation: unfold 0.3s var(--ease);
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .btn,
  .btn:hover,
  .btn:active {
    transform: none;
    transition: none;
  }
}

/* Tablets (iPads) */
@media (max-width: 1040px) {
  h1 {
    font-size: 64px;
    letter-spacing: -2.4px;
  }
  h2 {
    font-size: 40px;
    letter-spacing: -1.2px;
  }
  .nav-links {
    gap: 4px;
  }
  .trust {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .step-img,
  .step-pets {
    height: 260px;
  }
  .world,
  .teachers {
    padding: 40px;
  }
  .realm img {
    width: 72px;
    height: 72px;
  }
  .grades {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .quotes {
    grid-template-columns: 1fr;
  }
}

/* Phones: the "Home — white, mobile (390)" board */
@media (max-width: 720px) {
  .wrap {
    padding-inline: 20px;
  }
  .section {
    padding-bottom: 64px;
  }
  .nav {
    gap: 8px;
    padding: 12px 16px 12px 20px;
    border-bottom: 1px solid #f0f1f3;
  }
  .brand {
    flex: 1;
    gap: 8px;
  }
  .brand img {
    width: 30px;
    height: 30px;
  }
  .wordmark {
    font-size: 21px;
  }
  .nav-toggle {
    display: flex;
  }
  .nav-login {
    display: none;
  }
  .nav-play {
    padding: 10px 16px;
    font-size: 14px;
  }
  .nav-links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 5;
    flex-direction: column;
    gap: 0;
    padding: 8px 20px 16px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    font-size: 17px;
  }
  .nav-links.open {
    display: flex;
    animation: unfold 0.2s var(--ease);
  }
  .nav-links a {
    padding: 0;
  }

  .hero {
    align-items: stretch;
    gap: 18px;
    padding-top: 36px;
    padding-bottom: 40px;
    text-align: left;
  }
  .pill {
    align-self: flex-start;
    font-size: 13px;
    padding: 7px 12px;
  }
  .pill-long {
    display: none;
  }
  .pill-short {
    display: inline;
  }
  h1 {
    font-size: clamp(36px, 11.4vw, 46px);
    letter-spacing: -1.8px;
  }
  .h1-star {
    margin-left: 4px;
  }
  .hero-lede {
    font-size: 17px;
  }
  .hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .hero-actions .btn {
    padding-inline: 8px;
    font-size: 15px;
    min-height: 50px;
  }
  .hero-actions .btn-accent {
    grid-column: 1 / -1;
    font-size: 17px;
    min-height: 54px;
  }
  .hero-note {
    font-size: 13px;
    text-align: center;
  }
  .carousel {
    margin-top: 38px;
  }
  .peek-left {
    left: 24px;
    width: 56px;
    height: 50px;
  }
  .peek-right {
    right: 28px;
    width: 54px;
    height: 50px;
  }
  .track {
    border-radius: 20px;
  }
  .caption {
    left: 10px;
    bottom: 10px;
    padding: 5px 10px;
    font-size: 11px;
  }
  .prev,
  .next {
    display: none;
  }
  .pause {
    right: 6px;
    bottom: 6px;
    background: transparent;
  }
  .pause::before {
    content: '';
    position: absolute;
    inset: 8px;
    z-index: -1;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
  }
  .pause {
    z-index: 0;
  }
  .pause svg {
    width: 14px;
    height: 14px;
  }
  .dot {
    width: 30px;
    min-width: 30px;
  }
  .dot::before {
    width: 7px;
    height: 7px;
  }
  .dot[aria-current='true']::before {
    width: 21px;
  }

  .trust {
    gap: 10px;
    padding-bottom: 64px;
  }
  .trust-card {
    gap: 6px;
    padding: 18px;
    border-radius: 18px;
  }
  .trust-icon {
    height: 36px;
  }
  .trust-title {
    font-size: 15px;
  }
  .trust-text {
    font-size: 13px;
    line-height: 1.45;
  }

  h2,
  .h2-small {
    font-size: 30px;
    line-height: 1.08;
    letter-spacing: -1px;
  }
  .eyebrow {
    font-size: 13px;
  }
  .how {
    gap: 20px;
  }
  .lede {
    font-size: 16px;
  }
  .steps {
    gap: 12px;
  }
  .step {
    gap: 12px;
    padding: 20px;
    border-radius: 24px;
  }
  .step-img,
  .step-pets {
    height: 170px;
    border-radius: 14px;
  }
  .step-pets {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .step-pets .desktop-only {
    display: none;
  }
  .step h3 {
    font-size: 21px;
    letter-spacing: 0;
  }
  .step p:last-child {
    font-size: 15px;
  }

  .world-wrap,
  .teachers-wrap,
  .final-wrap {
    padding-inline: 12px;
  }
  .world,
  .teachers {
    gap: 20px;
    padding: 28px 20px;
    border-radius: 26px;
  }
  .world h2 {
    font-size: 32px;
    letter-spacing: -1px;
  }
  .world-top,
  .world-side {
    display: contents;
  }
  .world .malgrin {
    width: 96px;
    height: 96px;
    align-self: center;
    order: 3;
  }
  .world-heading {
    order: 1;
  }
  .realms {
    order: 2;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }
  .world .btn {
    order: 4;
    font-size: 15px;
  }
  .realm {
    gap: 4px;
    padding: 10px 4px;
    border-radius: 14px;
  }
  .realm img {
    width: 48px;
    height: 48px;
  }
  .realm-name {
    font-size: 11px;
    line-height: 1.2;
  }
  .realm-kind,
  .realm-spire {
    display: none;
  }

  .parents {
    gap: 20px;
  }
  .parents-copy {
    flex-basis: 100%;
  }
  .feature-list {
    gap: 16px;
    font-size: 16px;
  }
  .feature {
    gap: 14px;
  }
  .feature-icon {
    width: 48px;
    height: 48px;
  }
  .button-row {
    flex-direction: column;
  }
  .button-row .btn {
    width: 100%;
  }
  .dash {
    flex-basis: 100%;
    gap: 12px;
    padding: 18px;
    border-radius: 22px;
  }
  .dash-title {
    font-size: 16px;
  }
  .dash-label {
    font-size: 12px;
  }
  .dash-stats {
    gap: 8px;
  }
  .dash-stat {
    padding: 12px;
    border-radius: 12px;
  }
  .dash-tricky {
    padding: 12px;
    border-radius: 12px;
  }
  .dash-num {
    font-size: 22px;
    letter-spacing: 0;
  }
  .dash-stat-label {
    font-size: 12px;
  }
  .chips {
    gap: 6px;
    font-size: 14px;
  }
  .chips li {
    padding: 5px 11px;
  }

  .teachers-copy {
    flex-basis: 100%;
  }
  .teachers-copy .btn {
    width: 100%;
    font-size: 15px;
  }
  .teachers-text {
    font-size: 15px;
  }
  .teachers-cards {
    flex-basis: 100%;
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .teacher-card {
    padding: 14px 16px;
    border-radius: 16px;
  }

  .column-section {
    gap: 18px;
  }
  .grades {
    gap: 8px;
  }
  .grade {
    gap: 2px;
    padding: 14px;
    border-radius: 16px;
  }
  .grade-letter {
    font-size: 30px;
    letter-spacing: 0;
  }
  .grade-name {
    font-size: 13px;
  }
  .grade-full {
    display: none;
  }
  .grade-short {
    display: inline;
  }
  .grade-count {
    font-size: 12px;
  }

  .quotes-section {
    padding-inline: 0;
  }
  .quotes-section h2 {
    padding-inline: 20px;
  }
  .quotes {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 0 20px 4px;
    scroll-snap-type: x proximity;
    scroll-padding-inline: 20px;
    scrollbar-width: none;
  }
  .quotes::-webkit-scrollbar {
    display: none;
  }
  .quote {
    flex: none;
    width: 290px;
    gap: 12px;
    padding: 22px;
    border-radius: 20px;
    scroll-snap-align: start;
  }
  .quote blockquote {
    font-size: 16px;
  }
  .quote figcaption {
    font-size: 13px;
  }

  .plans-section {
    align-items: stretch;
    gap: 12px;
  }
  .plans-section h2 {
    margin-bottom: 6px;
    text-align: left;
  }
  .plans-lede {
    margin: 0 0 6px;
    text-align: left;
  }
  .plans {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .plan {
    gap: 10px;
    padding: 22px;
    border-radius: 22px;
  }
  .plan-name {
    font-size: 20px;
  }
  .plan-items {
    font-size: 15px;
  }

  .faq {
    gap: 8px;
    padding-inline: 20px;
  }
  .faq h2 {
    margin-bottom: 10px;
    font-size: 28px;
    letter-spacing: -0.8px;
  }
  details {
    border-radius: 14px;
  }
  summary {
    padding: 16px 18px;
    font-size: 16px;
  }
  details p {
    padding: 0 18px 16px;
    font-size: 15px;
  }

  .final-section {
    padding-bottom: 48px;
  }
  .final {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    padding: 32px 22px;
    border-radius: 26px;
  }
  .final h2 {
    font-size: 32px;
    letter-spacing: -1px;
  }
  .cast {
    gap: 12px;
  }
  .cast img {
    transform-origin: bottom;
    zoom: 0.67;
  }
  .final .btn {
    font-size: 17px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 16px;
    padding-block: 32px 40px;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* Spelling lists, the test, games and comparison pages (tools/site/build_site.py) */
.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 8px 16px;
}
.see-all {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
  text-decoration: none;
}
.crumbs {
  padding-top: 12px;
  font-size: 14px;
  color: var(--faint);
}
.crumbs a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.heart-note {
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
}
.page-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding-top: 32px;
  padding-bottom: 56px;
}
.h1-page {
  max-width: 900px;
  font-size: 56px;
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -2px;
  text-wrap: balance;
}
.page-head .lede {
  max-width: 760px;
}
.h3 {
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -0.5px;
}
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 6px;
}
.tab {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--button);
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}
.tab:hover {
  background: #e8eaed;
  color: var(--ink);
}
.tab[aria-current='page'] {
  background: var(--ink);
  color: #fff;
}
.with-side {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  align-items: start;
  gap: 24px;
}
.side-main,
.side-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px;
  border-radius: 28px;
  background: var(--soft);
}
.panel-text {
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
}
.words {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 8px;
}
.word {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  min-height: 52px;
  padding: 4px 4px 4px 14px;
  border-radius: 14px;
  background: #fff;
  font-size: 18px;
  font-weight: 600;
}
.hear {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--mint);
  color: var(--accent-dark);
  cursor: pointer;
  transition: background-color 0.18s;
}
.hear:hover {
  background: #d3efe3;
}
.sentences {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--body);
}
.mistakes {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}
.mistakes th,
.mistakes td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.mistakes th {
  font-size: 14px;
  color: var(--muted);
}
.side-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 24px;
  border-radius: 24px;
  background: var(--soft);
}
.side-accent {
  background: var(--accent);
  color: #fff;
}
.side-title {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.3px;
}
.side-text {
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
}
.side-accent .side-text {
  color: var(--on-accent);
}
.upsell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 40px;
  padding: 48px;
  border-radius: 32px;
  background: var(--butter);
}
.upsell-copy {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.upsell .eyebrow {
  color: #7a5300;
}
.upsell-text {
  font-size: 17px;
  line-height: 1.55;
  color: var(--body);
}
.upsell-items {
  flex: none;
  color: var(--body);
}
.upsell .btn-soft {
  background: #fff;
}
.upsell-note {
  font-size: 14px;
  line-height: 1.5;
  color: var(--body);
}
.upsell-note a {
  color: var(--accent-dark);
}
.upsell-samples {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.upsell-samples figure {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.upsell-samples img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(60, 40, 0, 0.14);
}
.upsell-samples figcaption {
  font-size: 13px;
  color: #6b4900;
}
.final-text {
  max-width: 560px;
  font-size: 17px;
  line-height: 1.5;
  color: var(--on-accent);
}
.next-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}
.next-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px 22px;
  border-radius: 20px;
  background: var(--soft);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}
.next-link small {
  font-size: 13px;
  font-weight: 500;
  color: var(--faint);
}
.list-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.list-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px;
  border-radius: 20px;
  background: var(--soft);
  color: var(--ink);
  text-decoration: none;
  transition: background-color 0.18s;
}
.list-card:hover {
  background: #eceef1;
  color: var(--ink);
}
.list-card strong {
  font-size: 18px;
}
.list-rule {
  font-size: 15px;
  line-height: 1.45;
  color: var(--muted);
}
.list-sample {
  font-size: 15px;
  color: var(--accent-dark);
  font-weight: 500;
}
.list-count {
  font-size: 13px;
  color: var(--faint);
}
a.grade {
  color: var(--ink);
  text-decoration: none;
  transition: background-color 0.18s;
}
a.grade:hover {
  background: #eceef1;
  color: var(--ink);
}
.tool-banner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 40px;
  border-radius: 32px;
  background: var(--lilac);
}
.article {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--body);
}
.article h2,
.article h3 {
  color: var(--ink);
}
.article ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 22px;
  list-style: disc;
}
section.article {
  max-width: 860px;
}
.test {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  min-height: 240px;
  padding: 40px;
  border-radius: 32px;
  background: var(--lilac);
}
.test-intro {
  font-size: 17px;
  line-height: 1.5;
  color: var(--body);
}
.test-count {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #3f35a8;
}
.test-hint {
  max-width: 640px;
  font-size: 20px;
  line-height: 1.45;
}
.test-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  max-width: 480px;
}
.test-label {
  font-size: 15px;
  font-weight: 600;
}
.test-row {
  display: flex;
  gap: 8px;
}
.test-input {
  flex: 1;
  min-width: 0;
  min-height: 52px;
  padding: 0 16px;
  border: 2px solid #c9c6ec;
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 20px;
}
.test-result {
  font-size: 26px;
  line-height: 1.3;
}
.test .words {
  width: 100%;
}
.table-scroll {
  border-radius: 24px;
  background: var(--soft);
  overflow: hidden;
}
.compare {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 16px;
  line-height: 1.45;
}
.compare-label {
  width: 22%;
}
.compare th,
.compare td {
  padding: 16px 20px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
.compare thead th {
  vertical-align: bottom;
  font-size: 18px;
  font-weight: 800;
}
.compare tbody th {
  font-weight: 600;
}
.compare .compare-us {
  background: #d9f2e6;
  box-shadow:
    inset 3px 0 0 var(--accent),
    inset -3px 0 0 var(--accent);
  color: var(--ink);
  font-weight: 600;
}
.compare tbody .compare-us {
  /* A pixel-art check mark: one colour, crisp at any size. */
  padding-left: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9 7' shape-rendering='crispEdges'%3E%3Cpath fill='%230f7a57' d='M7 0h2v2H7zM6 1h2v2H6zM5 2h2v2H5zM4 3h2v2H4zM3 4h2v2H3zM2 5h2v2H2zM1 4h2v2H1zM0 3h2v2H0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 18px 20px;
  background-size: 18px 14px;
}
.compare tbody td:not(.compare-us) {
  color: var(--muted);
}
.compare tbody .compare-none {
  /* A pixel-art X in grey: never red (feedback here stays gentle). */
  padding-left: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 7 7' shape-rendering='crispEdges'%3E%3Cpath fill='%23a2a7b2' d='M0 0h2v1H0zM5 0h2v1H5zM1 1h2v1H1zM4 1h2v1H4zM2 2h3v1H2zM3 3h1v1H3zM2 4h3v1H2zM1 5h2v1H1zM4 5h2v1H4zM0 6h2v1H0zM5 6h2v1H5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 20px 20px;
  background-size: 14px 14px;
}
.compare .compare-us-head {
  position: relative;
  padding-right: 76px;
  background: var(--accent);
  border-bottom-color: var(--accent);
  color: #fff;
}
.compare-us-head .px {
  position: absolute;
  right: 12px;
  bottom: 8px;
}
.compare-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}
.compare-brand .wordmark {
  font-size: 22px;
}
.compare tbody tr:last-child > * {
  border-bottom: 0;
}
.compare tbody tr:last-child .compare-us {
  box-shadow:
    inset 3px 0 0 var(--accent),
    inset -3px 0 0 var(--accent),
    inset 0 -3px 0 var(--accent);
}
.source-note {
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--faint);
}
.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.print-sheet {
  display: none;
}
.plan-more {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
}
.plan-more:hover {
  color: var(--on-accent);
}
.member-price {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 24px;
  border-radius: 24px;
  background: var(--accent);
  color: #fff;
}
.member-then {
  max-width: 560px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
}
.member-note {
  font-size: 14px;
  color: var(--faint);
}
.member-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  align-items: center;
  gap: 40px;
  padding-top: 40px;
}
.member-copy {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--body);
}
.member-copy .h3 {
  color: var(--ink);
}
.shot {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.shot img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  background: #f2f2f7;
  box-shadow: 0 6px 24px rgba(17, 19, 24, 0.1);
}
.shot figcaption {
  font-size: 13px;
  color: var(--faint);
}
.member-cast {
  justify-content: center;
}
.member-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding-top: 32px;
}
.member-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  border-radius: 24px;
  background: var(--butter);
  color: var(--body);
  font-size: 15px;
  line-height: 1.5;
}
.member-card .px {
  height: 66px;
  width: auto;
  object-fit: contain;
  object-position: left bottom;
}
.member-card .h3 {
  font-size: 19px;
  color: var(--ink);
}
@media (max-width: 1040px) {
  .member-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 520px) {
  .member-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
.family-panel {
  background: var(--lilac);
}
@media (max-width: 860px) {
  .member-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    padding-top: 28px;
  }
}
@media (max-width: 1040px) {
  .with-side,
  .upsell {
    grid-template-columns: minmax(0, 1fr);
  }
  .list-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 720px) {
  /* Both products side by side, with each row's label above them: no sideways scrolling. */
  .compare,
  .compare thead,
  .compare tbody {
    display: block;
  }
  .compare colgroup,
  .compare-corner {
    display: none;
  }
  .compare tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .compare th,
  .compare td {
    padding: 12px;
    font-size: 14px;
    border-bottom: 0;
  }
  .compare tbody th {
    grid-column: 1 / -1;
    padding-bottom: 8px;
    border-top: 1px solid var(--line);
    background: var(--soft);
    font-size: 13px;
    font-weight: 700;
    color: var(--muted);
  }
  .compare tbody td:last-child {
    border-bottom: 1px solid var(--line);
  }
  .compare tbody .compare-us {
    padding-left: 12px;
    padding-top: 32px;
    background-position: 12px 12px;
  }
  .compare tbody .compare-none {
    padding-left: 12px;
    padding-top: 32px;
    background-position: 12px 12px;
  }
  .compare thead th {
    font-size: 15px;
  }
  .compare .compare-us-head {
    padding: 44px 12px 12px;
  }
  .compare-us-head .px {
    right: 8px;
    bottom: auto;
    top: 6px;
    width: 36px;
    height: 32px;
  }
  .compare-brand .wordmark {
    font-size: 17px;
  }
  .compare-brand img {
    width: 22px;
    height: 22px;
  }
  .h1-page {
    font-size: clamp(32px, 9.6vw, 40px);
    letter-spacing: -1.2px;
  }
  .page-head {
    gap: 14px;
    padding-top: 20px;
    padding-bottom: 36px;
  }
  .page-head .button-row {
    width: 100%;
  }
  .panel {
    padding: 20px;
    border-radius: 22px;
  }
  .upsell,
  .test,
  .tool-banner {
    gap: 20px;
    padding: 24px 20px;
    border-radius: 26px;
  }
  .list-grid,
  .two-col {
    grid-template-columns: minmax(0, 1fr);
  }
  .words {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .word {
    font-size: 16px;
  }
  .tool-banner .btn,
  .test .btn {
    width: 100%;
  }
  .test-row .btn {
    width: auto;
  }
}
@page {
  margin: 0.6in;
}
@media print {
  body > *,
  main > *:not(.print-sheet) {
    display: none !important;
  }
  body > main {
    display: block !important;
  }
  .print-sheet {
    display: block;
    color: #000;
    font-size: 15px;
  }
  .print-sheet h2 {
    margin-top: 16px;
    font-size: 26px;
    letter-spacing: 0;
  }
  .print-top {
    display: flex;
    justify-content: space-between;
  }
  .print-sub {
    margin-top: 4px;
  }
  .print-words {
    columns: 2;
    column-gap: 32px;
    margin: 16px 0 0;
    padding-left: 32px;
  }
  .print-words li {
    break-inside: avoid;
    padding-top: 7px;
    font-size: 16px;
    font-weight: 600;
  }
  .print-words span {
    display: block;
    height: 19px;
    border-bottom: 1px solid #777;
  }
  .print-foot {
    margin-top: 16px;
    font-size: 12px;
  }
}
