/* Bill Monster's pages: the app's wash and blue monster, system fonts only
   (nothing loaded from elsewhere). */
:root {
  --wash: #E6EEF5;
  --card: #FFFFFF;
  --text: #1C1C1E;
  --muted: #6B7280;
  --accent: #1A72A8;
  --head: #1A72A8;
  --ink: #0B2238;
  --eye: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
  :root {
    --wash: #0A1520;
    --card: #16202A;
    --text: #F2F4F7;
    --muted: #9AA4B2;
    --accent: #3B8FCC;
    --head: #0E4A70;
    --ink: #06182A;
    --eye: #EEF3F7;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--wash);
  color: var(--text);
  font: 17px/1.5 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
}
main {
  max-width: 600px;
  margin: 0 auto;
  padding: 48px 16px 64px;
}
/* The head on the card's top edge: below that edge it's behind the card, so
   the frame clips it there. */
.peek {
  width: 96px;
  margin: 0 24px -1px auto;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
}
.head { display: block; width: 100%; }
/* As in the app: down fast (0.15s), a beat hidden (1.2s), back up smoothly
   without overshooting (0.45s). */
.head.duck { animation: duck 1.8s; }
@keyframes duck {
  0% { transform: translateY(0); animation-timing-function: ease-in; }
  8.333% { transform: translateY(100%); }
  75% { transform: translateY(100%); animation-timing-function: cubic-bezier(0.25, 1, 0.5, 1); }
  100% { transform: translateY(0); }
}
.head .body { fill: var(--head); }
.head .white { fill: var(--eye); }
.head .pupil { fill: var(--ink); }
.card {
  background: var(--card);
  border-radius: 22px;
  padding: 28px 24px;
}
.card + .card { margin-top: 12px; }
h1 { font-size: 34px; line-height: 1.15; margin: 0 0 4px; letter-spacing: -0.01em; }
h2 { font-size: 20px; margin: 0 0 8px; }
h3 { font-size: 17px; margin: 24px 0 4px; }
p { margin: 0 0 12px; }
p:last-child { margin-bottom: 0; }
.subtitle { color: var(--muted); font-size: 20px; margin-bottom: 20px; }
.muted { color: var(--muted); }
/* Apple's black badge, unaltered; at least 40px tall, clear space a quarter
   of its height. */
.badge { display: inline-block; margin-top: 4px; }
.badge img { display: block; height: 48px; width: auto; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
footer { margin-top: 24px; font-size: 15px; color: var(--muted); text-align: center; }
footer a { color: var(--muted); }
