@font-face {
  font-family: Nunito;
  src: url("/fonts/nunito-latin-wght-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
}
@font-face {
  font-family: DM Sans;
  src: url("/fonts/dm-sans-latin-wght-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
}
:root {
  --green: #14bf96;
  --deep: #134f42;
  --green-dark: #087d61;
  --mint: #eaf7ee;
  --yellow: #ffd166;
  --blue: #63b3ed;
  --coral: #ff8066;
  --surface: #ffffff;
  --surface-subtle: #f7f9fb;
  --ink: #343a40;
  --muted: #69736c;
  --line: #e3e8ed;
  --purple: #c5b2ed;
  --radius: 22px;
  --shadow: 0 10px 30px #174a3520;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  line-height: 1.6;
}
h1,
h2,
h3,
h4,
.brand,
.button {
  font-family: Nunito, sans-serif;
}
h1,
h2,
h3,
h4 {
  color: var(--deep);
  line-height: 1.16;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
  font-weight: 850;
}
h1 {
  font-size: 46px;
}
h2 {
  font-size: 38px;
}
h3 {
  font-size: 23px;
}
p {
  margin: 0 0 20px;
  color: var(--muted);
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea,
summary {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
a,
button,
input,
select,
textarea,
summary {
  outline-offset: 5px;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--green-dark);
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button {
  border: 0;
  background: none;
}
hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 22px 0;
}
fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
legend {
  font-weight: 650;
  margin-bottom: 12px;
}
strong {
  font-weight: 700;
}
::selection {
  background: #b9eddc;
  color: var(--deep);
}
[hidden] {
  display: none !important;
}
.container {
  width: min(1240px, calc(100% - 96px));
  margin: 0 auto;
}
.narrow {
  max-width: 780px;
}
.centered {
  text-align: center;
}
.quiet {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
.eyebrow {
  display: block;
  font-size: 11px;
  letter-spacing: 1.7px;
  font-weight: 800;
  color: var(--green-dark);
  margin-bottom: 18px;
}
.tag {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 1px;
  font-weight: 750;
  line-height: 1.4;
  color: var(--deep);
}
.skip-link {
  position: fixed;
  z-index: 100;
  top: -80px;
  left: 20px;
  background: var(--deep);
  color: white;
  padding: 14px;
  border-radius: 9px;
}
.skip-link:focus {
  top: 10px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background: var(--green-dark);
  color: #fff;
  padding: 16px 28px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 850;
  line-height: 1.4;
  min-height: 54px;
  border: 1.5px solid transparent;
  transition:
    transform 0.18s,
    background 0.18s,
    box-shadow 0.18s;
}
.button:hover:not(:disabled) {
  background: var(--deep);
  transform: translateY(-2px);
  box-shadow: 0 5px 14px #134f4215;
}
.button-small {
  font-size: 14px;
  min-height: 44px;
  padding: 11px 20px;
  gap: 14px;
}
.button-outline {
  background: transparent;
  color: var(--deep);
  border-color: #b8d0c4;
}
.button-outline:hover:not(:disabled) {
  color: var(--deep);
  background: #e9f5ed;
  border-color: var(--deep);
}
.button-danger {
  background: #a62d2d;
}
.full-width {
  width: 100%;
}
.text-button,
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--deep);
  min-height: 44px;
}
.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.text-button {
  padding: 0;
  font-size: 14px;
}
.back-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
  font-size: 13px;
}
.back-link:hover {
  color: var(--green-dark);
}
.green {
  background: #e7f5e9;
}
.blue {
  background: #e8f3fb;
}
.yellow {
  background: #f7f9fb;
}
.coral {
  background: #ffede5;
}
.purple {
  background: #f0eafa;
}
.site-header {
  background: #ffffff;
  border-bottom: 1px solid #edf0f3;
  position: relative;
  z-index: 20;
}
.nav-wrap {
  min-height: 91px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  font-weight: 900;
  color: var(--deep);
  font-size: 29px;
  letter-spacing: -1.6px;
  line-height: 1;
}
.brand-to {
  font-weight: 550;
}
.brand-dot {
  color: var(--green);
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 29px;
  font-size: 13px;
  font-weight: 650;
  color: #46534a;
}
.main-nav > a:not(.button):hover,
.main-nav > a.active {
  color: var(--green-dark);
}
.nav-divider {
  height: 20px;
  width: 1px;
  background: var(--line);
}
.menu-toggle {
  display: none;
  font-size: 25px;
  padding: 8px 12px;
}
.profile-link {
  border-radius: 50%;
  background: var(--mint);
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: var(--deep);
}
.hero {
  background: var(--surface);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: 12px;
  min-height: 602px;
  padding-top: 32px;
  padding-bottom: 48px;
}
.hero-copy {
  padding-bottom: 12px;
  position: relative;
  z-index: 2;
}
.hero .eyebrow {
  font-size: 10.5px;
  letter-spacing: 1.7px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}
.tiny-spark {
  color: #d5a126;
  font-size: 26px;
  line-height: 1;
}
.hero h1 {
  font-size: 66px;
  font-weight: 900;
  line-height: 1.07;
  letter-spacing: -3px;
  margin-bottom: 27px;
}
.hand-underline {
  position: relative;
  color: var(--green-dark);
  white-space: nowrap;
}
.hand-underline:after {
  content: "";
  display: block;
  height: 7px;
  background: var(--yellow);
  border-radius: 50%;
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  z-index: -1;
  transform: rotate(-1deg);
}
.hero-description {
  font-size: 16px;
  line-height: 1.85;
  max-width: 447px;
  margin-bottom: 28px;
}
.hero-actions {
  display: flex;
  gap: 26px;
  align-items: center;
  margin-bottom: 25px;
}
.hero-actions .button {
  padding: 16px 25px;
}
.play-circle {
  border: 1.5px solid #9daea0;
  width: 29px;
  height: 29px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 9px;
  padding-left: 2px;
}
.hero-details {
  display: flex;
  gap: 15px;
  font-size: 10.5px;
  color: #6a7669;
}
.hero-details span:first-letter {
  color: var(--green-dark);
}
.hero-art {
  position: relative;
  margin-right: -28px;
  margin-left: -4px;
  padding-top: 12px;
  isolation: isolate;
}
.garden-art {
  width: 100%;
  border-radius: 52% 48% 43% 48%;
  mix-blend-mode: normal;
}
.floating-note {
  position: absolute;
  right: 2%;
  bottom: 4%;
  display: flex;
  align-items: center;
  gap: 11px;
  background: #ffffff;
  border: 1px solid #e3e8ed;
  border-radius: 14px;
  padding: 15px 21px;
  box-shadow: 0 9px 22px #594f2410;
  transform: rotate(-6deg);
  font-size: 12px;
  line-height: 1.5;
  color: var(--deep);
}
.floating-note strong {
  font-family: Nunito;
  font-size: 15px;
  font-weight: 850;
}
.note-star {
  color: #e5b236;
  font-size: 31px;
}
.note-spark {
  font-size: 26px;
  color: var(--green-dark);
  margin-left: 5px;
}
.letter-float {
  position: absolute;
  left: 4%;
  top: 7%;
  height: 75px;
  width: 74px;
  background: #ffffff;
  box-shadow: 0 6px 14px #594f240d;
  transform: rotate(-10deg);
  border: 1px solid #e3e8ed;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-family: Nunito;
  font-size: 32px;
  font-weight: 900;
  color: var(--green-dark);
}
.letter-float span {
  position: absolute;
  width: 165px;
  left: -20px;
  top: 80px;
  white-space: nowrap;
  font-size: 10px;
  font-weight: 700;
  transform: rotate(10deg);
  color: #74826d;
}
.promise-band {
  background: #edf6ed;
  border-top: 1px solid #e5efdf;
  border-bottom: 1px solid #e5efdf;
}
.promises {
  display: flex;
  justify-content: center;
  gap: 72px;
  align-items: center;
  min-height: 73px;
  color: #4e6555;
  font-size: 12px;
  font-weight: 600;
}
.promises > span {
  display: flex;
  align-items: center;
  gap: 12px;
}
.promise-icon {
  font-size: 25px;
  font-weight: 400;
  color: #3c7f5c;
}
.section {
  padding: 88px 0;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 25px;
  margin-bottom: 36px;
}
.section-heading h2 {
  font-size: 35px;
  margin-bottom: 0;
}
.section-heading p {
  font-size: 13px;
  line-height: 1.8;
  margin-bottom: 4px;
  max-width: 350px;
}
.section-heading .eyebrow {
  margin-bottom: 14px;
}
.stage-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.stage-card {
  position: relative;
  padding: 23px 20px 22px;
  border-radius: 17px;
  min-height: 265px;
  transition: transform 0.2s;
}
.stage-card:hover {
  transform: translateY(-5px);
}
.stage-art {
  height: 79px;
  display: flex;
  align-items: center;
  font-family: Nunito;
  font-size: 46px;
  font-weight: 900;
  color: var(--green-dark);
  letter-spacing: -4px;
}
.blue .stage-art {
  color: #3c84b9;
  letter-spacing: 0;
}
.yellow .stage-art {
  color: #ad8126;
  transform: rotate(-6deg);
  transform-origin: left;
}
.coral .stage-art {
  color: #c3634b;
}
.purple .stage-art {
  color: #8567b2;
}
.stage-number {
  display: block;
  font-size: 9px;
  letter-spacing: 1.2px;
  color: #637266;
  font-weight: 750;
  margin: 12px 0 7px;
}
.stage-card h3 {
  font-size: 18px;
  letter-spacing: -0.45px;
  white-space: nowrap;
  margin-bottom: 10px;
}
.stage-card p {
  font-size: 11.5px;
  line-height: 1.65;
  padding-right: 12px;
  margin-bottom: 0;
}
.stage-arrow {
  position: absolute;
  bottom: 20px;
  right: 17px;
  color: #59715a;
  font-size: 18px;
}
.journey-section > .container > .quiet {
  margin: 25px 0 0;
  font-size: 11px;
}
.soft-section {
  background: #f7f9fb;
}
.section-intro {
  max-width: 680px;
  margin: 0 auto 42px;
}
.section-intro h2 {
  font-size: 38px;
}
.section-intro p {
  font-size: 15px;
}
.three-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.steps {
  gap: 65px;
  text-align: center;
  margin-top: 46px;
}
.steps p {
  font-size: 14px;
  line-height: 1.8;
}
.step-number {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 24px;
  border-radius: 20px;
  font: 900 26px Nunito;
  transform: rotate(-6deg);
  color: var(--deep);
}
.steps article:nth-child(2) .step-number {
  transform: rotate(6deg);
}
.steps h3 {
  font-size: 22px;
}
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 85px;
  align-items: center;
}
.section-copy h2 {
  font-size: 41px;
}
.section-copy > p {
  font-size: 15px;
  line-height: 1.85;
}
.check-list {
  padding: 0;
  margin: 24px 0 30px;
  list-style: none;
}
.check-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 13px;
  font-size: 14px;
}
.check-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green-dark);
  font-weight: 800;
}
.activity-demo-card {
  border: 1px solid #e3eadf;
  border-radius: 24px;
  background: #f5f9f0;
  text-align: center;
  padding: 28px 35px 32px;
  box-shadow: 0 12px 0 -5px #eaf0e2;
  transform: rotate(-2deg);
}
.demo-top {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #64735e;
}
.demo-flower {
  display: block;
  font-size: 74px;
  margin: 25px auto 10px;
}
.activity-demo-card h3 {
  font-size: 25px;
  margin-bottom: 6px;
}
.activity-demo-card p {
  font-size: 13px;
}
.letter-tiles {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin: 25px 0;
}
.letter-tiles span {
  display: grid;
  place-items: center;
  width: 63px;
  height: 68px;
  border-radius: 12px;
  font: 900 41px Nunito;
  border-bottom: 4px solid #00000013;
  color: var(--deep);
}
.letter-tiles span:nth-child(2) {
  transform: rotate(5deg);
}
.parent-section {
  background: var(--surface);
}
.parent-preview {
  padding: 30px;
  background: #fff;
  border: 1px solid #e3e8ed;
  box-shadow: 0 10px 28px #7772430a;
  border-radius: 20px;
  transform: rotate(2deg);
}
.preview-header {
  display: flex;
  align-items: center;
  gap: 12px;
}
.preview-header > div {
  flex: 1;
}
.preview-header strong {
  display: block;
  font: 800 17px Nunito;
  color: var(--deep);
}
.preview-header div span {
  font-size: 11px;
  color: var(--muted);
}
.preview-header > .tag {
  font-size: 8px;
}
.avatar-circle {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  background: var(--mint);
  border-radius: 50%;
  font-size: 25px;
}
.week-dots {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 30px 0;
}
.week-dots > div {
  text-align: center;
  flex: 1;
}
.week-dots span {
  display: grid;
  place-items: center;
  font: 850 20px Nunito;
  color: #1c7054;
  background: var(--mint);
  border-radius: 12px;
  aspect-ratio: 1;
}
.week-dots > div:nth-child(2n) span {
  background: #f7f9fb;
}
.week-dots small {
  font-size: 11px;
  display: block;
  margin-top: 8px;
  color: var(--muted);
}
.preview-real {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px 16px;
  background: #f7f9fb;
  border-radius: 12px;
}
.preview-real > span {
  font-size: 30px;
}
.preview-real strong {
  font: 800 16px Nunito;
  color: var(--deep);
}
.preview-real p {
  font-size: 11px;
  margin: 3px 0 0;
}
.parent-preview > .quiet {
  margin: 20px 0 0;
  text-align: center;
  font-size: 11px;
}
.offline-card {
  border-radius: 19px;
  padding: 26px;
}
.offline-art {
  display: block;
  font-size: 65px;
  text-align: center;
  padding: 12px 0 29px;
}
.offline-card .tag {
  font-size: 9px;
  margin-bottom: 13px;
}
.offline-card h3 {
  font-size: 22px;
}
.offline-card p {
  font-size: 13px;
  line-height: 1.8;
}
.offline-card .quiet {
  font-size: 11px;
}
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  max-width: 840px;
  margin: 0 auto 25px;
}
.pricing-card {
  position: relative;
  background: white;
  border: 1px solid #dce5da;
  border-radius: 20px;
  padding: 32px;
  overflow: hidden;
}
.pricing-card.featured {
  border: 2px solid #72b89c;
  background: #fcfffb;
}
.plan-ribbon {
  position: absolute;
  right: -1px;
  top: 0;
  padding: 9px 18px;
  background: #e1f2e5;
  border-radius: 0 0 0 14px;
  font-size: 8px;
  letter-spacing: 1px;
  font-weight: 800;
  color: var(--green-dark);
}
.plan-icon {
  display: grid;
  place-items: center;
  width: 49px;
  height: 49px;
  font-size: 25px;
  border-radius: 13px;
  margin-bottom: 20px;
}
.pricing-card h3,
.pricing-card h2 {
  font-size: 25px;
  margin-bottom: 8px;
}
.pricing-card > p {
  font-size: 12px;
}
.price {
  font: 900 39px Nunito;
  letter-spacing: -1px;
  color: var(--deep);
  margin: 24px 0;
}
.price span {
  font: 400 13px "DM Sans";
  color: var(--muted);
  letter-spacing: 0;
  margin-left: 6px;
}
.pricing-card .check-list li {
  font-size: 12px;
  margin-bottom: 14px;
}
.pricing-card .check-list {
  margin-bottom: 30px;
}
.family-stories {
  padding: 64px 0;
}
.family-stories .two-col {
  gap: 45px;
}
.family-stories h2 {
  font-size: 33px;
}
.family-stories p {
  font-size: 14px;
}
.testimonial-placeholder {
  display: flex;
  gap: 20px;
  border: 1px dashed #c4d8c8;
  padding: 25px;
  border-radius: 20px;
}
.testimonial-placeholder > span {
  font-size: 50px;
  color: #84ab8d;
  line-height: 1;
}
.testimonial-placeholder .tag {
  font-size: 8px;
  margin-bottom: 12px;
}
.testimonial-placeholder h3 {
  font-size: 21px;
}
.testimonial-placeholder p {
  font-size: 12px;
  margin-bottom: 0;
}
.faq-section {
  border-top: 1px solid var(--line);
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  list-style: none;
  padding: 23px 0;
  color: var(--deep);
  font-weight: 650;
  font-size: 15px;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary > span {
  font-size: 24px;
  font-weight: 400;
  color: var(--green-dark);
}
.faq-item[open] summary > span {
  transform: rotate(45deg);
}
.faq-item p {
  font-size: 14px;
  line-height: 1.85;
  padding-right: 25px;
  margin: 0 0 24px;
}
.final-cta {
  background: #edf6e9;
  padding: 48px 0;
}
.final-cta > .container {
  display: flex;
  gap: 28px;
  align-items: center;
}
.final-cta h2 {
  font-size: 28px;
  margin-bottom: 8px;
}
.final-cta p {
  margin-bottom: 0;
  font-size: 13px;
}
.final-cta .button {
  margin-left: auto;
  white-space: nowrap;
}
.cta-spark {
  font-size: 65px;
  color: #d9ac37;
}
.site-footer {
  background: #ffffff;
  padding-top: 60px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 45px;
  padding-bottom: 42px;
}
.site-footer .brand {
  font-size: 25px;
}
.site-footer p {
  font-size: 12px;
  margin-top: 18px;
  line-height: 1.8;
}
.footer-top > div > strong {
  display: block;
  font-size: 12px;
  margin-bottom: 19px;
  color: var(--deep);
}
.footer-top > div > a:not(.brand) {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin: 10px 0;
}
.footer-top a:hover {
  color: var(--green-dark);
}
.footer-note {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.small-sun {
  color: #d8ae39;
  font-size: 45px;
  line-height: 1.3;
}
.footer-note p {
  margin: 7px 0;
  color: var(--deep);
}
.footer-bottom {
  padding: 20px 0;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 10px;
  color: #819080;
}
.app-footer {
  padding: 42px 24px;
  text-align: center;
  color: #738172;
  font-size: 11px;
}
.app-footer > span {
  font: 900 15px Nunito;
  color: var(--deep);
  margin-right: 12px;
}
.notice {
  padding: 16px 20px;
  border: 1px solid #bddbc9;
  background: #eef8ee;
  border-radius: 12px;
  color: #2d6745;
  font-size: 13px;
  margin: 20px 0;
}
.notice.error {
  background: #fff1ed;
  border-color: #e5b6a9;
  color: #8e3e2b;
}
.notice.info {
  background: #f1f7fb;
  border-color: #cbdeeb;
  color: #3d6279;
}
.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  background: #fff;
}
.panel h2 {
  font-size: 25px;
}
.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}
.panel-heading h2,
.panel-heading h3 {
  margin: 0;
}
.panel-heading .eyebrow {
  margin-bottom: 10px;
}
.page-heading {
  margin: 50px 0 35px;
}
.page-heading h1 {
  font-size: 40px;
}
.page-heading p {
  font-size: 14px;
  max-width: 680px;
}
.page-heading.centered p {
  margin-left: auto;
  margin-right: auto;
}
.dashboard-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}
.dashboard-heading .text-link {
  font-size: 12px;
  white-space: nowrap;
}
.form-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-stack > p {
  margin: 0;
}
.form-stack .button {
  align-self: flex-start;
}
label {
  display: block;
  font-size: 13px;
  font-weight: 650;
  color: #3b5448;
}
input:not([type="checkbox"]):not([type="radio"]),
select,
textarea {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 13px 15px;
  min-height: 48px;
  border: 1px solid #d5ded4;
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  outline-color: var(--green-dark);
}
input::placeholder {
  color: #98a098;
  font-weight: 400;
}
input:focus,
select:focus,
textarea:focus {
  border-color: var(--green-dark);
  box-shadow: 0 0 0 3px #14bf9612;
}
input[type="checkbox"],
input[type="radio"] {
  accent-color: var(--green-dark);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
input[type="file"] {
  padding: 10px;
}
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.7;
}
.checkbox-label input {
  margin: 3px 0 0;
}
.checkbox-label a {
  text-decoration: underline;
  color: var(--green-dark);
}
.field-help {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
  margin-top: 8px;
}
.two-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.form-icon {
  display: block;
  font-size: 40px;
  margin-bottom: 17px;
}
.auth-page {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  padding-top: 60px;
  padding-bottom: 25px;
  max-width: 1120px;
}
.auth-story {
  background: var(--surface);
  border-radius: 30px;
  padding: 35px 30px;
  text-align: center;
  align-self: start;
}
.auth-story h1 {
  font-size: 44px;
  line-height: 1.1;
}
.auth-story .eyebrow {
  font-size: 9px;
}
.auth-story > p {
  font-size: 13px;
  margin: 0;
}
.auth-story img {
  mix-blend-mode: normal;
  border-radius: 30px;
  margin: 15px 0;
}
.auth-story .quiet {
  font-size: 11px;
}
.auth-card {
  padding-top: 5px;
}
.auth-card .back-link {
  margin-bottom: 30px;
}
.auth-card h2 {
  font-size: 31px;
  letter-spacing: -1px;
}
.auth-card > p {
  font-size: 13px;
}
.password-field {
  position: relative;
}
.password-field input {
  padding-right: 66px !important;
}
.show-password {
  position: absolute;
  right: 8px;
  top: 4px;
  bottom: 4px;
  font-size: 11px;
  color: var(--green-dark);
  font-weight: 700;
  min-width: 50px;
}
.auth-switch {
  text-align: center;
  margin: 24px 0 20px !important;
}
.auth-switch a {
  color: var(--green-dark);
  font-weight: 700;
}
.form-footnote {
  font-size: 10px !important;
  text-align: center;
  color: #859080;
}
.gate-page {
  padding: 70px 0;
}
.gate-page .panel {
  margin: auto;
  max-width: 500px;
  padding: 40px;
}
.gate-page h1 {
  font-size: 34px;
}
.gate-page p {
  font-size: 14px;
}
.gate-page .form-stack {
  text-align: left;
  margin: 30px 0 15px;
}
.gate-page .button {
  width: 100%;
}
.onboarding-page {
  max-width: 880px;
}
.onboarding-form {
  padding: 40px;
  margin: 0 auto 20px;
}
.onboarding-form h2 {
  margin: 0;
  font-size: 27px;
}
.onboarding-form > p {
  font-size: 13px;
}
.avatar-options {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}
.avatar-options label {
  position: relative;
}
.avatar-options input {
  position: absolute;
  opacity: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}
