/* ═══════════════════════════════════════════════════════════════════════════
   ATCF Program Registration v2.0 — Front-End Styles
   Design: Big Shoulders Display + Montserrat · ATCF Brand Colors
   Àṣẹ Haus  |  https://ase.haus/
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Tokens ──────────────────────────────────────────────────────────────── */
:root {
  --atcf-maroon:       #712628;
  --atcf-maroon-dark:  #5a1e20;
  --atcf-rust:         #8b3a1e;
  --atcf-rust-light:   #a5614b;
  --atcf-cream:        #f4efe7;
  --atcf-cream-dark:   #ebe4d9;
  --atcf-dark:         #1d1b17;
  --atcf-dark-mid:     #2e2b24;
  --atcf-dark-soft:    #3d3830;
  --atcf-white:        #ffffff;
  --atcf-text:         #1d1b17;
  --atcf-text-mid:     #4a4038;
  --atcf-text-muted:   #7a6e66;
  --atcf-border:       #e0d8ce;
  --atcf-border-mid:   #cdc4b8;
  --atcf-error:        #c0392b;
  --atcf-error-bg:     #fdf2f2;
  --atcf-success:      #2d6b2e;
  --atcf-success-bg:   #edf6ee;

  --atcf-radius-sm:    5px;
  --atcf-radius:       10px;
  --atcf-radius-lg:    16px;
  --atcf-shadow-sm:    0 1px 4px rgba(29,27,23,.08);
  --atcf-shadow:       0 4px 20px rgba(29,27,23,.10);
  --atcf-shadow-lg:    0 12px 40px rgba(29,27,23,.15);

  --atcf-font-title:   'Big Shoulders Display', 'Impact', sans-serif;
  --atcf-font-body:    'Montserrat', system-ui, -apple-system, sans-serif;

  --atcf-sidebar-w:    280px;
  --atcf-mob-nav-h:    68px;
}

/* ── Reset ───────────────────────────────────────────────────────────────── */
.atcf-reg-shell *, .atcf-reg-shell *::before, .atcf-reg-shell *::after {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}
.atcf-reg-shell {
  font-family: var(--atcf-font-body);
  color: var(--atcf-text);
  line-height: 1.55;
  background: var(--atcf-cream);
}

/* ── Full-bleed ──────────────────────────────────────────────────────────── */
.atcf-reg-page-main .atcf-reg-shell,
.entry-content .atcf-reg-shell {
  margin-left:  calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  width: 100vw;
}

