/* ============================================================
   Read. Play. Atelier. — styles.css
   ============================================================ */

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

:root {
  --navy:  #064789;
  --steel: #427aa1;
  --sky:   #ebf2fa;
  --olive: #679436;
  --tan:   #e8b262;
  --rose:  #d87c74;
  --cream: #fdf8f0;
  --bark:  #2a3d1c;
  --muted: #8a99a8;
  --mid:   #3d5a7a;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', sans-serif;
  background: var(--cream);
  color: var(--navy);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; padding: 0; }

/* Google Fonts */
/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 {
  font-family: 'Fredoka One', cursive;
  line-height: 1.2;
  color: var(--navy);
}
h1 { font-size: clamp(2rem, 5vw, 3rem); font-family: "Fredoka One", cursive !important; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); }

.eyebrow {
  font-family: 'Caveat', cursive;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: var(--olive);
  font-weight: 600;
  display: block;
  margin-bottom: 0.5rem;
}

.tagline {
  font-family: 'Caveat', cursive;
  font-size: 1rem;
  color: var(--steel);
  display: block;
  margin-top: 1.5rem;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block;
  background: var(--olive);
  color: white;
  font-family: "Fredoka One", cursive !important;
  font-size: 1rem;
  padding: 0.75rem 2rem;
  border-radius: 30px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(103,148,54,0.35); color: white; }

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--navy);
  font-family: 'Fredoka One', cursive;
  font-size: 1rem;
  padding: 0.7rem 1.8rem;
  border-radius: 30px;
  border: 2px solid var(--navy);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
}
.btn-secondary:hover { background: var(--navy); color: white; }

/* ── NAV ── */
nav {
  background: var(--navy);
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  position: sticky;
  top: 0;
  z-index: 100;
}
nav a {
  color: rgba(253,248,240,0.75);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  font-family: 'Nunito', sans-serif;
  transition: color 0.2s;
}
nav a:hover { color: white; }
nav a:first-child {
  font-family: 'Fredoka One', cursive;
  font-size: 1.2rem;
  color: white;
}
.nav-cta {
  background: var(--tan);
  color: var(--navy) !important;
  padding: 5px 14px;
  border-radius: 20px;
}

/* footer nav — override sticky nav styles */
footer nav {
  position: static;
  background: transparent;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
footer nav a {
  color: rgba(255,255,255,0.65);
  font-size: 0.85rem;
}
footer nav a:hover { color: white; }
.footer-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem;
  margin: 1.5rem 0;
}
.footer-links h4 {
  font-family: 'Fredoka One', cursive;
  color: var(--tan);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}
