/* MyRooster public site. System fonts only: nothing is loaded from other servers, so no visitor tracking. */
:root {
  --blue: #2563d9;
  --blue-dark: #173f9a;
  --navy: #0f2a5f;
  --coral: #ff5a4e;
  --green: #16a34a;
  --ink: #111827;
  --muted: #4b5563;
  --line: #e5e7eb;
  --soft: #f3f6fc;
  --card: #ffffff;
  --bg: #ffffff;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(15, 42, 95, 0.06), 0 8px 24px rgba(15, 42, 95, 0.08);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}
img, svg { max-width: 100%; }
a { color: var(--blue); text-underline-offset: 2px; }
a:hover { color: var(--blue-dark); }
h1, h2, h3 { line-height: 1.2; color: var(--navy); letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); margin: 0 0 0.5em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); margin: 0 0 0.6em; }
h3 { font-size: 1.15rem; margin: 0 0 0.35em; }
[id] { scroll-margin-top: 80px; } /* keeps anchored headings clear of the sticky header */
:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; border-radius: 4px; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 5; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font-size: 1.25rem; }
.brand b { font-weight: 700; }
.brand span { font-weight: 400; }
.logo { width: 34px; height: 34px; flex: none; }
.site-nav { display: flex; gap: 22px; margin-left: auto; }
.site-nav a { color: var(--muted); text-decoration: none; font-weight: 500; }
.site-nav a:hover { color: var(--navy); }
.lang { border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; font-size: 0.9rem; text-decoration: none; color: var(--navy); white-space: nowrap; }
.lang:hover { border-color: var(--blue); }