/* ═══════════════════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════════════════ */
.atcf-reg-hero {
  background: var(--atcf-dark);
  color: var(--atcf-white);
  padding: 48px 0 0;
  position: relative;
  overflow: hidden;
}
.atcf-reg-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0 L60 30 L30 60 L0 30Z' fill='none' stroke='rgba(255,255,255,.02)' stroke-width='1'/%3E%3C/svg%3E") repeat;
  pointer-events: none;
}
.atcf-reg-hero-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: flex-end;
  gap: 48px;
}
.atcf-reg-hero-brand { flex: 0 0 auto; padding-bottom: 36px; }
.atcf-reg-hero-eyebrow {
  font-family: var(--atcf-font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--atcf-rust-light);
  display: block;
  margin-bottom: 10px;
}
.atcf-reg-hero-title {
  font-family: var(--atcf-font-title);
  font-size: clamp(52px, 7vw, 84px);
  font-weight: 800;
  line-height: .95;
  letter-spacing: .01em;
  text-transform: uppercase;
  margin: 0 0 16px;
  color: var(--atcf-white);
}
.atcf-reg-hero-rule {
  width: 48px;
  height: 3px;
  background: var(--atcf-maroon);
  border-radius: 2px;
}
.atcf-reg-hero-aside {
  flex: 1;
  padding-bottom: 36px;
  padding-left: 48px;
  border-left: 1px solid rgba(255,255,255,.1);
}
.atcf-hero-prog-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--atcf-rust-light);
  margin-bottom: 8px;
}
.atcf-hero-prog-name {
  font-family: var(--atcf-font-title);
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--atcf-white);
  margin-bottom: 16px;
  line-height: 1.05;
}
.atcf-hero-prog-detail {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255,255,255,.7);
  margin-bottom: 8px;
}
.atcf-hero-prog-detail .atcf-icon { opacity: .6; }
.atcf-hero-quote {
  font-family: var(--atcf-font-title);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--atcf-white);
  line-height: 1.1;
  margin-bottom: 12px;
}
.atcf-hero-mission {
  font-size: 14px;
  color: rgba(255,255,255,.65);
  max-width: 360px;
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════════════════════
   BODY LAYOUT
   ═══════════════════════════════════════════════════════════════════════════ */
.atcf-reg-body {
  display: flex;
  min-height: calc(100vh - 280px);
}

/* ── Sidebar ─────────────────────────────────────────────────────────────── */
.atcf-reg-sidebar {
  width: var(--atcf-sidebar-w);
  flex-shrink: 0;
  background: var(--atcf-dark-mid);
  color: var(--atcf-white);
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}
.atcf-sidebar-inner { padding: 28px 20px; }
.atcf-sidebar-progress {
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 20px;
}
.atcf-sb-step-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--atcf-rust-light);
  margin-bottom: 4px;
}
.atcf-sb-step-title {
  font-family: var(--atcf-font-title);
  font-size: 22px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--atcf-white);
}
.atcf-sidebar-checklist { margin-bottom: 24px; }
.atcf-sb-check {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  font-size: 13px;
  color: rgba(255,255,255,.45);
  transition: color .2s;
}
.atcf-sb-check.active { color: var(--atcf-white); }
.atcf-sb-check.done   { color: rgba(255,255,255,.6); }
.atcf-sb-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.2);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
}
.atcf-sb-check.active .atcf-sb-dot {
  border-color: var(--atcf-maroon);
  background: var(--atcf-maroon);
}
.atcf-sb-check.done .atcf-sb-dot {
  border-color: var(--atcf-rust-light);
  background: var(--atcf-rust-light);
}
.atcf-sb-dot svg { width: 10px; height: 10px; opacity: 0; }
.atcf-sb-check.done .atcf-sb-dot svg { opacity: 1; color: #fff; }
.atcf-sb-check.active .atcf-sb-dot svg { opacity: 1; color: #fff; }
.atcf-sidebar-help {
  background: rgba(255,255,255,.06);
  border-radius: var(--atcf-radius-sm);
  padding: 14px;
  font-size: 12px;
  margin-top: 4px;
}
.atcf-sh-title { font-weight: 700; color: var(--atcf-white); margin-bottom: 4px; }
.atcf-sh-body { color: rgba(255,255,255,.55); }
.atcf-sh-body a { color: var(--atcf-rust-light); text-decoration: none; }

/* ── Form panel ──────────────────────────────────────────────────────────── */
.atcf-reg-form-panel {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: var(--atcf-cream);
}

/* ── Mobile progress bar ─────────────────────────────────────────────────── */
.atcf-mob-progress {
  display: none;
  padding: 14px 20px 0;
  background: var(--atcf-dark);
}
.atcf-mob-progress-track {
  height: 3px;
  background: rgba(255,255,255,.15);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 10px;
}
#atcf-mob-progress-fill {
  height: 100%;
  background: var(--atcf-maroon);
  border-radius: 2px;
  transition: width .35s ease;
}
.atcf-mob-progress-label {
  display: flex;
  gap: 6px;
  font-size: 12px;
  color: rgba(255,255,255,.7);
  padding-bottom: 12px;
  font-family: var(--atcf-font-body);
}
#atcf-mob-step-current { color: var(--atcf-rust-light); font-weight: 700; }
#atcf-mob-step-label   { color: var(--atcf-white); font-weight: 600; flex: 1; }

/* ── Step viewport ───────────────────────────────────────────────────────── */
.atcf-step-viewport {
  flex: 1;
  position: relative;
  overflow: hidden;
}
.atcf-step {
  display: none;
  padding: 36px 40px 120px;
  animation: atcf-fade-in .25s ease;
}
.atcf-step.active { display: block; }
@keyframes atcf-fade-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* ═══════════════════════════════════════════════════════════════════════════
   STEP ELEMENTS
   ═══════════════════════════════════════════════════════════════════════════ */
.atcf-step-head { margin-bottom: 28px; }
.atcf-step-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--atcf-maroon);
  margin-bottom: 6px;
}
.atcf-step-h {
  font-family: var(--atcf-font-title);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--atcf-dark);
  margin: 0 0 6px;
  line-height: 1.05;
}
.atcf-step-sub { font-size: 14px; color: var(--atcf-text-muted); margin: 0; }