.footer-links ul { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a { color: rgba(255,255,255,0.65); font-size: 0.88rem; }
.footer-links a:hover { color: white; }
.footer-links p { font-size: 0.88rem; color: rgba(255,255,255,0.6); margin-bottom: 0.5rem; }
.footer-links > div > a:last-child { color: var(--tan); text-decoration: underline; }

/* ── HERO ── */
.hero {
  padding: 4rem 1.5rem 3.5rem;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
/* botanical images in hero — float decoratively */
.hero > img {
  position: absolute;
  pointer-events: none;
  opacity: 0.85;
}
.hero > img:first-child {
  top: -20px;
  right: -40px;
  width: 220px;
}
.hero > img:nth-child(2) {
  bottom: 20px;
  left: -30px;
  width: 160px;
  transform: scaleX(-1);
}
.hero {
  overflow: visible;
}
.hero h1 { margin-bottom: 1.25rem; }
.hero > p:not(.eyebrow):not(.tagline) {
  font-size: 1.05rem;
  color: var(--mid);
  max-width: 580px;
  margin: 0 auto 2rem;
}
.hero .btn-primary { margin-right: 0.75rem; margin-bottom: 0.75rem; }

/* ── MAP SECTION ── */
.map-section {
  max-width: 860px;
  margin: 2rem auto;
  padding: 0 1.5rem 3rem;
  text-align: center;
  border-bottom: 1px solid rgba(66,122,161,0.1);
}
.map-section a img { border-radius: 12px; margin: 0 auto 1.25rem; }
.map-section > p { color: var(--mid); font-size: 1rem; margin-bottom: 1.25rem; max-width: 560px; margin-left: auto; margin-right: auto; }

/* ── STAGE SECTION ── */
.stages-section {
  max-width: 860px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  text-align: center;
}
.stages-section > img { margin: 0 auto 0.75rem; max-width: 600px; }
.stages-section > p { color: var(--mid); font-size: 0.95rem; margin-top: 1.25rem; }
.stages-section > p a { color: var(--steel); text-decoration: underline; }
/* hide empty anchor links */
.stages-section a:not([title]):not([class]) { display: none; }

/* ── CHECK SECTION ── */
.check-section {
  background: var(--sky);
  padding: 4rem 1.5rem;
  text-align: center;
}
.check-section > img { display: none; }
.check-section > .eyebrow, .check-section > h2, .check-section > p {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.check-section > h2 { margin-bottom: 0.75rem; }
.check-section > p { color: var(--mid); margin-bottom: 2rem; }
.check-section > .btn-primary { margin-top: 1.5rem; }

.steps {
  list-style: none;
  padding: 0;
  max-width: 560px;
  margin: 0 auto 1rem;
  text-align: left;
}
.steps li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(66,122,161,0.12);
}
.step-num {
  background: var(--navy);
  color: white;
  font-family: 'Fredoka One', cursive;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}
.steps li > div,
.steps li > span + * { flex: 1; }
.steps strong { font-size: 1rem; color: var(--navy); display: block; margin-bottom: 0.2rem; }
.steps p { font-size: 0.9rem; color: var(--mid); margin: 0; }
.steps a { color: var(--steel); text-decoration: underline; font-size: 0.9rem; }

/* ── TOOLS SECTION ── */
.tools-section {
  max-width: 860px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
  text-align: center;
}
.tools-section > img { display: none; }
.tools-section h2 { margin-bottom: 0.5rem; }
.tools-section h3 {
  font-size: 0.82rem;
  color: var(--steel);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 2rem 0 1rem;
}
.tools-section > p:not(.eyebrow) { color: var(--mid); margin-bottom: 1.5rem; font-size: 0.95rem; }

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}
.tool-card {
  background: white;
  border-radius: 16px;
  padding: 1.25rem 1rem;
  border: 2px solid var(--sky);
  text-decoration: none;
  transition: transform 0.2s, border-color 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.4rem;
  color: var(--navy);
}
.tool-card:hover { transform: translateY(-2px); border-color: var(--steel); }
.tool-card img { width: 44px; height: 44px; object-fit: contain; margin: 0 auto; }
.tool-category { font-size: 0.7rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.tool-card strong { font-family: 'Fredoka One', cursive; font-size: 0.95rem; color: var(--navy); }
.tool-status { font-size: 0.72rem; font-weight: 700; padding: 2px 10px; border-radius: 12px; }
.tool-status.free { background: #edf5e4; color: var(--olive); }
.tools-coming-note { font-size: 0.88rem; color: var(--mid); margin: 0.5rem 0 1.5rem; }

/* ── PATHWAYS ── */
.pathways-section {
  padding: 4rem 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}
.pathways-section > p:not(.eyebrow) { color: var(--mid); margin-bottom: 2.5rem; font-size: 1rem; }
.pathway-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  text-align: left;
}
.pathway-card {
  background: white;
  border-radius: 18px;
  padding: 2rem;
  border: 2px solid var(--sky);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.pathway-primary { border-color: var(--olive); background: #f4f9ef; }
.pathway-summer  { border-color: var(--tan); }
.card-eyebrow { font-size: 0.78rem; font-weight: 700; color: var(--rose); text-transform: uppercase; letter-spacing: 0.08em; font-family: 'Nunito', sans-serif; }
.card-label { font-family: 'Fredoka One', cursive; font-size: 1.05rem; color: var(--navy); }
.pathway-card > p { font-size: 0.9rem; color: var(--mid); }
.price-tag { font-family: 'Fredoka One', cursive; font-size: 0.88rem; color: var(--steel); }

/* ── COACHING ── */
.coaching-section {
  background: var(--navy);
  color: white;
  padding: 4rem 1.5rem;
  text-align: center;
}
.coaching-section img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin: 0 auto 1.5rem; border: 4px solid var(--tan); }
.coaching-section h3 { color: white; font-size: 1.5rem; margin-bottom: 0.75rem; }
.coaching-section > p { color: rgba(255,255,255,0.8); margin-bottom: 1.5rem; }
.coaching-section ul { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1.5rem; list-style: none; padding: 0; }
.coaching-section li { color: rgba(255,255,255,0.9); font-size: 0.95rem; font-weight: 700; }
.coaching-section .btn-secondary { border-color: var(--tan); color: var(--tan); }
.coaching-section .btn-secondary:hover { background: var(--tan); color: var(--navy); }

/* ── ABOUT ── */
.about-section {
  padding: 4rem 1.5rem;
  max-width: 860px;
  margin: 0 auto;
}
.about-section > img { display: none; }
.about-section > h2 { text-align: center; margin-bottom: 2rem; }
.about-inner {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2.5rem;
  align-items: start;
}
.about-inner img { border-radius: 16px; }
.about-inner p { color: var(--mid); margin-bottom: 1rem; font-size: 0.98rem; }
.credentials { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; list-style: none; padding: 0; }
.credentials li { background: var(--sky); border-radius: 20px; padding: 4px 14px; font-size: 0.82rem; color: var(--navy); font-weight: 700; }

/* ── TESTIMONIALS ── */
.testimonials-section { background: var(--sky); padding: 4rem 1.5rem; text-align: center; }
.testimonials-section h2 { margin-bottom: 2.5rem; }
blockquote {
  background: white;
  border-radius: 16px;
  padding: 1.75rem 2rem;
  max-width: 640px;
  margin: 0 auto 1.25rem;
  text-align: left;
  border-left: 4px solid var(--tan);
}
blockquote p { color: var(--mid); font-size: 0.95rem; line-height: 1.75; margin-bottom: 0.75rem; }
blockquote footer { font-family: 'Fredoka One', cursive; font-size: 0.9rem; color: var(--navy); background: none; padding: 0; position: static; }
.stats { display: flex; gap: 2.5rem; justify-content: center; flex-wrap: wrap; margin-top: 2.5rem; list-style: none; padding: 0; }
.stats li { text-align: center; }
.stats strong { font-family: 'Fredoka One', cursive; font-size: 2rem; color: var(--navy); display: block; }

/* ── FINAL CTA ── */
.final-cta {
  background: var(--navy);
  color: white;
  padding: 5rem 1.5rem;
  text-align: center;
}
.final-cta > img { display: none; }
.final-cta h2 { color: white; margin-bottom: 1rem; }
.final-cta > p:not(.eyebrow) { color: rgba(255,255,255,0.8); max-width: 500px; margin: 0 auto 2rem; }
.final-cta .eyebrow { color: var(--tan); }

/* ── FOOTER ── */
footer {
  background: var(--navy);
  padding: 3rem 1.5rem 2rem;
  color: white;
  max-width: 100%;
}
footer > a {
  font-family: 'Fredoka One', cursive;
  font-size: 1.25rem;
  color: white;
  display: block;
  margin-bottom: 0.5rem;
  text-decoration: none;
}
footer > p:not(.copyright) { font-size: 0.88rem; color: rgba(255,255,255,0.6); margin-bottom: 1.25rem; }
.footer-social { display: flex; gap: 1.25rem; flex-wrap: wrap; margin-bottom: 1.5rem; position: static; background: transparent; padding: 0; }
.footer-social a { color: rgba(255,255,255,0.6); font-size: 0.85rem; }
.footer-social a:hover { color: white; }
.copyright { font-size: 0.78rem; color: rgba(255,255,255,0.35); border-top: 1px solid rgba(255,255,255,0.08); padding-top: 1.5rem; margin-top: 1rem; }
.copyright a { color: rgba(255,255,255,0.5); }

/* ── LIBRARY PAGE ── */
.library-page { max-width: 860px; margin: 0 auto; padding: 0 1.5rem 5rem; }
.library-header { padding: 3rem 0 2rem; text-align: center; }
.library-header h1 { margin-bottom: 1rem; }
.library-header > p { color: var(--mid); max-width: 560px; margin: 0 auto 1.5rem; }
.stage-tabs { display: flex; gap: 0.5rem; flex-wrap: wrap; justify-content: center; }
.stage-tabs a { background: var(--sky); color: var(--navy); padding: 6px 18px; border-radius: 20px; font-family: 'Fredoka One', cursive; font-size: 0.85rem; text-decoration: none; }
.stage-tabs a:hover { background: var(--navy); color: white; }
.library-inside { background: var(--sky); border-radius: 18px; padding: 2rem; margin: 2rem 0; }
.library-inside h2 { margin-bottom: 1.25rem; font-size: 1.2rem; }
.inside-list { list-style: none; padding: 0; }
.inside-list li { padding: 0.6rem 0; border-bottom: 1px solid rgba(66,122,161,0.12); font-size: 0.93rem; color: var(--mid); }
.inside-list li:last-child { border-bottom: none; }
.inside-list strong { color: var(--navy); }
.library-access-note { font-size: 0.85rem; color: var(--steel); margin-top: 1rem; font-style: italic; }
.stage-section { padding: 3rem 0; border-bottom: 1px solid rgba(66,122,161,0.1); }
.stage-label { font-size: 0.72rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.12em; font-weight: 700; margin-bottom: 0.3rem; display: block; }
.stage-section img { width: 80px; margin: 1rem 0; }
.price-note { font-size: 0.85rem; color: var(--steel); margin-top: 0.4rem; display: block; }
.stage-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 2rem; }
.this-might-be h3, .modules-list h3 { font-size: 0.95rem; margin-bottom: 0.75rem; }
.this-might-be ul { list-style: disc; padding-left: 1.2rem; }
.this-might-be li { font-size: 0.88rem; color: var(--mid); margin-bottom: 0.3rem; }
.modules-list ol { list-style: decimal; padding-left: 1.2rem; }
.modules-list li { font-size: 0.88rem; color: var(--mid); margin-bottom: 0.3rem; }
.library-about { display: grid; grid-template-columns: 200px 1fr; gap: 2rem; align-items: start; padding: 3rem 0; }
.library-about img { border-radius: 16px; }
.library-about p { color: var(--mid); font-size: 0.95rem; }
.pricing-section { padding: 3rem 0; text-align: center; }
.pricing-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; margin-bottom: 1.5rem; }
.pricing-card { background: white; border-radius: 18px; padding: 2rem; border: 2px solid var(--sky); text-align: left; }
.pricing-featured { border-color: var(--olive); }
.pricing-badge { background: var(--olive); color: white; font-family: 'Fredoka One', cursive; font-size: 0.78rem; padding: 3px 12px; border-radius: 12px; display: inline-block; margin-bottom: 0.75rem; }
.pricing-card .price { font-family: 'Fredoka One', cursive; font-size: 1.5rem; color: var(--navy); margin-bottom: 0.75rem; display: block; }
.pricing-card > p { font-size: 0.88rem; color: var(--mid); margin-bottom: 1rem; }
.pricing-card ul { list-style: none; padding: 0; margin-bottom: 1.5rem; }
.pricing-card li { font-size: 0.88rem; color: var(--mid); padding: 0.3rem 0; border-bottom: 1px solid var(--sky); }
.pricing-card li::before { content: '✓ '; color: var(--olive); font-weight: 700; }
.pricing-nudge { font-size: 0.9rem; color: var(--mid); }
.pricing-nudge a { color: var(--steel); text-decoration: underline; }
.library-faq { padding: 3rem 0; }
.library-final-cta { text-align: center; padding: 3rem 0; }
.library-final-cta h2 { margin-bottom: 0.75rem; }
.library-final-cta p { color: var(--mid); margin-bottom: 1.5rem; }
.library-final-cta .btn-secondary { margin-right: 0.75rem; }

/* ── FAQ ── */
.page-header { padding: 4rem 2rem 3rem; text-align: center; }
.page-header h1 { margin-bottom: 1rem; }
.page-header p { max-width: 540px; margin: 0 auto; color: var(--mid); }
main { max-width: 780px; margin: 0 auto; padding: 3rem 1.5rem 5rem; }
details.faq-item { border-bottom: 1px solid rgba(103,148,54,0.1); }
details.faq-item summary { list-style: none; padding: 1.25rem 2.5rem 1.25rem 0; cursor: pointer; font-family: 'Fredoka One', cursive; font-size: 1.05rem; color: var(--navy); position: relative; line-height: 1.4; }
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after { content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--steel); }
details.faq-item[open] summary::after { content: '−'; }
.faq-answer { padding: 0 0 1.5rem; color: var(--mid); font-size: 1rem; line-height: 1.75; max-width: 680px; }
.faq-answer a { color: var(--steel); text-decoration: underline; }
.faq-category { margin: 3rem 0 1.25rem; padding-bottom: 0.4rem; border-bottom: 2px solid var(--tan); }
.faq-category h2 { font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--steel); }
.cta-strip { margin-top: 3.5rem; background: var(--navy); color: white; border-radius: 20px; padding: 2.5rem 2rem; text-align: center; }
.cta-strip p { color: rgba(235,242,250,0.9); margin-bottom: 1.25rem; }
.cta-strip a { display: inline-block; background: var(--olive); color: white; padding: 0.75rem 2rem; border-radius: 30px; font-family: 'Fredoka One', cursive; font-size: 1.05rem; text-decoration: none; }
.site-footer { background: var(--navy); color: white; text-align: center; padding: 2rem; font-size: 0.85rem; }
.site-footer a { color: var(--tan); }

