:root {
  --accent:        #2E7A0A;
  --accent-hover:  #246008;
  --accent-fg:     #ffffff;
  --accent-dim:    rgba(46,122,10,0.09);
  --accent-border: rgba(46,122,10,0.22);
  --bg:            #F5F5F2;
  --card-bg:       #ffffff;
  --elevated:      #EEECEA;
  --text-primary:  #111111;
  --text-secondary:rgba(0,0,0,0.56);
  --border:        rgba(0,0,0,0.08);
  --border-strong: rgba(0,0,0,0.15);
  --radius-sm:     6px;
  --radius-md:     12px;
  --radius-lg:     18px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.55;
  min-height: 100vh;
}

/* ── Header ── */
.site-header {
  background: rgba(245,245,242,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0 24px;
}
.header-inner {
  max-width: 760px;
  margin: 0 auto;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}
.brand-logo { width: 90px; height: 90px; object-fit: contain; }
.brand-tagline { font-size: 17px; color: var(--text-secondary); }

/* ── Hero ── */
.hero {
  background: linear-gradient(160deg, #e8f5e0 0%, var(--bg) 60%);
  padding: 64px 24px 48px;
  text-align: center;
}
.hero-badge {
  display: inline-block;
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(26px, 5vw, 40px);
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--text-primary);
}
.hero h1 span { color: var(--accent); }
.hero p {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto 28px;
}
.spots-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--card-bg);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}
.spots-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #f59e0b;
  flex-shrink: 0;
}

/* ── Main layout ── */
.main { max-width: 760px; margin: 0 auto; padding: 40px 24px 80px; }

/* ── Card ── */
.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 24px;
}
.card-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
  margin-bottom: 20px;
}

/* ── Form ── */
.form-group { margin-bottom: 20px; }
.form-group:last-child { margin-bottom: 0; }

label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 7px;
}
label .optional {
  font-weight: 400;
  color: var(--text-secondary);
  font-size: 13px;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 11px 14px;
  font-size: 15px;
  font-family: inherit;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-md);
  background: var(--bg);
  color: var(--text-primary);
  transition: border-color 0.15s;
  outline: none;
}
input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  border-color: var(--accent);
  background: #fff;
}
textarea { resize: vertical; min-height: 80px; }

/* Radio / Checkbox groups */
.radio-group, .checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.radio-option, .checkbox-option {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  cursor: pointer;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color 0.15s, background 0.15s;
  font-size: 14px;
  line-height: 1.4;
  color: var(--text-primary);
}
.radio-option:hover, .checkbox-option:hover {
  border-color: var(--accent-border);
  background: var(--accent-dim);
}
.radio-option input, .checkbox-option input { margin-top: 2px; accent-color: var(--accent); flex-shrink: 0; }

/* Other text field */
.other-field {
  display: none;
  margin-top: 10px;
}
.other-field.visible { display: block; }

/* Submit */
.submit-btn {
  width: 100%;
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 700;
  font-family: inherit;
  background: var(--accent);
  color: var(--accent-fg);
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
  letter-spacing: 0.2px;
  margin-top: 8px;
}
.submit-btn:hover { background: var(--accent-hover); }
.submit-btn:active { transform: scale(0.99); }

/* ── Inline docs ── */
.doc-section { margin-bottom: 24px; }
.doc-section h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
}
.doc-section ul {
  padding-left: 20px;
  color: var(--text-secondary);
  font-size: 14px;
}
.doc-section ul li { margin-bottom: 6px; }
.doc-section p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

/* ── Footer ── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 24px;
  text-align: center;
  font-size: 13px;
  color: var(--text-secondary);
}
.site-footer a { color: var(--accent); text-decoration: none; }

/* ── Success page ── */
.success-wrap {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}
.success-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  text-align: center;
  max-width: 480px;
  width: 100%;
}
.success-icon {
  width: 64px; height: 64px;
  background: var(--accent-dim);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
  font-size: 28px;
}
.success-card h2 { font-size: 24px; font-weight: 800; margin-bottom: 12px; }
.success-card p { font-size: 15px; color: var(--text-secondary); }

/* ── Responsive ── */
@media (max-width: 520px) {
  .card { padding: 22px 18px; }
  .hero { padding: 48px 18px 36px; }
  .main { padding: 28px 18px 64px; }
}
