/* Non-critical styles shared by every website page; loaded without blocking render. */

:root {
  --winter-gold: #c5a36e;
  --background: #f7f4ed;
  --surface: #fcfaf6;
  --main-background: #f2ede4;
  --muted-background: #f2ede4;
  --border: #e2dbd0;
}

/* A light, full-page wallpaper: the site's sections stay transparent over the same warm canvas. */
body { position: relative; isolation: isolate; background: var(--background); }


body header.site { background: transparent; }
body footer.site { position: relative; isolation: isolate; overflow: hidden; border-top: 2px solid var(--winter-gold); }
body footer.site::before { content: none; }
.fgrid,footer.site .legal { position: relative; z-index: 1; }
body .legalpage { background: transparent; }
body .legalpage::before { content: none; }
body .hero, body .benefits, body .approach, body .product-section, body .sec--tinted, body .faq { background: transparent; }

nav.main a,.fgrid a,.text-link,.tlink { position: relative; text-decoration: none; }
nav.main a::after,.fgrid a::after,.text-link::after,.tlink::after {
  content: ""; position: absolute; right: 0; bottom: -4px; left: 0; height: var(--line-width); background: currentColor;
  transform: scaleX(0); transform-origin: left center; transition: transform .32s cubic-bezier(.16,1,.3,1);
}
nav.main a:hover::after,nav.main a:focus-visible::after,.fgrid a:hover::after,.fgrid a:focus-visible::after,
.text-link:hover::after,.text-link:focus-visible::after,.tlink:hover::after,.tlink:focus-visible::after { transform: scaleX(1); }
.text-link .icon-arrow,.btn .icon-arrow { transition: transform .26s cubic-bezier(.16,1,.3,1); }
.text-link:hover .icon-arrow,.btn:hover .icon-arrow { transform: none; }
.faq__toggle { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 20px; height: 20px; color: var(--main); transition: color .2s ease,transform .24s cubic-bezier(.16,1,.3,1); }
.faq__toggle svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.faq__toggle-vertical { transform-box: fill-box; transform-origin: center; transition: transform .24s cubic-bezier(.2,.8,.2,1),opacity .18s ease; }
details[open] .faq__toggle-vertical { transform: scaleY(0); opacity: 0; }
summary:hover .faq__toggle { color: var(--main); }
.legalfaq { margin-top: 28px; border-top: var(--line-width) solid var(--border); }
.legalfaq details { border-bottom: var(--line-width) solid var(--border); }
.legalfaq summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 17px 0; list-style: none; cursor: pointer; font-size: 15px; font-weight: 650; }
.legalfaq summary::-webkit-details-marker { display: none; }
.legalfaq details > p { padding: 0 34px 18px 0; color: var(--secondary-text); font-size: 14px; line-height: 1.7; animation: answer-arrive .24s cubic-bezier(.16,1,.3,1) both; }
.acc details[open] > div { animation: answer-arrive .24s cubic-bezier(.16,1,.3,1) both; }
@keyframes answer-arrive { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.coh .secure svg,.usps li i svg { transition: none; }
.ok svg path { stroke-dasharray: 28; stroke-dashoffset: 28; animation: icon-draw .65s .12s cubic-bezier(.16,1,.3,1) forwards; }
@keyframes icon-draw { to { stroke-dashoffset: 0; } }

.btn.ghost:hover {
  background: var(--muted-background);
}

.paylogos {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}

.paylogos span {
  padding: 3px 8px;
  border: var(--line-width) solid var(--border);
  border-radius: 5px;
  background: var(--surface);
  font-size: 11px;
  font-weight: 700;
  color: var(--secondary-text);
}

footer.site {
  margin-top: 40px;
  background: var(--main);
  color: color-mix(in srgb, var(--light-text) 85%, var(--main));
}

.fgrid {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) minmax(150px, .65fr) minmax(260px, 1fr);
  gap: 48px;
  padding-block: 34px 28px;
  font-size: 13px;
}