/* Account notice */
.atcf-account-notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #fff8f0;
  border: 1px solid #e8c9a0;
  border-left: 3px solid var(--atcf-rust);
  border-radius: var(--atcf-radius-sm);
  padding: 12px 14px;
  font-size: 13px;
  color: var(--atcf-text-mid);
  margin-bottom: 24px;
}
.atcf-account-notice svg { flex-shrink: 0; margin-top: 1px; color: var(--atcf-rust); }

/* ── Fields ──────────────────────────────────────────────────────────────── */
.atcf-fields { display: flex; flex-direction: column; gap: 16px; }
.atcf-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.atcf-field-row--thirds .atcf-field--wide  { grid-column: span 1; flex: 1 1 auto; }
.atcf-field-row--thirds .atcf-field--narrow{ flex: 0 0 96px; }
.atcf-field-row--thirds { display: flex; gap: 12px; }
.atcf-field--full { grid-column: 1 / -1; }

.atcf-field label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--atcf-text-mid);
  margin-bottom: 5px;
}
.atcf-field .req { color: var(--atcf-maroon); }
.atcf-field input[type="text"],
.atcf-field input[type="email"],
.atcf-field input[type="tel"],
.atcf-field input[type="date"],
.atcf-field select,
.atcf-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--atcf-border);
  border-radius: var(--atcf-radius-sm);
  font-family: var(--atcf-font-body);
  font-size: 15px;
  color: var(--atcf-text);
  background: var(--atcf-white);
  transition: border-color .15s, box-shadow .15s;
  -webkit-appearance: none;
  appearance: none;
}
.atcf-field input:focus,
.atcf-field select:focus,
.atcf-field textarea:focus {
  outline: none;
  border-color: var(--atcf-maroon);
  box-shadow: 0 0 0 3px rgba(113,38,40,.12);
}
.atcf-field input.error,
.atcf-field select.error,
.atcf-field textarea.error {
  border-color: var(--atcf-error);
  box-shadow: 0 0 0 3px rgba(192,57,43,.1);
}
.atcf-field textarea { resize: vertical; min-height: 88px; }
.atcf-field-hint { font-size: 12px; color: var(--atcf-text-muted); margin-top: 4px; }
.atcf-field-section-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--atcf-text-mid);
  text-transform: uppercase;
  letter-spacing: .06em;
  padding-top: 4px;
}
.atcf-optional { font-weight: 400; color: var(--atcf-text-muted); text-transform: none; font-size: 12px; letter-spacing: 0; }
.atcf-field-divider { border: none; border-top: 1px dashed var(--atcf-border); margin: 4px 0; }

/* ── Select arrow ────────────────────────────────────────────────────────── */
.atcf-field select {
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%234a4038' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
  cursor: pointer;
}

/* ── Choice cards (riding experience) ───────────────────────────────────── */
.atcf-choice-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.atcf-choice { cursor: pointer; }
.atcf-choice input { position: absolute; opacity: 0; width: 0; height: 0; }
.atcf-choice-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1.5px solid var(--atcf-border);
  border-radius: var(--atcf-radius);
  background: var(--atcf-white);
  transition: all .15s;
}
.atcf-choice input:checked + .atcf-choice-inner {
  border-color: var(--atcf-maroon);
  background: #fff5f5;
  box-shadow: 0 0 0 2px rgba(113,38,40,.12);
}
.atcf-choice-icon { font-size: 22px; flex-shrink: 0; }
.atcf-choice-icon-img {
  width: 40px; height: 40px; flex-shrink: 0;
  object-fit: contain;
  filter: grayscale(20%);
  transition: filter .2s;
}
.atcf-choice input:checked + .atcf-choice-inner .atcf-choice-icon-img { filter: none; }
.atcf-choice-inner strong { display: block; font-size: 13px; font-weight: 700; color: var(--atcf-text); }
.atcf-choice-inner small  { display: block; font-size: 11px; color: var(--atcf-text-muted); margin-top: 1px; }
.atcf-choice-check {
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 1.5px solid var(--atcf-border);
  margin-left: auto;
  flex-shrink: 0;
  transition: all .15s;
}
.atcf-choice input:checked ~ .atcf-choice-inner .atcf-choice-check {
  border-color: var(--atcf-maroon);
  background: var(--atcf-maroon);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 10 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='1,4 3.5,6.5 9,1' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px;
}

