:root {
  color-scheme: light;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: #f6f3ee;
  color: #17201c;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
}

.page-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
  width: min(1120px, calc(100% - 40px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 56px 0;
}

.intro {
  max-width: 560px;
}

.eyebrow {
  margin: 0 0 18px;
  color: #1f7a66;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(2.45rem, 5vw, 5rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.intro-copy {
  max-width: 460px;
  margin: 24px 0 0;
  color: #52605a;
  font-size: 1.1rem;
  line-height: 1.7;
}

.form-panel {
  border: 1px solid #ded6ca;
  border-radius: 8px;
  background: #fffdf9;
  box-shadow: 0 24px 70px rgba(35, 28, 18, 0.12);
}

form {
  display: grid;
  gap: 20px;
  padding: clamp(24px, 4vw, 40px);
}

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

label {
  display: grid;
  gap: 8px;
  color: #26332e;
  font-size: 0.94rem;
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  border: 1px solid #cfc6ba;
  border-radius: 6px;
  background: #ffffff;
  color: #17201c;
  font: inherit;
  font-weight: 500;
  line-height: 1.45;
  outline: none;
  padding: 13px 14px;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

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

input:focus,
textarea:focus {
  border-color: #1f7a66;
  box-shadow: 0 0 0 4px rgba(31, 122, 102, 0.14);
}

button {
  justify-self: start;
  border: 0;
  border-radius: 6px;
  background: #1f7a66;
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  padding: 13px 18px;
}

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

.form-status {
  min-height: 24px;
  margin: 0;
  color: #52605a;
  font-size: 0.96rem;
  font-weight: 650;
}

.form-status[data-state="success"] {
  color: #17614f;
}

.form-status[data-state="error"] {
  color: #a33b2d;
}

@media (max-width: 780px) {
  .page-shell {
    grid-template-columns: 1fr;
    align-items: start;
    min-height: auto;
    padding: 40px 0;
  }

  .field-grid {
    grid-template-columns: 1fr;
  }
}
