/* ParentPilot AI — shared static site styles (pink-pastel) */

:root {
  --pink: #F472B6;
  --pink-deep: #EC4899;
  --pink-soft: #FCE7F3;
  --bg: #FFF8FB;
  --surface: #FFFFFF;
  --text: #1F2937;
  --text-secondary: #6B7280;
  --mint: #BBF7D0;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 6px 24px rgba(236, 72, 153, 0.10);
  --shadow-soft: 0 2px 10px rgba(31, 41, 55, 0.06);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
}

a { color: var(--pink-deep); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---- Top nav ---- */
.site-nav {
  background: var(--surface);
  border-bottom: 1px solid var(--pink-soft);
  box-shadow: var(--shadow-soft);
  position: sticky;
  top: 0;
  z-index: 10;
}
.site-nav .nav-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 18px;
}
.site-nav .brand {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--pink-deep);
  margin-right: auto;
  letter-spacing: -0.01em;
}
.site-nav .brand .dot { color: var(--pink); }
.site-nav a.nav-link {
  color: var(--text-secondary);
  font-size: 0.93rem;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 999px;
}
.site-nav a.nav-link:hover {
  text-decoration: none;
  background: var(--pink-soft);
  color: var(--pink-deep);
}
.site-nav a.nav-link.active {
  background: var(--pink);
  color: #fff;
}

/* ---- Layout ---- */
main {
  max-width: 760px;
  margin: 0 auto;
  padding: 32px 20px 16px;
}

.card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px 36px;
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .card { padding: 24px 20px; }
  main { padding: 20px 14px 8px; }
  .cta-row .btn { flex: 1 1 auto; min-width: 0; }
}

/* ---- Typography ---- */
h1 {
  font-size: 1.9rem;
  line-height: 1.2;
  margin: 0 0 0.5rem;
  color: var(--text);
  letter-spacing: -0.02em;
}
h2 {
  font-size: 1.3rem;
  margin: 2rem 0 0.6rem;
  color: var(--pink-deep);
}
h3 {
  font-size: 1.08rem;
  margin: 1.5rem 0 0.4rem;
  color: var(--text);
}
p { margin: 0.6rem 0; }
ul { margin: 0.6rem 0; padding-left: 1.4rem; }
li { margin: 0.3rem 0; }
strong { color: var(--text); }
hr {
  border: none;
  border-top: 1px solid var(--pink-soft);
  margin: 2.2rem 0;
}

/* ---- Draft banner ---- */
.draft-banner {
  background: #FFF4E5;
  border: 1px solid #FBBF77;
  color: #92400E;
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0 0 1.4rem;
}

/* ---- Meta block (URL / contact / last updated) ---- */
.doc-meta {
  list-style: none;
  padding: 14px 18px;
  margin: 0 0 1rem;
  background: var(--pink-soft);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
}
.doc-meta li { margin: 0.2rem 0; }
.last-updated {
  color: var(--text-secondary);
  font-style: italic;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

/* ---- Language section divider ---- */
.lang-section { margin-top: 1rem; }
.lang-label {
  display: inline-block;
  background: var(--mint);
  color: #065F46;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 3px 12px;
  border-radius: 999px;
  margin-top: 0.5rem;
}

/* ---- Landing / index ---- */
main > .card + .card { margin-top: 20px; }

.hero {
  text-align: center;
  padding: 8px 0 4px;
}
.hero .positioning {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
  max-width: 560px;
  margin: 0.5rem auto 0;
}
.hero .logo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--pink), var(--pink-deep));
  color: #fff;
  font-size: 2rem;
  font-weight: 800;
  box-shadow: var(--shadow);
  margin-bottom: 14px;
}
.hero h1 { font-size: 2.2rem; }
.hero .tagline {
  color: var(--text-secondary);
  font-size: 1.08rem;
  max-width: 560px;
  margin: 0.5rem auto 0;
}
.hero .tagline { margin-top: 0.4rem; }
.not-medical {
  display: inline-block;
  margin-top: 14px;
  background: var(--pink-soft);
  color: var(--pink-deep);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 6px 14px;
  border-radius: 999px;
}

