/* Kiddova marketing site. Brand: navy #1F2A44, coral #FF6B5B, teal #2BB3A3, yellow #FFC145, cream #FFF8EF. */
:root {
  --navy: #1F2A44; --navy-2: #2C3A5C; --coral: #FF6B5B; --coral-d: #E5523F; --teal: #2BB3A3; --teal-d: #1E8F82;
  --yellow: #FFC145; --cream: #FFF8EF; --cream-2: #FBEFDF; --ink: #1F2A44; --muted: #5B6478; --line: #ECE4D8;
  --radius: 22px; --shadow: 0 1px 2px rgba(31,42,68,.06), 0 12px 32px rgba(31,42,68,.08);
  --font: ui-rounded, "SF Pro Rounded", "Nunito", "Segoe UI", system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: #fff; line-height: 1.55; font-size: 17px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-d); }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(38px, 6vw, 64px); font-weight: 800; }
h2 { font-size: clamp(30px, 4.2vw, 44px); font-weight: 800; }
h3 { font-size: 21px; font-weight: 750; }
p { margin: 0 0 1em; }
.wrap { width: min(1160px, 100% - 40px); margin: 0 auto; }
.narrow { width: min(760px, 100% - 40px); margin: 0 auto; }
.muted { color: var(--muted); }
.center { text-align: center; }
.eyebrow { display: inline-block; font-size: 14px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; color: var(--coral-d); margin-bottom: 12px; }
.lead { font-size: clamp(18px, 2vw, 21px); color: var(--muted); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; border-radius: 8px; z-index: 99; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 6px; }

/* ---------- logo ---------- */
.word { font-weight: 800; letter-spacing: -.03em; line-height: 1; white-space: nowrap; color: var(--navy); text-decoration: none; display: inline-flex; align-items: baseline; }
.word svg { display: inline-block; height: .92em; width: 1em; margin: 0 .03em; overflow: visible; align-self: baseline; transform: translateY(.02em); }
.logo { font-size: 30px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 24px; border-radius: 999px; font-weight: 750; font-size: 17px; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: inherit; transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--coral); color: #fff; }
.btn-primary:hover { background: var(--coral-d); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-2); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-sm { padding: 9px 18px; font-size: 15px; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.center .btns { justify-content: center; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,248,239,.92); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: 72px; }
.nav { display: flex; gap: 24px; margin-left: auto; align-items: center; }
.nav a { color: var(--navy); text-decoration: none; font-weight: 650; font-size: 16px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--coral-d); }
.nav .btn { color: #fff; }
.nav .signin { color: var(--muted); }
.menu-btn { display: none; margin-left: auto; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--navy); }
@media (max-width: 900px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--cream); border-bottom: 1px solid var(--line); padding: 8px 20px 20px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; font-size: 18px; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 12px; border-bottom: 0; }
}

