/* The parent app, in the same voice as the front door.

   Loaded after app.css and scoped entirely to body.parent, so the kid app
   is untouched — a four-year-old should keep the rounded, warm, colourful
   version, and only the grown-up's side gets this.

   Same three typographic decisions as welcome.css: SF Pro Display rather
   than Rounded, semibold rather than black with the tracking pulled in,
   and space doing the work that colour used to do. */

body.parent{
  /* Apple's page greys, warmed a touch because the product is for children */
  --bg:#fbfbfd;
  --bg2:#f5f5f7;
  --panel:#ffffff;
  --line:rgba(0,0,0,.09);
  --txt:#1d1d1f;          /* near-black: softer than #000 on white */
  --dim:#6e6e73;
  --c1:#ff8c42;           /* the brand accent, matching the landing page */
  --on1:#ffffff;

  background:var(--bg);   /* the orange wash at the top is gone */
  font-family:-apple-system,"SF Pro Display","SF Pro Text","Inter",
    system-ui,"Segoe UI",Roboto,sans-serif;
  letter-spacing:-.01em;
}

body.parent .app{background:none}

/* ---------------- type ---------------- */
body.parent h1{
  font-size:clamp(30px,7vw,40px);
  font-weight:600; letter-spacing:-.025em; line-height:1.08;
}
body.parent h2,
body.parent .phead h1{font-weight:600; letter-spacing:-.022em}

body.parent .plabel{
  font-size:12px; font-weight:600; letter-spacing:.06em; text-transform:uppercase;
  color:var(--dim); margin:30px 0 10px;
}
body.parent .small,
body.parent .hint{color:var(--dim); letter-spacing:-.004em}

/* ---------------- surfaces ---------------- */
/* Hairline borders instead of soft shadows. A shadow says "floating"; a
   hairline says "considered", and at this density there are too many
   cards for shadows not to turn into mud. */
body.parent .card,
body.parent .plist,
body.parent .prow,
body.parent .kidcard{
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:20px;
  box-shadow:none;
}
body.parent .plist{overflow:hidden}
body.parent .plist .prow{
  border:0; border-top:1px solid var(--line); border-radius:0;
}
body.parent .plist .prow:first-child{border-top:0}

/* ---------------- buttons ---------------- */
/* One loud button per screen at most. The primary action is ink, the way
   the landing page's is; everything else is a quiet outline. */
body.parent .btn{
  border-radius:980px;
  font-weight:500; font-size:16px; letter-spacing:-.01em;
  min-height:46px;
  background:var(--txt); color:#fff;
  box-shadow:none;
  transition:opacity .25s cubic-bezier(.25,.1,.25,1), transform .25s cubic-bezier(.25,.1,.25,1);
}
body.parent .btn:hover{opacity:.86; transform:scale(1.012)}
body.parent .btn:active{transform:scale(.985)}

body.parent .btn.sec,
body.parent .btn.ghost{
  background:transparent; color:var(--txt);
  box-shadow:inset 0 0 0 1px var(--line);
}
body.parent .btn.sm{min-height:40px; font-size:15px; padding:10px 18px}

/* The four actions on a child's card: equal weight, quiet, legible. The
   orange/teal pair was shouting two different things at once. */
body.parent .kidcard .btn,
body.parent .kidrow .btn{
  background:transparent; color:var(--txt);
  box-shadow:inset 0 0 0 1px var(--line);
  font-weight:500;
}
body.parent .kidcard .btn:first-child,
body.parent .kidrow .btn:first-child{
  background:var(--txt); color:#fff; box-shadow:none;   /* Unlock leads */
}

/* ---------------- chips ---------------- */
body.parent .chip{
  border-radius:980px; font-weight:500; letter-spacing:-.006em;
  background:var(--panel); color:var(--txt);
  box-shadow:inset 0 0 0 1px var(--line);
}
body.parent .chip.on{
  background:var(--txt); color:#fff; box-shadow:none;
}

/* ---------------- the tab bar ---------------- */
body.parent .nav{
  background:rgba(255,255,255,.82);
  -webkit-backdrop-filter:saturate(180%) blur(20px);
  backdrop-filter:saturate(180%) blur(20px);
  border-top:1px solid var(--line);
}
body.parent .nav a{font-weight:500; letter-spacing:-.004em}
body.parent .nav a.on{color:var(--txt)}

/* ---------------- the unlock screen ---------------- */
body.parent .code{
  font-weight:600; letter-spacing:.14em;
  font-variant-numeric:tabular-nums;
}
body.parent .qrbox{border-radius:22px}

/* ---------------- forms ---------------- */
body.parent input,
body.parent select,
body.parent textarea{
  font-family:inherit; letter-spacing:-.008em;
  border-radius:12px;
}

