:root {
  color-scheme: light;
  --green-950: #0c261d;
  --green-900: #14382b;
  --green-700: #1f5240;
  --green-600: #2b6e55;
  --green-100: #e7f3ec;
  --green-50: #f3f9f5;
  --cream: #f8f3e6;
  --paper: #fffdf8;
  --surface: #fcfaf3;
  --ink: #1a2822;
  --muted: #5f7067;
  --line: rgba(20, 56, 43, 0.12);
  --gold: #e6a33c;
  --gold-deep: #bf7a18;
  --gold-100: #fdf1d6;
  --error: #b4392a;
  --error-soft: #fdf0ee;
  --radius: 26px;
  --shadow:
    0 28px 56px -28px rgba(12, 38, 29, 0.3),
    0 6px 18px -4px rgba(20, 56, 43, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  position: relative;
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(20px, 4.5vw, 48px) clamp(14px, 4vw, 28px) calc(28px + env(safe-area-inset-bottom));
  display: flex;
  justify-content: center;
  font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  color: var(--ink);
  background-color: var(--cream);
  background-image:
    radial-gradient(1000px 540px at 50% -180px, rgba(255, 255, 255, 0.96), transparent 72%),
    radial-gradient(760px 520px at 105% 108%, rgba(230, 163, 60, 0.22), transparent 62%),
    radial-gradient(660px 460px at -10% 85%, rgba(42, 107, 82, 0.14), transparent 62%);
  -webkit-tap-highlight-color: transparent;
}

::selection {
  background: rgba(230, 163, 60, 0.34);
}

.bg-decor {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.45;
}

.bg-glow-sun {
  width: 340px;
  height: 340px;
  top: -120px;
  right: -90px;
  background: rgba(230, 163, 60, 0.26);
}

.bg-glow-leaf {
  width: 320px;
  height: 320px;
  bottom: 40px;
  left: -120px;
  background: rgba(43, 110, 85, 0.16);
}

.bg-hills {
  position: absolute;
  inset: auto 0 0;
  width: 100%;
  height: 220px;
  display: block;
}

.page {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 660px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ---------- Hero ---------- */

.hero {
  text-align: center;
  padding: 6px 4px 2px;
  animation: rise 0.5s cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.hero-kicker {
  margin: 0;
  color: var(--green-700);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  opacity: 0.85;
}

.hero-title {
  margin: 10px 0 0;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.24em;
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-variation-settings: "opsz" 96, "SOFT" 50;
  font-size: clamp(1.4rem, 6.1vw, 2.75rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--green-900);
  white-space: nowrap;
}

.hero-slash {
  color: var(--gold-deep);
  font-style: italic;
  font-weight: 400;
  font-size: 0.88em;
}

.hero-picnic {
  color: var(--green-700);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.event-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 10px;
  margin-top: 15px;
}

.event-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border: 1px solid rgba(31, 82, 64, 0.11);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 2px 6px rgba(20, 56, 43, 0.04);
  color: #45584e;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.3;
}

.event-chip svg {
  width: 16px;
  height: 16px;
  flex: none;
  color: var(--green-600);
}

.event-chip strong {
  color: var(--green-900);
  font-weight: 700;
}

/* ---------- Card Shell ---------- */

main {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.card {
  position: relative;
  overflow: visible;
  padding: clamp(22px, 5vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
  animation: rise 0.55s cubic-bezier(0.2, 0.75, 0.25, 1) 0.06s both;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: linear-gradient(90deg, var(--green-700) 0%, #60996c 52%, var(--gold) 100%);
}

.card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px dashed rgba(31, 82, 64, 0.15);
}

.card-head-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.eyebrow {
  margin: 0;
  color: var(--green-700);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.helper {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.4;
}

.step-badge {
  flex: none;
  padding: 5px 11px;
  border: 1px solid rgba(31, 82, 64, 0.14);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.step-badge.is-ready {
  border-color: rgba(31, 82, 64, 0.25);
  background: var(--green-100);
  color: var(--green-700);
}

/* ---------- Form Sections ---------- */

#rsvp-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 22px;
}

.form-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.section-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.field-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--green-950);
  font-size: 0.96rem;
  font-weight: 700;
  cursor: pointer;
}

.step-num {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--green-100);
  color: var(--green-700);
  font-size: 0.76rem;
  font-weight: 800;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.form-section.is-complete .step-num {
  background: var(--green-700);
  color: #fffdf8;
}

.field-hint {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
}

/* ---------- Step 1: Name Input ---------- */

.input-shell {
  position: relative;
  display: flex;
  align-items: center;
  border: 1.5px solid rgba(20, 56, 43, 0.16);
  border-radius: 16px;
  background: var(--surface);
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}

.input-shell:hover {
  border-color: rgba(31, 82, 64, 0.32);
}

.input-shell:focus-within {
  border-color: var(--green-700);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(42, 107, 82, 0.13);
}

.input-shell.has-error {
  border-color: var(--error);
  background: var(--error-soft);
  box-shadow: 0 0 0 4px rgba(180, 57, 42, 0.11);
}

.input-icon {
  width: 20px;
  height: 20px;
  flex: none;
  margin-left: 16px;
  color: var(--muted);
  transition: color 0.16s ease;
}

.input-shell:focus-within .input-icon {
  color: var(--green-700);
}

.input-shell.has-error .input-icon {
  color: var(--error);
}

.input-shell input[type="text"] {
  width: 100%;
  min-width: 0;
  min-height: 54px;
  padding: 12px 14px 12px 12px;
  border: 0;
  border-radius: 16px;
  background: transparent;
  color: var(--green-950);
  font: inherit;
  font-size: 1.04rem;
  font-weight: 600;
}

.input-shell input[type="text"]::placeholder {
  color: #8b9a92;
  font-weight: 400;
}

.input-shell input[type="text"]:focus {
  outline: none;
}

.clear-btn {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-right: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(20, 56, 43, 0.07);
  color: var(--muted);
  cursor: pointer;
  transition: background-color 0.14s ease, color 0.14s ease;
}

.clear-btn:hover {
  background: rgba(20, 56, 43, 0.14);
  color: var(--green-950);
}

.clear-btn svg {
  width: 15px;
  height: 15px;
}

/* ---------- Step 2: Counter Cards ---------- */

.counter-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.counter-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 15px;
  border: 1.5px solid rgba(20, 56, 43, 0.13);
  border-radius: 18px;
  background: var(--surface);
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}

.counter-card:focus-within {
  border-color: var(--green-700);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(42, 107, 82, 0.11);
}

.counter-card.has-error {
  border-color: var(--error);
  background: var(--error-soft);
  box-shadow: 0 0 0 4px rgba(180, 57, 42, 0.11);
}

.counter-top {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.counter-title {
  color: var(--green-950);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.3;
  cursor: pointer;
}

.counter-sub {
  color: var(--muted);
  font-size: 0.76rem;
}

.counter-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.stepper-btn {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  padding: 0;
  border: 1px solid rgba(31, 82, 64, 0.16);
  border-radius: 12px;
  background: #ffffff;
  color: var(--green-700);
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(20, 56, 43, 0.05);
  transition:
    transform 0.1s ease,
    background-color 0.14s ease,
    border-color 0.14s ease,
    color 0.14s ease;
}

.stepper-btn svg {
  width: 17px;
  height: 17px;
}

.stepper-btn:hover {
  border-color: var(--green-700);
  background: var(--green-100);
  color: var(--green-950);
}

.stepper-btn:active {
  transform: scale(0.94);
}

.stepper-btn:focus-visible {
  outline: 2px solid var(--green-700);
  outline-offset: 2px;
}

.counter-controls input[type="number"] {
  width: 100%;
  min-width: 0;
  height: 44px;
  padding: 0 4px;
  border: 0;
  background: transparent;
  color: var(--green-950);
  font-family: inherit;
  font-size: 1.6rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums lining-nums;
  text-align: center;
  -moz-appearance: textfield;
  appearance: textfield;
}

.counter-controls input[type="number"]::placeholder {
  color: #b4c0b9;
}

.counter-controls input[type="number"]:focus {
  outline: none;
}

.counter-controls input[type="number"]::-webkit-outer-spin-button,
.counter-controls input[type="number"]::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.quick-pills {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.quick-pill {
  min-height: 30px;
  padding: 4px 0;
  border: 1px solid rgba(31, 82, 64, 0.12);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: background-color 0.14s ease, color 0.14s ease, border-color 0.14s ease;
}

.quick-pill:hover {
  border-color: rgba(31, 82, 64, 0.3);
  color: var(--green-900);
}

.quick-pill.is-active {
  border-color: var(--green-700);
  background: var(--green-700);
  color: #fffdf8;
}

/* ---------- Visual Party Meter ---------- */

.party-meter {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 14px;
  border: 1px solid rgba(31, 82, 64, 0.1);
  border-radius: 14px;
  background: var(--green-50);
  animation: rise 0.2s ease both;
}

.party-meter.is-warn {
  border-color: rgba(180, 57, 42, 0.25);
  background: var(--error-soft);
}

.meter-track {
  display: flex;
  gap: 3px;
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(20, 56, 43, 0.08);
}

.meter-bar {
  height: 100%;
  transition: width 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.meter-adults {
  background: var(--green-700);
}

.meter-children {
  background: var(--gold);
}

.meter-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--green-900);
}

.party-meter.is-warn .meter-legend {
  color: #7d2b20;
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.legend-swatch {
  width: 9px;
  height: 9px;
  border-radius: 3px;
}

.swatch-adult {
  background: var(--green-700);
}

.swatch-child {
  background: var(--gold);
}

/* ---------- Step 3: Transport Choice Cards ---------- */

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  border-radius: 18px;
}

.choice-grid[aria-invalid="true"] .choice-body {
  border-color: rgba(180, 57, 42, 0.45);
  background: var(--error-soft);
}

.choice-card {
  position: relative;
  display: block;
  cursor: pointer;
}

.choice-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
}

.choice-body {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 74px;
  padding: 13px 14px;
  border: 1.5px solid rgba(20, 56, 43, 0.14);
  border-radius: 18px;
  background: var(--surface);
  transition:
    border-color 0.16s ease,
    background-color 0.16s ease,
    box-shadow 0.16s ease,
    transform 0.14s ease;
}

.choice-card:hover .choice-body {
  border-color: rgba(31, 82, 64, 0.34);
  background: #ffffff;
}

.choice-card input[type="radio"]:focus-visible+.choice-body {
  outline: 3px solid rgba(230, 163, 60, 0.72);
  outline-offset: 2px;
}

.choice-card input[type="radio"]:checked+.choice-body {
  border-color: var(--green-700);
  background: var(--green-50);
  box-shadow: 0 8px 20px -12px rgba(20, 56, 43, 0.45);
  transform: translateY(-1px);
}

.choice-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 12px;
  background: rgba(20, 56, 43, 0.06);
  color: var(--green-700);
  transition: background-color 0.16s ease, color 0.16s ease;
}

.choice-icon svg {
  width: 21px;
  height: 21px;
}

.choice-card input[type="radio"]:checked+.choice-body .choice-icon {
  background: var(--green-700);
  color: #fffdf8;
}

.choice-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.choice-title {
  color: var(--green-950);
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.2;
}

.choice-desc {
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.3;
}

.choice-check {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  flex: none;
  border: 1.5px solid rgba(20, 56, 43, 0.22);
  border-radius: 50%;
  color: transparent;
  transition: border-color 0.16s ease, background-color 0.16s ease, color 0.16s ease;
}

.choice-check svg {
  width: 13px;
  height: 13px;
}

.choice-card input[type="radio"]:checked+.choice-body .choice-check {
  border-color: var(--green-700);
  background: var(--green-700);
  color: #fffdf8;
}

/* ---------- Ticket Perforation Divider ---------- */

.ticket-divider {
  position: relative;
  display: flex;
  align-items: center;
  margin: 2px calc(-1 * clamp(22px, 5vw, 34px));
  height: 24px;
}

.divider-line {
  width: 100%;
  border-top: 1.5px dashed rgba(31, 82, 64, 0.18);
}

.notch {
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--cream);
  border: 1px solid var(--line);
}

