:root {
  --ink: #14212b;
  --muted: #5b6b78;
  --line: #d9e0e5;
  --bg: #f6f4ef;
  --card: #ffffff;
  --accent: #1f5c4a;
  --accent-soft: #e3efe9;
  --warn: #a4432a;
  --radius: 10px;
  font-size: 16px;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
}
header.site {
  background: var(--ink);
  color: #fff;
  padding: 40px 24px 32px;
}
header.site .wrap { max-width: 760px; margin: 0 auto; }
header.site .eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: 12px; color: #9fc3b6; }
header.site h1 { font-family: Georgia, "Times New Roman", serif; font-weight: 600; font-size: 34px; margin: 6px 0 8px; }
header.site p { color: #cfd8de; margin: 0; max-width: 600px; }
main { max-width: 760px; margin: 0 auto; padding: 24px; }
section.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 20px;
}
section.card h2 { font-size: 18px; margin: 0 0 4px; }
section.card .hint { color: var(--muted); font-size: 14px; margin: 0 0 16px; }
label { display: block; font-weight: 600; font-size: 14px; margin: 14px 0 6px; }
label .opt { font-weight: 400; color: var(--muted); }
input[type=text], input[type=email], input[type=tel], input[type=url], textarea, select {
  width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px;
  font: inherit; background: #fff; color: var(--ink);
}
textarea { min-height: 84px; resize: vertical; }
input:focus, textarea:focus, select:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 600px) { .row { grid-template-columns: 1fr; } header.site h1 { font-size: 28px; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label {
  font-weight: 400; margin: 0; padding: 6px 12px; border: 1px solid var(--line);
  border-radius: 999px; cursor: pointer; background: #fff; user-select: none;
}
.chips input { display: none; }
.chips label.on { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }
.radio-line { display: flex; flex-wrap: wrap; gap: 16px; }
.radio-line label { font-weight: 400; margin: 0; display: flex; gap: 6px; align-items: center; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; margin: 10px 0; }
.check input { margin-top: 4px; }
table.avail { width: 100%; border-collapse: collapse; font-size: 14px; }
table.avail th, table.avail td { border-bottom: 1px solid var(--line); padding: 10px 6px; text-align: left; }
table.avail th { color: var(--muted); font-weight: 600; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.seg button {
  border: 0; background: #fff; padding: 6px 10px; font: inherit; font-size: 13px; cursor: pointer; color: var(--muted);
}
.seg button + button { border-left: 1px solid var(--line); }
.seg button.on[data-v=yes] { background: #dcefe4; color: #1f5c4a; font-weight: 600; }
.seg button.on[data-v=maybe] { background: #f6edd3; color: #7a5a12; font-weight: 600; }
.seg button.on[data-v=no] { background: #f3e1dc; color: var(--warn); font-weight: 600; }
button.primary {
  background: var(--accent); color: #fff; border: 0; border-radius: 8px;
  padding: 12px 22px; font: inherit; font-weight: 600; cursor: pointer;
}
button.primary:disabled { opacity: .6; cursor: wait; }
button.ghost { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 8px 14px; font: inherit; cursor: pointer; }
.error { color: var(--warn); font-size: 14px; margin-top: 10px; }
.done { text-align: center; padding: 48px 24px; }
.done h2 { font-family: Georgia, serif; font-size: 28px; }
.counter { font-size: 12px; color: var(--muted); text-align: right; }
footer { text-align: center; color: var(--muted); font-size: 13px; padding: 24px; }

@media (max-width: 600px) {
  table.avail, table.avail tbody, table.avail tr, table.avail td { display: block; width: 100%; }
  table.avail tr:first-child { display: none; }
  table.avail tr { border-bottom: 1px solid var(--line); padding: 8px 0; }
  table.avail td { border: 0; padding: 4px 0; }
  table.avail td.d { font-weight: 700; }
  table.avail td[data-label]::before { content: attr(data-label); display: block; font-size: 12px; color: var(--muted); margin-bottom: 4px; }
  .seg button { padding: 8px 14px; }
}
ul.rules { margin: 0 0 14px; padding-left: 20px; font-size: 15px; line-height: 1.5; }
ul.rules li { margin: 4px 0; }

/* Brand home and shared bits */
a.brandlink { color: inherit; text-decoration: none; }
a.brandlink:hover { text-decoration: underline; }
header.site.hero { padding: 64px 24px 48px; }
header.site.hero h1 { font-size: 44px; }
header.site.hero p.lede { font-size: 19px; color: #e6ecef; max-width: 620px; }
.doors { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 680px) { .doors { grid-template-columns: 1fr; } header.site.hero h1 { font-size: 34px; } }
.door { display: flex; flex-direction: column; }
.door .tag { display: inline-block; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); font-weight: 700; margin-bottom: 6px; }
.door h2 { font-family: Georgia, "Times New Roman", serif; font-size: 24px !important; margin: 0 0 8px !important; }
.door ul { padding-left: 18px; margin: 8px 0 18px; color: var(--ink); font-size: 15px; }
.door ul li { margin: 4px 0; }
.door .go { margin-top: auto; }
a.btn { display: inline-block; background: var(--accent); color: #fff; text-decoration: none; border-radius: 8px; padding: 12px 20px; font-weight: 600; }
a.btn.alt { background: #fff; color: var(--accent); border: 1px solid var(--accent); }
.door .small { font-size: 13px; color: var(--muted); margin-top: 10px; }
.mission { font-size: 16px; }
.mission p { margin: 0 0 10px; }
