/* === DOCK COOKIES LANDING - PAPER STYLE === */
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@500;700&display=swap');

/* ============================================
   BASE
   ============================================ */

.campaign-cookies {
  justify-content: center;
  align-items: center;
  display: flex;
  min-height: 100vh;
  margin: 0;
  padding: 40px 24px;
  background: #F5EEE6;
  position: relative;
  overflow: hidden;
  font-family: 'Roobert', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  box-sizing: border-box;
}

/* ============================================
   LAYOUT
   ============================================ */

.campaign-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 480px;
  gap: 0;
  position: relative;
  z-index: 1;
  padding: 0;
}

.campaign-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* The wrapper div that contains form + legal + img */
.campaign-main > div:not(.campaign-content) {
  width: 100%;
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

.campaign-form {
  width: 100%;
  flex-shrink: 0;
}

/* Webflow resets */
.w-form { margin: 0; }
.w-form-done, .w-form-fail { display: none; }
.w-input { display: block; width: 100%; }
.w-button {
  display: inline-block;
  line-height: inherit;
  text-decoration: none;
  -webkit-appearance: button;
}

/* ============================================
   COOKIE CURSOR - CTA hover only
   ============================================ */

.campaign-cookies .w-button:hover,
.campaign-cookies input[type="submit"]:hover {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 100 100'%3E%3Cpath d='M96 50a46 46 0 1 1-46-46c1 0 2 0 3 .1C48 8 44 14 44 20c0 8 6 14 14 14 5 0 9-2 12-6 2 5 7 9 13 9 3 0 5-1 7-2a46 46 0 0 1 6 15z' fill='url(%23crumb2)'/%3E%3Cdefs%3E%3CradialGradient id='crumb2' cx='40%25' cy='35%25' r='60%25'%3E%3Cstop offset='0%25' stop-color='%23EDAF4A'/%3E%3Cstop offset='100%25' stop-color='%23C07E1C'/%3E%3C/radialGradient%3E%3C/defs%3E%3Ccircle cx='35' cy='35' r='7' fill='%234A2C0A'/%3E%3Ccircle cx='55' cy='55' r='7' fill='%234A2C0A'/%3E%3Ccircle cx='30' cy='65' r='6' fill='%234A2C0A'/%3E%3Ccircle cx='65' cy='72' r='5' fill='%234A2C0A'/%3E%3Ccircle cx='42' cy='78' r='4' fill='%234A2C0A'/%3E%3Ccircle cx='72' cy='50' r='5' fill='%234A2C0A'/%3E%3C/svg%3E") 16 16, pointer;
}

/* ============================================
   TOP CONTENT
   ============================================ */

.campaign-content .w-embed {
  margin-bottom: clamp(16px, 1.5vw, 24px);
}

.campaign-content .w-embed svg {
  width: clamp(72px, 5vw, 96px);
  height: auto;
}

.campaign-content h1 {
  font-family: 'Roobert', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: clamp(40px, 3.6vw, 64px) !important;
  font-weight: 800 !important;
  line-height: 1.02 !important;
  color: #121722 !important;
  margin-bottom: clamp(8px, 0.6vw, 12px) !important;
  margin-top: 0 !important;
  letter-spacing: -0.025em !important;
  text-align: center !important;
}

.campaign-text {
  font-family: 'Caveat', cursive !important;
  font-size: clamp(20px, 1.4vw, 26px) !important;
  font-weight: 500 !important;
  line-height: 1.3 !important;
  color: #4058FF !important;
  margin-top: 0 !important;
  margin-bottom: clamp(24px, 2vw, 36px) !important;
  text-align: center !important;
  transform: rotate(-0.8deg);
}

/* ============================================
   COOKIE IMAGE - fills wrapper height, behind form
   ============================================ */

.campaign-main > div:not(.campaign-content) > img {
  position: absolute !important;
  right: -40px;
  bottom: 34px;
  height: 90% !important;
  width: auto !important;
  object-fit: contain;
  object-position: right bottom;
  z-index: 0;
  filter: drop-shadow(0 8px 24px rgba(60, 40, 15, 0.12));
  pointer-events: none;
  transform: translateX(60%);
  order: 2;
}

/* ============================================
   FORM - paper style
   ============================================ */

.campaign-form {
  background: #fff;
  border-radius: 0;
  padding: 36px 40px;
  box-shadow: none;
  border: none;
  position: relative;
  z-index: 2;
  order: 1;
}

/* Labels - bumped size */
.campaign-form label {
  font-size: 13px;
  font-weight: 600;
  color: #999;
  margin-bottom: 2px;
  display: block;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Inputs */
.w-input {
  border: none;
  border-bottom: 1.5px solid #E0DAD2;
  border-radius: 0;
  padding: 0 0 8px 0;
  font-size: 18px !important;
  height: auto;
  line-height: 1.5;
  color: #1A1A2E;
  background-color: transparent;
  margin-bottom: 28px;
  transition: border-color 0.2s ease;
  font-family: inherit;
  box-sizing: border-box;
}

.w-input:hover {
  border-bottom-color: #C8C0B6;
}

.w-input:focus {
  border-bottom-color: #4058FF;
  box-shadow: none;
  background-color: transparent;
  outline: none;
}

.w-input::placeholder {
  color: #C8C0B6;
}

/* Submit button - bumped text size */
.w-button {
  background-color: #4058FF;
  color: #fff;
  border: 0;
  border-radius: 0;
  padding: 16px 32px;
  font-size: 17px;
  font-weight: 600;
  width: 100%;
  transition: all 0.2s ease;
  font-family: inherit;
  letter-spacing: 0.02em;
  margin-top: 8px;
  position: relative;
  overflow: hidden;
  box-shadow: none;
  box-sizing: border-box;
}

.w-button:hover {
  background-color: #3348E0;
}

.w-button:active {
  background-color: #2C3FCC;
}

/* "No spam. Just cookies." - inside form */
.campaign-text-small {
  font-family: 'Caveat', cursive !important;
  font-size: 18px !important;
  color: #8C8279 !important;
  text-align: center !important;
  margin-top: 20px !important;
  margin-bottom: 0 !important;
}

/* Legal text (anonymous div between form and img) */
.campaign-main > div:not(.campaign-content) > div:not(.campaign-form) {
  font-size: 11px;
  color: #A09890;
  text-align: center;
  margin-top: 16px;
  line-height: 1.5;
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
  order: 3;
}

/* ============================================
   SUCCESS / ERROR
   ============================================ */

.w-form-done {
  background-color: #fff;
  border: none;
  border-radius: 0;
  padding: 48px 40px;
  color: #121722;
  font-weight: 400;
  text-align: center;
  font-size: 15px;
  line-height: 1.6;
}

/* Success message text */
.w-form-done > div {
  font-size: 18px;
  font-weight: 600;
  color: #121722;
  line-height: 1.5;
  margin-bottom: 24px;
}

/* CTA link */
.w-form-done > a {
  display: inline-block;
  background-color: #F5EEE6;
  color: #4058FF;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 28px;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.w-form-done > a:hover {
  background-color: #EDE5DB;
}

.w-form-fail {
  background-color: #FFF5F0;
  border: none;
  border-radius: 0;
  padding: 12px 16px;
  color: #A0402A;
  font-size: 14px;
}

/* ============================================
   MOBILE
   ============================================ */

@media (max-width: 768px) {
  .campaign-cookies {
    padding: 32px 16px;
  }
  .campaign-main {
    width: 100%;
  }
  .campaign-content h1 {
    font-size: 36px !important;
  }
  .campaign-text {
    transform: none;
  }
  .campaign-main > div:not(.campaign-content) > img {
    display: none !important;
  }
  .campaign-main > div:not(.campaign-content) {
    flex-direction: column;
  }
  .campaign-form {
    padding: 28px 20px;
  }
}
