/* Jershon Press — warm, reverent, large-print. Brand plum from the book covers
   (#3A2E4F) + a scripture-gold accent on parchment. Big type for older readers,
   mobile-first (most visitors arrive by scanning a QR off a printed book). */

:root {
  --plum: #3a2e4f;
  --plum-2: #4a3b63;
  --ink: #241c31;
  --gold: #b4893c;
  --gold-2: #d9b25e;
  --parchment: #fbf7ef;
  --parchment-2: #f4ecdc;
  --card: #ffffff;
  --muted: #6b6280;
  --line: #ece3d2;
  --ok: #2f7d5b;
  --err: #a5382f;
  --radius: 16px;
  --shadow: 0 18px 50px -24px rgba(58, 46, 79, 0.55);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 50% -10%, var(--parchment-2), transparent 60%),
    var(--parchment);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.wrap {
  width: 100%;
  max-width: 660px;
  margin: 0 auto;
  padding: 28px 20px 64px;
  flex: 1;
}

/* Brand wordmark */
.brand {
  text-align: center;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-size: 13px;
  color: var(--gold);
  font-weight: 700;
  margin: 8px 0 26px;
}
.brand a { color: inherit; text-decoration: none; }

/* Gold rule with a center diamond */
.rule {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gold);
  margin: 26px 0;
}
.rule::before, .rule::after {
  content: "";
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, transparent, var(--gold-2), transparent);
}
.rule span { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }

/* Card */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 34px 30px;
}

/* Headings — Playfair to match the book covers */
h1, h2 { font-family: "Playfair Display", Georgia, "Times New Roman", serif; font-weight: 900; }
h1 {
  font-size: clamp(28px, 6.4vw, 40px);
  line-height: 1.12;
  color: var(--plum);
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.lede { font-size: clamp(17px, 3.6vw, 20px); color: var(--ink); margin: 0 0 6px; }
.eyebrow { color: var(--gold); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; font-size: 13px; margin: 0 0 10px; }

/* Word-search preview (pure CSS, instant load) */
.preview {
  margin: 24px auto 8px;
  width: max-content;
  max-width: 100%;
  padding: 14px;
  background: linear-gradient(180deg, #fff, var(--parchment));
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: auto;
}
.grid {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 2px;
  font-family: "Courier New", monospace;
  font-weight: 700;
}
.grid b {
  width: 30px; height: 30px;
  display: grid; place-items: center;
  font-size: 16px; color: var(--plum-2);
}
.grid b.hit {
  color: #fff;
  background: var(--gold);
  border-radius: 50%;
}
.preview-cap { text-align: center; font-size: 13px; color: var(--muted); margin: 6px 0 0; }

/* Form */
form { margin: 22px 0 6px; }
.field { display: flex; flex-direction: column; gap: 10px; }
label { font-weight: 600; font-size: 15px; }
input[type="email"] {
  font-size: 18px;
  padding: 15px 16px;
  border: 2px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  width: 100%;
}
input[type="email"]:focus { outline: none; border-color: var(--plum-2); box-shadow: 0 0 0 4px rgba(74, 59, 99, 0.14); }

/* Honeypot — hidden from humans */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

button.cta {
  margin-top: 14px;
  width: 100%;
  font-size: 19px;
  font-weight: 700;
  color: #fff;
  background: var(--plum);
  border: 0;
  border-radius: 12px;
  padding: 16px 20px;
  cursor: pointer;
  min-height: 54px;
  transition: transform 0.05s ease, background 0.2s ease;
}
button.cta:hover { background: var(--plum-2); }
button.cta:active { transform: translateY(1px); }
button.cta:disabled { opacity: 0.6; cursor: default; }

.microcopy { font-size: 13.5px; color: var(--muted); text-align: center; margin: 14px 0 0; }
.cf-turnstile { margin: 16px 0 4px; display: flex; justify-content: center; }

/* Messages */
.msg { border-radius: 12px; padding: 14px 16px; margin: 14px 0 0; font-size: 16px; display: none; }
.msg.show { display: block; }
.msg.ok { background: #eaf5ef; color: var(--ok); border: 1px solid #bfe0cd; }
.msg.err { background: #fbeceb; color: var(--err); border: 1px solid #edc9c5; }

/* Benefit list */
.benefits { list-style: none; padding: 0; margin: 8px 0 0; }
.benefits li { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-top: 1px solid var(--line); }
.benefits li:first-child { border-top: 0; }
.benefits .ic { color: var(--gold); font-weight: 900; font-size: 20px; line-height: 1.4; }
.benefits b { color: var(--plum); }

/* Buttons on outcome pages */
.btn-link {
  display: inline-block; text-decoration: none; text-align: center;
  background: var(--plum); color: #fff; font-weight: 700; font-size: 18px;
  padding: 15px 26px; border-radius: 12px; margin: 8px 0;
}
.btn-link:hover { background: var(--plum-2); }
.center { text-align: center; }

/* Footer */
footer {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  padding: 26px 20px 40px;
  line-height: 1.7;
}
footer a { color: var(--muted); }
.disclaimer { font-size: 12px; color: #9a91a8; margin-top: 8px; }

a { color: var(--plum-2); }

@media (max-width: 420px) {
  .card { padding: 26px 20px; }
  .grid b { width: 26px; height: 26px; font-size: 14px; }
}
