:root {
  --bg: #0b0d10;
  --surface: #14181d;
  --border: #262c34;
  --text: #f2f4f7;
  --muted: #98a2b3;
  --accent: #c8a45c;
  --accent-hover: #d9b872;
  --error: #f97066;
  --success: #6ce9a6;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.hero {
  min-height: 100vh;
  max-width: 1120px;
  margin: 0 auto;
  padding: 6vh 24px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.hero__content {
  max-width: 34ch;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}

h1 {
  margin: 0 0 20px;
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.lead {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
}

.form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

label {
  font-size: 13px;
  color: var(--muted);
}

input {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.15s ease;
}

input::placeholder {
  color: #5a6472;
}

input:focus {
  outline: none;
  border-color: var(--accent);
}

input[aria-invalid="true"] {
  border-color: var(--error);
}

button {
  margin-top: 6px;
  background: var(--accent);
  color: #1a1408;
  border: none;
  border-radius: 8px;
  padding: 14px 18px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s ease;
}

button:hover:not(:disabled) {
  background: var(--accent-hover);
}

button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

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

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

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

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 48px 20px;
    align-items: start;
  }

  .hero__content {
    max-width: none;
  }
}
