:root {
  --navy: #151a2c;
  --olive: #6f7a3a;
  --olive-2: #5f6a30;
  --red: #c62828;
  --red-2: #b71c1c;
  --green: #2e7d32;
  --green-2: #1b5e20;
  --line: #cfd3dc;
  --muted: #70768a;
  --bg: #eef0f4;
}
* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}
body {
  font-family: Georgia, "Times New Roman", serif;
  background: var(--bg);
  color: #111;
}
.reg-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--reg-shell-bg, var(--bg));
}
.reg-hero {
  position: relative;
  text-align: center;
  padding: 36px 20px 28px;
  overflow: hidden;
}
.reg-hero.has-banner {
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.reg-hero-banner {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .35;
  pointer-events: none;
}
.reg-hero-inner {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  width: 100%;
}
.reg-hero .reg-logo {
  max-height: 56px;
  margin-bottom: 14px;
}
.reg-hero h1 {
  margin: 0;
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 700;
  line-height: 1.25;
  font-family: ui-sans-serif, system-ui, sans-serif;
}
.reg-hero-sub {
  margin: 10px auto 0;
  max-width: 36em;
  font-size: 15px;
  line-height: 1.45;
  opacity: .92;
  font-family: ui-sans-serif, system-ui, sans-serif;
}
.reg-intro {
  padding: 18px 20px 0;
}
.reg-intro-inner {
  margin: 0 auto;
  width: 100%;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  color: #333;
}
.reg-intro-inner p { margin: 0 0 10px; }
.reg-intro-inner ul, .reg-intro-inner ol { margin: 0 0 10px; padding-left: 1.2em; }
.reg-intro-inner a { color: var(--navy); font-weight: 600; }
.reg-form-wrap {
  flex: 1;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
.reg-page {
  width: 100%;
  max-width: var(--reg-card-max, 480px);
  margin: 0;
  padding: 22px 20px 24px;
  background: var(--reg-card-bg, #fff);
  border-radius: var(--reg-card-radius, 12px);
  box-shadow: 0 10px 36px rgba(21, 26, 44, .08);
}
.reg-head { text-align: center; margin-bottom: 18px; }
.reg-logo { max-height: 52px; margin-bottom: 14px; }
.reg-logo-text {
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -.03em;
  margin-bottom: 12px;
}
.reg-logo-text span { color: #EBE65E; background: none; padding: 0; margin: 0; }
.reg-head h1 {
  margin: 0;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.35;
}
.reg-head h1 strong { font-weight: 700; }
.reg-footer {
  padding: 8px 20px 28px;
  text-align: center;
}
.reg-footer-inner {
  margin: 0 auto;
  width: 100%;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 13px;
  color: var(--muted);
}
.reg-footer-inner p { margin: 0 0 8px; }
.reg-back {
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
}
.reg-sec-heading {
  margin: 0 0 10px;
  font-size: 1.25em;
  font-weight: 800;
  font-family: ui-sans-serif, system-ui, sans-serif;
  line-height: 1.3;
}
.reg-cta h2 {
  margin: 0 0 8px;
  font-size: clamp(20px, 3vw, 28px);
  font-family: ui-sans-serif, system-ui, sans-serif;
}
.reg-cta p { margin: 0 0 14px; opacity: .92; }
.reg-cta-btn {
  display: inline-block;
  text-decoration: none;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-weight: 800;
  font-size: 14px;
  padding: 12px 18px;
  border-radius: 6px;
}
.reg-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  justify-content: inherit;
  margin: 0 0 10px;
}
.reg-footer-links a {
  font-weight: 700;
  text-decoration: none;
}
.reg-footer-links a:hover { text-decoration: underline; }
.reg-image img { display: inline-block; vertical-align: middle; }

.linkish {
  border: 0; background: none; color: var(--muted); cursor: pointer;
  margin-top: 10px; font-size: 13px; font-family: ui-sans-serif, system-ui, sans-serif;
}
.hidden { display: none !important; }

.cat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 22px;
}
.cat-btn {
  border: 0;
  border-radius: 4px;
  padding: 16px 10px;
  font-size: 16px;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  background: var(--navy);
}
.cat-btn:hover,
.cat-btn.olive:hover,
.cat-btn.red:hover { background: #1f2740; }
.cat-btn.olive,
.cat-btn.red { background: var(--navy); }
.cat-btn.is-on, .reg-cat-pick.is-on {
  outline: 2px solid #151a2c;
  outline-offset: 2px;
  filter: brightness(0.92);
}
.reg-cat-form[hidden],
.reg-step[hidden],
.reg-actions[hidden] { display: none !important; }
.reg-cat-hint { margin: 0 0 12px; font-weight: 700; }
.reg-cat-chosen { margin: 8px 0 14px; }
.reg-cat-back {
  display: inline-block;
  margin: 0 0 8px;
  border: 0;
  background: none;
  color: var(--muted);
  cursor: pointer;
  padding: 0;
  font-size: 13px;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-weight: 700;
}
.reg-cat-back:hover { color: var(--navy); }

.reg-card { margin-top: 8px; }
.lead {
  font-size: 14px;
  line-height: 1.45;
  margin: 0 0 14px;
  color: #333;
}
.field { margin-bottom: 10px; }
.field input,
.person-row input[type="text"],
.person-row input[type="email"],
.person-row input:not([type="checkbox"]):not([type="hidden"]) {
  width: 100%;
  border: 1px solid #9aa0aa;
  border-radius: 2px;
  padding: 11px 12px;
  font-size: 15px;
  font-family: ui-sans-serif, system-ui, sans-serif;
  margin-bottom: 8px;
  background: #fff;
}
.person-row { margin-bottom: 14px; padding-bottom: 8px; }
.check {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 13px;
  font-family: ui-sans-serif, system-ui, sans-serif;
  margin: 6px 0 10px;
  line-height: 1.35;
}
.checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 4px 0 8px;
  font-family: ui-sans-serif, system-ui, sans-serif;
}
.actions-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 14px;
}
.btn-green, .btn-red {
  border: 0;
  border-radius: 3px;
  padding: 14px 10px;
  font-size: 14px;
  font-weight: 700;
  font-family: ui-sans-serif, system-ui, sans-serif;
  color: #fff;
  cursor: pointer;
  line-height: 1.25;
  width: 100%;
}
.btn-green { background: var(--green); }
.btn-green:hover { background: var(--green-2); }
.btn-red { background: var(--red); }
.btn-red:hover { background: var(--red-2); }

.party-divider {
  border-top: 2px dashed var(--red);
  margin: 22px 0;
}
.party-toggle {
  margin-top: 8px;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 14px;
}
.toggle-pair { display: flex; gap: 8px; margin-top: 8px; }
.tog {
  flex: 1;
  border: 1px solid #9aa0aa;
  background: #f3f3f3;
  padding: 10px;
  border-radius: 3px;
  font-weight: 700;
  cursor: pointer;
}
.tog.active.yes { background: var(--green); color: #fff; border-color: var(--green); }
.tog.active.no { background: var(--red); color: #fff; border-color: var(--red); }

.reg-error {
  background: #fdecee;
  color: var(--red);
  padding: 12px;
  border-radius: 6px;
  margin-bottom: 12px;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-weight: 600;
}
.tek-flash {
  display: none;
  padding: 14px 16px;
  border-radius: 6px;
  margin: 0 0 18px;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}
.tek-flash.is-on { display: block !important; }
.reg-page.is-done form { display: none; }
.tek-flash-ok {
  background: #e8f5ef;
  color: #1f8a5b;
  border: 1px solid #cfe9db;
}
.tek-flash-err {
  background: #fdecee;
  color: #c62828;
  border: 1px solid #f3d0d5;
}
.btn-red:disabled { opacity: .55; cursor: wait; }

@media (max-width: 420px) {
  .reg-form-wrap { padding: 14px; }
  .reg-page { padding: 18px 14px 20px; }
}
