/* KiddoCapture marketing site — brand palette:
   navy #122f4e · blue #3e93c0 · green #5cca8b · orange #f2b33a */

:root {
  --navy: #122f4e;
  --navy-soft: #1d456e;
  --blue: #3e93c0;
  --blue-soft: #e8f3f9;
  --blue-tint: #f3f9fc;
  --green: #5cca8b;
  --green-soft: #e9f8f0;
  --orange: #f2b33a;
  --orange-soft: #fdf3dd;
  --ink: #24384c;
  --muted: #5c7189;
  --line: #e3ebf2;
  --card: #ffffff;
  --bg: #ffffff;
  --radius: 16px;
  --shadow: 0 6px 24px rgba(18, 47, 78, 0.08);
  --shadow-lift: 0 12px 36px rgba(18, 47, 78, 0.14);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; overflow-x: clip; }
body {
  font-family: 'Nunito', 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  overflow-x: hidden;
  overflow-x: clip;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: 'Nunito', 'Segoe UI', sans-serif;
  color: var(--navy);
  line-height: 1.2;
  font-weight: 800;
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); letter-spacing: -0.01em; }
h3 { font-size: 1.2rem; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-bar { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav-logo img { height: 44px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a { color: var(--navy); font-weight: 700; font-size: 0.98rem; }
.nav-links a:hover { color: var(--blue); text-decoration: none; }
.nav-links a.active { color: var(--blue); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 3px; background: var(--navy); border-radius: 2px; margin: 5px 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  cursor: pointer;
  border: 0;
  font-family: inherit;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.btn-primary { background: var(--orange); color: var(--navy); }
.btn-secondary { background: var(--blue); color: #fff; }
.btn-outline { background: transparent; color: var(--navy); border: 2px solid var(--line); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-lg { padding: 16px 36px; font-size: 1.1rem; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(180deg, var(--blue-tint) 0%, #ffffff 100%);
  padding: 72px 0 56px;
  text-align: center;
  position: relative;
}
.hero .eyebrow {
  display: inline-block;
  background: var(--green-soft);
  color: #2c8a58;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
  letter-spacing: 0.03em;
}
.hero h1 { max-width: 820px; margin: 0 auto 20px; }
.hero h1 .accent { color: var(--blue); }
.hero p.lede { max-width: 640px; margin: 0 auto 32px; font-size: 1.2rem; color: var(--muted); }
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-note { margin-top: 16px; font-size: 0.9rem; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section.tint { background: var(--blue-tint); }
.section.navy { background: var(--navy); }
.section.navy h2, .section.navy h3 { color: #fff; }
.section.navy p { color: #b9cbdd; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section-head p { color: var(--muted); margin-top: 12px; font-size: 1.1rem; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.98rem; }

.icon-chip {
  width: 56px; height: 56px;
  border-radius: 15px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 16px;
}
.icon-chip svg { width: 30px; height: 30px; }

/* Generated illustrations */
.shot {
  border-radius: 18px;
  box-shadow: var(--shadow-lift);
  overflow: hidden;
}
.shot img { width: 100%; display: block; }
.hero-shot {
  max-width: 880px;
  margin: 44px auto 0;
}
.band-img {
  max-width: 820px;
  margin: 0 auto 44px;
}
.chip-blue { background: var(--blue-soft); }
.chip-green { background: var(--green-soft); }
.chip-orange { background: var(--orange-soft); }

/* ---------- Steps strip ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step { text-align: center; padding: 12px; }
.step .num {
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  font-weight: 800; font-size: 1.4rem; color: #fff;
}
.step:nth-child(1) .num { background: var(--blue); }
.step:nth-child(2) .num { background: var(--orange); }
.step:nth-child(3) .num { background: var(--green); }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 0.98rem; }

/* ---------- Pricing ---------- */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.tier {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 36px 30px;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow);
  position: relative;
}
.tier.featured { border: 2px solid var(--blue); box-shadow: var(--shadow-lift); }
.tier .flag {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--blue); color: #fff;
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.04em;
  padding: 5px 16px; border-radius: 999px; white-space: nowrap;
}
.tier .tname { font-size: 1.05rem; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.tier .price { font-size: 2.6rem; font-weight: 800; color: var(--navy); margin: 10px 0 2px; }
.tier .price small { font-size: 1rem; font-weight: 700; color: var(--muted); }
.tier .psub { color: var(--muted); font-size: 0.92rem; min-height: 44px; }
.tier ul { list-style: none; margin: 22px 0 28px; flex: 1; }
.tier li { padding: 7px 0 7px 30px; position: relative; font-size: 0.97rem; }
.tier li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }
.tier li.no { color: #9db0c2; }
.tier li.no::before { content: "—"; color: #c4d2de; }
.tier .btn { text-align: center; }

.addons { margin-top: 56px; }
.addon-row {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 18px 24px; margin-bottom: 12px;
}
.addon-row .a-name { font-weight: 800; color: var(--navy); }
.addon-row .a-desc { color: var(--muted); font-size: 0.92rem; }
.addon-row .a-price { font-weight: 800; color: var(--navy); white-space: nowrap; }
.badge-soon {
  display: inline-block; background: var(--orange-soft); color: #a8720d;
  font-size: 0.75rem; font-weight: 800; padding: 3px 10px; border-radius: 999px;
  margin-left: 8px; vertical-align: middle;
}
.badge-inc {
  display: inline-block; background: var(--green-soft); color: #2c8a58;
  font-size: 0.75rem; font-weight: 800; padding: 3px 10px; border-radius: 999px;
  margin-left: 8px; vertical-align: middle;
}

/* ---------- Feature detail rows ---------- */
.feat-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  align-items: center; padding: 40px 0;
}
.feat-row.flip .feat-text { order: 2; }
.feat-text h2 { margin-bottom: 14px; }
.feat-text p { color: var(--muted); margin-bottom: 14px; }
.feat-text ul { list-style: none; }
.feat-text li { padding: 5px 0 5px 30px; position: relative; }
.feat-text li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }

/* CSS mockup panels standing in for screenshots */
.mock {
  border-radius: 18px; border: 1px solid var(--line);
  box-shadow: var(--shadow-lift); overflow: hidden; background: #fff;
}
.mock .mock-top { background: var(--navy); height: 36px; display: flex; align-items: center; gap: 6px; padding: 0 14px; }
.mock .mock-top i { width: 10px; height: 10px; border-radius: 50%; background: #3e93c0; display: block; }
.mock .mock-top i:nth-child(2) { background: #5cca8b; }
.mock .mock-top i:nth-child(3) { background: #f2b33a; }
.mock .mock-body { padding: 22px; }
.mock .bar { height: 12px; border-radius: 6px; background: var(--line); margin-bottom: 12px; }
.mock .bar.w60 { width: 60%; } .mock .bar.w80 { width: 80%; } .mock .bar.w40 { width: 40%; }
.mock .pillrow { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.mock .pill { height: 26px; border-radius: 999px; padding: 0 14px; display: flex; align-items: center; font-size: 0.75rem; font-weight: 800; }
.mock .pill.b { background: var(--blue-soft); color: var(--blue); }
.mock .pill.g { background: var(--green-soft); color: #2c8a58; }
.mock .pill.o { background: var(--orange-soft); color: #a8720d; }
.mock .prog { height: 10px; border-radius: 5px; background: var(--line); overflow: hidden; margin-bottom: 8px; }
.mock .prog i { display: block; height: 100%; background: var(--green); border-radius: 5px; }
.mock .kidrow { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.mock .kidrow:last-child { border-bottom: 0; }
.mock .avatar { width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0; display:flex; align-items:center; justify-content:center; font-size: 0.85rem; font-weight: 800; color: #fff; }
.mock .kidname { flex: 1; }
.mock .kidname .bar { margin-bottom: 0; height: 10px; }
.mock .tick { color: var(--green); font-weight: 800; }
.mock .tick.pend { color: #c4d2de; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band h2 { margin-bottom: 14px; }
.cta-band p { margin-bottom: 28px; max-width: 560px; margin-left: auto; margin-right: auto; }

/* ---------- Forms ---------- */
.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  padding: 36px; box-shadow: var(--shadow); max-width: 640px; margin: 0 auto;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { margin-bottom: 16px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { display: block; font-weight: 800; font-size: 0.9rem; color: var(--navy); margin-bottom: 6px; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: 1rem; color: var(--ink); background: #fff;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--blue);
}
.form-note { font-size: 0.85rem; color: var(--muted); margin-top: 14px; }
.form-ok {
  background: var(--green-soft); border: 1px solid var(--green); color: #216b44;
  border-radius: 12px; padding: 18px; font-weight: 700; text-align: center;
}
.form-err {
  background: #fdecec; border: 1px solid #e08a8a; color: #a33;
  border-radius: 12px; padding: 14px; font-weight: 700; text-align: center; margin-bottom: 16px;
}
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq-item summary {
  cursor: pointer; font-weight: 800; color: var(--navy); padding: 16px 0;
  list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; color: var(--blue); }
.faq-item[open] summary::after { content: "–"; }
.faq-item .faq-body { padding: 0 0 18px; color: var(--muted); }

/* ---------- Prose (privacy/terms) ---------- */
.prose { max-width: 780px; margin: 0 auto; }
.prose h1 { margin-bottom: 8px; }
.prose .updated { color: var(--muted); font-size: 0.9rem; margin-bottom: 32px; }
.prose h2 { font-size: 1.3rem; margin: 32px 0 10px; }
.prose p, .prose li { color: var(--ink); margin-bottom: 12px; }
.prose ul { padding-left: 24px; margin-bottom: 12px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #b9cbdd; padding: 56px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.site-footer img { height: 40px; width: auto; margin-bottom: 16px; }
.site-footer h4 { color: #fff; font-size: 0.95rem; margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.06em; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #b9cbdd; }
.site-footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 24px; font-size: 0.85rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-3, .grid-4, .tiers { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .feat-row { grid-template-columns: 1fr; gap: 28px; }
  .feat-row.flip .feat-text { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4, .tiers { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .nav-links {
    display: none;
    position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; padding: 20px 24px; gap: 18px;
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .tier.featured { order: -1; }
  .addon-row { flex-direction: column; align-items: flex-start; }
  .section { padding: 52px 0; }
}