.fgrid .logo {
  display: inline-flex;
  font-size: 14px;
  color: var(--light-text);
}
.fgrid .logo::after { content: none; }
.fgrid .logo > span { font-size: 26px; }
.fgrid .logo-img { max-width: 130px; max-height: 34px; width: auto; height: auto; }
.fgrid a:focus-visible,.legal button:focus-visible { outline: 2px solid var(--light-text); outline-offset: 5px; border-radius: 2px; }
/* The footer is dark: show an uploaded logo as a light silhouette. */
.fgrid .logo-img { filter: brightness(0) invert(1); }

.fgrid__about {
  max-width: 27ch;
  margin-top: 12px;
  line-height: 1.65;
}

.fgrid h4 {
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .01em;
  color: var(--light-text);
}

.fgrid ul {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fgrid a { display: inline-flex; align-items: center; min-height: 32px; text-decoration: none; }
.fgrid .footer-brand__links {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  column-gap: 24px;
  margin-top: 14px;
}
@media (max-width: 850px) {
  .fgrid .footer-brand__links { display: flex; flex-direction: row; flex-wrap: wrap; gap: 0 24px; }
}
footer.site .fgrid a:not(.logo)::after {
  top: calc(50% + .6em + 3px);
  bottom: auto;
}

.legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px 24px;
  padding-block: 14px 18px;
  border-top: var(--line-width) solid color-mix(in srgb, var(--light-text) 20%, transparent);
  font-size: 11px;
  line-height: 1.6;
  color: color-mix(in srgb, var(--light-text) 78%, var(--main));
}
.legal > span:first-child { flex: 1; }
.legal button { min-height: 32px; padding: 0; border: 0; background: transparent; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.legal button:hover { color: var(--light-text); }
@media (max-width: 850px) { .fgrid { grid-template-columns: 1fr 1fr; gap: 24px 32px; } .footer-brand { grid-column: 1 / -1; } .fgrid__about { max-width: 44ch; } }
@media (max-width: 520px) { .fgrid { gap: 24px 20px; padding-block: 28px 20px; } .fgrid a { min-height: 44px; } .fgrid h4 { margin-bottom: 4px; } .legal > span:first-child { flex-basis: 100%; } .legal { gap: 4px 18px; } .legal button { margin-left: auto; min-height: 44px; } }

.stickyco {
  display: flex;
  align-items: center;
  gap: 14px;
  position: fixed;
  z-index: 25;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 12px 14px calc(12px + env(safe-area-inset-bottom, 0px));
  border-top: var(--line-width) solid var(--border);
  background: color-mix(in srgb, var(--surface) 97%, transparent);
  box-shadow: 0 -10px 30px -18px rgba(0, 0, 0, .45);
  backdrop-filter: blur(8px);
  transform: translateY(110%);
  transition: transform .25s;
}

.stickyco.on { transform: none; }
.stickyco:not(.on) { visibility: hidden; }

.stickyco .i {
  flex: 1;
  min-width: 0;
}

.stickyco .i > b {
  display: block;
  overflow: hidden;
  font-size: 16px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stickyco .i small {
  font-size: 14px;
  color: var(--muted-text);
}

.stickyco .i small b { color: var(--success); }

.stickyco .scbtn {
  min-width: 150px;
  min-height: 58px;
  padding: 0 20px;
  border-radius: var(--radius-pill);
  font-size: 14px;
}

.cookie {
  position: fixed;
  z-index: 80;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  left: 16px;
  max-width: 720px;
  margin-inline: auto;
  padding: 18px 20px;
  border: var(--line-width) solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .18);
}

.ck-in {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 18px;
}

.ck-t {
  flex: 1;
  min-width: 240px;
  font-size: 13.5px;
  color: var(--secondary-text);
}

.ck-t b {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
  color: var(--main-text);
}

.ck-opts {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 10px;
}

.ck-opts label {
  display: flex;
  align-items: center;
  gap: 6px;
}

.ck-b {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.toast {
  position: fixed;
  z-index: 95;
  top: calc(80px + env(safe-area-inset-top, 0px));
  left: 50%;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  background: var(--main-text);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .2);
  font-size: 14px;
  color: var(--light-text);
  transform: translateX(-50%);
}

@media (max-width: 980px) {
  body.sticky-pad { padding-bottom: calc(90px + env(safe-area-inset-bottom, 0px)); }
  body.sticky-pad .cookie { bottom: calc(98px + env(safe-area-inset-bottom, 0px)); }
}

@media (min-width: 981px) {
  .stickyco { display: none; }
}

@media (max-width: 760px) {
  .fgrid { grid-template-columns: 1fr 1fr; gap: 26px 18px; padding-block: 34px; }
  .fgrid > div:first-child { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  .btn::after { display: none; animation: none; }
  nav.main a::after,.fgrid a::after,.text-link::after,.tlink::after,.text-link .icon-arrow,.btn .icon-arrow,.faq__toggle-vertical,.coh .secure svg,.usps li i svg { transition: none; }
  .legalfaq details > p,.acc details[open] > div { animation: none; }
  .ok svg path { animation: none; stroke-dashoffset: 0; }
}

/* Decorations are anchored to the document and scroll with its content. */
body::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .085; background:
    url("./assets/christmas/winter-snowflake-1.svg") 12% 110px / 64px no-repeat,
    url("./assets/christmas/winter-snowflake-rotated-15.svg") 58% 48px / 36px no-repeat,
    url("./assets/christmas/winter-snowflake-rotated-30.svg") 88% 35% / 56px no-repeat,
    url("./assets/christmas/winter-snowflake-rotated-45.svg") 29% 76% / 44px no-repeat,
    url("./assets/christmas/winter-bauble-wave.svg") 76% 86% / 72px no-repeat,
    url("./assets/christmas/winter-bauble-stripe.svg") 44% 48% / 48px no-repeat,
    url("./assets/christmas/winter-bell.svg") 7% 57% / 40px no-repeat,
    url("./assets/christmas/winter-candy-cane.svg") 92% 140px / 52px no-repeat,
    url("./assets/christmas/winter-snowflake-1.svg") 38% 27% / 32px no-repeat,
    url("./assets/christmas/winter-snowflake-rotated-15.svg") 68% 58% / 48px no-repeat,
    url("./assets/christmas/winter-snowflake-rotated-30.svg") 17% 91% / 60px no-repeat,
    url("./assets/christmas/winter-snowflake-rotated-45.svg") 93% 69% / 38px no-repeat; }
body::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .095;
  background:
    url("./assets/christmas/winter-santa-hat.svg") 95% 225px / clamp(27px, 4vw, 57px) no-repeat,
    url("./assets/christmas/winter-snowflake-rotated-45.svg") 72% 145px / 27px no-repeat,
    url("./assets/christmas/winter-candy-cane.svg") 25% 15% / clamp(24px, 3vw, 46px) no-repeat,
    url("./assets/christmas/winter-snowflake-rotated-30.svg") 8% 23% / 48px no-repeat,
    url("./assets/christmas/winter-santa-hat-left.svg") 53% 34% / clamp(30px, 5vw, 66px) no-repeat,
    url("./assets/christmas/winter-candy-cane-tilted.svg") 92% 46% / 36px no-repeat,
    url("./assets/christmas/winter-snowflake-rotated-15.svg") 32% 57% / 28px no-repeat,
    url("./assets/christmas/winter-santa-hat.svg") 9% 70% / 34px no-repeat,
    url("./assets/christmas/winter-candy-cane-tilted.svg") 67% 73% / clamp(24px, 4vw, 55px) no-repeat,
    url("./assets/christmas/winter-snowflake-1.svg") 53% 86% / 30px no-repeat,
    url("./assets/christmas/winter-santa-hat-left.svg") 89% 94% / 46px no-repeat;
}
@media (max-width: 760px) { body::after { opacity: .07; } }
@media (max-width: 760px) { body::before { opacity: .065; background-size: 45px, 25px, 39px, 31px, 50px, 34px, 28px, 36px, 22px, 34px, 42px, 27px; } }