/* ── Toggle (photo permission) ───────────────────────────────────────────── */
.atcf-toggle-label {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  cursor: pointer;
  padding: 14px;
  background: var(--atcf-white);
  border: 1.5px solid var(--atcf-border);
  border-radius: var(--atcf-radius);
  position: relative; /* keeps the hidden input inside the label bounds */
  user-select: none;
}
.atcf-toggle-label input {
  position: absolute; opacity: 0;
  width: 1px; height: 1px; /* nonzero so the element is hit-testable */
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.atcf-toggle-track {
  width: 44px; height: 24px;
  background: var(--atcf-border);
  border-radius: 12px;
  position: relative;
  flex-shrink: 0;
  margin-top: 2px;
  transition: background .2s;
}
.atcf-toggle-label input:checked ~ .atcf-toggle-track { background: var(--atcf-maroon); }
.atcf-toggle-thumb {
  position: absolute;
  top: 2px; left: 2px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--atcf-white);
  box-shadow: 0 1px 3px rgba(0,0,0,.2);
  transition: transform .2s;
}
.atcf-toggle-label input:checked ~ .atcf-toggle-track .atcf-toggle-thumb { transform: translateX(20px); }
.atcf-toggle-text strong { display: block; font-size: 14px; color: var(--atcf-text); margin-bottom: 3px; }
.atcf-toggle-text small  { font-size: 12px; color: var(--atcf-text-muted); line-height: 1.5; }

/* ── Program picker ──────────────────────────────────────────────────────── */
.atcf-program-picker { display: flex; flex-direction: column; gap: 10px; margin-bottom: 8px; }
.atcf-prog-opt { cursor: pointer; }
.atcf-prog-opt input { position: absolute; opacity: 0; width: 0; height: 0; }
.atcf-prog-opt--disabled { opacity: .5; cursor: not-allowed; }
.atcf-prog-opt-inner,
.atcf-prog-opt > :not(input) {
  /* styles applied via inner wrapper */
}
.atcf-prog-opt {
  display: flex;
  overflow: hidden;
  border: 1.5px solid var(--atcf-border);
  border-radius: var(--atcf-radius);
  background: var(--atcf-white);
  transition: all .15s;
}
.atcf-prog-opt:hover:not(.atcf-prog-opt--disabled) { border-color: var(--atcf-maroon); box-shadow: var(--atcf-shadow-sm); }
.atcf-prog-opt input:checked ~ .atcf-prog-opt-stripe ~ * { color: inherit; }
.atcf-prog-opt:has(input:checked) {
  border-color: var(--atcf-maroon);
  box-shadow: 0 0 0 2px rgba(113,38,40,.12);
}
.atcf-prog-opt-stripe { width: 4px; flex-shrink: 0; background: var(--atcf-border); }
.atcf-prog-opt-body { flex: 1; padding: 14px 16px; }
.atcf-prog-opt-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--atcf-maroon);
  margin-bottom: 4px;
}
.atcf-prog-opt-name { font-size: 16px; font-weight: 700; color: var(--atcf-text); margin-bottom: 6px; }
.atcf-prog-opt-meta { display: flex; gap: 12px; font-size: 12px; color: var(--atcf-text-muted); margin-bottom: 6px; flex-wrap: wrap; }
.atcf-prog-opt-price { font-size: 15px; font-weight: 700; color: var(--atcf-rust); }
.atcf-prog-opt-check { padding: 14px 16px; display: flex; align-items: center; color: var(--atcf-border); }
.atcf-prog-opt:has(input:checked) .atcf-prog-opt-check { color: var(--atcf-maroon); }
.atcf-prog-opt-check svg { width: 22px; height: 22px; }

