/* =====================================================================
   RSA Yomim Noraim Seating — design system
   ---------------------------------------------------------------------
   A small, reusable system: tokens (color / type / space / radius /
   shadow), then components (shell, stepper, cards, forms, badges,
   alerts, buttons, pricing, review, payment). Dignified and traditional
   (serif headings, navy + gold) but clean and modern. Mobile-first.
   ===================================================================== */

/* ── Design tokens ────────────────────────────────────────────────── */
:root {
  /* Brand */
  --navy:        #17335f;
  --navy-deep:   #0e2547;
  --navy-tint:   #eef2f8;
  --gold:        #9c7c38;
  --gold-strong: #856425;
  --gold-bg:     #f8f1df;
  --gold-line:   #e5d3a4;

  /* Neutrals */
  --bg:          #f4f3ee;
  --surface:     #ffffff;
  --surface-alt: #faf9f5;
  --line:        #e5e2d8;
  --line-strong: #d6d2c5;
  --ink:         #1f2a37;
  --ink-soft:    #5c6672;
  --ink-faint:   #8a94a1;

  /* Status */
  --comp:        #2f6a49;   /* complimentary (green) */
  --comp-bg:     #edf5ef;
  --comp-line:   #cbe4d4;
  --paid-ink:    #46536a;   /* paid — calm, not bright */
  --paid-bg:     #eef1f6;
  --paid-line:   #d6ddea;
  --danger:      #9f2d1e;
  --danger-bg:   #fbeeeb;
  --danger-line: #eecabf;
  --info-bg:     #eef3fb;
  --info-line:   #cfe0f5;
  --info-ink:    #1c4f8a;
  --warn-bg:     #fdf6e3;
  --warn-line:   #ecd9a4;
  --warn-ink:    #7a5b12;

  /* Type */
  --font-serif: Georgia, "Iowan Old Style", "Palatino Linotype", "Book Antiqua", "Times New Roman", serif;
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Radius / shadow / space */
  --r-sm: 8px;
  --r:    12px;
  --r-lg: 16px;
  --r-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(16, 34, 63, .06);
  --shadow:    0 4px 16px rgba(16, 34, 63, .07);
  --shadow-lg: 0 10px 30px rgba(16, 34, 63, .10);
  --focus: 0 0 0 3px rgba(23, 51, 95, .28);

  --wrap: 720px;
  --wrap-wide: 940px;
}

/* ── Reset ────────────────────────────────────────────────────────── */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  font-size: 16px;
  overflow-x: hidden;
}
img { max-width: 100%; }
a { color: var(--navy); }
:focus-visible {
  outline: none;
  box-shadow: var(--focus);
  border-radius: 6px;
}
.hidden { display: none !important; }
[hidden] { display: none !important; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* ── Shell ────────────────────────────────────────────────────────── */
.page {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 8px 16px 56px;
}
.page.is-wide { max-width: var(--wrap-wide); }

/* Testing banner */
.site-banner {
  background: var(--warn-bg);
  color: var(--warn-ink);
  border-bottom: 1px solid var(--warn-line);
  text-align: center;
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 16px;
  line-height: 1.45;
}
.site-banner strong { letter-spacing: .02em; }

/* Header / brand */
.site-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: left;
  padding: 26px 16px 18px;
  max-width: var(--wrap);
  margin: 0 auto;
}
.brand-crest {
  flex: 0 0 auto;
  display: grid; place-items: center;
}
.brand-crest svg { width: 58px; height: 58px; display: block; }
/* Official RSA logo: fix the height, let width follow the aspect ratio so
   it is never stretched; keep the banner compact. */
