/* LoopMyKid website — design tokens from the locked app look (2026-11-13,
   look-samples-2026-11-12/LOCKED_LOOK.md). Change colors and type here first. */
:root {
  --cream: #FFFAF0;        /* page background */
  --card: #FFFDF8;         /* soft warm white */
  --cobalt: #2459EC;       /* the one action color */
  --cobalt-press: #1B47C4;
  --tint: #E3EAFF;         /* selected / highlight */
  --ink: #1F2A44;          /* main text, navy charcoal */
  --muted: #6E6A63;        /* warm grey */
  --line: #EDE6D8;
  --coral: #F2796B;        /* child dot */
  --mint: #4CC9A6;         /* child dot */
  --radius: 24px;
  --shadow: 0 1px 2px rgba(31,42,68,.04), 0 8px 24px rgba(31,42,68,.06);
  --font: ui-rounded, "SF Pro Rounded", "Nunito", system-ui, -apple-system, sans-serif;
  --max: 1080px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {                  /* midnight navy (locked look, Sean 2026-11-13) */
    --cream: #141B2D;
    --card: #202A42;
    --cobalt: #3F6FFF;
    --cobalt-press: #5B83FF;
    --tint: #28376E;
    --ink: #FFF6E6;
    --muted: #9AA3B8;
    --line: #28324C;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.25);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: var(--font); font-size: 18px; line-height: 1.55;
}
a { color: var(--cobalt); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header { padding: 20px 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: var(--ink); text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 10px; }

/* Buttons: solid cobalt only on the thing that acts */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 28px; border-radius: 999px; border: 0;
  background: var(--cobalt); color: #fff; font: inherit; font-weight: 800;
  text-decoration: none; cursor: pointer; transition: transform .14s, background .2s;
}
.btn:hover { background: var(--cobalt-press); }
.btn:active { transform: scale(1.03, .9); }
.pill { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--tint); color: var(--cobalt); font-weight: 700; font-size: 15px; }

/* Hero */
.hero { padding: 56px 0 72px; }
.hero h1 { font-size: clamp(36px, 6vw, 60px); line-height: 1.08; letter-spacing: -.02em; margin: 16px 0 20px; font-weight: 800; max-width: 16ch; }
.hero p.lede { font-size: clamp(19px, 2.2vw, 22px); color: var(--muted); max-width: 40ch; margin: 0 0 32px; }
.hero .cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.hero .note { color: var(--muted); font-size: 15px; }

/* Sections */
section.block { padding: 56px 0; }
section.block h2 { font-size: clamp(28px, 4vw, 36px); line-height: 1.15; margin: 0 0 24px; font-weight: 800; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; }
.card h3 { margin: 0 0 8px; font-size: 19px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 8px; vertical-align: middle; }
.dot.coral { background: var(--coral); } .dot.mint { background: var(--mint); }

/* Legal / long text */
.doc { max-width: 720px; padding: 32px 20px 72px; margin: 0 auto; }
.doc h1 { font-size: 36px; margin: 0 0 4px; }
.doc .updated { color: var(--muted); margin: 0 0 32px; font-size: 15px; }
.doc h2 { font-size: 21px; margin: 32px 0 8px; }
.doc ul { padding-left: 22px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 15px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
.site-footer a { color: var(--muted); }
.site-footer nav { display: flex; gap: 20px; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
