/* Music4Kids — playful look & feel. Hand-written, no framework. */

:root {
  --blue: #4db8ff;
  --purple: #9b51e0;
  --pink: #ff6b6b;
  --yellow: #ffd166;
  --green: #06d6a0;
  --bg: #fafafa;
  --ink: #1f2937;
  --ink-soft: #4b5563;
  --ink-mute: #6b7280;
  --line: #e5e7eb;
  --line-soft: #f3f4f6;
  --dark: #111827;
  --font-display: 'Fredoka', system-ui, sans-serif;
  --font-body: 'Nunito', system-ui, sans-serif;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
[hidden] { display: none !important; }
img, svg, iframe, video { max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.2; margin: 0; }
p { margin: 0 0 1em; }

.container { max-width: 80rem; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 640px) { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--yellow); padding: .5rem 1rem; z-index: 100; border-radius: 0 0 .75rem 0; }
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 2px; }

/* ---------- Navigation ---------- */
.site-nav { background: #fff; box-shadow: var(--shadow-sm); position: sticky; top: 0; z-index: 50; }
.nav-inner { display: flex; justify-content: space-between; align-items: center; height: 5rem; }
.brand { display: flex; align-items: center; gap: .5rem; text-decoration: none; }
.brand-note { font-size: 2.25rem; color: var(--pink); line-height: 1; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: var(--purple); letter-spacing: .025em; }
.nav-links { display: none; align-items: center; gap: 2rem; font-family: var(--font-display); font-size: 1.125rem; }
.nav-links a { color: var(--ink-soft); text-decoration: none; transition: color .2s; }
.nav-links a:nth-child(1):hover { color: var(--pink); }
.nav-links a:nth-child(2):hover { color: var(--blue); }
.nav-links a:nth-child(3):hover { color: var(--green); }
.nav-links a:nth-child(4):hover { color: var(--purple); }
.nav-links a[aria-current='page'] { color: var(--purple); font-weight: 600; }
.nav-links a.btn-join, .mobile-menu a.btn-join { background: var(--yellow); color: #111827; padding: .5rem 1.5rem; border-radius: 999px; font-weight: 600; box-shadow: var(--shadow-md); transition: all .2s; }
.nav-links a.btn-join:hover { background: #fde047; color: #111827; box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.menu-toggle { display: flex; background: none; border: 0; font-size: 1.875rem; line-height: 1; color: var(--ink-soft); cursor: pointer; padding: .25rem .5rem; }
.menu-toggle:hover { color: var(--purple); }
.mobile-menu { display: none; border-top: 1px solid var(--line-soft); background: #fff; padding: 1rem 1rem 1.5rem; font-family: var(--font-display); font-size: 1.25rem; }
.mobile-menu.open { display: grid; gap: .25rem; }
.mobile-menu a { display: block; padding: .6rem .5rem; text-decoration: none; color: var(--ink-soft); border-radius: .75rem; }
.mobile-menu a:hover { background: var(--bg); color: var(--purple); }
.mobile-menu a.btn-join { text-align: center; margin-top: .5rem; color: #111827; }
@media (min-width: 768px) {
  .nav-links { display: flex; }
  .menu-toggle, .mobile-menu, .mobile-menu.open { display: none; }
}

/* ---------- Buttons & badges ---------- */
.btn-3d {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--yellow); color: #111827; text-decoration: none;
  font-family: var(--font-display); font-weight: 700; font-size: 1.25rem;
  padding: 1rem 2.5rem; border-radius: 999px;
  box-shadow: 0 8px 0 #d4af37; transition: all .2s; border: 0; cursor: pointer;
}
.btn-3d:hover { box-shadow: 0 4px 0 #d4af37; transform: translateY(4px); }
.btn-solid {
  display: inline-block; background: var(--purple); color: #fff; text-decoration: none;
  font-family: var(--font-display); font-weight: 600; padding: .75rem 1.75rem; border-radius: 999px;
  box-shadow: var(--shadow-md); transition: all .2s; border: 0; cursor: pointer; font-size: 1.05rem;
}
.btn-solid:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); background: #8a3fd1; }
.btn-solid.pink { background: var(--pink); }
.btn-solid.pink:hover { background: #f25555; }
.btn-solid.green { background: var(--green); color: #053b2f; }
.btn-solid.green:hover { background: #05c294; }
.btn-solid.yellow { background: var(--yellow); color: #111827; }
.btn-solid.yellow:hover { background: #fde047; }
.pill {
  display: inline-block; font-family: var(--font-display); font-weight: 700; font-size: .75rem;
  text-transform: uppercase; letter-spacing: .05em; padding: .25rem .75rem; border-radius: 999px;
}
.pill.blue { background: #dbeafe; color: #1d4ed8; }
.pill.pink { background: #fce7f3; color: #be185d; }
.pill.green { background: #d1fae5; color: #047857; }
.pill.purple { background: #f3e8ff; color: #7e22ce; }
.badge-glass {
  display: inline-block; background: rgba(255, 255, 255, .2); color: #fff; font-weight: 600;
  padding: .25rem 1rem; border-radius: 999px; font-size: .875rem; text-transform: uppercase;
  letter-spacing: .05em; border: 1px solid rgba(255, 255, 255, .3); backdrop-filter: blur(4px); text-decoration: none;
}
.music-note { display: inline-block; transition: transform .3s ease; cursor: pointer; }
.music-note:hover { transform: scale(1.3) rotate(15deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--purple), var(--pink));
}
.hero-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 6rem; padding-bottom: 8rem; }
.hero h1 { font-size: 3rem; font-weight: 700; line-height: 1.1; max-width: 56rem; margin: 1.5rem 0; text-shadow: 0 2px 8px rgba(0,0,0,.12); }
.hero .lead { font-size: 1.25rem; font-weight: 300; max-width: 42rem; margin: 0 0 2.5rem; color: rgba(255, 255, 255, .92); }
.hero .deco { position: absolute; opacity: .2; animation: float 3s ease-in-out infinite; pointer-events: none; }
.hero .deco.a { top: 2.5rem; left: 2.5rem; font-size: 3rem; }
.hero .deco.b { bottom: 5rem; right: 5rem; font-size: 3.75rem; animation-delay: 1s; }
.hero .deco.c { top: 10rem; right: 2.5rem; font-size: 2.25rem; animation-delay: 2s; }
.hero .wave { position: absolute; bottom: 0; left: 0; width: 100%; height: 5rem; color: var(--bg); display: block; }
@media (min-width: 768px) {
  .hero h1 { font-size: 4.5rem; }
  .hero .lead { font-size: 1.5rem; }
  .hero-inner { padding-top: 8rem; padding-bottom: 10rem; }
}
.hero.compact .hero-inner { padding-top: 3.5rem; padding-bottom: 6rem; }
.hero.compact h1 { font-size: 2.25rem; margin: 1rem 0 .5rem; max-width: 52rem; }
.hero.compact .lead { font-size: 1.125rem; margin: 0; }
@media (min-width: 768px) { .hero.compact h1 { font-size: 3rem; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }

/* ---------- Sections ---------- */
.section { padding: 5rem 0; }
.section.white { background: #fff; }
.section-head { text-align: center; margin-bottom: 3rem; }
.section-head h2 { font-size: 2.25rem; font-weight: 700; color: var(--ink); margin-bottom: 1rem; }
.section-head p { font-size: 1.125rem; color: var(--ink-soft); max-width: 42rem; margin: 0 auto; }
@media (min-width: 768px) { .section-head h2 { font-size: 3rem; } }
.split { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .split { grid-template-columns: 1fr 1fr; gap: 4rem; } .split.flip > :first-child { order: 2; } }
.eyebrow { display: inline-block; font-family: var(--font-display); font-weight: 700; padding: .5rem 1rem; border-radius: 999px; margin-bottom: 1rem; }
.eyebrow.green { background: rgba(6, 214, 160, .2); color: #065f46; }
.eyebrow.pink { background: rgba(255, 107, 107, .15); color: #b91c1c; }
.eyebrow.yellow { background: rgba(255, 209, 102, .35); color: #854d0e; }
.big-title { font-size: 2.25rem; font-weight: 700; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .big-title { font-size: 3rem; } }
.big-title .accent { color: var(--purple); }
.copy { font-size: 1.125rem; color: var(--ink-soft); line-height: 1.75; }
.photo { border-radius: 1.5rem; overflow: hidden; box-shadow: var(--shadow-xl); border: 4px solid #fff; background: var(--line-soft); }
.photo img { display: block; width: 100%; }

/* ---------- Cards ---------- */
.card { background: #fff; border-radius: 1.5rem; padding: 1.5rem; box-shadow: var(--shadow-sm); border: 1px solid var(--line-soft); transition: transform .3s, box-shadow .3s; }
.card-hover:hover { transform: translateY(-5px); box-shadow: var(--shadow-xl); }
.grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .grid.cols-2, .grid.cols-3, .grid.cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid.cols-3 { grid-template-columns: repeat(3, 1fr); } .grid.cols-4 { grid-template-columns: repeat(4, 1fr); } }

/* post / resource cards */
.post-card { display: flex; flex-direction: column; padding: 1rem 1rem 1.5rem; text-decoration: none; color: inherit; }
.post-card .thumb { aspect-ratio: 16 / 10; border-radius: 1rem; overflow: hidden; background: linear-gradient(135deg, var(--blue), var(--purple)); margin-bottom: 1.25rem; display: grid; place-items: center; font-size: 3.5rem; }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-card h3 { font-size: 1.35rem; font-weight: 700; color: var(--ink); margin-bottom: .5rem; padding: 0 .5rem; }
.post-card .excerpt { color: var(--ink-soft); font-size: .975rem; padding: 0 .5rem; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 1rem; }
.post-card .more { color: var(--pink); font-weight: 800; padding: 0 .5rem; margin-top: auto; }
.post-card:hover .more { text-decoration: underline; }
.post-card:hover h3 { color: var(--purple); }

.resource-card { display: flex; flex-direction: column; padding: 1.5rem; transition: all .3s; }
.resource-card .art { height: 12rem; border-radius: 1rem; margin-bottom: 1.5rem; overflow: hidden; display: grid; place-items: center; font-size: 4rem; background: var(--line-soft); }
.resource-card .art img { width: 100%; height: 100%; object-fit: cover; }
.resource-card .pill { align-self: flex-start; margin-bottom: .75rem; }
.resource-card h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: .5rem; }
.resource-card p { color: var(--ink-soft); margin-bottom: 1rem; flex: 1; }
.resource-card .foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; border-top: 1px solid var(--line-soft); padding-top: 1rem; margin-top: auto; }
.resource-card .tag { font-weight: 600; color: var(--purple); background: #faf5ff; padding: .15rem .6rem; border-radius: .5rem; font-size: .9rem; }
.resource-card .go { color: var(--pink); font-weight: 800; text-decoration: none; }
.resource-card .go:hover { text-decoration: underline; }
.resource-card[hidden] { display: none; }

/* tabs */
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-bottom: 3rem; }
.tab-btn { font-family: var(--font-display); font-weight: 600; font-size: 1rem; padding: .75rem 1.5rem; border-radius: 999px; border: 0; background: var(--line); color: var(--ink-soft); cursor: pointer; transition: all .2s; }
.tab-btn:hover { background: #d1d5db; }
.tab-btn.active { background: var(--purple); color: #fff; box-shadow: var(--shadow-md); }

/* ---------- Feature (free sheet music) ---------- */
.feature-cover { position: relative; max-width: 26rem; margin: 0 auto; }
.feature-cover img { display: block; width: 100%; border-radius: 1.5rem; box-shadow: var(--shadow-xl); border: 4px solid #fff; }
.feature-cover .ribbon { position: absolute; top: -1rem; right: -1rem; transform: rotate(8deg); background: var(--pink); color: #fff; font-family: var(--font-display); font-weight: 700; padding: .5rem 1.1rem; border-radius: 999px; box-shadow: var(--shadow-lg); }
.panel { background: #fff; border-radius: 1.5rem; padding: 1.75rem; box-shadow: var(--shadow-md); border: 1px solid var(--line-soft); }
.panel + .panel { margin-top: 1.5rem; }
.panel h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 1rem; }
.panel audio { width: 100%; }

/* ---------- CTA banner ---------- */
.cta-banner { background: linear-gradient(135deg, var(--yellow), var(--pink)); text-align: center; padding: 4rem 0; position: relative; overflow: hidden; }
.cta-banner h2 { font-size: 2rem; font-weight: 700; color: #111827; }
.cta-banner p { font-family: var(--font-display); font-size: 1.35rem; color: #1f2937; margin: .75rem auto 1.75rem; max-width: 40rem; }
@media (min-width: 768px) { .cta-banner h2 { font-size: 2.75rem; } }

/* ---------- Colored band ---------- */
.band { background: linear-gradient(135deg, var(--purple), var(--blue)); color: #fff; }
.band .copy { color: rgba(255, 255, 255, .92); }
.band .big-title { color: #fff; }
.band .photo { border-color: rgba(255, 255, 255, .9); }

/* ---------- About (dark) ---------- */
.dark-section { position: relative; overflow: hidden; background: var(--dark); color: #fff; padding: 6rem 0; }
.vinyl { position: absolute; border-radius: 50%; background: #1f2937; border: 20px solid #030712; display: grid; place-items: center; opacity: .5; }
.vinyl .label { border-radius: 50%; display: grid; place-items: center; }
.vinyl .label::after { content: ''; width: 25%; height: 25%; background: #030712; border-radius: 50%; }
.vinyl.one { right: -8rem; top: -8rem; width: 24rem; height: 24rem; animation: spin 10s linear infinite; }
.vinyl.one .label { width: 8rem; height: 8rem; background: var(--pink); }
.vinyl.two { left: -8rem; bottom: -8rem; width: 20rem; height: 20rem; border-width: 16px; animation: spin 8s linear infinite reverse; }
.vinyl.two .label { width: 6rem; height: 6rem; background: var(--yellow); }
.dark-inner { position: relative; z-index: 1; max-width: 56rem; margin: 0 auto; text-align: center; }
.dark-inner h2 { font-size: 2.25rem; font-weight: 700; color: var(--yellow); margin-bottom: 2rem; }
@media (min-width: 768px) { .dark-inner h2 { font-size: 3rem; } }
.dark-inner .body { font-size: 1.15rem; color: #d1d5db; font-weight: 300; }
.dark-inner blockquote { font-family: var(--font-display); font-size: 1.5rem; color: #fff; font-weight: 500; font-style: italic; border-left: 4px solid var(--pink); padding-left: 1.5rem; text-align: left; margin: 2rem 0; }
.dark-inner strong { color: var(--blue); }
.dark-inner .notes { margin-top: 3rem; display: flex; justify-content: center; gap: 1.5rem; font-size: 2.25rem; }

/* ---------- Page layout (posts / pages) ---------- */
.content-wrap { padding: 2rem 0 4rem; margin-top: -2.5rem; position: relative; z-index: 2; }
.content-grid { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 1024px) { .content-grid.has-sidebar { grid-template-columns: minmax(0, 1fr) 21rem; } }
.article { background: #fff; border-radius: 1.5rem; padding: 1.5rem; box-shadow: var(--shadow-md); border: 1px solid var(--line-soft); min-width: 0; }
@media (min-width: 768px) { .article { padding: 2.5rem; } }
.content-grid:not(.has-sidebar) .article { max-width: 52rem; margin: 0 auto; width: 100%; }
.featured { margin: 0 0 2rem; }
.featured img { display: block; width: 100%; border-radius: 1.25rem; box-shadow: var(--shadow-lg); }
.post-meta { margin-top: .5rem; font-size: .95rem; opacity: .9; }
.sidebar { position: sticky; top: 6.5rem; }

/* newsletter */
.newsletter { background: linear-gradient(160deg, var(--blue), var(--purple)); color: #fff; border-radius: 1.5rem; padding: 1.75rem; box-shadow: var(--shadow-lg); }
.newsletter h2 { font-size: 1.5rem; font-weight: 700; color: var(--yellow); margin-bottom: .75rem; }
.newsletter h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 700; margin: 0 0 .75rem; }
.newsletter ul { list-style: none; padding: 0; margin: 0 0 1rem; }
.newsletter li { padding-left: 1.75rem; position: relative; margin-bottom: .35rem; }
.newsletter li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 800; background: #fff; width: 1.2rem; height: 1.2rem; border-radius: 50%; display: grid; place-items: center; font-size: .75rem; top: .2rem; }
.signup { display: grid; gap: .75rem; }
.signup input { font: inherit; width: 100%; padding: .8rem 1rem; border-radius: 1rem; border: 2px solid transparent; background: #fff; color: var(--ink); }
.signup input:focus { outline: none; border-color: var(--yellow); }
.signup button { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; padding: .85rem 1rem; border-radius: 999px; border: 0; background: var(--green); color: #053b2f; cursor: pointer; box-shadow: 0 5px 0 #04a97f; transition: all .15s; }
.signup button:hover { transform: translateY(2px); box-shadow: 0 3px 0 #04a97f; }
.signup .note { font-size: .8rem; opacity: .85; text-align: center; }
.signup-status { margin: .5rem 0 0; font-weight: 700; font-size: .9rem; }
.panel .signup input { background: var(--bg); border-color: var(--line); }
.panel .signup input:focus { border-color: var(--purple); }
.inline-signup { background: linear-gradient(160deg, var(--blue), var(--purple)); border-radius: 1.5rem; padding: 1.5rem; margin: 2rem 0; color: #fff; }

/* share row */
.share { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 2px dashed var(--line); font-family: var(--font-display); }
.share a { text-decoration: none; font-weight: 600; padding: .4rem 1.1rem; border-radius: 999px; transition: all .2s; }
.share .fb { background: #dbeafe; color: #2563eb; }
.share .fb:hover { background: #2563eb; color: #fff; }
.share .pin { background: #fee2e2; color: #dc2626; }
.share .pin:hover { background: #dc2626; color: #fff; }

/* related */
.related { padding: 0 0 5rem; }
.related h2 { font-size: 2rem; text-align: center; margin-bottom: 2rem; }

/* blog search */
.search { max-width: 28rem; margin: 0 auto 3rem; position: relative; }
.search input { width: 100%; font: inherit; padding: .9rem 1.25rem .9rem 3rem; border-radius: 999px; border: 2px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); }
.search input:focus { outline: none; border-color: var(--purple); }
.search::before { content: '🔍'; position: absolute; left: 1.1rem; top: 50%; transform: translateY(-50%); }
.empty { text-align: center; color: var(--ink-mute); display: none; }

/* ---------- Prose (migrated WordPress content) ---------- */
.prose { font-size: 1.0625rem; line-height: 1.8; color: #374151; overflow-wrap: break-word; }
.prose > :first-child { margin-top: 0; }
.prose h1, .prose h2, .prose h3, .prose h4, .prose h5 { color: var(--ink); font-weight: 700; margin: 2.2em 0 .6em; scroll-margin-top: 6rem; }
.prose h2 { font-size: 1.9rem; }
.prose h3 { font-size: 1.5rem; }
.prose h4 { font-size: 1.2rem; }
.prose h2 + h3, .prose h3 + h4 { margin-top: 1em; }
.prose p, .prose ul, .prose ol, .prose blockquote, .prose .table-wrap { margin: 0 0 1.25em; }
.prose a { color: var(--purple); font-weight: 700; text-decoration: underline; text-decoration-color: rgba(155, 81, 224, .35); text-underline-offset: 3px; transition: color .15s; }
.prose a:hover { color: var(--pink); text-decoration-color: currentColor; }
.prose ul, .prose ol { padding-left: 1.5rem; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--pink); font-weight: 700; }
.prose strong, .prose b { color: var(--ink); }
.prose img { border-radius: 1rem; height: auto; }
.prose hr { border: 0; border-top: 2px dashed var(--line); margin: 2.5rem 0; }
.prose blockquote { border-left: 4px solid var(--pink); padding: .5rem 0 .5rem 1.25rem; font-family: var(--font-display); font-size: 1.2rem; font-style: italic; color: var(--ink); background: #fff7f7; border-radius: 0 1rem 1rem 0; }
.prose .alignleft { float: left; margin: .25rem 1.5rem 1rem 0; }
.prose .alignright { float: right; margin: .25rem 0 1rem 1.5rem; }
.prose .aligncenter { display: block; margin-left: auto; margin-right: auto; text-align: center; }
.prose img.aligncenter { margin-bottom: 1rem; }
.prose .wp-caption { max-width: 100%; }
.prose .wp-caption img { display: block; width: 100%; }
.prose .wp-caption-text { font-size: .85rem; color: var(--ink-mute); text-align: center; margin: .4rem 0 0; line-height: 1.4; }
.prose .margin-10 { margin: 10px; }
.prose::after { content: ''; display: block; clear: both; }
@media (max-width: 600px) { .prose .alignleft, .prose .alignright { float: none; display: block; margin: 0 auto 1rem; } }
.prose .video { position: relative; aspect-ratio: 16 / 9; border-radius: 1.25rem; overflow: hidden; box-shadow: var(--shadow-lg); margin: 0 0 2rem; background: #000; }
.prose .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.prose .table-wrap { overflow-x: auto; border-radius: 1rem; border: 1px solid var(--line); }
.prose table { border-collapse: collapse; width: 100%; font-size: .95rem; min-width: 32rem; }
.prose th { background: linear-gradient(135deg, var(--blue), var(--purple)); color: #fff; font-family: var(--font-display); text-align: left; }
.prose th, .prose td { padding: .75rem 1rem; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.prose tr:nth-child(even) td { background: var(--bg); }
.prose #toc_container { background: #fffbeb; border: 2px dashed var(--yellow); border-radius: 1.25rem; padding: 1.25rem 1.5rem; margin: 0 0 2rem; display: inline-block; max-width: 100%; font-size: .98rem; line-height: 1.6; }
.prose #toc_container .toc_title { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--ink); margin: 0 0 .5rem; }
.prose #toc_container ul { list-style: none; padding-left: 1.1rem; margin: 0; }
.prose #toc_container > ul { padding-left: 0; }
.prose #toc_container li { margin: .15rem 0; }
.prose #toc_container li::marker { content: ''; }
.prose #toc_container a { font-weight: 600; }
.prose #toc_container .toc_number { color: var(--pink); margin-right: .25rem; }
.prose .btn, .prose .button-center, .prose a.button { display: inline-block; background: var(--pink); color: #fff; padding: .7rem 1.5rem; border-radius: 999px; text-decoration: none; }
.prose iframe { border: 0; }
.prose .rank-math-html-sitemap__title { font-size: 1.5rem; margin: 1.5em 0 .5em; }
.prose .rank-math-html-sitemap__list { columns: 2 18rem; column-gap: 2rem; }
.prose .rank-math-html-sitemap__item { break-inside: avoid; }

/* ---------- Forms (contact) ---------- */
.form { display: grid; gap: 1.25rem; }
.form label { display: grid; gap: .4rem; font-family: var(--font-display); font-weight: 600; color: var(--ink); }
.form input[type='text'], .form input[type='email'], .form textarea { font: inherit; font-family: var(--font-body); font-weight: 400; padding: .8rem 1rem; border: 2px solid var(--line); border-radius: 1rem; background: var(--bg); }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--purple); background: #fff; }
.form .check { display: flex; gap: .6rem; align-items: flex-start; font-family: var(--font-body); font-weight: 400; font-size: .95rem; }
.form .check input { margin-top: .35rem; }
.form button { justify-self: start; }

/* ---------- Footer ---------- */
.site-footer { background: #f9fafb; border-top: 1px solid var(--line); padding: 4rem 0 2rem; }
.footer-grid { display: grid; gap: 3rem; margin-bottom: 3rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer-brand .brand-note { font-size: 1.875rem; }
.footer-brand .brand-name { font-size: 1.25rem; }
.footer-brand p { color: var(--ink-mute); max-width: 24rem; margin-top: 1rem; }
.site-footer h4 { font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: .875rem; color: var(--ink); margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; color: var(--ink-mute); }
.site-footer ul a { text-decoration: none; transition: color .2s; }
.site-footer ul li:nth-child(1) a:hover { color: var(--pink); }
.site-footer ul li:nth-child(2) a:hover { color: var(--blue); }
.site-footer ul li:nth-child(3) a:hover { color: var(--green); }
.site-footer ul li:nth-child(4) a:hover { color: #ca8a04; }
.social { display: flex; gap: 1rem; }
.social a { width: 2.5rem; height: 2.5rem; border-radius: 50%; display: grid; place-items: center; text-decoration: none; transition: all .2s; }
.social a svg { width: 1.2rem; height: 1.2rem; fill: currentColor; }
.social .fb { background: #dbeafe; color: #2563eb; }
.social .fb:hover { background: #2563eb; color: #fff; }
.social .pin { background: #fee2e2; color: #dc2626; }
.social .pin:hover { background: #dc2626; color: #fff; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.25rem; font-size: .9rem; color: var(--ink-mute); margin-bottom: 1rem; }
.footer-legal a { text-decoration: none; }
.footer-legal a:hover { color: var(--purple); text-decoration: underline; }
.footer-copy { text-align: center; color: #9ca3af; font-size: .875rem; border-top: 1px solid var(--line); padding-top: 2rem; }
.footer-copy p { margin: 0 0 .25rem; }