.notch-left {
  left: -11px;
  box-shadow: inset -2px 0 4px rgba(12, 38, 29, 0.04);
}

.notch-right {
  right: -11px;
  box-shadow: inset 2px 0 4px rgba(12, 38, 29, 0.04);
}

/* ---------- Live Summary Strip ---------- */

.live-summary {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: -6px;
  padding: 12px 15px;
  border: 1px solid rgba(31, 82, 64, 0.14);
  border-radius: 14px;
  background: linear-gradient(135deg, #f3f9f5 0%, #fbf7eb 100%);
  color: var(--green-900);
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.5;
  animation: rise 0.22s ease both;
}

.live-summary.is-warn {
  border-color: rgba(180, 57, 42, 0.25);
  background: var(--error-soft);
  color: #7d2b20;
}

.summary-dot {
  width: 8px;
  height: 8px;
  flex: none;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--green-600);
}

.live-summary.is-warn .summary-dot {
  background: var(--error);
}

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

/* ---------- Feedback ---------- */

.error {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(180, 57, 42, 0.24);
  border-left: 4px solid var(--error);
  border-radius: 14px;
  background: var(--error-soft);
  color: #7d2b20;
  font-size: 0.92rem;
  line-height: 1.5;
  animation: shake 0.3s ease both;
}

