/* Homepage only: clear learning hierarchy, compact content, comfortable touch targets. */
.home-page {
  --home-green: #117654;
}
.home-page [hidden] {
  display: none !important;
}
.home-page .container {
  max-width: 1200px;
}
.home-page section[id] {
  scroll-margin-top: 90px;
}
.home-page a:focus-visible,
.home-page summary:focus-visible,
.home-page audio:focus-visible {
  outline: 3px solid #b77714;
  outline-offset: 5px;
}
.home-hero {
  background: #f6faf5;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.home-hero .hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 32px;
  padding: 58px 0;
}
.home-hero .hero-text {
  min-width: 0;
}
.home-hero .hero-text h1 {
  font-size: clamp(32px, 3.6vw, 46px);
  line-height: 1.18;
  max-width: 570px;
}
.home-hero .hero-text p {
  margin-bottom: 24px;
  max-width: 520px;
}
.home-hero .hero-badge {
  color: #9a4b21;
  font-size: 13px;
  margin-bottom: 18px;
}
.home-hero .btn-primary {
  background: var(--home-green);
  box-shadow: none;
}
.home-hero .btn-outline {
  background: white;
  border-color: #b9d4c7;
  color: #17553e;
  box-shadow: none;
}
.home-hero .hero-btns {
  gap: 12px;
}
.home-hero .hero-btns a {
  padding: 13px 20px;
  min-height: 48px;
}
.home-benefits {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  gap: 5px 16px;
  margin-top: 20px;
  font-size: 13px;
  color: #4e6657;
}
.home-benefits li::before {
  content: '✓';
  margin-right: 5px;
  font-weight: 800;
  color: var(--home-green);
}
.home-hero-art {
  position: relative;
  height: 345px;
  border-radius: 32px;
  overflow: hidden;
  background: #fffaf1;
}
.home-hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% center;
}
.home-content > .section {
  padding: 42px 0;
}
.home-eyebrow {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--home-green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}
.home-section-desc {
  color: var(--text-secondary);
  margin-top: 10px;
  max-width: 720px;
}
.home-audiences {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 24px;
}
.home-audiences article {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 20px;
}
.home-family {
  background: #edf7f0;
}
.home-adult {
  background: white;
}
.home-audiences article > svg {
  color: var(--home-green);
  margin-bottom: 14px;
}
.home-audiences h3 {
  font-size: 23px;
}
.home-audiences p {
  margin: 12px 0 20px;
  color: var(--text-secondary);
  max-width: 480px;
}
.home-start-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.home-page .btn-primary {
  background-color: var(--home-green);
  white-space: normal;
  text-align: center;
}
.home-text-link {
  display: inline-block;
  color: var(--home-green);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.home-text-link:hover {
  color: #08432f;
}
.home-content > .home-sample {
  margin: 12px 0 20px;
  padding: 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  background: #fff5dc;
  border-radius: 24px;
}
.home-sample h2 {
  font-size: clamp(24px, 2.6vw, 32px);
  max-width: 420px;
}
.home-sample-copy > p {
  color: var(--text-secondary);
  margin: 16px 0;
}
.home-mini-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  list-style: none;
  counter-reset: steps;
  margin: 20px 0;
  font-size: 14px;
}
.home-mini-steps li {
  counter-increment: steps;
}
.home-mini-steps li::before {
  content: counter(steps);
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  background: white;
  border-radius: 50%;
  margin-right: 6px;
  color: var(--home-green);
  font-weight: 800;
}
.home-audio-card {
  min-width: 0;
  padding: 28px;
  background: white;
  border: 1px solid #ecdfbd;
  border-radius: 20px;
  box-shadow: 0 8px 28px #836e2910;
}
.home-audio-card .home-sentence {
  font-weight: 900;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.3;
  margin-bottom: 8px;
}
.home-audio-card audio {
  width: 100%;
  display: block;
  margin: 22px 0;
}
.home-audio-card .btn-primary {
  display: block;
  padding: 12px 16px;
}
.home-page .feat-img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.home-page .feat-card {
  box-shadow: none;
}
.home-page .feat-desc {
  color: var(--text-secondary);
  font-size: 16px;
}
.home-content > .home-about {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 28px;
  margin: 20px 0;
  padding: 32px;
  border-block: 1px solid var(--border);
}
.home-about-symbol {
  display: grid;
  place-items: center;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: #edf7f0;
  color: var(--home-green);
  overflow: hidden;
}
.home-about-symbol img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.home-bio {
  max-width: 820px;
  margin: 12px 0 16px;
  color: var(--text-secondary);
}
.home-bio p + p {
  margin-top: 10px;
}
.home-post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.home-post {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: white;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.home-post h3 {
  font-size: 20px;
  line-height: 1.4;
}
.home-post h3 a:hover {
  color: var(--home-green);
  text-decoration: underline;
}
.home-post > p {
  margin: 12px 0 22px;
  font-size: 15px;
  color: var(--text-secondary);
}
.home-post > .home-text-link {
  margin-top: auto;
}
.home-post-icon {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  background: #edf7f0;
  border-radius: 14px;
  color: var(--home-green);
  margin-bottom: 20px;
}
.home-post:nth-child(2) .home-post-icon {
  background: #fff3db;
  color: #956218;
}
.home-post:nth-child(3) .home-post-icon {
  background: #eaf1fb;
  color: #36649a;
}
.home-post-image {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 20px;
}
.home-topic-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.home-topic-links a {
  padding: 10px 16px;
  border: 1px solid #d4e1d8;
  border-radius: 10px;
  background: white;
  font-size: 14px;
  color: #23573f;
  min-height: 44px;
}
.home-topic-links a:hover {
  background: #edf7f0;
}
.home-topic-links a span {
  margin-left: 8px;
}
.home-page .aff-home-header {
  margin-bottom: 24px;
}
.home-page .home-product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.home-page .aff-card-title {
  display: block;
  -webkit-line-clamp: unset;
  font-size: 16px;
}
.home-page .aff-card {
  box-shadow: none;
}
.home-page .aff-card-media {
  aspect-ratio: 4/3;
}
.home-page .aff-card-media img {
  object-fit: contain;
  background: white;
}
.home-product-use {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
  margin: 10px 0;
}
.home-aff-note {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 18px;
  max-width: 800px;
}
.home-page .study-panel {
  margin: 28px 0 0;
  border-left: 4px solid var(--home-green);
  background: white;
}
.home-page .newsletter {
  margin-top: 30px;
}
.home-page .newsletter h2 {
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
@media (max-width: 900px) {
  .home-hero .hero-inner {
    grid-template-columns: 1fr 0.8fr;
    gap: 24px;
    padding: 40px 0;
  }
  .home-hero-art {
    height: 330px;
  }
  .home-page .home-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .home-post-grid {
    gap: 14px;
  }
  .home-post {
    padding: 20px;
  }
}
@media (max-width: 640px) {
  .home-page .container {
    padding-inline: 20px;
  }
  .home-page .nav-inner {
    gap: 10px;
    padding-inline: 16px;
  }
  .home-page .nav-logo img {
    max-width: 145px;
    height: auto !important;
  }
  .home-page .nav-cta {
    padding: 10px 14px;
  }
  .home-hero .hero-inner {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 30px 0 24px;
  }
  .home-hero .hero-text h1 {
    font-size: clamp(29px, 7.9vw, 36px);
  }
  .home-hero .hero-text p {
    font-size: 16px;
    margin-bottom: 20px;
  }
  .home-hero .hero-badge {
    padding: 5px 10px;
    font-size: 12px;
  }
  .home-hero .hero-btns {
    flex-direction: column;
    gap: 10px;
  }
  .home-hero .hero-btns a {
    width: 100%;
  }
  .home-benefits {
    font-size: 12px;
    gap: 4px 10px;
    margin-top: 16px;
  }
  .home-hero-art {
    height: 190px;
    border-radius: 20px;
  }
  .home-hero-art img {
    object-position: 65% center;
  }
  .home-content > .section {
    padding: 28px 0;
  }
  .home-page .section-header {
    align-items: flex-start;
    flex-wrap: wrap;
    margin-bottom: 20px;
  }
  .home-audiences,
  .home-post-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .home-audiences article {
    padding: 22px;
  }
  .home-audiences h3 {
    font-size: 21px;
  }
  .home-start-links .btn-primary {
    width: 100%;
    padding: 12px 14px;
    font-size: 15px;
  }
  .home-content > .home-sample {
    grid-template-columns: 1fr;
    padding: 22px;
    gap: 24px;
    margin-top: 6px;
  }
  .home-audio-card {
    padding: 20px;
  }
  .home-content > .home-about {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 24px 0;
    margin: 10px 0;
  }
  .home-about-symbol {
    width: 64px;
    height: 64px;
  }
  .home-page .feat-card {
    display: grid;
    grid-template-columns: 112px 1fr;
    align-items: center;
  }
  .home-page .feat-img {
    height: 110px;
    aspect-ratio: auto;
    object-fit: cover;
  }
  .home-page .feat-title {
    font-size: 16px;
    padding: 16px;
  }
  .home-page .home-product-grid {
    gap: 12px;
  }
  .home-page .aff-card-body {
    padding: 12px;
  }
  .home-page .aff-card-title {
    font-size: 15px;
  }
  .home-product-use {
    font-size: 13px;
  }
  .home-page .aff-card-meta {
    flex-wrap: wrap;
  }
  .home-topic-links {
    gap: 8px;
  }
  .home-topic-links a {
    font-size: 13px;
    padding: 10px 12px;
  }
}
@media (max-width: 360px) {
  .home-page .nav-inner { padding-inline: 12px; gap: 8px; }
  .home-page .nav-logo img { max-width: 120px; }
  .home-page .nav-cta { padding: 10px 12px; font-size: 13px; }
  .home-page .nav-burger { width: 36px; }
}
/* A distinct learning destination, with equal emphasis on all three tools. */
.home-page .home-learning {
  padding: 40px;
  border: 1px solid #dbe8dc;
  border-radius: 32px;
  background: radial-gradient(ellipse at top right, #e0eee0, transparent 65%), #f1f6ee;
}
.home-learning-header { margin-bottom: 28px; }
#home-learning-title { scroll-margin-top: 140px; }
.home-learning-header .section-title { font-size: clamp(25px, 2.7vw, 34px); line-height: 1.25; }
.home-page .home-learning .feat-desc { max-width: 680px; margin-top: 12px; }
.home-learning .feat-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.home-page .learning-card {
  --learning-ink: #11694f;
  --learning-tint: #e8f5ed;
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid #d7e4da;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 5px 14px #224d3010;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.home-page .learning-card--playing { --learning-ink: #915013; --learning-tint: #fff3d4; }
.home-page .learning-card--mapping { --learning-ink: #7042a0; --learning-tint: #f2ebfc; }
.home-page .learning-card:hover { border-color: var(--learning-ink); box-shadow: 0 12px 26px #224d3018; transform: translateY(-5px); }
.learning-card-heading { padding: 24px 24px 18px; }
.learning-card-label { display: inline-block; padding: 5px 10px; border-radius: 8px; background: var(--learning-tint); color: var(--learning-ink); font-size: 11px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }
.home-page .learning-card .feat-title { padding: 0; margin: 14px 0 0; min-height: 58px; font-size: 22px; line-height: 1.3; letter-spacing: -.4px; }
.learning-card-art { margin: 0 16px; overflow: hidden; border-radius: 14px; background: var(--learning-tint); }
.home-page .learning-card .feat-img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; background: var(--learning-tint); }
.learning-card-body { display: flex; flex: 1; flex-direction: column; padding: 20px 24px 24px; }
.learning-card-body p { margin: 0 0 22px; color: #58675d; font-size: 15px; line-height: 1.65; }
.learning-card-action { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding: 12px 14px; min-height: 48px; border-radius: 12px; background: var(--learning-tint); color: var(--learning-ink); font-weight: 800; font-size: 14px; }
.learning-card-action > span { font-size: 22px; line-height: 1; }
@media (max-width: 600px) {
  .home-page .home-learning { padding: 24px 16px; border-radius: 24px; }
  .home-learning .feat-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .learning-card-heading { padding: 20px 20px 16px; }
  .home-page .learning-card .feat-title { min-height: 0; font-size: 23px; }
  .learning-card-body { padding: 18px 20px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-page * {
    scroll-behavior: auto;
    transition: none !important;
  }
}