.avatar-options span {
  display: grid;
  place-items: center;
  width: 59px;
  height: 59px;
  border: 2px solid transparent;
  border-radius: 16px;
  background: #f3f6ef;
  font-size: 30px;
}
.avatar-options input:checked + span {
  border-color: var(--green-dark);
  background: #dff4e5;
}
.avatar-options input:focus-visible + span {
  outline: 3px solid var(--deep);
  outline-offset: 3px;
}
.assessment-row {
  background: #f7f9fb;
  border-radius: 14px;
  padding: 20px;
}
.assessment-row legend {
  float: left;
  width: 100%;
  font-size: 14px;
  margin: 0 0 6px;
}
.assessment-row legend > span {
  color: var(--green-dark);
  margin-right: 5px;
}
.assessment-row p {
  clear: both;
  font-size: 12px;
  margin-bottom: 14px;
}
.choice-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.choice-pills label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  border: 1px solid #dce5d6;
  padding: 9px 14px;
  border-radius: 8px;
  background: white;
}
.choice-pills input {
  margin: 0;
}
.profile-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 25px;
  margin-bottom: 28px;
}
.profile-tabs {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.profile-tab {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  font-size: 14px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: var(--deep);
  font-weight: 700;
}
.profile-tab span {
  font-size: 24px;
}
.profile-tab.selected {
  background: #eaf6eb;
  border-color: #c9dfc8;
}
.add-child {
  font-size: 12px;
  color: var(--green-dark);
  padding: 12px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 27px 0;
}
.stat-card {
  padding: 24px;
  background: #f9fafb;
  border: 1px solid var(--line);
  border-radius: 18px;
  display: flex;
  align-items: center;
  gap: 17px;
}
.stat-card > div > span {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 7px;
}
.stat-card strong {
  display: block;
  font: 900 33px Nunito;
  color: var(--deep);
  line-height: 1;
}
.stat-card small {
  font: 400 11px "DM Sans";
  color: var(--muted);
  margin-left: 6px;
}
.stat-card .stat-word {
  font-size: 22px;
}
.stat-icon {
  display: grid;
  place-items: center;
  min-width: 48px;
  height: 48px;
  border-radius: 14px;
  font: 850 24px Nunito;
  color: var(--deep);
}
.dashboard-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 24px;
  margin: 26px 0;
}
.dashboard-side {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.week-panel > p {
  font-size: 12px;
}
.weekly-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid #edf0e7;
}
.weekly-item:hover .weekly-title strong {
  color: var(--green-dark);
}
.day-label {
  min-width: 35px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
}
.activity-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 13px;
  font: 850 23px Nunito;
  color: var(--deep);
}
.weekly-title {
  flex: 1;
}
.weekly-title strong {
  display: block;
  font: 800 16px Nunito;
  color: var(--deep);
}
.weekly-title small {
  font-size: 10px;
  color: var(--muted);
}
.weekly-item > .quiet {
  font-size: 10px;
}
.week-extra {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 18px;
}
.week-extra a {
  display: block;
  padding: 12px 14px;
  background: #f7f9fb;
  border-radius: 8px;
  color: #52694e;
  font-size: 12px;
}
.week-summary {
  padding: 20px 0 0;
}
.week-summary > strong {
  font-size: 12px;
  color: var(--deep);
}
.week-summary p {
  font-size: 11px;
  margin: 7px 0 0;
}
.stage-progress {
  margin: 23px 0;
}
.stage-progress > div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 11px;
}
.stage-progress strong {
  font-weight: 550;
  color: #50674f;
}
.stage-progress > div > span {
  font-size: 10px;
  color: var(--muted);
}
progress {
  display: block;
  border: 0;
  height: 7px;
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  background: #edf0e8;
  accent-color: var(--green);
}
progress::-webkit-progress-bar {
  background: #edf0e8;
  border-radius: 10px;
}
progress::-webkit-progress-value {
  background: var(--green);
  border-radius: 10px;
  transition: width 0.3s;
}
progress::-moz-progress-bar {
  background: var(--green);
  border-radius: 10px;
}
.progress-panel .quiet {
  font-size: 10px;
  margin: 0;
}
.offline-nudge {
  background: #f7f9fb;
  border-radius: 20px;
  padding: 26px;
}
.offline-nudge > span {
  float: right;
  font-size: 48px;
  margin: 0 0 10px 10px;
}
.offline-nudge .eyebrow {
  font-size: 9px;
  max-width: 160px;
}
.offline-nudge h3 {
  font-size: 24px;
}
.offline-nudge p {
  font-size: 12px;
}
.offline-nudge a {
  font-size: 12px;
}
.recent-panel {
  margin: 25px 0;
}
.table-scroll {
  overflow-x: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
  text-align: left;
}
th {
  padding: 13px 12px;
  font-weight: 650;
  color: #6a7967;
  font-size: 10px;
  letter-spacing: 0.3px;
  background: #f7f9fb;
}
td {
  padding: 16px 12px;
  border-bottom: 1px solid #edf0e6;
  vertical-align: middle;
}
tr:last-child td {
  border-bottom: 0;
}
.empty-state {
  text-align: center;
  padding: 40px 25px;
}
.empty-state > span {
  font-size: 50px;
  display: block;
  margin-bottom: 18px;
}
.empty-state h3 {
  font-size: 23px;
}
.empty-state p {
  max-width: 470px;
  margin: 0 auto 15px;
  font-size: 13px;
}
.learning-page {
  padding-bottom: 25px;
}
.learning-welcome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 45px 0 25px;
}
.learning-welcome h1 {
  font-size: 39px;
}
.learning-welcome p {
  font-size: 15px;
  margin: 0;
}
.big-avatar {
  width: 90px;
  height: 90px;
  display: grid;
  place-items: center;
  background: var(--surface);
  border-radius: 30px;
  font-size: 50px;
  transform: rotate(5deg);
}
.child-nav {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.child-nav a {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  font: 800 14px Nunito;
  color: var(--deep);
}
.child-nav a > span {
  font-size: 22px;
}
.child-nav a.selected {
  background: var(--deep);
  color: white;
  border-color: var(--deep);
}
.continue-banner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  align-items: center;
  padding: 36px 45px;
  background: #e7f5e9;
  border-radius: 26px;
  margin-bottom: 40px;
  overflow: hidden;
}
.continue-banner .tag {
  margin-bottom: 16px;
  color: #507749;
}
.continue-banner h2 {
  font-size: 38px;
}
.continue-banner p {
  font-size: 14px;
}
.continue-art {
  position: relative;
  display: grid;
  place-items: center;
}
.continue-art > span:first-child {
  display: grid;
  place-items: center;
  width: 160px;
  height: 160px;
  background: #ffffff;
  border-radius: 45%;
  font: 900 95px Nunito;
  color: var(--green-dark);
  transform: rotate(-8deg);
}
.continue-star {
  position: absolute;
  top: 0;
  right: 20%;
  font-size: 55px;
  color: #e4b63e;
}
.child-stage {
  margin: 35px 0 42px;
}
.child-stage .panel-heading h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 26px;
}
.stage-heading-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  font: 900 20px Nunito;
  letter-spacing: -1px;
}
.learning-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.learning-card {
  display: flex;
  border: 1px solid #dce5d3;
  overflow: hidden;
  border-radius: 20px;
  transition: transform 0.2s;
}
.learning-card:not(.locked):hover {
  transform: translateY(-4px);
}
.learning-card-art {
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
  min-width: 145px;
  padding: 20px;
}
.learning-card-art > span:first-child {
  font: 900 58px Nunito;
  color: var(--deep);
}
.completion-dot {
  position: absolute;
  top: 10px;
  right: 12px;
  color: var(--green-dark);
  font-size: 18px;
}
.learning-card-copy {
  background: #ffffff;
  padding: 25px 22px;
  flex: 1;
}
.learning-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
}
.learning-card p {
  font-size: 12px;
  line-height: 1.7;
  margin-bottom: 10px;
}
.learning-card small {
  color: var(--muted);
  font-size: 10px;
}
.learning-card.locked {
  opacity: 0.6;
}
.gentle-note {
  font-size: 12px;
  text-align: center;
  color: #76856c;
  margin: 25px 0;
}
.achievement-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.achievement {
  border: 1px dashed #cbd8c4;
  background: #f7f9fb;
  border-radius: 22px;
  text-align: center;
  padding: 30px 15px;
}
.achievement.earned {
  background: #eef8f5;
  border: 1px solid #e3c860;
}
.badge-star {
  font-size: 55px;
  color: #a7b39d;
}
.earned .badge-star {
  color: #b78c16;
}
.achievement h3 {
  font-size: 19px;
  margin: 15px 0 10px;
}
.achievement p {
  font-size: 11px;
  margin: 0;
}
.activity-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  min-height: 85px;
  border-bottom: 1px solid var(--line);
}
.activity-header .brand {
  font-size: 24px;
}
.activity-header .quiet {
  font-size: 12px;
}
.activity-page {
  max-width: 860px;
  padding: 35px 0;
}
.activity-title {
  text-align: center;
  margin: 10px 0 25px;
}
.activity-title h1 {
  font-size: 34px;
}
.activity-title .eyebrow {
  font-size: 9px;
  margin-bottom: 15px;
}
.activity-title p {
  font-size: 14px;
}
.activity-progress {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 22px 0;
}
.activity-progress progress {
  height: 10px;
  flex: 1;
}
.activity-progress > span {
  font-size: 12px;
  min-width: 110px;
  text-align: right;
  color: var(--muted);
}
.game-panel {
  background: var(--surface);
  border: 1px solid #e3e8ed;
  border-radius: 28px;
  padding: 35px;
  text-align: center;
  min-height: 340px;
}
.game-panel h2 {
  font-size: 30px;
  margin-top: 10px;
}
.word-pattern {
  margin: 12px 0 24px;
  color: var(--deep);
  font:
    850 clamp(32px, 7vw, 48px) Nunito,
    sans-serif;
  letter-spacing: 8px;
}
.sentence-prompt {
  color: var(--deep);
  font:
    750 clamp(22px, 5vw, 30px)/1.5 Nunito,
    sans-serif;
  margin: 16px 0 24px;
}
.game-picture {
  display: grid;
  place-items: center;
  font: 900 84px Nunito;
  min-height: 120px;
  margin: 10px auto;
  color: var(--deep);
}
.game-image {
  max-height: 220px;
  max-width: 100%;
  margin: 15px auto;
  border-radius: 20px;
}
.sound-button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid #bfd6c4;
  background: #ffffff;
  border-radius: 30px;
  padding: 11px 20px;
  min-height: 46px;
  font-size: 13px;
  font-weight: 600;
  color: var(--deep);
  margin: 5px auto 22px;
}
.options-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin: 22px 0 10px;
}
.answer-option {
  background: white;
  border: 2px solid #dddccf;
  border-bottom-width: 5px;
  border-radius: 16px;
  min-width: 100px;
  min-height: 95px;
  font: 850 38px Nunito;
  color: var(--deep);
  padding: 16px 25px;
  max-width: 100%;
  overflow-wrap: anywhere;
  transition:
    transform 0.15s,
    border-color 0.15s;
}
.answer-option.word-option {
  font-size: 23px;
  min-width: 150px;
  min-height: 75px;
}
.answer-option:hover:not(:disabled) {
  border-color: #7ab593;
  transform: translateY(-3px);
}
.answer-option.selected {
  border-color: var(--green-dark);
  background: #eaf8e9;
}
.answer-option:disabled {
  opacity: 0.6;
}
.story-reading {
  background: white;
  border: 1px solid #e5e4d8;
  border-radius: 15px;
  text-align: left;
  padding: 25px;
  margin: 15px 0 25px;
  font-family: Nunito;
  font-size: 21px;
  line-height: 1.8;
  color: var(--deep);
}
.story-reading summary {
  cursor: pointer;
  font-size: 15px;
  font-weight: 800;
}
.story-reading p {
  color: var(--deep);
  margin: 15px 0 0;
}
.story-text {
  white-space: pre-wrap;
}
.story-word.is-reading {
  background: #ffe36e;
  color: #233d32;
  border-radius: 4px;
  box-shadow: 0 0 0 3px #ffe36e;
}
@media (forced-colors: active) {
  .story-word.is-reading {
    outline: 2px solid Highlight;
  }
}
.answer-tray {
  min-height: 88px;
  border: 2px dashed #adc6a5;
  background: #f9fff4;
  border-radius: 16px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0;
  color: #74876b;
}
.answer-tray .answer-option {
  min-height: 55px;
  min-width: 55px;
  padding: 7px 15px;
  font-size: 25px;
}
.answer-tray .word-option {
  font-size: 15px;
  min-width: 100px;
}
.answer-tray.drag-over {
  background: #e3f6dc;
  border-color: var(--green-dark);
}
.game-actions {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 25px;
}
.game-actions .text-button {
  padding: 0 15px;
}
.audio-note {
  font-size: 11px;
  color: var(--muted);
  margin: 0 0 14px;
}
.feedback-message {
  padding: 17px 22px;
  background: #eaf6e6;
  border: 1px solid #c8dfc0;
  border-radius: 15px;
  color: #3e7337;
  margin: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 14px;
}
.feedback-message.retry {
  background: #f7f9fb;
  border-color: #dfe5eb;
  color: #7b672e;
}
.feedback-message.error {
  background: #ffede5;
  border-color: #e0beb4;
  color: #8e3d27;
}
.completion-screen {
  padding: 20px 0;
}
.completion-star {
  font-size: 80px;
  display: block;
  color: #dba91e;
  animation: pop-in 0.5s ease;
}
.completion-screen h2 {
  font-size: 37px;
  margin: 10px 0;
}
.completion-screen > p {
  font-size: 15px;
}
.completion-extension {
  margin: 25px 0 0;
  padding: 25px;
  background: #ffffff;
  text-align: left;
  border: 1px solid #dfe5eb;
  border-radius: 16px;
}
.completion-extension h3 {
  font-size: 24px;
  margin-top: 12px;
}
.completion-extension p,
.completion-extension li {
  font-size: 13px;
}
.completion-extension ol {
  padding-left: 20px;
}
.completion-extension li {
  margin: 8px 0;
}
.completion-screen .button {
  margin: 6px;
}
.completion-screen .quiet {
  font-size: 12px;
}
.resources-page {
  padding-bottom: 25px;
}
.filter-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 32px 0;
}
.filter-tabs a {
  padding: 10px 19px;
  border: 1px solid var(--line);
  border-radius: 30px;
  font-size: 12px;
  font-weight: 650;
  color: #526b50;
  min-height: 42px;
}
.filter-tabs a.selected {
  background: var(--deep);
  color: white;
  border-color: var(--deep);
}
.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}
.resource-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.resource-top {
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.resource-top > span:first-child {
  font: 900 62px Nunito;
  color: var(--deep);
}
.resource-top .tag {
  position: absolute;
  left: 18px;
  top: 17px;
}
.resource-body {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.resource-body h2 {
  font-size: 24px;
}
.resource-body p {
  font-size: 12px;
  line-height: 1.8;
}
.resource-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: #7b856e;
  font-size: 10px;
  margin-bottom: 20px;
}
.resource-body details {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  padding: 16px 0;
  margin-bottom: 18px;
}
.resource-body summary {
  cursor: pointer;
  color: var(--deep);
  font-weight: 600;
}
.resource-body details strong {
  display: block;
  margin: 15px 0 4px;
  font-size: 11px;
}
.resource-body li {
  margin: 8px 0;
}
.resource-body ol {
  padding-left: 18px;
}
.resource-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: auto;
}
.resource-actions .button {
  font-size: 11px;
  padding: 10px 12px;
}
.resource-actions .text-button {
  font-size: 11px;
}
.print-page {
  max-width: 850px;
  margin: 0 auto;
  padding: 25px;
}
.print-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}
.print-sheet {
  padding: 45px;
  background: var(--surface);
  border: 1px solid #dfe5eb;
  border-radius: 22px;
}
.print-sheet .brand {
  margin-bottom: 40px;
}
.print-sheet h1 {
  font-size: 38px;
}
.print-sheet h2 {
  font-size: 22px;
  margin: 30px 0 12px;
}
.print-icon {
  float: right;
  font: 900 60px Nunito;
}
.print-objective {
  font-size: 17px;
}
.print-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--green-dark);
  padding: 15px 0;
  border-top: 1px solid #dfe5eb;
  border-bottom: 1px solid #dfe5eb;
}
.print-steps {
  padding-left: 20px;
}
.print-steps li {
  padding-left: 9px;
  margin: 20px 0;
  line-height: 1.8;
  font-size: 15px;
}
.drawing-box {
  height: 160px;
  border: 1px dashed #bfcbb3;
  border-radius: 15px;
  padding: 18px;
  color: #86917d;
  font-size: 12px;
  margin-top: 35px;
}
.print-footer {
  font-size: 11px;
  text-align: center;
  margin-top: 30px;
  color: #718065;
}
.story-text {
  font-family: Nunito;
  font-size: 19px;
  color: var(--deep);
  line-height: 1.8;
}
.subscription-page {
  max-width: 1000px;
}
.subscription-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin: 30px 0;
}
.subscription-status h2 {
  font-size: 25px;
}
.subscription-status p {
  font-size: 12px;
  margin-bottom: 0;
}
.subscription-status .quiet {
  font-size: 10px;
  margin-top: 10px;
}
.subscription-page .pricing-grid {
  max-width: none;
  margin-top: 30px;
}
.account-page .two-col {
  gap: 25px;
}
.align-start {
  align-items: start;
}
.account-page .panel p {
  font-size: 13px;
}
.account-page .panel .text-link {
  font-size: 13px;
}
.profile-settings {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
.profile-settings:last-child {
  border-bottom: 0;
}
.profile-settings:first-of-type {
  padding-top: 5px;
}
.danger-details {
  margin-top: 20px;
  font-size: 12px;
}
.danger-details summary {
  color: #a14b3d;
  cursor: pointer;
}
.danger-details p {
  margin: 15px 0;
}
.danger-zone {
  margin-top: 30px;
  border-color: #e8cbc1;
}
.danger-zone summary {
  color: #9c4f42;
  cursor: pointer;
  font-size: 13px;
}
.danger-zone .form-stack {
  max-width: 420px;
  margin-top: 25px;
}
.admin-page .panel {
  margin: 25px 0;
}
.admin-page .stats-grid {
  margin-bottom: 30px;
}
.admin-page .form-stack .panel {
  margin: 0;
}
.admin-page .page-heading h1 {
  font-size: 37px;
}
.weekly-editor {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.weekly-editor:last-child {
  border-bottom: 0;
}
.weekly-editor summary {
  cursor: pointer;
  color: var(--deep);
  font-weight: 650;
  font-size: 14px;
}
.weekly-editor form {
  margin-top: 22px;
}
.admin-week-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
}
.admin-week-grid select {
  font-size: 11px;
  padding: 12px 8px;
}
.code-editor {
  font:
    12px/1.6 ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  tab-size: 2;
  resize: vertical;
  background: #f7f9fb !important;
}
.editor-help {
  border: 1px solid var(--line);
  padding: 20px;
  border-radius: 12px;
  font-size: 12px;
}
.editor-help summary {
  cursor: pointer;
  color: var(--deep);
  font-weight: 650;
}
.editor-help p {
  margin: 15px 0 0;
}
.editor-help a {
  text-decoration: underline;
}
.media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.media-grid .panel {
  padding: 18px;
}
.media-grid img {
  width: 100%;
  height: 160px;
  object-fit: contain;
  margin-bottom: 20px;
}
.media-grid input {
  font-size: 10px !important;
}
.media-grid audio {
  width: 100%;
  margin: 20px 0;
}
.legal-page {
  padding-bottom: 40px;
}
.legal-page h2 {
  font-size: 25px;
  margin-top: 35px;
}
.legal-page p {
  font-size: 14px;
  line-height: 1.85;
}
.legal-page p a {
  text-decoration: underline;
  color: var(--green-dark);
}
.legal-page .notice {
  font-size: 12px;
}
.error-page {
  max-width: 650px;
  padding-top: 70px;
  padding-bottom: 70px;
}
.error-page .brand {
  justify-content: center;
  margin-bottom: 40px;
}
.error-art {
  display: block;
  font-size: 80px;
  margin: 20px;
}
.error-page h1 {
  font-size: 44px;
}
.error-page p {
  font-size: 15px;
}
.error-page > .button {
  display: flex;
  max-width: 300px;
  margin: 25px auto 15px;
}
.error-page > .text-link {
  font-size: 13px;
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 25px;
  transform: translateX(-50%);
  background: var(--deep);
  color: #fff;
  padding: 13px 25px;
  border-radius: 14px;
  box-shadow: var(--shadow);
  font-size: 13px;
  z-index: 50;
  max-width: 90%;
  text-align: center;
}
@keyframes pop-in {
  from {
    transform: scale(0.4) rotate(-20deg);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
@media (min-width: 1500px) {
  .hero-grid {
    min-height: 650px;
  }
  .hero h1 {
    font-size: 72px;
  }
  .hero-description {
    font-size: 17px;
  }
  .hero-details {
    font-size: 11px;
  }
}
@media (max-width: 1150px) {
  .container {
    width: calc(100% - 64px);
  }
  .main-nav {
    gap: 20px;
    font-size: 12px;
  }
  .brand {
    font-size: 25px;
  }
  .brand img {
    width: 36px;
    height: 36px;
  }
  .hero h1 {
    font-size: 56px;
    letter-spacing: -2.5px;
  }
  .hero-grid {
    min-height: 550px;
  }
  .hero-description {
    font-size: 14px;
  }
  .hero-details {
    gap: 10px;
    font-size: 9px;
  }
  .hero-actions {
    gap: 18px;
  }
  .hero-actions .text-button {
    font-size: 12px;
  }
  .hero-actions .button {
    font-size: 14px;
    padding: 14px 22px;
  }
  .promises {
    gap: 45px;
    font-size: 11px;
  }
  .stage-grid {
    gap: 12px;
  }
  .stage-card {
    padding: 21px 15px;
    min-height: 250px;
  }
  .stage-card h3 {
    font-size: 16px;
  }
  .stage-card p {
    font-size: 10.5px;
  }
  .section-heading h2 {
    font-size: 32px;
  }
  .two-col {
    gap: 50px;
  }
  .section-copy h2 {
    font-size: 36px;
  }
  .parent-preview {
    padding: 24px;
  }
  .preview-header > .tag {
    display: none;
  }
  .footer-top {
    gap: 25px;
  }
  .auth-page {
    gap: 65px;
  }
  .stats-grid {
    gap: 15px;
  }
  .stat-card {
    padding: 20px 15px;
    gap: 12px;
  }
  .stat-card small {
    font-size: 9px;
  }
  .dashboard-grid {
    grid-template-columns: 1.5fr 1fr;
    gap: 18px;
  }
  .panel {
    padding: 25px;
  }
  .weekly-title strong {
    font-size: 14px;
  }
  .week-panel .tag {
    font-size: 8px;
  }
  .learning-card-art {
    min-width: 110px;
  }
  .learning-card-copy {
    padding: 22px 18px;
  }
  .learning-card h3 {
    font-size: 20px;
  }
  .resource-grid {
    gap: 18px;
  }
  .resource-body {
    padding: 20px;
  }
  .resource-actions {
    flex-wrap: wrap;
  }
  .admin-week-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 900px) {
  h1 {
    font-size: 39px;
  }
  h2 {
    font-size: 32px;
  }
  .container {
    width: calc(100% - 48px);
  }
  .nav-wrap {
    min-height: 77px;
  }
  .menu-toggle {
    display: block;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #ffffff;
    border-bottom: 1px solid var(--line);
    padding: 20px 24px;
    box-shadow: 0 15px 20px #25442d0c;
  }
  .main-nav.open {
    display: flex;
  }
  .main-nav > a:not(.button) {
    padding: 12px;
    font-size: 15px;
  }
  .main-nav > .button {
    margin: 10px 0;
  }
  .nav-divider {
    display: none;
  }
  .main-nav > .profile-link {
    margin: 10px;
  }
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0;
    min-height: 520px;
    padding: 45px 0;
  }
  .hero h1 {
    font-size: 44px;
    letter-spacing: -1.8px;
  }
  .hero .eyebrow {
    font-size: 8px;
    letter-spacing: 1.1px;
  }
  .hero-description {
    font-size: 13px;
    line-height: 1.8;
  }
  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 20px;
  }
  .hero-actions .text-button {
    font-size: 12px;
  }
  .hero-details {
    gap: 7px;
    flex-wrap: wrap;
    max-width: 270px;
    font-size: 9px;
  }
  .hero-art {
    margin-right: -20px;
    align-self: center;
  }
  .floating-note {
    padding: 12px;
    gap: 7px;
    font-size: 10px;
    right: -3%;
    bottom: -5%;
  }
  .floating-note strong {
    font-size: 12px;
  }
  .note-star {
    font-size: 23px;
  }
  .note-spark {
    display: none;
  }
  .letter-float {
    width: 55px;
    height: 55px;
    font-size: 26px;
    top: 0;
    left: 8%;
  }
  .letter-float span {
    display: none;
  }
  .promises {
    gap: 20px;
    font-size: 9px;
  }
  .promise-icon {
    font-size: 21px;
  }
  .promises > span {
    gap: 7px;
  }
  .section {
    padding: 65px 0;
  }
  .section-heading {
    align-items: flex-start;
    gap: 20px;
  }
  .section-heading h2 {
    font-size: 28px;
  }
  .section-heading p {
    font-size: 12px;
    max-width: 250px;
    padding-top: 30px;
  }
  .stage-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 9px;
  }
  .stage-card {
    padding: 14px 12px;
    min-height: 230px;
  }
  .stage-card h3 {
    white-space: normal;
    font-size: 16px;
  }
  .stage-card p {
    font-size: 10px;
    padding: 0;
  }
  .stage-art {
    font-size: 38px;
    height: 60px;
  }
  .stage-number {
    font-size: 8px;
    letter-spacing: 0.8px;
  }
  .stage-arrow {
    display: none;
  }
  .steps {
    gap: 25px;
  }
  .steps h3 {
    font-size: 20px;
  }
  .steps p {
    font-size: 12px;
  }
  .two-col {
    gap: 35px;
  }
  .section-copy h2 {
    font-size: 30px;
  }
  .section-copy > p {
    font-size: 13px;
  }
  .check-list li {
    font-size: 12px;
  }
  .activity-demo-card {
    padding: 20px;
  }
  .activity-demo-card h3 {
    font-size: 23px;
  }
  .demo-top > span:last-child {
    display: none;
  }
  .demo-flower {
    font-size: 60px;
  }
  .letter-tiles {
    gap: 10px;
  }
  .letter-tiles span {
    width: 54px;
    height: 60px;
    font-size: 35px;
  }
  .parent-preview {
    padding: 20px;
  }
  .preview-header strong {
    font-size: 15px;
  }
  .preview-header div span {
    font-size: 10px;
  }
  .week-dots {
    gap: 6px;
  }
  .week-dots span {
    font-size: 17px;
  }
  .preview-real {
    padding: 14px;
    gap: 10px;
  }
  .preview-real strong {
    font-size: 14px;
  }
  .preview-real p {
    font-size: 10px;
  }
  .offline-card {
    padding: 20px;
  }
  .offline-card h3 {
    font-size: 20px;
  }
  .offline-card p {
    font-size: 12px;
  }
  .offline-card .tag {
    font-size: 8px;
  }
  .offline-card .quiet {
    font-size: 10px;
  }
  .three-grid {
    gap: 18px;
  }
  .pricing-card {
    padding: 25px;
  }
  .family-stories h2 {
    font-size: 29px;
  }
  .testimonial-placeholder {
    padding: 20px;
    gap: 12px;
  }
  .testimonial-placeholder > span {
    font-size: 35px;
  }
  .testimonial-placeholder h3 {
    font-size: 19px;
  }
  .final-cta > .container {
    gap: 18px;
  }
  .final-cta h2 {
    font-size: 24px;
  }
  .cta-spark {
    font-size: 48px;
  }
  .final-cta .button {
    font-size: 12px;
    padding: 14px 18px;
    min-width: 190px;
  }
  .footer-top {
    grid-template-columns: 1.3fr 1fr 1fr;
  }
  .footer-note {
    display: none;
  }
  .auth-page {
    gap: 40px;
    padding-top: 40px;
  }
  .auth-story {
    padding: 30px 20px;
  }
  .auth-story h1 {
    font-size: 36px;
  }
  .auth-card h2 {
    font-size: 27px;
  }
  .auth-story > .quiet {
    font-size: 10px;
  }
  .auth-card .back-link {
    margin-bottom: 20px;
  }
  .dashboard-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 0;
  }
  .page-heading h1 {
    font-size: 34px;
  }
  .profile-bar {
    flex-direction: column;
    align-items: flex-start;
  }
  .stats-grid {
    gap: 12px;
  }
  .stat-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
  }
  .stat-card strong {
    font-size: 30px;
  }
  .stat-card small {
    display: block;
    margin: 8px 0 0;
    font-size: 10px;
  }
  .stat-card .stat-word {
    font-size: 20px;
  }
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .dashboard-side {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: start;
  }
  .progress-panel .panel-heading h2 {
    font-size: 23px;
  }
  .learning-welcome h1 {
    font-size: 32px;
  }
  .child-nav {
    gap: 8px;
  }
  .child-nav a {
    padding: 10px 13px;
    font-size: 12px;
  }
  .continue-banner h2 {
    font-size: 32px;
  }
  .learning-card {
    display: block;
  }
  .learning-card-art {
    min-height: 130px;
  }
  .learning-card-art > span:first-child {
    font-size: 65px;
  }
  .learning-card-copy {
    min-height: 165px;
  }
  .achievement-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .resource-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .resource-actions {
    flex-wrap: nowrap;
  }
  .account-page .two-col {
    grid-template-columns: 1fr;
  }
  .subscription-status {
    align-items: flex-start;
    flex-direction: column;
  }
  .media-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .activity-page {
    max-width: 760px;
  }
  .activity-header .brand {
    font-size: 22px;
  }
  .activity-header .brand img {
    width: 30px;
    height: 30px;
  }
  .activity-header .back-link {
    font-size: 11px;
  }
}
@media (max-width: 600px) {
  .container {
    width: calc(100% - 36px);
  }
  .nav-wrap {
    min-height: 72px;
  }
  .main-nav {
    top: 71px;
  }
  .brand {
    font-size: 26px;
  }
  .hero-grid {
    display: flex;
    flex-direction: column;
    padding: 40px 0 32px;
    gap: 0;
  }
  .hero-copy {
    text-align: center;
    padding: 0;
    z-index: 2;
  }
  .hero .eyebrow {
    justify-content: center;
    font-size: 9px;
    letter-spacing: 1.3px;
    margin-bottom: 20px;
  }
  .tiny-spark {
    font-size: 23px;
  }
  .hero h1 {
    font-size: 48px;
    line-height: 1.08;
    letter-spacing: -2px;
    margin-bottom: 24px;
  }
  .hero-description {
    font-size: 14px;
    line-height: 1.8;
    max-width: 370px;
    margin: 0 auto 24px;
    padding: 0 8px;
  }
  .hero-actions {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-bottom: 20px;
  }
  .hero-actions .button {
    font-size: 13px;
    padding: 14px 19px;
    min-height: 49px;
    gap: 12px;
  }
  .hero-actions .text-button {
    font-size: 11px;
    gap: 7px;
  }
  .play-circle {
    width: 24px;
    height: 24px;
    font-size: 8px;
  }
  .hero-details {
    max-width: none;
    justify-content: center;
    gap: 12px;
    font-size: 8.5px;
  }
  .hero-art {
    width: 100%;
    max-width: 450px;
    margin: 10px 0 0;
    padding: 0;
  }
  .garden-art {
    max-height: 340px;
    object-fit: contain;
    border-radius: 0;
  }
  .floating-note {
    bottom: 3%;
    right: 5%;
    padding: 10px 14px;
    gap: 8px;
  }
  .floating-note strong {
    font-size: 13px;
  }
  .letter-float {
    top: 15%;
    left: 7%;
    width: 53px;
    height: 53px;
    font-size: 26px;
  }
  .promises {
    gap: 0;
    min-height: 94px;
    justify-content: space-between;
    font-size: 8.5px;
  }
  .promises > span {
    flex: 1;
    max-width: 31%;
    flex-direction: column;
    text-align: center;
    gap: 4px;
    line-height: 1.55;
  }
  .promise-icon {
    font-size: 22px;
  }
  .section {
    padding: 52px 0;
  }
  .section-heading {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
    margin-bottom: 25px;
  }
  .section-heading h2 {
    font-size: 30px;
  }
  .section-heading p {
    font-size: 12px;
    padding: 0;
    margin: 0;
    max-width: none;
  }
  .eyebrow {
    font-size: 9px;
    letter-spacing: 1.4px;
    margin-bottom: 14px;
  }
  .stage-grid {
    grid-template-columns: 1fr 1fr;
    gap: 13px;
  }
  .stage-card {
    min-height: 225px;
    padding: 20px;
  }
  .stage-art {
    font-size: 42px;
    height: 65px;
  }
  .stage-number {
    font-size: 8px;
  }
  .stage-card h3 {
    font-size: 18px;
    white-space: normal;
    margin-bottom: 9px;
  }
  .stage-card p {
    font-size: 11px;
    max-width: 140px;
  }
  .stage-arrow {
    display: block;
    font-size: 17px;
    bottom: 16px;
  }
  .stage-card:last-child {
    grid-column: 1/-1;
    min-height: 140px;
    display: grid;
    grid-template-columns: 90px 1fr;
    column-gap: 12px;
    padding: 24px;
  }
  .stage-card:last-child .stage-art {
    grid-row: 1/4;
    align-self: center;
    height: auto;
    font-size: 55px;
  }
  .stage-card:last-child .stage-number {
    margin: 0 0 8px;
  }
  .stage-card:last-child p {
    max-width: none;
  }
  .journey-section > .container > .quiet {
    font-size: 10px;
    margin: 22px 10px 0;
  }
  .section-intro h2 {
    font-size: 30px;
  }
  .section-intro p {
    font-size: 13px;
  }
  .section-intro {
    margin-bottom: 28px;
  }
  .three-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .steps {
    gap: 30px;
    margin: 30px auto 0;
    max-width: 330px;
  }
  .steps article {
    position: relative;
    padding-left: 65px;
    text-align: left;
    min-height: 85px;
  }
  .step-number {
    position: absolute;
    left: 0;
    top: 0;
    margin: 0;
    width: 44px;
    height: 44px;
    border-radius: 13px;
    font-size: 22px;
  }
  .steps h3 {
    font-size: 21px;
    margin-bottom: 10px;
  }
  .steps p {
    font-size: 12px;
    margin: 0;
  }
  .two-col {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .section-copy h2 {
    font-size: 32px;
  }
  .section-copy > p {
    font-size: 14px;
  }
  .check-list li {
    font-size: 13px;
  }
  .activity-preview-section {
    display: flex;
    flex-direction: column-reverse;
    gap: 35px;
  }
  .activity-demo-card {
    width: 100%;
    max-width: 390px;
    padding: 24px;
  }
  .demo-top > span:last-child {
    display: inline;
  }
  .activity-demo-card h3 {
    font-size: 25px;
  }
  .demo-flower {
    font-size: 67px;
  }
  .letter-tiles span {
    width: 59px;
    height: 65px;
    font-size: 40px;
  }
  .parent-preview {
    max-width: 430px;
    width: 100%;
    margin: auto;
    padding: 23px;
  }
  .preview-header strong {
    font-size: 16px;
  }
  .preview-header > .tag {
    display: block;
    font-size: 7px;
  }
  .week-dots span {
    font-size: 22px;
  }
  .week-dots {
    gap: 10px;
  }
  .preview-real strong {
    font-size: 15px;
  }
  .parent-preview > .quiet {
    font-size: 10px;
  }
  .offline-card {
    padding: 26px;
  }
  .offline-art {
    font-size: 63px;
    text-align: left;
    float: right;
    max-width: 80px;
    padding: 10px 0 10px 12px;
    margin-left: 5px;
  }
  .offline-card .tag {
    font-size: 8px;
    max-width: 170px;
  }
  .offline-card h3 {
    font-size: 23px;
    max-width: 230px;
  }
  .offline-card p {
    font-size: 12px;
  }
  .offline-card .quiet {
    font-size: 10px;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    gap: 20px;
  }
  .pricing-card {
    padding: 29px;
  }
  .pricing-card h3 {
    font-size: 26px;
  }
  .pricing-card .check-list li {
    font-size: 12px;
  }
  .family-stories .two-col {
    gap: 20px;
  }
  .testimonial-placeholder {
    padding: 24px;
  }
  .testimonial-placeholder h3 {
    font-size: 21px;
  }
  .faq-item summary {
    font-size: 14px;
    padding: 20px 0;
  }
  .faq-item p {
    font-size: 13px;
  }
  .final-cta > .container {
    flex-wrap: wrap;
    gap: 15px;
    text-align: center;
    justify-content: center;
  }
  .cta-spark {
    display: none;
  }
  .final-cta h2 {
    font-size: 29px;
  }
  .final-cta p {
    font-size: 13px;
    margin-bottom: 10px;
  }
  .final-cta .button {
    margin: 0;
    font-size: 14px;
  }
  .site-footer {
    padding-top: 40px;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 25px;
  }
  .footer-top > div:first-child {
    grid-column: 1/-1;
  }
  .site-footer .brand {
    font-size: 26px;
  }
  .site-footer p {
    margin: 14px 0 0;
    font-size: 12px;
  }
  .footer-top > div > strong {
    margin-bottom: 15px;
  }
  .footer-top > div > a:not(.brand) {
    font-size: 11px;
  }
  .footer-bottom {
    flex-wrap: wrap;
    font-size: 9px;
    gap: 12px;
  }
  .footer-bottom > span:nth-child(2) {
    display: none;
  }
  .auth-page {
    display: flex;
    flex-direction: column;
    padding-top: 25px;
    gap: 0;
    max-width: 450px;
  }
  .auth-story {
    display: none;
  }
  .auth-card {
    padding: 0 5px;
  }
  .auth-card h2 {
    font-size: 31px;
  }
  .auth-card .form-icon {
    font-size: 40px;
  }
  .auth-card .back-link {
    margin-bottom: 18px;
  }
  .app-footer {
    font-size: 9px;
    line-height: 1.8;
    padding: 35px 20px;
  }
  .app-footer > span {
    display: block;
    font-size: 15px;
    margin: 0;
  }
  .gate-page {
    padding: 35px 0;
  }
  .gate-page .panel {
    padding: 30px 22px;
  }
  .gate-page h1 {
    font-size: 30px;
  }
  .page-heading {
    margin: 30px 0 25px;
  }
  .page-heading h1 {
    font-size: 33px;
  }
  .page-heading p {
    font-size: 13px;
  }
  .onboarding-form {
    padding: 25px 20px;
  }
  .two-fields {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .avatar-options {
    gap: 9px;
  }
  .avatar-options span {
    width: 44px;
    height: 48px;
    font-size: 27px;
    border-radius: 12px;
  }
  .assessment-row {
    padding: 17px;
  }
  .assessment-row legend {
    font-size: 13px;
    line-height: 1.5;
  }
  .assessment-row p {
    font-size: 11px;
  }
  .choice-pills {
    gap: 8px;
  }
  .choice-pills label {
    font-size: 10px;
    padding: 8px 10px;
  }
  .onboarding-form h2 {
    font-size: 25px;
  }
  .form-stack {
    gap: 20px;
  }
  .dashboard-heading h1 {
    font-size: 31px;
  }
  .profile-bar {
    gap: 20px;
    margin-bottom: 20px;
  }
  .profile-bar > .button,
  .profile-bar > form {
    width: 100%;
  }
  .profile-bar > form .button {
    width: 100%;
  }
  .profile-tabs {
    gap: 6px;
  }
  .profile-tab {
    font-size: 12px;
    padding: 8px 12px;
    gap: 7px;
  }
  .profile-tab span {
    font-size: 21px;
  }
  .add-child {
    font-size: 11px;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .stat-card {
    padding: 18px;
    gap: 12px;
  }
  .stat-card:last-child {
    grid-column: 1/-1;
    flex-direction: row;
    align-items: center;
  }
  .stat-icon {
    height: 42px;
    min-width: 42px;
    font-size: 21px;
  }
  .stat-card > div > span {
    font-size: 10px;
  }
  .stat-card strong {
    font-size: 30px;
  }
  .stat-card .stat-word {
    font-size: 22px;
  }
  .dashboard-grid {
    gap: 20px;
  }
  .dashboard-side {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .panel {
    padding: 22px 18px;
    border-radius: 18px;
  }
  .panel h2 {
    font-size: 24px;
  }
  .week-panel > .panel-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }
  .week-panel .eyebrow {
    font-size: 8px;
  }
  .week-panel .tag {
    font-size: 8px;
  }
  .weekly-item {
    gap: 10px;
    padding: 15px 0;
  }
  .day-label {
    min-width: 26px;
    font-size: 9px;
  }
  .activity-icon {
    width: 36px;
    height: 40px;
    border-radius: 10px;
    font-size: 21px;
  }
  .weekly-title strong {
    font-size: 13px;
  }
  .weekly-title small {
    font-size: 9px;
  }
  .weekly-item > .quiet {
    font-size: 8px;
  }
  .week-extra a {
    font-size: 11px;
    padding: 12px;
  }
  .week-summary p {
    font-size: 11px;
  }
  .recent-panel > .panel-heading {
    flex-direction: column;
    align-items: flex-start;
  }
  .table-scroll {
    margin: 0 -5px;
  }
  .empty-state {
    padding: 30px 10px;
  }
  .empty-state h3 {
    font-size: 23px;
  }
  .empty-state p {
    font-size: 12px;
  }
  .learning-welcome {
    padding: 30px 0 24px;
    gap: 10px;
    align-items: flex-start;
  }
  .learning-welcome h1 {
    font-size: 31px;
  }
  .learning-welcome .eyebrow {
    font-size: 8px;
  }
  .learning-welcome p {
    font-size: 13px;
  }
  .big-avatar {
    width: 58px;
    height: 62px;
    border-radius: 20px;
    font-size: 33px;
    flex-shrink: 0;
  }
  .child-nav {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 5px;
    margin-bottom: 24px;
  }
  .child-nav a {
    flex-direction: column;
    gap: 3px;
    font-size: 9px;
    padding: 9px 3px;
    border-radius: 12px;
    text-align: center;
    line-height: 1.3;
  }
  .child-nav a > span {
    font-size: 22px;
  }
  .continue-banner {
    padding: 25px;
    grid-template-columns: 1.6fr 1fr;
    border-radius: 20px;
    gap: 10px;
  }
  .continue-banner .tag {
    font-size: 8px;
    margin-bottom: 13px;
  }
  .continue-banner h2 {
    font-size: 29px;
  }
  .continue-banner p {
    font-size: 12px;
    line-height: 1.6;
  }
  .continue-banner .button {
    font-size: 13px;
    padding: 12px 18px;
    min-height: 45px;
    gap: 12px;
  }
  .continue-art > span:first-child {
    width: 90px;
    height: 110px;
    font-size: 60px;
  }
  .continue-star {
    font-size: 30px;
    top: -15px;
    right: 0;
  }
  .child-stage .panel-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .child-stage .panel-heading h2 {
    font-size: 24px;
  }
  .child-stage .panel-heading > .quiet {
    font-size: 10px;
  }
  .learning-card-grid {
    grid-template-columns: 1fr;
    gap: 17px;
  }
  .learning-card {
    display: flex;
  }
  .learning-card-art {
    min-width: 95px;
    max-width: 95px;
    min-height: 140px;
    padding: 15px;
  }
  .learning-card-art > span:first-child {
    font-size: 43px;
  }
  .learning-card-copy {
    padding: 22px 17px;
    min-height: 0;
  }
  .learning-card h3 {
    font-size: 21px;
  }
  .learning-card p {
    font-size: 11px;
  }
  .learning-card small {
    font-size: 9px;
  }
  .completion-dot {
    font-size: 15px;
  }
  .achievement-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 13px;
  }
  .achievement {
    padding: 25px 12px;
  }
  .achievement h3 {
    font-size: 18px;
  }
  .achievement:last-child {
    grid-column: 1/-1;
  }
  .activity-header {
    min-height: 75px;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0;
    padding: 12px 0;
  }
  .activity-header .brand {
    order: -1;
    font-size: 23px;
    flex-basis: 100%;
    justify-content: center;
    margin-bottom: 10px;
  }
  .activity-header .brand img {
    width: 30px;
    height: 30px;
  }
  .activity-header > .quiet,
  .activity-header > .back-link {
    font-size: 10px;
    min-height: 30px;
  }
  .activity-page {
    padding: 20px 0;
  }
  .activity-title h1 {
    font-size: 30px;
  }
  .activity-title p {
    font-size: 12px;
  }
  .activity-title .eyebrow {
    font-size: 8px;
    letter-spacing: 1px;
  }
  .activity-progress {
    gap: 10px;
  }
  .activity-progress > span {
    font-size: 10px;
    min-width: 80px;
  }
  .game-panel {
    border-radius: 20px;
    padding: 25px 16px;
    min-height: 340px;
  }
  .game-panel h2 {
    font-size: 27px;
  }
  .game-picture {
    font-size: 75px;
    min-height: 100px;
  }
  .options-grid {
    gap: 10px;
    margin-top: 20px;
  }
  .answer-option {
    min-width: 76px;
    min-height: 82px;
    font-size: 31px;
    padding: 15px 18px;
    border-radius: 13px;
  }
  .answer-option.word-option {
    font-size: 19px;
    min-height: 65px;
    min-width: 105px;
    padding: 13px 17px;
  }
  .answer-tray {
    padding: 12px;
    gap: 8px;
    min-height: 77px;
  }
  .answer-tray .answer-option {
    min-width: 48px;
    min-height: 50px;
    padding: 7px 12px;
    font-size: 23px;
  }
  .answer-tray .word-option {
    font-size: 14px;
  }
  .game-actions {
    gap: 10px;
  }
  .game-actions .button {
    font-size: 14px;
    padding: 13px 19px;
  }
  .story-reading {
    padding: 18px;
    font-size: 19px;
    line-height: 1.7;
  }
  .story-reading summary {
    font-size: 14px;
  }
  .feedback-message {
    padding: 16px;
    font-size: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 13px;
    text-align: center;
  }
  .completion-screen h2 {
    font-size: 30px;
  }
  .completion-screen > p {
    font-size: 13px;
  }
  .completion-screen .button {
    font-size: 13px;
    padding: 13px 19px;
  }
  .completion-extension {
    padding: 20px;
  }
  .completion-extension h3 {
    font-size: 23px;
  }
  .completion-extension p,
  .completion-extension li {
    font-size: 12px;
  }
  .filter-tabs {
    gap: 7px;
    margin: 25px 0;
  }
  .filter-tabs a {
    font-size: 10px;
    padding: 10px 14px;
    min-height: 38px;
  }
  .resource-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .resource-top {
    height: 140px;
  }
  .resource-body {
    padding: 24px;
  }
  .resource-body h2 {
    font-size: 26px;
  }
  .resource-actions .button,
  .resource-actions .text-button {
    font-size: 12px;
  }
  .resource-meta {
    font-size: 11px;
  }
  .print-page {
    padding: 18px;
  }
  .print-sheet {
    padding: 25px 22px;
  }
  .print-sheet h1 {
    font-size: 31px;
  }
  .print-sheet .brand {
    margin-bottom: 30px;
    font-size: 25px;
  }
  .print-objective {
    font-size: 15px;
  }
  .print-meta {
    gap: 12px;
    font-size: 10px;
  }
  .print-controls .button {
    font-size: 11px;
    padding: 10px 14px;
  }
  .print-controls .back-link {
    font-size: 11px;
  }
  .print-icon {
    font-size: 40px;
  }
  .print-steps li {
    font-size: 14px;
  }
  .subscription-status {
    gap: 15px;
  }
  .subscription-status h2 {
    font-size: 24px;
  }
  .subscription-page .pricing-grid {
    max-width: none;
  }
  .account-page .panel {
    padding: 25px 22px;
  }
  .admin-page .page-heading h1 {
    font-size: 32px;
  }
  .admin-week-grid {
    grid-template-columns: 1fr;
  }
  .admin-page .stats-grid .stat-card:last-child {
    display: block;
  }
  .admin-page > .panel > .panel-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .media-grid {
    grid-template-columns: 1fr;
  }
  .code-editor {
    font-size: 11px !important;
  }
  .admin-page .three-grid {
    gap: 20px;
  }
  .admin-page table {
    font-size: 10px;
  }
  .admin-page td,
  .admin-page th {
    padding: 13px 8px;
  }
  .legal-page h1 {
    font-size: 36px;
  }
  .legal-page p {
    font-size: 13px;
  }
  .error-page {
    padding-top: 40px;
  }
  .error-page h1 {
    font-size: 38px;
  }
}
@media (max-width: 360px) {
  .hero h1 {
    font-size: 42px;
  }
  .hero-actions {
    gap: 12px;
  }
  .hero-actions .button {
    padding: 13px 15px;
    font-size: 12px;
  }
  .hero-actions .text-button {
    font-size: 10px;
  }
  .hero-details {
    gap: 8px;
    font-size: 7.5px;
  }
  .stage-card {
    padding: 17px;
  }
  .stage-card h3 {
    font-size: 17px;
  }
  .avatar-options {
    gap: 6px;
  }
  .avatar-options span {
    width: 40px;
    height: 45px;
  }
  .child-nav a {
    font-size: 8px;
  }
  .continue-banner {
    padding: 22px;
  }
  .continue-banner h2 {
    font-size: 26px;
  }
  .learning-card-art {
    min-width: 80px;
    max-width: 80px;
  }
  .answer-option {
    min-width: 70px;
    padding: 13px 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
}
@media print {
  body {
    background: white;
    color: #222;
  }
  .print-controls,
  .skip-link {
    display: none !important;
  }
  .print-page {
    max-width: none;
    padding: 0;
  }
  .print-sheet {
    padding: 10mm;
    border: 0;
    background: white;
    border-radius: 0;
  }
  .print-sheet .brand {
    margin-bottom: 10mm;
  }
  .print-sheet h1 {
    font-size: 27pt;
  }
  .print-sheet p,
  .print-steps li {
    font-size: 11pt;
    color: #333;
  }
  .print-sheet h2 {
    break-after: avoid;
    font-size: 16pt;
  }
  .print-steps li {
    break-inside: avoid;
  }
  .drawing-box {
    height: 35mm;
  }
  .print-sheet .gentle-note {
    font-size: 9pt;
  }
  .print-sheet .eyebrow {
    color: #333;
  }
  .print-icon {
    font-size: 40pt;
  }
  .story-text {
    line-height: 1.7;
  }
  .print-meta {
    font-size: 9pt;
  }
  .print-footer {
    font-size: 9pt;
  }
  @page {
    size: A4;
    margin: 12mm;
  }
}

/* Family photography, parent guidance, and administration. */
.photo-hero {
  margin: 0;
  padding: 18px 0 44px;
}
.hero-family-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.12;
  object-fit: cover;
  border-radius: 100px 24px 100px 24px;
}
.photo-caption {
  position: absolute;
  bottom: 18px;
  left: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 17px 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
  color: var(--deep);
  font-size: 15px;
}
.photo-caption > span {
  color: var(--green-dark);
  font-size: 32px;
}
.editorial-photo {
  position: relative;
  min-width: 0;
}
.editorial-photo > img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 1.08;
  border-radius: 26px;
}
.photo-label {
  position: absolute;
  left: 24px;
  bottom: 24px;
  right: 24px;
  text-align: center;
  color: var(--deep);
  background: #fff;
  padding: 14px;
  border-radius: 12px;
  font-weight: 700;
}
.fit-list {
  list-style: none;
  padding: 0;
  margin: 28px 0;
}
.fit-list li {
  position: relative;
  padding: 0 0 20px 30px;
}
.fit-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green-dark);
  font-weight: 800;
}
.fit-list strong,
.fit-list span {
  display: block;
}
.fit-list strong {
  color: var(--deep);
  margin-bottom: 4px;
}
.fit-list span {
  color: var(--muted);
  font-size: 14px;
}
.steps .step-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.55;
  object-fit: cover;
  border-radius: 18px;
  margin-bottom: 22px;
}
.benefits-section {
  background: var(--surface-subtle);
}
.benefit-item {
  display: flex;
  gap: 18px;
  margin: 22px 0;
}
.benefit-item > span {
  color: var(--green-dark);
  font-family: Nunito, sans-serif;
  font-weight: 800;
  padding-top: 2px;
}
.benefit-item h3 {
  font-size: 21px;
  margin-bottom: 8px;
}
.benefit-item p {
  margin-bottom: 0;
}
.source-note {
  font-size: 12px;
}
.source-note a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.photo-note {
  margin: -30px 24px 0;
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  padding: 25px;
  border-radius: 18px;
}
.photo-note strong {
  color: var(--deep);
  font-size: 23px;
  font-family: Nunito, sans-serif;
}
.photo-note p {
  margin: 8px 0 0;
}
.letter-greeting {
  font-family: Nunito, sans-serif;
  font-size: 23px;
  color: var(--deep);
  font-weight: 800;
}
.welcome-page {
  max-width: 1000px;
  padding-top: 60px;
  padding-bottom: 80px;
}
.welcome-page-heading {
  text-align: center;
  margin-bottom: 36px;
}
.welcome-page-heading h1 {
  font-size: clamp(32px, 5vw, 54px);
}
.welcome-banner {
  width: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 2.2;
  height: auto;
  border-radius: 26px;
  object-position: center 48%;
}
.parent-letter {
  max-width: 720px;
  margin: 40px auto 0;
  font-size: 17px;
  line-height: 1.85;
}
.parent-letter h2 {
  margin-top: 36px;
  font-size: 30px;
}
.parent-letter p {
  color: #52605c;
}
.welcome-steps {
  padding: 0;
  margin: 30px 0;
  list-style: none;
  counter-reset: welcome;
}
.welcome-steps li {
  counter-increment: welcome;
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.welcome-steps li::before {
  content: counter(welcome);
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--mint);
  color: var(--green-dark);
  font-weight: 800;
}
.welcome-steps h3 {
  font-size: 22px;
  margin: 4px 0 10px;
}
.welcome-steps p {
  margin-bottom: 0;
}
.letter-reminder {
  padding: 28px;
  border-left: 4px solid var(--green-dark);
  background: var(--surface-subtle);
  border-radius: 0 18px 18px 0;
  margin: 40px 0;
}
.letter-reminder h2 {
  margin-top: 12px;
}
.letter-reminder p {
  margin-bottom: 0;
}
.letter-signature {
  margin: 30px 0;
}
.welcome-callout {
  display: flex;
  align-items: center;
  gap: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 25px;
  margin: 25px 0;
  background: #fff;
}
.welcome-callout-icon {
  font-size: 38px;
  color: var(--green-dark);
}
.welcome-callout strong {
  color: var(--deep);
}
.welcome-callout p {
  font-size: 13px;
  margin: 4px 0 0;
}
.welcome-callout > a {
  margin-left: auto;
  font-size: 13px;
}
.admin-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px;
  border: 1px solid var(--line);
  background: var(--surface-subtle);
  border-radius: 16px;
  margin: 20px 0 30px;
}
.admin-nav a {
  padding: 11px 17px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 10px;
}
.admin-nav a[aria-current="page"] {
  color: #fff;
  background: var(--deep);
}
.admin-nav a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.admin-page {
  overflow-wrap: anywhere;
}
.admin-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}
.admin-two-col > .panel {
  margin-top: 0;
}
.form-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}
.admin-search {
  display: flex;
  gap: 14px;
  align-items: end;
  margin: 25px 0 20px;
}
.admin-search label {
  display: grid;
  gap: 6px;
  flex: 1;
  max-width: 480px;
  font-weight: 650;
}
.admin-search .button {
  margin-bottom: 1px;
}
.pagination {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 24px;
  font-size: 13px;
}
.skill-summary {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin: 25px 0;
}
.skill-summary > div {
  background: var(--surface-subtle);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
}
.skill-summary span {
  font-size: 12px;
  color: var(--deep);
  display: block;
  min-height: 40px;
}
.skill-summary strong {
  display: block;
  margin-top: 10px;
  font-size: 25px;
  color: var(--deep);
}
.skill-summary strong small {
  font-weight: 500;
  font-size: 12px;
}
.skill-summary p {
  margin: 6px 0 0;
  font-size: 11px;
}
.revoke-admin {
  max-width: 300px;
  min-width: 190px;
}
.revoke-admin summary {
  cursor: pointer;
  color: #964336;
}
.revoke-admin form {
  padding-top: 18px;
  white-space: normal;
}
.family-progress-card > .panel-heading p {
  margin-bottom: 0;
}
@media (max-width: 1000px) {
  .skill-summary {
    grid-template-columns: repeat(3, 1fr);
  }
  .photo-caption {
    font-size: 13px;
    padding: 14px 18px;
    left: 18px;
  }
}
@media (max-width: 700px) {
  .photo-hero {
    margin: 10px 0 0;
    padding: 0 0 35px;
    width: 100%;
  }
  .hero-family-photo {
    aspect-ratio: 1.25;
    border-radius: 55px 18px 55px 18px;
  }
  .photo-caption {
    bottom: 10px;
    left: 15px;
    font-size: 12px;
    padding: 11px 16px;
  }
  .photo-caption > span {
    font-size: 24px;
  }
  .for-you-section .two-col {
    gap: 32px;
  }
  .for-you-section .editorial-photo {
    order: 2;
  }
  .editorial-photo > img {
    aspect-ratio: 1.3;
    border-radius: 18px;
  }
  .steps .step-photo {
    max-width: none;
    margin-bottom: 20px;
  }
  .photo-label {
    font-size: 13px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    padding: 10px;
  }
  .photo-note {
    margin: -20px 15px 0;
    padding: 20px;
  }
  .welcome-section .two-col {
    gap: 30px;
  }
  .welcome-page {
    padding-top: 35px;
    padding-bottom: 45px;
  }
  .welcome-banner {
    aspect-ratio: 1.5;
    border-radius: 18px;
  }
  .parent-letter {
    font-size: 15px;
    margin-top: 28px;
  }
  .parent-letter h2 {
    font-size: 26px;
  }
  .welcome-steps li {
    gap: 14px;
  }
  .welcome-steps h3 {
    font-size: 20px;
  }
  .letter-reminder {
    padding: 22px;
  }
  .welcome-callout {
    flex-wrap: wrap;
    gap: 12px;
    padding: 20px;
  }
  .welcome-callout > div {
    flex: 1;
  }
  .welcome-callout > a {
    margin-left: 0;
    width: 100%;
  }
  .admin-nav {
    margin: 20px 0;
    gap: 3px;
    padding: 6px;
  }
  .admin-nav a {
    padding: 10px 12px;
    font-size: 12px;
  }
  .admin-two-col {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .admin-search {
    flex-wrap: wrap;
  }
  .admin-search label {
    flex-basis: 100%;
  }
  .skill-summary {
    grid-template-columns: repeat(2, 1fr);
  }
  .family-progress-card > .panel-heading {
    flex-wrap: wrap;
    gap: 12px;
  }
}
