/* UPKEEP Pink Friday notify landing page. Layout and palette follow
   the official Pink Friday 2026 ad creative. Kept small so the ad
   lander stays fast. */

:root {
  --font-script: 'Great Vibes', 'Pinyon Script', cursive;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Switzer', 'Helvetica Neue', sans-serif;
  --color-bg: #2c2c30;
  --color-bg-deep: #232326;
  --color-surface: #1f1f23;
  --color-border: rgba(232, 196, 196, 0.32);
  --color-text: #f4ece8;
  --color-text-muted: rgba(244, 236, 232, 0.78);
  --color-text-faint: rgba(244, 236, 232, 0.58);
  --color-script: #f0d4d6;
  --color-accent: #e8c4c4;
  --color-accent-hover: #f0d2d2;
  --color-copper: #c4a08c;
  --gutter: clamp(1rem, 3.6vw, 2rem);
  --header-h: 56px;
}

html, body { background: var(--color-bg); color: var(--color-text); }
body {
  font-family: var(--font-body);
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  padding-bottom: var(--upkeep-consent-offset, 0px);
  box-sizing: border-box;
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--color-accent); color: #1a1414;
  padding: 0.5rem 1rem; z-index: 200;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.lp-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(35, 35, 38, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}
.lp-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 0.75rem; height: 100%;
  max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter);
}
.lp-header__logo img { height: 16px; width: auto; }
.lp-header__links { display: flex; align-items: center; gap: 1rem; }
.lp-header__links a {
  font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--color-text-muted); text-decoration: none;
}
.lp-header__links a:hover { color: var(--color-accent); }

/* ===== Layout ===== */
.pf-shell {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.pf-photo {
  position: relative;
  flex: 0 0 auto;
  height: auto;
  overflow: hidden;
  background: var(--color-bg-deep);
  /* After the form on mobile so the sack, unicorn, and
     full figure are clearly visible on scroll. */
}
.pf-photo picture,
.pf-photo__img {
  display: block;
  width: 100%;
  height: auto;
}
.pf-photo__img {
  object-fit: contain;
  object-position: center bottom;
}

.pf-copy {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 0.55rem var(--gutter) 0.7rem;
}


.pf-title {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.15em 0.4em;
  margin: 0 0 0.45rem;
  line-height: 0.9;
}
.pf-title__script {
  font-family: var(--font-script);
  font-weight: 400;
  font-size: clamp(2.8rem, 13vw, 5.2rem);
  color: var(--color-script);
  letter-spacing: 0.01em;
}
.pf-title__date {
  font-family: var(--font-script);
  font-weight: 400;
  font-size: clamp(1.7rem, 7vw, 2.6rem);
  color: var(--color-script);
  position: relative;
  top: -0.08em;
  white-space: nowrap;
}

.pf-kicker {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 1.05rem;
  color: var(--color-text-muted);
  margin: 0 0 0.25rem;
}
.pf-offer {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(0.95rem, 2.8vw, 1.15rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text);
  margin: 0 0 0.45rem;
  line-height: 1.4;
}
.pf-lede {
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--color-text-muted);
  margin: 0 0 0.6rem;
  max-width: 28rem;
}

/* ===== Form ===== */
.lp-form, .lp-thanks { max-width: 420px; width: 100%; }
.lp-field { display: block; margin: 0 0 0.45rem; }
.lp-field span {
  display: block; font-size: 0.65rem; letter-spacing: 0.14em;
  text-transform: uppercase; margin-bottom: 0.28rem; color: var(--color-text-muted);
}
.lp-field input {
  width: 100%; box-sizing: border-box;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text);
  border-radius: 0; font-size: 1rem;
}
.lp-field input:focus { outline: 2px solid var(--color-accent); outline-offset: 1px; }
.lp-field input::placeholder { color: var(--color-text-faint); }
.lp-hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.lp-consent {
  display: flex; align-items: flex-start; gap: 0.55rem;
  margin: 0.5rem 0 0.65rem;
  font-size: 0.72rem; line-height: 1.45; color: var(--color-text-faint);
}
.lp-consent input { margin-top: 0.15rem; flex-shrink: 0; }
.lp-consent a { color: var(--color-accent); text-decoration: underline; text-underline-offset: 2px; }
.lp-cta {
  display: block; width: 100%; box-sizing: border-box;
  min-height: 46px; padding: 0.8rem 1.15rem;
  background: var(--color-accent); color: #2a1f1f;
  border: 1px solid var(--color-accent);
  font-family: var(--font-body); font-size: 0.74rem; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; cursor: pointer;
  text-align: center; text-decoration: none;
}
.lp-cta:hover, .lp-cta:focus-visible { background: var(--color-accent-hover); }
.lp-cta[disabled] { opacity: 0.6; cursor: default; }
.lp-status { min-height: 1.2em; margin: 0.45rem 0 0; font-size: 0.8rem; }
.lp-status.is-error { color: #f0b4b4; }

.lp-thanks h2 {
  font-family: var(--font-script);
  font-weight: 400;
  font-size: clamp(2.2rem, 8vw, 3.2rem);
  color: var(--color-script);
  margin: 0 0 0.6rem;
  line-height: 1;
}
.lp-thanks p { color: var(--color-text-muted); margin: 0 0 1.1rem; font-family: var(--font-display); font-size: 1.05rem; }

.pf-legal { display: none; }
@media (min-width: 800px) {
  .pf-legal {
    display: block;
    margin: 0.65rem 0 0;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-faint);
  }
  .pf-legal a { color: var(--color-text-muted); text-decoration: none; }
  .pf-legal a:hover { color: var(--color-accent); }
}

