.fre-pac,
.fre-pac * {
  box-sizing: border-box;
}

.fre-pac {
  --fre-ink: #111214;
  --fre-muted: #6d7076;
  --fre-line: rgba(17, 18, 20, 0.10);
  --fre-paper: #f5f5f3;
  --fre-white: #ffffff;
  width: 100%;
  padding: clamp(14px, 2.2vw, 32px) 0;
  font-family: inherit;
}

.fre-pac__grid {
  width: min(1380px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 2.6vw, 38px);
  perspective: 1600px;
}

.fre-pac__card {
  --fre-rx: 0deg;
  --fre-ry: 0deg;
  --fre-lift: 0px;
  --fre-glow-x: 50%;
  --fre-glow-y: 40%;
  --fre-img-x: 0px;
  --fre-img-y: 0px;
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(17, 18, 20, 0.105);
  border-radius: clamp(26px, 2.4vw, 36px);
  background: linear-gradient(180deg, #ffffff 0%, #fbfbfa 64%, #f7f7f5 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.95),
    0 2px 3px rgba(18, 20, 23, 0.035),
    0 14px 30px rgba(18, 20, 23, 0.07),
    0 34px 72px rgba(18, 20, 23, 0.08);
  transform: translateY(0);
  transform-style: preserve-3d;
  transform-origin: center 58%;
  transition: transform 220ms ease, box-shadow 260ms ease, border-color 260ms ease;
  isolation: isolate;
  backface-visibility: hidden;
}

.fre-pac__card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(circle at var(--fre-glow-x) var(--fre-glow-y), rgba(255,255,255,.88) 0, rgba(255,255,255,.18) 22%, rgba(255,255,255,0) 43%);
  opacity: .28;
  transition: opacity 280ms ease;
}

.fre-pac__card::after {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: 4;
  pointer-events: none;
  border-radius: calc(clamp(26px, 2.4vw, 36px) - 1px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.30);
}

.fre-pac__card:hover {
  --fre-lift: -2px;
  border-color: rgba(17, 18, 20, 0.15);
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.98),
    0 3px 5px rgba(18, 20, 23, 0.035),
    0 18px 36px rgba(18, 20, 23, 0.085),
    0 38px 74px rgba(18, 20, 23, 0.10);
}

.fre-pac__card:hover::before {
  opacity: .54;
}

.fre-pac__media {
  position: relative;
  z-index: 1;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  margin: clamp(11px, 1.15vw, 16px) clamp(11px, 1.15vw, 16px) 0;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: clamp(20px, 1.9vw, 28px);
  background: #dfe2e2;
  box-shadow:
    0 14px 32px rgba(14, 18, 20, .15),
    0 3px 8px rgba(14, 18, 20, .08),
    inset 0 1px 0 rgba(255,255,255,.46),
    inset 0 0 0 1px rgba(17,18,20,.05),
    inset 0 -28px 55px rgba(4,9,12,.12);
  transform: translateZ(24px);
  transform-style: preserve-3d;
}

.fre-pac__media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  border-radius: inherit;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.16),
    inset 0 18px 30px rgba(255,255,255,.055),
    inset 0 -24px 46px rgba(0,0,0,.10);
}

.fre-pac__media::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: -30%;
  left: -18%;
  width: 52%;
  height: 160%;
  pointer-events: none;
  background: linear-gradient(112deg, rgba(255,255,255,.20) 0%, rgba(255,255,255,.075) 32%, rgba(255,255,255,0) 64%);
  transform: rotate(8deg);
  opacity: .46;
  transition: opacity 420ms ease, transform 700ms cubic-bezier(.2,.72,.2,1);
}

.fre-pac__card:hover .fre-pac__media::after {
  opacity: .52;
  transform: rotate(8deg);
}

.fre-pac__image {
  display: block;
  width: calc(100% + 18px);
  height: calc(100% + 18px);
  margin: -9px;
  object-fit: cover;
  transform: scale(1.018);
  filter: saturate(.94) contrast(1.035) brightness(.985);
  transition: transform 420ms ease, filter 320ms ease;
  will-change: transform;
}

.fre-pac__card:hover .fre-pac__image {
  transform: scale(1.035);
  filter: saturate(.98) contrast(1.055) brightness(1.01);
}

.fre-pac__image--placeholder {
  background:
    linear-gradient(135deg, rgba(255,255,255,.22), rgba(255,255,255,0)),
    linear-gradient(180deg, #aeb7ba, #747f82);
}

.fre-pac__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(8,12,14,.02) 20%, rgba(8,12,14,.18) 58%, rgba(8,12,14,.70) 100%),
    radial-gradient(circle at 72% 18%, rgba(255,255,255,.08), transparent 28%);
  pointer-events: none;
}

.fre-pac__media-title {
  position: absolute;
  left: clamp(22px, 3vw, 42px);
  right: clamp(22px, 3vw, 42px);
  bottom: clamp(22px, 3vw, 38px);
  color: #fff;
  z-index: 4;
  transform: translateZ(16px);
  text-shadow: 0 2px 20px rgba(0,0,0,.18);
}