.brand-crest img {
  height: 72px;
  width: auto;
  display: block;
  background: #fff;
  border-radius: 6px;
  padding: 2px 4px;
}
.brand-kicker {
  font-size: 12px;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--gold-strong);
  font-weight: 700;
  margin-bottom: 3px;
}
.brand-title {
  font-family: var(--font-serif);
  font-size: 23px;
  font-weight: 700;
  color: var(--navy-deep);
  line-height: 1.2;
  letter-spacing: .01em;
}
.brand-sub {
  font-size: 13.5px;
  color: var(--ink-soft);
  margin-top: 3px;
}

/* ── Stepper ──────────────────────────────────────────────────────── */
.stepper {
  max-width: var(--wrap);
  margin: 4px auto 20px;
  padding: 0 4px;
}
.stepper-track {
  list-style: none;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  counter-reset: step;
  position: relative;
}
.step-node {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  position: relative;
  min-width: 0;
}
/* connector line between nodes */
.step-node::before {
  content: "";
  position: absolute;
  top: 15px;
  left: -50%;
  width: 100%;
  height: 2px;
  background: var(--line-strong);
  z-index: 0;
}
.step-node:first-child::before { display: none; }
.node-dot {
  position: relative;
  z-index: 1;
  width: 32px; height: 32px;
  border-radius: var(--r-pill);
  background: var(--surface);
  border: 2px solid var(--line-strong);
  color: var(--ink-faint);
  font-weight: 700;
  font-size: 14px;
  display: grid; place-items: center;
  transition: background .2s, border-color .2s, color .2s;
}
.node-label {
  font-size: 12px;
  color: var(--ink-soft);
  text-align: center;
  line-height: 1.25;
  max-width: 9ch;
}
.step-node.is-current .node-dot {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
  box-shadow: 0 0 0 4px var(--navy-tint);
}
.step-node.is-current .node-label { color: var(--navy-deep); font-weight: 700; }
.step-node.is-done .node-dot {
  background: var(--comp);
  border-color: var(--comp);
  color: #fff;
}
.step-node.is-done::before { background: var(--comp); }
.stepper-caption {
  display: none;
  text-align: center;
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 10px;
  font-weight: 600;
}

/* ── Card / section ───────────────────────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: var(--shadow);
}
.card + .card { margin-top: 18px; }
.step-eyebrow {
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold-strong);
  font-weight: 700;
  margin-bottom: 6px;
}
.section-title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--navy-deep);
  line-height: 1.25;
  margin-bottom: 6px;
}
.section-title:focus-visible { box-shadow: none; }
.section-intro {
  color: var(--ink-soft);
  margin-bottom: 20px;
  font-size: 15px;
}
.muted { color: var(--ink-soft); }
.hint {
  color: var(--ink-soft);
  font-size: 13px;
  margin-top: 6px;
  line-height: 1.5;
}
.divider { height: 1px; background: var(--line); border: 0; margin: 22px 0; }

/* ── Buttons ──────────────────────────────────────────────────────── */
.buttons {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 26px;
}
button {
  font-family: var(--font-sans);
  border-radius: var(--r-sm);
  font-size: 15.5px;
  font-weight: 700;
  padding: 13px 22px;
  cursor: pointer;
  transition: background .15s, box-shadow .15s, opacity .15s, border-color .15s;
  min-width: 148px;
  line-height: 1.2;
}
.btn-primary {
  border: 1px solid var(--navy);
  background: var(--navy);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--navy-deep); border-color: var(--navy-deep); }
.btn-secondary {
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
}
.btn-secondary:hover { border-color: var(--navy); color: var(--navy); }
.btn-ghost {
  border: 1px solid var(--line-strong);
  background: var(--surface-alt);
  color: var(--ink-soft);
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 14px;
  min-width: auto;
}
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn-link {
  min-width: auto;
  padding: 6px 10px;
  background: transparent;
  border: 1px solid transparent;
  color: var(--navy);
  font-size: 13.5px;
  font-weight: 700;
}
.btn-link:hover { text-decoration: underline; }
button:disabled { opacity: .5; cursor: not-allowed; }
.btn-block { width: 100%; }

