/* The public pages: about, pricing, terms, privacy and refunds. Plain HTML
   that search engines and Paddle's review can read, in the grown-ups'
   colours (lib/src/design/tokens.dart), with the children's orange for the
   one call to action. */
:root {
  color-scheme: light;
  --surface: #f3f5f4;
  --raised: #ffffff;
  --sunken: #e6ebe9;
  --ink: #18282a;
  --muted: #4a5b5d;
  --line: #d3dbd9;
  --primary: #2e6a5c;
  --primary-edge: #24564a;
  --kids: #ff8c1a;
  --kids-edge: #b85a00;
  --kids-ink: #2b1b0e;
  --focus: #1749c4;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", sans-serif;
}
a { color: var(--primary); font-weight: 600; }
a:focus-visible { outline: 4px solid var(--focus); outline-offset: 2px; }
.wrap { max-width: 52rem; margin: 0 auto; padding: 0 16px; }

.top { background: var(--raised); border-bottom: 1px solid var(--line); }
.top .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 800;
  text-decoration: none;
  margin-right: auto;
}
/* The wordmark, 40px tall. Its file has a small margin of its own. */
.brand img { display: block; height: 40px; width: auto; }
.top nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.top nav a { text-decoration: none; }
.top nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 4px; }

main.wrap { padding-top: 32px; padding-bottom: 48px; }
h1 { font-size: 2rem; line-height: 1.2; margin: 0 0 12px; }
h2 { font-size: 1.375rem; line-height: 1.3; margin: 40px 0 8px; }
h3 { font-size: 1.0625rem; margin: 24px 0 4px; }
p, ul, ol { margin: 0 0 12px; }
li { margin-bottom: 4px; }
.lead { font-size: 1.1875rem; color: var(--muted); max-width: 40rem; }
.updated { color: var(--muted); font-size: 0.9375rem; }

.button {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  background: var(--kids);
  color: var(--kids-ink);
  box-shadow: 0 4px 0 var(--kids-edge);
}
.button.quiet {
  background: var(--raised);
  color: var(--primary);
  box-shadow: inset 0 0 0 2px var(--primary);
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0 8px; }

.note {
  background: var(--sunken);
  border-radius: 12px;
  padding: 12px 16px;
  margin: 0 0 24px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: 16px;
  margin: 16px 0;
  padding: 0;
  list-style: none;
}
.card {
  background: var(--raised);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  margin: 0;
}
.card h2, .card h3 { margin-top: 0; }
.card.featured { border: 2px solid var(--primary); }
.price { font-size: 2rem; font-weight: 800; line-height: 1.2; margin: 8px 0 0; }
.price small { display: block; font-size: 1rem; font-weight: 600; color: var(--muted); }
.card ul { padding-left: 20px; }

.steps { counter-reset: step; padding: 0; list-style: none; }
.steps li { counter-increment: step; position: relative; padding-left: 44px; margin-bottom: 12px; }
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  text-align: center;
  line-height: 30px;
}

table { border-collapse: collapse; width: 100%; margin: 8px 0 16px; background: var(--raised); }
th, td { text-align: left; vertical-align: top; padding: 8px 12px; border: 1px solid var(--line); }
th { background: var(--sunken); }
.table { overflow-x: auto; }

.bottom { border-top: 1px solid var(--line); background: var(--raised); color: var(--muted); font-size: 0.9375rem; }
.bottom .wrap { padding-top: 20px; padding-bottom: 28px; }
.bottom nav { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-bottom: 8px; }
.bottom p { margin: 0; }
