:root {
  --orange: #ee9044;
  --burnt-orange: #c07741;
  --cream: #f5ebd3;
  --brown: #53413f;
  --tan: #b4885c;
  --light-orange: #e9a873;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--brown);
  font-family: "Nunito Sans", "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
}

.leaf-band {
  height: 8px;
  background: linear-gradient(90deg, var(--orange), var(--light-orange), var(--orange));
}

.page {
  max-width: 34rem;
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
  text-align: center;
}

.site-header {
  margin-bottom: 1.5rem;
}

.site-header img {
  max-width: 240px;
  width: 65%;
  min-width: 200px;
  height: auto;
}

.wordmark {
  font-family: "Zilla Slab", serif;
  font-weight: 700;
  font-size: 2.25rem;
  letter-spacing: 0.06em;
  color: var(--burnt-orange);
}

h1 {
  font-family: "Zilla Slab", serif;
  font-weight: 700;
  font-size: 1.75rem;
  line-height: 1.25;
  color: var(--burnt-orange);
  margin: 0 0 0.75rem;
}

form {
  margin: 1.75rem 0 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

input[type="email"] {
  font: inherit;
  padding: 0.9rem 1rem;
  border: 2px solid var(--tan);
  border-radius: 8px;
  background: #fffdf7;
  color: var(--brown);
  width: 100%;
}

input[type="email"]:focus {
  outline: 3px solid var(--light-orange);
  border-color: var(--burnt-orange);
}

button,
.button {
  font: inherit;
  font-weight: 700;
  display: inline-block;
  padding: 0.95rem 1.5rem;
  border: 0;
  border-radius: 8px;
  background: var(--orange);
  color: #fff;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease;
}

button:hover,
button:active,
.button:hover,
.button:active {
  background: var(--burnt-orange);
}

button:disabled {
  opacity: 0.7;
  cursor: default;
}

.button.secondary {
  background: var(--tan);
}

.button.secondary:hover,
.button.secondary:active {
  background: var(--burnt-orange);
}

.downloads {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.form-error {
  color: #a33b1f;
  font-weight: 600;
  margin: 0;
}

.fine-print {
  font-size: 0.875rem;
  color: var(--tan);
  margin-top: 1.25rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (min-width: 640px) {
  h1 {
    font-size: 2.125rem;
  }
}
