:root {
  color-scheme: light;
  --ink: #24362f;
  --muted: #58675e;
  --paper: #faf9f5;
  --line: #d9dfd7;
  --accent: #2c6553;
  font:
    17px/1.65 system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background: var(--paper);
  color: var(--ink);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
header,
main,
footer {
  width: min(100% - 3rem, 880px);
  margin-inline: auto;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  padding-block: 1.5rem;
}
a {
  color: var(--accent);
  text-underline-offset: 0.22em;
}
.identity {
  font-weight: 650;
  text-decoration: none;
  color: var(--ink);
}
header nav {
  display: flex;
  gap: 1.4rem;
  flex-wrap: wrap;
}
header nav a {
  text-decoration: none;
}
header nav a:hover {
  text-decoration: underline;
}
main {
  padding-block: 3.5rem;
  min-height: 65vh;
}
h1 {
  font:
    500 clamp(2rem, 5vw, 2.8rem)/1.15 Georgia,
    "Times New Roman",
    serif;
  letter-spacing: -0.025em;
  max-width: 22ch;
}
h2 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-top: 2rem;
}
p {
  max-width: 68ch;
}
.lead {
  font-size: 1.22rem;
  max-width: 55ch;
}
.subtitle {
  margin-top: -0.4rem;
  margin-bottom: 2rem;
  color: var(--muted);
  font-size: 1.05rem;
}
/* Section index on the homepage and tools page: a plain definition list,
   links as headings, one sentence each. */
.destinations,
.index {
  margin-block: 3.5rem;
}
.destinations dl,
.index dl {
  margin: 0;
  padding: 0;
}
.destinations div,
.index div {
  padding-block: 1.1rem;
  border-top: 1px solid var(--line);
}
.destinations div:last-child,
.index div:last-child {
  border-bottom: 1px solid var(--line);
}
.destinations dt,
.index dt {
  font-size: 1.15rem;
  font-weight: 600;
}
.destinations dd,
.index dd {
  margin: 0.25rem 0 0;
  max-width: 60ch;
  color: var(--muted);
}
.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
section,
article {
  margin-block: 3rem;
}
.notice {
  padding: 1.2rem;
  border-left: 3px solid var(--accent);
  background: #eef2ec;
  font-size: 0.9rem;
}
.muted,
small,
footer {
  color: var(--muted);
  font-size: 0.85rem;
}
footer {
  padding-block: 1.5rem;
  border-top: 1px solid var(--line);
}
form {
  margin-block: 1.5rem;
}
.field,
legend {
  display: block;
  font-weight: 600;
  margin-top: 1.4rem;
  margin-bottom: 0.5rem;
}
input[type="text"],
textarea {
  display: block;
  width: 100%;
  font: inherit;
  border: 1px solid #839487;
  background: white;
  border-radius: 4px;
  padding: 0.7rem;
  color: var(--ink);
}
textarea {
  resize: vertical;
}
fieldset {
  border: 0;
  padding: 0;
  margin-block: 1.4rem;
}
legend {
  padding: 0;
}
.choice {
  display: flex;
  gap: 0.7rem;
  align-items: baseline;
  margin-block: 0.7rem;
}
.choice input {
  flex: none;
  accent-color: var(--accent);
  width: 1.1rem;
  height: 1.1rem;
}
.choice small {
  display: block;
}
button {
  font: inherit;
  background: var(--accent);
  color: white;
  border: 0;
  border-radius: 4px;
  padding: 0.65rem 1.2rem;
  cursor: pointer;
  margin-block: 0.8rem;
}
.danger {
  background: #873e38;
}
.error {
  border: 1px solid #a74538;
  padding: 1rem;
  color: #873e38;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid #bb882c;
  outline-offset: 3px;
}
.table-wrap {
  overflow-x: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.9rem;
}
td,
th {
  border-bottom: 1px solid var(--line);
  padding: 0.6rem;
  text-align: left;
  vertical-align: top;
}
caption {
  text-align: left;
  font-weight: 600;
}
details {
  margin-top: 2rem;
}
summary {
  cursor: pointer;
}
.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 1rem;
  top: 0.5rem;
  background: white;
  padding: 0.5rem;
}
@media (max-width: 550px) {
  header,
  main,
  footer {
    width: calc(100% - 2rem);
  }
  header {
    align-items: flex-start;
    flex-direction: column;
  }
  main {
    padding-block: 2rem;
  }
}

/* Form 1.0 respondent pages (docs/design/001-form-1.0.md): no site header,
   title first, slots grouped by day, quiet owner line at the end. */
body.minimal main {
  padding-block: 2rem 2.5rem;
  min-height: 0;
}
body.minimal footer {
  border-top: 0;
  padding-top: 0;
  font-size: 0.75rem;
}
body.minimal h1 {
  margin-top: 0;
  margin-bottom: 1.6rem;
}
.poll .field {
  margin-top: 1.5rem;
}
.poll fieldset {
  margin-block: 1.6rem;
}
.poll legend {
  margin-bottom: 0.3rem;
}
.day {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 110px 110px;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.day:first-of-type {
  border-top: 1px solid var(--line);
}
.day .date {
  font-weight: 500;
}
.slot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
  cursor: pointer;
}
.slot:has(input:checked) {
  background: #e7efe9;
  border-color: var(--accent);
}
.slot input,
.none input {
  accent-color: var(--accent);
  width: 18px;
  height: 18px;
  margin: 0;
  flex: none;
}
.none {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 12px;
  min-height: 44px;
  cursor: pointer;
}
.poll .bottom {
  display: flex;
  justify-content: flex-end;
  margin-top: 1rem;
}
.poll .bottom button {
  min-height: 48px;
  padding: 12px 28px;
  margin: 0;
}
.poll .meta {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 1.8rem;
}
@media (max-width: 480px) {
  .day {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px;
    padding: 12px 0;
  }
  .day .date {
    grid-column: 1 / -1;
  }
  .day:has(> .slot:nth-of-type(3)) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
