/* "Safe for kids" feature section. Follows the site theme; the sample dashboard is a framed, always-light card. */

.kids { position: relative; overflow: hidden; padding: 84px 0 96px; background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 9%, var(--bg)) 0%, var(--bg) 100%); border-bottom: 1px solid var(--border); }
.kids__glow { position: absolute; inset: -20% -10% auto; height: 70%; background: radial-gradient(ellipse at 30% 20%, rgba(34, 211, 238, 0.22), transparent 55%), radial-gradient(ellipse at 75% 10%, rgba(99, 102, 241, 0.25), transparent 55%); pointer-events: none; }
.kids .container { position: relative; }

.kids__head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.kids__badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px; border-radius: 999px; background: var(--accent-grad); color: #fff; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; font-size: 0.82rem; box-shadow: 0 10px 30px rgba(79, 70, 229, 0.4); }
.kids__badge svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.kids__head h2 { margin: 18px 0 14px; font-size: clamp(2rem, 4.6vw, 3.2rem); line-height: 1.1; letter-spacing: -0.02em; }
.kids__head h2 em { font-style: normal; background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kids__lede { margin: 0 auto 14px; max-width: 60ch; color: var(--text-muted); font-size: 1.12rem; }
.kids__soon { display: inline-block; padding: 4px 12px; border-radius: 999px; border: 1px dashed var(--accent); color: var(--accent); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }

.kids__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 40px; align-items: start; }
.kids__cards { display: grid; gap: 16px; }
.kids-card { display: flex; gap: 18px; align-items: flex-start; padding: 22px; border-radius: 18px; background: var(--card-bg); border: 1px solid var(--border); box-shadow: var(--shadow); transition: transform 0.18s, border-color 0.18s; }
.kids-card:hover { transform: translateY(-2px); border-color: var(--accent); }
.kids-card__icon { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--accent-grad); color: #fff; }
.kids-card__icon svg, .pdash__ai-tag svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.kids-card h3 { margin: 2px 0 6px; font-size: 1.12rem; }
.kids-card p { margin: 0; color: var(--text-muted); font-size: 0.97rem; }

