/* ============================================================
   Tell and Show — Inner Pages v2
   /tns/inner-pages-v2.css
   ----------------------------------------------------------------
   Shared primitives for non-homepage marketing pages:
     /pricing            (.page-hero, .family-math, .embedded-price-card,
                          .pricing-faq, .compare-link)
     /tracks/game        (.page-hero, .genre-bento, .book-call)
     /faq                (.page-hero, .longform, .toc-list, .faq-search,
                          .faq-category-head, .faq-empty)
     /coppa              (.page-hero, .longform, .toc-list)
     /parents/safety     (.page-hero, .longform, .toc-list)
     /parents/privacy    (.page-hero, .longform, .toc-list)

   Loads AFTER /tns/site-base-v2.css (which provides tokens, reset,
   nav, footer, buttons, section, motion utilities) and BEFORE any
   page-specific stylesheet.

   Two batches:
     1. CONVERSION-TRIO — pricing + tracks + parents landing primitives
     2. TRUST-DEEPENING — long-form prose + FAQ search + TOC patterns
   ============================================================ */

/* ============================================================
   CONVERSION-TRIO ADDITIONS — 2026-05-15
   New primitives for /pricing, /tracks/game, /parents. Grouped
   here so later Phase 1 pages can lift them without re-authoring.
   ============================================================ */

/* --- .page-hero: short editorial hero for non-homepage pages --- */
.page-hero {
  /* Block padding only — horizontal gutters come from .page so the hero
     doesn't sit flush against the viewport edge on mobile. */
  padding-top: 88px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--m-line);
  background: linear-gradient(180deg, #FDFCF8 0%, #FFFFFF 100%);
}
.page-hero .page-hero-inner {
  /* Left-aligned editorial hero per taste-skill anti-center rule at VARIANCE 8.
     Block is still capped at 880px so the lede doesn't run edge-to-edge. */
  max-width: 880px;
  margin: 0;
  text-align: left;
}
.page-hero .eyebrow { color: var(--m-accent); }
.page-hero h1 {
  font-family: var(--f-serif);
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.04;
  letter-spacing: -.015em;
  margin: 12px 0 18px;
  color: var(--m-ink);
}
.page-hero h1 .keyword { color: var(--m-accent); }
.page-hero p {
  font-family: var(--f-serif);
  font-size: 19px;
  line-height: 1.5;
  color: var(--m-ink-2);
  max-width: 640px;
  margin: 0 0 26px;
}
.page-hero .hero-cta { justify-content: flex-start; }
.page-hero .hero-wink {
  color: var(--m-muted);
  margin-top: 18px;
  display: inline-flex;
}

/* --- .family-math: worked-example 2-column block (pricing + parents) --- */
.family-math {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: stretch;
  margin: 64px 0 80px;
  padding: 40px 44px;
  background: #FBFAF5;
  border: 1px solid var(--m-line);
  border-radius: var(--r-lg);
}
.family-math-lede h3 {
  font-family: var(--f-serif);
  font-size: 32px;
  line-height: 1.12;
  letter-spacing: -.01em;
  margin-bottom: 14px;
  color: var(--m-ink);
}
.family-math-lede p {
  font-family: var(--f-serif);
  font-size: 17px;
  line-height: 1.55;
  color: var(--m-ink-2);
  margin: 0 0 12px;
}
.family-math-lede p:last-child { margin-bottom: 0; }
.family-math-scenarios { display: grid; gap: 18px; align-self: center; }
.family-scenario {
  background: white;
  border: 1px solid var(--m-line);
  border-radius: var(--r-md);
  padding: 22px 26px;
}
.family-scenario-label {
  font-family: var(--f-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--m-muted);
  margin-bottom: 14px;
  display: block;
}
.family-scenario-row {
  font-family: var(--f-sans);
  font-size: 14px;
  line-height: 1.5;
  color: var(--m-ink-2);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 5px 0;
}
.family-scenario-row.is-total {
  margin-top: 12px;
  padding-top: 14px;
  border-top: 1px dashed var(--m-line-strong);
  font-family: var(--f-serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--m-ink);
}
.family-scenario-row.is-total .keyword { font-family: var(--f-serif); }

