/* trove.pub
   The same paper and ink as the app (Theme.swift in the app): warm paper in light,
   night in dark, following the system. One typeface, as in the app. */

:root {
  --paper: #EFE5D0;
  --ink: #2B2219;
  --quiet: rgba(43, 34, 25, 0.60);
  --faint: rgba(43, 34, 25, 0.36);
  --hairline: rgba(43, 34, 25, 0.14);
  --warm: #A9712C;
  --mark: rgba(224, 174, 69, 0.42);
  --button: #2B2219;
  --button-ink: #EFE5D0;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #1A1816;
    --ink: #E9E2D5;
    --quiet: rgba(233, 226, 213, 0.58);
    --faint: rgba(233, 226, 213, 0.32);
    --hairline: rgba(233, 226, 213, 0.14);
    --warm: #D3A867;
    --mark: rgba(211, 168, 103, 0.30);
    --button: #E9E2D5;
    --button-ink: #1A1816;
  }
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  -webkit-font-smoothing: antialiased;
}

main {
  min-height: 100vh;
  max-width: 34rem;
  margin: 0 auto;
  padding: 18vh 1.5rem 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.icon {
  width: 128px;
  height: 128px;
  margin-bottom: 1.6rem;
}

h1 {
  font-weight: normal;
  font-size: 3.2rem;
  letter-spacing: -0.01em;
  margin: 0 0 0.6rem;
}

.line {
  font-size: 1.35rem;
  line-height: 1.45;
  margin: 0 0 2.4rem;
}

.line mark {
  background: var(--mark);
  color: inherit;
  padding: 0 0.12em;
  border-radius: 2px;
}

.download {
  display: inline-block;
  background: var(--button);
  color: var(--button-ink);
  text-decoration: none;
  font-size: 1.1rem;
  padding: 0.75rem 1.6rem;
  border-radius: 999px;
}

.download:hover { opacity: 0.88; }

.small {
  margin-top: 1rem;
  font-size: 0.95rem;
  font-style: italic;
  color: var(--quiet);
}

footer {
  margin-top: auto;
  padding-top: 5rem;
  font-size: 0.9rem;
  color: var(--faint);
}

footer a { color: inherit; }
