/*! ChartKid (chartkid.com) — © 2026 ChartKid. All rights reserved. */
/* ChartKid — site styles */
@font-face { font-family: 'Fredoka'; font-weight: 400 600; font-display: swap; src: url('/assets/fonts/Fredoka-SemiBold.woff2') format('woff2'); }
@font-face { font-family: 'Fredoka'; font-weight: 700; font-display: swap; src: url('/assets/fonts/Fredoka-Bold.woff2') format('woff2'); }
@font-face { font-family: 'Nunito'; font-weight: 400; font-display: swap; src: url('/assets/fonts/Nunito-Regular.woff2') format('woff2'); }
@font-face { font-family: 'Nunito'; font-weight: 600; font-display: swap; src: url('/assets/fonts/Nunito-SemiBold.woff2') format('woff2'); }
@font-face { font-family: 'Nunito'; font-weight: 700; font-display: swap; src: url('/assets/fonts/Nunito-Bold.woff2') format('woff2'); }
@font-face { font-family: 'Andika'; font-weight: 400; font-display: swap; src: url('/assets/fonts/Andika-Regular.woff2') format('woff2'); }
@font-face { font-family: 'Andika'; font-weight: 700; font-display: swap; src: url('/assets/fonts/Andika-Bold.woff2') format('woff2'); }
@font-face { font-family: 'Nunito'; font-weight: 400; font-style: italic; font-display: swap; src: url('/assets/fonts/Nunito-Italic.woff2') format('woff2'); }

:root {
  --cream: #FFF8EE; --paper: #FFFFFF;
  --coral: #F27C6B; --coral-dark: #D8604F; --sage: #8DB596; --yellow: #F7C948; --sky: #8EC5E8;
  --ink: #2B3A55; --ink-2: #5E6B84; --ink-3: #8A93A6;
  --line: rgba(43,58,85,.14); --line-soft: rgba(43,58,85,.08);
  --display: 'Fredoka', 'Nunito', system-ui, sans-serif;
  --body: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --r-ctl: 10px; --r-card: 18px;
  --shadow-sheet: 0 1px 2px rgba(43,58,85,.10), 0 12px 32px -8px rgba(43,58,85,.22), 0 36px 60px -30px rgba(43,58,85,.25);
  --max: 1180px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--cream); color: var(--ink); font: 16px/1.55 var(--body); }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; border-radius: 6px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- header ---------- */
