:root {
  color-scheme: light;
  --bg: #f7f5f0;
  --surface: #ffffff;
  --surface-2: #efece4;
  --text: #1f2421;
  --muted: #5b625d;
  --border: #e2ddd2;
  --brand: #86d0a2;
  --brand-ink: #246b41;
  --brand-contrast: #0f3320;
  /* Text-strength shades (at least 4.5:1 contrast on every background they sit on). */
  --activities: #2f58c0;
  --activities-bg: #eaf0fd;
  --chores: #1f6e42;
  --chores-bg: #e7f5ec;
  --meals: #a64f12;
  --meals-bg: #fdefe3;
  --radius: 14px;
  --shadow: 0 2px 6px rgba(0, 0, 0, 0.06), 0 12px 32px rgba(0, 0, 0, 0.08);
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.55;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #141715;
    --surface: #1d211f;
    --surface-2: #232825;
    --text: #e9ece9;
    --muted: #a3aba5;
    --border: #323935;
    --brand-ink: #9fdcb6;
    --activities: #8fb0ff;
    --activities-bg: #1f2a44;
    --chores: #7fd3a2;
    --chores-bg: #1b3326;
    --meals: #f3a66b;
    --meals-bg: #3a2718;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  }
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); -webkit-text-size-adjust: 100%; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-ink); }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); }
h3 { font-size: 1.1rem; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--brand-ink); outline-offset: 3px; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.hint { color: var(--muted); font-size: 0.875rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px;
  border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text);
  font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap;
}
.btn:hover { background: var(--surface-2); }
.btn--primary { background: var(--brand); border-color: var(--brand); color: var(--brand-contrast); }
.btn--primary:hover { background: var(--brand); filter: brightness(1.05) saturate(1.1); }
.btn--large { min-height: 52px; padding: 0 26px; font-size: 1.05rem; }
.btn--small { min-height: 36px; padding: 0 14px; font-size: 0.9rem; }
.btn:disabled { opacity: 0.6; cursor: default; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: var(--bg); border-bottom: 1px solid var(--border); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; color: var(--text); text-decoration: none; }
.site-nav { display: flex; align-items: center; gap: 18px; }
.site-nav a:not(.btn) { color: var(--muted); text-decoration: none; font-weight: 500; }
.site-nav a:not(.btn):hover { color: var(--text); }
@media (max-width: 720px) { .site-nav a:not(.btn) { display: none; } }

/* Hero */
.hero { padding: 56px 0 72px; overflow: hidden; }
.hero__inner { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand-ink); margin-bottom: 12px; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 18px; }
.lead { font-size: 1.15rem; color: var(--muted); margin-bottom: 26px; }
.hl { font-weight: 700; padding: 0 4px; border-radius: 4px; }
.hl--activities { background: var(--activities-bg); color: var(--activities); }
.hl--chores { background: var(--chores-bg); color: var(--chores); }
.hl--meals { background: var(--meals-bg); color: var(--meals); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 10px; }
.hero__art { position: relative; margin: 0; padding-bottom: 18%; }
.hero__screen { border-radius: 12px; border: 1px solid var(--border); box-shadow: var(--shadow); }
.hero__paper {
  position: absolute; right: -4%; bottom: 0; width: 62%; padding: 6px; background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18); transform: rotate(2.5deg); border-radius: 2px;
}
.magnet {
  position: absolute; top: -12px; left: 50%; width: 26px; height: 26px; margin-left: -13px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffd88a, #f2b441 60%, #c98a1c); box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
}
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; gap: 36px; }
  .hero { padding-top: 36px; }
}

