:root {
  color-scheme: light;
  --ink: #17322d;
  --muted: #667b75;
  --line: #dce7e2;
  --paper: #ffffff;
  --canvas: #f4f8f6;
  --green: #176b55;
  --green-dark: #10513f;
  --green-soft: #e9f4ef;
  --coral: #b74f37;
  --shadow: 0 14px 42px rgb(23 50 45 / 7%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  line-height: 1.55;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 40px, 1040px);
  height: 76px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 750;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 11px;
  color: #fff;
  background: var(--green);
  font-size: 18px;
  font-weight: 800;
}

.header-note { color: var(--muted); font-size: 13px; }

.page-shell {
  width: min(100% - 32px, 800px);
  margin: 26px auto 70px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 6vw, 58px);
  border: 1px solid #d9e8e1;
  border-radius: 24px;
  background: linear-gradient(135deg, #e8f4ed 0%, #f7faf8 72%);
}

.hero::after {
  position: absolute;
  right: -75px;
  bottom: -140px;
  width: 330px;
  height: 330px;
  border: 1px solid rgb(23 107 85 / 12%);
  border-radius: 50%;
  box-shadow: 0 0 0 34px rgb(23 107 85 / 3%), 0 0 0 70px rgb(23 107 85 / 2%);
  content: "";
  pointer-events: none;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

h1, h2, p { margin-top: 0; }

h1 {
  max-width: 620px;
  margin-bottom: 17px;
  font-size: clamp(34px, 6vw, 52px);
  letter-spacing: -0.055em;
  line-height: 1.04;
}

.intro { max-width: 590px; margin-bottom: 22px; color: #3e5a52; font-size: 17px; }

.trust-note {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 600px;
  color: var(--muted);
  font-size: 13px;
}

.trust-icon {
  display: grid;
  flex: 0 0 19px;
  width: 19px;
  height: 19px;
  place-items: center;
  border: 1px solid #a8c9bb;
  border-radius: 50%;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
}

form { margin-top: 24px; }

.form-section {
  margin-top: 18px;
  padding: clamp(23px, 5vw, 42px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.section-heading {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 30px;
}

.section-number {
  display: grid;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 13px;
  color: var(--green);
  background: var(--green-soft);
  font-size: 13px;
  font-weight: 800;
}

.section-heading h2 { margin: 0 0 4px; font-size: 22px; letter-spacing: -0.035em; }
.section-heading p { margin: 0; color: var(--muted); font-size: 14px; }

.question {
  min-width: 0;
  margin: 0 0 31px;
  padding: 0;
  border: 0;
}

.question:last-child { margin-bottom: 0; }
.question legend, .question > label, .question-title { display: block; margin-bottom: 12px; font-size: 15px; font-weight: 700; }
.required { color: var(--coral); font-weight: 800; }
.hint { color: var(--muted); font-size: 12px; font-weight: 450; }
.hint.block { display: block; margin: -7px 0 11px; }

.option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.option-grid.compact { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.option {
  display: flex;
  min-height: 45px;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  color: #29473f;
  cursor: pointer;
  font-size: 13px;
  transition: border-color 120ms ease, background 120ms ease;
}

.option:hover { border-color: #88b5a2; background: #fbfdfc; }
.option:has(input:checked) { border-color: var(--green); background: var(--green-soft); }
.option input { flex: 0 0 auto; width: 16px; height: 16px; margin: 0; accent-color: var(--green); }

input[type="text"], input[type="email"], input[type="tel"], textarea {
  display: block;
  width: 100%;
  min-height: 46px;
  margin-top: 8px;
  padding: 11px 13px;
  border: 1px solid #cbd9d3;
  border-radius: 10px;
  outline: none;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
}

textarea { min-height: 100px; resize: vertical; }
input:focus, textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgb(23 107 85 / 13%); }

.conditional-field { display: none; margin-top: 12px; color: #405b53; font-size: 13px; }
.conditional-field.visible { display: block; }
.text-label { display: block; margin: 16px 0 0; color: #29473f; font-size: 13px; font-weight: 650; }
.tool-group { margin: 0 0 18px; padding: 0; border: 0; }
.tool-group legend { margin-bottom: 9px; color: #526c64; font-size: 12px; font-weight: 750; }
.tool-group .option-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tool-group .option { min-height: 40px; padding: 8px 10px; }
.consent-option { max-width: 480px; }
.contact-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 16px; }
.privacy-placeholder { margin-top: 25px; padding: 14px 16px; border: 1px dashed #d2a26a; border-radius: 10px; background: #fff9f0; color: #745528; font-size: 12px; }

.submit-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 24px 4px; }
.submit-row p { margin: 0; color: var(--muted); font-size: 12px; }
.submit-button {
  display: inline-flex;
  min-width: 158px;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 0 21px;
  border: 0;
  border-radius: 12px;
  background: var(--green);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 750;
  box-shadow: 0 8px 18px rgb(23 107 85 / 18%);
}

.submit-button:hover { background: var(--green-dark); }
.submit-button:disabled { cursor: wait; opacity: 0.6; }
.form-message { display: flex; align-items: flex-start; gap: 14px; margin-top: 20px; padding: 20px; border-radius: 13px; }
.form-message p { margin: 3px 0 0; font-size: 14px; }
.form-message.error { display: block; border: 1px solid #e5bdb3; background: #fff3ef; color: #8d3522; }
.form-message.success { border: 1px solid #bbd9ca; background: #eaf6ef; color: var(--green-dark); }
.success-icon { display: grid; flex: 0 0 28px; width: 28px; height: 28px; place-items: center; border-radius: 50%; background: var(--green); color: #fff; font-weight: 800; }
.site-footer { display: flex; width: min(100% - 40px, 1040px); justify-content: space-between; margin: 0 auto; padding: 0 0 30px; color: #83948e; font-size: 12px; }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
[hidden] { display: none !important; }

@media (max-width: 640px) {
  .site-header { height: 64px; }
  .header-note { font-size: 11px; }
  .page-shell { width: min(100% - 22px, 800px); margin-top: 14px; }
  .hero { border-radius: 18px; }
  .option-grid, .option-grid.compact, .tool-group .option-grid { grid-template-columns: 1fr; }
  .contact-fields { grid-template-columns: 1fr; }
  .submit-row { align-items: stretch; flex-direction: column-reverse; }
  .submit-button { width: 100%; }
  .site-footer { flex-direction: column; gap: 3px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
}
