.wiz-1a__panel {
  max-width: 880px;
  margin: 0 auto;
  padding: 8px 0;
}

.wiz-1a__head {
  text-align: center;
  margin-bottom: 32px;
  position: relative;
}

.wiz-1a__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--wiz-dark);
  color: var(--wiz-surface);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
  box-shadow: var(--wiz-shadow-2);
}

.wiz-1a__title {
  margin: 0 0 8px;
  font-size: 32px;
  font-weight: 700;
  color: var(--wiz-dark);
  letter-spacing: -0.01em;
}

.wiz-1a__lead {
  margin: 0;
  font-size: 17px;
  color: var(--wiz-text-secondary);
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

/* 2-column grid for the four regular packages. Custom is rendered in its
 * own [data-custom-card-slot] sibling (full width) below. Single column on
 * narrow viewports for legibility. */
.wiz-1a__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}
@media (max-width: 640px) {
  .wiz-1a__cards { grid-template-columns: 1fr; }
}

.wiz-1a__custom-card-row {
  margin-bottom: 28px;
}

.wiz-1a__card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 20px 20px;
  background: var(--wiz-surface);
  border: 2px solid var(--wiz-border);
  border-radius: var(--wiz-radius-lg);
  box-shadow: var(--wiz-shadow-1);
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  height: 100%;
  transition: border-color 200ms, box-shadow 200ms, transform 200ms;
}

.wiz-1a__card:hover,
.wiz-1a__card:focus-visible {
  border-color: var(--wiz-accent);
  box-shadow: var(--wiz-shadow-2);
  transform: translateY(-2px);
  outline: none;
}

.wiz-1a__card[aria-checked="true"] {
  border-color: var(--wiz-highlight);
  box-shadow: 0 0 0 3px rgba(238, 146, 50, 0.18), var(--wiz-shadow-2);
}

.wiz-1a__card.wiz-card--pulse {
  animation: wiz-1a-pulse 400ms ease-out;
}

@keyframes wiz-1a-pulse {
  0%   { transform: translateY(-2px) scale(1); }
  50%  { transform: translateY(-2px) scale(1.04); }
  100% { transform: translateY(-2px) scale(1); }
}

.wiz-1a__card-name {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 4px;
  color: var(--wiz-dark);
}

.wiz-1a__card-price {
  font-size: 28px;
  font-weight: 800;
  color: var(--wiz-dark);
  margin: 0 0 12px;
}

.wiz-1a__card-price small {
  font-size: 13px;
  font-weight: 500;
  color: var(--wiz-text-secondary);
  margin-right: 4px;
}

.wiz-1a__card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.wiz-1a__card-features {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  font-size: 14px;
  color: var(--wiz-text-secondary);
  flex: 1 1 auto;
}

.wiz-1a__card-features li {
  padding-left: 18px;
  position: relative;
  margin-bottom: 4px;
  line-height: 1.4;
}

.wiz-1a__card-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  background: var(--wiz-highlight);
  border-radius: 50%;
}

/* Gift-card highlight block: sits at the bottom of the card (margin-top:auto
 * pushes it down regardless of feature-list height, so all cards line up).
 * Tinted background bar inside the card padding to mirror the sales-page
 * giftcard treatment without breaking overflow. */
.wiz-1a__giftcard {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: auto;
  padding: 10px 12px;
  border-top: 1px dashed var(--wiz-border);
  background: rgba(238, 146, 50, 0.08);
  border-radius: var(--wiz-radius-md);
}
.wiz-1a__giftcard--none {
  background: rgba(125, 157, 168, 0.08);
}
.wiz-1a__giftcard-main {
  font-size: 15px;
  /* #c2410c (orange-700) instead of --wiz-cta #ea580c at 15px bold:
     5.18:1 on white passes WCAG AA 4.5:1 where brand CTA was 3.47:1
     (Phase 2.G.1 W2 contrast fix). */
  color: #c2410c;
  font-weight: 700;
  line-height: 1.3;
}
.wiz-1a__giftcard--none .wiz-1a__giftcard-main {
  color: var(--wiz-text-secondary);
  font-style: italic;
  font-weight: 600;
}
.wiz-1a__giftcard-note {
  font-size: 12px;
  color: var(--wiz-text-secondary);
  font-weight: 500;
}
.wiz-1a__giftcard-sub {
  font-size: 11px;
  /* --wiz-text-secondary (#5A6F78, 4.6:1 on white) instead of --wiz-muted
     (#7D9DA8, only 3.0:1). 11px text needs AA 4.5:1, the muted token
     fails (Phase 2.G.1 W2 contrast fix). */
  color: var(--wiz-text-secondary);
  margin-top: 2px;
}

