:root {
  --bg: #fbfaf7;
  --card: #ffffff;
  --text: #1a1a1a;
  --muted: #4a4a4a;
  --accent: #8a3b12;
  --accent-dark: #6b2c0c;
  --link: #0b4f9c;
  --border: #d6d1c7;
  --booked-bg: #e6f2e6;
  --booked-text: #1d5e20;
  --note-bg: #fff4d6;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 125%; /* 20px base for easy reading */
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
}

header,
main,
footer {
  max-width: 46rem;
  margin: 0 auto;
  padding: 0 1rem;
}

header {
  padding-top: 1.5rem;
  padding-bottom: 1rem;
}

h1 {
  margin: 0;
  font-size: 2rem;
  line-height: 1.2;
  color: var(--accent-dark);
}

.subtitle {
  margin: 0.25rem 0 1rem;
  font-size: 1.1rem;
  color: var(--muted);
}

.controls {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.controls button {
  flex: 1 1 10rem;
  min-height: 3rem;
  padding: 0.5rem 1rem;
  font: inherit;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
}

.controls button:hover,
.controls button:focus-visible {
  background: var(--accent-dark);
}

.controls button:focus-visible,
summary:focus-visible,
a:focus-visible {
  outline: 3px solid var(--link);
  outline-offset: 2px;
}

details {
  margin: 0 0 0.75rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
}

summary {
  min-height: 3.25rem;
  padding: 0.75rem 2.75rem 0.75rem 1rem;
  position: relative;
  cursor: pointer;
  list-style: none;
  font-size: 1.05rem;
  line-height: 1.4;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent);
}

details[open] > summary::after {
  content: "\2212"; /* minus sign */
}

details[open] > summary {
  border-bottom: 1px solid var(--border);
}

summary strong {
  color: var(--accent-dark);
}

details.guide > summary {
  background: #f3efe6;
  border-radius: 0.5rem;
}

.body {
  padding: 0.25rem 1rem 1rem;
}

.body p {
  margin: 0.75rem 0;
}

.body h3 {
  margin: 1.25rem 0 0.25rem;
  font-size: 1.05rem;
  color: var(--accent-dark);
}

.body ul {
  margin: 0.5rem 0;
  padding-left: 1.25rem;
}

.body li {
  margin: 0.4rem 0;
}

.body li ul {
  margin: 0.25rem 0 0.5rem;
  font-weight: normal;
}

li.booking {
  font-weight: 700;
}

li.booking > ul {
  font-weight: 400;
}

a {
  color: var(--link);
  text-underline-offset: 0.15em;
  overflow-wrap: anywhere;
}

/* Comfortable tap targets for inline links */
.body a {
  display: inline-block;
  padding: 0.15rem 0;
}

code {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.95em;
  background: #efece5;
  padding: 0.1em 0.35em;
  border-radius: 0.25rem;
  overflow-wrap: anywhere;
}

.booked {
  display: inline-block;
  padding: 0 0.35em;
  font-size: 0.85em;
  font-weight: 700;
  color: var(--booked-text);
  background: var(--booked-bg);
  border-radius: 0.25rem;
}

.note {
  padding: 0.6rem 0.8rem;
  background: var(--note-bg);
  border-left: 4px solid #d9a400;
  border-radius: 0.25rem;
}

footer {
  padding-top: 1rem;
  padding-bottom: 2rem;
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 30rem) {
  html {
    font-size: 118.75%; /* 19px on narrow phones */
  }

  h1 {
    font-size: 1.7rem;
  }
}

@media print {
  html {
    font-size: 12pt;
  }

  body {
    background: #fff;
  }

  .controls {
    display: none;
  }

  details {
    border: none;
    border-top: 1px solid #999;
    border-radius: 0;
    break-inside: avoid-page;
  }

  summary::after {
    display: none;
  }

  summary {
    padding: 0.5rem 0;
    min-height: 0;
  }

  .body {
    padding: 0 0 0.5rem;
  }

  a {
    color: #000;
  }
}
