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

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  display: grid;
  place-items: center;
  padding: 32px 18px;
}

.shell {
  width: min(920px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 24px;
  align-items: stretch;
}

.intro,
.response {
  border: 1px solid rgba(31, 41, 51, 0.14);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 24px 80px rgba(31, 41, 51, 0.08);
}

.intro {
  padding: clamp(28px, 5vw, 56px);
}

.eyebrow,
.label {
  margin: 0 0 12px;
  color: #4361ee;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(3rem, 12vw, 6.5rem);
  line-height: 0.9;
}

.lede {
  max-width: 34rem;
  margin: 24px 0 0;
  color: #536170;
  font-size: 1.15rem;
  line-height: 1.6;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

button,
a {
  min-height: 44px;
  border-radius: 8px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #1f2933;
  font: inherit;
  font-weight: 750;
  text-decoration: none;
}

button {
  background: #1f2933;
  color: #ffffff;
  cursor: pointer;
}

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

a {
  color: #1f2933;
  background: #f7f4ee;
}

.response {
  padding: 24px;
  display: flex;
  min-height: 280px;
  flex-direction: column;
}

pre {
  flex: 1;
  margin: 0;
  overflow: auto;
  border-radius: 8px;
  padding: 18px;
  background: #101820;
  color: #d7f9e9;
  font-size: 0.95rem;
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-word;
}

@media (max-width: 760px) {
  body {
    place-items: stretch;
  }

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