/* Kidgistics brochure site. Same palette as the app (frontend/index.html), light only (the app's default), no third-party fonts or scripts. */
:root {
  --bg: #FFF9F0; --panel: #FFFFFF; --ink: #2A2230; --ink-soft: #6B5F73;
  --primary: #1B7F52; --on-primary: #FFFFFF; --primary-soft: #DDF3E6; --sun: #FFC857;
  --house-a: #1B7F52; --house-b: #C2257E; --line: #EADFCB;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
h1, h2, h3 { font-family: ui-serif, Georgia, "Times New Roman", serif; font-weight: 600; line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 6vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.1rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
a { color: var(--primary); text-underline-offset: 3px; }
.wrap { max-width: 960px; margin: 0 auto; padding: 0 20px; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 0; flex-wrap: wrap; }
.brand { font-family: ui-serif, Georgia, serif; font-size: 1.4rem; font-weight: 600; color: var(--ink); text-decoration: none; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand img { border-radius: 8px; }
.brand b { color: var(--primary); }
.top nav { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.top nav a { color: var(--ink-soft); text-decoration: none; font-size: .95rem; }
.top nav a:hover { color: var(--ink); }
.btn { font: inherit; font-weight: 600; cursor: pointer; display: inline-block; min-height: 44px; padding: 10px 22px; border-radius: 10px; background: var(--primary); color: var(--on-primary) !important; font-weight: 600; text-decoration: none !important; border: 0; }
.btn.ghost { background: transparent; color: var(--primary) !important; border: 2px solid var(--primary); }
.hero { padding: 48px 20px 40px; }
.hero p.lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 40em; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.hero .small { font-size: .9rem; color: var(--ink-soft); margin-top: 14px; }
section { padding: 36px 0; }
section.alt { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); margin-top: 20px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 20px; }
section.alt .card { background: var(--bg); }
.card .icon { font-size: 1.6rem; display: block; margin-bottom: 6px; }
.card p { margin: 0; color: var(--ink-soft); font-size: .98rem; }
.who { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.who span { background: var(--primary-soft); color: var(--ink); padding: 6px 14px; border-radius: 999px; font-size: .95rem; }
.say { border-left: 4px solid var(--sun); padding: 4px 0 4px 16px; margin: 20px 0; color: var(--ink-soft); font-style: italic; }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 14px; }
.steps li { counter-increment: s; padding-left: 52px; position: relative; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--sun); color: #2A2230; font-weight: 700; display: grid; place-items: center; }
.facts { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 12px; }
.facts li { padding-left: 30px; position: relative; }
.facts li::before { content: "\2713"; position: absolute; left: 0; color: var(--primary); font-weight: 700; }
.cta { text-align: center; padding: 56px 20px; }
.cta p { color: var(--ink-soft); max-width: 34em; margin: 0 auto 1.2em; }
footer { border-top: 1px solid var(--line); padding: 24px 0 40px; color: var(--ink-soft); font-size: .9rem; }
footer .links { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 8px; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }

.shots { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-top: 20px; }
.shots figure { margin: 0; text-align: center; }
.shots img { width: 100%; max-width: 300px; height: auto; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 6px 20px rgba(42, 34, 48, .12); }
.shots figcaption { margin-top: 10px; color: var(--ink-soft); font-size: .95rem; }

/* Load Map taster (load-map.html): same cards, serif headings, house colours and sun accent as the app's Load Map */
.lm-stage { padding: 28px 0 44px; }
.lm-wrap { max-width: 760px; }
.lm-progress { display: flex; align-items: center; gap: 14px; margin: 0 0 16px; }
.lm-progress-track { flex: 1; height: 10px; border-radius: 999px; background: var(--line); overflow: hidden; }
.lm-progress-track span { display: block; height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, var(--house-a), var(--sun)); transition: width .3s ease; }
.lm-progress-text { font-size: .9rem; color: var(--ink-soft); min-width: 5.5em; text-align: right; }
.lm-card { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 22px; box-shadow: 0 6px 20px rgba(42, 34, 48, .07); }
.lm-card[hidden], .lm-step[hidden], .lm[hidden], .lm-result[hidden], .lm-progress[hidden] { display: none; }
.lm-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 8px; }
.lm-head h2, .lm-result h2 { font-size: 1.45rem; margin: 2px 0 4px; }
.lm-head h2:focus, .lm-result h2:focus { outline: none; }
.lm-badge { flex: none; width: 48px; height: 48px; border-radius: 14px; background: var(--primary-soft); display: grid; place-items: center; font-size: 1.5rem; }
.lm-badge.sm { width: 32px; height: 32px; border-radius: 10px; font-size: 1rem; }
.lm-hint { color: var(--ink-soft); font-size: .95rem; line-height: 1.5; margin: 0; }
.lm-names { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); margin: 18px 0 4px; }
.lm-name { display: grid; gap: 6px; font-size: .9rem; color: var(--ink-soft); padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); border-left-width: 6px; background: var(--bg); }
.lm-name-a { border-left-color: var(--house-a); }
.lm-name-b { border-left-color: var(--house-b); }
.lm input[type="text"] { min-height: 44px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; font: inherit; color: var(--ink); background: var(--panel); width: 100%; }
.lm-task { display: grid; gap: 10px; padding: 16px 0; border-top: 1px solid var(--line); }
.lm-task-name { font-weight: 600; line-height: 1.35; }
.lm-seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--panel); }
.lm-opt { position: relative; border-left: 1px solid var(--line); }
.lm-opt:first-child { border-left: 0; }
.lm-opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.lm-opt > span { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 6px 8px; text-align: center; font-size: .95rem; line-height: 1.25; overflow-wrap: anywhere; transition: background .15s ease; }
.lm-opt:hover > span { background: var(--bg); }
.lm-opt input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: -3px; }
.lm-opt input:checked + span { font-weight: 700; }
.lm-a input:checked + span { background: color-mix(in srgb, var(--house-a) 16%, var(--panel)); color: var(--house-a); box-shadow: inset 0 -4px 0 var(--house-a); }
.lm-b input:checked + span { background: color-mix(in srgb, var(--house-b) 14%, var(--panel)); color: var(--house-b); box-shadow: inset 0 -4px 0 var(--house-b); }
.lm-both input:checked + span { background: color-mix(in srgb, var(--sun) 35%, var(--panel)); color: #6B4E00; box-shadow: inset 0 -4px 0 var(--sun); }
.lm-nav { display: flex; gap: 12px; justify-content: space-between; flex-wrap: wrap; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.lm-nav-start { justify-content: flex-end; border-top: 0; padding-top: 0; }
.lm-nav .btn { flex: 0 1 auto; }
.lm-result .lm-sub, .lm-note { color: var(--ink-soft); font-size: .95rem; }
.lm-total { margin: 18px 0 8px; padding: 18px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); }
.lm-legend { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; font-size: 1rem; }
.lm-legend b { font-family: ui-serif, Georgia, serif; font-size: 1.9rem; line-height: 1; margin-right: 4px; }
.lm-key { display: inline-flex; align-items: baseline; gap: 2px; padding-left: 14px; border-left: 6px solid; border-radius: 2px; }
.lm-key-a { border-color: var(--house-a); }
.lm-key-b { border-color: var(--house-b); }
.lm-bar { display: flex; height: 18px; border-radius: 999px; overflow: hidden; background: var(--line); }
.lm-total .lm-bar { height: 28px; }
.lm-bar-a { background: var(--house-a); }
.lm-bar-b { background: var(--house-b); }
.lm-areas { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 14px; }
.lm-area-top { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.lm-area-name { flex: 1; font-weight: 600; }
.lm-area-split { color: var(--ink-soft); font-variant-numeric: tabular-nums; font-size: .95rem; }
.lm-chat { margin: 22px 0 0; padding: 14px 18px; border-left: 5px solid var(--sun); background: color-mix(in srgb, var(--sun) 16%, var(--panel)); border-radius: 0 12px 12px 0; }
.lm-chat h3 { margin: 0 0 6px; }
.lm-chat p { margin: 0 0 .6em; }
.lm-next { margin-top: 22px; padding: 20px; border-radius: 14px; background: var(--primary); color: var(--on-primary); }
.lm-next h3 { color: var(--on-primary); }
.lm-next p { color: var(--on-primary); opacity: .95; }
.lm-next .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.lm-next .btn { background: var(--sun); color: #2A2230 !important; }
.lm-next .btn.ghost { background: transparent; color: var(--on-primary) !important; border: 2px solid var(--on-primary); }
.lm-next .btn:focus-visible { outline-color: var(--on-primary); }
@media (min-width: 720px) {
  .lm-task { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); align-items: center; gap: 20px; }
  .lm-card { padding: 28px; }
}
@media (prefers-reduced-motion: reduce) { .lm-progress-track span { transition: none; } }
.lm-stage.alt { background: var(--bg); border-bottom: 0; }

#plans .grid + p{margin-top:28px}
#plans .card ul{margin:8px 0 0}
