/* Paperful — public subscribe pages on lists.paperful.app */

:root {
  --pf-ink: #1a1f2e;
  --pf-paper: #f7f5f0;
  --pf-accent: #3d5a80;
  --pf-muted: #5c6578;
  --pf-field: #e8e6df;
  --pf-button: #293241;
  --pf-max: 42rem;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background-color: var(--pf-field) !important;
  background-image: linear-gradient(165deg, #eeebe4 0%, #dcd8cf 45%, #cfcabf 100%) !important;
  background-attachment: fixed;
  color: var(--pf-ink);
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 1.05rem;
  line-height: 1.6;
}

a {
  color: var(--pf-accent);
}

a:hover {
  color: #000;
}

.container.wrap {
  max-width: var(--pf-max);
  margin: 1.5rem auto 2rem;
  padding: 0 0.75rem;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.pf-panel {
  background: var(--pf-paper);
  border-radius: 4px;
  padding: 2.5rem 2.2rem 2rem;
  box-shadow: 0 2px 12px rgba(26, 31, 46, 0.12);
  border: 1px solid rgba(41, 50, 65, 0.08);
}

.pf-panel .header {
  text-align: center;
  margin-bottom: 1.25rem;
}

.pf-panel .subscribe-card {
  margin: 0;
}

.logo h1 {
  margin: 0;
  font-size: 1.75rem;
  font-weight: normal;
  letter-spacing: 0.02em;
  color: var(--pf-accent);
}

.logo .subtitle {
  margin: 0.35rem 0 0;
  font-size: 0.95rem;
  color: var(--pf-muted);
  font-style: italic;
}

.subscribe-card .tagline {
  color: var(--pf-muted);
  margin: 0 0 1.25rem;
}

.subscribe-card h2 {
  font-size: 1.25rem;
  font-weight: normal;
  margin: 0 0 1rem;
}

.form input[type="email"],
.form input[type="text"] {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 0.55rem 0.65rem;
  border: 1px solid #b8b5ab;
  border-radius: 2px;
  font: inherit;
}

.form input:focus {
  outline: 2px solid var(--pf-accent);
  outline-offset: 1px;
}

.form input[type="submit"],
button[type="submit"] {
  background: var(--pf-button);
  color: #fff;
  border: none;
  padding: 0.6rem 1.4rem;
  font: inherit;
  cursor: pointer;
  border-radius: 2px;
  margin-top: 0.5rem;
}

.form input[type="submit"]:hover {
  background: #1c2330;
}

.site-footer {
  text-align: center;
  font-size: 0.9rem;
  color: var(--pf-muted);
  margin-top: 1.5rem;
}

.site-footer .quiet {
  opacity: 0.85;
}

footer.container {
  background: transparent !important;
}

footer.container:not(.site-footer) {
  display: none;
}
