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

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

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

.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px;
  margin-bottom: 20px;
  color: #fff;
  border-radius: 22px;
  background: linear-gradient(135deg, #243b72, #172033);
  box-shadow: 0 18px 40px rgba(20, 30, 55, 0.18);
}

.hero h1 {
  margin: 0 0 8px;
  font-size: clamp(2rem, 5vw, 4rem);
}

.hero p {
  margin: 0;
  max-width: 680px;
  opacity: 0.9;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  font-size: 0.8rem;
}

.grid {
  display: grid;
  gap: 20px;
  margin-bottom: 20px;
}

.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  background: #fff;
  border: 1px solid #e5e9f2;
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 14px 34px rgba(20, 30, 55, 0.08);
}

h2 {
  margin: 0 0 16px;
}

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

label {
  font-weight: 700;
  font-size: 0.9rem;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid #d9dfeb;
  border-radius: 12px;
  padding: 11px 12px;
  font: inherit;
  background: #fff;
}

textarea {
  min-height: 78px;
  resize: vertical;
}

button {
  border: 0;
  border-radius: 12px;
  padding: 11px 16px;
  font-weight: 800;
  cursor: pointer;
  color: #fff;
  background: #3454d1;
}

button:hover {
  filter: brightness(0.95);
}

button.ghost {
  border: 1px solid #d9dfeb;
  background: #fff;
  color: #172033;
}

.tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.tabs button {
  flex: 1;
  background: #eef2ff;
  color: #243b72;
}

.tabs button.active {
  background: #3454d1;
  color: #fff;
}

.hidden {
  display: none !important;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.list {
  display: grid;
  gap: 12px;
}

.item {
  border: 1px solid #e5e9f2;
  border-radius: 14px;
  padding: 14px;
  background: #fafbff;
}

.item h3 {
  margin: 0 0 8px;
}

.item p {
  margin: 3px 0;
}

.muted {
  color: #697386;
}

pre {
  overflow: auto;
  margin: 0;
  white-space: pre-wrap;
  color: #0f172a;
  background: #f8fafc;
  border-radius: 14px;
  padding: 14px;
}

@media (max-width: 800px) {
  .two {
    grid-template-columns: 1fr;
  }

  .hero {
    align-items: flex-start;
    flex-direction: column;
  }
}
