:root {
  --forest: #1E3A2B;
  --forest-deep: #142A1E;
  --ivory: #F8F4EA;
  --gold: #C79A46;
  --gold-soft: #E4CFA0;
  --ink: #20241F;
  --line: rgba(30, 58, 43, 0.14);
  --font-display: 'Fraunces', serif;
  --font-body: 'Work Sans', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.55;
}
a { color: inherit; }

.leaf-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 auto;
  width: fit-content;
}
.leaf-divider svg { display: block; }
.leaf-divider .rule {
  height: 1px;
  width: 64px;
  background: var(--gold);
  opacity: 0.6;
}

.hero {
  background: linear-gradient(180deg, var(--forest) 0%, var(--forest-deep) 100%);
  color: var(--ivory);
  padding: 88px 24px 96px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero .eyebrow {
  font-family: var(--font-body);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 12.5px;
  color: var(--gold-soft);
  margin-bottom: 18px;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(34px, 5.5vw, 58px);
  line-height: 1.08;
  margin: 0 0 20px;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}
.hero p.lede {
  max-width: 560px;
  margin: 0 auto;
  font-size: 17px;
  color: rgba(248,244,234,0.82);
}
.hero .cta {
  margin-top: 36px;
}

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
  padding: 14px 30px;
  border-radius: 3px;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: var(--forest-deep);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(199,154,70,0.35); }
.btn.outline {
  background: transparent;
  color: var(--ivory);
}
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; box-shadow: none; }

section.band {
  max-width: 920px;
  margin: 0 auto;
  padding: 72px 24px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 32px);
  text-align: center;
  margin: 0 0 12px;
  color: var(--forest);
}
.section-sub {
  text-align: center;
  color: #55594f;
  max-width: 520px;
  margin: 0 auto 44px;
  font-size: 15px;
}

.terms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 720px) { .terms-grid { grid-template-columns: 1fr; } }
.term-card {
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 26px 22px;
  background: #fff;
}
.term-card .num {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}
.term-card h3 {
  font-family: var(--font-display);
  font-size: 19px;
  margin: 0 0 8px;
  color: var(--forest);
}
.term-card p { margin: 0; font-size: 14.5px; color: #4c5148; }

form.app-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 36px;
  max-width: 720px;
  margin: 0 auto;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .field-row { grid-template-columns: 1fr; } }
@media (max-width: 480px) {
  form.app-form { padding: 22px 18px; }
  section.band { padding: 48px 16px; }
  .hero { padding: 56px 18px 64px; }
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--forest);
  margin-bottom: 6px;
}
.field .hint { font-size: 12px; color: #8a8d80; font-weight: 400; text-transform: none; letter-spacing: 0; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid #d9d5c8;
  border-radius: 3px;
  font-family: var(--font-body);
  font-size: 14.5px;
  background: #fdfcf9;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
  border-color: var(--gold);
}
.field textarea { min-height: 90px; resize: vertical; }
.subhead {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--forest);
  margin: 30px 0 4px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.subhead:first-of-type { border-top: none; margin-top: 0; padding-top: 0; }

.form-msg {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 3px;
  font-size: 14px;
  display: none;
}
.form-msg.error { display: block; background: #fbe9e7; color: #8c2f21; }
.form-msg.success { display: block; background: #e7f0e5; color: #2c4a2b; }

footer {
  text-align: center;
  padding: 40px 24px 56px;
  color: #7c8074;
  font-size: 13px;
}

.success-view {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  padding: 72px 24px;
}
.success-view h2 {
  font-family: var(--font-display);
  color: var(--forest);
  font-size: 28px;
}
