:root {
  color-scheme: light;
  font-family:
    system-ui,
    -apple-system,
    'PingFang SC',
    sans-serif;
  background: #f6f4ed;
  color: #253c30;
  font-size: 16px;
  line-height: 1.7;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
header,
main,
footer {
  max-width: 1120px;
  margin: auto;
  padding: 28px 32px;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #d7dccf;
}
h1 {
  font-family: Georgia, 'Songti SC', serif;
  font-size: 34px;
  font-weight: 500;
  margin: 8px 0;
}
h2 {
  font-size: 23px;
  font-weight: 600;
  margin-top: 0;
}
.eyebrow {
  font-size: 14px;
  letter-spacing: 3px;
}
p {
  color: #637164;
}
button {
  min-height: 46px;
  padding: 10px 22px;
  background: #314f42;
  color: #fffdf7;
  border: 1px solid #314f42;
  border-radius: 10px;
  font: inherit;
  cursor: pointer;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
nav {
  display: flex;
  gap: 12px;
  margin: 0 0 24px;
  flex-wrap: wrap;
}
nav button,
.secondary {
  background: transparent;
  color: #314f42;
}
input,
textarea {
  font: inherit;
  width: 100%;
  padding: 12px;
  border: 1px solid #b9c3b5;
  border-radius: 8px;
  background: #fffef9;
}
textarea {
  min-height: 130px;
  resize: vertical;
}
input[type='checkbox'] {
  width: auto;
}
label {
  display: block;
  margin: 15px 0 18px;
}
form {
  max-width: 480px;
}
.card {
  background: #fffdf7;
  border: 1px solid #dce1d5;
  border-radius: 16px;
  padding: 28px;
  margin-bottom: 22px;
}
.row {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.small {
  font-size: 14px;
  color: #6e786d;
}
.pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
img {
  width: 100%;
  max-width: 680px;
  height: auto;
  border-radius: 12px;
}
#error {
  padding: 16px;
  background: #f8e8dd;
  color: #753f2f;
  border-radius: 10px;
}
footer {
  font-size: 13px;
  color: #788274;
}
a {
  color: #314f42;
}
[hidden] {
  display: none !important;
}
.tag {
  border: 1px solid #bac7b9;
  border-radius: 20px;
  padding: 3px 12px;
  font-size: 14px;
}
@media (max-width: 600px) {
  header,
  main,
  footer {
    padding: 20px;
  }
  h1 {
    font-size: 27px;
  }
  .card {
    padding: 20px;
  }
  header {
    display: block;
  }
}