/* sample parent dashboard */
.pdash { position: sticky; top: 90px; border-radius: 20px; overflow: hidden; background: #fff; color: #1b2142; border: 1px solid rgba(15, 23, 55, 0.12); box-shadow: 0 30px 70px rgba(15, 23, 55, 0.28), 0 0 0 6px color-mix(in srgb, var(--accent) 14%, transparent); font-size: 0.92rem; }
.pdash__bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: #eef1fb; border-bottom: 1px solid #dfe4f5; }
.pdash__dots { display: inline-flex; gap: 6px; }
.pdash__dots i { width: 10px; height: 10px; border-radius: 50%; background: #c9d0ea; }
.pdash__title { font-weight: 700; font-size: 0.85rem; }
.pdash__sample { margin-left: auto; padding: 2px 8px; border-radius: 999px; background: #fff3cd; color: #7a5b00; font-size: 0.7rem; font-weight: 700; }
.pdash__who { display: flex; align-items: center; gap: 12px; padding: 16px 18px 6px; }
.pdash__who > div { flex: 1; min-width: 0; display: grid; }
.pdash__who small { color: #6a7395; }
.pdash__avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--accent-grad); color: #fff; font-weight: 800; }
.pdash__ok { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: #dcf5e6; color: #146c3a; font-weight: 700; font-size: 0.78rem; white-space: nowrap; }
.pdash__ok i { width: 8px; height: 8px; border-radius: 50%; background: #23a55a; }
.pdash__tabs { display: flex; gap: 4px; padding: 10px 14px 0; border-bottom: 1px solid #e5e9f7; overflow-x: auto; }
.pdash__tabs button { padding: 9px 14px; border: 0; border-bottom: 3px solid transparent; background: transparent; color: #6a7395; font: inherit; font-weight: 700; cursor: pointer; white-space: nowrap; }
.pdash__tabs button:hover { color: #1b2142; }
.pdash__tabs button.is-on { color: #4f46e5; border-bottom-color: #4f46e5; }
.pdash__panel { padding: 16px 18px 20px; min-height: 330px; }
.pdash__panel[hidden] { display: none; }
.pdash__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pdash__stats > div { padding: 12px; border-radius: 12px; background: #f4f6fd; text-align: center; }
.pdash__stats b { display: block; font-size: 1.45rem; letter-spacing: -0.02em; }
.pdash__stats span { color: #6a7395; font-size: 0.78rem; }
.pdash__ai { margin-top: 14px; padding: 14px; border-radius: 14px; background: linear-gradient(135deg, #eef0ff, #e6f8fd); border: 1px solid #d5dbfb; }
.pdash__ai-tag { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 6px; color: #4f46e5; font-weight: 800; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.04em; }
.pdash__ai-tag svg { width: 16px; height: 16px; }
.pdash__ai p { margin: 0; line-height: 1.5; }
.pdash__bars { display: flex; align-items: flex-end; gap: 10px; height: 96px; margin-top: 16px; padding: 0 4px; }
.pdash__bars span { position: relative; flex: 1; height: var(--h); border-radius: 8px 8px 3px 3px; background: linear-gradient(180deg, #22d3ee, #6366f1); }
.pdash__bars i { position: absolute; left: 0; right: 0; bottom: -18px; text-align: center; font-style: normal; font-size: 0.7rem; color: #6a7395; }
.pdash__bars { margin-bottom: 20px; }
.pdash__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pdash__list li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: #f4f6fd; }
.pdash__list li > div { flex: 1; min-width: 0; display: grid; }
.pdash__list small { color: #6a7395; }
.pdash__av { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%; background: hsl(var(--hue) 55% 45%); color: #fff; font-weight: 800; }
.tag { padding: 3px 10px; border-radius: 999px; font-style: normal; font-size: 0.72rem; font-weight: 700; white-space: nowrap; }
.tag--ok { background: #dcf5e6; color: #146c3a; }
.tag--warn { background: #ffecd1; color: #8a4b00; }
.pdash__sess { margin-bottom: 8px; border-radius: 12px; background: #f4f6fd; }
.pdash__sess summary { display: flex; align-items: center; gap: 10px; padding: 12px 14px; cursor: pointer; list-style: none; }
.pdash__sess summary::-webkit-details-marker { display: none; }
.pdash__sess summary::after { content: "+"; margin-left: auto; color: #4f46e5; font-weight: 800; font-size: 1.2rem; }
.pdash__sess[open] summary::after { content: "\2212"; }
.pdash__sess summary > div { display: grid; }
.pdash__sess small { color: #6a7395; }
.pdash__sess p { margin: 0; padding: 0 14px 14px; line-height: 1.5; }
.pdash__toggle { display: flex; align-items: center; gap: 14px; padding: 12px 4px; border-bottom: 1px solid #e5e9f7; cursor: pointer; }
.pdash__toggle > span { flex: 1; display: grid; }
.pdash__toggle small { color: #6a7395; }
.pdash__toggle input { position: absolute; opacity: 0; pointer-events: none; }
.pdash__toggle i { position: relative; flex: none; width: 44px; height: 26px; border-radius: 999px; background: #c9d0ea; transition: background 0.18s; }
.pdash__toggle i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); transition: transform 0.18s; }
.pdash__toggle input:checked + i { background: #23a55a; }
.pdash__toggle input:checked + i::after { transform: translateX(18px); }
.pdash__toggle input:focus-visible + i { outline: 2px solid #4f46e5; outline-offset: 2px; }

/* detailed weekly report + alerts (inside the sample dashboard) */
.pdash__panel { max-height: 560px; overflow-y: auto; }
.pdash__stats--4 { grid-template-columns: repeat(4, 1fr); }
.pdash__stats--4 b { font-size: 1.2rem; }
.rpt__head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.rpt__head small { color: #6a7395; }
.rpt__h { margin: 20px 0 8px; font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: #6a7395; }
.rpt__bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.rpt__bars li { display: grid; grid-template-columns: minmax(110px, 0.9fr) 1.6fr auto; align-items: center; gap: 10px; }
.rpt__bars span { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rpt__bars i { display: block; height: 10px; border-radius: 999px; background: #e9edfa; position: relative; overflow: hidden; }
.rpt__bars i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: 999px; background: linear-gradient(90deg, #22d3ee, #6366f1); }
.rpt__bars--topics i::after { background: linear-gradient(90deg, #a78bfa, #6366f1); }
.rpt__bars b { min-width: 44px; text-align: right; font-variant-numeric: tabular-nums; }
.rpt__tone { display: flex; height: 26px; border-radius: 999px; overflow: hidden; background: #e9edfa; }
.rpt__tone span { display: grid; place-items: center; width: var(--w); min-width: 0; font-size: 0.75rem; font-weight: 700; white-space: nowrap; }
.rpt__tone-pos { background: linear-gradient(90deg, #23a55a, #3ecf8e); color: #fff; }
.rpt__tone-neu { background: #c9d0ea; }
.rpt__small { margin: 6px 0 0; color: #6a7395; font-size: 0.8rem; }
.rpt__points { margin: 10px 0 0; padding-left: 1.1em; display: grid; gap: 6px; }
.pdash__ai + .pdash__ai, .rpt__small + .rpt__h + .pdash__list + .pdash__ai { margin-top: 18px; }
.alert-card { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 14px; background: #fff7ec; border: 1px solid #f6d9ad; }
.alert-card > div { display: grid; gap: 2px; min-width: 0; }
.alert-card small { color: #8a6a3a; }
.alert-card p { margin: 6px 0 0; line-height: 1.45; }
.alert-card__sev { flex: none; padding: 3px 10px; border-radius: 999px; background: #dcf5e6; color: #146c3a; font-size: 0.72rem; font-weight: 800; }
.mail-sample { border-radius: 14px; border: 1px solid #dfe4f5; overflow: hidden; background: #fff; box-shadow: 0 8px 22px rgba(15, 23, 55, 0.1); }
.mail-sample__meta { position: relative; display: grid; gap: 4px; padding: 12px 14px; background: #f4f6fd; border-bottom: 1px solid #dfe4f5; font-size: 0.85rem; }
.mail-sample__meta small { display: inline-block; width: 52px; color: #6a7395; }
.mail-sample__tag { position: absolute; top: 10px; right: 12px; padding: 2px 8px; border-radius: 999px; background: #fff3cd; color: #7a5b00; font-size: 0.68rem; font-weight: 700; }
.mail-sample__body { padding: 14px; display: grid; gap: 10px; line-height: 1.5; }
.mail-sample__body p { margin: 0; }
.mail-sample__btns { display: flex; flex-wrap: wrap; gap: 8px; }
.mail-sample__btns span { padding: 8px 14px; border-radius: 999px; background: #4f46e5; color: #fff; font-weight: 700; font-size: 0.8rem; }
.mail-sample__btns span:nth-child(n+2) { background: #fff; color: #4f46e5; border: 1px solid #c9d0ea; }

/* call to action: parents ask their kids' games to add the chat */
.kids-ask { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; align-items: center; margin-top: 56px; padding: 36px; border-radius: 24px; background: var(--bg-elevated); border: 1px solid var(--border); box-shadow: var(--shadow); }
.kids-ask__price { display: inline-flex; align-items: baseline; gap: 6px; margin-bottom: 14px; padding: 6px 16px; border-radius: 999px; background: var(--accent-grad); color: #fff; font-weight: 700; box-shadow: 0 8px 24px rgba(79, 70, 229, 0.35); }
.kids-ask__price b { font-size: 1.6rem; letter-spacing: -0.02em; }
.kids-ask h3 { margin: 0 0 10px; font-size: 1.7rem; letter-spacing: -0.01em; }
.kids-ask__copy p { margin: 0 0 14px; color: var(--text-muted); }
.kids-ask__steps { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.kids-ask__letter { border-radius: 16px; border: 1px solid var(--border); background: var(--bg); overflow: hidden; }
.kids-ask__letter-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px; background: color-mix(in srgb, var(--accent) 10%, var(--bg)); border-bottom: 1px solid var(--border); font-weight: 700; font-size: 0.85rem; }
.kids-ask__letter blockquote { margin: 0; padding: 16px 18px; display: grid; gap: 10px; font-size: 0.95rem; line-height: 1.5; }
.kids-ask__letter blockquote p { margin: 0; }

/* dedicated page extras */
.crumbs { padding-top: 20px; font-size: 0.85rem; color: var(--text-muted); }
.crumbs a { color: var(--text-muted); }
.crumbs a:hover { color: var(--accent-2); }
.kids__more { margin: 6px 0 0; }
.kids__more a { font-weight: 700; }
.kids-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.kids-steps li { display: flex; gap: 18px; align-items: flex-start; padding: 20px 22px; border-radius: 16px; background: var(--card-bg); border: 1px solid var(--border); box-shadow: var(--shadow); }
.kids-steps li > b { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--accent-grad); color: #fff; font-size: 1.1rem; }
.kids-steps h3 { margin: 2px 0 4px; font-size: 1.1rem; }
.kids-steps p { margin: 0; color: var(--text-muted); }

/* hero pill that points to the section */
.hero-pill { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; padding: 7px 16px; border-radius: 999px; background: color-mix(in srgb, var(--accent) 14%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); color: var(--text); font-weight: 600; font-size: 0.88rem; }
.hero-pill:hover { text-decoration: none; border-color: var(--accent); }
.hero-pill b { padding: 2px 8px; border-radius: 999px; background: var(--accent-grad); color: #fff; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; }

@media (max-width: 960px) {
  .kids__grid, .kids-ask { grid-template-columns: minmax(0, 1fr); }
  .pdash { position: static; }
  .kids-ask { padding: 24px; }
}
@media (max-width: 520px) {
  .pdash__stats--4 { grid-template-columns: repeat(2, 1fr); }
  .rpt__bars li { grid-template-columns: 1fr auto; }
  .rpt__bars li i { grid-column: 1 / -1; grid-row: 2; }
  .kids { padding: 56px 0 64px; }
  .pdash__stats { gap: 6px; }
  .pdash__stats b { font-size: 1.2rem; }
  .pdash__who { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  .kids-card, .pdash__toggle i, .pdash__toggle i::after { transition: none; }
}
