@keyframes lh2GafFadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes lh2GafPop {
  from { opacity: 0; transform: translateY(8px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.lh2-gaf-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9999999;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 16px 110px;
  animation: lh2GafFadeIn 0.2s ease-out;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.lh2-gaf-modal {
  --van-navy: #1f3a5f;
  --van-navy-deep: #0e1d33;
  --van-red: #c8323a;
  --van-red-deep: #a8262d;
  --van-paper: #fbf7ee;
  --van-cream-line: #e8e0cc;
  --van-ink: #14202e;
  --van-ink-2: #3b4a5e;
  --van-ink-3: #7a8595;
  --van-peach: #fde2d6;
  --van-eyebrow: #ffb8bd;
  --van-italic: #ffd9a8;
  width: 420px;
  max-width: 100%;
  max-height: calc(100dvh - 130px);
  max-height: calc(100vh - 130px);
  overflow-y: auto;
  background: var(--van-paper);
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.45);
  position: relative;
  color: var(--van-ink);
  animation: lh2GafPop 0.35s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.lh2-gaf-modal * {
  box-sizing: border-box;
}

.lh2-gaf-modal .lh2-gaf-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(20, 32, 46, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 6;
  padding: 0;
}

.lh2-gaf-modal .lh2-gaf-close svg {
  display: block;
}

.lh2-gaf-modal .lh2-gaf-cover {
  position: relative;
  height: 220px;
  background-size: cover;
  background-position: center 45%;
}

.lh2-gaf-modal .lh2-gaf-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(14, 29, 51, 0) 30%,
    rgba(14, 29, 51, 0.4) 60%,
    rgba(14, 29, 51, 0.92) 100%
  );
}

.lh2-gaf-modal .lh2-gaf-masthead {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent);
  z-index: 2;
}

.lh2-gaf-modal .lh2-gaf-masthead .lh2-gaf-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.lh2-gaf-modal .lh2-gaf-masthead .lh2-gaf-logo {
  width: 22px;
  height: 22px;
  background: #fff;
  border-radius: 4px;
  padding: 2px;
  box-sizing: border-box;
  object-fit: contain;
}

.lh2-gaf-modal .lh2-gaf-headline-wrap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 22px 16px;
  color: #fff;
  z-index: 2;
}

.lh2-gaf-modal .lh2-gaf-eyebrow {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--van-eyebrow);
  margin-bottom: 8px;
}

.lh2-gaf-modal .lh2-gaf-headline {
  margin: 0;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.lh2-gaf-modal .lh2-gaf-headline em {
  font-style: italic;
  color: var(--van-italic);
}

.lh2-gaf-modal .lh2-gaf-price-block {
  padding: 14px 22px 4px;
  text-align: center;
}

.lh2-gaf-modal .lh2-gaf-price-row {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-family: 'Playfair Display', Georgia, serif;
}

.lh2-gaf-modal .lh2-gaf-price-old {
  font-size: 18px;
  color: var(--van-ink-3);
  text-decoration: line-through;
  text-decoration-color: var(--van-red);
  text-decoration-thickness: 1.5px;
}

.lh2-gaf-modal .lh2-gaf-price-new {
  font-size: 36px;
  font-weight: 700;
  color: var(--van-navy-deep);
  letter-spacing: -0.02em;
  line-height: 1;
}

.lh2-gaf-modal .lh2-gaf-price-unit {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 13px;
  color: var(--van-ink-2);
  font-weight: 500;
}

.lh2-gaf-modal .lh2-gaf-pitch {
  margin: 6px 0 0;
  font-size: 12px;
  color: var(--van-ink-2);
  line-height: 1.4;
}

.lh2-gaf-modal .lh2-gaf-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 10px 20px 2px;
  margin: 6px 12px 0;
  border-top: 1px solid var(--van-cream-line);
}

.lh2-gaf-modal .lh2-gaf-value {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 4px 2px;
  gap: 6px;
}

.lh2-gaf-modal .lh2-gaf-value-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--van-peach);
  color: var(--van-red-deep);
  display: grid;
  place-items: center;
}

.lh2-gaf-modal .lh2-gaf-value-icon svg {
  width: 17px;
  height: 17px;
  display: block;
}

.lh2-gaf-modal .lh2-gaf-value-label {
  font-size: 11px;
  color: var(--van-ink-2);
  line-height: 1.4;
  font-weight: 600;
  max-width: 15ch;
}

.lh2-gaf-modal .lh2-gaf-cta-wrap {
  padding: 12px 22px 10px;
}