/* Hero */
.hero { background: radial-gradient(1200px 500px at 85% -10%, rgba(37, 99, 217, 0.14), transparent 60%), linear-gradient(180deg, var(--soft), #fff); padding: 64px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }
.lead { font-size: 1.2rem; color: var(--muted); margin: 0 0 28px; max-width: 34em; }
.badges { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.badge { display: inline-flex; align-items: center; gap: 8px; background: var(--navy); color: #fff; border-radius: 12px; padding: 10px 16px; font-weight: 600; font-size: 0.95rem; }
.badge svg { width: 20px; height: 20px; fill: currentColor; }
.badge-note { color: var(--muted); font-size: 0.95rem; }

/* Phone mock-up of the child's Today screen */
.phone { width: min(320px, 100%); margin-inline: auto; border-radius: 40px; background: #0b1220; padding: 12px; box-shadow: 0 30px 60px rgba(15, 42, 95, 0.25); }
.screen { border-radius: 30px; overflow: hidden; background: #f8fafc; font-size: 13px; line-height: 1.35; }
.screen-bar { background: var(--blue); color: #fff; padding: 22px 16px 12px; font-weight: 600; font-size: 15px; display: flex; justify-content: space-between; }
.screen-body { padding: 12px; display: grid; gap: 8px; }
.progress { border-radius: 14px; padding: 12px; color: #fff; background: linear-gradient(135deg, var(--blue), var(--blue-dark)); }
.progress small { opacity: 0.85; }
.bar { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.25); margin-top: 8px; overflow: hidden; }
.bar i { display: block; height: 100%; width: 40%; background: #fff; border-radius: 3px; }
.row { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 12px; padding: 9px 10px; border-left: 4px solid var(--c, var(--blue)); }
.row .t { color: var(--muted); width: 38px; flex: none; font-variant-numeric: tabular-nums; }
.row .x { flex: 1; }
.row .x b { display: block; color: var(--ink); font-weight: 600; }
.row .x span { color: var(--muted); }
.tick { width: 20px; height: 20px; border-radius: 6px; border: 2px solid #9ca3af; flex: none; }
.tick.on { background: var(--green); border-color: var(--green); position: relative; }
.tick.on::after { content: ""; position: absolute; left: 5px; top: 1px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.row.quiet { background: transparent; border: 1px solid var(--line); border-left-width: 1px; }
.row.busy { background: #eef1f5; border-left-color: transparent; }
.row.quiet .x b, .row.busy .x b { color: var(--muted); }
.row.done .x b { text-decoration: line-through; color: var(--muted); }

/* Sections */
section.block { padding: 80px 0; }
section.alt { background: var(--soft); }
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head p { color: var(--muted); font-size: 1.1rem; margin: 0; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { background: var(--card); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); counter-increment: step; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--coral); color: #fff; font-weight: 700; margin-bottom: 14px; }
.steps p, .features p { color: var(--muted); margin: 0; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.feature .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(37, 99, 217, 0.1); margin-bottom: 14px; }
.feature .ico svg { width: 24px; height: 24px; stroke: var(--blue); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.promise { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checks li { padding-left: 34px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--green); }
.checks li::after { content: ""; position: absolute; left: 8px; top: 7px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }

.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 860px; }
.plan { background: var(--card); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); border: 2px solid transparent; }
.plan.main { border-color: var(--blue); }
.plan .price { font-size: 2rem; font-weight: 700; color: var(--navy); margin: 4px 0 12px; }
.plan .price small { font-size: 1rem; font-weight: 500; color: var(--muted); }
.plan ul { padding-left: 20px; margin: 0; color: var(--muted); }
.fine { color: var(--muted); font-size: 0.95rem; margin-top: 20px; }

.faq { max-width: 760px; }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--blue); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: 10px 0 0; }

/* Text pages: privacy, terms, refunds, support */
.page-head { background: linear-gradient(180deg, var(--soft), #fff); padding: 56px 0 24px; }
.page-head p { color: var(--muted); margin: 0; }
.prose { padding: 24px 0 72px; }
.prose h2 { font-size: 1.4rem; margin-top: 2em; }
.prose h3 { margin-top: 1.4em; }
.prose li { margin-bottom: 0.35em; }
.prose table { border-collapse: collapse; width: 100%; margin: 1em 0; font-size: 0.95rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--navy); }
.table-scroll { overflow-x: auto; }
.draft { background: #fff7ed; border: 1px solid #fdba74; border-radius: 12px; padding: 12px 16px; color: #9a3412; font-size: 0.95rem; }
.fill { background: #fef3c7; border-radius: 4px; padding: 0 4px; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 24px 0; }
.contact-cards div { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.contact-cards h3 { margin: 0 0 6px; }
.contact-cards p { margin: 0; color: var(--muted); }

/* Footer */
.site-footer { background: var(--navy); color: #c7d2fe; padding: 48px 0 24px; }
.site-footer .brand { color: #fff; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 32px; }
.footer-grid p { margin: 12px 0 0; }
.footer-grid nav { display: grid; gap: 8px; align-content: start; }
.footer-grid nav a { text-decoration: none; }
.footer-grid nav a:hover, .footer-grid nav a[aria-current] { text-decoration: underline; }
.footer-mail p { margin: 0 0 8px; }
.footer-small { border-top: 1px solid rgba(255, 255, 255, 0.15); margin-top: 32px; padding-top: 16px; font-size: 0.9rem; }
.footer-small p { margin: 0; }

/* Coming-soon holding page (tools/build-soon.js): one screen, no nav, slim footer */
.page-soon { min-height: 100vh; display: flex; flex-direction: column; }
.page-soon .lang { margin-left: auto; }
.hero.soon { flex: 1; display: flex; align-items: center; padding: 56px 0; }
.soon-points { margin: 0 0 28px; }
.soon-stores { display: inline-block; background: rgba(37, 99, 217, 0.1); color: var(--navy); border-radius: 999px; padding: 6px 14px; font-weight: 600; font-size: 0.95rem; margin: 0 0 16px; }
.soon-contact { color: var(--muted); margin: 0; }
.soon-footer { border-top: 1px solid var(--line); padding: 16px 0; font-size: 0.9rem; color: var(--muted); }
.soon-footer p { margin: 0; }

@media (max-width: 900px) {
  .hero-grid, .promise { grid-template-columns: 1fr; }
  .hero { padding-top: 40px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .features { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .site-nav { display: none; }
  .lang { margin-left: auto; }
  .hero.soon { padding: 32px 0 48px; }
  section.block { padding: 56px 0; }
  .steps, .features, .pricing, .contact-cards, .footer-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
