/* Public pages (home + help). Uses the colours and fonts from styles.css. */
.site-header { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 16px; padding: 12px 24px; background: #fff; border-bottom: 3px solid var(--ink); }
.site-header .logo-text { font-size: 21px; }
.site-nav { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; text-decoration: none; color: var(--ink); font-family: var(--display); font-weight: 600; font-size: 16px; }
.site-nav a:hover { background: var(--ground); color: var(--ink); }
.site-nav a.cta { background: var(--purple); color: #fff; border: 2.5px solid var(--ink); box-shadow: 0 3px 0 var(--ink); }
.site-main { max-width: 1120px; margin: 0 auto; padding: 0 20px 64px; }
.section { padding: 48px 0 8px; }
.section h2 { font-size: clamp(26px, 4vw, 34px); margin-bottom: 8px; }
.section .lead { font-size: 18px; color: var(--muted); max-width: 720px; margin: 0 0 24px; }

.lp-hero { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 40px; padding: 56px 0 24px; }
.lp-hero-text { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.lp-hero h1 { font-size: clamp(34px, 5.6vw, 54px); line-height: 1.08; }
.lp-hero h1 .hl { background: var(--yellow); padding: 0 8px; border-radius: 10px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.lp-hero p.sub { font-size: 19px; color: var(--muted); margin: 0; max-width: 560px; }
.lp-hero .actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.lp-hero .fine { font-size: 14px; color: var(--muted); margin: 0; }
.lp-hero-card { flex: 1 1 340px; max-width: 430px; min-width: 0; }
.demo-q { background: #fff; border: 3px solid var(--ink); border-radius: 26px; box-shadow: 0 7px 0 var(--ink); padding: 24px; display: flex; flex-direction: column; gap: 10px; transform: rotate(1.2deg); }
.demo-q .ask { text-align: center; color: var(--muted); font-weight: 700; }
.demo-q .word { text-align: center; font-family: var(--display); font-size: 40px; font-weight: 700; line-height: 1.1; }
.demo-opt { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border: 2.5px solid var(--ink); border-radius: 14px; font-weight: 600; }
.demo-opt .b { flex: none; width: 30px; height: 30px; border-radius: 9px; border: 2px solid var(--ink); display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 700; font-size: 14px; background: var(--sky-soft); }
.demo-opt.right { background: var(--right-soft); border-color: var(--right); }
.demo-opt.right .b { background: var(--right); }
.demo-opt.dim { border-color: var(--soft); color: #6E6A8F; }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 32px; }
.stat { border: 2.5px solid var(--ink); border-radius: 20px; padding: 16px; text-align: center; }
.stat b { display: block; font-family: var(--display); font-size: 30px; line-height: 1.1; }
.stat span { font-weight: 700; color: var(--muted); font-size: 15px; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.fcard { background: #fff; border: 3px solid var(--ink); border-radius: 22px; box-shadow: 0 5px 0 var(--ink); padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.fcard .icon { width: 50px; height: 50px; border-radius: 14px; border: 2.5px solid var(--ink); display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 700; font-size: 18px; }
.fcard h3 { font-size: 20px; font-weight: 600; }
.fcard p { margin: 0; color: var(--muted); }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; counter-reset: step; }
.stepc { position: relative; background: #fff; border: 2.5px solid var(--ink); border-radius: 20px; padding: 20px 20px 20px 72px; }
.stepc::before { counter-increment: step; content: counter(step); position: absolute; left: 18px; top: 18px; width: 38px; height: 38px; border-radius: 50%; background: var(--yellow); border: 2.5px solid var(--ink); display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 700; font-size: 18px; }
.stepc h3 { font-size: 19px; font-weight: 600; margin-bottom: 4px; }
.stepc p { margin: 0; color: var(--muted); }

.who { display: flex; flex-wrap: wrap; gap: 10px; }
.who span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 2.5px solid var(--ink); background: #fff; font-family: var(--display); font-weight: 600; }

.parent { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; background: var(--yellow-soft); border: 3px solid var(--ink); border-radius: 26px; padding: 26px; }
.parent .heart { flex: none; width: 64px; height: 64px; border-radius: 50%; background: var(--pink); border: 3px solid var(--ink); display: flex; align-items: center; justify-content: center; }
.parent div { flex: 1 1 320px; }
.parent h2 { margin-bottom: 6px; }
.parent p { margin: 0; font-size: 17px; }

.cta-band { margin-top: 48px; text-align: center; background: var(--purple); color: #fff; border: 3px solid var(--ink); border-radius: 28px; box-shadow: 0 7px 0 var(--ink); padding: 36px 24px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.cta-band h2 { color: #fff; font-size: clamp(26px, 4vw, 34px); }
.cta-band .btn { background: var(--yellow); color: var(--ink); }

.site-footer { border-top: 3px solid var(--ink); background: #fff; padding: 24px; text-align: center; color: var(--muted); font-size: 15px; }
.site-footer a { margin: 0 8px; }

/* help page */
.help-grid { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.help-main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.help-side { flex: 1 1 320px; min-width: 0; position: sticky; top: 90px; }
details.faq { background: #fff; border: 2.5px solid var(--ink); border-radius: 18px; padding: 0 18px; }
details.faq summary { cursor: pointer; list-style: none; padding: 16px 0; font-family: var(--display); font-weight: 600; font-size: 18px; display: flex; justify-content: space-between; gap: 12px; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: '+'; font-size: 24px; line-height: 1; }
details.faq[open] summary::after { content: '–'; }
details.faq .ans { padding: 0 0 16px; color: var(--ink); }
details.faq .ans p { margin: 0 0 8px; }
.form { display: flex; flex-direction: column; gap: 14px; }
.form label { display: flex; flex-direction: column; gap: 4px; font-size: 14px; font-weight: 800; color: var(--muted); }
.form input, .form select, .form textarea { font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 2.5px solid var(--ink); border-radius: 14px; padding: 10px 14px; min-height: 46px; }
.form textarea { min-height: 140px; resize: vertical; }
.form .opt { font-weight: 600; color: var(--muted); }
.form .status { font-weight: 700; padding: 12px 14px; border-radius: 12px; display: none; }
.form .status.ok { display: block; background: var(--right-soft); border: 2px solid var(--right); }
.form .status.err { display: block; background: var(--wrong-soft); border: 2px solid var(--wrong); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 700px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-nav a:not(.cta) { padding: 0 10px; font-size: 15px; }
  .help-side { position: static; }
}
