/* Self-hosted fonts. Newsreader and Inter are both licensed under the
   SIL Open Font License 1.1; see fonts/OFL.txt. The files cover only
   the latin unicode range, which is all the pages use. font-display:
   swap so the fallback serif renders immediately and the brand serif
   fades in once loaded. Self-hosted rather than loaded from Google
   Fonts so the pages make no third-party requests; Safari's Advanced
   Privacy Protections then has nothing to flag. */
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('fonts/newsreader-300-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/newsreader-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/newsreader-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/newsreader-400-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/inter-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/inter-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --paper: #F6F1E7;
  --ink: #1C1A17;
  --ink-secondary: #6E665B;
  --hairline: #E6DFD1;
  --accent: #C26A3A;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #161412;
    --ink: #EDE8DD;
    --ink-secondary: #9A9085;
    --hairline: #2A2520;
    --accent: #D07A4A;
  }
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Newsreader', 'Source Serif Pro', 'Charter', 'Iowan Old Style', Georgia, serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 640px;
  margin: 0 auto;
  padding: 32px 24px 96px;
}

nav {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 48px;
  padding-bottom: 20px;
  border-bottom: 0.5px solid var(--hairline);
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', system-ui, sans-serif;
  font-size: 0.9rem;
}

nav .brand {
  font-family: 'Newsreader', 'Source Serif Pro', 'Charter', Georgia, serif;
  font-size: 1.3rem;
  color: var(--ink);
  font-weight: 400;
  text-decoration: none;
  margin-right: auto;
}

nav a:not(.brand) {
  text-decoration: none;
  color: var(--ink-secondary);
  padding: 4px 0;
}

nav a:not(.brand):hover {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 4px;
}

h1 {
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin: 0 0 24px;
  line-height: 1.2;
}

/* Persimmon brand mark sitting inline to the left of the brand wordmark
   in the nav. Single small persimmon disc, mirroring the persimmon-dot
   motif on the In the Retelling app icon. Decorative only; aria-hidden
   on the span. */
.brand .brand-mark {
  display: inline-block;
  width: 0.5em;
  height: 0.5em;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 0.4em;
  vertical-align: 0.06em;
}

h2 {
  font-size: 1.25rem;
  font-weight: 500;
  margin: 48px 0 12px;
  line-height: 1.35;
  letter-spacing: -0.005em;
}

p {
  margin: 0 0 1em;
}

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

a:hover {
  text-decoration-thickness: 1.5px;
}

ul {
  padding-left: 1.25em;
  margin: 0 0 1em;
}

li {
  margin-bottom: 0.3em;
}

hr {
  border: none;
  border-top: 0.5px solid var(--hairline);
  margin: 48px 0;
}

.lead {
  font-size: 1.15rem;
  line-height: 1.5;
  margin-bottom: 32px;
  color: var(--ink);
}

.meta {
  color: var(--ink-secondary);
  font-size: 0.95rem;
  margin-bottom: 32px;
}

.faq {
  margin-top: 32px;
}

.faq-item {
  margin-bottom: 40px;
}

.faq-item h3 {
  font-size: 1.1rem;
  font-weight: 500;
  margin: 0 0 8px;
  line-height: 1.4;
}

.faq-item p {
  margin: 0;
}

.contact-block {
  margin-top: 64px;
  padding: 32px 0;
  border-top: 0.5px solid var(--hairline);
  border-bottom: 0.5px solid var(--hairline);
}

.contact-block h2 {
  margin-top: 0;
}

footer {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 0.5px solid var(--hairline);
  color: var(--ink-secondary);
  font-size: 0.85rem;
}

footer a {
  color: var(--ink-secondary);
  text-decoration: none;
}

footer a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--accent);
}

@media (max-width: 480px) {
  .container {
    padding: 24px 20px 80px;
  }

  h1 {
    font-size: 1.65rem;
  }

  h2 {
    font-size: 1.15rem;
    margin: 40px 0 10px;
  }

  nav {
    margin-bottom: 32px;
  }

  nav .brand {
    font-size: 1.2rem;
  }
}
