/* Shared style for the InkDay pages: plain black and white, like the app on e-ink. */
:root {
  --text: #111;
  --muted: #555;
  --line: #ddd;
  --background: #fff;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text);
  background: var(--background);
}

main, header, footer {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px;
}

header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 48px;
  padding-bottom: 8px;
}

header img { width: 96px; height: 96px; }
header h1 { margin: 0; font-size: 2.6em; line-height: 1.1; }
header p { margin: 4px 0 0; color: var(--muted); }

nav { margin-top: 8px; }
nav a { margin-right: 16px; }

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

a.button {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 8px;
  background: var(--text);
  color: var(--background);
  font-weight: bold;
  text-decoration: none;
}

h2 { margin-top: 2em; border-bottom: 1px solid var(--line); padding-bottom: 4px; }

.screenshots {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin: 32px 0;
}

.screenshots figure { margin: 0; flex: 1 1 320px; max-width: 400px; text-align: center; }
.screenshots img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: 8px; }
.screenshots figcaption { color: var(--muted); font-size: 0.9em; }

code { background: #f3f3f3; padding: 1px 5px; border-radius: 4px; }

footer {
  margin-top: 64px;
  padding-top: 16px;
  padding-bottom: 48px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9em;
}

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