:root {
  --bg: #f3efe4;
  --ink: #1b2822;
  --muted: #5c6a62;
  --card: #fffdf8;
  --line: #e3d7c6;
  --green: #0f6e56;
  --green-dark: #0b5342;
  --sand: #efe6d6;
  --serif: Georgia, "Iowan Old Style", serif;
  --sans: "Segoe UI", Candara, sans-serif;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(ellipse at top left, #e8f2ec 0%, transparent 45%),
    linear-gradient(180deg, #f7f3ea 0%, var(--bg) 40%, #e7efe9 100%);
  color: var(--ink);
  font: 16px/1.55 var(--sans);
}

a { color: var(--green-dark); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 12px; }
h1 { font-size: clamp(2.4rem, 6vw, 3.6rem); }
h2 { font-size: 1.8rem; }

.site-top {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
}
.logo {
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--ink);
  text-decoration: none;
}
.site-top nav { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; }
.site-top nav a { text-decoration: none; color: var(--muted); }
.cta, button {
  appearance: none;
  border: 0;
  background: var(--green);
  color: #fff;
  border-radius: 999px;
  padding: 10px 16px;
  font: inherit;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}
.cta.large, button { padding: 12px 20px; }
.cta:hover, button:hover { background: var(--green-dark); }
button.quiet {
  background: transparent;
  color: var(--green-dark);
  border: 1px solid var(--line);
  margin: 0 0 12px;
}
button.linkish {
  background: transparent;
  color: var(--green-dark);
  padding: 0;
  margin: 0 0 16px;
  border-radius: 0;
  display: inline;
}
button:disabled { opacity: 0.5; cursor: not-allowed; }

.hero {
  min-height: calc(100vh - 80px);
  display: grid;
  align-items: center;
  padding: 40px 24px 80px;
  background:
    linear-gradient(120deg, rgba(27,40,34,0.55), rgba(15,110,86,0.25)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cpath fill='%23ffffff10' d='M0 80h160v2H0zM80 0v160h2V0z'/%3E%3C/svg%3E"),
    linear-gradient(160deg, #1b2822, #315448 55%, #7aa48d);
  color: #f6f1e6;
}
.hero-copy { width: min(640px, 100%); }
.eyebrow { letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.78rem; color: #cfe0d6; margin: 0 0 10px; }
.lede { font-size: 1.15rem; max-width: 34rem; color: #e8efe9; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero .cta { background: #f6f1e6; color: var(--green-dark); }
.hero .ghost { color: #f6f1e6; text-decoration: none; padding: 12px 8px; }

.band { width: min(960px, calc(100% - 32px)); margin: 0 auto; padding: 64px 0; }
.steps, .price-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.steps article, .price-card, .signup-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
}
.price-card.featured { border-color: var(--green); box-shadow: 0 12px 30px rgba(48, 38, 20, 0.08); }
.price { font-family: var(--serif); font-size: 2.2rem; margin: 8px 0 12px; }
.price span { font-size: 1rem; color: var(--muted); font-family: var(--sans); }
.center { text-align: center; margin-top: 28px; }

.site-foot {
  padding: 32px 24px 48px;
  color: var(--muted);
  text-align: center;
  border-top: 1px solid var(--line);
}

.signup-wrap { width: min(520px, calc(100% - 32px)); margin: 24px auto 64px; }
.signup-card h1 { font-size: 2rem; }
.muted { color: var(--muted); }
.progress {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0 0 20px;
}
.progress li {
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--sand);
  color: var(--muted);
}
.progress li.on { background: var(--ok-bg, #e7f5ef); color: var(--green-dark); }

label { display: block; margin: 0 0 14px; font-size: 0.92rem; }
input, select {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  font: inherit;
}
.check { display: flex; gap: 10px; align-items: flex-start; }
.check input { width: auto; margin-top: 4px; }

.plan-options { display: grid; gap: 10px; margin-bottom: 16px; }
.plan-options label {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  cursor: pointer;
}
.plan-options input { display: inline; width: auto; margin: 0 8px 0 0; }
.alert {
  background: #fdeceb;
  color: #8d342c;
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 14px;
}
.alert.ok { background: #e7f5ef; color: var(--green-dark); }
.debug {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 0.85rem;
  background: #f0ebe1;
  padding: 10px;
  border-radius: 8px;
}
.swap { margin-top: 18px; }

@media (max-width: 720px) {
  .hero { min-height: auto; padding-top: 48px; }
}
