:root {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  color: #142b2b;
  background: #f3f5ef;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
header,
main,
footer {
  max-width: 1220px;
  margin: auto;
}
header {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 30px 36px;
  border-bottom: 1px solid #d2dcd1;
}
.brand {
  font-family: Georgia, serif;
  font-size: 34px;
  font-weight: bold;
  text-decoration: none;
  color: #174f46;
  letter-spacing: -1px;
}
.brand span {
  display: block;
  font: 10px system-ui;
  letter-spacing: 3px;
  margin-top: 4px;
}
.badge {
  font-size: 12px;
  color: #436159;
  border: 1px solid #c7d6cb;
  border-radius: 30px;
  padding: 8px 14px;
}
header button {
  margin-left: auto;
}
.intro {
  padding: 48px 0 20px;
  max-width: 760px;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 2px;
  color: #527064;
  font-weight: 700;
}
h1 {
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: 54px;
  line-height: 1.1;
  letter-spacing: -2px;
  margin: 18px 0;
}
h2 {
  font-size: 20px;
  font-weight: 600;
  margin: 8px 0;
}
.intro > p:last-child,
.muted {
  font-size: 14px;
  line-height: 1.7;
  color: #63746d;
}
.intro > p:last-child {
  font-size: 17px;
  max-width: 620px;
}
main {
  padding: 0 36px 60px;
}
#message {
  padding: 14px 0;
  color: #385c51;
}
.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #e6ece3;
  padding: 20px 24px;
  margin: 20px 0;
}
.toolbar label {
  margin: 0;
  min-width: 220px;
}
.toolbar strong {
  display: block;
  font: 36px Georgia;
}
.toolbar small {
  color: #63746d;
}
.grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 1fr);
  gap: 24px;
}
form,
.panel {
  padding: 28px;
  background: #fff;
  border: 1px solid #d9e0d6;
  border-radius: 8px;
}
.panel {
  margin-bottom: 24px;
}
.card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin: 20px 0 10px;
}
input:not([type="checkbox"]),
textarea,
select {
  display: block;
  width: 100%;
  border: 1px solid #c6d2c7;
  background: #fafbf8;
  padding: 12px;
  border-radius: 5px;
  color: #173f35;
  font: 14px system-ui;
  margin-top: 8px;
}
input[type="checkbox"] {
  accent-color: #215c48;
}
textarea {
  resize: vertical;
}
button {
  border: 0;
  background: #1e5945;
  color: white;
  border-radius: 5px;
  padding: 12px 18px;
  font: 600 13px system-ui;
  cursor: pointer;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
button:hover {
  background: #113f30;
}
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #99c7b2;
  outline-offset: 3px;
}
.switch {
  white-space: nowrap;
  margin: 0;
  color: #215c48;
}
.notice {
  background: #f5f6ed;
  border-left: 3px solid #a2ae6b;
  font-size: 12px;
  line-height: 1.6;
  padding: 12px;
  margin: 24px 0;
}
ol {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}
li {
  border-top: 1px solid #e4e9e0;
  padding: 15px 0;
}
li strong,
li small {
  display: block;
}
li small {
  font-size: 11px;
  color: #748177;
  margin: 5px 0;
  overflow-wrap: anywhere;
}
li button {
  background: #e8eee7;
  color: #215c48;
  font-size: 11px;
  margin-top: 7px;
}
footer {
  padding: 24px 36px;
  border-top: 1px solid #d2dcd1;
  font-size: 11px;
  letter-spacing: 1px;
  color: #61746b;
}
footer span {
  float: right;
  letter-spacing: 0;
}
[hidden] {
  display: none !important;
}
@media (max-width: 760px) {
  header,
  main,
  footer {
    padding-left: 20px;
    padding-right: 20px;
  }
  .badge {
    display: none;
  }
  .intro {
    padding-top: 30px;
  }
  h1 {
    font-size: 40px;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .toolbar {
    gap: 20px;
  }
  .toolbar label {
    min-width: 150px;
  }
  form,
  .panel {
    padding: 20px;
  }
  .card-head {
    align-items: flex-start;
  }
  footer span {
    float: none;
    display: block;
    margin-top: 12px;
  }
}
