/* The Jew Brew — landing page. Matches the email masthead deliberately:
   parchment background, cream card, double-ruled navy frame, gold accent,
   Bookman display serif on the wordmark. */

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: #eee5d0;
  color: #1d2a3a;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               Helvetica, Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
}

.page {
  display: flex;
  justify-content: center;
  padding: 32px 14px 48px 14px;
}

.card {
  background: #fffdf8;
  border: 1px solid #d6d0bf;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(50, 40, 20, 0.08);
  width: 100%;
  max-width: 680px;
}

.accent-stripe {
  height: 6px;
  background: #c79024;
}

/* ---------- Masthead ---------- */

.masthead {
  padding: 38px 40px 28px 40px;
}

.crown {
  text-align: center;
  line-height: 0;
  margin-bottom: -14px;
  position: relative;
  z-index: 2;
}

.frame-outer {
  border: 2.5px solid #0d2440;
  padding: 5px;
  background: #fffdf8;
}

.frame-inner {
  border: 1px solid #0d2440;
  padding: 30px 24px 24px 24px;
  text-align: center;
}

.wordmark {
  margin: 0;
  font-family: "Bookman Old Style", "Book Antiqua", Georgia,
               "Times New Roman", serif;
  font-size: 44px;
  font-weight: 900;
  color: #0d2440;
  letter-spacing: 5px;
  line-height: 1;
  text-transform: uppercase;
}

.rule {
  margin: 16px 0 14px 0;
  line-height: 0;
}
.rule-line {
  display: inline-block;
  vertical-align: middle;
  width: 58px;
  height: 1px;
  background: #0d2440;
}
.rule-diamond {
  display: inline-block;
  vertical-align: middle;
  padding: 0 10px;
  color: #c79024;
  font-size: 11px;
  line-height: 1;
}

.tagline-latin {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
  color: #0d2440;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 6px;
}
.tagline-yiddish {
  font-family: "David", "SBL Hebrew", "Times New Roman", serif;
  font-size: 15px;
  color: #5a4419;
  letter-spacing: 1px;
  line-height: 1.3;
}

.fleuron {
  text-align: center;
  line-height: 0;
  margin-top: -12px;
  position: relative;
  z-index: 2;
}

/* ---------- Pitch ---------- */

.pitch {
  padding: 26px 48px 8px 48px;
  text-align: center;
}
.lede {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  line-height: 1.4;
  color: #0d2440;
  margin: 0 0 18px 0;
}
.copy {
  font-size: 16px;
  line-height: 1.65;
  color: #2c3a4d;
  margin: 0 auto;
  max-width: 520px;
}

/* ---------- Signup form ---------- */

.signup {
  padding: 30px 48px 24px 48px;
}

.section-label {
  text-align: center;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #0d2440;
  margin-bottom: 14px;
  font-weight: 700;
}

.form { margin: 0; }

.row {
  display: flex;
  gap: 10px;
  border: 1.5px solid #0d2440;
  border-radius: 4px;
  background: #fffdf8;
  padding: 4px;
}

input[type="email"] {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 12px 14px;
  font-size: 16px;
  font-family: inherit;
  color: #1d2a3a;
  min-width: 0;
}
input[type="email"]::placeholder {
  color: #8a8270;
}

button[type="submit"] {
  border: 0;
  background: #0d2440;
  color: #fffdf8;
  padding: 12px 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.15s ease;
}
button[type="submit"]:hover { background: #1a3358; }
button[type="submit"]:disabled {
  background: #6b7382;
  cursor: not-allowed;
}

.form-note {
  text-align: center;
  font-size: 13px;
  color: #5a5a5a;
  margin: 12px 0 0 0;
  min-height: 1.2em;
}
.form-note.success { color: #0d6b3a; font-weight: 600; }
.form-note.error   { color: #a83232; font-weight: 600; }

/* ---------- Three-up ---------- */

.three-up {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  padding: 24px 40px 32px 40px;
  border-top: 1px solid #e2dcc9;
  margin-top: 18px;
}

.cell {
  padding: 14px 14px 4px 14px;
  border-right: 1px solid #e2dcc9;
}
.cell:last-child { border-right: 0; }

.cell-num {
  font-family: "Bookman Old Style", "Book Antiqua", Georgia,
               "Times New Roman", serif;
  font-size: 22px;
  color: #c79024;
  font-weight: 900;
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.cell-h {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 11px;
  color: #0d2440;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 8px;
}
.cell-body {
  font-size: 14px;
  line-height: 1.6;
  color: #2c3a4d;
}

/* ---------- Footer ---------- */

.footer {
  padding: 18px 40px 30px 40px;
  text-align: center;
}
.footer-rule {
  margin-bottom: 12px;
  line-height: 0;
}
.footer-line {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 11px;
  color: #5a4419;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* ---------- Utilities ---------- */

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* ---------- Mobile ---------- */

@media (max-width: 540px) {
  .page { padding: 18px 8px 32px 8px; }
  .masthead { padding: 28px 22px 22px 22px; }
  .wordmark { font-size: 30px; letter-spacing: 3px; }
  .frame-inner { padding: 24px 14px 18px 14px; }

  .pitch  { padding: 22px 22px 4px 22px; }
  .lede   { font-size: 19px; }
  .copy   { font-size: 15px; }

  .signup { padding: 22px 22px 18px 22px; }
  .row { flex-direction: column; padding: 6px; gap: 6px; }
  input[type="email"] { text-align: center; }
  button[type="submit"] { width: 100%; }

  .three-up {
    grid-template-columns: 1fr;
    padding: 18px 22px 22px 22px;
  }
  .cell { border-right: 0; border-bottom: 1px solid #e2dcc9; }
  .cell:last-child { border-bottom: 0; }

  .footer { padding: 14px 22px 24px 22px; }
}
