:root {
  --green: #34b359;
  --green-light: #58be5b;
  --orange: #fb6228;
  --orange-light: #fe7f39;
  --gold: #fcc652;
  --bg: #ffffff;
  --text: #111111;
  --text-muted: #3d3d3d;
  --border: #d8e8dc;
  --btn-green: #2a8f47;
  --btn-green-hover: #237a3c;
  --focus: #1a5c30;
  --max: 40rem;
  --tap: 44px;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
}

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

a {
  color: var(--btn-green);
}

a:visited {
  color: #1f5a38;
}

a:hover {
  color: var(--btn-green-hover);
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 0.75rem 1rem;
  background: var(--bg);
  color: var(--text);
  z-index: 100;
}

.skip:focus {
  left: 0.5rem;
  top: 0.5rem;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.site-header {
  padding: 1.25rem 0 0.5rem;
  text-align: center;
}

.logo-mark {
  width: 9.5rem;
  height: auto;
  margin-inline: auto;
}

.hero {
  text-align: center;
  padding: 0.5rem 0 2.5rem;
}

.hero h1 {
  font-size: clamp(1.25rem, 3.5vw, 1.75rem);
  font-weight: 700;
  line-height: 1.3;
  margin: 1rem auto 0.75rem;
  max-width: 38ch;
}

.hero .lede {
  margin: 0 auto 1rem;
  max-width: 36ch;
  color: var(--text-muted);
  font-size: 1.125rem;
}

.hero .hero-intro {
  margin: 0 auto;
  max-width: 42ch;
  font-size: 1.0625rem;
  color: var(--text);
}

.trust-badges {
  list-style: none;
  margin: 1.75rem auto 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  justify-content: center;
  max-width: 28rem;
}

.trust-badges li {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--btn-green);
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #f4fbf6;
}

.path-accent {
  display: block;
  width: 4rem;
  height: 0.35rem;
  margin: 2rem auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green-light), var(--gold), var(--orange-light));
}

section {
  padding: 2.5rem 0;
}

section h2 {
  font-size: 1.35rem;
  margin: 0 0 1rem;
}

section p {
  margin: 0 0 1rem;
}

section p:last-child {
  margin-bottom: 0;
}

.section-help {
  background: linear-gradient(180deg, #f4fbf6 0%, var(--bg) 100%);
  border-block: 1px solid var(--border);
}

.section-help ul {
  margin: 0;
  padding: 0 0 0 1.25rem;
}

.section-help li {
  margin-bottom: 0.65rem;
}

.section-help li:last-child {
  margin-bottom: 0;
}

.section-beta .beta-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .section-beta .beta-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

.beta-steps li {
  padding: 1rem 1.1rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  background: var(--bg);
}

.beta-steps strong {
  display: block;
  color: var(--btn-green);
  margin-bottom: 0.35rem;
}

.section-booking {
  background: #f4fbf6;
  border-block: 1px solid var(--border);
}

.booking-loading {
  margin: 0 0 0.75rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.booking-loading[hidden],
#booking-slots-error[hidden] {
  display: none;
}

.booking-slots {
  margin: 1rem 0 1.25rem;
}

.booking-slot-fieldset {
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 1rem 1.1rem;
  margin: 0;
  background: var(--bg);
}

.booking-slot-legend {
  font-weight: 600;
  padding: 0 0.25rem;
}

.booking-slot-row {
  margin-bottom: 0.65rem;
}

.booking-slot-row:last-child {
  margin-bottom: 0;
}

.booking-slot-label {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  cursor: pointer;
  font-size: 0.95rem;
}

.booking-slot-label input {
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.booking-slot-taken {
  margin: 0;
  padding: 0.5rem 0.65rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  background: #f0f2f0;
  border-radius: 0.35rem;
  text-decoration: line-through;
}

.booking-empty {
  margin: 0;
  color: var(--text-muted);
}

.booking-form {
  margin-top: 0.5rem;
}

.field textarea {
  width: 100%;
  min-height: 5rem;
  padding: 0.5rem 0.75rem;
  font: inherit;
  color: var(--text);
  border: 1px solid #b8c4bb;
  border-radius: 0.35rem;
  background: var(--bg);
  resize: vertical;
}

.optional {
  font-weight: 400;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.section-signup {
  background: #fff9ef;
  border-top: 1px solid #f0e0c8;
}

.signup-form {
  margin-top: 1.25rem;
}

.field {
  margin-bottom: 1.1rem;
}

.field label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.field input,
.field select {
  width: 100%;
  min-height: var(--tap);
  padding: 0.5rem 0.75rem;
  font: inherit;
  color: var(--text);
  border: 1px solid #b8c4bb;
  border-radius: 0.35rem;
  background: var(--bg);
}

.field input:invalid:not(:focus):not(:placeholder-shown),
.field select:invalid:not(:focus) {
  border-color: #a33;
}

.consent {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin: 1.25rem 0;
}

.consent input {
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.consent label {
  font-weight: 400;
  font-size: 0.95rem;
}

.role-choice {
  border: none;
  margin: 0 0 0.5rem;
  padding: 0;
}

.role-choice-legend {
  font-weight: 600;
  margin-bottom: 0.65rem;
  padding: 0;
}

.role-check {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin-bottom: 0.65rem;
}

.role-check input {
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.role-check label {
  font-weight: 400;
  font-size: 0.95rem;
}

.sign-off {
  margin-top: 1.5rem;
  font-weight: 600;
  text-align: center;
}

.tagline {
  margin-top: 0.35rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 1rem;
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--tap);
  min-width: 11rem;
  padding: 0.65rem 1.5rem;
  font: inherit;
  font-weight: 600;
  color: var(--text);
  background: var(--gold);
  border: 2px solid #e0a830;
  border-radius: 0.4rem;
  cursor: pointer;
}

.btn-submit:hover {
  background: #f5b84a;
}

.btn-submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.form-error {
  color: #7a1a1a;
  font-size: 0.95rem;
  margin: 0 0 0.75rem;
}

.form-error[hidden] {
  display: none;
}

.thank-you {
  padding: 1.5rem;
  border-radius: 0.5rem;
  border: 2px solid var(--green-light);
  background: #f0faf3;
}

.thank-you[hidden] {
  display: none;
}

.thank-you h3 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
}

.privacy-line {
  margin-top: 1.25rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.site-footer {
  padding: 2rem 0 2.5rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
}

.site-footer a {
  font-weight: 600;
}