.grube-kpg {
--grube-kpg-navy: #11152f;
--grube-kpg-violet: #7836b6;
--grube-kpg-violet-dark: #57268f;
--grube-kpg-ink: #151a32;
--grube-kpg-muted: #656c7d;
--grube-kpg-border: #dce0eb;
--grube-kpg-white: #fff;
position: fixed;
inset: 0;
z-index: 2147482000;
display: flex;
align-items: flex-end;
justify-content: flex-end;
padding: 22px;
pointer-events: none;
font-family: inherit;
color: var(--grube-kpg-ink);
line-height: 1.45;
box-sizing: border-box;
}
.grube-kpg[hidden],
.grube-kpg [hidden] { display: none !important; }
.grube-kpg *,
.grube-kpg *::before,
.grube-kpg *::after { box-sizing: border-box; }
.grube-kpg__card {
display: flex;
flex-direction: column;
width: min(400px, 100%);
max-height: calc(100dvh - 44px);
border: 1px solid rgba(102, 90, 159, .16);
border-radius: 18px;
overflow-x: hidden;
overflow-y: auto;
overscroll-behavior: contain;
scrollbar-width: thin;
background: var(--grube-kpg-white);
box-shadow: 0 20px 70px rgba(12, 13, 39, .24), 0 4px 18px rgba(12, 13, 39, .08);
pointer-events: auto;
text-align: left;
isolation: isolate;
animation: grube-kpg-in .35s cubic-bezier(.22,.65,.2,1) both;
}
.grube-kpg__hero {
position: relative;
flex: none;
isolation: isolate;
overflow: hidden;
padding: 26px 25px 20px;
background: radial-gradient(ellipse 75% 70% at 110% 100%, rgba(156, 54, 203, .75), transparent 76%),
radial-gradient(ellipse 90% 80% at 35% -45%, rgba(69, 60, 156, .56), transparent 95%),
linear-gradient(133deg, #0e1836 0%, #16153b 55%, #3d1a70 100%);
color: #fff;
}
.grube-kpg__hero::after {
content: '';
position: absolute;
z-index: -1;
right: -56px;
bottom: -88px;
width: 250px;
height: 180px;
border: 24px solid rgba(191, 78, 219, .17);
border-radius: 52% 44% 44% 58%;
transform: rotate(-28deg);
filter: blur(2px);
pointer-events: none;
}
.grube-kpg__eyebrow {
display: flex;
align-items: center;
gap: 9px;
padding-right: 44px;
color: #d9c1ff;
font-size: 10px;
font-weight: 700;
letter-spacing: .115em;
line-height: 1.5;
text-transform: uppercase;
}
.grube-kpg__eyebrow svg { flex: none; color: #ac70e7; }
.grube-kpg__close {
position: absolute;
top: 15px;
right: 15px;
display: grid;
place-items: center;
width: 40px;
height: 40px;
padding: 0;
color: #fff;
background: rgba(255, 255, 255, .09);
border: 1px solid rgba(255, 255, 255, .15);
border-radius: 50%;
cursor: pointer;
line-height: 1;
transition: background .2s ease;
}
.grube-kpg__close:hover { background: rgba(255, 255, 255, .22); }
.grube-kpg__close:focus-visible,
.grube-kpg a:focus-visible,
.grube-kpg input:focus-visible,
.grube-kpg textarea:focus-visible,
.grube-kpg select:focus-visible,
.grube-kpg button:focus-visible {
outline: 3px solid #b572f4;
outline-offset: 2px;
}
.grube-kpg__hero h2 {
margin: 17px 0 8px;
padding: 0;
color: #fff;
font-family: inherit;
font-weight: 750;
font-size: clamp(25px, 3.2vw, 29px);
line-height: 1.12;
letter-spacing: -.037em;
text-transform: none;
}
.grube-kpg__hero p {
padding: 0;
color: #d5d5eb;
font-size: 13px;
line-height: 1.5;
}
.grube-kpg__hero #grube-kpg-description { margin: 0 0 14px; max-width: 315px; }
.grube-kpg__hours {
display: flex;
align-items: center;
gap: 8px;
margin: 0;
font-weight: 550;
}
.grube-kpg__hours svg { flex: none; color: #d7bbff; }
.grube-kpg__content {
flex: 1 0 auto;
display: flex;
flex-direction: column;
min-height: 0;
background: #fff;
}
.grube-kpg__form { display: grid; gap: 14px; padding: 22px 24px 17px; margin: 0; }
.grube-kpg__field { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.grube-kpg__field label {
display: block;
margin: 0;
padding: 0;
font-size: 12px;
font-weight: 700;
line-height: 1.45;
color: var(--grube-kpg-ink);
}
.grube-kpg__required { color: #8d3cc3; }
.grube-kpg__optional { color: var(--grube-kpg-muted); font-weight: 400; }
.grube-kpg__field input,
.grube-kpg__field textarea,
.grube-kpg__field select {
width: 100%;
min-width: 0;
margin: 0;
padding: 11px 12px;
background: #fff;
color: var(--grube-kpg-ink);
border: 1px solid var(--grube-kpg-border);
border-radius: 8px;
box-shadow: none;
font: inherit;
font-weight: 450;
font-size: 14px;
line-height: 1.4;
-webkit-appearance: none;
appearance: none;
transition: border-color .15s ease, box-shadow .15s ease;
}
.grube-kpg__field input { min-height: 43px; }
.grube-kpg__field textarea { min-height: 67px; resize: vertical; }
.grube-kpg__field select { min-height: 43px; padding-right: 37px; cursor: pointer; }
.grube-kpg__field input::placeholder,
.grube-kpg__field textarea::placeholder { color: #9298aa; opacity: 1; }
.grube-kpg__field input:focus,
.grube-kpg__field textarea:focus,
.grube-kpg__field select:focus {
border-color: #8d53ce;
box-shadow: 0 0 0 3px rgba(141, 83, 206, .12);
}
.grube-kpg__select-wrap { position: relative; }
.grube-kpg__select-wrap svg {
position: absolute;
right: 12px;
top: 50%;
transform: translateY(-50%);
color: #8b63b0;
pointer-events: none;
}
.grube-kpg__honeypot {
position: absolute !important;
left: -10000px !important;
top: auto !important;
width: 1px !important;
height: 1px !important;
overflow: hidden !important;
}
.grube-kpg__consent {
display: flex;
align-items: flex-start;
gap: 9px;
margin: 0;
font-size: 11.5px;
line-height: 1.5;
font-weight: 400;
color: #60687a;
cursor: pointer;
}
.grube-kpg__consent input[type="checkbox"] {
flex: none;
width: 16px;
height: 16px;
min-height: 0;
margin: 1px 0 0;
padding: 0;
accent-color: #6b329c;
appearance: auto;
-webkit-appearance: checkbox;
cursor: pointer;
}
.grube-kpg__consent a,
.grube-kpg__bottom a {
color: var(--grube-kpg-violet-dark);
text-decoration: underline;
text-underline-offset: 2px;
font-weight: 650;
}
.grube-kpg__info {
margin: -6px 0 0;
padding: 0;
font-size: 10.5px;
line-height: 1.5;
text-align: left;
color: #7d8495;
}
.grube-kpg__message {
padding: 10px 12px;
margin: 0;
border: 1px solid #efd5d5;
border-radius: 8px;
background: #fff7f6;
color: #8f2323;
font-size: 12px;
line-height: 1.5;
}
.grube-kpg__submit,
.grube-kpg__done {
display: flex;
justify-content: center;
align-items: center;
gap: 12px;
width: 100%;
min-height: 47px;
margin: 0;
padding: 12px 16px;
color: #fff;
background: linear-gradient(110deg, #502d9c, #823dc0);
border: 0;
border-radius: 8px;
box-shadow: 0 5px 15px rgba(89, 46, 152, .16);
font: inherit;
font-size: 14px;
font-weight: 700;
text-align: center;
text-decoration: none;
cursor: pointer;
transition: filter .18s ease, transform .18s ease;
}
.grube-kpg__submit:hover,
.grube-kpg__done:hover { filter: brightness(1.07); transform: translateY(-1px); }
.grube-kpg__submit[disabled] { cursor: wait; opacity: .72; transform: none; }
.grube-kpg__bottom {
margin-top: auto;
padding: 13px 20px 15px;
border-top: 1px solid #eef0f6;
text-align: center;
color: #6c7283;
font-size: 11.5px;
line-height: 1.5;
}
.grube-kpg__success {
padding: 38px 26px 35px;
text-align: center;
}
.grube-kpg__success-icon {
display: grid;
place-items: center;
width: 62px;
height: 62px;
margin: 0 auto 16px;
border-radius: 50%;
background: #f1e9fb;
color: #652da1;
font-size: 32px;
font-weight: 700;
}
.grube-kpg__success h3 { margin: 0 0 10px; color: #171b32; font: inherit; font-size: 22px; font-weight: 750; }
.grube-kpg__success p { margin: 0 0 22px; color: #6c7283; font-size: 14px; line-height: 1.55; }
@keyframes grube-kpg-in {
from { transform: translateY(17px); opacity: 0; }
to { transform: translateY(0); opacity: 1; }
}
@media (max-width: 767px) {
.grube-kpg {
display: block;
inset: 0;
padding: 0;
background: #fff;
pointer-events: auto;
}
.grube-kpg__card {
width: 100%;
max-width: none;
height: 100vh;
height: 100dvh;
max-height: none;
border: 0;
border-radius: 0;
box-shadow: none;
animation: grube-kpg-mobile-in .27s ease-out both;
}
.grube-kpg__hero { padding: calc(30px + env(safe-area-inset-top, 0px)) 24px 24px; }
.grube-kpg__hero h2 { font-size: clamp(27px, 8vw, 34px); margin-top: 19px; }
.grube-kpg__hero p { font-size: 13px; }
.grube-kpg__eyebrow { font-size: 10px; }
.grube-kpg__close {
position: fixed;
z-index: 2;
right: 16px;
top: calc(17px + env(safe-area-inset-top, 0px));
background: #271d4f;
border: 1px solid rgba(255, 255, 255, .2);
}
.grube-kpg__form { padding: 22px 23px 17px; gap: 15px; }
.grube-kpg__field input,
.grube-kpg__field textarea,
.grube-kpg__field select { font-size: 16px; }
.grube-kpg__bottom { padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 360px) {
.grube-kpg__hero { padding-left: 19px; padding-right: 19px; }
.grube-kpg__form { padding-left: 19px; padding-right: 19px; }
}
@keyframes grube-kpg-mobile-in {
from { opacity: 0; }
to { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
.grube-kpg__card { animation: none; }
.grube-kpg__submit,
.grube-kpg__done,
.grube-kpg__close { transition: none; }
}