/* ── Program cards grid ──────────────────────────────────────────────────── */
.atcf-programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  padding: 24px 0;
}
.atcf-program-card {
  background: var(--atcf-white);
  border-radius: var(--atcf-radius-lg);
  overflow: hidden;
  box-shadow: var(--atcf-shadow-sm);
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s, transform .2s;
}
.atcf-program-card:hover { box-shadow: var(--atcf-shadow); transform: translateY(-2px); }
.atcf-pc-stripe { height: 5px; background: var(--program-color, var(--atcf-maroon)); }
.atcf-pc-img { aspect-ratio: 16/9; overflow: hidden; }
.atcf-pc-img img { width: 100%; height: 100%; object-fit: cover; }
.atcf-pc-img-placeholder {
  background: var(--atcf-cream-dark);
  display: flex; align-items: center; justify-content: center;
  color: var(--atcf-text-muted);
}
.atcf-pc-body { flex: 1; padding: 18px 20px; }
.atcf-pc-tag {
  font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--atcf-maroon); margin-bottom: 6px;
}
.atcf-pc-title { font-family: var(--atcf-font-title); font-size: 20px; font-weight: 800; text-transform: uppercase; color: var(--atcf-dark); margin: 0 0 6px; }
.atcf-pc-tagline { font-size: 13px; color: var(--atcf-text-muted); margin: 0 0 12px; }
.atcf-pc-details { display: flex; flex-wrap: wrap; gap: 8px; font-size: 12px; color: var(--atcf-text-muted); margin-bottom: 12px; }
.atcf-pc-details span { display: flex; align-items: center; gap: 4px; }
.atcf-pc-price-row { display: flex; align-items: center; justify-content: space-between; }
.atcf-pc-price { font-size: 18px; font-weight: 700; color: var(--atcf-rust); }
.atcf-pc-spots { font-size: 12px; color: var(--atcf-text-muted); }
.atcf-pc-spots-low { color: var(--atcf-error); font-weight: 700; }
.atcf-pc-footer { padding: 0 20px 20px; }
.atcf-pc-cta {
  display: block; text-align: center;
  padding: 12px;
  background: var(--atcf-maroon);
  color: var(--atcf-white);
  font-family: var(--atcf-font-body);
  font-size: 13px; font-weight: 700;
  text-decoration: none; border-radius: var(--atcf-radius-sm);
  text-transform: uppercase; letter-spacing: .06em;
  transition: background .15s;
}
.atcf-pc-cta:hover { background: var(--atcf-maroon-dark); color: var(--atcf-white); }
.atcf-pc-cta-waitlist { background: var(--atcf-rust); }
.atcf-pc-cta-soon { background: var(--atcf-border); color: var(--atcf-text-muted); cursor: default; }
.atcf-no-programs { text-align: center; padding: 40px; color: var(--atcf-text-muted); }