/* ── Alerts ───────────────────────────────────────────────────────── */
.alert {
  border-radius: var(--r);
  padding: 13px 16px;
  margin-bottom: 18px;
  font-size: 14.5px;
  line-height: 1.5;
  border: 1px solid transparent;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.alert::before { font-weight: 700; flex: 0 0 auto; }
.alert-error   { background: var(--danger-bg); color: var(--danger); border-color: var(--danger-line); }
.alert-error::before   { content: "!"; }
.alert-info    { background: var(--info-bg); color: var(--info-ink); border-color: var(--info-line); }
.alert-info::before    { content: "i"; font-style: italic; }
.alert-success { background: var(--comp-bg); color: var(--comp); border-color: var(--comp-line); }
.alert-success::before { content: "✓"; }
.alert-warn    { background: var(--warn-bg); color: var(--warn-ink); border-color: var(--warn-line); }

/* ── Info blocks ──────────────────────────────────────────────────── */
.org-block {
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 16px 18px;
  margin: 4px 0 18px;
}
.org-block-title { font-weight: 700; color: var(--navy-deep); margin-bottom: 4px; }
.org-block a { color: var(--navy); }
.deadline-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--gold-bg);
  border: 1px solid var(--gold-line);
  border-radius: var(--r);
  padding: 14px 16px;
  margin: 18px 0;
  font-weight: 600;
  color: #6f5416;
}
.deadline-box .cal-ico { flex: 0 0 auto; color: var(--gold-strong); }

/* ── Pricing table ────────────────────────────────────────────────── */
.pricing {
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  margin: 18px 0;
}
.pricing-head {
  background: var(--navy);
  color: #fff;
  padding: 12px 16px;
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
}
.price-table { width: 100%; border-collapse: collapse; }
.price-table th, .price-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
}
.price-table thead th {
  background: var(--surface-alt);
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.price-table td.amount, .price-table th.amount { text-align: right; font-variant-numeric: tabular-nums; }
.price-table td.amount { font-weight: 700; color: var(--navy-deep); }
.price-table tbody tr:last-child td { border-bottom: none; }
.price-table .row-both td { background: var(--navy-tint); }
.comp-callout {
  background: var(--comp-bg);
  border: 1px solid var(--comp-line);
  border-radius: var(--r);
  padding: 14px 16px;
  margin: 16px 0;
}
.comp-callout-title {
  font-weight: 700;
  color: var(--comp);
  margin-bottom: 6px;
  font-size: 14.5px;
  display: flex; align-items: center; gap: 8px;
}
.comp-list { margin: 4px 0 0; padding-left: 18px; }
.comp-list li { font-size: 14px; color: var(--ink); margin: 3px 0; }

/* Landing steps preview */
.landing-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  margin: 18px 0;
}
.landing-step {
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 12px 14px;
  background: var(--surface-alt);
}
.landing-step .n {
  display: inline-grid; place-items: center;
  width: 24px; height: 24px; border-radius: var(--r-pill);
  background: var(--navy-tint); color: var(--navy);
  font-weight: 700; font-size: 13px; margin-bottom: 6px;
}
.landing-step .t { font-weight: 700; font-size: 14px; color: var(--navy-deep); }

