/* Footer and cookie banner. Self-contained: no dependency on the Webflow
   variables, so it renders identically on the landing and on the legal pages. */

.sf {
  --sf-ink: #1b1b1b;
  --sf-paper: #fffdfa;
  --sf-dim: #b9b5b0;
  --sf-line: rgba(255, 253, 250, .14);
  --sf-panel: rgba(255, 253, 250, .04);
  --sf-serif: "Hedvig Letters Serif", Georgia, serif;
  --sf-sans: "Hedvig Letters Sans", system-ui, -apple-system, sans-serif;

  background: transparent;
  padding: 8px;
  font-family: var(--sf-sans);
  box-sizing: border-box;
}

.sf *, .sf *:before, .sf *:after { box-sizing: border-box; }

.sf-inner {
  max-width: 1440px;
  margin: 0 auto;
  background: var(--sf-ink);
  border-radius: 12px;
  padding: 48px;
  color: var(--sf-dim);
}

.sf a { color: var(--sf-dim); text-decoration: none; transition: color .16s ease; }
.sf a:hover { color: var(--sf-paper); text-decoration: underline; }

.sf-top {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--sf-line);
}

.sf-logo {
  font-family: var(--sf-serif);
  font-size: 28px;
  color: var(--sf-paper);
  letter-spacing: .02em;
  display: inline-block;
  margin-bottom: 14px;
}
.sf-logo:hover { text-decoration: none; opacity: .85; }

.sf-tagline {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.6;
  max-width: 46ch;
}

.sf-badge {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: #8d8985;
  border-left: 2px solid var(--sf-line);
  padding-left: 12px;
}

.sf-news { background: var(--sf-panel); border-radius: 10px; padding: 28px; }
.sf-news h3 {
  font-family: var(--sf-serif);
  font-weight: 400;
  font-size: 20px;
  color: var(--sf-paper);
  margin: 0 0 8px;
}
.sf-news p { margin: 0 0 16px; font-size: 14px; line-height: 1.6; }

.sf-news-form { display: flex; gap: 10px; flex-wrap: wrap; }
.sf-news-form input {
  flex: 1 1 200px;
  min-width: 0;
  padding: 12px 16px;
  border: 1px solid var(--sf-line);
  border-radius: 48px;
  background: rgba(255, 253, 250, .06);
  color: var(--sf-paper);
  font-family: inherit;
  font-size: 15px;
}
.sf-news-form input::placeholder { color: #8d8985; }
.sf-news-form input:focus { outline: 2px solid var(--sf-paper); outline-offset: 1px; }

.sf-news-btn {
  padding: 12px 28px;
  border: 0;
  border-radius: 48px;
  background: var(--sf-paper);
  color: var(--sf-ink);
  font-family: inherit;
  font-size: 15px;
  cursor: pointer;
  transition: opacity .16s ease;
}
.sf-news-btn:hover { opacity: .85; }
.sf-news-btn[disabled] { opacity: .5; cursor: not-allowed; }

.sf-news-msg { margin: 12px 0 0; font-size: 14px; color: #9fd0a6; }
.sf-news-msg.error { color: #e6a2a2; }
.sf-news-legal { margin: 14px 0 0 !important; font-size: 12.5px; color: #8d8985; }

.sf-sr {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.sf-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  padding: 40px 0;
  border-bottom: 1px solid var(--sf-line);
}

.sf-col h3 {
  font-family: var(--sf-sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #8d8985;
  margin: 0 0 16px;
}
.sf-col ul { list-style: none; margin: 0; padding: 0; }
.sf-col li { margin-bottom: 10px; font-size: 15px; line-height: 1.5; }
.sf-col li:last-child { margin-bottom: 0; }

.sf-mark {
  padding: 36px 0 8px;
  text-align: center;
}
.sf-mark img {
  width: 100%;
  max-width: 900px;
  height: auto;
  opacity: .9;
  display: inline-block;
}

.sf-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 32px;
  padding-top: 32px;
}

.sf-identity p, .sf-meta p {
  margin: 0 0 6px;
  font-size: 13px;
  line-height: 1.6;
  color: #8d8985;
}
.sf-identity strong { color: var(--sf-dim); font-weight: 400; }
.sf-meta { text-align: right; }

.sf-linkbtn {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-size: 13px;
  color: #8d8985;
  text-decoration: underline;
  cursor: pointer;
}
.sf-linkbtn:hover { color: var(--sf-paper); }

@media (max-width: 991px) {
  .sf-inner { padding: 32px; }
  .sf-top { grid-template-columns: 1fr; gap: 32px; }
  .sf-bottom { grid-template-columns: 1fr; }
  .sf-meta { text-align: left; }
}

@media (max-width: 640px) {
  .sf { padding: 6px; }
  .sf-mark { padding: 24px 0 4px; }
  .sf-inner { padding: 24px 20px; border-radius: 10px; }
  .sf-cols { grid-template-columns: 1fr; gap: 28px; padding: 32px 0; }
  .sf-news { padding: 20px; }
  .sf-news-form { flex-direction: column; }
  /* flex-basis becomes a height once the axis flips, so reset it */
  .sf-news-form input { flex: 0 0 auto; width: 100%; }
  .sf-news-btn { width: 100%; }
  .sf-logo { font-size: 24px; }
}

/* ------------------------------------------------------------ cookie banner */

.ck {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
  max-width: 720px;
  margin: 0 auto;
  background: #fffdfa;
  color: #1b1b1b;
  border: 1px solid #e4dfd8;
  border-radius: 14px;
  box-shadow: 0 18px 48px rgba(27, 27, 27, .18);
  padding: 24px;
  font-family: "Hedvig Letters Sans", system-ui, -apple-system, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  transform: translateY(8px);
  opacity: 0;
  transition: opacity .22s ease, transform .22s ease;
}
.ck.is-open { opacity: 1; transform: none; }
.ck[hidden] { display: none !important; }

.ck h2 {
  font-family: "Hedvig Letters Serif", Georgia, serif;
  font-size: 19px;
  font-weight: 400;
  margin: 0 0 8px;
}
.ck p { margin: 0 0 16px; color: #555; }
.ck a { color: #1b1b1b; }

.ck-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.ck-btn {
  flex: 1 1 auto;
  min-height: 44px;
  padding: 11px 22px;
  border-radius: 48px;
  border: 1px solid #1b1b1b;
  background: #1b1b1b;
  color: #fffdfa;
  font: inherit;
  cursor: pointer;
  transition: opacity .16s ease;
}
.ck-btn:hover { opacity: .86; }
.ck-btn.ghost { background: transparent; color: #1b1b1b; border-color: #d3d1cf; }

.ck-prefs { margin: 0 0 16px; border-top: 1px solid #f1ede8; }
.ck-pref {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid #f1ede8;
}
.ck-pref strong { display: block; font-weight: 400; color: #1b1b1b; margin-bottom: 2px; }
.ck-pref span { font-size: 13px; color: #707070; }
.ck-pref em { font-style: normal; font-size: 13px; color: #707070; white-space: nowrap; }

@media (max-width: 520px) {
  .ck { left: 8px; right: 8px; bottom: 8px; padding: 20px; }
  .ck-actions { flex-direction: column; }
  .ck-btn { width: 100%; }
}
