/* Placeholder styling – TOTC design pass comes in phase 3 */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 17px; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.55;
  color: #1f2523;
  background: #f6f4ef;
}
.wrap { max-width: 720px; margin: 0 auto; padding: 0 20px; }
a { color: #1f5f5b; }

.site-header { background: #1f5f5b; color: #fff; padding: 14px 0; }
.site-header .wrap { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.brand { color: #fff; font-weight: 700; text-decoration: none; }
.tag { opacity: .9; font-size: .9rem; }

main { padding: 28px 20px 48px; }
h1 { font-size: 1.7rem; line-height: 1.25; margin: 0 0 14px; }
h2 { font-size: 1.25rem; margin: 28px 0 8px; }
h3 { font-size: 1.02rem; margin: 18px 0 4px; }

.ticks { padding: 0; list-style: none; margin: 14px 0 22px; }
.ticks li { padding-left: 1.5em; position: relative; margin: 4px 0; }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: #1f5f5b; font-weight: 700; }

.panel, .tracker-form { background: #fff; border-radius: 10px; padding: 24px; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.panel { margin-top: 8px; }

fieldset { border: 0; padding: 0; margin: 0 0 24px; }
legend { font-weight: 700; font-size: 1.1rem; margin-bottom: 8px; }
label { display: block; font-weight: 600; margin: 12px 0 4px; }
label.radio, label.check { font-weight: 400; display: flex; gap: 10px; align-items: flex-start; margin: 8px 0; }
label.radio input, label.check input { margin-top: .3em; flex: none; }
.opt { font-weight: 400; color: #666; }
input[type=text], input:not([type]), input[type=email], input[type=url], input[type=date], input[type=number], select {
  width: 100%; padding: 10px 12px; font: inherit; border: 1px solid #b9bfbc; border-radius: 6px; background: #fff;
}
input:focus, select:focus { outline: 3px solid #f2c94c; outline-offset: 1px; }
input[aria-invalid=true], select[aria-invalid=true] { border-color: #b3261e; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.row.three { grid-template-columns: 1fr 1fr 1fr; }
@media (max-width: 520px) { .row, .row.three { grid-template-columns: 1fr; } }
.hint { color: #5a625f; font-size: .88rem; margin: 4px 0 0; }
.error { color: #b3261e; font-size: .9rem; margin: 4px 0 0; font-weight: 600; }
.error-summary { background: #fdecea; border-left: 4px solid #b3261e; padding: 12px 16px; margin-bottom: 16px; border-radius: 4px; }

.btn {
  display: inline-block; background: #1f5f5b; color: #fff; border: 0; border-radius: 6px;
  padding: 13px 22px; font: inherit; font-weight: 700; cursor: pointer;
}
.btn:hover { background: #174744; }
.btn-secondary { background: #6b2f2a; }
.btn-secondary:hover { background: #52231f; }

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

/* JS-driven show/hide (everything visible without JS) */
.js.is-not-booked .booked-only { display: none; }
.js.is-not-booked .booked-only-inline, .js.is-booked .not-booked-only-inline { display: none; }
.tracker-form:not(.js) .not-booked-only-inline::before { content: " / "; }
.js.th-any .threshold-value { display: none; }
.js.th-amount .unit-percent, .js.th-percent .unit-amount { display: none; }

.summary { border-collapse: collapse; margin: 12px 0 18px; width: 100%; }
.summary th { text-align: left; font-weight: 400; color: #5a625f; padding: 6px 14px 6px 0; vertical-align: top; width: 38%; }
.summary td { padding: 6px 0; font-weight: 600; }

.faq { margin-top: 36px; }
.prose ul { padding-left: 1.2em; }

.site-footer { padding: 24px 0 40px; font-size: .9rem; color: #5a625f; }