/* wishes */
body.parent .wishnudge{display:flex;justify-content:space-between;align-items:center;
  padding:15px 18px;margin:0 0 12px;border-radius:18px;text-decoration:none;
  background:var(--txt);color:#fff;font-weight:500;letter-spacing:-.01em}
body.parent .wbadge{display:inline-grid;place-items:center;min-width:22px;height:22px;padding:0 6px;
  border-radius:11px;background:var(--c1);color:#fff;font-size:13px;font-weight:600}
body.parent .wishcard{margin-bottom:10px}
body.parent .wishcard .ans,body.parent .card .ans{width:100%;box-sizing:border-box;margin-top:6px}

/* ------------------------------ moments ------------------------------ */
body.parent .momentsbtn{width:100%;margin-top:8px}
body.parent .mwarn{margin:0 0 10px;font-size:14.5px;line-height:1.45}
body.parent .mmonth{margin:22px 2px 10px;font-size:13px;font-weight:600;letter-spacing:.05em;
  text-transform:uppercase;color:var(--dim)}
body.parent .mgrid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
@media (min-width:560px){body.parent .mgrid{grid-template-columns:repeat(3,1fr)}}
body.parent .mtile{margin:0;background:var(--panel);border:1px solid var(--line);border-radius:18px;overflow:hidden}
body.parent .mmedia{position:relative;aspect-ratio:1;background:var(--bg2);display:grid;place-items:center;cursor:pointer}
body.parent .mmedia img,body.parent .mmedia video{width:100%;height:100%;object-fit:cover;display:block}
body.parent .mplay{position:absolute;width:40px;height:40px;border-radius:50%;background:rgba(0,0,0,.5);
  color:#fff;display:grid;place-items:center;font-size:15px;padding-left:3px}
body.parent .mvoice{display:grid;place-items:center;gap:4px;font-size:44px}
body.parent .mvoice small{font-size:13px;color:var(--dim)}
body.parent .mvoicebig{font-size:64px;text-align:center;margin:8px 0}
body.parent .mexp{position:absolute;left:8px;top:8px;padding:3px 8px;border-radius:980px;
  background:var(--c1);color:#fff;font-size:11.5px;font-weight:600}
body.parent .mtile figcaption{display:flex;align-items:center;justify-content:space-between;padding:8px 10px 0}
body.parent .mstars button,body.parent .mheart{border:0;background:none;padding:2px;font-size:17px;line-height:1;
  color:var(--line);cursor:pointer}
body.parent .mstars button.on{color:#ffb703}
body.parent .mheart{font-size:21px;color:var(--dim)}
body.parent .mheart.on{color:#e5383b}
body.parent .msub{padding:2px 10px 10px;font-size:12.5px;color:var(--dim)}

/* ------------------------------- the plan -------------------------------- */
body.parent .plancard{padding:22px;margin-bottom:12px}
body.parent .plancard.center{text-align:center}
body.parent .planhead{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px;font-size:18px}
body.parent .planprice{font-size:34px;font-weight:600;letter-spacing:-.03em;margin:4px 0 8px}
body.parent .planprice .per{font-size:16px;font-weight:400;color:var(--dim);letter-spacing:0}
body.parent .plangives{margin:12px 0 16px;padding:0;list-style:none;display:grid;gap:9px}
body.parent .plangives li{padding-left:26px;position:relative;font-size:15.5px;line-height:1.4}
body.parent .plangives li::before{content:'';position:absolute;left:2px;top:4px;width:14px;height:8px;
  border-left:2.4px solid var(--c1);border-bottom:2.4px solid var(--c1);transform:rotate(-45deg)}
body.parent .pill{padding:4px 11px;border-radius:980px;font-size:12.5px;font-weight:600}
body.parent .pill.ok{background:#e4f6ec;color:#17703f}
body.parent .pill.warn{background:#fff0d9;color:#9a5a00}
body.parent .planwarn{color:#9a5a00;margin:4px 0 8px}
body.parent .plansafe{margin-top:12px;line-height:1.5}
body.parent .spin{width:30px;height:30px;margin:0 auto 12px;border-radius:50%;
  border:3px solid var(--line);border-top-color:var(--txt);animation:spin .8s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}

/* the sign-in agreement */
body.parent .agree{display:flex;gap:10px;align-items:flex-start;margin:4px 2px 14px;font-size:13.5px;line-height:1.45;
  color:var(--dim);cursor:pointer}
body.parent .agree input{margin-top:3px;width:18px;height:18px;flex:0 0 auto;accent-color:var(--txt)}
body.parent .agree small{display:block;opacity:.8}