/* ── Waiver ──────────────────────────────────────────────────────────────── */
.atcf-waiver-container {
  position: relative;
  border: 1.5px solid var(--atcf-border);
  border-radius: var(--atcf-radius);
  overflow: hidden;
  background: var(--atcf-white);
  margin-bottom: 20px;
}
.atcf-waiver-body {
  max-height: 300px;
  overflow-y: scroll;
  padding: 20px 24px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--atcf-text-mid);
}
.atcf-waiver-body::-webkit-scrollbar { width: 4px; }
.atcf-waiver-body::-webkit-scrollbar-track { background: var(--atcf-cream); }
.atcf-waiver-body::-webkit-scrollbar-thumb { background: var(--atcf-border-mid); border-radius: 2px; }
.atcf-waiver-fade {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 56px;
  background: linear-gradient(to bottom, transparent, var(--atcf-white));
  display: flex; align-items: flex-end; justify-content: center;
  padding-bottom: 8px;
  cursor: pointer;
  transition: opacity .3s;
}
.atcf-waiver-fade.hidden { opacity: 0; pointer-events: none; }
.atcf-waiver-fade span { font-size: 12px; color: var(--atcf-maroon); font-weight: 600; }
.atcf-sig-wrapper { margin-bottom: 20px; }
.atcf-sig-locked {
  display: flex; align-items: center; gap: 10px;
  padding: 16px;
  background: var(--atcf-cream-dark);
  border: 1.5px dashed var(--atcf-border);
  border-radius: var(--atcf-radius);
  color: var(--atcf-text-muted);
  font-size: 13px;
}
.atcf-sig-locked svg { color: var(--atcf-text-muted); flex-shrink: 0; }
.atcf-sig-fields { display: flex; flex-direction: column; gap: 16px; }
.atcf-agree-label {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px;
  border: 1.5px solid var(--atcf-border);
  border-radius: var(--atcf-radius-sm);
  cursor: pointer;
  background: var(--atcf-white);
}
.atcf-agree-label input { position: absolute; opacity: 0; width: 0; height: 0; }
.atcf-agree-box {
  width: 20px; height: 20px;
  border: 2px solid var(--atcf-border);
  border-radius: 4px;
  flex-shrink: 0; margin-top: 1px;
  transition: all .15s;
  background: var(--atcf-white);
}
.atcf-agree-label input:checked ~ .atcf-agree-box {
  background: var(--atcf-maroon);
  border-color: var(--atcf-maroon);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 12 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='1,5 4.5,8.5 11,1' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; background-size: 12px;
}
.atcf-agree-text { font-size: 13px; color: var(--atcf-text-mid); line-height: 1.5; }
.atcf-sig-pad-wrap { }
.atcf-sig-pad-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--atcf-text-mid); margin-bottom: 6px; }
.req { color: var(--atcf-maroon); }
.atcf-canvas-frame {
  position: relative;
  border: 1.5px solid var(--atcf-border);
  border-radius: var(--atcf-radius);
  overflow: hidden;
  background: var(--atcf-white);
  touch-action: none;
}
.atcf-canvas-frame canvas { display: block; width: 100%; height: 140px; cursor: crosshair; }
.atcf-sig-placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--atcf-border-mid); font-size: 13px; pointer-events: none;
}
.atcf-sig-toolbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0 0;
}
.atcf-sig-toolbar button {
  font-size: 12px; color: var(--atcf-text-muted); background: none; border: none;
  cursor: pointer; text-decoration: underline; padding: 0;
}
.atcf-sig-date { font-size: 12px; color: var(--atcf-text-muted); }

/* ── Payment / Order summary ─────────────────────────────────────────────── */
.atcf-order-card {
  background: var(--atcf-white);
  border: 1.5px solid var(--atcf-border);
  border-radius: var(--atcf-radius);
  padding: 18px 20px;
  margin-bottom: 16px;
}
.atcf-order-row { display: flex; justify-content: space-between; font-size: 15px; padding: 4px 0; color: var(--atcf-text-mid); }
.atcf-order-discount { color: var(--atcf-success); }
.atcf-order-divider { border: none; border-top: 1px solid var(--atcf-border); margin: 10px 0; }
.atcf-order-total { font-size: 17px; color: var(--atcf-text); }
.atcf-coupon-wrap { margin-bottom: 20px; }
.atcf-coupon-field { display: flex; gap: 8px; }
.atcf-coupon-field input {
  flex: 1; padding: 11px 14px;
  border: 1.5px solid var(--atcf-border); border-radius: var(--atcf-radius-sm);
  font-family: var(--atcf-font-body); font-size: 14px; text-transform: uppercase;
  letter-spacing: .05em;
}
.atcf-coupon-field input:focus { outline: none; border-color: var(--atcf-maroon); }
.atcf-coupon-field button {
  padding: 11px 20px;
  background: var(--atcf-dark); color: var(--atcf-white);
  border: none; border-radius: var(--atcf-radius-sm);
  font-family: var(--atcf-font-body); font-size: 13px; font-weight: 700;
  cursor: pointer; white-space: nowrap; transition: background .15s;
  text-transform: uppercase; letter-spacing: .06em;
}
.atcf-coupon-field button:hover { background: var(--atcf-dark-soft); }
.atcf-coupon-msg { font-size: 13px; margin-top: 6px; }
.atcf-coupon-msg.ok   { color: var(--atcf-success); }
.atcf-coupon-msg.fail { color: var(--atcf-error); }