/* ── WORLD MAP ── */
.map-page { max-width: 860px; margin: 0 auto; padding: 3rem 1.5rem 5rem; }
.map-eyebrow { font-family: 'Caveat', cursive; font-size: 1.2rem; color: var(--olive); display: block; margin-bottom: 0.4rem; }
.map-page img { border-radius: 16px; margin: 0 auto 2.5rem; }
.map-stages h2 { text-align: center; margin-bottom: 0.5rem; }
.map-stages > p { text-align: center; color: var(--mid); margin-bottom: 2rem; }
.map-cta { text-align: center; padding: 3rem 0; }
.map-cta p { color: var(--mid); margin-bottom: 1.5rem; }
.stage-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.25rem; margin: 2rem 0; }
.stage-card { background: white; border-radius: 16px; padding: 1.5rem; border-top: 4px solid var(--navy); text-decoration: none; transition: transform 0.2s, box-shadow 0.2s; display: block; color: var(--navy); }
.stage-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(6,71,137,0.12); }
.stage-card .stage-number { font-size: 0.72rem; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.4rem; display: block; }
.stage-card h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.stage-card p { font-size: 0.85rem; color: var(--mid); }
.stage-card span:last-child { display: inline-block; margin-top: 0.75rem; font-size: 0.85rem; color: var(--steel); font-weight: 700; }
.stage-prereader  { border-top-color: var(--olive); }
.stage-emerging   { border-top-color: var(--tan); }
.stage-readtolearn{ border-top-color: var(--navy); }
.stage-advanced   { border-top-color: var(--rose); }