.lh2-gaf-modal .lh2-gaf-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: linear-gradient(180deg, var(--van-red) 0%, var(--van-red-deep) 100%);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 13px 18px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  position: relative;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.18) inset,
    0 -1px 0 rgba(0, 0, 0, 0.18) inset,
    0 6px 18px -4px rgba(168, 38, 45, 0.53);
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.15s ease;
}

.lh2-gaf-modal .lh2-gaf-cta:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.lh2-gaf-modal .lh2-gaf-cta:active {
  transform: translateY(0);
}

.lh2-gaf-modal .lh2-gaf-cta-arrow {
  position: absolute;
  right: 20px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  transition: transform 0.15s ease, background 0.15s ease;
}

.lh2-gaf-modal .lh2-gaf-cta:hover .lh2-gaf-cta-arrow {
  transform: translateX(3px);
  background: rgba(255, 255, 255, 0.26);
}

.lh2-gaf-modal .lh2-gaf-cta-arrow svg {
  display: block;
}

.lh2-gaf-modal .lh2-gaf-assurance {
  margin-top: 8px;
  display: flex;
  justify-content: center;
  gap: 10px;
  font-size: 12px;
  color: var(--van-ink-3);
}

.lh2-gaf-modal .lh2-gaf-assurance strong {
  color: var(--van-navy);
  font-weight: 600;
}

.lh2-gaf-modal .lh2-gaf-nothanks {
  text-align: center;
  padding: 0 0 12px;
}

.lh2-gaf-modal .lh2-gaf-nothanks button {
  background: none;
  border: none;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 13px;
  color: var(--van-ink-3);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: #d8c89f;
  cursor: pointer;
  padding: 4px 8px;
}

.lh2-gaf-modal .lh2-gaf-nothanks button:hover {
  color: var(--van-navy);
  text-decoration-color: var(--van-ink-3);
}

@media (max-height: 820px) {
  .lh2-gaf-modal-backdrop { padding: 12px 12px 100px; }
  .lh2-gaf-modal .lh2-gaf-cover { height: 190px; }
  .lh2-gaf-modal .lh2-gaf-headline { font-size: 24px; }
  .lh2-gaf-modal .lh2-gaf-price-block { padding: 12px 22px 4px; }
  .lh2-gaf-modal .lh2-gaf-price-new { font-size: 32px; }
  .lh2-gaf-modal .lh2-gaf-pitch { margin-top: 4px; font-size: 11.5px; }
  .lh2-gaf-modal .lh2-gaf-values { padding: 8px 18px 2px; }
  .lh2-gaf-modal .lh2-gaf-value-icon { width: 32px; height: 32px; }
  .lh2-gaf-modal .lh2-gaf-value-icon svg { width: 15px; height: 15px; }
  .lh2-gaf-modal .lh2-gaf-value-label { font-size: 10.5px; }
  .lh2-gaf-modal .lh2-gaf-cta-wrap { padding: 10px 22px 8px; }
  .lh2-gaf-modal .lh2-gaf-cta { padding: 11px 16px; font-size: 14px; }
  .lh2-gaf-modal .lh2-gaf-nothanks { padding: 0 0 10px; }
}

@media (max-height: 680px) {
  .lh2-gaf-modal .lh2-gaf-cover { height: 160px; }
  .lh2-gaf-modal .lh2-gaf-headline-wrap { padding: 10px 18px 12px; }
  .lh2-gaf-modal .lh2-gaf-headline { font-size: 22px; }
  .lh2-gaf-modal .lh2-gaf-eyebrow { margin-bottom: 4px; font-size: 9px; }
  .lh2-gaf-modal .lh2-gaf-price-new { font-size: 28px; }
  .lh2-gaf-modal .lh2-gaf-price-old { font-size: 14px; }
}

@media (max-width: 480px) {
  .lh2-gaf-modal-backdrop { padding-bottom: 100px; }
  .lh2-gaf-modal .lh2-gaf-cover { height: 200px; }
  .lh2-gaf-modal .lh2-gaf-headline-wrap { padding: 12px 18px 14px; }
  .lh2-gaf-modal .lh2-gaf-headline { font-size: 24px; }
  .lh2-gaf-modal .lh2-gaf-price-block { padding: 12px 18px 4px; }
  .lh2-gaf-modal .lh2-gaf-values { padding: 8px 14px 2px; margin: 6px 8px 0; }
  .lh2-gaf-modal .lh2-gaf-cta-wrap { padding: 10px 18px 8px; }
}