/* ---- CTA buttons ---- */
.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 22px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}
.btn:hover { text-decoration: none; }
.btn-primary {
  background: linear-gradient(135deg, var(--pink), var(--pink-deep));
  color: #fff;
  box-shadow: var(--shadow);
}
.btn-primary:not(.is-disabled):hover { transform: translateY(-2px); }
.btn-secondary {
  background: var(--surface);
  color: var(--pink-deep);
  border-color: var(--pink);
}
.btn-secondary:hover {
  background: var(--pink-soft);
  transform: translateY(-2px);
}
.btn.is-disabled,
.btn:disabled {
  cursor: default;
  opacity: 0.85;
  background: var(--pink-soft);
  color: var(--pink-deep);
  box-shadow: none;
  transform: none;
}
.btn:focus-visible {
  outline: 3px solid var(--pink);
  outline-offset: 2px;
}
.link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 28px;
}
.link-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--pink-soft);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.link-card:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: var(--pink);
}
.link-card .title {
  font-weight: 700;
  color: var(--text);
  font-size: 1.02rem;
}
.link-card .desc {
  color: var(--text-secondary);
  font-size: 0.88rem;
  margin-top: 4px;
}

/* ---- Feature cards ---- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 18px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--pink-soft);
  border-radius: var(--radius-sm);
  padding: 20px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
}
.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: var(--pink);
}
.feature-card .feature-icon {
  font-size: 1.7rem;
  line-height: 1;
  display: block;
  margin-bottom: 8px;
}
.feature-card h3 {
  margin: 0 0 0.3rem;
  font-size: 1.05rem;
  color: var(--text);
}
.feature-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

/* ---- Trust section ---- */
.trust-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}
.trust-list li {
  background: var(--pink-soft);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin: 0 0 10px;
  font-size: 0.95rem;
}
.trust-list li:last-child { margin-bottom: 0; }

/* ---- Waitlist ---- */
.waitlist { text-align: center; }
.waitlist .waitlist-subtitle {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0.4rem auto 0;
}
.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 420px;
  margin: 22px auto 0;
  text-align: left;
}
.waitlist-form .field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.waitlist-form label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
}
.waitlist-form label .optional {
  font-weight: 500;
  color: var(--text-secondary);
}
.waitlist-form input,
.waitlist-form select {
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--pink-soft);
  border: 1px solid var(--pink-soft);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  width: 100%;
}
.waitlist-form input:disabled,
.waitlist-form select:disabled {
  cursor: not-allowed;
  opacity: 0.8;
}
.waitlist-form input::placeholder { color: var(--text-secondary); }
.waitlist-form .btn { width: 100%; }
.waitlist-note {
  color: var(--text-secondary);
  font-size: 0.88rem;
  margin: 14px 0 0;
}
.waitlist-mailto { margin: 16px 0 0; }

/* ---- Footer ---- */
.site-footer {
  max-width: 760px;
  margin: 24px auto 0;
  padding: 24px 20px 40px;
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.88rem;
}
.site-footer a { color: var(--pink-deep); font-weight: 600; }
.site-footer .sep { margin: 0 8px; color: var(--pink); }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0 2px;
  margin-bottom: 8px;
}
.footer-meta { margin: 0; }
.footer-fineprint {
  margin: 0.6rem 0 0;
  color: var(--text-secondary);
  font-size: 0.82rem;
}

/* ---- SEO landing redesign (2026-06-02) ---- */

/* Skip link — visible only on keyboard focus */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--pink-deep);
  color: #fff;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; text-decoration: none; }

/* Generic visible focus for links (buttons already covered above) */
a:focus-visible {
  outline: 3px solid var(--pink);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Small uppercase section label */
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--pink-deep);
  margin: 0 0 0.3rem;
}

/* Hero app-icon image (replaces the letter badge) */
.hero-art {
  display: block;
  width: 96px;
  height: 96px;
  border-radius: 24px;
  margin: 0 auto 14px;
  box-shadow: var(--shadow);
}

/* Lead paragraph for the problem / solution sections */
.lead {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 62ch;
  margin: 0.4rem 0 0;
}