.site-header { padding: 18px 0; }
.site-header .wrap { display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 24px; letter-spacing: -0.01em; }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.site-nav { display: flex; gap: 4px; margin-left: 8px; }
.site-nav a { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--ink-2); padding: 8px 12px; border-radius: 999px; }
.site-nav a:hover, .site-nav a[aria-current] { color: var(--ink); background: rgba(43,58,85,.06); }
.header-cta { margin-left: auto; }
@media (max-width: 900px) { .site-nav { display: none; } }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 999px; border: 0; cursor: pointer; text-decoration: none; font-weight: 700; font-size: 16px; line-height: 1.2; transition: background .15s, transform .15s, box-shadow .15s; }
.btn-primary { background: var(--coral); color: #fff; box-shadow: 0 6px 18px -6px rgba(242,124,107,.7); }
.btn-primary:hover { background: var(--coral-dark); }
.btn-primary:active { transform: translateY(1px); }
.btn-primary:disabled { background: #F4A89D; cursor: progress; box-shadow: none; }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-lg { padding: 16px 28px; font-size: 18px; }
.btn-block { width: 100%; }
.btn svg { width: 20px; height: 20px; }

/* ---------- page intro ---------- */
.page-intro { padding: 16px 0 28px; max-width: 760px; }
.page-intro h1 { font-family: var(--display); font-weight: 700; font-size: clamp(32px, 4.6vw, 46px); line-height: 1.08; margin: 0 0 12px; letter-spacing: -0.01em; }
.page-intro p { font-size: 18px; color: var(--ink-2); margin: 0; max-width: 60ch; }

/* ---------- generator layout ---------- */
.generator { display: grid; grid-template-columns: 400px minmax(0, 1fr); gap: 44px; align-items: start; }
.controls { display: flex; flex-direction: column; gap: 30px; }
.ctl-group > h2 { font-family: var(--display); font-weight: 600; font-size: 19px; margin: 0 0 12px; display: flex; align-items: baseline; justify-content: space-between; }
.ctl-group > h2 small { font-family: var(--body); font-weight: 600; font-size: 13px; color: var(--ink-3); }
.field { display: block; margin-bottom: 10px; }
.field > span { display: block; font-size: 13px; font-weight: 700; color: var(--ink-2); margin-bottom: 6px; }
input[type=text], input[type=number] { width: 100%; padding: 11px 13px; border: 1.5px solid var(--line); border-radius: var(--r-ctl); background: var(--paper); transition: border-color .15s, box-shadow .15s; }
input[type=text]:focus, input[type=number]:focus { outline: none; border-color: var(--coral); box-shadow: 0 0 0 3px rgba(242,124,107,.18); }
input::placeholder { color: var(--ink-3); }
.kid-row { display: flex; gap: 6px; margin-bottom: 8px; }
.kid-theme { flex: 0 0 136px; padding: 0 30px 0 12px; border: 1.5px solid var(--line); border-radius: var(--r-ctl); background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232B3A55' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 10px center / 16px; appearance: none; -webkit-appearance: none; font-weight: 600; font-size: 14px; cursor: pointer; }
.kid-theme:focus { outline: none; border-color: var(--coral); box-shadow: 0 0 0 3px rgba(242,124,107,.18); }
.link-btn { background: none; border: 0; padding: 6px 0; color: var(--coral-dark); font-weight: 700; cursor: pointer; font-size: 15px; }
.link-btn:hover { text-decoration: underline; }

.icon-btn { width: 36px; height: 36px; flex: 0 0 36px; border: 0; background: transparent; color: var(--ink-3); border-radius: 8px; cursor: pointer; font-size: 18px; line-height: 1; display: grid; place-items: center; }
.icon-btn:hover { background: rgba(43,58,85,.07); color: var(--ink); }
.icon-btn:disabled { opacity: .3; cursor: default; background: none; }

/* tasks */
.task-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.task-row { display: flex; align-items: center; gap: 6px; position: relative; }
.task-row input[type=text] { padding: 9px 12px; }
.pts-wrap { display: flex; align-items: center; flex: 0 0 74px; border: 1.5px solid var(--line); border-radius: var(--r-ctl); background: var(--paper); padding-right: 8px; }
.pts-wrap:focus-within { border-color: var(--coral); box-shadow: 0 0 0 3px rgba(242,124,107,.18); }
.pts-wrap span { font-size: 12px; font-weight: 700; color: var(--ink-3); }
.pts-wrap .pts { width: 44px; flex: 0 0 44px; padding: 9px 4px 9px 8px; text-align: right; border: 0; background: transparent; -moz-appearance: textfield; border-radius: 0; }
.pts-wrap .pts:focus { box-shadow: none; outline: none; }
.pts-wrap .pts::-webkit-outer-spin-button, .pts-wrap .pts::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.ctl-help { margin: -4px 0 10px; font-size: 13.5px; color: var(--ink-2); }
.ctl-help[hidden] { display: none; }
.pts-list { background: rgba(247,201,72,.14); border-radius: 12px; padding: 10px 12px; margin: 2px 0 12px; }
.pts-row { display: flex; align-items: center; gap: 10px; padding: 4px 0; }
.pts-name { flex: 1; font-size: 14.5px; font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pts-all { border-top: 1px solid rgba(43,58,85,.12); margin-top: 6px; padding-top: 10px; flex-wrap: wrap; }
.pts-all .pts-name { flex: 0 0 auto; color: var(--ink-2); }
.pts-note { flex-basis: 100%; font-size: 12.5px; color: var(--ink-2); margin-top: 4px; }
.task-moves { display: flex; }
.task-moves .icon-btn { width: 28px; flex-basis: 28px; font-size: 15px; }
.task-icon { width: 40px; height: 40px; flex: 0 0 40px; border: 1.5px solid var(--line); background: var(--paper); border-radius: 10px; padding: 5px; cursor: pointer; display: grid; place-items: center; }
.task-icon:hover { border-color: var(--ink-3); }
.task-icon-empty { color: var(--ink-3); font-size: 18px; }
.icon-pop { position: absolute; z-index: 20; left: 0; top: 44px; background: var(--paper); border-radius: 14px; box-shadow: 0 16px 40px -10px rgba(43,58,85,.35); padding: 10px; width: 300px; max-height: 360px; overflow-y: auto; }
.icon-pop-label { font-size: 12px; font-weight: 700; color: var(--ink-2); margin: 6px 2px 4px; }
.icon-pop-grid { display: grid; grid-template-columns: repeat(6, 44px); gap: 3px; }
.icon-pop > .icon-none { margin-top: 6px; width: 100%; }
.icon-opt { width: 44px; height: 44px; border: 0; background: transparent; border-radius: 10px; padding: 5px; cursor: pointer; font-size: 12px; font-weight: 700; color: var(--ink-2); }
.icon-opt:hover { background: var(--cream); }
.icon-opt.is-on { background: rgba(247,201,72,.35); }
.add-row { display: flex; gap: 8px; margin-top: 10px; }
.add-row .btn { padding: 10px 18px; font-size: 15px; }
.suggest { margin-top: 14px; }
.suggest > span { display: block; font-size: 13px; font-weight: 700; color: var(--ink-2); margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.chip { border: 1.5px solid var(--line); background: var(--paper); border-radius: 999px; padding: 6px 12px; font-size: 13.5px; font-weight: 600; cursor: pointer; color: var(--ink); }
.chip:hover { border-color: var(--sage); background: rgba(141,181,150,.12); }
.chip.is-added { opacity: .45; cursor: default; }
.chip.is-added::before { content: '✓ '; color: var(--sage); }

/* segmented */
.seg { display: inline-flex; background: rgba(43,58,85,.07); border-radius: 999px; padding: 3px; gap: 2px; flex-wrap: wrap; }
.seg-btn { border: 0; background: transparent; padding: 7px 14px; border-radius: 999px; font-weight: 700; font-size: 14px; color: var(--ink-2); cursor: pointer; transition: background .15s, color .15s; }
.seg-btn:hover { color: var(--ink); }
.seg-btn.is-on { background: var(--paper); color: var(--ink); box-shadow: 0 1px 3px rgba(43,58,85,.15); }
.seg-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.seg-row > span { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.scale-input { width: 120px !important; text-align: center; }
.seg-row[hidden] { display: none; }

/* toggles */
.toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; cursor: pointer; }
.toggle > span { font-weight: 600; }
.toggle input { appearance: none; width: 44px; height: 26px; border-radius: 999px; background: rgba(43,58,85,.2); position: relative; margin: 0; cursor: pointer; transition: background .15s; flex: 0 0 44px; }
.toggle input::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .15s; box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.toggle input:checked { background: var(--sage); }
.toggle input:checked::after { transform: translateX(18px); }
.reward-fields { display: grid; grid-template-columns: 150px 1fr; gap: 8px; margin-top: 4px; }
.reward-fields [hidden] { display: none; }

/* themes */
.theme-group + .theme-group { margin-top: 12px; }
.theme-group-label { font-size: 13px; font-weight: 700; color: var(--ink-2); margin-bottom: 8px; }
.theme-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.theme-btn { border: 2px solid transparent; background: transparent; padding: 6px 4px 8px; border-radius: 14px; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 6px; transition: background .15s, border-color .15s; }
.theme-btn:hover { background: rgba(43,58,85,.05); }
.theme-btn.is-on { border-color: var(--ink); background: var(--paper); }
.theme-swatch { width: 54px; height: 54px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 22%, #fff); display: grid; place-items: center; padding: 8px; }
.theme-swatch img { width: 100%; height: 100%; object-fit: contain; }
.theme-swatch-min { width: 22px; height: 22px; border: 2px solid var(--ink); border-radius: 6px; }
.theme-label { font-size: 12.5px; font-weight: 700; color: var(--ink); }

/* preview */
.preview { position: sticky; top: 20px; }
.preview-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.preview-bar .meta { font-size: 14px; color: var(--ink-2); font-weight: 600; }
.sheets { display: flex; flex-direction: column; gap: 28px; }
.sheet { background: #fff; border-radius: 4px; box-shadow: var(--shadow-sheet); overflow: hidden; }
.sheet svg { display: block; width: 100%; height: auto; }
.privacy-note { margin-top: 14px; font-size: 13.5px; color: var(--ink-3); display: flex; gap: 8px; align-items: flex-start; }
.privacy-note svg { width: 16px; height: 16px; flex: 0 0 16px; margin-top: 2px; }

/* mobile download bar */
.mobile-bar { display: none; }
@media (max-width: 900px) {
  .generator { grid-template-columns: 1fr; gap: 32px; }
  .preview { position: static; order: -1; }
  .preview .btn { display: none; }
  .mobile-bar { display: block; position: sticky; bottom: 0; z-index: 30; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,248,238,.92); backdrop-filter: blur(10px); border-top: 1px solid var(--line-soft); }
  .theme-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- ad + affiliate slots ---------- */
.slot { margin: 44px 0; }
.ad-slot { min-height: 100px; border: 1.5px dashed var(--line); border-radius: var(--r-card); display: grid; place-items: center; color: var(--ink-3); font-size: 13px; font-weight: 600; }

/* ---------- guide prose ---------- */
.guide { max-width: 68ch; padding: 24px 0 48px; }
.guide h2 { font-family: var(--display); font-weight: 600; font-size: 28px; margin: 36px 0 10px; letter-spacing: -0.01em; }
.guide h3 { font-family: var(--display); font-weight: 600; font-size: 21px; margin: 26px 0 8px; }
.guide p, .guide li { font-size: 17px; line-height: 1.65; color: #3C4961; }
.guide ul { padding-left: 22px; }
.guide li { margin: 6px 0; }
.guide li::marker { color: var(--coral); }
.guide strong { color: var(--ink); }
.guide .lead { font-size: 19px; color: var(--ink); }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line-soft); padding: 44px 0 40px; margin-top: 48px; color: var(--ink-2); font-size: 14.5px; }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px 40px; }
.foot-brand p { margin: 12px 0 0; max-width: 34ch; line-height: 1.5; }
.site-footer nav { display: flex; flex-direction: column; gap: 6px; }
.site-footer nav strong { color: var(--ink); margin-bottom: 4px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .copy { grid-column: 1 / -1; margin: 12px 0 0; color: var(--ink-3); font-size: 13px; }
@media (max-width: 760px) { .site-footer .wrap { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* ---------- homepage ---------- */
.hero { position: relative; overflow: hidden; }
.hero-inner { position: relative; min-height: 520px; display: flex; align-items: center; }
.hero-copy { position: relative; z-index: 1; max-width: 520px; padding: 48px 0 56px; }
.hero h1 { font-family: var(--display); font-weight: 700; font-size: clamp(38px, 5.4vw, 60px); line-height: 1.02; letter-spacing: -0.015em; margin: 0 0 18px; }
.hero-copy p { font-size: 19px; color: var(--ink-2); margin: 0 0 26px; max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { font-size: 14px !important; color: var(--ink-3) !important; margin: 18px 0 0 !important; }
.hero-art { position: absolute; right: -4%; top: 0; bottom: 0; width: 72%; display: flex; align-items: center; pointer-events: none; }
.hero-art img { width: 100%; height: auto; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 34%), linear-gradient(180deg, #000 78%, transparent 100%); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0, #000 34%), linear-gradient(180deg, #000 78%, transparent 100%); mask-composite: intersect; }
@media (max-width: 980px) {
  .hero-inner { flex-direction: column; align-items: stretch; min-height: 0; }
  .hero-copy { padding: 28px 0 8px; max-width: 100%; }
  .hero-art { position: static; width: auto; margin: 8px -20px 0; }
  .hero-art img { -webkit-mask-image: linear-gradient(180deg, #000 80%, transparent 100%); mask-image: linear-gradient(180deg, #000 80%, transparent 100%); object-fit: cover; object-position: 70% 50%; aspect-ratio: 16 / 10; }
}

.types { padding: 36px 0 20px; }
.types h2, .examples h2, .how h2 { font-family: var(--display); font-weight: 600; font-size: clamp(26px, 3vw, 34px); letter-spacing: -0.01em; margin: 0 0 22px; }
.type-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.type-card { display: grid; grid-template-columns: 72px 1fr; grid-template-rows: auto auto; column-gap: 18px; row-gap: 4px; align-items: center; padding: 22px 22px 22px 18px; background: var(--paper); border-radius: 22px; text-decoration: none; border: 1.5px solid transparent; transition: border-color .15s, transform .15s; }
.type-card img { grid-row: 1 / 3; width: 72px; height: 72px; object-fit: contain; background: color-mix(in srgb, var(--accent) 22%, #fff); border-radius: 50%; padding: 10px; }
.type-card strong { font-family: var(--display); font-weight: 600; font-size: 20px; color: var(--ink); }
.type-card span { font-size: 15px; color: var(--ink-2); line-height: 1.4; }
.type-card:hover { border-color: var(--accent); transform: translateY(-2px); }
@media (max-width: 900px) { .type-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .type-grid { grid-template-columns: 1fr; } }

.examples { padding: 48px 0 28px; }
.examples-head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.examples-head p { margin: 0 0 22px; color: var(--ink-2); font-size: 17px; }
.example-row { list-style: none; margin: 0 -20px; padding: 6px 20px 18px; scroll-padding-left: 20px; display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.example-row::-webkit-scrollbar { display: none; }
.example-row li { flex: 0 0 265px; scroll-snap-align: start; }
.example-row figure { margin: 0; }
.sheet-mini { background: #fff; border-radius: 4px; box-shadow: var(--shadow-sheet); aspect-ratio: 612 / 792; overflow: hidden; }
.sheet-mini svg { width: 100%; height: auto; display: block; }
.example-row figcaption { font-size: 13.5px; color: var(--ink-2); margin-top: 12px; font-weight: 600; }
@media (min-width: 1140px) { .example-row { overflow: visible; margin: 0; padding: 6px 0 18px; } .example-row li { flex: 1 1 0; } }

.how { padding: 40px 0; }
.how-inner { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: center; }
.how-mascot { width: 220px; height: auto; }
.steps { margin: 0; padding: 0 0 0 1.6em; display: grid; gap: 14px; max-width: 60ch; font-size: 17px; color: #3C4961; line-height: 1.55; }
.steps li::marker { font-family: var(--display); font-weight: 700; color: var(--coral); }
.steps strong { color: var(--ink); }
@media (max-width: 760px) { .how-inner { grid-template-columns: 1fr; gap: 10px; } .how-mascot { width: 150px; } }

.promise { padding: 16px 0 24px; }
.promise-grid { list-style: none; margin: 0; padding: 32px 0 0; border-top: 1px solid var(--line-soft); display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.promise-grid strong { display: block; font-family: var(--display); font-weight: 600; font-size: 20px; margin-bottom: 6px; }
.promise-grid span { color: var(--ink-2); font-size: 15.5px; line-height: 1.5; }
@media (max-width: 760px) { .promise-grid { grid-template-columns: 1fr; gap: 22px; } }

/* ---------- chart pages: crumbs, guide + sidebar ---------- */
.crumbs { font-size: 13.5px; color: var(--ink-3); padding: 4px 0 10px; }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.guide-wrap { display: grid; grid-template-columns: minmax(0, 68ch) 300px; gap: 56px; align-items: start; }
.guide-wrap .guide { padding-top: 8px; }
.guide a { color: var(--coral-dark); }
.guide-wide { max-width: 100%; }
.side { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 28px; padding-top: 24px; }
.example { margin: 0; }
.example img { width: 100%; height: auto; border-radius: 4px; box-shadow: var(--shadow-sheet); background: #fff; }
.example figcaption { font-size: 13.5px; color: var(--ink-2); margin-top: 10px; font-weight: 600; }
.related h2 { font-family: var(--display); font-weight: 600; font-size: 18px; margin: 0 0 8px; }
.related ul { list-style: none; margin: 0; padding: 0; }
.related li { border-top: 1px solid var(--line-soft); }
.related a { display: block; padding: 9px 0; text-decoration: none; font-weight: 600; font-size: 15px; color: var(--ink-2); }
.related a:hover { color: var(--coral-dark); }
.affiliate-slot[hidden] { display: none; }
@media (max-width: 980px) { .guide-wrap { grid-template-columns: 1fr; gap: 24px; } .side { position: static; } .example { max-width: 360px; } }

/* chores by age */
.age-table { display: grid; gap: 14px; margin: 28px 0 8px; }
.age-row { display: grid; grid-template-columns: 220px 1fr; gap: 24px; background: var(--paper); border-radius: 18px; padding: 22px 26px; }
.age-head h2 { margin: 0 0 6px; font-size: 24px; }
.age-head p { margin: 0; font-size: 15px; color: var(--ink-2); }
.age-cell ul { margin: 0; padding-left: 20px; columns: 2; column-gap: 32px; }
.age-cell li { font-size: 16px; margin: 3px 0; break-inside: avoid; }
.age-cell p { margin: 12px 0 0; font-size: 15px; }
@media (max-width: 760px) { .age-row { grid-template-columns: 1fr; gap: 10px; padding: 18px; } .age-cell ul { columns: 1; } }

/* all charts */
.chart-groups { display: grid; gap: 36px; padding-bottom: 32px; }
.chart-group h2 { font-family: var(--display); font-weight: 600; font-size: 26px; margin: 0 0 14px; }
.chart-group h2 a { text-decoration: none; }
.chart-group h2 a:hover { color: var(--coral-dark); }
.chart-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.chart-list a { display: block; background: var(--paper); border-radius: 16px; padding: 16px 18px; text-decoration: none; border: 1.5px solid transparent; height: 100%; }
.chart-list a:hover { border-color: var(--sage); }
.chart-list strong { display: block; font-family: var(--display); font-weight: 600; font-size: 17px; margin-bottom: 4px; }
.chart-list span { font-size: 14px; color: var(--ink-2); line-height: 1.45; }
@media (max-width: 900px) { .chart-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .chart-list { grid-template-columns: 1fr; } }

/* spelling */
textarea[data-words] { width: 100%; min-height: 170px; padding: 12px 13px; border: 1.5px solid var(--line); border-radius: var(--r-ctl); background: var(--paper); font-family: 'Andika', var(--body); font-size: 16px; line-height: 1.5; resize: vertical; }
textarea[data-words]:focus { outline: none; border-color: var(--coral); box-shadow: 0 0 0 3px rgba(242,124,107,.18); }
.samples { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 10px; }
.samples > span { font-size: 13px; font-weight: 700; color: var(--ink-2); margin-right: 4px; }

/* affiliate boxes */
.aff-box { background: var(--paper); border-radius: 18px; padding: 20px 22px; border: 1.5px solid rgba(141,181,150,.5); }
.aff-box + .aff-box { margin-top: 16px; }
.aff-box h2 { font-family: var(--display); font-weight: 600; font-size: 19px; margin: 0 0 8px; }
.aff-box p { margin: 0 0 14px; font-size: 15px; color: var(--ink-2); line-height: 1.5; }
.aff-box .btn { padding: 10px 18px; font-size: 15px; }
.aff-note { font-size: 12.5px !important; color: var(--ink-3) !important; margin: 12px 0 0 !important; }
.aff-amazon ul { margin: 0; padding-left: 18px; }
.aff-amazon li { margin: 4px 0; font-size: 15px; }
.slot[hidden] { display: none; }
/* legal / about pages */
.page-article { max-width: 70ch; padding: 8px 0 48px; }
.page-article h1 { font-family: var(--display); font-weight: 700; font-size: clamp(32px, 4.6vw, 44px); margin: 0 0 6px; letter-spacing: -0.01em; }
.page-article .updated { color: var(--ink-3); font-size: 14px; margin: 0 0 28px; }
.page-article h2 { font-family: var(--display); font-weight: 600; font-size: 24px; margin: 32px 0 8px; }
.page-article p, .page-article li { font-size: 17px; line-height: 1.65; color: #3C4961; }
.page-article ul { padding-left: 22px; }
.page-article a { color: var(--coral-dark); }
.about-hero { display: grid; grid-template-columns: 1fr 220px; gap: 32px; align-items: center; margin-bottom: 8px; }
.about-hero img { width: 220px; height: auto; }
@media (max-width: 700px) { .about-hero { grid-template-columns: 1fr; } .about-hero img { width: 150px; } }
