:root {
  --green-50: #f3faf4;
  --green-100: #e3f3e7;
  --green-200: #c9e7d1;
  --green-400: #7cc28b;
  --green-600: #3f8a55;
  --green-700: #2f6a42;
  --gold-300: #e8d28a;
  --gold-500: #c9a24a;
  --gold-600: #a8862e;
  --ink: #1f3328;
  --ink-soft: #4a5b51;
  --paper: #fbfdf8;
  --shadow: 0 6px 20px rgba(63, 138, 85, 0.08);
  --shadow-strong: 0 12px 36px rgba(63, 138, 85, 0.14);
  --radius: 14px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body {
  background:
    radial-gradient(1200px 600px at 80% -10%, var(--green-100), transparent 60%),
    radial-gradient(900px 500px at -10% 20%, #f5f1e1, transparent 60%),
    var(--paper);
  min-height: 100vh;
}

.hero {
  padding: 64px 20px 32px;
  text-align: center;
}
.hero-inner {
  max-width: 820px;
  margin: 0 auto;
}
.leaf {
  font-size: 36px;
  margin-bottom: 12px;
  filter: drop-shadow(0 2px 4px rgba(63, 138, 85, 0.2));
}
.hero h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.1;
  margin: 0 0 18px;
  color: var(--green-700);
  letter-spacing: -0.5px;
}
.hero .gold {
  color: var(--gold-600);
  background: linear-gradient(120deg, var(--gold-500), var(--gold-300), var(--gold-600));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.subtitle {
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.55;
  max-width: 640px;
  margin: 0 auto;
}

main {
  max-width: 820px;
  margin: 0 auto;
  padding: 20px 18px 60px;
}

.card {
  background: #ffffff;
  border: 1px solid var(--green-200);
  border-radius: var(--radius);
  padding: 28px 28px 22px;
  margin-bottom: 22px;
  box-shadow: var(--shadow);
}

.card h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  font-size: 28px;
  margin: 0 0 4px;
  color: var(--green-700);
}
.card .section-sub {
  margin: 0 0 20px;
  color: var(--gold-600);
  font-style: italic;
  font-size: 15px;
}

.section-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 30px 4px 14px;
}
.section-divider .num {
  font-family: 'Cormorant Garamond', serif;
  color: var(--gold-600);
  font-size: 22px;
  font-weight: 600;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fff, var(--green-100));
  border: 1px solid var(--gold-300);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  box-shadow: var(--shadow);
}
.section-divider .line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, var(--green-200), transparent);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}
.field span {
  font-weight: 500;
  font-size: 15px;
  color: var(--ink);
  line-height: 1.45;
}
.field span em {
  color: var(--gold-600);
  font-style: normal;
  margin-left: 2px;
}
.field input,
.field textarea {
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--green-50);
  border: 1px solid var(--green-200);
  border-radius: 10px;
  padding: 12px 14px;
  outline: none;
  transition: border-color .15s, box-shadow .15s, background .15s;
  resize: vertical;
}
.field textarea {
  min-height: 110px;
  line-height: 1.55;
}
.field input:focus,
.field textarea:focus {
  border-color: var(--green-400);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(124, 194, 139, 0.18);
}

.grid {
  display: grid;
  gap: 14px 18px;
  grid-template-columns: 1fr 1fr;
}
.grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) {
  .grid { grid-template-columns: 1fr; }
}

.intro-card { background: linear-gradient(180deg, #ffffff, var(--green-50)); }

.q-number {
  display: inline-block;
  font-family: 'Cormorant Garamond', serif;
  color: var(--gold-600);
  font-weight: 600;
  margin-right: 6px;
}

.submit-card {
  text-align: center;
  background: linear-gradient(180deg, #ffffff, var(--green-50));
}
#submitBtn {
  font-family: inherit;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: .3px;
  color: #fff;
  background: linear-gradient(135deg, var(--green-600), var(--green-700));
  border: none;
  border-radius: 999px;
  padding: 16px 38px;
  cursor: pointer;
  box-shadow: var(--shadow-strong);
  transition: transform .12s, box-shadow .15s, opacity .15s;
}
#submitBtn:hover { transform: translateY(-1px); }
#submitBtn:active { transform: translateY(0); }
#submitBtn:disabled { opacity: .65; cursor: progress; }

.hint {
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 14px;
}
.status {
  margin-top: 14px;
  font-size: 15px;
  min-height: 22px;
}
.status.success { color: var(--green-700); font-weight: 600; }
.status.error { color: #b94a4a; font-weight: 600; }

footer {
  text-align: center;
  padding: 28px 20px 50px;
  color: var(--ink-soft);
  font-size: 13px;
}

::selection { background: var(--gold-300); color: var(--ink); }
