/* pay.css — the subscribe / notify-me step. Light card on the app shell, matching
   profile.css and the pricing cards on the landing page. */

.pay-wrap { max-width: 620px; margin: 0 auto; padding: 8px 0 40px; }

.pay-back {
  display: inline-block;
  margin: 0 0 14px;
  color: #5b6470;
  font-size: 14px;
  text-decoration: none;
}
.pay-back:hover { color: #14304f; text-decoration: underline; }

.pay-card {
  background: #fff;
  border: 1px solid #e3e6ea;
  border-radius: 12px;
  padding: 26px 28px;
  box-shadow: 0 10px 30px rgba(20, 48, 79, .07);
}

.pay-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.pay-head h1 { margin: 0; font-size: 26px; color: #14304f; }
.pay-price { margin: 0; font-size: 26px; font-weight: 800; color: #14304f; }
.pay-price small { font-size: 14px; font-weight: 600; color: #6b7885; }

.pay-blurb { margin: 6px 0 16px; color: #5b6470; font-size: 15px; }

.pay-features { margin: 0 0 20px; padding-left: 20px; color: #3d4753; line-height: 1.65; }
.pay-features li { margin: 4px 0; }

/* The honest part: says plainly that nothing is being charged today. */
.pay-note {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0 0 20px;
  padding: 13px 15px;
  border: 1px solid #cfe0f0;
  border-left: 4px solid #14304f;
  border-radius: 8px;
  background: #f4f8fc;
  font-size: 14px;
  line-height: 1.55;
}
.pay-note span { color: #5b6470; }

.pay-form { display: flex; flex-direction: column; gap: 10px; }
.pay-field { display: flex; flex-direction: column; gap: 5px; }
.pay-field span { font-size: 13px; font-weight: 700; color: #3d4753; }
.pay-field input {
  padding: 11px 12px;
  border: 1px solid #cdd4dc;
  border-radius: 8px;
  font: inherit;
  font-size: 15px;
}
.pay-field input:focus-visible { outline: 3px solid #cdee6b; outline-offset: 1px; border-color: #14304f; }
.pay-field input.is-locked { background: #f2f4f7; color: #5b6470; }

.pay-btn {
  padding: 12px 16px;
  border: 0;
  border-radius: 8px;
  background: #14304f;
  color: #fff;
  font: inherit;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
}
.pay-btn:hover:not(:disabled) { background: #1d4370; }
.pay-btn:disabled { background: #8c9aa8; cursor: default; }
.pay-btn:focus-visible { outline: 3px solid #cdee6b; outline-offset: 2px; }

.pay-msg { margin: 2px 0 0; min-height: 1.2em; font-size: 14px; color: #5b6470; }
.pay-msg.ok { color: #2b7a3d; }
.pay-msg.err { color: #b3261e; }

.pay-billing-note {
  margin: 18px 0 0;
  padding-top: 14px;
  border-top: 1px solid #eceff2;
  color: #6b7885;
  font-size: 13px;
  line-height: 1.6;
}

.pay-others { margin: 18px 0 0; text-align: center; color: #5b6470; font-size: 14px; }
.pay-others a { color: #0b57a4; }

@media (max-width: 560px) {
  .pay-card { padding: 20px 18px; }
  .pay-head h1 { font-size: 22px; }
  .pay-price { font-size: 22px; }
}

/* ---- Buying (pay.js buyPanel): shown when billing is open, or to a tester ------------- */
.pay-buy { margin: 6px 0 4px; }
.pay-buy-lead { margin: 0 0 12px; font-size: 15px; line-height: 1.55; color: #3d4753; }
.pay-test { margin: 0 0 12px; padding: 8px 12px; border-radius: 8px; background: #fff4d6;
  border: 1px dashed #d9a520; color: #6b5a2e; font-size: 13px; }
.pay-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px; margin: 0 0 10px; }
.pay-option { position: relative; display: flex; flex-direction: column; gap: 6px;
  padding: 16px; border: 1px solid #e7e2d6; border-radius: 12px; background: #fff; }
.pay-option-best { border-color: #c69a3f; box-shadow: 0 8px 24px rgba(198, 154, 63, .15); }
.pay-option-tag { position: absolute; top: -10px; left: 14px; background: #a27a28; color: #fff;
  font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 999px; }
.pay-option h2 { margin: 0; font-size: 16px; color: #164667; }
.pay-option-price { margin: 0; font-size: 24px; font-weight: 800; color: #a27a28; }
.pay-option-price small { font-size: 13px; font-weight: 600; color: #5b6470; }
.pay-option-how { margin: 0; flex: 1 1 auto; font-size: 13.5px; line-height: 1.5; color: #5b6470; }
.pay-option .pay-btn { margin-top: 6px; }
.pay-fine { margin: 6px 0 0; font-size: 12.5px; color: #6b7480; line-height: 1.5; }