/* ── STAGE PAGES ── */
.stage-page { max-width: 760px; margin: 0 auto; padding: 3rem 1.5rem 5rem; }
.stage-page .stage-label { font-size: 0.72rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.12em; font-weight: 700; display: block; margin-bottom: 0.3rem; }
.stage-page h1 { margin-bottom: 1rem; }
.stage-page > p { color: var(--mid); margin-bottom: 2rem; }
.stage-page img { width: 80px; margin: 1rem 0; }
.stage-page h2 { margin: 2rem 0 1rem; }
.stage-page ul:not(.credentials):not(.skills-list) { list-style: disc; padding-left: 1.2rem; }
.stage-page li { color: var(--mid); margin-bottom: 0.4rem; font-size: 0.95rem; }
.stage-page dl dt { font-family: 'Fredoka One', cursive; color: var(--navy); font-size: 1rem; margin: 1rem 0 0.3rem; }
.stage-page dl dd { color: var(--mid); font-size: 0.92rem; line-height: 1.65; }
.tools-for-stage { margin: 2rem 0; }
.tools-for-stage ul { list-style: none !important; padding: 0 !important; }
.tools-for-stage li { margin-bottom: 0.75rem; }
.tools-for-stage li a { color: var(--steel); text-decoration: underline; font-size: 0.95rem; }
.check-cta { background: var(--sky); border-radius: 16px; padding: 2rem; margin: 2rem 0; text-align: center; }
.check-cta h2 { margin-bottom: 0.75rem; font-size: 1.25rem; }
.check-cta p { color: var(--mid); margin-bottom: 1.25rem; font-size: 0.95rem; }
.library-cta { border: 2px solid var(--sky); border-radius: 16px; padding: 2rem; margin: 2rem 0; text-align: center; }
.library-cta h2 { margin-bottom: 0.75rem; font-size: 1.25rem; }
.library-cta p { color: var(--mid); margin-bottom: 1.25rem; font-size: 0.95rem; }
.stage-cta { margin: 2rem 0; }
.stage-cta p { color: var(--mid); font-size: 0.95rem; margin-bottom: 1rem; }
.stage-cta p a { color: var(--steel); text-decoration: underline; }
.affiliate-note { font-size: 0.82rem; color: var(--muted); font-style: italic; margin-bottom: 1rem; }
.book-list li { margin-bottom: 1rem; }
.book-list li a { color: var(--mid); font-size: 0.9rem; line-height: 1.6; text-decoration: underline; }
.tool-list li { margin-bottom: 0.75rem; }
.tool-list li a { color: var(--mid); font-size: 0.9rem; text-decoration: underline; }
.recommendations h3 { margin: 2rem 0 0.75rem; font-size: 1rem; }