/* ── Forms ────────────────────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field:last-child { margin-bottom: 0; }
label { display: block; font-weight: 600; margin-bottom: 7px; color: var(--ink); }
.field-label { font-weight: 600; margin-bottom: 8px; color: var(--ink); }
.req { color: var(--danger); font-weight: 700; }
.optional { color: var(--ink-faint); font-weight: 500; font-size: 13px; }
input[type="text"], input[type="email"], input[type="tel"],
input[type="number"], select, textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  font-size: 16px;
  font-family: var(--font-sans);
  background: var(--surface);
  color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: var(--focus);
}
input::placeholder, textarea::placeholder { color: var(--ink-faint); }
textarea { min-height: 96px; resize: vertical; }
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] {
  border-color: var(--danger);
}
.field-error {
  color: var(--danger);
  font-size: 13px;
  margin-top: 6px;
  font-weight: 600;
  display: flex; gap: 6px; align-items: flex-start;
}
.field-error::before { content: "!"; font-weight: 800; }
.field-error:empty { display: none; }
.input-narrow { max-width: 160px; }

/* Fieldset / radios */
fieldset { border: 0; padding: 0; margin: 0; }
legend { font-weight: 600; margin-bottom: 8px; color: var(--ink); padding: 0; }
.radio-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 2px; }
.opt {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 15px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  font-weight: 500;
  cursor: pointer;
  background: var(--surface);
  transition: border-color .15s, background .15s;
  line-height: 1.3;
}
.opt:hover { border-color: var(--navy); }
.opt input { width: 18px; height: 18px; margin: 0; accent-color: var(--navy); cursor: pointer; }
.opt:has(input:checked) { border-color: var(--navy); background: var(--navy-tint); }
.opt:has(input:focus-visible) { box-shadow: var(--focus); }

/* Selection checkboxes (davening) */
.choice-card {
  display: flex; align-items: center; gap: 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  padding: 15px 18px;
  margin-bottom: 12px;
  background: var(--surface);
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.choice-card:hover { border-color: var(--navy); }
.choice-card:has(input:checked) { border-color: var(--navy); background: var(--navy-tint); }
.choice-card:has(input:focus-visible) { box-shadow: var(--focus); }
.choice-card input { width: 20px; height: 20px; margin: 0; accent-color: var(--navy); cursor: pointer; }
.choice-card .cc-text { font-weight: 700; color: var(--navy-deep); }
.choice-card .cc-sub { display: block; font-weight: 500; font-size: 13px; color: var(--ink-soft); margin-top: 2px; }

/* ── Participant cards ────────────────────────────────────────────── */
.participant-card, .daughter-card {
  border: 1px solid var(--line);
  border-left: 4px solid var(--navy);
  border-radius: var(--r);
  padding: 18px;
  margin-bottom: 14px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.daughter-card { border-left-color: var(--comp); }
.participant-card.is-invalid { border-color: var(--danger-line); border-left-color: var(--danger); }
.participant-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.participant-title {
  font-weight: 700;
  color: var(--navy-deep);
  font-size: 15px;
  display: flex; align-items: center; gap: 9px;
}
.participant-num {
  display: inline-grid; place-items: center;
  width: 26px; height: 26px; border-radius: var(--r-pill);
  background: var(--navy-tint); color: var(--navy);
  font-size: 13px; font-weight: 700;
}
.daughter-card .participant-num { background: var(--comp-bg); color: var(--comp); }

/* Status badges */
.seat-badge {
  font-size: 12px;
  font-weight: 700;
  border-radius: var(--r-pill);
  padding: 4px 12px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid transparent;
}
.seat-badge::before {
  content: "";
  width: 7px; height: 7px; border-radius: 50%;
  background: currentColor; opacity: .8;
}
.seat-badge.paid    { background: var(--paid-bg); color: var(--paid-ink); border-color: var(--paid-line); }
.seat-badge.free    { background: var(--comp-bg); color: var(--comp); border-color: var(--comp-line); }
.seat-badge.unknown { background: var(--surface-alt); color: var(--ink-faint); border-color: var(--line-strong); }

/* Copy / match panel */
.copy-panel {
  background: var(--gold-bg);
  border: 1px solid var(--gold-line);
  border-radius: var(--r);
  padding: 16px 18px;
  margin-bottom: 18px;
}
.copy-panel-title { font-weight: 700; color: #6f5416; margin-bottom: 4px; }
.copy-panel p { font-size: 14px; color: var(--ink-soft); margin-bottom: 10px; }
.copy-panel .btn-secondary { min-width: auto; }

/* Live seat summary (women) */
.seat-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 16px 0 6px;
}
.seat-summary .cell {
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 12px 14px;
  background: var(--surface-alt);
  text-align: center;
}
.seat-summary .cell .num {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--navy-deep);
  line-height: 1;
}
.seat-summary .cell .lbl {
  font-size: 12px; color: var(--ink-soft); margin-top: 5px; line-height: 1.3;
}
.seat-summary .cell.comp .num { color: var(--comp); }

/* ── Review ───────────────────────────────────────────────────────── */
.review-block {
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 16px 18px;
  margin-bottom: 14px;
}
.review-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.review-head h3 {
  font-family: var(--font-serif);
  font-size: 16px;
  color: var(--navy-deep);
  font-weight: 700;
}
.review-dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; font-size: 14.5px; }
.review-dl dt { color: var(--ink-soft); }
.review-dl dd { color: var(--ink); }
.review-people { list-style: none; margin: 4px 0 0; padding: 0; }
.review-people li {
  padding: 8px 0;
  border-top: 1px solid var(--line);
  font-size: 14.5px;
  display: flex; justify-content: space-between; gap: 12px; align-items: center;
  flex-wrap: wrap;
}
.review-people li:first-child { border-top: none; }
.review-people .who { font-weight: 600; }

