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

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

.page {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0;
}

.hero {
  min-height: 280px;
  display: flex;
  align-items: flex-end;
  padding: 40px;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(12, 18, 31, 0.84), rgba(12, 18, 31, 0.4)),
    url("https://images.unsplash.com/photo-1522778119026-d647f0596c20?auto=format&fit=crop&w=1600&q=80");
  background-size: cover;
  background-position: center;
  color: #ffffff;
}

.eyebrow {
  margin: 0 0 8px;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  letter-spacing: 0;
}

h1 {
  max-width: 720px;
  font-size: clamp(2.25rem, 8vw, 4.75rem);
  line-height: 0.95;
}

h2 {
  font-size: 1.25rem;
  line-height: 1.25;
}

.lead {
  max-width: 640px;
  margin: 16px 0 0;
  color: #e6ebf4;
  font-size: 1.05rem;
  line-height: 1.55;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.75fr);
  gap: 20px;
  margin-top: 20px;
}

.panel,
.info {
  border: 1px solid #d8deea;
  border-radius: 8px;
  background: #ffffff;
  padding: 24px;
}

.panel p,
.info p,
li {
  color: #516079;
  line-height: 1.6;
}

.form {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

label {
  display: grid;
  gap: 6px;
  font-weight: 700;
}

label span {
  font-weight: 500;
  color: #6a7890;
}

input,
textarea {
  width: 100%;
  border: 1px solid #cbd3e1;
  border-radius: 6px;
  padding: 12px;
  color: #172033;
  font: inherit;
}

textarea {
  resize: vertical;
}

.checkbox {
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  font-weight: 500;
}

.checkbox input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
}

button {
  min-height: 46px;
  border: 0;
  border-radius: 6px;
  background: #172033;
  color: #ffffff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

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

.result {
  margin-top: 16px;
  padding: 12px;
  border-radius: 6px;
  font-weight: 700;
}

.result--success {
  color: #14532d;
  background: #dcfce7;
}

.result--error {
  color: #7f1d1d;
  background: #fee2e2;
}

.result--info {
  color: #1e3a8a;
  background: #dbeafe;
}

.info {
  margin-top: 20px;
}

@media (max-width: 760px) {
  .page {
    width: min(100% - 24px, 1120px);
    padding: 24px 0;
  }

  .hero {
    min-height: 360px;
    padding: 24px;
  }

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