/* ── STUDENT SMART SKILLS ── */
.urgency-banner { background: var(--rose); color: white; text-align: center; padding: 0.85rem 1.5rem; font-size: 0.95rem; }
.urgency-banner strong { font-family: 'Fredoka One', cursive; }
.program-page { max-width: 760px; margin: 0 auto; padding: 3rem 1.5rem 5rem; }
.program-eyebrow { font-size: 0.82rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; display: block; margin-bottom: 0.5rem; }
.program-page h1 { margin-bottom: 0.75rem; }
.program-subtitle { font-size: 1.05rem; color: var(--mid); margin-bottom: 2rem; }
.program-details-quick { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 2rem; list-style: none; padding: 0; }
.program-details-quick li { background: var(--sky); border-radius: 20px; padding: 4px 14px; font-size: 0.85rem; font-weight: 700; color: var(--navy); }
.cohorts { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; margin: 2rem 0; }
.cohort-card { background: white; border-radius: 18px; padding: 2rem; border: 2px solid var(--sky); }
.cohort-card h2 { font-size: 1.1rem; margin-bottom: 1rem; }
.cohort-card ul { list-style: none; padding: 0; margin-bottom: 1.25rem; }
.cohort-card li { font-size: 0.9rem; color: var(--mid); padding: 0.3rem 0; border-bottom: 1px solid var(--sky); }
.spots-note { font-size: 0.85rem; color: var(--rose); font-weight: 700; margin-bottom: 1rem; }
.skills-covered { margin: 2.5rem 0; }
.skills-list { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; padding: 0; }
.skills-list li { background: var(--sky); border-radius: 20px; padding: 4px 14px; font-size: 0.85rem; font-weight: 700; color: var(--navy); }
.instructor { display: flex; align-items: center; gap: 1.5rem; padding: 2rem 0; }
.instructor img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; }
.instructor p { font-size: 0.9rem; color: var(--mid); }
.program-cta-repeat { text-align: center; padding: 2rem 0; }