/* Cost breakdown */
.cost-box {
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  margin-top: 8px;
}
.breakdown-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
  background: var(--surface);
}
.breakdown-row:last-child { border-bottom: none; }
.breakdown-label { flex: 1; }
.breakdown-amount { font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.breakdown-amount.free { color: var(--comp); }
.total-bar {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  background: var(--navy);
  color: #fff;
  padding: 16px 18px;
  border-radius: var(--r);
  margin-top: 14px;
}
.total-bar .total-label { font-size: 14px; letter-spacing: .03em; text-transform: uppercase; opacity: .85; }
.total-line { font-family: var(--font-serif); font-size: 28px; font-weight: 700; font-variant-numeric: tabular-nums; }

/* ── Payment / confirmation ───────────────────────────────────────── */
.confirm-hero {
  text-align: center;
  padding: 8px 0 4px;
}
.confirm-check {
  width: 56px; height: 56px; margin: 0 auto 10px;
  border-radius: 50%;
  background: var(--comp-bg);
  border: 2px solid var(--comp-line);
  color: var(--comp);
  display: grid; place-items: center;
  font-size: 28px; font-weight: 700;
}
.confirm-title { font-family: var(--font-serif); font-size: 22px; color: var(--navy-deep); font-weight: 700; }
.reservation-meta {
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  margin: 18px 0;
}
.reservation-meta .row {
  display: flex; justify-content: space-between; gap: 14px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
}
.reservation-meta .row:last-child { border-bottom: none; }
.reservation-meta .row .k { color: var(--ink-soft); }
.reservation-meta .row .v { font-weight: 700; text-align: right; word-break: break-word; }
.reservation-meta .row .v.id { font-family: var(--font-serif); letter-spacing: .01em; }
.pay-status {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12.5px; font-weight: 700; border-radius: var(--r-pill);
  padding: 4px 11px; border: 1px solid transparent;
}
.pay-status.pending { background: var(--warn-bg); color: var(--warn-ink); border-color: var(--warn-line); }
.pay-status.paid    { background: var(--comp-bg); color: var(--comp); border-color: var(--comp-line); }
.pay-status.none    { background: var(--paid-bg); color: var(--paid-ink); border-color: var(--paid-line); }
.pay-status.failed  { background: var(--danger-bg); color: var(--danger); border-color: var(--danger-line); }

.payment-panel {
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 18px;
  margin: 16px 0;
  background: var(--surface-alt);
}
.payment-panel h3 {
  font-family: var(--font-serif); font-size: 17px; color: var(--navy-deep);
  font-weight: 700; margin-bottom: 6px;
  display: flex; align-items: center; gap: 8px;
}
.secure-note {
  display: flex; align-items: center; gap: 7px;
  font-size: 13px; color: var(--comp); font-weight: 600; margin: 6px 0 12px;
}
.plan-choice {
  border: 1px solid var(--line); border-radius: var(--r);
  padding: 12px 14px; margin: 12px 0;
}
.plan-choice legend {
  font-size: 14px; font-weight: 700; color: var(--navy-deep); padding: 0 6px;
}
.plan-option {
  display: flex; align-items: center; gap: 9px;
  padding: 7px 4px; font-size: 14px; cursor: pointer;
}
.plan-option input { accent-color: var(--navy-deep); }
.plan-note { font-size: 13px; margin: 6px 2px 0; }
.promo-row { display: flex; gap: 10px; flex-wrap: wrap; }
.promo-row input {
  flex: 1 1 180px; min-width: 0;
  border: 1px solid var(--line); border-radius: var(--r);
  padding: 10px 12px; font-size: 15px;
  text-transform: uppercase; letter-spacing: .05em;
}
.promo-panel h3 { font-size: 16px; }
.env-badge {
  font-size: 11px; font-weight: 800; letter-spacing: .03em;
  background: var(--warn-bg); color: var(--warn-ink);
  border: 1px solid var(--warn-line); border-radius: var(--r-sm);
  padding: 2px 8px; vertical-align: middle;
}
#banquest-tokenization-frame { margin: 10px 0; }
.pay-link {
  display: inline-block;
  color: var(--navy);
  font-weight: 700;
  font-size: 15px;
  word-break: break-all;
}
.thankyou-box {
  background: var(--comp-bg);
  border: 1px solid var(--comp-line);
  border-radius: var(--r);
  padding: 16px 18px;
  margin: 16px 0;
}
.footer-contact {
  margin-top: 20px; padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 14px; color: var(--ink-soft);
  text-align: center;
}
.footer-contact a { color: var(--navy); font-weight: 600; }

/* Connection test */
.ping-row { display: flex; align-items: center; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.ping-result { font-size: 13px; color: var(--ink-soft); }

/* Spinner */
.spinner {
  display: inline-block; width: 15px; height: 15px;
  border: 2px solid rgba(255,255,255,.5); border-top-color: #fff;
  border-radius: 50%; animation: spin .7s linear infinite;
  vertical-align: -2px; margin-right: 8px;
}
.btn-secondary .spinner, .status-spin {
  border-color: rgba(23,51,95,.3); border-top-color: var(--navy);
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Responsive ───────────────────────────────────────────────────── */
@media (max-width: 620px) {
  .grid-2 { grid-template-columns: 1fr; gap: 0; }
  .buttons { flex-direction: column-reverse; }
  .buttons button { width: 100%; }
  .card { padding: 20px 16px; }
  .site-header { padding: 18px 14px 12px; gap: 12px; }
  .brand-crest svg { width: 46px; height: 46px; }
  .brand-crest img { height: 54px; }
  .brand-title { font-size: 19px; }
  .section-title { font-size: 20px; }
}
@media (max-width: 560px) {
  /* Compact stepper: hide per-node labels, show caption + progress */
  .node-label { display: none; }
  .stepper-caption { display: block; }
  .node-dot { width: 28px; height: 28px; font-size: 13px; }
  .step-node::before { top: 13px; }
}
@media (max-width: 380px) {
  body { font-size: 15px; }
  .page { padding: 6px 12px 44px; }
  .card { padding: 18px 14px; border-radius: var(--r); }
  .seat-summary { gap: 7px; }
  .seat-summary .cell { padding: 10px 8px; }
  .seat-summary .cell .num { font-size: 21px; }
  .price-table th, .price-table td { padding: 10px 10px; font-size: 13.5px; }
  .participant-head { flex-wrap: wrap; }
  .brand-title { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .spinner { animation: none; }
}
