/* Family Tasks — no external fonts or scripts, so the site makes no third-party
   requests. That is the same promise the app makes, so the site should keep it too. */

:root {
  --brand: #6750a4;
  --brand-soft: #eaddff;
  --bg: #fdf7ff;
  --surface: #ffffff;
  --border: #e4d9ec;
  --text: #1d1b20;
  --muted: #5f5a67;
  --ok: #2e7d32;
  --radius: 14px;
  --maxw: 980px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --brand: #cfbcff;
    --brand-soft: #362b52;
    --bg: #141218;
    --surface: #1d1b20;
    --border: #322c39;
    --text: #e7e0eb;
    --muted: #a9a2b3;
    --ok: #7fd58a;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

a { color: var(--brand); }
a:hover { text-decoration: none; }

/* ---------- header ---------- */

header {
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
  text-decoration: none;
}

.logo .mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--brand);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 17px;
  line-height: 1;
}

@media (prefers-color-scheme: dark) {
  .logo .mark { color: #21182f; }
}

nav a {
  margin-left: 18px;
  text-decoration: none;
  color: var(--muted);
  font-size: 15px;
}

nav a:hover { color: var(--text); }

/* ---------- hero ---------- */

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding: 64px 0;
}

.hero h1 {
  font-size: 42px;
  line-height: 1.15;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

.hero p.lede {
  font-size: 19px;
  color: var(--muted);
  margin: 0 0 24px;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.badge {
  font-size: 13px;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 600;
}

@media (prefers-color-scheme: dark) {
  .badge { color: var(--text); }
}

/* Portrait tablet captures are 800x1208, so they must be reined in or they tower
   over the text they are meant to illustrate. */
.shot {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  display: block;
}

.shot-frame {
  margin: 0 auto;
  max-width: 300px;
}

.shot-frame figcaption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}

/* ---------- sections ---------- */

section { padding: 52px 0; border-top: 1px solid var(--border); }

h2 {
  font-size: 27px;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

.sub { color: var(--muted); margin: 0 0 28px; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.card h3 { margin: 0 0 6px; font-size: 17px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

.shots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
}

/* ---------- callout ---------- */

.note {
  border: 1px solid var(--border);
  border-left: 4px solid var(--brand);
  background: var(--surface);
  border-radius: 10px;
  padding: 16px 18px;
  margin: 22px 0 0;
}

.note strong { display: block; margin-bottom: 4px; }
.note p { margin: 0; color: var(--muted); font-size: 15px; }

ul.plain { padding-left: 20px; color: var(--muted); }
ul.plain li { margin: 7px 0; }
ul.plain strong { color: var(--text); }

/* ---------- footer ---------- */

footer {
  border-top: 1px solid var(--border);
  padding: 30px 0 50px;
  color: var(--muted);
  font-size: 14px;
}

footer a { color: var(--muted); }

/* ---------- privacy page ---------- */

.doc { padding: 48px 0 20px; max-width: 760px; }
.doc h1 { font-size: 34px; margin: 0 0 6px; letter-spacing: -0.02em; }
.doc h2 { font-size: 21px; margin: 34px 0 8px; }
.doc p, .doc li { color: var(--muted); }
.doc p.updated { font-size: 14px; margin-top: 0; }
.doc strong { color: var(--text); }

table.data {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
  font-size: 15px;
}

table.data th, table.data td {
  text-align: left;
  padding: 10px 12px;
  border: 1px solid var(--border);
  vertical-align: top;
}

table.data th { background: var(--surface); color: var(--text); }
table.data td { color: var(--muted); }

.table-scroll { overflow-x: auto; }

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; gap: 32px; padding: 40px 0; }
  .hero h1 { font-size: 32px; }
  .shot-frame { max-width: 340px; margin: 0 auto; }
}