/* How-it-works steps */
.steps {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 14px;
}
.steps li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--pink-soft);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  box-shadow: var(--shadow-soft);
}
.steps .step-num {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), var(--pink-deep));
  color: #fff;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.steps h3 { margin: 0 0 0.2rem; font-size: 1.02rem; color: var(--text); }
.steps p { margin: 0; color: var(--text-secondary); font-size: 0.92rem; }

/* ============================================================
   SEO Content Hub — shared design system (2026-06-02)
   Used by: blog.html, activities.html, guides.html, stories.html,
   and blog/*.html articles. System fonts only; no external assets.
   ============================================================ */

/* Breadcrumb */
.breadcrumb {
  max-width: 760px;
  margin: 16px auto 0;
  padding: 0 20px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.breadcrumb a { color: var(--pink-deep); font-weight: 600; }
.breadcrumb .sep { margin: 0 6px; color: var(--pink); }

/* Page hero (content pages — distinct from index .hero) */
.page-hero {
  text-align: center;
  padding: 8px 0 4px;
}
.page-hero h1 { font-size: 2rem; }
.page-hero .page-hero-sub {
  color: var(--text-secondary);
  font-size: 1.08rem;
  max-width: 600px;
  margin: 0.5rem auto 0;
}

/* Category chips */
.category-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.chip {
  display: inline-block;
  background: var(--pink-soft);
  color: var(--pink-deep);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 6px 14px;
  border-radius: 999px;
}
.chip.is-active { background: var(--pink); color: #fff; }
a.chip:hover { text-decoration: none; background: var(--pink); color: #fff; }

/* Content card grid (articles, guides, stories) */
.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 20px;
}
.article-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--pink-soft);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
}
.article-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--pink); }
.article-card .card-cat {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--pink-deep);
}
.article-card h3 { margin: 0.4rem 0 0.3rem; font-size: 1.1rem; color: var(--text); }
.article-card p { margin: 0; font-size: 0.92rem; color: var(--text-secondary); flex: 1 1 auto; }
.article-card .read-more {
  margin-top: 12px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--pink-deep);
}
.article-card a.card-link { color: inherit; }
.article-card a.card-link:hover { text-decoration: none; }

