:root {
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  color: #35232b;
  background: #f7f2eb;
  line-height: 1.6;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
main {
  max-width: 1180px;
  margin: auto;
  padding: 28px;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid #ded2c8;
  padding-bottom: 20px;
}
.brand {
  font-size: 29px;
  font-weight: 800;
  color: #682b43;
  text-decoration: none;
  letter-spacing: -1px;
}
.brand span {
  display: block;
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 500;
}
.badge {
  color: #74354a;
  background: #eedfe3;
  padding: 8px 13px;
  border-radius: 30px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
}
.intro {
  padding: 48px 0 28px;
  max-width: 820px;
}
.eyebrow {
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 2px;
  color: #855768;
  font-weight: 700;
}
h1 {
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.15;
  letter-spacing: -1.8px;
  margin: 16px 0 22px;
}
h2 {
  font-size: 22px;
  margin: 10px 0;
}
p {
  color: #6c5c62;
}
aside {
  padding: 16px 22px;
  background: #eee5d9;
  border-left: 4px solid #a37c50;
  border-radius: 3px;
  font-size: 14px;
}
aside strong {
  display: block;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 30px 0;
}
article {
  background: #fffdf9;
  border: 1px solid #e7dcd4;
  border-radius: 14px;
  padding: 24px;
}
article > span {
  font-size: 13px;
  color: #9d6a7c;
}
article p {
  min-height: 52px;
  font-size: 14px;
}
button {
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
  border: 1px solid #dbc4cc;
  background: transparent;
  color: #682b43;
  padding: 11px 16px;
  border-radius: 8px;
}
button:hover {
  background: #f0e3e7;
}
button:focus-visible,
a:focus-visible,
textarea:focus {
  outline: 3px solid #b77e93;
  outline-offset: 3px;
}
.primary {
  background: #682b43;
  color: white;
  margin-top: 14px;
}
.primary:hover {
  background: #4e1f32;
}
.workspace {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 32px;
  background: white;
  border-radius: 16px;
  padding: 28px;
  border: 1px solid #e7dcd4;
}
.workspace p {
  font-size: 14px;
}
label {
  display: block;
  font-weight: 650;
  font-size: 13px;
  margin: 16px 0 8px;
}
textarea {
  width: 100%;
  resize: vertical;
  background: #faf8f5;
  border: 1px solid #d9cdc5;
  border-radius: 8px;
  padding: 15px;
  font:
    12px/1.6 ui-monospace,
    monospace;
  color: #3e3035;
  tab-size: 2;
}
pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font:
    13px/1.6 ui-monospace,
    monospace;
  padding: 18px;
  background: #f7f2eb;
  border-radius: 8px;
  min-height: 130px;
}
.result h3 {
  font-size: 16px;
  margin-top: 28px;
}
ol {
  padding-left: 22px;
  color: #6c5c62;
  font-size: 14px;
}
li {
  margin: 12px 0;
}
footer {
  font-size: 12px;
  color: #8c727d;
  padding: 30px 0;
}
a {
  color: #682b43;
}
@media (max-width: 720px) {
  main {
    padding: 20px;
  }
  header {
    align-items: flex-start;
  }
  .badge {
    font-size: 9px;
  }
  .intro {
    padding-top: 32px;
  }
  .cards,
  .workspace {
    grid-template-columns: 1fr;
  }
  article p {
    min-height: 0;
  }
  .workspace {
    padding: 20px;
  }
  .intro br {
    display: none;
  }
}