.fre-pac__eyebrow {
  margin: 0 0 8px;
  font-size: 10.5px;
  line-height: 1.2;
  letter-spacing: .18em;
  text-transform: uppercase;
  opacity: .84;
}

.fre-pac__media-title h3 {
  margin: 0;
  color: inherit;
  font: inherit;
  font-size: clamp(28px, 3.3vw, 50px);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.fre-pac__body {
  position: relative;
  z-index: 1;
  padding: clamp(22px, 2.5vw, 34px);
  transform: translateZ(12px);
}

.fre-pac__prices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--fre-line);
  border-bottom: 1px solid var(--fre-line);
}

.fre-pac__price {
  padding: 18px 0;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.fre-pac__price + .fre-pac__price {
  border-left: 1px solid var(--fre-line);
  padding-left: clamp(18px, 2vw, 28px);
}

.fre-pac__price:first-child {
  padding-right: clamp(18px, 2vw, 28px);
}

.fre-pac__label,
.fre-pac__facts dt {
  color: var(--fre-muted);
  font-size: 10px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.fre-pac__price strong {
  color: var(--fre-ink);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 600;
  white-space: nowrap;
}

.fre-pac__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 24px;
}

.fre-pac__facts > div {
  min-width: 0;
  padding: 14px 16px 15px;
  border: 1px solid rgba(17,18,20,.075);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,.84), rgba(247,247,245,.72));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.82), 0 5px 14px rgba(17,18,20,.025);
}

.fre-pac__facts dt,
.fre-pac__facts dd {
  margin: 0;
}

.fre-pac__facts dt {
  display: flex;
  align-items: center;
  gap: 8px;
}

.fre-pac__fact-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(17,18,20,.10);
  border-radius: 999px;
  color: #474b50;
  background: rgba(255,255,255,.76);
}

.fre-pac__fact-icon svg {
  width: 13px;
  height: 13px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fre-pac__facts dd {
  margin-top: 7px;
  color: var(--fre-ink);
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.25;
  font-weight: 500;
}

.fre-pac__cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 54px;
  width: min(78%, 430px);
  margin: 4px auto 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 20px;
  border: 1px solid rgba(17,18,20,.96);
  border-radius: 17px;
  background: linear-gradient(180deg, #1b1c1e 0%, #111214 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.11), 0 8px 18px rgba(17,18,20,.11);
  color: #fff !important;
  text-decoration: none !important;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: none;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.fre-pac__cta::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: -45%;
  left: -42%;
  width: 24%;
  height: 190%;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.42) 48%, rgba(255,255,255,0) 100%);
  transform: translateX(-260%) skewX(-20deg);
  transition: transform 680ms cubic-bezier(.18,.72,.2,1);
}

.fre-pac__cta > span {
  position: relative;
  z-index: 1;
}

.fre-pac__cta:hover,
.fre-pac__cta:focus-visible {
  background: linear-gradient(180deg, #242629 0%, #141517 100%);
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 10px 22px rgba(17,18,20,.15);
}

.fre-pac__cta:hover::before,
.fre-pac__cta:focus-visible::before {
  transform: translateX(760%) skewX(-20deg);
}

.fre-pac__cta:focus-visible {
  outline: 3px solid rgba(17,18,20,.18);
  outline-offset: 3px;
}

.fre-pac__cta[aria-disabled="true"] {
  cursor: default;
}

.fre-pac__cta-mark {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 0;
  background: transparent;
  color: #fff;
  box-shadow: none;
}

.fre-pac__brand-icon {
  width: 20px;
  height: 20px;
  display: block;
  object-fit: contain;
}

.fre-pac__brand-icon--svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 767px) {
  .fre-pac__grid {
    width: min(100% - 20px, 620px);
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .fre-pac__card {
    border-radius: 26px;
    transform: none !important;
  }

  .fre-pac__media {
    aspect-ratio: 4 / 3;
    margin: 10px 10px 0;
    border-radius: 20px;
    transform: none;
  }

  .fre-pac__body {
    padding: 20px;
    transform: none;
  }

  .fre-pac__prices,
  .fre-pac__facts {
    grid-template-columns: 1fr 1fr;
  }

  .fre-pac__price {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .fre-pac__cta {
    width: min(86%, 360px);
  }
}

@media (max-width: 430px) {
  .fre-pac__price strong {
    font-size: 17px;
  }

  .fre-pac__facts {
    gap: 8px;
  }

  .fre-pac__facts > div {
    padding: 12px;
  }

  .fre-pac__facts dd {
    font-size: 15px;
  }

  .fre-pac__fact-icon {
    width: 20px;
    height: 20px;
    flex-basis: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fre-pac__card,
  .fre-pac__image,
  .fre-pac__media::after,
  .fre-pac__cta,
  .fre-pac__cta::before {
    transition: none !important;
    transform: none !important;
  }
}