/* Stripe Payment Element */
.atcf-stripe-wrap {
  border: 1.5px solid var(--atcf-border);
  border-radius: var(--atcf-radius);
  background: var(--atcf-white);
  padding: 18px 20px;
  margin-bottom: 16px;
}
.atcf-stripe-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--atcf-text-mid); margin-bottom: 10px; display: block; }
.atcf-payment-element { min-height: 48px; }
.atcf-card-errors { font-size: 13px; color: var(--atcf-error); margin-top: 8px; min-height: 18px; }
.atcf-stripe-badge {
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; color: var(--atcf-text-muted);
  margin-top: 10px;
}
.atcf-free-banner {
  background: var(--atcf-success-bg);
  border: 1px solid #b2dfb3;
  border-radius: var(--atcf-radius);
  padding: 16px 20px;
  font-size: 15px;
  color: var(--atcf-success);
  margin-bottom: 16px;
}

/* ── Step actions ────────────────────────────────────────────────────────── */
.atcf-step-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--atcf-border);
  gap: 12px;
}
.atcf-next,
.atcf-submit-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 24px;
  background: var(--atcf-maroon);
  color: var(--atcf-white);
  border: none; border-radius: var(--atcf-radius-sm);
  font-family: var(--atcf-font-body); font-size: 14px; font-weight: 700;
  cursor: pointer; transition: background .15s, transform .1s;
  text-transform: uppercase; letter-spacing: .06em;
  white-space: nowrap;
}
.atcf-next:hover,
.atcf-submit-btn:hover { background: var(--atcf-maroon-dark); }
.atcf-next:active, .atcf-submit-btn:active { transform: scale(.98); }
.atcf-next:disabled, .atcf-submit-btn:disabled { opacity: .55; cursor: not-allowed; }
.atcf-back-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 12px 16px;
  background: transparent;
  border: 1.5px solid var(--atcf-border);
  border-radius: var(--atcf-radius-sm);
  color: var(--atcf-text-mid);
  font-family: var(--atcf-font-body); font-size: 14px; font-weight: 600;
  cursor: pointer; transition: all .15s;
}
.atcf-back-btn:hover { border-color: var(--atcf-maroon); color: var(--atcf-maroon); }
.atcf-pickup-note {
  display: flex; align-items: flex-start; gap: 8px;
  padding: 12px 14px;
  background: #fffbf0; border-left: 3px solid #e6a817;
  border-radius: 0 var(--atcf-radius-sm) var(--atcf-radius-sm) 0;
  font-size: 13px; color: var(--atcf-text-mid);
}
.atcf-spin { animation: atcf-spin .7s linear infinite; }
@keyframes atcf-spin { to { transform: rotate(360deg); } }

/* ── Confirmation screen ─────────────────────────────────────────────────── */
.atcf-confirm-screen { text-align: center; padding: 20px 0 40px; max-width: 480px; margin: 0 auto; }
.atcf-confirm-badge { margin-bottom: 20px; }
.atcf-confirm-h { font-family: var(--atcf-font-title); font-size: 40px; font-weight: 800; text-transform: uppercase; color: var(--atcf-dark); margin: 0 0 8px; }
.atcf-confirm-p { font-size: 15px; color: var(--atcf-text-muted); margin: 0 0 24px; }
.atcf-confirm-details {
  background: var(--atcf-white); border: 1.5px solid var(--atcf-border);
  border-radius: var(--atcf-radius); padding: 16px 20px; margin-bottom: 16px; text-align: left;
}
.atcf-confirm-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14px; }
.atcf-confirm-row span { color: var(--atcf-text-muted); }
.atcf-confirm-email-note { font-size: 13px; color: var(--atcf-text-muted); margin-bottom: 20px; }
.atcf-confirm-account-msg {
  background: var(--atcf-success-bg);
  border: 1px solid #b2dfb3;
  border-radius: var(--atcf-radius);
  padding: 16px 20px;
  font-size: 14px; color: var(--atcf-success);
  margin-bottom: 20px; text-align: left;
}
.atcf-confirm-account-msg p { margin: 0 0 10px; }
.atcf-dash-link {
  color: var(--atcf-maroon); font-weight: 700; text-decoration: none; font-size: 14px;
}
.atcf-home-link { display: inline-block; font-size: 14px; color: var(--atcf-maroon); font-weight: 600; text-decoration: none; }
.atcf-home-link:hover { text-decoration: underline; }

