:root {
  --accent: #215341;
  color: #1d3027;
  background: #f4f5ef;
  font:
    16px/1.55 "Segoe UI",
    system-ui,
    sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
header,
main,
footer {
  max-width: 1040px;
  margin: auto;
  padding: 24px clamp(18px, 5vw, 60px);
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #cad2c7;
}
header strong {
  font-size: 18px;
}
a,
summary {
  color: var(--accent);
}
a:hover {
  text-decoration-thickness: 2px;
}
main {
  padding-top: 36px;
}
h1 {
  font:
    normal clamp(40px, 8vw, 76px)/1.03 Georgia,
    serif;
  letter-spacing: -0.05em;
  margin: 0.3em 0 0.65em;
}
h2 {
  font:
    normal 30px/1.2 Georgia,
    serif;
  margin: 0 0 18px;
}
section {
  padding: 24px;
  background: #fff;
  border: 1px solid #d7dfd4;
  border-radius: 6px;
  margin: 14px 0;
}
section section {
  padding: 15px;
}
form {
  display: grid;
  gap: 12px;
  max-width: 620px;
  margin: 12px 0;
}
label {
  display: grid;
  gap: 4px;
  font-size: 14px;
  font-weight: 600;
}
input,
textarea,
select,
button {
  font: inherit;
  border-radius: 4px;
}
input,
select,
textarea {
  border: 1px solid #b2bdb3;
  padding: 10px;
  background: #fff;
  width: 100%;
  color: inherit;
}
input[type="checkbox"] {
  width: auto;
  justify-self: start;
}
textarea {
  min-height: 90px;
}
button {
  justify-self: start;
  padding: 10px 17px;
  color: white;
  background: var(--accent);
  border: 0;
  cursor: pointer;
}
button:disabled {
  opacity: 0.6;
}
output {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: #254c3c;
}
nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 14px 0;
}
summary {
  cursor: pointer;
  font-weight: 600;
  padding: 9px 0;
}
details {
  border-top: 1px solid #d8dfd5;
}
article {
  padding: 12px 0;
  border-top: 1px solid #d8dfd5;
}
pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
footer {
  color: #52665b;
}
.trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
}
table {
  border-collapse: collapse;
  max-width: 100%;
}
td,
th {
  padding: 8px;
  border-bottom: 1px solid #ddd;
  text-align: left;
}
p {
  overflow-wrap: anywhere;
}
