:root {
  --bg: #f6f4ef;
  --card: #ffffff;
  --ink: #16181d;
  --muted: #5d6270;
  --line: #e6e2d9;
  --accent: #1f6f5c;
  --accent-ink: #ffffff;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(22, 24, 29, 0.04), 0 8px 24px rgba(22, 24, 29, 0.06);
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); }

.wrap {
  max-width: 480px;
  margin: 0 auto;
  padding: 20px 16px 40px;
}

.brand {
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 15px;
  text-align: center;
  margin: 4px 0 18px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 20px;
}

.cover {
  height: 170px;
  border-radius: 12px;
  background:
    radial-gradient(circle at 20% 25%, rgba(255,255,255,0.35) 0 18%, transparent 19%),
    linear-gradient(135deg, #1f6f5c 0%, #2d8f78 55%, #e2b65a 100%);
  margin-bottom: 18px;
  display: flex;
  align-items: flex-end;
  padding: 14px;
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h1 {
  font-size: 26px;
  line-height: 1.2;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}

.tagline { color: var(--muted); margin: 0 0 16px; }

.price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 14px;
}
.price { font-size: 34px; font-weight: 800; letter-spacing: -0.02em; }
.price-note { color: var(--muted); font-size: 14px; }

.bullets { list-style: none; padding: 0; margin: 0 0 6px; }
.bullets li {
  position: relative;
  padding-left: 26px;
  margin: 8px 0;
}
.bullets li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 3px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
}

.pay {
  margin-top: 18px;
}

.pay-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 18px 0 10px;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3em;
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 12px;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.06s ease, filter 0.15s ease;
}
.btn:active { transform: scale(0.99); }
.btn:hover { filter: brightness(1.05); }

.btn-primary { background: var(--ink); color: #fff; }

.methods {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: 10px 0 2px;
}
.chip {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  background: #f1efe9;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px;
}

.divider {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  margin: 18px 0 12px;
}
.divider::before, .divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

#paypal-buttons { min-height: 52px; }

/* Demo placeholders shown until keys are added */
.demo-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 10px;
  border: 0;
  cursor: not-allowed;
}
.demo-paypal { background: #ffc439; color: #111; }
.demo-venmo { background: #008cff; color: #fff; }
.demo-card { background: #2c2e2f; color: #fff; }

.notice {
  font-size: 13px;
  color: #6b4e00;
  background: #fff6db;
  border: 1px solid #f1dd9c;
  border-radius: 10px;
  padding: 10px 12px;
  margin-top: 10px;
}
.notice[hidden] { display: none; }

.trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 18px;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}
.trust div {
  background: #faf9f6;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 6px;
}
.trust strong { display: block; color: var(--ink); font-size: 13px; }

footer {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  margin-top: 22px;
}
footer a { color: var(--muted); margin: 0 6px; }

/* Text pages (policies, thank you) */
.doc h1 { font-size: 24px; }
.doc h2 { font-size: 17px; margin: 22px 0 6px; }
.doc p, .doc li { color: #2f333b; }
.back { display: inline-block; margin-bottom: 14px; font-size: 14px; }

.success-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 28px;
  font-weight: 800;
  margin: 4px auto 14px;
}
.center { text-align: center; }

@media (min-width: 720px) {
  .wrap { padding-top: 48px; }
}