.lp-footer {
  border-top: 1px solid var(--color-border);
  padding: 0.7rem var(--gutter) 0.85rem;
  text-align: center; font-size: 0.7rem; color: var(--color-text-faint);
  letter-spacing: 0.06em;
}
.lp-footer nav {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 0.35rem 0.25rem; margin-bottom: 0.35rem;
}
.lp-footer a { color: var(--color-text-muted); text-decoration: none; }
.lp-footer a:hover { color: var(--color-accent); }
.lp-footer__sep { color: var(--color-text-faint); padding: 0 0.45rem; }

@media (min-width: 800px) {
  :root { --header-h: 64px; }
  .lp-header__logo img { height: 18px; }

  .pf-shell {
    flex-direction: row;
    align-items: stretch;
    min-height: calc(100dvh - var(--header-h) - var(--upkeep-consent-offset, 0px));
    height: calc(100dvh - var(--header-h) - var(--upkeep-consent-offset, 0px));
    overflow: hidden;
  }
  .pf-copy {
    flex: 1 1 52%;
    justify-content: center;
    padding: 1.25rem 3rem 1.5rem clamp(1.5rem, 5vw, 4.5rem);
    max-width: 640px;
    min-height: 0;
    overflow: auto;
  }
  .pf-photo {
    flex: 1 1 48%;
    order: 2;
    height: auto;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .pf-photo picture,
  .pf-photo__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }
  .pf-photo__img {
    object-fit: contain;
    object-position: center center;
  }

  .pf-title__script { font-size: clamp(4.4rem, 6.6vw, 6.6rem); }
  .pf-title__date { font-size: clamp(2.2rem, 3.2vw, 3.1rem); }
  .pf-kicker { font-size: 1.25rem; }
  .pf-offer { font-size: 1.15rem; letter-spacing: 0.14em; margin-bottom: 1rem; }
  .pf-lede { font-size: 0.95rem; margin-bottom: 1.15rem; }
  .lp-field { margin-bottom: 0.55rem; }
  .lp-field input { padding: 0.65rem 0.85rem; }
  .lp-footer { padding: 0.85rem var(--gutter) 1rem; }
}

/* Cookie consent banner styles (normally in style.css). Inlined here
   so these ad landers can stay off the full stylesheet and still
   show a fixed, usable banner. */
#upkeep-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  background: #1a1a1a;
  color: #f4ece4;
  border-top: 1px solid rgba(212, 160, 144, 0.4);
  box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.3);
  font-family: inherit;
  animation: upkeepConsentSlideUp 0.32s ease-out;
}
@keyframes upkeepConsentSlideUp {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}
#upkeep-consent-banner .upkeep-consent__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
#upkeep-consent-banner .upkeep-consent__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  flex: 1 1 320px;
  color: #f4ece4;
}
#upkeep-consent-banner .upkeep-consent__text a {
  color: #d4a090;
  text-decoration: underline;
}
#upkeep-consent-banner .upkeep-consent__text a:hover,
#upkeep-consent-banner .upkeep-consent__text a:focus {
  color: #e8b8a8;
}
#upkeep-consent-banner .upkeep-consent__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
#upkeep-consent-banner .upkeep-consent__btn {
  font-family: inherit;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 11px 22px;
  border: 1px solid transparent;
  border-radius: 0;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
#upkeep-consent-banner .upkeep-consent__btn--primary {
  background: #d4a090;
  color: #1a1a1a;
  border-color: #d4a090;
}
#upkeep-consent-banner .upkeep-consent__btn--primary:hover,
#upkeep-consent-banner .upkeep-consent__btn--primary:focus {
  background: #c89084;
  border-color: #c89084;
  outline: none;
}
#upkeep-consent-banner .upkeep-consent__btn--secondary {
  background: transparent;
  color: #f4ece4;
  border-color: rgba(244, 236, 228, 0.4);
}
#upkeep-consent-banner .upkeep-consent__btn--secondary:hover,
#upkeep-consent-banner .upkeep-consent__btn--secondary:focus {
  background: rgba(244, 236, 228, 0.08);
  border-color: rgba(244, 236, 228, 0.7);
  outline: none;
}
@media (max-width: 640px) {
  #upkeep-consent-banner .upkeep-consent__inner {
    padding: 14px 18px;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    height: auto;
  }
  /* The shared rule uses flex: 1 1 320px so the text can share a
     horizontal row on desktop. In a stacked column that basis
     becomes a 320px height and swallows the form. */
  #upkeep-consent-banner .upkeep-consent__text {
    flex: 0 1 auto;
  }
  #upkeep-consent-banner .upkeep-consent__actions {
    justify-content: stretch;
    width: 100%;
  }
  #upkeep-consent-banner .upkeep-consent__btn {
    flex: 1 1 auto;
    min-height: 44px;
  }
}
