/* Text pages (xerox-effect.html, photocopier-app.html).
   Same paper, ink and type as index.html, set larger for reading. */
@import url('https://fonts.googleapis.com/css2?family=Pirata+One&family=Azeret+Mono:wght@400;500;600&display=swap');

:root {
  --bg: #efe9dd;
  --panel: #f7f3ea;
  --line: #1d1a15;
  --ink: #1d1a15;
  --muted: #8a8172;
  --accent: #2440e0;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Azeret Mono', monospace;
  font-size: 14px;
  line-height: 1.65;
  min-height: 100vh;
  padding: 14px 20px 48px;
}

header {
  display: flex; align-items: baseline; gap: 14px;
  margin-bottom: 36px; padding-bottom: 8px;
  border-bottom: 2px solid var(--line);
}
/* wordmark, as on the front page: blackletter with a cobalt misregistration shadow */
.wordmark {
  font-family: 'Pirata One', serif;
  font-size: 34px; line-height: 1;
  color: var(--ink); text-decoration: none;
  white-space: nowrap;
}
.wordmark span { display: inline-block; text-shadow: 2px 1.5px 0 var(--accent); }
.wordmark span:nth-child(odd)  { transform: rotate(-1.5deg) translateY(0.5px); }
.wordmark span:nth-child(even) { transform: rotate(1.5deg) translateY(-1px); }
.wordmark span:nth-child(3n)   { transform: rotate(-2.5deg) translateY(1.5px); }
.wordmark span:nth-child(5n)   { transform: rotate(2deg) translateY(-1.5px) scale(1.04); }
.byline {
  margin-left: auto;
  color: var(--muted); font-size: 11px; letter-spacing: 0.04em;
  text-decoration: none;
  border-bottom: 1.5px solid var(--muted);
}
.byline:hover { color: var(--accent); border-color: var(--accent); }

main, footer { max-width: 68ch; }

h1 { font-size: 24px; font-weight: 600; line-height: 1.25; margin-bottom: 16px; }
h2 {
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  margin: 40px 0 12px; padding-top: 12px;
  border-top: 1.5px solid var(--line);
}
h3 { font-size: 14px; font-weight: 600; margin: 20px 0 4px; }
p { margin-bottom: 12px; }
a { color: var(--accent); }
ol, ul { margin: 0 0 12px 1.6em; }
li { margin-bottom: 4px; }

.note {
  border-left: 3px solid var(--line);
  padding-left: 12px;
}

.cta { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 28px; }
.btn {
  display: inline-block;
  font-size: 12px; text-decoration: none;
  background: var(--panel); color: var(--ink);
  border: 1.5px solid var(--line); border-radius: 6px;
  padding: 9px 14px;
}
.btn:hover { box-shadow: 2px 2px 0 rgba(29,26,21,0.25); }
.btn.primary {
  background: var(--accent); color: var(--panel);
  border-color: var(--accent); font-weight: 600;
}

figure { margin: 0 0 12px; }
figure img {
  display: block; width: 100%; height: auto;
  border: 1.5px solid var(--line); border-radius: 6px;
}
figcaption { color: var(--muted); font-size: 11px; margin-top: 6px; }

footer {
  margin-top: 48px; padding-top: 12px;
  border-top: 2px solid var(--line);
  color: var(--muted); font-size: 11px;
}
footer a { color: var(--muted); }
footer a:hover { color: var(--accent); }

@media (max-width: 640px) {
  body { padding: 10px 16px 40px; }
  header { margin-bottom: 24px; }
  .wordmark { font-size: 27px; }
  h1 { font-size: 20px; }
}
