/*
  Larkspur look for listmonk's public pages (confirm subscription, unsubscribe, manage preferences, message).
  Goes into Settings > Appearance > Public > Custom CSS of the listmonk instance (appearance.public.custom_css).
  Same tokens as the site (sites/garden/src/site/site.css); fonts are system fonts, the pages load nothing from outside.
*/
:root {
  --lk-ink: #1b211c;
  --lk-sage-deep: #2f382e;
  --lk-terra: #94654f;
  --lk-text-soft: #52524e;
  --lk-muted: #6f6f6d;
  --lk-rule: #e3dfd8;
  --lk-bg: #f8f7f5;
  --lk-white: #fefefe;
  --lk-serif: Georgia, "Times New Roman", serif;
  --lk-sans: "Helvetica Neue", Arial, sans-serif;
}

body {
  background: var(--lk-bg);
  color: var(--lk-ink);
  font-family: var(--lk-serif);
  font-size: 17px;
  line-height: 27px;
  -webkit-font-smoothing: antialiased;
}
a {
  color: var(--lk-terra);
  text-decoration-color: var(--lk-terra);
  text-underline-offset: 3px;
}
a:hover {
  color: var(--lk-ink);
}
label {
  color: var(--lk-text-soft);
}
h2,
h3 {
  font-family: var(--lk-serif);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: #0d0e0d;
}
h2 {
  font-size: 30px;
  line-height: 34px;
  margin: 0 0 16px;
}
h3 {
  font-size: 22px;
  line-height: 28px;
}
p {
  color: var(--lk-text-soft);
}

/* The card: a dark band with the name on top, then the page. */
.container {
  margin-top: 40px;
  max-width: 560px;
}
.wrap {
  padding: 0 0 40px;
  background: var(--lk-white);
  border: 1px solid var(--lk-rule);
  box-shadow: none;
}
.wrap > *:not(.header) {
  margin-left: 40px;
  margin-right: 40px;
}
.header {
  margin: 0 0 36px;
  padding: 30px 24px 26px;
  background: var(--lk-sage-deep);
  border: 0;
  text-align: center;
}
.header .logo a {
  display: block;
  text-decoration: none;
}
.header .logo img {
  display: none;
}
.header .logo a::before {
  content: "The Larkspur";
  display: block;
  font-family: var(--lk-serif);
  font-size: 34px;
  line-height: 36px;
  letter-spacing: -0.01em;
  color: #f3f3ee;
}
.header .logo a::after {
  content: "Perennials \00b7  Shrubs \00b7  Seasons \00b7  Simple care";
  display: block;
  padding-top: 10px;
  font-family: var(--lk-sans);
  font-size: 10px;
  line-height: 16px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #9da596;
}

/* Fields and buttons: square corners, terracotta, the site's small caps. */
input[type="text"],
input[type="email"],
input[type="password"],
select {
  padding: 12px 14px;
  border: 1px solid var(--lk-rule);
  border-radius: 0;
  box-shadow: none;
  background: var(--lk-white);
  font-family: var(--lk-serif);
  font-size: 17px;
  color: var(--lk-ink);
}
input:focus,
select:focus {
  border-color: var(--lk-terra);
  outline: none;
}
input[type="checkbox"],
input[type="radio"] {
  accent-color: var(--lk-terra);
}
.button {
  min-width: 0;
  padding: 15px 34px;
  border: 0;
  border-radius: 0;
  background: var(--lk-terra);
  color: #ffffff;
  font-family: var(--lk-sans);
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.button:hover {
  background: var(--lk-sage-deep);
  color: #ffffff;
}
.button.button-outline {
  background: transparent;
  border: 1px solid var(--lk-terra);
  color: var(--lk-terra);
}
.button.button-outline:hover {
  background: var(--lk-terra);
  color: #ffffff;
}
.error {
  color: #a23b2a;
}
.unsub-all {
  border-top: 1px solid var(--lk-rule);
}
.lists .description {
  color: var(--lk-muted);
}

footer.container {
  margin-top: 22px;
  font-family: var(--lk-sans);
  font-size: 12px;
  color: var(--lk-muted);
}
footer a {
  color: var(--lk-muted);
}

@media screen and (max-width: 650px) {
  .container {
    margin-top: 0;
  }
  .wrap {
    padding: 0 0 32px;
    border-left: 0;
    border-right: 0;
  }
  .wrap > *:not(.header) {
    margin-left: 22px;
    margin-right: 22px;
  }
  h2 {
    font-size: 26px;
    line-height: 30px;
  }
}