/* Sections */
.section { padding: 72px 0; }
.section--tinted { background: var(--surface-2); }
.section h2 { margin-bottom: 12px; }
.section__lead { color: var(--muted); font-size: 1.1rem; margin-bottom: 36px; max-width: 680px; }
.center .section__lead { margin-left: auto; margin-right: auto; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.steps li { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.steps__num {
  width: 34px; height: 34px; border-radius: 50%; display: inline-grid; place-items: center; font-weight: 800;
  background: var(--brand); color: var(--brand-contrast);
}
.steps p { color: var(--muted); }
.optional { font-weight: 500; color: var(--muted); font-size: 0.9em; }
.solo { margin-top: 22px; background: var(--chores-bg); border-radius: var(--radius); padding: 22px 24px; }
.solo h3 { margin: 0 0 6px; }
.solo p { margin: 0; max-width: 820px; }

.split { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: center; }
.split__art { margin: 0; max-width: 420px; justify-self: center; }
.split__art figcaption, .screens figcaption { color: var(--muted); font-size: 0.9rem; margin-top: 10px; text-align: center; }
.story { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-direction: column; gap: 16px; font-size: 1.05rem; }
.story li { padding-left: 18px; border-left: 3px solid var(--brand); }
.shadowed { border-radius: 12px; box-shadow: var(--shadow); border: 1px solid var(--border); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; margin-top: 32px; }
.feature { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.feature p { color: var(--muted); }
.feature__icon { font-size: 1.6rem; line-height: 1; }

.screens { display: grid; grid-template-columns: 1fr 260px; gap: 40px; align-items: end; }
.screens figure { margin: 0; }
@media (max-width: 760px) { .screens { grid-template-columns: 1fr; } .screens__phone { max-width: 280px; justify-self: center; } }

/* Sign up */
.section--signup { background: linear-gradient(180deg, var(--surface-2), var(--bg)); }
.signup { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 32px; box-shadow: var(--shadow); }
.signup > p { color: var(--muted); margin: 8px 0 20px; }
.signup__form { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.signup__row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 12px; width: 100%; }
@media (max-width: 560px) { .signup__row { grid-template-columns: 1fr; } .signup { padding: 22px; } }
.field { display: flex; flex-direction: column; gap: 4px; font-weight: 600; font-size: 0.9rem; }
.field small { font-weight: 400; color: var(--muted); }
.field input {
  font: inherit; font-weight: 400; font-size: 1rem; min-height: 46px; padding: 10px 12px; width: 100%;
  border: 1px solid var(--border); border-radius: 10px; background: var(--bg); color: var(--text);
}
.check { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--brand-ink); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.signup__message { padding: 12px 14px; border-radius: 10px; margin-bottom: 16px; font-weight: 600; }
.signup__message.is-ok { background: var(--chores-bg); color: var(--chores); }
.signup__message.is-error { background: #fdecea; color: #b3261e; }

/* FAQ */
details { border-bottom: 1px solid var(--border); padding: 16px 0; }
details:first-of-type { border-top: 1px solid var(--border); margin-top: 20px; }
summary { cursor: pointer; font-weight: 700; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; color: var(--brand-ink); font-size: 1.4rem; line-height: 1; }
details[open] summary::after { content: '–'; }
details p { color: var(--muted); margin-top: 10px; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 28px 0; color: var(--muted); font-size: 0.9rem; }
.site-footer__inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer nav { display: flex; gap: 18px; }
.site-footer a { color: var(--muted); }

/* Privacy page */
.doc { padding: 48px 0 72px; }
.doc h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin-bottom: 8px; }
.doc h2 { font-size: 1.3rem; margin: 32px 0 10px; }
.doc p, .doc li { color: var(--text); margin-bottom: 10px; }
.doc ul { padding-left: 1.2em; }

/* ---------- Name + subtitle in the header ---------- */
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-weight: 800; font-size: 1.15rem; }
.brand__tag { font-weight: 500; font-size: 0.75rem; color: var(--muted); letter-spacing: 0.01em; }
@media (max-width: 420px) { .brand__tag { display: none; } }
@media (max-width: 980px) { .site-nav a:not(.btn) { display: none; } }

/* ---------- Topic sections ---------- */
.kicker { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand-ink); margin-bottom: 8px; }
.kicker--meals { color: var(--meals); }
.kicker--chores { color: var(--chores); }
.kicker--activities { color: var(--activities); }
.body { color: var(--muted); font-size: 1.08rem; margin-bottom: 16px; }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ticks li { padding-left: 28px; position: relative; }
.ticks li::before {
  content: '✓'; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%;
  display: grid; place-items: center; font-size: 0.75rem; font-weight: 800; background: var(--brand); color: var(--brand-contrast);
}
.split--flip > :first-child { order: 2; }
.split__art--wide { max-width: 560px; }
.split__art--phone { max-width: 280px; }
@media (max-width: 860px) { .split--flip > :first-child { order: 0; } .split__art--wide { max-width: 100%; } }
.pills { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.pills li { padding: 6px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-weight: 600; font-size: 0.9rem; }
