:root {
  color-scheme: light;
  --ink: #16211f;
  --muted: #586763;
  --line: #d9e0dc;
  --paper: #fbfcfa;
  --panel: #ffffff;
  --wash: #eef4ef;
  --teal: #145c57;
  --teal-2: #0d4543;
  --gold: #b98b38;
  --danger: #9f3328;
  --shadow: 0 18px 50px rgba(24, 42, 38, 0.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

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

.page-shell {
  min-height: 100vh;
}

.hero {
  position: relative;
  min-height: clamp(360px, 48vh, 520px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #eaf0ec;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(251, 252, 250, 0.94), rgba(251, 252, 250, 0.7) 42%, rgba(251, 252, 250, 0.18) 78%),
    linear-gradient(0deg, rgba(22, 33, 31, 0.36), rgba(22, 33, 31, 0) 44%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0 56px;
}

.brand {
  margin: 0 0 18px;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--teal);
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 16px;
  font-size: clamp(2rem, 4.4vw, 3.65rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.intro {
  max-width: 620px;
  margin-bottom: 0;
  color: #263330;
  font-size: clamp(1.08rem, 2.4vw, 1.36rem);
}

.notice,
.report-form {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.notice {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  padding: 24px 0;
}

.notice > div {
  min-height: 118px;
  border-left: 4px solid var(--gold);
  background: var(--wash);
  padding: 22px 24px;
  color: #30413d;
}

.notice strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
}

.notice p {
  margin-bottom: 14px;
}

.notice p:last-child {
  margin-bottom: 0;
}

.report-form {
  margin-bottom: 72px;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: clamp(22px, 4vw, 44px);
}

.form-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
}

.form-header h2 {
  margin-bottom: 4px;
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  letter-spacing: 0;
}

.form-header p {
  color: var(--muted);
  margin-bottom: 0;
}

.review-mode {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid #c9d5d0;
  color: var(--teal);
  font-size: 0.86rem;
  font-weight: 700;
  white-space: nowrap;
}

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

.field,
.choice-group,
.confirm {
  display: grid;
  gap: 9px;
  margin-bottom: 22px;
}

.field > span,
.choice-group legend {
  color: #243530;
  font-weight: 700;
}

em {
  color: var(--danger);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid #cbd7d2;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  padding: 12px 14px;
}

textarea {
  resize: vertical;
  min-height: 120px;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(20, 92, 87, 0.18);
  border-color: var(--teal);
}

.choice-group {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 18px 18px 16px;
}

.choice-group label,
.confirm {
  grid-template-columns: 20px 1fr;
  align-items: start;
  color: #2f403c;
}

.choice-group input,
.confirm input {
  width: 18px;
  min-height: 18px;
  margin-top: 3px;
  accent-color: var(--teal);
}

.optional-contact {
  display: none;
}

.optional-contact.is-visible {
  display: grid;
}

.submit-row {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding-top: 8px;
}

button {
  min-height: 52px;
  border: 0;
  border-radius: 6px;
  background: var(--teal);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  padding: 0 24px;
}

button:hover {
  background: var(--teal-2);
}

button:disabled {
  cursor: progress;
  opacity: 0.72;
}

button:focus {
  outline: 3px solid rgba(20, 92, 87, 0.28);
  outline-offset: 3px;
}

#formStatus {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
}

.honeypot {
  position: absolute;
  left: -100vw;
  width: 1px;
  height: 1px;
  opacity: 0;
}

@media (max-width: 760px) {
  .hero {
    min-height: 430px;
  }

  .hero::after {
    background:
      linear-gradient(180deg, rgba(251, 252, 250, 0.92), rgba(251, 252, 250, 0.62) 58%, rgba(251, 252, 250, 0.24)),
      linear-gradient(0deg, rgba(22, 33, 31, 0.34), rgba(22, 33, 31, 0) 48%);
  }

  .hero-content {
    padding: 84px 0 44px;
  }

  .notice,
  .field-grid,
  .form-header {
    grid-template-columns: 1fr;
  }

  .notice {
    gap: 12px;
  }

  .form-header {
    display: grid;
  }

  .review-mode {
    justify-self: start;
  }

  .submit-row {
    display: grid;
  }

  button {
    width: 100%;
  }
}
