:root {
  --bg: #f4f2ee;          /* eggshell / light beige */
  --card: #2a2d33;        /* grey card */
  --text: #f2f4f8;        /* light text */
  --muted: #c6c9d1;       /* secondary text */
  --border: #3a3f47;      /* subtle borders */
  --accent: #9aa4b2;      /* neutral accent */
  --ok: #5ad18f;
  --danger: #ff6b6b;
  --focus: rgba(154, 164, 178, 0.35);
  --shadow: 0 18px 45px rgba(0,0,0,0.35);
  --radius: 16px;
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);

  /* eggshell background with subtle texture */
  background:
    radial-gradient(900px 450px at 15% 10%, rgba(0,0,0,0.035), transparent 60%),
    radial-gradient(900px 450px at 85% 20%, rgba(0,0,0,0.03), transparent 55%),
    var(--bg);

  display: grid;
  place-items: center;
  padding: 28px;
}

.wrap {
  width: min(680px, 100%);
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

/* Typography */
h1 {
  margin: 0 0 8px;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 650;
  letter-spacing: -0.015em;
}

.pdf-link {
  color: red;
}


.subtitle {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 15px;
}

/* Form */
.label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.row {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

/* Input */
input[type="email"] {
  flex: 1 1 260px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #1e2026;
  color: var(--text);
  outline: none;
  font-size: 15px;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

input[type="email"]::placeholder {
  color: rgba(242, 244, 248, 0.45);
}

input[type="email"]:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--focus);
}

/* Button */
button {
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid #4a4f58;
  background: #3a3f47;
  color: var(--text);
  font-weight: 600;
  cursor: pointer;
  transition: background 150ms ease, border-color 150ms ease, transform 120ms ease;
}

button:hover {
  background: #454a54;
  border-color: #5a606c;
  transform: translateY(-1px);
}

button:active {
  transform: translateY(0);
}

button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Messages */
.message {
  margin-top: 12px;
  min-height: 1.4em;
  font-size: 14px;
  color: var(--muted);
}

.message.ok { color: var(--ok); }
.message.err { color: var(--danger); }

/* Fine print */
.fineprint {
  margin-top: 10px;
  font-size: 12px;
  color: rgba(242, 244, 248, 0.5);
}

@media (max-width: 520px) {
  .row {
    flex-direction: column;
    align-items: stretch;
  }

  input[type="email"] {
    flex: 0 0 auto;
    width: 100%;
    height: 44px;
    padding: 0 12px;
    font-size: 16px;
  }

  button {
    width: 100%;
    height: 44px;
  }
}


.pricing {
  margin-top: 28px;
  display: grid;
  gap: 16px;
}

.tier {
  display: block;
  padding: 20px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--card);
  text-decoration: none;
  color: var(--text);
  transition: transform 150ms ease, box-shadow 150ms ease, border-color 150ms ease;
}

.tier:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 35px rgba(0,0,0,0.35);
  border-color: var(--accent);
}

.tier-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
}

.tier-desc {
  font-size: 14px;
  color: var(--muted);
}

/* Make premium stand out */
.tier-premium {
  border: 1px solid #9aa4b2;
  background: linear-gradient(145deg, #2a2d33, #32363f);
}

.tier-badge {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  background: var(--accent);
  color: #1e2026;
}

/* Donation slightly different */
.tier-donate {
  border-style: dashed;
}

