.wv-plans {
  --plan-ink: #222a32;
  --plan-secondary: #4d5a65;
  --plan-line: #dce3e8;
  --orbit-height: clamp(204px, 20vw, 272px);
  margin-block-start: clamp(34px, 4vw, 55px);
  scroll-margin-top: 82px;
  color: var(--plan-ink);
}

.wv-plan-lead {
  max-width: 620px;
  margin: 0 auto clamp(14px, 2.3vw, 28px);
  padding-inline: 8px;
  text-align: center;
}

.wv-plan-lead h3 {
  margin: 0 0 10px;
  font: inherit;
  font-size: clamp(30px, 3.75vw, 50px);
  font-weight: 515;
  line-height: 1.04;
  letter-spacing: -.058em;
}

.wv-plan-lead p {
  max-width: 52ch;
  margin: 0 auto;
  color: var(--plan-secondary);
  font-size: clamp(13px, 1.26vw, 17px);
  line-height: 1.46;
}

.wv-plan-map {
  position: relative;
  isolation: isolate;
  margin-inline: auto;
  max-width: 1160px;
}

.wv-plans[data-enhanced] .wv-plan-map { padding-block-start: var(--orbit-height); }
.wv-plan-orbit[hidden], .wv-motion-control[hidden] { display: none; }

.wv-plan-orbit {
  position: absolute;
  inset: 0 0 auto;
  height: calc(var(--orbit-height) + 70px);
  overflow: hidden;
  pointer-events: none;
}

.wv-float {
  position: absolute;
  inset: 0 auto auto 0;
  width: 0;
  height: 0;
  opacity: 0;
}

.wv-sphere {
  --sphere-diameter: 26px;
  position: absolute;
  top: -22px;
  left: -22px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  pointer-events: auto;
  -webkit-tap-highlight-color: transparent;
}

