@import url('/brand.css');
:root {
  --primary: #581b6c;
  --secondary: #d93684;
  --accent: #19783f;
  --accent-dark: #125c30;
  --text: #25202a;
  --muted: #5f5a66;
  --line: #e6dfe9;
  --bg: #ffffff;
  --soft: #f8f4fa;
  --error: #b42318;
  --error-bg: #fdeceb;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.5;
}

.wrap { max-width: 720px; margin: 0 auto; padding: 24px 12px 32px; }

.card-shell { position: relative; padding-top: 36px; }
.logo { position: absolute; top: 0; left: 16px; z-index: 2; border-radius: 50%; background: #fff; }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(88, 27, 108, 0.08);
  padding: 56px 24px 28px;
}

h1, h2 { color: var(--primary); text-align: center; line-height: 1.25; margin: 0 0 16px; outline: none; }
h1 { font-size: 1.6rem; }
h2 { font-size: 1.45rem; }
h3 { color: var(--primary); font-size: 1.1rem; margin: 20px 0 8px; }

p { margin: 0 0 14px; }
a { color: var(--primary); }
.lead { font-size: 1.05rem; }

.art { display: block; margin: 0 auto 16px; max-width: 100%; height: auto; }
.art-explore { max-width: 210px; }
.art-canoe { max-width: 200px; }
.art-abseil { max-width: 180px; }

label { display: block; font-weight: 600; margin: 14px 0 6px; }
.req { color: var(--secondary); }
input[type="text"], input[type="email"], input[type="number"], input[type="date"], select {
  width: 100%;
  font: inherit;
  padding: 12px 14px;
  border: 2px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--text);
}
input:focus, select:focus, button:focus-visible, a:focus-visible {
  outline: 3px solid var(--secondary);
  outline-offset: 2px;
}

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.btn {
  font: inherit;
  font-weight: 600;
  border-radius: 12px;
  padding: 14px 20px;
  cursor: pointer;
  border: 2px solid transparent;
  min-height: 48px;
}
.btn-primary { background: var(--accent); color: #fff; flex: 1 1 220px; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-primary:disabled { opacity: 0.6; cursor: wait; }
.btn-back { background: #fff; color: var(--primary); border-color: var(--primary); }
.btn-back:hover { background: var(--soft); }

.choices { display: flex; flex-direction: column; gap: 12px; }
.btn-choice {
  width: 100%;
  background: var(--soft);
  color: var(--primary);
  border-color: var(--primary);
  text-align: left;
}
.btn-choice:hover, .btn-choice.active { background: var(--primary); color: #fff; }

.choice-row { display: flex; gap: 8px; align-items: stretch; }
.choice-row > .btn-choice, .choice-row > .multi-btn { flex: 1; }
.info-btn {
  flex: 0 0 48px;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  align-self: center;
  border: 2px solid var(--secondary);
  background: #fff;
  color: var(--secondary);
  font: italic 700 1.1rem Georgia, serif;
  cursor: pointer;
}
.info-btn[aria-expanded="true"] { background: var(--secondary); color: #fff; }
.info { background: var(--soft); border-left: 4px solid var(--secondary); border-radius: 8px; padding: 12px 14px; margin: -4px 0 8px; font-size: 0.95rem; }

.multi { display: flex; flex-direction: column; gap: 10px; }
.multi-btn {
  font: inherit;
  font-weight: 600;
  text-align: left;
  padding: 14px 16px;
  border-radius: 12px;
  border: 2px solid var(--line);
  background: #fff;
  color: var(--text);
  cursor: pointer;
  min-height: 48px;
}
.multi-btn.active { border-color: var(--accent); background: #e9f5ee; color: var(--accent-dark); }
.multi-btn.active::before { content: "\2713\00a0"; }

.grid-head { display: flex; justify-content: space-between; font-weight: 700; color: var(--primary); border-bottom: 2px solid var(--line); padding-bottom: 6px; }
.num-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.num-row label { margin: 0; font-weight: 500; }
.num-row input { width: 110px; text-align: right; }
.remaining { margin-top: 14px; font-weight: 600; }
.remaining .bad { color: var(--error); }

.error { background: var(--error-bg); color: var(--error); border-radius: 8px; padding: 10px 14px; font-weight: 600; }
.ok { background: #e9f5ee; color: var(--accent-dark); border-radius: 8px; padding: 10px 14px; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.summary { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; margin: 0 0 16px; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; font-weight: 600; }

.quote-table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.quote-table th, .quote-table td { padding: 10px 8px; text-align: left; border-bottom: 1px solid var(--line); }
.quote-table thead th { background: var(--primary); color: #fff; }
.quote-table .right { text-align: right; white-space: nowrap; }
.quote-table tr.group th { background: var(--soft); color: var(--primary); font-size: 0.95rem; }
.quote-table tr.total td { font-weight: 800; font-size: 1.1rem; border-top: 2px solid var(--primary); }
.foot { font-size: 0.9rem; color: var(--muted); margin-top: 10px; }

.legal { text-align: center; font-size: 0.85rem; color: var(--muted); margin: 14px 0 0; }

/* Setup and privacy pages */
.page { max-width: 760px; margin: 0 auto; padding: 24px 16px 48px; }
.page h1 { text-align: left; }
.checks { list-style: none; padding: 0; margin: 20px 0; }
.checks li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.mark { font-weight: 800; width: 1.5em; }
.pass .mark { color: var(--accent); }
.fail .mark { color: var(--error); }
.fix { color: var(--muted); font-size: 0.95rem; margin: 2px 0 0; }

@media (max-width: 480px) {
  body { font-size: 17px; }
  .card { padding: 52px 16px 22px; }
  .btn-primary { flex-basis: 100%; }
  .quote-table th, .quote-table td { padding: 8px 4px; font-size: 0.92rem; }
}

h1,h2,h3,.card h2{font-family:var(--font-head)}
