@font-face {
  font-family: Fraunces;
  src: url(./fonts/fraunces.woff2);
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: Jakarta;
  src: url(./fonts/plus-jakarta-sans.woff2);
  font-weight: 200 800;
  font-display: swap;
}
:root {
  --surface: #fff;
  --text: #152c47;
  --accent: #215930;
  --rule: #ccd8cf;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--surface);
  color: var(--text);
  font:
    16px/1.6 Jakarta,
    Arial,
    sans-serif;
}
header,
footer,
main {
  max-width: 1136px;
  margin: auto;
  padding: 24px clamp(20px, 5vw, 72px);
}
header,
footer,
nav,
.actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
header,
footer {
  justify-content: space-between;
}
header {
  border-bottom: 1px solid var(--rule);
}
footer {
  margin-top: 40px;
  border-top: 1px solid var(--rule);
}
nav a,
footer a {
  font-size: 0.91rem;
}
a {
  color: var(--accent);
  text-underline-offset: 0.18em;
}
.brand {
  font:
    600 26px/1.2 Fraunces,
    Georgia,
    serif;
  text-decoration: none;
  color: var(--text);
}
h1,
h2,
h3 {
  font-family: Fraunces, Georgia, serif;
  line-height: 1.12;
  font-weight: 550;
  margin: 0 0 16px;
}
h1 {
  font-size: clamp(36px, 5.2vw, 72px);
  max-width: 750px;
}
h2 {
  font-size: clamp(27px, 3vw, 40px);
}
h3 {
  font-size: 24px;
  margin-top: 16px;
}
main > h1 {
  margin: 24px 0 32px;
}
section {
  padding: 28px 0;
}
p {
  max-width: 65ch;
}
button,
.button {
  display: inline-block;
  width: fit-content;
  font:
    650 1rem/1.4 Jakarta,
    Arial,
    sans-serif;
  background: var(--accent);
  color: white;
  padding: 11px 18px;
  border: 0;
  border-radius: 4px;
  text-decoration: none;
  cursor: pointer;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
button.secondary {
  background: white;
  color: var(--accent);
  border: 1px solid var(--accent);
}
:focus-visible {
  outline: 3px solid #4266a4;
  outline-offset: 4px;
}
.skip {
  position: absolute;
  left: -10000px;
}
.skip:focus {
  left: 8px;
  top: 8px;
  background: white;
}
form {
  max-width: 620px;
  margin: 12px 0 28px;
}
label,
legend {
  font-weight: 600;
}
label {
  display: block;
  margin: 14px 0 5px;
}
input,
select,
textarea {
  display: block;
  width: 100%;
  font: inherit;
  color: inherit;
  background: white;
  padding: 9px;
  border: 1px solid #748278;
  border-radius: 3px;
}
label:has(input[type='checkbox']) {
  display: flex;
  gap: 10px;
  align-items: center;
}
input[type='checkbox'] {
  width: 20px;
  height: 20px;
  flex: none;
}
fieldset {
  padding: 0;
  border: 0;
  margin: 20px 0;
}
form button {
  margin-top: 16px;
}
article {
  margin: 18px 0;
  padding: 8px 0 16px;
}
dt {
  font-weight: 700;
}
dd {
  margin: 0 0 12px;
}
details {
  padding: 12px 0;
}
summary {
  font-weight: 650;
  cursor: pointer;
}
textarea {
  min-height: 100px;
}
pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font: inherit;
}
img {
  max-width: 100%;
  height: auto;
}
.notice,
#status {
  font-weight: 600;
}
table {
  border-collapse: collapse;
}
td,
th {
  text-align: left;
  padding: 6px;
}
.actions {
  gap: 8px;
}
select + button {
  margin-top: 12px;
}
@media (max-width: 660px) {
  nav {
    gap: 12px;
  }
  header {
    gap: 12px;
  }
  section {
    padding: 20px 0;
  }
  input,
  textarea,
  select {
    max-width: 100%;
  }
}

#app > button:first-child {
  margin-bottom: 24px;
}
label input[type='checkbox'] {
  order: -1;
  margin: 3px 0 0;
}
label:has(input[type='checkbox']) {
  align-items: flex-start;
}
.interest-post {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 32px;
  padding: 16px 0;
}
.interest-post h2 { font-size: clamp(24px, 3vw, 34px); }
.interest-post p { margin: 4px 0; }
.interest-post > div { min-width: 0; overflow-wrap: anywhere; }
.interest-board { padding-top: 0; }

details img { max-width: 100%; height: auto; }
