/* Shared by /notes.html and everything under /notes/.
   index.html and privacy.html carry their own inline styles and are left alone. */
:root {
  --bg: #FBF9F5; --ink: #16181A; --soft: #3A3A36; --muted: #6F6A61;
  --accent: #0E7C66; --hairline: #E5E0D6; --card: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0E0F10; --ink: #F5F2EC; --soft: #D6D2CA; --muted: #9B968E;
    --accent: #3DD9AE; --hairline: #2A2C2F; --card: #17191B;
  }
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  background: var(--bg); color: var(--ink);
  font: 17px/1.7 -apple-system, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
main { max-width: 640px; margin: 0 auto; padding: 48px 24px 64px; }
a { color: var(--accent); }

.brand { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); text-decoration: none; display: inline-block; }
h1 { font-size: 34px; font-weight: 800; letter-spacing: -.03em; margin: 16px 0 8px; line-height: 1.2; }
.date { color: var(--muted); font-size: 14px; }
.lede { margin-top: 18px; font-size: 19px; color: var(--soft); }

article h2 { font-size: 21px; font-weight: 700; letter-spacing: -.01em; margin: 38px 0 10px; }
article p { color: var(--soft); margin-top: 14px; }
article ul, article ol { margin: 14px 0 0 22px; color: var(--soft); }
article li { margin-top: 8px; }
article strong { color: var(--ink); }

/* Partner links. Every one of these is disclosed on the spot, same rule the app follows. */
.pick {
  background: var(--card); border: 1px solid var(--hairline); border-radius: 14px;
  padding: 18px 20px; margin-top: 22px;
}
.pick p { margin-top: 0; }
.pick p + p { margin-top: 10px; }
.pick .disclosure { font-size: 14px; color: var(--muted); }

/* Index list */
.entry { padding: 22px 0; border-top: 1px solid var(--hairline); }
.entry:first-of-type { border-top: none; }
.entry h2 { font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
.entry h2 a { text-decoration: none; color: var(--ink); }
.entry h2 a:hover { color: var(--accent); }
.entry p { color: var(--soft); margin-top: 6px; font-size: 16px; }
.entry .date { display: block; margin-top: 8px; }

footer {
  margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--hairline);
  font-size: 14px; color: var(--muted);
}
footer a { color: var(--muted); }