/* Featured card (large, single) */
.featured-card {
  display: block;
  background: linear-gradient(135deg, var(--secondarySurface, #F0FFF6), var(--pink-soft));
  border: 1px solid var(--pink-soft);
  border-radius: var(--radius);
  padding: 28px 30px;
  box-shadow: var(--shadow);
  margin-top: 20px;
}
.featured-card:hover { text-decoration: none; transform: translateY(-2px); }
.featured-card .card-cat {
  text-transform: uppercase; letter-spacing: 0.06em;
  font-size: 0.74rem; font-weight: 800; color: var(--pink-deep);
}
.featured-card h2 { margin: 0.4rem 0 0.4rem; color: var(--text); }
.featured-card p { margin: 0; color: var(--text-secondary); }

/* Article (prose) layout */
.article-body { max-width: 720px; }
.article-body h2 { color: var(--pink-deep); font-size: 1.35rem; margin-top: 1.8rem; }
.article-body h3 { font-size: 1.1rem; margin-top: 1.3rem; }
.article-body p, .article-body li { font-size: 1.02rem; line-height: 1.7; }
.article-meta {
  color: var(--text-secondary);
  font-size: 0.88rem;
  margin: 0.2rem 0 1rem;
}

/* Callout box */
.callout {
  background: var(--pink-soft);
  border-left: 4px solid var(--pink);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin: 1.4rem 0;
}
.callout strong { color: var(--pink-deep); }

/* Safety note (non-medical) */
.safety-note {
  background: #FEF3C7;
  border: 1px solid #FCD34D;
  color: #92400E;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.92rem;
  margin: 1.4rem 0;
}

/* Materials list */
.materials-list {
  list-style: none;
  padding: 0;
  margin: 0.6rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.materials-list li {
  background: var(--pink-soft);
  color: var(--text);
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 0.88rem;
  margin: 0;
}

/* Age cards (activities + guides) */
.age-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 20px;
}
.age-card {
  background: var(--surface);
  border: 1px solid var(--pink-soft);
  border-radius: var(--radius-sm);
  padding: 22px;
  box-shadow: var(--shadow-soft);
}
.age-card .age-band {
  display: inline-block;
  background: var(--mint);
  color: #065F46;
  font-weight: 800;
  font-size: 0.82rem;
  padding: 4px 12px;
  border-radius: 999px;
}
.age-card h3 { margin: 0.6rem 0 0.3rem; font-size: 1.08rem; }
.age-card p { margin: 0.3rem 0; font-size: 0.92rem; color: var(--text-secondary); }
.age-card .age-meta { font-size: 0.85rem; color: var(--text-secondary); margin-top: 0.4rem; }
.age-card .age-link { display: inline-block; margin-top: 10px; font-weight: 700; font-size: 0.9rem; }

/* Related links */
.related-links { margin-top: 2rem; }
.related-links h2 { font-size: 1.2rem; }
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 10px;
}
.related-grid a {
  display: block;
  background: var(--surface);
  border: 1px solid var(--pink-soft);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-weight: 600;
  color: var(--text);
  box-shadow: var(--shadow-soft);
}
.related-grid a:hover { text-decoration: none; border-color: var(--pink); transform: translateY(-2px); }

/* CTA panel (soft waitlist) */
.cta-panel {
  text-align: center;
  background: linear-gradient(135deg, var(--pink-soft), #FFF6FA);
  border: 1px solid var(--pink-soft);
  border-radius: var(--radius);
  padding: 28px 26px;
  margin-top: 24px;
}
.cta-panel h2 { color: var(--text); margin-top: 0; }
.cta-panel p { color: var(--text-secondary); max-width: 540px; margin: 0.4rem auto 0; }
.cta-panel .cta-row { margin-top: 18px; }

@media (max-width: 600px) {
  .page-hero h1 { font-size: 1.7rem; }
  .article-body p, .article-body li { font-size: 1rem; }
}

/* ============================================================
   Visual richness — local SVG illustrations (2026-06-02)
   Lightweight, no external refs; sized to avoid layout shift.
   ============================================================ */

/* Hero illustration beside/under hero copy */
.hero-illustration {
  display: block;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 400 / 260;
  height: auto;
  margin: 18px auto 0;
  border-radius: var(--radius);
}

/* Article/hub card cover image (top of card) */
.card-cover {
  display: block;
  width: 100%;
  aspect-ratio: 400 / 260;
  height: auto;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  background: var(--pink-soft);
}
.article-card .card-cover { margin: -2px 0 12px; }

/* Featured card cover (wider) */
.featured-card .card-cover { max-width: 320px; }

/* Small illustration inside feature / step cards */
.spot-illus {
  display: block;
  width: 64px;
  height: 64px;
  aspect-ratio: 1 / 1;
  margin-bottom: 8px;
}
.steps .spot-illus { width: 48px; height: 48px; }

/* Article hero cover (blog posts) */
.article-cover {
  display: block;
  width: 100%;
  max-width: 640px;
  aspect-ratio: 400 / 260;
  height: auto;
  border-radius: var(--radius);
  margin: 0 0 18px;
  background: var(--pink-soft);
}

/* Visual callout: illustration + text side-by-side (trust / safety) */
.visual-callout {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
  background: linear-gradient(135deg, var(--pink-soft), #FFF6FA);
  border: 1px solid var(--pink-soft);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin-top: 18px;
}
.visual-callout img {
  width: 120px;
  height: auto;
  aspect-ratio: 400 / 260;
  flex: 0 0 auto;
}
.visual-callout .vc-body { flex: 1 1 220px; }
.visual-callout .vc-body p { margin: 0.2rem 0 0; color: var(--text-secondary); }

/* Age-card cover illustration */
.age-card .card-cover { margin-bottom: 10px; }

@media (max-width: 600px) {
  .visual-callout { flex-direction: column; text-align: center; }
  .visual-callout img { width: 140px; }
}

/* ============================================================
   Lifestyle photo polish (2026-06-02)
   Photos (WebP) reuse the existing illustration slot boxes; cover-fit
   crops them cleanly to the box ratio so there's no distortion and no
   layout shift. Effects kept subtle to stay premium, not heavy.
   ============================================================ */
.hero-illustration,
.article-cover,
.card-cover {
  object-fit: cover;
  object-position: center;
}
.hero-illustration,
.article-cover {
  box-shadow: var(--shadow-soft);
}
/* slightly larger, more editorial hero photo on wider screens */
@media (min-width: 720px) {
  .page-hero .hero-illustration,
  .hero .hero-illustration { max-width: 560px; }
}

/* ============================================================
   Unified responsive nav (2026-06-02) — brand row + pill links.
   Desktop: brand left, pills right (one clean row).
   Mobile: brand on top, pills in a horizontally scrollable row
   (no hamburger, no JS), 44px tap targets, hidden scrollbar.
   ============================================================ */
.site-nav .nav-inner { flex-wrap: nowrap; }
.site-nav a.brand { margin-right: auto; text-decoration: none; }
.site-nav a.brand:hover { text-decoration: none; }
.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 8px;
  min-width: 0;
}

@media (max-width: 640px) {
  .site-nav .nav-inner {
    flex-direction: column;
    align-items: stretch;
    flex-wrap: nowrap;
    gap: 8px;
    padding: 10px 12px;
  }
  .site-nav a.brand { margin-right: 0; }
  .nav-links {
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 8px;
    margin: 0 -12px;          /* bleed to edges so pills can scroll fully */
    padding: 2px 12px 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;     /* Firefox: hide scrollbar */
    scroll-snap-type: x proximity;
  }
  .nav-links::-webkit-scrollbar { display: none; }   /* WebKit: hide scrollbar */
  .site-nav a.nav-link {
    white-space: nowrap;
    flex: 0 0 auto;
    padding: 10px 14px;
    min-height: 44px;          /* touch-friendly tap target */
    display: inline-flex;
    align-items: center;
    scroll-snap-align: start;
  }
}

/* ============================================================
   Blog article UX template (2026-06-02) — card-based, scannable.
   ============================================================ */
.quick-summary {
  background: linear-gradient(135deg, var(--pink-soft), #FFF6FA);
  border: 1px solid var(--pink-soft);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin: 0 0 1.4rem;
}
.quick-summary h2 { margin: 0 0 0.4rem; font-size: 1.05rem; color: var(--pink-deep); }
.quick-summary ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.quick-summary li { display: flex; gap: 10px; align-items: baseline; font-size: 0.95rem; }
.quick-summary .qs-key { font-weight: 700; color: var(--pink-deep); flex: 0 0 92px; }

/* Activity overview mini-cards */
.activity-overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin: 1rem 0 1.6rem;
}
.activity-overview-grid .ov-card {
  background: var(--surface);
  border: 1px solid var(--pink-soft);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  box-shadow: var(--shadow-soft);
}
.ov-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), var(--pink-deep));
  color: #fff; font-weight: 800; font-size: 0.82rem;
}
.activity-overview-grid h3 { font-size: 0.96rem; margin: 0.5rem 0 0.2rem; }
.activity-overview-grid p { margin: 0; font-size: 0.84rem; color: var(--text-secondary); }

