:root {
  --bg: #f5f2ec;
  --panel: #fffdf8;
  --ink: #18211f;
  --muted: #65706c;
  --accent: #0e6d5d;
  --line: #d8d1c6;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.intro {
  margin-bottom: 20px;
}

.intro p {
  margin: 0 0 8px;
  color: var(--accent);
  font-weight: 800;
  text-transform: uppercase;
}

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

.intro span,
small {
  color: var(--muted);
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, .7fr);
  gap: 18px;
  align-items: start;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}

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

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

label {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
  font-weight: 750;
}

input,
textarea,
select,
button {
  font: inherit;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid #cfc8bd;
  border-radius: 6px;
  padding: 12px;
}

button {
  width: 100%;
  min-height: 50px;
  border: 0;
  border-radius: 6px;
  background: var(--accent);
  color: white;
  font-weight: 850;
  cursor: pointer;
}

.result {
  position: sticky;
  top: 18px;
}

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

  .result {
    position: static;
  }
}
