:root {
  color-scheme: light;
  --bg: #f3f5f1;
  --panel: rgba(255, 255, 255, 0.94);
  --ink: #18221b;
  --muted: #607069;
  --line: #d9e0dc;
  --accent: #7a4f2a;
  --accent-strong: #563619;
  --ok: #176b3a;
  --error: #a32821;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
}

.page {
  min-height: 100vh;
  padding: 22px;
  display: grid;
  place-items: center;
}

.hero {
  width: min(1120px, 100%);
  min-height: min(720px, calc(100vh - 44px));
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(340px, 0.8fr);
  overflow: hidden;
  border: 1px solid rgba(24, 34, 27, 0.12);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 26px 70px rgba(24, 34, 27, 0.14);
}

.photo {
  min-height: 520px;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0)),
    url("/assets/horse-hero.jpg") center / cover no-repeat;
}

.content {
  align-self: center;
  padding: clamp(24px, 4vw, 54px);
}

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

h1 {
  margin: 0 0 28px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.95;
  letter-spacing: 0;
}

form {
  display: grid;
  gap: 15px;
}

label {
  display: grid;
  gap: 7px;
  color: #314039;
  font-size: 14px;
  font-weight: 700;
}

input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 13px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

input:focus {
  outline: 3px solid rgba(122, 79, 42, 0.18);
  border-color: var(--accent);
}

button {
  min-height: 50px;
  margin-top: 5px;
  border: 0;
  border-radius: 8px;
  background: var(--accent);
  color: white;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

button:hover,
button:focus-visible {
  background: var(--accent-strong);
}

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

.status {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.status.ok {
  color: var(--ok);
}

.status.error {
  color: var(--error);
}

@media (max-width: 820px) {
  .page {
    padding: 0;
    place-items: stretch;
  }

  .hero {
    min-height: 100vh;
    border: 0;
    border-radius: 0;
    grid-template-columns: 1fr;
    grid-template-rows: minmax(260px, 42vh) auto;
  }

  .photo {
    min-height: 260px;
  }

  .content {
    align-self: start;
    padding: 26px 20px 34px;
  }

  h1 {
    margin-bottom: 22px;
  }
}
