@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:ital,wght@0,400;0,600;1,400&family=Source+Serif+4:opsz,wght@8..60,500;8..60,700&display=swap');

:root {
  --paper: #f3eee4;
  --ink: #1f1a14;
  --muted: #6b6258;
  --line: #d7cfc3;
  --ochre: #9a4a12;
  --serif: 'Source Serif 4', 'Iowan Old Style', 'Palatino Linotype', Palatino, serif;
  --sans: 'Source Sans 3', 'Segoe UI', sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.55;
}

body {
  background-image:
    linear-gradient(180deg, rgba(154, 74, 18, 0.05), transparent 18rem);
}

a {
  color: var(--ink);
  text-decoration-color: var(--ochre);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--ochre);
}

h1,
h2,
h3,
.wordmark {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2.1rem, 4vw, 3.1rem);
}

h2 {
  margin: 2.25rem 0 0.6rem;
  font-size: 1.35rem;
}

h3 {
  margin: 0 0 0.4rem;
  font-size: 1.35rem;
}

p,
ul {
  margin: 0 0 1rem;
}

ul {
  padding-left: 1.15rem;
}

li + li {
  margin-top: 0.4rem;
}

.page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  max-width: 42rem;
  margin: 0 auto;
  padding: 1.75rem 1.25rem 3rem;
}

.site-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  font-size: 1.15rem;
  text-decoration: none;
}

.wordmark:hover {
  color: var(--ink);
}

.site-nav {
  display: flex;
  gap: 1.1rem;
  font-size: 0.95rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--muted);
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--ochre);
}

.site-main {
  flex: 1;
  padding: 2.4rem 0 2rem;
  border-left: 3px solid var(--ochre);
  padding-left: 1.25rem;
  margin-left: 0.15rem;
}

.lede {
  font-size: 1.12rem;
  max-width: 38rem;
}

.eyebrow {
  margin-bottom: 0.35rem;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow a {
  color: inherit;
  text-decoration: none;
}

.eyebrow a:hover {
  color: var(--ochre);
  text-decoration: underline;
}

.app-entry {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.app-entry h3 a {
  text-decoration: none;
}

.app-entry h3 a:hover {
  text-decoration: underline;
  text-decoration-color: var(--ochre);
}

.app-meta,
.updated {
  color: var(--muted);
  font-size: 0.95rem;
}

.store-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
}

.site-footer {
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 540px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-main {
    padding-left: 0.9rem;
  }
}