/* --- .embedded-price-card: single-card pricing CTA (tracks/game, parents) --- */
.embedded-price-card {
  margin: 64px auto;
  max-width: 560px;
}
.embedded-price-card .price-card { margin: 0; }
.embedded-price-card-meta {
  text-align: center;
  font-family: var(--f-sans);
  font-size: 13.5px;
  color: var(--m-muted);
  margin-top: 16px;
}
.embedded-price-card-meta a {
  color: var(--m-accent);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.embedded-price-card-meta a:hover { color: var(--m-accent-ink); }

/* --- .genre-bento: featured genre + stacked small (tracks/game) --- */
.genre-bento {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  grid-template-rows: repeat(4, auto);
  gap: 16px;
  margin-top: 36px;
}
.genre-bento .genre--featured {
  grid-column: 1;
  grid-row: 1 / span 4;
  background: #FBFAF5;
  border: 1px solid var(--m-line-strong);
  border-radius: var(--r-lg);
  padding: 36px 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
}
.genre-bento .genre--featured::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(31, 143, 78, .08), transparent 55%);
  pointer-events: none;
}
.genre-bento .genre--featured .genre-stamp {
  display: inline-flex;
  width: max-content;
  font-family: var(--f-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--t-game);
  background: var(--m-bg);
  border: 1px solid var(--t-game);
  border-radius: var(--r-sm);
  padding: 4px 9px 5px;
  z-index: 1;
}
.genre-bento .genre-card {
  background: white;
  border: 1px solid var(--m-line);
  border-radius: var(--r-md);
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform var(--d-base) var(--e-out), border-color var(--d-base) var(--e-out);
}
.genre-bento .genre-card:hover {
  transform: translateY(-2px);
  border-color: var(--m-line-strong);
}
.genre-bento .genre--featured h4 {
  font-family: var(--f-serif);
  font-size: 36px;
  line-height: 1.05;
  letter-spacing: -.012em;
  color: var(--m-ink);
  z-index: 1;
}
.genre-bento .genre-card h4 {
  font-family: var(--f-serif);
  font-size: 21px;
  line-height: 1.12;
  letter-spacing: -.005em;
  color: var(--m-ink);
}
.genre-bento .genre-card p,
.genre-bento .genre--featured p {
  font-family: var(--f-serif);
  font-size: 15px;
  line-height: 1.5;
  color: var(--m-ink-2);
  margin: 0;
  z-index: 1;
}
.genre-bento .genre-card .genre-cue,
.genre-bento .genre--featured .genre-cue {
  font-family: var(--f-sans);
  font-size: 12.5px;
  color: var(--m-ink-3);
  font-style: italic;
  margin-top: auto;
  z-index: 1;
}
.genre-bento .genre--featured .genre-wizards {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
  z-index: 1;
}
.genre-bento .genre--featured .genre-wizards span {
  font-family: var(--f-mono);
  font-size: 11.5px;
  background: white;
  border: 1px solid var(--m-line-strong);
  border-radius: var(--r-sm);
  padding: 4px 9px;
  color: var(--m-ink-2);
}

