:root {
  color-scheme: light;
  --ink: #20251f;
  --muted: #73796f;
  --accent: #426b51;
  --paper: #fffefa;
  --line: #e5e5dc;
  --background: #f5f4f0;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  padding: 48px 24px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(ellipse at 12% 12%, rgba(217, 226, 207, 0.45), transparent 32%),
    var(--background);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.layout {
  width: min(100%, 1000px);
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  overflow: hidden;
  border: 1px solid rgba(32, 37, 31, 0.08);
  border-radius: 24px;
  background: var(--paper);
  box-shadow: 0 24px 70px rgba(40, 47, 36, 0.1);
}

.intro {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 52px 42px;
  background: #e9eee4;
}

.eyebrow {
  margin: 0 0 24px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1 {
  max-width: 340px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.8rem, 5vw, 4.25rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.intro-copy {
  max-width: 330px;
  margin: 24px 0 0;
  color: #596255;
  font-size: 1rem;
  line-height: 1.7;
}

.note {
  margin: 56px 0 0;
  color: #687263;
  font-size: 0.85rem;
  line-height: 1.6;
}

.form-panel {
  padding: 52px 48px;
}

.form-panel h2 {
  margin: 0 0 8px;
  font-size: 1.35rem;
  font-weight: 650;
  letter-spacing: -0.03em;
}

.form-hint {
  margin: 0 0 32px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.field {
  margin-bottom: 22px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.88rem;
  font-weight: 650;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  outline: none;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 0.95rem;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

input {
  min-height: 48px;
  padding: 0 14px;
}

textarea {
  min-height: 150px;
  padding: 13px 14px;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: #a2a69e;
}

input:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(66, 107, 81, 0.12);
}

.submit-button {
  width: 100%;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 650;
  transition: background 160ms ease, transform 160ms ease;
}

.submit-button:hover {
  transform: translateY(-1px);
  background: #31513d;
}

.submit-button:focus-visible {
  outline: 3px solid rgba(66, 107, 81, 0.32);
  outline-offset: 3px;
}

.submit-button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.form-status {
  min-height: 1.5em;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

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

.form-status[data-state="success"] {
  color: var(--accent);
}

@media (max-width: 720px) {
  body {
    padding: 24px 16px;
  }

  .layout {
    max-width: 520px;
    grid-template-columns: 1fr;
    border-radius: 18px;
  }

  .intro {
    padding: 36px 30px;
  }

  .intro-copy {
    margin-top: 18px;
  }

  .note {
    margin-top: 24px;
  }

  .form-panel {
    padding: 36px 30px;
  }
}
