:root {
  --bg: #f6f7f3;
  --surface: #ffffff;
  --text: #111713;
  --muted: #657066;
  --line: #dde2dc;
  --accent: #2f6b42;
  --accent-soft: #e9f2eb;
  --danger: #a43838;
  --shadow: 0 24px 70px rgba(17, 23, 19, 0.08);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button, input, textarea { font: inherit; }

.page-shell {
  width: min(1080px, calc(100% - 40px));
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: center;
  padding: 72px 0;
}

.intro { max-width: 490px; }
.eyebrow, .step-label {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

h1, h2, p { margin-top: 0; }
.intro h1 {
  margin-bottom: 22px;
  font-size: clamp(46px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.055em;
  font-weight: 760;
}

.lead {
  margin-bottom: 28px;
  color: #39423b;
  font-size: 19px;
  line-height: 1.65;
}

.notice {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 18px 20px;
  margin-bottom: 16px;
  background: var(--accent-soft);
  border: 1px solid #cfe1d2;
  border-radius: 16px;
  font-size: 15px;
  line-height: 1.5;
}
.notice strong { color: var(--accent); }
.fine-print {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.form-card {
  background: var(--surface);
  border: 1px solid rgba(17, 23, 19, 0.07);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 38px;
}
.form-heading { margin-bottom: 28px; }
.form-heading h2 {
  margin-bottom: 0;
  font-size: 30px;
  letter-spacing: -0.035em;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field { margin-bottom: 18px; }
label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 700;
}
input[type="text"],
input[type="email"],
textarea,
.file-wrap {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
input[type="text"],
input[type="email"],
textarea {
  padding: 14px 15px;
  color: var(--text);
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}
input:focus, textarea:focus, .file-wrap:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(47, 107, 66, 0.10);
}
textarea { resize: vertical; min-height: 120px; }
.file-wrap { padding: 12px 14px; }
input[type="file"] { width: 100%; color: #4e5950; }
input[type="file"]::file-selector-button {
  margin-right: 12px;
  border: 0;
  border-radius: 9px;
  padding: 9px 12px;
  background: #eff2ee;
  color: #273029;
  font-weight: 700;
  cursor: pointer;
}
.field-help, .privacy-note {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}
.field-help { margin: 7px 0 0; }
.privacy-note { margin: 13px 0 0; text-align: center; }

.submit-button {
  width: 100%;
  border: 0;
  border-radius: 12px;
  padding: 15px 18px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  transition: transform .18s ease, opacity .18s ease;
}
.submit-button:hover { transform: translateY(-1px); }
.submit-button:active { transform: translateY(0); }

.form-error {
  margin-bottom: 20px;
  padding: 13px 14px;
  border-radius: 10px;
  background: #fff1f1;
  border: 1px solid #f1caca;
  color: var(--danger);
  font-size: 14px;
}
.honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.success-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 40px 20px;
  background: var(--bg);
}
.success-card {
  width: min(560px, 100%);
  padding: 54px 42px;
  text-align: center;
  background: #fff;
  border: 1px solid rgba(17, 23, 19, .07);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.success-mark {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 26px;
  font-weight: 900;
}
.success-card h1 {
  margin-bottom: 14px;
  font-size: clamp(34px, 6vw, 50px);
  line-height: 1.04;
  letter-spacing: -0.045em;
}
.success-card > p:not(.step-label) {
  margin: 0 auto 22px;
  max-width: 410px;
  color: #4c574f;
  line-height: 1.65;
}
.text-link {
  color: var(--accent);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}
.text-link:hover { text-decoration: underline; }

@media (max-width: 820px) {
  .page-shell {
    width: min(680px, calc(100% - 28px));
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 48px 0;
    align-items: start;
  }
  .intro { max-width: 620px; }
  .intro h1 { font-size: clamp(44px, 12vw, 68px); }
  .form-card { padding: 28px 22px; }
}

@media (max-width: 560px) {
  .page-shell { padding: 34px 0; }
  .field-grid { grid-template-columns: 1fr; gap: 0; }
  .lead { font-size: 17px; }
  .form-card { border-radius: 18px; }
  .success-card { padding: 42px 24px; }
}