/* Card flag (Most Popular / Best Value). Sits in upper-right corner.
   Background tones darkened in Phase 2.G.1 W2: at 11px bold white text
   needs AA 4.5:1 on white-text-on-fill. --wiz-cta (#ea580c) -> #c2410c
   (white on #c2410c = 4.83:1 PASS); --wiz-highlight (#EE9232) was only
   2.25:1 -> use the dark teal --wiz-dark (#0A394E, 13.4:1 white-on-dark)
   so best_value reads cleanly while keeping warm secondary-emphasis via
   gradient. */
.wiz-1a__card-flag {
  position: absolute;
  top: 0;
  right: 16px;
  transform: translateY(-50%);
  background: #c2410c;
  color: #fff;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 4px 8px rgba(194, 65, 12, 0.4);
}
.wiz-1a__card-flag--best_value {
  background: var(--wiz-dark, #0A394E);
  box-shadow: 0 4px 8px rgba(10, 57, 78, 0.4);
}

/* Custom card: full-width sibling below the four standard packages.
 * Wider header, lead text, two-column features grid. Distinct visual
 * weight (solid border, soft gold tint) without competing with the four
 * regular cards above. */
.wiz-1a__card--custom {
  width: 100%;
  background: linear-gradient(110deg, rgba(238, 146, 50, 0.08) 0%, var(--wiz-surface) 60%);
  border-color: var(--wiz-highlight);
  border-style: solid;
  padding: 28px 28px 24px;
}
.wiz-1a__card--custom .wiz-1a__giftcard { display: none; }
.wiz-1a__card--custom .wiz-1a__card-head {
  align-items: center;
  margin-bottom: 4px;
}
.wiz-1a__card--custom .wiz-1a__card-name {
  font-size: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.wiz-1a__card--custom .wiz-1a__card-name::before {
  content: "✦";
  color: var(--wiz-highlight);
  font-size: 18px;
}
.wiz-1a__card--custom .wiz-1a__card-price {
  font-size: 16px;
}
.wiz-1a__card--custom .wiz-1a__card-price small {
  font-size: 13px;
  font-weight: 600;
  color: var(--wiz-highlight);
}
.wiz-1a__custom-lead-line {
  margin: 0 0 14px;
  font-size: 14px;
  color: var(--wiz-text-secondary);
  line-height: 1.5;
}
.wiz-1a__card--custom .wiz-1a__card-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 28px;
  margin-bottom: 0;
}
@media (max-width: 640px) {
  .wiz-1a__card--custom { padding: 20px 18px; }
  .wiz-1a__card--custom .wiz-1a__card-name { font-size: 19px; }
  .wiz-1a__card--custom .wiz-1a__card-features {
    grid-template-columns: 1fr;
  }
}

.wiz-1a__custom-config {
  max-width: 540px;
  margin: 8px auto 24px;
  padding: 20px 22px;
  border: 1px solid var(--wiz-border);
  border-radius: var(--wiz-radius-lg);
  background: var(--wiz-surface-alt);
}

.wiz-1a__custom-title {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 700;
  color: var(--wiz-dark);
}

.wiz-1a__custom-lead {
  margin: 0 0 14px;
  font-size: 14px;
  color: var(--wiz-text-secondary);
}

.wiz-1a__slider-wrap {
  margin: 8px 0 12px;
}

.wiz-1a__slider {
  width: 100%;
  accent-color: var(--wiz-cta);
}

.wiz-1a__custom-readout {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.wiz-1a__custom-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-size: 16px;
  font-weight: 700;
  color: var(--wiz-dark);
}

.wiz-1a__custom-line--soft {
  font-size: 14px;
  font-weight: 500;
  color: var(--wiz-text-secondary);
}

.wiz-1a__custom-key {
  font-weight: inherit;
}

.wiz-1a__custom-val {
  font-weight: 800;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.wiz-1a__custom-fee-note {
  font-weight: 400;
  font-size: 12px;
  color: var(--wiz-text-secondary);
}

.wiz-1a__continue-row {
  text-align: center;
}

.wiz-1a__continue {
  display: inline-block;
  padding: 14px 32px;
  background: linear-gradient(to bottom right, var(--wiz-cta), var(--wiz-cta-end));
  color: #fff;
  border: none;
  border-radius: var(--wiz-radius-md);
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--wiz-cta-shadow);
  transition: transform 150ms, box-shadow 150ms, opacity 150ms;
}

.wiz-1a__continue:hover {
  transform: translateY(-1px);
}

.wiz-1a__continue:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* ── Custom-Pkg Media-Block (Trailer + Audio) ────────────────────
   Mirrors the Sales-Page "The One Box" media block so users see the
   same Premium-Showcase after they reach 1a via the CTA. */
.wiz-1a__media {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: 14px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(10,57,78,0.08);
}
@media (max-width: 720px) {
  .wiz-1a__media { grid-template-columns: 1fr; }
}

.wiz-1a__media-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(10,57,78,0.10);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: var(--wiz-text, #0A394E);
  transition: transform 0.2s ease, box-shadow 0.25s ease, border-color 0.2s ease;
  box-shadow: 0 1px 3px rgba(10,57,78,0.04);
  cursor: pointer;
}
.wiz-1a__media-card--audio { cursor: default; }
.wiz-1a__media-card:hover {
  transform: translateY(-2px);
  border-color: rgba(238,146,50,0.55);
  box-shadow: 0 8px 20px rgba(234,88,12,0.12), 0 2px 6px rgba(10,57,78,0.06);
}
.wiz-1a__media-card--audio:hover { transform: none; }
.wiz-1a__media-card:focus-visible { outline: 2px solid #EE9232; outline-offset: 2px; }
.wiz-1a__media-card--trailer {
  appearance: none;
  border: 1px solid rgba(10,57,78,0.10);
  padding: 0;
  font: inherit;
  text-align: left;
}
.wiz-1a__media-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--wiz-text, #0A394E);
  letter-spacing: 0.01em;
}

/* Trailer poster */
.wiz-1a__media-poster {
  position: relative;
  aspect-ratio: 16 / 9;
  display: block;
  background: linear-gradient(135deg, #1a2a35, #0a394e);
  overflow: hidden;
}
.wiz-1a__media-poster img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.wiz-1a__media-card--trailer:hover .wiz-1a__media-poster img { transform: scale(1.04); }
.wiz-1a__media-poster::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at center, rgba(0,0,0,0.10), rgba(0,0,0,0.30) 80%),
    linear-gradient(to bottom right, rgba(234,88,12,0.08), rgba(0,0,0,0.0));
  pointer-events: none;
}
.wiz-1a__media-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(to bottom right, #ea580c, #c2410c);
  color: #fff;
  display: inline-flex;
  align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(234,88,12,0.45), 0 0 0 6px rgba(255,255,255,0.18);
  transition: transform 0.2s ease, box-shadow 0.25s ease;
}
.wiz-1a__media-card--trailer:hover .wiz-1a__media-play {
  transform: translate(-50%, -50%) scale(1.06);
  box-shadow: 0 8px 22px rgba(234,88,12,0.55), 0 0 0 8px rgba(255,255,255,0.22);
}
.wiz-1a__media-play svg { width: 22px; height: 22px; margin-left: 2px; }
.wiz-1a__media-footer {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(234,88,12,0.04);
}
.wiz-1a__media-arrow {
  color: #ea580c;
  font-weight: 700;
  font-size: 18px;
  transition: transform 0.2s ease;
}
.wiz-1a__media-card--trailer:hover .wiz-1a__media-arrow { transform: translateX(3px); }

