.storefront {
  --deep: #0d1549;
  --ink: #141a37;
  --accent: #ac111b;
  --wrap: 1180px;
  background: #fbfcff;
}
.storefront .header-inner { height: 82px; }
.storefront .header-cta, .storefront .hero .primary { background: #b30e1a; border-color: #b30e1a; color: #fff; }
.storefront .header-cta:hover, .storefront .hero .primary:hover { background: #870a14; border-color: #870a14; }
.storefront .hero {
  min-height: 495px;
  margin-top: 26px;
  padding: clamp(34px, 6vw, 76px);
  display: grid;
  grid-template-columns: minmax(0,1fr);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 23px;
  background: #142058;
}
.storefront .hero-image {
  position: absolute;
  inset: 0;
  z-index: -1;
  height: 100%;
  border-radius: 0;
}
.storefront .hero-image img { position: absolute; object-position: center 56%; }
.storefront .hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #080e35f5 0%, #111842d4 34%, #141b4d64 62%, #17204810 100%);
}
.storefront .hero-image figcaption {
  z-index: 1;
  left: auto;
  right: 20px;
  bottom: 20px;
  display: block;
  color: white;
  background: #0e153fd6;
  border: 1px solid #ffffff4d;
  border-radius: 9px;
  padding: 7px 13px;
}
.storefront .hero-image small { color: #e3e9ff; }
.storefront .hero-copy { color: white; width: min(100%, 510px); padding: 0; }
.storefront .hero-copy .eyebrow { color: #ffdde1; }
.storefront .hero-copy .eyebrow span { background: #ef6472; }
.storefront h1 { font-size: clamp(4rem, 8vw, 7.1rem); line-height: .95; margin-block: 18px 24px; letter-spacing: -.077em; }
.storefront .hero-description { color: #f0f3ff; max-width: 390px; }
.storefront .hero .search { margin-top: 27px; }
.storefront .quick { color: #edf1ff; }
.storefront .quick button { background: #121c51d9; border-color: #bbc6ed97; color: white; min-height: 33px; }
.storefront .quick button:hover { background: white; color: var(--deep); }
.storefront .benefits { margin-top: 21px; border: 0; background: transparent; }
.storefront .benefit-inner { border-bottom: 1px solid var(--line); padding-bottom: 22px; }
.storefront .section-top h2 { margin-top: 0; }
.storefront .section-top p:not(.eyebrow) { max-width: 100%; }
.storefront .cards { gap: 17px; }
.destination-card { min-width: 0; overflow: hidden; border-radius: 15px; background: #1a245a; }
.destination-button {
  display: flex;
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: 226px;
  height: 100%;
  align-items: end;
  justify-content: space-between;
  gap: 8px;
  padding: 16px;
  border: 0;
  border-radius: inherit;
  color: white;
  text-align: left;
  background: transparent;
}
.destination-button:focus-visible { outline-offset: -4px; outline-color: #ffe4e7; }
.destination-button img { position: absolute; inset: 0; height: 100%; z-index: -2; transition: transform .42s ease; }
.destination-button::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, #1017412b 0%, transparent 27%, #080e33f2 100%);
}
.destination-button:hover img { transform: scale(1.06); }
.destination-button .flag { bottom: auto; top: 13px; left: 15px; background: #fffc; color: #141a37; }
.destination-copy { position: relative; min-width: 0; display: grid; gap: 4px; }
.destination-name { font-weight: 820; font-size: clamp(1.14rem, 2.4vw, 1.5rem); letter-spacing: -.03em; line-height: 1.05; }
.destination-meta { font-size: .88rem; color: #e8edff; }
.destination-action { flex: 0 0 auto; border: 1px solid #eff2ffaa; border-radius: 7px; min-height: 36px; padding: 8px 9px; color: #fff; font-size: .875rem; font-weight: 750; transition: background .16s ease, color .16s ease; }
.destination-button:hover .destination-action { color: var(--deep); background: #edf1fd; }
.browse-more { margin: 19px auto 0; display: flex; width: max-content; }
.storefront #plan-dialog {
  width: min(760px, calc(100vw - 24px));
  border: 0;
  max-height: min(88dvh, 960px);
  border-radius: 16px;
  overflow: hidden;
  overscroll-behavior: contain;
}
.storefront:has(#plan-dialog[open]) { overflow: hidden; }
.storefront #plan-dialog[open] { animation: plan-enter .23s ease both; }
.storefront #plan-dialog::backdrop { background: #080e30c4; }
.storefront #plan-dialog .dialog-body { display: flex; flex-direction: column; padding: 0; max-height: min(88dvh, 960px); }
.plan-banner {
  flex: 0 0 auto;
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: end;
  overflow: hidden;
  min-height: 152px;
  padding: 18px 22px;
  background: #182456;
  color: white;
}
.plan-banner img { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-position: center 53%; }
.plan-banner::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,#0c123ae8,#101843a6 52%,#161f5048),linear-gradient(0deg,#0c123aad,transparent); }
.plan-banner .eyebrow { color: #e4e9ff; }
.plan-banner h2 { margin: 8px 0 0; font-size: clamp(1.9rem,5vw,2.9rem); }
.storefront #plan-dialog .close { color: white; background: #0c123ab3; border: 1px solid #ffffff85; }
#plan-content { min-height: 0; max-height: 100%; overflow: auto; overscroll-behavior: contain; padding: 0 20px 20px; }
.plan-toolbar {
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 14px 0 11px;
  background: white;
  border-bottom: 1px solid var(--line);
}
.plan-controls { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.plan-control { position: relative; display: grid; gap: 4px; color: var(--ink); font-weight: 700; font-size: .875rem; min-width: 0; }
.plan-control::after {
  content: "";
  position: absolute;
  right: 13px;
  bottom: 18px;
  height: 7px;
  width: 7px;
  transform: rotate(45deg);
  border-bottom: 2px solid var(--accent);
  border-right: 2px solid var(--accent);
  pointer-events: none;
}
.plan-control select {
  width: 100%;
  min-height: 43px;
  padding: 8px 33px 8px 10px;
  appearance: none;
  color: var(--ink);
  background: #fbfcff;
  border: 1px solid #c7d1e7;
  border-radius: 8px;
}
.storefront #plan-dialog .catalogue-status { font-size: .875rem; margin-top: 9px; }
.storefront #plan-dialog .plan-checkout-state { font-size: .85rem; margin: 9px 0 0; }
.plan-results { display: grid; gap: 8px; margin-top: 11px; }
.storefront #plan-dialog .live-plan { display: block; padding: 12px; border-color: #dde4f2; }
.plan-row-top { display: grid; grid-template-columns: 1fr auto; align-items: start; gap: 9px; }
.storefront #plan-dialog .plan-name { margin-top: 3px; font-size: .88rem; line-height: 1.3; font-weight: 500; }
.storefront #plan-dialog .plan-price { font-size: 1.22rem; color: var(--deep); font-weight: 820; line-height: 1.2; margin: 0; }
.storefront #plan-dialog .plan-fee,.storefront #plan-dialog .plan-unit { font-size: .8125rem; margin: 3px 0 0; line-height: 1.3; }
.plan-cost { text-align: right; max-width: 145px; }
.plan-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.plan-actions .secondary { margin-top: 12px; }
@media (prefers-reduced-motion: no-preference) {
  .storefront .hero-image img { animation: hero-settle .85s ease-out both; }
  .storefront .hero-copy { animation: plan-enter .4s ease-out both; }
}
@keyframes hero-settle { from { transform: scale(1.035); } to { transform: scale(1); } }
@keyframes plan-enter { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 760px) {
  .storefront .header-inner { height: 72px; }
  .storefront .hero { margin-top: 14px; min-height: 400px; padding: 24px 17px 49px; border-radius: 15px; }
  .storefront .hero-image::after { background: linear-gradient(90deg,#080e35eb,#080e3580), linear-gradient(0deg,#080e35ba,transparent); }
  .storefront .hero-image img { object-position: 62% 50%; }
  .storefront .hero-image figcaption { right: 9px; bottom: 7px; font-size: .76rem; padding: 5px 8px; }
  .storefront .hero-image figcaption small { display: none; }
  .storefront h1 { font-size: clamp(3.06rem, 12vw, 5rem); margin-block: 13px 16px; }
  .storefront .hero-description { max-width: 31ch; }
  .storefront .hero .search { margin-top: 18px; padding-left: 9px; }
  .storefront .hero .search-icon { width: 19px; min-width: 19px; }
  .storefront .benefits { margin-top: 12px; }
  .storefront .cards { gap: 9px; }
  .destination-card { border-radius: 10px; }
  .destination-button { min-height: 175px; flex-direction: column; justify-content: end; align-items: start; padding: 10px; }
  .destination-meta { display: none; }
  .destination-button .flag { top: 9px; left: 9px; font-size: 1rem; padding: 2px 5px; }
  .destination-action { padding: 4px 6px; min-height: auto; }
  .storefront #plan-dialog { position: fixed; bottom: 0; top: auto; margin: 0 auto; width: 100%; max-width: none; max-height: 94dvh; border-radius: 14px 14px 0 0; }
  .storefront #plan-dialog .dialog-body { max-height: 94dvh; }
  .plan-banner { min-height: 120px; padding: 15px 13px; }
  #plan-content { padding-inline: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .storefront #plan-dialog[open] { animation: none; }
  .destination-button img,.destination-action { transition: none; }
  .destination-button:hover img { transform: none; }
}
@media (max-width: 375px) {
  .storefront .header-inner { gap: 8px; }
  .storefront .brand { gap: 6px; font-size: 1.05rem; }
  .storefront .brand-lockup img { width: 50px; }
  .storefront .header-cta { padding-inline: 8px; font-size: .88rem; white-space: nowrap; }
}

.plan-buy { margin-top: 8px; }
.plan-buy .primary { min-height: 36px; padding: 6px 9px; font-size: .875rem; }