/* ── Mobile nav bar ──────────────────────────────────────────────────────── */
.atcf-mob-nav {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--atcf-dark);
  padding: 12px 20px 16px;
  padding-bottom: max(16px, env(safe-area-inset-bottom));
  display: flex; justify-content: space-between; align-items: center;
  z-index: 100;
  box-shadow: 0 -4px 20px rgba(0,0,0,.2);
}
.atcf-mob-back-btn,
.atcf-mob-next-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 11px 18px;
  border-radius: var(--atcf-radius-sm);
  font-family: var(--atcf-font-body); font-size: 14px; font-weight: 700;
  cursor: pointer; border: none; transition: all .15s;
  text-transform: uppercase; letter-spacing: .06em;
}
.atcf-mob-back-btn { background: rgba(255,255,255,.1); color: rgba(255,255,255,.8); }
.atcf-mob-back-btn:hover { background: rgba(255,255,255,.15); }
.atcf-mob-next-btn { background: var(--atcf-maroon); color: var(--atcf-white); }
.atcf-mob-next-btn:hover { background: var(--atcf-maroon-dark); }

/* ── Dashboard gate (login prompt) ──────────────────────────────────────── */
.atcf-dash-gate {
  text-align: center; padding: 60px 24px;
  max-width: 420px; margin: 0 auto;
}
.atcf-dash-gate-icon { font-size: 48px; margin-bottom: 16px; }
.atcf-dash-gate h2 {
  font-family: var(--atcf-font-title); font-size: 32px; font-weight: 800;
  text-transform: uppercase; margin: 0 0 8px; color: var(--atcf-dark);
}
.atcf-dash-gate p { font-size: 15px; color: var(--atcf-text-muted); margin: 0 0 24px; }
.atcf-btn-primary {
  display: inline-block; padding: 14px 28px;
  background: var(--atcf-maroon); color: var(--atcf-white);
  border-radius: var(--atcf-radius-sm); font-weight: 700;
  text-decoration: none; font-size: 14px; text-transform: uppercase; letter-spacing: .06em;
  transition: background .15s;
}
.atcf-btn-primary:hover { background: var(--atcf-maroon-dark); color: var(--atcf-white); }

/* ── Empty state ─────────────────────────────────────────────────────────── */
.atcf-empty-state { text-align: center; padding: 48px 24px; color: var(--atcf-text-muted); }

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════════ */

/* Tablet */
@media (max-width: 900px) {
  .atcf-reg-sidebar { display: none; }
  .atcf-mob-progress { display: block; }
  .atcf-mob-nav { display: flex; }
  .atcf-step { padding: 24px 20px calc(var(--atcf-mob-nav-h) + 28px); }
  .atcf-step-actions { display: none; }
  .atcf-step[data-step="6"] .atcf-step-actions,
  .atcf-step[data-step="7"] .atcf-step-actions { display: flex; }
  .atcf-reg-hero-inner { flex-direction: column; align-items: flex-start; gap: 16px; padding-bottom: 0; }
  .atcf-reg-hero-aside { padding-left: 0; border-left: none; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.1); }
}

/* Mobile */
@media (max-width: 600px) {
  .atcf-field-row { grid-template-columns: 1fr; }
  .atcf-field-row--thirds { flex-direction: column; }
  .atcf-field-row--thirds .atcf-field--narrow { flex: unset; }
  .atcf-choice-group { grid-template-columns: 1fr; }
  .atcf-programs-grid { grid-template-columns: 1fr; }
  .atcf-step { padding: 20px 16px calc(var(--atcf-mob-nav-h) + 24px); }

  /* Compact hero on mobile — just eyebrow + tight title, hide aside */
  .atcf-reg-hero { padding: 18px 0 0; }
  .atcf-reg-hero-inner { gap: 0; }
  .atcf-reg-hero-title { font-size: 36px; line-height: .92; margin-bottom: 10px; }
  .atcf-reg-hero-eyebrow { font-size: 10px; margin-bottom: 6px; }
  .atcf-reg-hero-rule { margin-bottom: 0; }
  .atcf-reg-hero-aside { display: none; } /* hide quote / program info on mobile — shown in sidebar on desktop */
  .atcf-reg-hero-brand { padding-bottom: 20px; }

  .atcf-confirm-h { font-size: 32px; }
  .atcf-coupon-field { flex-direction: column; }
  .atcf-step-actions { flex-wrap: wrap; }
  .atcf-step-actions .atcf-next,
  .atcf-step-actions .atcf-submit-btn { width: 100%; justify-content: center; }
}