/* Per-activity guide card */
.activity-guide-card {
  background: var(--surface);
  border: 1px solid var(--pink-soft);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin: 0 0 16px;
  box-shadow: var(--shadow-soft);
}
.activity-guide-card > h3 {
  margin: 0 0 0.5rem; font-size: 1.15rem; color: var(--text);
  display: flex; align-items: center; gap: 10px;
}
.activity-guide-card .ag-num {
  flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), var(--pink-deep));
  color: #fff; font-weight: 800; font-size: 0.9rem;
  display: inline-flex; align-items: center; justify-content: center;
}
.activity-meta-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 0.7rem; }
.meta-pill {
  background: var(--pink-soft); color: var(--pink-deep);
  font-weight: 600; font-size: 0.8rem; padding: 4px 12px; border-radius: 999px;
}
.material-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0.5rem 0 0.8rem; list-style: none; padding: 0; }
.material-chip { background: var(--mint); color: #065F46; font-size: 0.82rem; padding: 4px 12px; border-radius: 999px; margin: 0; }
.parent-tip-callout {
  background: var(--pink-soft); border-left: 4px solid var(--pink);
  border-radius: var(--radius-sm); padding: 12px 16px; margin: 0.8rem 0; font-size: 0.92rem;
}
.parent-tip-callout strong { color: var(--pink-deep); }
.support-note { font-size: 0.92rem; color: var(--text-secondary); margin: 0.6rem 0 0; }
.support-note strong { color: var(--text); }

/* Strong article CTA panel */
.article-cta-panel {
  text-align: center;
  background: linear-gradient(135deg, var(--pink), var(--pink-deep));
  color: #fff;
  border-radius: var(--radius);
  padding: 26px 24px;
  margin: 24px 0;
}
.article-cta-panel h2 { color: #fff; margin: 0 0 0.3rem; font-size: 1.2rem; }
.article-cta-panel p { color: #fff; opacity: 0.96; margin: 0 0 14px; }
.article-cta-panel .btn-on-pink {
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff; color: var(--pink-deep); font-weight: 700;
  padding: 12px 24px; border-radius: var(--radius); text-decoration: none;
  min-height: 44px;
}
.article-cta-panel .btn-on-pink:hover { text-decoration: none; transform: translateY(-2px); }
.article-cta-panel .btn-on-pink:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }

/* Visual related-reading cards */
.related-card-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px; margin-top: 12px;
}
.related-card {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--pink-soft);
  border-radius: var(--radius-sm); padding: 14px; box-shadow: var(--shadow-soft);
  color: var(--text);
}
.related-card:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--pink); }
.related-card img { width: 100%; aspect-ratio: 400 / 260; height: auto; border-radius: 8px; margin-bottom: 8px; background: var(--pink-soft); }
.related-card .rc-title { font-weight: 700; font-size: 0.95rem; line-height: 1.35; }

