:root {
  color-scheme: light;
  --bg: #f5efe5;
  --surface: rgba(255, 252, 247, 0.88);
  --surface-strong: #fffaf2;
  --text: #1c160f;
  --muted: #6b6258;
  --line: rgba(62, 46, 27, 0.12);
  --primary: #8c3b2a;
  --primary-strong: #6f2d20;
  --success: #256d4a;
  --error: #a8292a;
  --info: #5b4e3d;
  --shadow: 0 30px 70px rgba(45, 27, 10, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family:
    "Instrument Sans",
    "Segoe UI",
    sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(211, 129, 78, 0.22), transparent 35%),
    radial-gradient(circle at bottom right, rgba(147, 115, 86, 0.18), transparent 28%),
    linear-gradient(135deg, #f6efe6 0%, #efe4d6 46%, #e7dbc8 100%);
}

.page-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: center;
  padding: 32px 0;
}

.hero-panel,
.panel-card {
  backdrop-filter: blur(18px);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-panel {
  border-radius: 32px;
  padding: 48px;
}

.eyebrow,
.panel-label {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}

.hero-panel h1,
.panel-card h2 {
  margin: 0;
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.hero-panel h1 {
  font-size: clamp(44px, 7vw, 82px);
  max-width: 10ch;
}

.hero-copy,
.panel-copy {
  color: var(--muted);
  line-height: 1.65;
}

.hero-copy {
  margin: 24px 0 0;
  max-width: 48ch;
  font-size: 17px;
}

.hero-note {
  margin-top: 28px;
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.54);
  border: 1px solid rgba(62, 46, 27, 0.08);
  line-height: 1.6;
}

.form-panel {
  display: flex;
  justify-content: stretch;
}

.panel-card {
  width: 100%;
  border-radius: 28px;
  padding: 32px;
}

.panel-header {
  margin-bottom: 24px;
}

.panel-card h2 {
  font-size: clamp(28px, 4vw, 42px);
}

.status-banner {
  margin-bottom: 20px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid transparent;
  line-height: 1.5;
  font-size: 14px;
}

.status-banner.info {
  color: var(--info);
  background: rgba(124, 98, 67, 0.1);
  border-color: rgba(124, 98, 67, 0.18);
}

.status-banner.success {
  color: var(--success);
  background: rgba(37, 109, 74, 0.1);
  border-color: rgba(37, 109, 74, 0.18);
}

.status-banner.error {
  color: var(--error);
  background: rgba(168, 41, 42, 0.1);
  border-color: rgba(168, 41, 42, 0.18);
}

.form-grid {
  display: grid;
  gap: 18px;
}

.field {
  display: grid;
  gap: 10px;
}

.field span {
  font-weight: 700;
  font-size: 14px;
}

.field input {
  width: 100%;
  min-height: 52px;
  border-radius: 16px;
  border: 1px solid rgba(62, 46, 27, 0.16);
  background: var(--surface-strong);
  padding: 0 16px;
  font-size: 16px;
  color: var(--text);
}

.field input:focus {
  outline: 2px solid rgba(140, 59, 42, 0.22);
  border-color: rgba(140, 59, 42, 0.36);
}

.primary-button,
.secondary-button {
  min-height: 52px;
  border-radius: 16px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  transition:
    transform 140ms ease,
    background-color 140ms ease,
    color 140ms ease;
}

.primary-button {
  border: none;
  background: var(--primary);
  color: #fff9f3;
  cursor: pointer;
}

.primary-button:hover,
.secondary-button:hover {
  transform: translateY(-1px);
}

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

@media (max-width: 920px) {
  .page-shell {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .hero-panel,
  .panel-card {
    padding: 28px;
  }

  .hero-panel h1 {
    max-width: none;
  }
}
