/* Pivumo public pages. Deliberately plain: these are read by parents on a
   phone, and by store reviewers who want to find one clause quickly. */
:root {
  color-scheme: light dark;
  --ink: #253e42;
  --cream: #fff8e9;
  --green: #287465;
  --mint: #d7eddc;
  --rule: #d9cfb8;
  --muted: #5d6f72;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #eef4f2;
    --cream: #16232a;
    --green: #7fd0bc;
    --mint: #23343a;
    --rule: #2f4249;
    --muted: #a8babd;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
}
.wrap { max-width: 44rem; margin: 0 auto; padding: 2rem 1.25rem 5rem; }
header { border-bottom: 2px solid var(--rule); margin-bottom: 2rem; }
.brand {
  display: inline-block; font-size: 1.6rem; font-weight: 700;
  color: var(--green); text-decoration: none; letter-spacing: -0.01em;
}
nav { margin: 0.75rem 0 1.25rem; display: flex; flex-wrap: wrap; gap: 1rem; }
nav a { color: var(--muted); text-decoration: none; font-size: 0.95rem; }
nav a:hover, nav a:focus { color: var(--green); text-decoration: underline; }
nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
h1 { font-size: 1.9rem; line-height: 1.25; margin: 0 0 0.4rem; }
h2 { font-size: 1.2rem; margin: 2.25rem 0 0.6rem; }
h3 { font-size: 1.02rem; margin: 1.5rem 0 0.4rem; }
.updated { color: var(--muted); font-size: 0.9rem; margin: 0 0 2rem; }
ul, ol { padding-left: 1.3rem; }
li { margin: 0.35rem 0; }
a { color: var(--green); }
code {
  background: var(--mint); padding: 0.1em 0.35em;
  border-radius: 4px; font-size: 0.9em;
}
.callout {
  background: var(--mint); border-left: 4px solid var(--green);
  padding: 0.9rem 1.1rem; border-radius: 0 8px 8px 0; margin: 1.5rem 0;
}
table { border-collapse: collapse; width: 100%; margin: 1rem 0; font-size: 0.95rem; }
th, td { text-align: left; padding: 0.55rem 0.6rem; border-bottom: 1px solid var(--rule); vertical-align: top; }
th { font-weight: 600; }
.scroll { overflow-x: auto; }
footer {
  margin-top: 3.5rem; padding-top: 1.25rem;
  border-top: 1px solid var(--rule); color: var(--muted); font-size: 0.9rem;
}