.error:focus {
  outline: none;
}

.error-icon {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 2px;
  color: var(--error);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 56px;
  padding: 14px 22px;
  border: 0;
  border-radius: 16px;
  font: inherit;
  font-size: 1.03rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition:
    transform 0.12s ease,
    background-color 0.16s ease,
    box-shadow 0.16s ease,
    opacity 0.16s ease;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.btn-primary {
  background: linear-gradient(180deg, #26634d 0%, var(--green-700) 100%);
  color: #fffdf8;
  box-shadow:
    0 14px 28px -14px rgba(12, 38, 29, 0.95),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.btn-primary:hover {
  background: linear-gradient(180deg, var(--green-700) 0%, var(--green-900) 100%);
  box-shadow:
    0 18px 30px -14px rgba(12, 38, 29, 1),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.btn-primary:active {
  transform: translateY(1px) scale(0.994);
}

.btn-secondary {
  border: 1.5px solid rgba(31, 82, 64, 0.26);
  background: rgba(255, 255, 255, 0.72);
  color: var(--green-700);
}

.btn-secondary:hover {
  background: var(--green-100);
  border-color: rgba(31, 82, 64, 0.42);
}

.btn:disabled {
  opacity: 0.72;
  cursor: wait;
  transform: none;
}

.btn:focus-visible {
  outline: 3px solid rgba(230, 163, 60, 0.75);
  outline-offset: 2px;
}

.btn-arrow {
  transition: transform 0.16s ease;
}

.btn-primary:hover .btn-arrow {
  transform: translateX(3px);
}

.btn-spinner {
  display: none;
  width: 18px;
  height: 18px;
  flex: none;
  border: 2.2px solid rgba(255, 253, 247, 0.35);
  border-top-color: #fffdf8;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.btn.is-loading .btn-spinner {
  display: inline-block;
}

.btn.is-loading .btn-arrow {
  display: none;
}

.privacy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: -6px 0 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.45;
  text-align: center;
}

.privacy svg {
  width: 13px;
  height: 13px;
  flex: none;
  opacity: 0.78;
}

/* ---------- Success Pass ---------- */

.success-card {
  padding-top: clamp(28px, 6vw, 40px);
  text-align: center;
}

.check {
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  margin: 0 auto 14px;
  border: 1px solid rgba(31, 82, 64, 0.18);
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #f1f8f3, #dff0e4);
  color: var(--green-700);
  box-shadow: 0 10px 22px -12px rgba(31, 82, 64, 0.45);
  animation: pop 0.45s cubic-bezier(0.2, 0.85, 0.25, 1) both;
}

.check svg {
  width: 34px;
  height: 34px;
}

.check-path {
  stroke-dasharray: 32;
  stroke-dashoffset: 32;
  animation: draw 0.45s cubic-bezier(0.4, 0, 0.2, 1) 0.15s forwards;
}

.pass-tag {
  display: inline-block;
  margin-bottom: 8px;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--gold-100);
  color: var(--gold-deep);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.success-card h2 {
  margin: 0 0 8px;
  color: var(--green-900);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 5.5vw, 1.9rem);
  line-height: 1.2;
}

.success-card h2:focus {
  outline: none;
}

.success-lead {
  max-width: 36ch;
  margin: 0 auto 20px;
  color: #42544b;
  font-size: 0.96rem;
  line-height: 1.65;
}

.receipt {
  margin: 18px 0 22px;
  padding: 14px 18px;
  border: 1px solid rgba(31, 82, 64, 0.12);
  border-radius: 18px;
  background: var(--surface);
  text-align: left;
}

.receipt-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  padding: 9px 0;
}

.receipt-row+.receipt-row {
  border-top: 1px dashed rgba(31, 82, 64, 0.13);
}

.receipt dt {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 500;
}

.receipt dd {
  margin: 0;
  color: var(--green-950);
  font-size: 0.94rem;
  font-weight: 700;
  text-align: right;
}

/* ---------- Footer ---------- */

footer {
  padding: 2px 0 8px;
  color: var(--muted);
  font-size: 0.78rem;
  text-align: center;
}

footer p {
  margin: 0;
}

/* ---------- Motion / Responsive ---------- */

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pop {
  from {
    opacity: 0;
    transform: scale(0.78);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes shake {

  0%,
  100% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-4px);
  }

  75% {
    transform: translateX(4px);
  }
}

@media (max-width: 540px) {

  .counter-grid,
  .choice-grid {
    grid-template-columns: 1fr;
  }

  .card {
    padding: 20px 18px;
  }

  .ticket-divider {
    margin-left: -18px;
    margin-right: -18px;
  }
}

@media (max-width: 380px) {
  .hero-title {
    font-size: clamp(1.25rem, 6.2vw, 1.55rem);
  }

  .section-label-row {
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}