/* Audio card */
.wiz-1a__audio-header {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 14px 6px;
}
.wiz-1a__audio-icon { font-size: 18px; line-height: 1; }
.wiz-1a__audio-bars {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 3px;
  height: 44px;
  padding: 6px 14px;
}
.wiz-1a__audio-bars span {
  flex: 1 1 0;
  height: 30%;
  background: linear-gradient(to top, #ea580c, #f59e0b);
  border-radius: 2px;
  opacity: 0.7;
  transition: opacity 0.2s ease, height 0.4s ease;
}
.wiz-1a__audio-bars span:nth-child(1)  { height: 28%; }
.wiz-1a__audio-bars span:nth-child(2)  { height: 42%; }
.wiz-1a__audio-bars span:nth-child(3)  { height: 60%; }
.wiz-1a__audio-bars span:nth-child(4)  { height: 75%; }
.wiz-1a__audio-bars span:nth-child(5)  { height: 55%; }
.wiz-1a__audio-bars span:nth-child(6)  { height: 78%; }
.wiz-1a__audio-bars span:nth-child(7)  { height: 88%; }
.wiz-1a__audio-bars span:nth-child(8)  { height: 70%; }
.wiz-1a__audio-bars span:nth-child(9)  { height: 92%; }
.wiz-1a__audio-bars span:nth-child(10) { height: 85%; }
.wiz-1a__audio-bars span:nth-child(11) { height: 95%; }
.wiz-1a__audio-bars span:nth-child(12) { height: 72%; }
.wiz-1a__audio-bars span:nth-child(13) { height: 82%; }
.wiz-1a__audio-bars span:nth-child(14) { height: 65%; }
.wiz-1a__audio-bars span:nth-child(15) { height: 78%; }
.wiz-1a__audio-bars span:nth-child(16) { height: 50%; }
.wiz-1a__audio-bars span:nth-child(17) { height: 38%; }
.wiz-1a__audio-bars span:nth-child(18) { height: 25%; }
.wiz-1a__media-card--audio[data-playing="true"] .wiz-1a__audio-bars span {
  opacity: 1;
  animation: wiz1a-bar-pulse 1.1s ease-in-out infinite;
}
.wiz-1a__media-card--audio[data-playing="true"] .wiz-1a__audio-bars span:nth-child(2n) { animation-delay: 0.15s; }
.wiz-1a__media-card--audio[data-playing="true"] .wiz-1a__audio-bars span:nth-child(3n) { animation-delay: 0.30s; }
.wiz-1a__media-card--audio[data-playing="true"] .wiz-1a__audio-bars span:nth-child(4n) { animation-delay: 0.45s; }
.wiz-1a__media-card--audio[data-playing="true"] .wiz-1a__audio-bars span:nth-child(5n) { animation-delay: 0.60s; }
@keyframes wiz1a-bar-pulse {
  0%, 100% { height: 22%; }
  25%      { height: 75%; }
  50%      { height: 40%; }
  75%      { height: 90%; }
}
.wiz-1a__audio-controls {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 14px 14px;
}
.wiz-1a__audio-play {
  flex: 0 0 auto;
  width: 40px; height: 40px;
  min-width: 40px; min-height: 40px;
  border-radius: 50%;
  border: 0;
  background: linear-gradient(to bottom right, #ea580c, #c2410c);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: 0 3px 8px rgba(234,88,12,0.35);
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}
.wiz-1a__audio-play:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(234,88,12,0.45); }
.wiz-1a__audio-play:focus-visible { outline: 2px solid #EE9232; outline-offset: 2px; }
.wiz-1a__media-card--audio[data-playing="true"] .wiz-1a__audio-play {
  background: #0A394E;
  box-shadow: 0 2px 6px rgba(10,57,78,0.30);
}
.wiz-1a__audio-play svg { width: 16px; height: 16px; display: block; }
.wiz-1a__audio-play .icon-pause { display: none; }
.wiz-1a__media-card--audio[data-playing="true"] .icon-play { display: none; }
.wiz-1a__media-card--audio[data-playing="true"] .icon-pause { display: block; }
.wiz-1a__audio-seek {
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  accent-color: #ea580c;
  height: 4px;
  cursor: pointer;
}
.wiz-1a__audio-time {
  flex: 0 0 auto;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  color: rgba(10,57,78,0.65);
  white-space: nowrap;
}
.wiz-1a__audio-mute {
  flex: 0 0 auto;
  width: 32px; height: 32px;
  min-width: 32px; min-height: 32px;
  border-radius: 6px;
  border: 1px solid rgba(10,57,78,0.18);
  background: transparent;
  color: var(--wiz-text, #0A394E);
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background 0.15s, border-color 0.15s;
}
.wiz-1a__audio-mute:hover { background: rgba(10,57,78,0.06); border-color: rgba(10,57,78,0.30); }
.wiz-1a__audio-mute:focus-visible { outline: 2px solid #EE9232; outline-offset: 2px; }

/* Video modal (mirrors wiz-3d pattern) */
.wiz-1a__video-modal {
  position: fixed; inset: 0;
  z-index: 1000;
  display: flex; align-items: center; justify-content: center;
}
.wiz-1a__video-modal[hidden] { display: none; }
.wiz-1a__video-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(10,57,78,0.75);
  backdrop-filter: blur(4px);
}
.wiz-1a__video-modal-frame {
  position: relative;
  width: min(880px, 92vw);
  max-height: 86vh;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(10,57,78,0.45);
}
.wiz-1a__video-modal-video {
  width: 100%; height: 100%;
  display: block;
}
.wiz-1a__video-modal-close {
  position: absolute;
  top: -10px; right: -10px;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 0;
  background: #fff;
  color: #0A394E;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(10,57,78,0.3);
  z-index: 2;
}
.wiz-1a__video-modal-close:hover { background: #f7f7f7; }

@media (prefers-reduced-motion: reduce) {
  .wiz-1a__media-card, .wiz-1a__media-poster img, .wiz-1a__media-play,
  .wiz-1a__media-arrow, .wiz-1a__audio-play, .wiz-1a__audio-mute { transition: none; }
  .wiz-1a__media-card:hover { transform: none; }
  .wiz-1a__media-card--trailer:hover .wiz-1a__media-poster img,
  .wiz-1a__media-card--trailer:hover .wiz-1a__media-play,
  .wiz-1a__media-card--trailer:hover .wiz-1a__media-arrow { transform: none; }
  .wiz-1a__media-card--audio[data-playing="true"] .wiz-1a__audio-bars span { animation: none; }
}

@media (max-width: 640px) {
  .wiz-1a__title { font-size: 24px; }
  .wiz-1a__lead  { font-size: 15px; }
  .wiz-1a__cards { gap: 12px; }
  .wiz-1a__card  { padding: 18px 16px; }
}