/* ---------- sections ---------- */
section { padding: 96px 0; }
.bg-cream { background: var(--cream); }
.bg-navy { background: var(--navy); color: #fff; }
.bg-navy .muted, .bg-navy .lead { color: #C9D0E0; }
.bg-navy .eyebrow { color: var(--yellow); }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }

/* hero */
.hero { background: var(--cream); padding: 72px 0 0; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero h1 span { color: var(--coral); }
.hero .lead { max-width: 560px; margin-bottom: 28px; }
.hero-note { font-size: 15px; color: var(--muted); margin-top: 16px; }
.hero-art { position: relative; display: flex; justify-content: center; align-items: flex-start; gap: 24px; padding: 8px 0 72px; }
.hero-art::before { content: ""; position: absolute; width: 440px; height: 440px; border-radius: 50%; left: 50%; top: 46%; transform: translate(-50%, -50%); background: radial-gradient(circle at 35% 35%, #FFE1DC, #D6F1EC 75%); }
.hero-art .phone { position: relative; width: 236px; flex: none; }
.hero-art .phone.b { margin-top: 64px; }
@media (max-width: 1100px) { .hero-art .phone { width: 200px; } }
@media (max-width: 900px) {
  .hero { padding-top: 48px; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-art { gap: 14px; padding-bottom: 56px; }
  .hero-art::before { width: 320px; height: 320px; }
  .hero-art .phone { width: min(168px, 44vw); }
  .hero-art .phone.b { margin-top: 44px; }
}

/* device frames: thin dark bezel, the screenshot shown whole at its real proportions */
.phone { border-radius: 40px; background: #1B2234; padding: 7px; box-shadow: 0 0 0 1px rgba(31,42,68,.08), 0 24px 48px -12px rgba(31,42,68,.30); }
.phone img { border-radius: 33px; width: 100%; height: auto; }
.tablet { border-radius: 28px; background: #1B2234; padding: 10px; box-shadow: 0 0 0 1px rgba(31,42,68,.08), 0 30px 60px -16px rgba(31,42,68,.30); }
.tablet img { border-radius: 19px; width: 100%; height: auto; }

/* strip of trust facts */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 40px 0; }
.fact { display: flex; gap: 12px; align-items: center; font-weight: 650; font-size: 16px; }
.fact .ic { flex: none; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; }
@media (max-width: 900px) { .facts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .facts { grid-template-columns: 1fr; } }

/* pain points */
.pains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pain { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.pain .before { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--coral); text-decoration-thickness: 2px; margin-bottom: 10px; }
.pain .after { font-weight: 700; }
@media (max-width: 900px) { .pains { grid-template-columns: 1fr; } }

/* feature rows */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 56px 0; }
.feature.flip .feature-art { order: -1; }
.feature-art { display: flex; justify-content: center; position: relative; }
.feature-art .phone { width: 236px; position: relative; z-index: 1; }
.feature-art::before { content: ""; position: absolute; width: 340px; height: 340px; border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%, -50%); background: var(--tint, #FFE1DC); }
.ticks { list-style: none; padding: 0; margin: 20px 0 0; }
.ticks li { position: relative; padding-left: 34px; margin-bottom: 12px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.pill { display: inline-block; font-size: 13px; font-weight: 750; padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; }
.pill.coral { background: #FFE1DC; color: #B8382A; }
.pill.teal { background: #D6F1EC; color: #16756B; }
.pill.yellow { background: #FFEFC7; color: #8A5A00; }
.pill.navy { background: #E2E6F0; color: var(--navy); }
@media (max-width: 900px) {
  .feature { grid-template-columns: 1fr; gap: 36px; padding: 40px 0; }
  .feature.flip .feature-art { order: 0; }
  .feature-art .phone { width: 210px; }
  .feature-art::before { width: 300px; height: 300px; }
}

/* cards grid */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; } }
.card { background: #fff; border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.bg-navy .card { background: var(--navy-2); box-shadow: none; }
.card h3 { margin-bottom: 8px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.bg-navy .card p { color: #C9D0E0; }
.card .ic { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 16px; }
.ic svg { width: 24px; height: 24px; }
.ic.coral { background: #FFE1DC; color: var(--coral-d); }
.ic.teal { background: #D6F1EC; color: var(--teal-d); }
.ic.yellow { background: #FFEFC7; color: #B07800; }
.ic.navy { background: #E2E6F0; color: var(--navy); }

/* automation flow */
.flow { display: flex; flex-direction: column; gap: 10px; }
.flow .step { display: flex; align-items: center; gap: 14px; background: #fff; border-radius: 16px; padding: 14px 18px; box-shadow: var(--shadow); font-weight: 650; font-size: 16px; }
.flow .tag { font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; flex: none; }
.flow .when { background: #FFEFC7; color: #8A5A00; }
.flow .then { background: #D6F1EC; color: #16756B; }

/* tablet showcase */
.showcase { position: relative; max-width: 960px; margin: 0 auto; }

/* steps */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps .card { position: relative; padding-top: 64px; }
.steps .card::before { counter-increment: s; content: counter(s); position: absolute; top: 22px; left: 26px; width: 32px; height: 32px; border-radius: 50%; background: var(--coral); color: #fff; font-weight: 800; display: grid; place-items: center; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }

/* devices */
.devices { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; }
.device { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px; font-weight: 700; font-size: 15px; }

/* faq */
.faq details { background: #fff; border-radius: 18px; padding: 0 24px; margin-bottom: 12px; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; font-weight: 750; font-size: 18px; padding: 20px 32px 20px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 16px; font-size: 26px; color: var(--coral); font-weight: 600; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 20px; margin: 0; }

/* cta */
.cta { background: var(--coral); color: #fff; border-radius: 32px; padding: 64px 32px; text-align: center; position: relative; overflow: hidden; }
.cta h2 { color: #fff; }
.cta p { color: #FFF1EE; font-size: 19px; max-width: 560px; margin: 0 auto 28px; }
.cta .btn-dark { background: var(--navy); }
.cta .btn-ghost { border-color: #fff; color: #fff; }
.cta .btn-ghost:hover { background: #fff; color: var(--coral-d); }

/* page header for inner pages */
.page-head { background: var(--cream); padding: 72px 0 64px; text-align: center; }
.page-head .lead { max-width: 640px; margin: 0 auto; }

/* forms */
.form { background: #fff; border-radius: 26px; padding: 32px; box-shadow: var(--shadow); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 620px) { .form .row { grid-template-columns: 1fr; } .form { padding: 22px; } }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-weight: 700; font-size: 15px; }
.field .opt { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea { font: inherit; font-size: 16px; padding: 12px 14px; border: 1.5px solid #D9D3C8; border-radius: 12px; background: #fff; color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px #D6F1EC; }
.field textarea { min-height: 120px; resize: vertical; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { border-radius: 14px; padding: 14px 16px; margin-top: 16px; font-weight: 650; display: none; }
.form-msg.ok { display: block; background: #D6F1EC; color: #16756B; }
.form-msg.err { display: block; background: #FFE1DC; color: #B8382A; }
.demo-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
@media (max-width: 900px) { .demo-grid { grid-template-columns: 1fr; } }

/* prose (legal) */
.prose h2 { font-size: 26px; margin-top: 40px; }
.prose h3 { margin-top: 24px; }
.prose li { margin-bottom: 6px; }
.draft { background: #FFEFC7; color: #6B4600; border-radius: 14px; padding: 14px 18px; font-weight: 650; margin-bottom: 28px; }

/* footer */
.site-footer { background: var(--navy); color: #C9D0E0; padding: 64px 0 40px; margin-top: 0; }
.site-footer .word { color: #fff; font-size: 28px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h4 { color: #fff; margin: 0 0 12px; font-size: 15px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #C9D0E0; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.foot-bottom { border-top: 1px solid #34426A; margin-top: 40px; padding-top: 24px; font-size: 14px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
@media (max-width: 800px) { .foot-grid { grid-template-columns: 1fr 1fr; } }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } .btn { transition: none; } }
.no-js .reveal { opacity: 1; transform: none; }