/* ============================================================
   Pre-production UX polish (2026-06-02)
   Featured-card two-column, edge-to-edge grid/age covers, scan chips.
   Append-only: later rules intentionally override earlier ones.
   ============================================================ */

/* Featured blog card → premium two-column on desktop, stacked on mobile */
.featured-card {
  padding: 0;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.featured-card .card-cover {
  max-width: none;
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 0;
  margin: 0;
}
.featured-card .fc-body { padding: 22px 24px 26px; }
@media (min-width: 760px) {
  .featured-card { grid-template-columns: 5fr 6fr; align-items: stretch; }
  .featured-card .card-cover { aspect-ratio: auto; height: 100%; min-height: 300px; }
  .featured-card .fc-body { align-self: center; padding: 30px 32px; }
}

/* Grid article-card covers span the full card width (edge-to-edge top) */
.article-card { overflow: hidden; }
.article-card .card-cover {
  width: calc(100% + 44px);
  max-width: calc(100% + 44px);
  margin: -20px -22px 14px;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

/* Age-card covers edge-to-edge; meta chips reuse .activity-meta-row/.meta-pill */
.age-card { overflow: hidden; }
.age-card .card-cover {
  width: calc(100% + 44px);
  max-width: calc(100% + 44px);
  margin: -22px -22px 14px;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}
.age-card .activity-meta-row { margin: 2px 0 8px; }

/* "How to use" helper block (guides) */
.how-to-use {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 16px;
}
.how-to-use .htu-item {
  background: var(--surface);
  border: 1px solid var(--pink-soft);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  box-shadow: var(--shadow-soft);
}
.how-to-use .htu-item h3 { margin: 0 0 0.3rem; font-size: 1rem; color: var(--pink-deep); }
.how-to-use .htu-item p { margin: 0; font-size: 0.92rem; color: var(--text-secondary); }

/* Simple inline EN | VI language switch in the nav */
.lang-switch { display: inline-flex; align-items: center; gap: 6px; margin-left: 10px; font-size: 0.85rem; }
.lang-switch a { color: var(--text-secondary); font-weight: 700; padding: 4px 6px; border-radius: 8px; }
.lang-switch a.active { color: var(--pink-deep); background: var(--pink-soft); }
.lang-switch .sep { color: var(--pink); }
@media (max-width: 640px) { .lang-switch { margin-left: 6px; } }
