/* Fiona's Books — newsletter signup, /free and /thank-you
   Layered on top of style.css; uses the same custom properties. */

.free-hero {
  padding: 56px 0 8px;
  text-align: center;
}

.free-hero h1 {
  margin-bottom: 12px;
}

.free-hero .lead {
  max-width: 640px;
  margin: 0 auto 8px;
}

.sampler-preview {
  max-width: 760px;
  margin: 24px auto 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.sampler-preview img {
  width: 100%;
  height: auto;
}

/* What's inside */
.sampler-contents {
  max-width: 760px;
  margin: 40px auto 0;
}

.sampler-contents ul {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 8px 28px;
}

.sampler-contents li {
  padding-left: 22px;
  position: relative;
}

.sampler-contents li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

/* Signup card */
.signup-card {
  max-width: 620px;
  margin: 48px auto 0;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
}

.signup-card h2 {
  margin-top: 0;
  font-size: 1.35rem;
}

.signup-form {
  display: block;
  margin-top: 18px;
}

.signup-form label {
  display: block;
  font-family: Verdana, Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.signup-form input[type="text"],
.signup-form input[type="email"] {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
}

.signup-form input:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
  border-color: var(--gold);
}

.signup-form button {
  width: 100%;
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

/* Honeypot — hidden from people, visible to the bots that fill in
   every field they find. Kept out of the tab order and off screen
   rather than display:none, which some bots detect. */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.signup-fineprint {
  margin: 16px 0 0;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.55;
}

.signup-error {
  margin: 0 0 18px;
  padding: 12px 14px;
  border-radius: 8px;
  background: #fbeae1;
  border: 1px solid #e3b79c;
  color: #8a3c14;
  font-size: 0.92rem;
}

/* Compact strip for the homepage */
.signup-strip {
  background: var(--paper);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-top: 56px;
  padding: 40px 0;
}

.signup-strip .strip-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
  text-align: left;
}

.signup-strip .strip-art {
  flex: 0 0 320px;
  max-width: 320px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

/* Without height:auto the image keeps the height="800" attribute while the
   width shrinks to fit the column, which stretches it vertically. */
.signup-strip .strip-art img {
  width: 100%;
  height: auto;
}

.signup-strip .strip-text {
  flex: 1 1 340px;
  max-width: 520px;
}

.signup-strip h2 {
  margin-bottom: 8px;
  font-size: 1.4rem;
}

.signup-strip p {
  margin-bottom: 16px;
}

/* Thank-you page */
.thanks {
  max-width: 680px;
  margin: 0 auto;
  padding: 64px 0 88px;
  text-align: center;
}

.download-box {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
  margin: 28px 0 36px;
}

.download-box .btn {
  font-size: 1.05rem;
  padding: 14px 28px;
}

.download-meta {
  margin: 14px 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.tips {
  text-align: left;
  margin-top: 8px;
}

.tips ul {
  padding-left: 20px;
}

.tips li {
  margin-bottom: 8px;
}

@media (max-width: 640px) {
  .signup-card { padding: 24px 20px; }
  .signup-strip .strip-inner { text-align: center; }
  .signup-strip .strip-text { text-align: left; }
}
