/* Spam Bully site styles for the rebuilt pages (purchase, thank-you). Plain CSS, no framework. */
:root {
  --ink: #141414;
  --text: #222222;
  --muted: #4a4a4a;
  --subtle: #5c5c5c;
  --line: #e2e6e5;
  --field: #c9d0ce;
  --wash: #f3f6f5;
  --accent: #00a383;
  --accent-ink: #007a65;
  --accent-deep: #004f41;
  --ok-bg: #e3f6f1;
  --ok-ink: #00513f;
  --err-ink: #b3261e;
  --paypal: #ffc439;
}

* { box-sizing: border-box; }
body { margin: 0; background: #ffffff; color: var(--text); font: 16px/1.5 'Open Sans', Arial, sans-serif; }
a { color: var(--accent-ink); }
a:hover { color: var(--accent-deep); }
h1, h2, h3 { font-family: Raleway, 'Open Sans', Arial, sans-serif; color: var(--ink); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Header and footer */
.site-header { border-bottom: 1px solid #e6e6e6; background: #ffffff; }
.site-header .bar { max-width: 1160px; margin: 0 auto; padding: 14px 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.site-header img { height: 44px; display: block; }
.site-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; font-family: Raleway, sans-serif; font-weight: 700; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; }
.site-nav a { color: #333333; text-decoration: none; padding: 10px 0; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--accent-ink); }
.site-footer { background: var(--ink); color: #c4c4c4; padding: 24px; font-size: 13px; }
.site-footer .bar { max-width: 1160px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.site-footer a { color: #e0e0e0; }

/* Purchase page */
.hero { background: var(--wash); padding: 56px 24px 120px; text-align: center; }
.hero h1 { margin: 0 0 12px; font-weight: 800; font-size: 44px; line-height: 1.15; }
.hero p { margin: 0 auto; max-width: 760px; font-size: 18px; line-height: 1.6; color: var(--muted); }

.checkout-wrap { padding: 0 24px; margin-top: -88px; }
.checkout { max-width: 560px; margin: 0 auto; background: #ffffff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 32px rgba(20, 20, 20, 0.08); padding: 32px; }
.checkout-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px; }
.checkout-head h2 { margin: 0; font-size: 22px; }
.checkout-head .each { font-size: 15px; color: var(--muted); }
.checkout-head .each strong { font-size: 20px; color: var(--ink); }

.qty-row { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.qty-row label { font-weight: 600; font-size: 15px; }
.stepper { display: flex; align-items: center; border: 1px solid var(--field); border-radius: 8px; overflow: hidden; }
.stepper button { width: 48px; height: 48px; border: 0; background: var(--wash); font-size: 22px; line-height: 1; cursor: pointer; color: var(--ink); }
.stepper button:hover { background: #e4ebe9; }
.stepper input { width: 64px; height: 48px; border: 0; border-inline: 1px solid var(--field); text-align: center; font: 600 18px 'Open Sans', Arial, sans-serif; }

.tiers { margin-top: 20px; background: #f7f9f8; border-radius: 8px; padding: 14px 16px; }
.tiers-title { margin: 0 0 8px; font-size: 13px; font-weight: 600; color: var(--muted); }
.tier-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.tier-grid li { border-radius: 6px; padding: 6px 8px; text-align: center; background: #ffffff; color: #333333; border: 1px solid var(--line); font-size: 12px; }
.tier-grid li strong { display: block; font-size: 15px; }
.tier-grid li.current { background: var(--accent); border-color: var(--accent); color: #ffffff; }

.coupon { margin-top: 20px; }
.coupon label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 6px; }
.coupon label span { font-weight: 400; color: var(--subtle); }
.coupon-row { display: flex; gap: 8px; }
.coupon-row input { flex: 1 1 auto; min-width: 0; height: 46px; border: 1px solid var(--field); border-radius: 8px; padding: 0 12px; font: 16px 'Open Sans', Arial, sans-serif; text-transform: uppercase; }
.coupon-row button { height: 46px; padding: 0 18px; border: 1px solid var(--ink); border-radius: 8px; background: #ffffff; font: 600 15px 'Open Sans', Arial, sans-serif; cursor: pointer; }
.coupon-msg { margin-top: 6px; min-height: 20px; font-size: 13px; color: var(--ok-ink); }
.coupon-msg.error { color: var(--err-ink); }

.total-row { margin-top: 16px; border-top: 1px solid #e6e6e6; padding-top: 20px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.total-row .label { font-weight: 600; }
.total-row .detail { font-size: 13px; color: var(--subtle); }
.total-row .amount { font-family: Raleway, sans-serif; font-weight: 800; font-size: 36px; color: var(--ink); white-space: nowrap; }

.pay { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.pay-card { height: 52px; border: 0; border-radius: 8px; background: var(--accent); color: #ffffff; font: 700 17px 'Open Sans', Arial, sans-serif; cursor: pointer; }
.pay-card:hover { background: var(--accent-ink); }
.pay-card:disabled { background: #9fb3ae; cursor: not-allowed; }
#paypal-button-container { min-height: 52px; }
.secure { margin: 14px 0 0; font-size: 13px; color: var(--subtle); display: flex; gap: 8px; align-items: flex-start; }
.secure svg { flex: 0 0 auto; margin-top: 2px; }

.notice { margin-top: 18px; padding: 16px 18px; border-radius: 8px; font-size: 15px; line-height: 1.55; }
.notice.info { background: #fff5d6; color: #5c4400; }
.notice.error { background: #fbe4e2; color: #7a1b14; }
.notice.ok { background: var(--ok-bg); color: var(--ok-ink); }
.notice h3 { margin: 0 0 6px; font-size: 18px; color: inherit; }
.notice .code { font: 600 20px Consolas, Menlo, monospace; letter-spacing: 1px; background: #ffffff; padding: 2px 8px; border-radius: 4px; color: var(--ink); }

.next { padding: 64px 24px 24px; }
.next .inner, .quotes .inner { max-width: 1000px; margin: 0 auto; }
.next h2 { margin: 0 0 24px; font-size: 26px; text-align: center; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.steps li { border: 1px solid #e6e6e6; border-radius: 10px; padding: 20px; }
.steps .num { font-family: Raleway, sans-serif; font-weight: 800; font-size: 28px; color: var(--accent-ink); }
.steps h3 { margin: 6px 0; font-size: 17px; }
.steps p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted); }
.renew-note { margin-top: 24px; background: var(--wash); border-radius: 10px; padding: 18px 20px; font-size: 15px; line-height: 1.6; }

.quotes { padding: 40px 24px 64px; }
.quotes .inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.quotes figure { margin: 0; padding: 20px; border-top: 3px solid var(--accent); background: #fafafa; }
.quotes blockquote { margin: 0; font-size: 15px; line-height: 1.6; }
.quotes figcaption { margin-top: 10px; font-weight: 700; font-size: 14px; }

@media (max-width: 600px) {
  .hero { padding: 28px 16px 72px; }
  .hero h1 { font-size: 30px; }
  .hero p { font-size: 15px; }
  .checkout-wrap { padding: 0 16px; margin-top: -52px; }
  .checkout { padding: 20px; }
  .total-row .amount { font-size: 30px; }
  .next { padding: 40px 16px 8px; }
  .quotes { padding: 24px 16px 40px; }
  .site-header .bar { padding: 10px 16px; }
  .site-nav { gap: 4px 16px; font-size: 12px; }
}
