@font-face {
  font-family: "Manifest Serif";
  src: url("/assets/ManifestSerif-Regular.ttf") format("truetype");
  font-display: swap;
}

:root {
  --paper: #e8f0e7;
  --ink: #2d3429;
  --muted: #495240;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color: var(--ink);
  font:
    18px/1.6 Georgia,
    "Times New Roman",
    serif;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 24px 16px 64px;
}

main {
  max-width: 40rem;
  margin: 0 auto;
  border: 1px dotted var(--ink);
  padding: 24px 22px 32px;
}

/* A nameplate over a thick-thin rule, as on the app's Ink screen. */
.nameplate {
  margin: 0 auto 28px;
  max-width: 40rem;
  text-align: center;
}

.nameplate a {
  color: inherit;
  text-decoration: none;
  font-family: "Manifest Serif", Georgia, serif;
  font-size: 1.6rem;
}

.nameplate::after {
  content: "";
  display: block;
  height: 2px;
  margin-top: 8px;
  border-top: 3px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

h1,
h2 {
  font-family: "Manifest Serif", Georgia, serif;
  font-weight: normal;
  line-height: 1.15;
}

h1 {
  font-size: 2.4rem;
  margin: 0 0 8px;
}

h2 {
  font-size: 1.35rem;
  margin: 32px 0 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--ink);
}

.dateline {
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 24px;
}

a {
  color: var(--ink);
  text-underline-offset: 3px;
}

ul {
  padding-left: 1.2em;
}

li + li {
  margin-top: 6px;
}

.app {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px dotted var(--ink);
  color: inherit;
  text-decoration: none;
}

.app img {
  width: 72px;
  height: 72px;
  image-rendering: pixelated;
  border: 1px solid var(--ink);
}

.app strong {
  display: block;
  font-family: "Manifest Serif", Georgia, serif;
  font-weight: normal;
  font-size: 1.4rem;
}

.masthead {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-bottom: 8px;
}

.masthead .dateline {
  margin: 0;
}

/* On phones the icon sits above the name, like a store header. */
@media (max-width: 30rem) {
  .masthead {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}

.icon {
  flex: none;
  width: 96px;
  height: 96px;
  image-rendering: pixelated;
  border: 1px solid var(--ink);
  border-radius: 22px;
}

.feature {
  display: block;
  width: 100%;
  height: auto;
  image-rendering: pixelated;
  border: 1px solid var(--ink);
  margin: 8px 0 24px;
}

footer {
  max-width: 40rem;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 0.8rem;
  text-align: center;
}
