:root {
  --ink: #1a2420;
  --paper: #f3efe6;
  --moss: #2f5d4a;
  --moss-deep: #1e3d32;
  --sand: #d8c4a0;
  --fog: rgba(255, 255, 255, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: Manrope, system-ui, sans-serif;
  background: #0f1a16;
  min-height: 100vh;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 60% at 20% 10%, rgba(216, 196, 160, 0.28), transparent 55%),
    radial-gradient(ellipse 70% 50% at 90% 80%, rgba(47, 93, 74, 0.55), transparent 50%),
    linear-gradient(160deg, #14241e 0%, #1a3028 40%, #0d1612 100%);
}

.brand-bar {
  padding: 1.25rem 1.5rem;
}
.brand {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #f7f1e6;
}

.hero {
  min-height: calc(100vh - 5rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem 1.5rem 4rem;
  max-width: 40rem;
  animation: rise 0.9s ease-out both;
}

.program {
  margin: 0 0 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  color: var(--sand);
  font-weight: 700;
}

.hero h1 {
  margin: 0 0 1rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  font-weight: 500;
  line-height: 1.1;
  color: #faf6ef;
}

.lead {
  margin: 0 0 1.25rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: rgba(247, 241, 230, 0.82);
  max-width: 28rem;
}

.price {
  margin: 0 0 1.75rem;
  font-weight: 700;
  color: #fff;
  font-size: 1.15rem;
}

.cta {
  display: inline-block;
  align-self: flex-start;
  background: var(--sand);
  color: var(--moss-deep);
  text-decoration: none;
  font-weight: 700;
  padding: 0.9rem 1.4rem;
  border: 0;
  transition: transform 0.25s ease, background 0.25s ease;
  animation: pulseSoft 2.8s ease-in-out infinite;
}
.cta:hover { transform: translateY(-2px); background: #e6d3b0; }

.subscribe {
  background: var(--paper);
  color: var(--ink);
  padding: 3rem 1.5rem 4rem;
}
.subscribe h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2rem;
  margin: 0 0 1.25rem;
  font-weight: 600;
}

.form {
  max-width: 32rem;
  display: grid;
  gap: 0.9rem;
}
.row {
  display: grid;
  gap: 0.9rem;
}
@media (min-width: 640px) {
  .row { grid-template-columns: 1fr 1fr; }
}
label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
}
input {
  font: inherit;
  padding: 0.75rem 0.85rem;
  border: 1px solid #c9c0b2;
  background: #fff;
  color: var(--ink);
}
input:focus {
  outline: 2px solid var(--moss);
  outline-offset: 1px;
}
.submit {
  margin-top: 0.5rem;
  background: var(--moss);
  color: #fff;
  border: 0;
  font: inherit;
  font-weight: 700;
  padding: 0.95rem 1.2rem;
  cursor: pointer;
  transition: background 0.2s ease;
}
.submit:hover { background: var(--moss-deep); }
.pay.disabled {
  margin-top: 0.35rem;
  opacity: 0.55;
  background: #9aa39c;
  color: #fff;
  border: 0;
  padding: 0.85rem 1.2rem;
  font: inherit;
  cursor: not-allowed;
}
.note {
  margin: 0.25rem 0 0;
  font-size: 0.9rem;
  color: #5a625c;
}
.toast {
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
  max-width: 32rem;
}
.toast.ok { background: #dceadf; color: #1e3d32; }
.toast.err { background: #f0d9d5; color: #5c241c; }

footer {
  padding: 1rem 1.5rem 2rem;
  background: #0f1a16;
  color: rgba(247, 241, 230, 0.55);
  font-size: 0.85rem;
}
footer a { color: var(--sand); }

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulseSoft {
  0%, 100% { box-shadow: 0 0 0 0 rgba(216, 196, 160, 0.35); }
  50% { box-shadow: 0 0 0 10px rgba(216, 196, 160, 0); }
}