.wv-sphere-face {
  width: var(--sphere-diameter);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid #b8c4ce70;
  background:
    radial-gradient(ellipse at 33% 23%, #fff 0%, #f7fafc 22%, transparent 53%),
    radial-gradient(circle at 66% 76%, #91a1af 0%, #b0bfca 40%, #edf2f6 78%, #d4e0e9 100%);
  box-shadow: inset 0 -1px 3px #60778628, 0 4px 8px -5px #3449584d;
}

.wv-float:nth-of-type(even) .wv-sphere-face {
  background:
    radial-gradient(ellipse at 33% 24%, #fff 0%, #e4edf3 19%, transparent 51%),
    radial-gradient(circle at 68% 76%, #718494 0%, #9aabba 40%, #e0e9ef 84%, #c4d2dd 100%);
}

.wv-float[data-tier="pro"] .wv-sphere-face {
  border-color: #53647270;
  background:
    radial-gradient(ellipse at 29% 24%, #c5d0d9 0%, #97a7b4 19%, transparent 54%),
    radial-gradient(circle at 68% 73%, #273947 0%, #405464 46%, #8f9eaa 86%, #687d8b 100%);
  box-shadow: inset 0 -1px 3px #1e303f44, 0 4px 8px -5px #2a435b69;
}

.wv-float[data-tier="pro"]:last-child .wv-sphere-face {
  background:
    radial-gradient(ellipse at 30% 24%, #ebf1f5 0%, #b4c2cb 24%, transparent 54%),
    radial-gradient(circle at 68% 74%, #455969 0%, #5d7182 47%, #a9b8c3 86%, #7d919f 100%);
}

.wv-sphere:is(:hover,[aria-pressed="true"]) .wv-sphere-face {
  outline: 1px solid #587286;
  outline-offset: 2px;
}

.wv-annotation {
  position: absolute;
  top: 0;
  left: 0;
  transform-origin: 0 0;
  width: max-content;
  opacity: 0;
  white-space: nowrap;
  color: #425662;
  font: inherit;
  font-size: 11px;
  font-weight: 435;
  line-height: 1.24;
  letter-spacing: .018em;
  pointer-events: none;
}

.wv-caption-compact { display: none; }

.wv-motion-control {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  padding: 8px 11px;
  border: 1px solid var(--plan-line);
  border-radius: 4px;
  background: #fcfdfe;
  color: var(--plan-ink);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

.wv-motion-control:not(:focus) {
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.wv-plans :is(button, summary):focus-visible {
  outline: 2px solid #3a5b73;
  outline-offset: 2px;
}

.wv-plan-panel {
  position: relative;
  z-index: 2;
  padding: 7px 7px 0;
  border: 1px solid #d5dee5;
  border-radius: 13px;
  background: #edf1f4;
  box-shadow: 0 12px 28px -25px #2e435681, inset 0 1px #ffffffa6;
}

.wv-plan-columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 6px;
}

.wv-plan-columns > section {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: clamp(224px, 21vw, 292px);
  padding: clamp(13px, 1.55vw, 24px);
  border-radius: 7px;
  background: linear-gradient(155deg, #fff 0%, #fbfcfd 78%);
}

.wv-plan-columns > .wv-plan-pro {
  background: linear-gradient(155deg, #f8fafc 0%, #f0f4f7 78%);
}

.wv-plan-tier {
  margin: 0 0 8px;
  color: #4c5d6b;
  font-size: 11px;
  font-weight: 530;
  line-height: 16px;
}

.wv-plan-pro .wv-plan-tier {
  color: #566673;
  font-size: 10px;
  letter-spacing: .045em;
}

.wv-plan-pro .wv-plan-tier .cx-metallic-pro {
  background-image: linear-gradient(125deg, #364a59, #576d7e 42%, #3c5364 72%, #566b7d);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .025em;
}

.wv-plan-columns h4 {
  margin: 0 0 7px;
  font: inherit;
  font-size: clamp(17px, 1.5vw, 22px);
  font-weight: 565;
  line-height: 1.15;
  letter-spacing: -.038em;
}

.wv-plan-description {
  margin: 0 0 clamp(18px, 2.3vw, 30px);
  max-width: 27ch;
  color: var(--plan-secondary);
  font-size: 13px;
  line-height: 1.44;
}

.wv-plan-columns ul, .wv-plan-seats {
  margin: auto 0 0;
  padding: 0;
  list-style: none;
}

.wv-plan-columns li, .wv-plan-seats > div {
  padding: 9px 0 0;
  margin: 0 0 8px;
  border-top: 1px solid #d8e1e7;
  color: #3d4c59;
  font-size: 13px;
  line-height: 1.34;
}

.wv-plan-columns li:last-child, .wv-plan-seats > div:last-child { margin-block-end: 0; }

.wv-plan-columns li[data-highlight] {
  color: #243c4d;
  font-weight: 610;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: #7a93a6;
  text-underline-offset: 3px;
}

.wv-plan-seats > div {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2px 10px;
}

.wv-plan-seats dd { margin: 0; color: var(--plan-ink); }

.wv-plan-detail { margin: 0 clamp(6px, 1.5vw, 18px); }
.wv-plan-detail summary {
  display: flex;
  min-height: 50px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #2d4659;
  cursor: pointer;
  list-style: none;
  font-size: 13px;
  font-weight: 560;
}
.wv-plan-detail summary::-webkit-details-marker { display: none; }
.wv-plan-detail summary::after {
  content: '';
  width: 7px;
  height: 7px;
  margin-inline-end: 3px;
  rotate: 45deg;
  border: solid currentColor;
  border-width: 0 1px 1px 0;
}
.wv-plan-detail[open] summary::after { rotate: 225deg; }

.wv-plan-table { padding-block-end: 14px; }
.wv-plan-table table { width: 100%; table-layout: fixed; border-collapse: collapse; }
.wv-plan-table :is(th, td) {
  text-align: left;
  white-space: normal;
  overflow-wrap: break-word;
  padding: 6px;
  border-bottom: 1px solid var(--plan-line);
  font-size: 12px;
  line-height: 1.35;
  color: var(--plan-secondary);
}
.wv-plan-table :is(th, td):first-child { width: 55%; }
.wv-plan-table th { font-weight: 550; color: var(--plan-ink); }
.wv-plan-table thead th { background: #eff3f6; }

@media (max-width: 820px) {
  .wv-plan-columns { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .wv-plan-columns > section { min-height: 190px; }
}

@media (max-width: 680px) {
  .wv-plans { --orbit-height: clamp(149px, 40vw, 207px); }
  .wv-sphere { --sphere-diameter: 19px; }
  .wv-annotation { font-size: 10px; }
  .wv-caption-wide { display: none; }
  .wv-caption-compact { display: inline; }
  .wv-plan-panel { padding: 5px 5px 0; border-radius: 10px; }
  .wv-plan-columns { gap: 4px; }
  .wv-plan-columns > section { min-height: 0; padding: 11px 10px 12px; }
  .wv-plan-description { font-size: 12px; margin-bottom: 14px; }
  .wv-plan-columns li, .wv-plan-seats > div { font-size: 12px; padding-top: 7px; margin-bottom: 6px; }
  .wv-plan-columns h4 { margin-bottom: 6px; }
}