/* ── READING DIAGNOSTIC ── */
.diagnostic-page { max-width: 680px; margin: 0 auto; padding: 3rem 1.5rem 5rem; }
.check-form { background: var(--sky); border-radius: 18px; padding: 2rem; margin-bottom: 2rem; }
.check-form h2 { margin-bottom: 0.75rem; font-size: 1.25rem; }
.check-form p { color: var(--mid); font-size: 0.95rem; margin-bottom: 1rem; }
.check-form ul { list-style: disc; padding-left: 1.2rem; margin-bottom: 1.5rem; }
.check-form li { color: var(--mid); font-size: 0.92rem; margin-bottom: 0.3rem; }
.alt-option { font-size: 0.88rem; color: var(--muted); margin-top: 1rem; }
.alt-option a { color: var(--steel); text-decoration: underline; }
.next-step-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; margin-bottom: 1.5rem; }
.next-step-card { background: white; border-radius: 16px; padding: 1.75rem; border: 2px solid var(--sky); }
.next-step-primary { border-color: var(--olive); background: #f4f9ef; }
.next-step-card h4 { font-family: 'Fredoka One', cursive; font-size: 1.1rem; margin-bottom: 0.5rem; }
.next-step-card > p { color: var(--mid); font-size: 0.88rem; margin-bottom: 1rem; }
.next-step-card ul { list-style: none; padding: 0; margin-bottom: 1.25rem; }
.next-step-card li { font-size: 0.85rem; color: var(--mid); padding: 0.25rem 0; border-bottom: 1px solid var(--sky); }
.results-free-tools { font-size: 0.88rem; color: var(--mid); }
.results-free-tools a { color: var(--steel); text-decoration: underline; }

/* ── BRAIN BUILDER (inline styles override) ── */
.logo .w-r { color: #7fb3d3; }
.logo .w-p { color: #9dc46a; }
.logo .w-a { color: var(--tan); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .about-inner { grid-template-columns: 1fr; }
  .stage-detail { grid-template-columns: 1fr; }
  .library-about { grid-template-columns: 1fr; }
  .instructor { flex-direction: column; text-align: center; }
  nav { flex-wrap: wrap; gap: 0.5rem; }
  nav a:first-child { flex-basis: 100%; }
}

@media (max-width: 600px) {
  .hero { padding: 2.5rem 1.25rem 2rem; }
  .pathway-cards { grid-template-columns: 1fr; }
  .pricing-cards { grid-template-columns: 1fr; }
  .next-step-cards { grid-template-columns: 1fr; }
  .stage-cards { grid-template-columns: 1fr 1fr; }
  .cohorts { grid-template-columns: 1fr; }
  .stats { gap: 1.5rem; }
  blockquote { padding: 1.25rem; }
  .tools-grid { grid-template-columns: 1fr 1fr; }
}

/* ── STANDARD SITE FOOTER ── */
.site-footer {
  background: var(--navy);
  color: white;
  padding: 3.5rem 1.5rem 1.5rem;
}
.footer-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.footer-brand {}
.footer-logo {
  font-family: 'Fredoka One', cursive;
  font-size: 1.2rem;
  color: white;
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
}
.footer-logo .w-r { color: #7fb3d3; }
.footer-logo .w-p { color: #9dc46a; }
.footer-logo .w-a { color: #e8b262; }
.footer-tagline {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1rem;
  line-height: 1.5;
}
.footer-socials {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.footer-socials a {
  color: rgba(255,255,255,0.55);
  font-size: 0.82rem;
  text-decoration: none;
}
.footer-socials a:hover { color: white; }
.footer-col h4 {
  font-family: 'Fredoka One', cursive;
  color: var(--tan);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a { color: rgba(255,255,255,0.65); font-size: 0.88rem; text-decoration: none; }
.footer-col a:hover { color: white; }
.footer-col p { font-size: 0.88rem; color: rgba(255,255,255,0.6); margin-bottom: 0.5rem; }
.footer-bottom {
  max-width: 1000px;
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.25rem;
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
}
.footer-bottom a { color: rgba(255,255,255,0.5); }

@media(max-width:900px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
@media(max-width:600px) { .footer-inner { grid-template-columns: 1fr; } }

/* ── TOOL HERO HEADER ── */
header {
  background: var(--navy);
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  position: sticky;
  top: 0;
  z-index: 100;
}
header .logo { font-family: 'Fredoka One', cursive; font-size: 1.2rem; color: white; text-decoration: none; }
header .logo .w-r { color: #7fb3d3; }
header .logo .w-p { color: #9dc46a; }
header .logo .w-a { color: var(--tan); }
header nav { background: transparent; position: static; padding: 0; display: flex; gap: 1.5rem; align-items: center; flex-wrap: wrap; }
header nav a { color: rgba(253,248,240,0.75); font-size: 0.85rem; font-weight: 700; }
header nav a:hover { color: white; }
header nav .nav-cta { background: var(--tan); color: var(--navy) !important; padding: 5px 14px; border-radius: 20px; font-size: 0.82rem; }

/* Badge variants added in consistency cleanup */
.tool-badge-soon { background: rgba(0,0,0,0.18); color: rgba(255,255,255,0.7); border-color: rgba(255,255,255,0.2); }
.tool-badge-founder { background: var(--tan); color: var(--bark); border-color: transparent; }
.tool-badge-available { background: var(--olive); color: #fff; border-color: transparent; }

/* What's Inside Today section */
.wit-section { background: var(--cream); padding: 5rem 1.5rem; }
.wit-inner { max-width: 900px; margin: 0 auto; }
.wit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
@media(max-width:700px){ .wit-grid { grid-template-columns: repeat(2, 1fr); } }
.wit-item { background: #fff; border-radius: 12px; padding: 1.25rem 1rem; text-align: center; box-shadow: 0 1px 6px rgba(6,71,137,0.07); display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.wit-icon img { width: 44px; height: 44px; object-fit: contain; }
.wit-label { font-family: 'Fredoka One', cursive; font-size: 0.92rem; color: var(--navy); }
.wit-badge { font-size: 0.68rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; padding: 3px 10px; border-radius: 20px; display: inline-block; }
.wit-available { background: #e8f5d8; color: #3a6b1a; }
.wit-founder { background: #fdf1dc; color: #8a5c1a; }
.wit-soon { background: #f0f0f0; color: #888; }

/* Path bar — consistent user journey on all public pages */
.path-bar { background: var(--cream); border-top: 1px solid rgba(6,71,137,0.08); padding: 1.25rem 1.5rem; }
.path-bar-inner { max-width: 860px; margin: 0 auto; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0.5rem 1rem; }
.path-step { display: flex; align-items: center; gap: 0.5rem; text-decoration: none; color: var(--navy); font-size: 0.85rem; font-family: 'Nunito', sans-serif; font-weight: 600; transition: opacity 0.2s; }
.path-step:hover { opacity: 0.75; }
.path-num { background: var(--navy); color: #fff; width: 22px; height: 22px; border-radius: 50%; font-size: 0.72rem; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.path-arrow { color: rgba(6,71,137,0.3); font-size: 1rem; }
@media(max-width:560px){ .path-bar-inner { flex-direction: column; align-items: flex-start; } .path-arrow { display: none; } }

/* Syllable Scout mode selector */
.mode-selector { margin-top: 1.5rem; }
.mode-label { font-size: 0.88rem; color: var(--steel); margin-bottom: 0.75rem; font-family: 'Nunito', sans-serif; }
.mode-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.mode-btn { background: #fff; border: 2px solid rgba(6,71,137,0.15); border-radius: 12px; padding: 1rem 1.25rem; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 0.3rem; min-width: 160px; transition: border-color 0.2s, box-shadow 0.2s; font-family: 'Nunito', sans-serif; }
.mode-btn:hover { border-color: var(--navy); box-shadow: 0 2px 12px rgba(6,71,137,0.1); }
.mode-btn-icon { font-size: 1.5rem; }
.mode-btn-title { font-family: 'Fredoka One', cursive; font-size: 1.05rem; color: var(--navy); }
.mode-btn-desc { font-size: 0.78rem; color: rgba(42,61,28,0.55); line-height: 1.4; text-align: center; }
.mode-btn-teach { border-color: var(--olive); }
.mode-btn-teach:hover { border-color: var(--olive); background: #f5faea; }
.mode-btn-quiz { border-color: var(--navy); }
.mode-btn-quiz:hover { background: #f0f5ff; }
.teach-hint { color: var(--olive) !important; font-weight: 700; background: rgba(103,148,54,0.08); padding: 0.5rem 0.75rem; border-radius: 8px; }
.score-pill-mode { background: rgba(255,255,255,0.15); font-style: italic; }

/* Spelling Strategist Parent Mode */
.parent-mode-banner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; background: #fdf8f0; border: 1.5px solid rgba(232,178,98,0.4); border-radius: 12px; padding: 0.85rem 1rem; margin-bottom: 1.25rem; }
.parent-mode-left { display: flex; flex-direction: column; gap: 0.2rem; }
.parent-mode-title { font-family: 'Fredoka One', cursive; font-size: 0.95rem; color: var(--navy); }
.parent-mode-desc { font-size: 0.78rem; color: rgba(42,61,28,0.6); line-height: 1.4; }
.toggle-switch { position: relative; display: inline-block; width: 44px; height: 24px; flex-shrink: 0; }
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background: #ccc; border-radius: 24px; transition: 0.3s; }
.toggle-slider:before { position: absolute; content: ''; height: 18px; width: 18px; left: 3px; bottom: 3px; background: white; border-radius: 50%; transition: 0.3s; }
.toggle-switch input:checked + .toggle-slider { background: var(--olive); }
.toggle-switch input:checked + .toggle-slider:before { transform: translateX(20px); }

/* Word shield overlay */
.sc-word-wrap { position: relative; display: inline-block; }
.sc-word-shield { display: none; position: absolute; inset: -8px; background: var(--navy); border-radius: 12px; flex-direction: column; align-items: center; justify-content: center; gap: 0.35rem; cursor: default; z-index: 2; }
.shield-icon { font-size: 1.5rem; }
.shield-text { font-size: 0.75rem; color: rgba(255,255,255,0.75); font-family: 'Nunito', sans-serif; }
.shield-peek-btn { font-size: 0.72rem; background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.3); color: white; border-radius: 16px; padding: 3px 10px; cursor: pointer; font-family: 'Nunito', sans-serif; margin-top: 0.2rem; user-select: none; }

/* Word Decoder sample word banner */
.sample-word-banner { background: #eef4e6; border: 1.5px solid rgba(103,148,54,0.25); border-radius: 14px; padding: 1.25rem 1.5rem; margin: 0 auto 1.5rem; max-width: 640px; }
.sample-word-inner { display: flex; flex-direction: column; gap: 0.5rem; }
.sample-word-label { font-family: 'Caveat', cursive; font-size: 1.1rem; color: var(--olive); font-weight: 700; }
.sample-word-chip { display: inline-block; font-family: 'Fredoka One', cursive; font-size: 2rem; color: var(--navy); background: white; padding: 0.25rem 1rem; border-radius: 10px; border: 1.5px solid rgba(6,71,137,0.12); width: fit-content; }
.sample-word-hint { font-size: 0.87rem; color: rgba(42,61,28,0.7); line-height: 1.6; }
.sample-word-dismiss { align-self: flex-start; background: var(--olive); color: white; border: none; border-radius: 20px; padding: 0.45rem 1.1rem; font-family: 'Nunito', sans-serif; font-size: 0.85rem; font-weight: 700; cursor: pointer; margin-top: 0.25rem; }