/* --- .book-call: Cal.com embed surface (parents) --- */
.book-call {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 44px;
  align-items: center;
  margin: 80px 0 64px;
  padding: 44px 48px 48px;
  background: white;
  border: 1px solid var(--m-line-strong);
  border-radius: var(--r-lg);
  position: relative;
  box-shadow: 0 18px 44px rgba(20, 20, 19, .06), inset 0 1px 0 rgba(255, 255, 255, .9);
}
.book-call::before {
  content: 'Talk to a real parent';
  position: absolute;
  top: -12px;
  left: 32px;
  background: var(--m-accent);
  color: white;
  font-family: var(--f-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 6px 12px 7px;
  border-radius: var(--r-sm);
}
.book-call h3 {
  font-family: var(--f-serif);
  font-size: 30px;
  line-height: 1.15;
  letter-spacing: -.01em;
  color: var(--m-ink);
  margin-bottom: 14px;
}
.book-call p {
  font-family: var(--f-serif);
  font-size: 16px;
  line-height: 1.55;
  color: var(--m-ink-2);
  margin: 0 0 10px;
}
.book-call p:last-of-type { margin-bottom: 0; }
.book-call ul {
  font-family: var(--f-sans);
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--m-ink-2);
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}
.book-call ul li {
  padding: 5px 0 5px 22px;
  position: relative;
}
.book-call ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 12px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--ok);
}
.book-call .book-call-action {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.book-call .book-call-action .btn { width: 100%; justify-content: center; text-align: center; }
.book-call .book-call-action .meta {
  font-family: var(--f-sans);
  font-size: 12.5px;
  color: var(--m-muted);
  text-align: center;
}

/* --- .pricing-faq: lighter FAQ variant used inline on /pricing --- */
.pricing-faq .lead h2 { font-size: 36px; }

/* --- .compare-link: thin link row above final CTA --- */
.compare-link {
  text-align: center;
  font-family: var(--f-sans);
  font-size: 14px;
  color: var(--m-muted);
  margin: 32px 0 24px;
}
.compare-link a {
  color: var(--m-accent);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.compare-link a:hover { color: var(--m-accent-ink); }

/* --- mobile collapse for trio additions --- */
@media (max-width: 1180px) {
  .family-math,
  .book-call { grid-template-columns: 1fr; gap: 28px; padding: 36px 32px; }
  .genre-bento { grid-template-columns: 1fr; grid-template-rows: auto; }
  .genre-bento .genre--featured { grid-column: 1; grid-row: auto; }
}
@media (max-width: 720px) {
  .page-hero { padding-top: 64px; padding-bottom: 40px; }
  .family-math,
  .book-call { padding: 28px 22px; margin: 44px 0; }
  .embedded-price-card { margin: 44px 0; }
  .genre-bento .genre--featured { padding: 26px 22px; }
  .genre-bento .genre--featured h4 { font-size: 28px; }
  .genre-bento .genre-card { padding: 16px 18px; }
  .book-call::before { left: 22px; }
}

/* ============================================================
   TRUST-DEEPENING ADDITIONS — 2026-05-15 (batch 2)
   Long-form prose primitives for /parents/safety, /parents/privacy,
   /faq (full), /coppa. Plus FAQ search + TOC patterns.
   ============================================================ */

/* --- .longform: prose container for trust + legal pages --- */
.longform {
  max-width: 720px;
  margin: 0 auto;
  padding: 64px 0 80px;
  font-family: var(--f-serif);
  color: var(--m-ink);
}
.longform .tldr {
  background: #FBFAF5;
  border-left: 3px solid var(--m-accent);
  padding: 22px 26px 24px;
  margin: 0 0 56px;
  border-radius: 0 var(--r-md) var(--r-md) 0;
}
.longform .tldr-label {
  font-family: var(--f-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--m-accent);
  margin-bottom: 10px;
  display: block;
}
.longform .tldr p {
  font-family: var(--f-serif);
  font-size: 17px;
  line-height: 1.55;
  color: var(--m-ink);
  margin: 0 0 10px;
}
.longform .tldr p:last-child { margin-bottom: 0; }
.longform > section { padding-top: 56px; scroll-margin-top: 90px; }
.longform > section:first-of-type { padding-top: 0; }
.longform > section + section { border-top: 1px solid var(--m-line); }
.longform h2 {
  font-family: var(--f-serif);
  font-size: 32px;
  line-height: 1.14;
  letter-spacing: -.01em;
  color: var(--m-ink);
  margin: 0 0 18px;
}
.longform h2 .keyword { color: var(--m-accent); }
.longform h2 + .section-hint {
  font-family: var(--f-sans);
  font-size: 12.5px;
  color: var(--m-muted);
  margin: -10px 0 22px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.longform h3 {
  font-family: var(--f-serif);
  font-size: 22px;
  line-height: 1.18;
  letter-spacing: -.005em;
  color: var(--m-ink);
  margin: 32px 0 12px;
}
.longform p {
  font-family: var(--f-serif);
  font-size: 17px;
  line-height: 1.6;
  color: var(--m-ink-2);
  margin: 0 0 14px;
}
.longform p:last-child { margin-bottom: 0; }
.longform p strong, .longform p b {
  color: var(--m-ink);
  font-weight: 600;
}
.longform p code,
.longform li code {
  font-family: var(--f-mono);
  font-size: 14.5px;
  background: #FBFAF5;
  border: 1px solid var(--m-line);
  border-radius: var(--r-sm);
  padding: 1px 6px;
  color: var(--m-ink);
}
.longform a {
  color: var(--m-accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  font-weight: 500;
}
.longform a:hover { color: var(--m-accent-ink); }
.longform ul,
.longform ol {
  font-family: var(--f-serif);
  font-size: 17px;
  line-height: 1.6;
  color: var(--m-ink-2);
  padding-left: 0;
  margin: 0 0 16px;
  list-style: none;
}
.longform ul li,
.longform ol li {
  padding: 5px 0 5px 26px;
  position: relative;
}
.longform ul li::before {
  content: '';
  position: absolute;
  left: 4px; top: 14px;
  width: 8px; height: 1px;
  background: var(--m-accent);
}
.longform ol { counter-reset: lf-item; }
.longform ol li { counter-increment: lf-item; }
.longform ol li::before {
  content: counter(lf-item) ".";
  position: absolute;
  left: 0; top: 5px;
  font-family: var(--f-sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--m-accent);
  width: 22px;
}
.longform .category-card {
  background: #FBFAF5;
  border: 1px solid var(--m-line);
  border-radius: var(--r-md);
  padding: 20px 24px;
  margin: 12px 0;
}
.longform .category-card h4 {
  font-family: var(--f-serif);
  font-size: 19px;
  margin: 0 0 6px;
  color: var(--m-ink);
}
.longform .category-card p {
  font-size: 15px;
  margin: 0;
  color: var(--m-ink-2);
}
.longform .last-updated {
  font-family: var(--f-sans);
  font-size: 12.5px;
  color: var(--m-muted);
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px dashed var(--m-line-strong);
}
.longform .cross-links {
  margin-top: 64px;
  padding: 28px 32px;
  background: #FBFAF5;
  border: 1px solid var(--m-line);
  border-radius: var(--r-lg);
}
.longform .cross-links h4 {
  font-family: var(--f-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--m-accent);
  margin: 0 0 14px;
}
.longform .cross-links ul {
  margin: 0;
  font-size: 15px;
}
.longform .cross-links li { padding-left: 22px; }

/* --- .toc-list: anchor TOC at top of long pages --- */
.toc-list {
  background: white;
  border: 1px solid var(--m-line-strong);
  border-radius: var(--r-md);
  padding: 24px 28px 26px;
  margin: 0 0 48px;
}
.toc-list-label {
  font-family: var(--f-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--m-muted);
  margin-bottom: 14px;
  display: block;
}
.toc-list ol {
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--f-sans);
  counter-reset: toc-item;
}
.toc-list ol li {
  counter-increment: toc-item;
  padding: 6px 0 6px 30px;
  position: relative;
  font-size: 14.5px;
  line-height: 1.45;
}
.toc-list ol li::before {
  content: counter(toc-item, decimal-leading-zero);
  position: absolute;
  left: 0; top: 6px;
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--m-muted);
  font-weight: 500;
}
.toc-list a {
  color: var(--m-ink);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color var(--d-base) var(--e-out), color var(--d-base) var(--e-out);
}
.toc-list a:hover {
  color: var(--m-accent);
  border-bottom-color: var(--m-accent);
}

/* --- FAQ category labels + search (used on /faq full page) --- */
.faq-search {
  display: flex;
  align-items: center;
  gap: 12px;
  background: white;
  border: 1px solid var(--m-line-strong);
  border-radius: var(--r-md);
  padding: 12px 16px;
  margin: 0 0 32px;
  transition: border-color var(--d-base) var(--e-out);
}
.faq-search:focus-within { border-color: var(--m-accent); }
.faq-search svg { width: 18px; height: 18px; color: var(--m-muted); flex: 0 0 18px; }
.faq-search input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  font-family: var(--f-sans);
  font-size: 15px;
  color: var(--m-ink);
}
.faq-search input::placeholder { color: var(--m-muted); }
.faq-search-clear {
  font-family: var(--f-sans);
  font-size: 12px;
  color: var(--m-muted);
  background: none;
  border: 0;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: var(--r-sm);
  display: none;
}
.faq-search-clear:hover { color: var(--m-ink); background: #FBFAF5; }
.faq-search.has-query .faq-search-clear { display: inline-flex; }

.faq-category {
  margin: 0 0 36px;
}
.faq-category-head {
  font-family: var(--f-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--m-accent);
  padding: 0 0 14px;
  border-bottom: 1px solid var(--m-line);
  margin: 0 0 16px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.faq-category-head .faq-category-count {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--m-muted);
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}
.faq-empty {
  font-family: var(--f-serif);
  font-size: 17px;
  color: var(--m-muted);
  font-style: italic;
  text-align: center;
  padding: 36px 0;
  display: none;
}
.faq-empty.is-visible { display: block; }

/* --- mobile collapse for trust-deepening primitives --- */
@media (max-width: 1180px) {
  .longform { padding: 48px 24px 64px; }
  .longform .cross-links { padding: 22px 24px; }
  .toc-list { padding: 20px 22px 22px; }
}
@media (max-width: 720px) {
  .longform { padding: 40px 18px 56px; }
  .longform h2 { font-size: 26px; }
  .longform h3 { font-size: 19px; }
  .longform .tldr { padding: 18px 20px; }
  .toc-list ol li { font-size: 13.5px; }
  .faq-search { padding: 10px 14px; }
  .faq-category-head { font-size: 10.5px; }
}
