/* The offers panel. Loaded by every page; it draws nothing until opened. */

.vtw-offers { position: fixed; inset: 0; z-index: 9000; display: none; }
.vtw-offers.is-open { display: block; }

.vtw-offers-scrim {
  position: absolute; inset: 0;
  background: rgba(10, 10, 11, 0.62);
  backdrop-filter: blur(3px);
  animation: vtw-fade .28s ease both;
}

.vtw-offers-card {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: min(430px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  background: #141416;
  border: 1px solid rgba(255, 192, 14, 0.30);
  border-radius: 16px;
  padding: 30px 28px 26px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, .55);
  animation: vtw-rise .34s cubic-bezier(.16, .84, .24, 1) both;
  color: #ECE7DF;
}

@keyframes vtw-fade { from { opacity: 0 } to { opacity: 1 } }
@keyframes vtw-rise {
  from { opacity: 0; transform: translate(-50%, calc(-50% + 18px)) }
  to   { opacity: 1; transform: translate(-50%, -50%) }
}
@media (prefers-reduced-motion: reduce) {
  .vtw-offers-scrim, .vtw-offers-card { animation: none }
}

.vtw-offers-x {
  position: absolute; top: 12px; right: 14px;
  width: 34px; height: 34px;
  background: none; border: 0; border-radius: 8px;
  color: #8C8378; font-size: 25px; line-height: 1; cursor: pointer;
  transition: background .16s, color .16s;
}
.vtw-offers-x:hover { background: rgba(255,255,255,.07); color: #ECE7DF; }

.vtw-offers-eyebrow {
  display: inline-block;
  font-size: .72rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: #FFC00E; margin-bottom: 10px;
}

.vtw-offers-card h2 {
  margin: 0 0 10px;
  font-size: 1.45rem; line-height: 1.25; font-weight: 700;
  color: #FFFFFF; letter-spacing: -.01em;
}

.vtw-offers-card > p {
  margin: 0 0 18px;
  font-size: .93rem; line-height: 1.6; color: #A9A196;
}

.vtw-offers-form { display: grid; gap: 10px; }

.vtw-offers-form input[type="email"],
.vtw-offers-form input[type="tel"] {
  width: 100%; box-sizing: border-box;
  padding: 12px 14px;
  background: #0C0C0D;
  border: 1px solid #2E2C29;
  border-radius: 9px;
  color: #ECE7DF; font-size: .95rem;
  font-family: inherit;
  transition: border-color .16s, box-shadow .16s;
}
.vtw-offers-form input::placeholder { color: #6B645B; }
.vtw-offers-form input:focus {
  outline: none;
  border-color: #FFC00E;
  box-shadow: 0 0 0 3px rgba(255, 192, 14, .16);
}

.vtw-offers-go {
  margin-top: 4px; padding: 13px 18px;
  background: #FFC00E; color: #0A0A0B;
  border: 0; border-radius: 9px;
  font-size: .96rem; font-weight: 700; font-family: inherit;
  cursor: pointer;
  transition: background .16s, transform .16s;
}
.vtw-offers-go:hover:not(:disabled) { background: #FFD24A; transform: translateY(-1px); }
.vtw-offers-go:disabled { opacity: .6; cursor: progress; transform: none; }

.vtw-offers-err {
  margin: 2px 0 0; min-height: 1.1em;
  font-size: .83rem; color: #FF8A73;
}
.vtw-offers-fine {
  margin: 6px 0 0;
  font-size: .78rem; line-height: 1.5; color: #6B645B;
}

.vtw-offers-done { padding: 6px 0 2px; }
.vtw-offers-done b { display: block; margin-bottom: 6px; color: #FFC00E; font-size: 1.05rem; }
.vtw-offers-done p { margin: 0; font-size: .92rem; line-height: 1.6; color: #A9A196; }
.vtw-offers-done a { color: #FFC00E; font-weight: 600; text-decoration: none; }

/* Hidden from people, irresistible to form bots. */
.vtw-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.vtw-sr {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
