/* ===== Footer — brand + link columns + optional newsletter + legal bar ===== */
.cc_pSmp65GtZr_siXG9zbuE6 .ftr {
  width: 100%;
  overflow-x: clip;
}

.cc_pSmp65GtZr_siXG9zbuE6 .ftr__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--space-xl) var(--container-pad) var(--space-lg);
}

/* Mobile: everything stacks */
.cc_pSmp65GtZr_siXG9zbuE6 .ftr__top {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

/* Tablet: brand + columns share a row, newsletter spans below.
   minmax(0,…) on every track so the columns block can shrink instead of
   forcing the grid wider (its min-content was overflowing on narrow tablets). */
@media (min-width: 768px) {
  .cc_pSmp65GtZr_siXG9zbuE6 .ftr__top {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 2fr);
    gap: var(--space-xl) var(--space-lg);
    align-items: start;
  }
  .cc_pSmp65GtZr_siXG9zbuE6 .ftr__newsletter {
    grid-column: 1 / -1;
  }
}

/* Desktop: brand | columns | newsletter */
@media (min-width: 1024px) {
  .cc_pSmp65GtZr_siXG9zbuE6 .ftr__top {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.7fr) minmax(0, 1.2fr);
  }
  .cc_pSmp65GtZr_siXG9zbuE6 .ftr__newsletter {
    grid-column: auto;
  }
}

/* ---- Brand block ---- */
.cc_pSmp65GtZr_siXG9zbuE6 .ftr__brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  min-width: 0;
}

.cc_pSmp65GtZr_siXG9zbuE6 .ftr__logo {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(34px, 5vw, 54px);
  letter-spacing: 0.02em;
  line-height: 1;
}

.cc_pSmp65GtZr_siXG9zbuE6 .ftr__tagline {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(18px, 2.4vw, 26px);
  opacity: 0.85;
}

.cc_pSmp65GtZr_siXG9zbuE6 .ftr__social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
}

.cc_pSmp65GtZr_siXG9zbuE6 .ftr__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: currentColor;
  text-decoration: none;
  border: 1px solid color-mix(in srgb, currentColor 28%, transparent);
  border-radius: 50%;
  opacity: 0.85;
  transition: opacity 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.cc_pSmp65GtZr_siXG9zbuE6 .ftr__social-link:hover {
  opacity: 1;
  border-color: color-mix(in srgb, currentColor 60%, transparent);
  transform: translateY(-1px);
}

.cc_pSmp65GtZr_siXG9zbuE6 .ftr__social-link:focus-visible {
  outline: 2px solid var(--ftr-accent, currentColor);
  outline-offset: 3px;
}

/* ---- Link columns ---- */
.cc_pSmp65GtZr_siXG9zbuE6 .ftr__columns {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

@media (min-width: 768px) {
  .cc_pSmp65GtZr_siXG9zbuE6 .ftr__columns {
    flex-direction: row;
    flex-wrap: wrap;
    /* fluid column gap — 96px is too wide for the tablet track and pushed the
       columns past their cell; clamp it down between tablet and desktop */
    gap: var(--space-md) clamp(var(--space-lg), 4vw, var(--space-2xl));
  }
}

/* Desktop has the room for the wider gap */
@media (min-width: 1024px) {
  .cc_pSmp65GtZr_siXG9zbuE6 .ftr__columns {
    gap: var(--space-md) var(--space-2xl);
  }
}

/* ---- Newsletter ---- */
.cc_pSmp65GtZr_siXG9zbuE6 .ftr__newsletter {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.cc_pSmp65GtZr_siXG9zbuE6 .ftr__nl-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.cc_pSmp65GtZr_siXG9zbuE6 .ftr__nl-subtitle {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-small);
  line-height: 1.55;
  opacity: 0.8;
}

.cc_pSmp65GtZr_siXG9zbuE6 .ftr__nl-field {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid color-mix(in srgb, currentColor 38%, transparent);
  transition: border-color 200ms ease;
}

.cc_pSmp65GtZr_siXG9zbuE6 .ftr__nl-field:focus-within {
  border-color: currentColor;
}

.cc_pSmp65GtZr_siXG9zbuE6 .ftr__nl-input {
  flex: 1 1 auto;
  min-width: 0;
  background: transparent;
  border: 0;
  color: inherit;
  font-family: var(--font-body);
  font-size: var(--text-small);
  padding: 12px 0;
}

.cc_pSmp65GtZr_siXG9zbuE6 .ftr__nl-input::placeholder {
  color: inherit;
  opacity: 0.55;
}

.cc_pSmp65GtZr_siXG9zbuE6 .ftr__nl-input:focus {
  outline: none;
}

.cc_pSmp65GtZr_siXG9zbuE6 .ftr__nl-btn {
  flex: 0 0 auto;
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 4px;
  opacity: 0.9;
  transition: opacity 160ms ease;
}

.cc_pSmp65GtZr_siXG9zbuE6 .ftr__nl-btn:hover:not(:disabled) {
  opacity: 1;
}

.cc_pSmp65GtZr_siXG9zbuE6 .ftr__nl-btn:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.cc_pSmp65GtZr_siXG9zbuE6 .ftr__nl-success {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-small);
}

.cc_pSmp65GtZr_siXG9zbuE6 .ftr__nl-error {
  font-family: var(--font-body);
  font-size: 12px;
  color: #ffb4ab;
}

/* ---- Bottom bar ---- */
/* Mobile keeps just the column dividers — no extra line here (less clutter) */
.cc_pSmp65GtZr_siXG9zbuE6 .ftr__bottom {
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
}

@media (min-width: 768px) {
  .cc_pSmp65GtZr_siXG9zbuE6 .ftr__bottom {
    margin-top: var(--space-xl);
    border-top: 1px solid color-mix(in srgb, currentColor 14%, transparent);
  }
}

.cc_pSmp65GtZr_siXG9zbuE6 .ftr__copy {
  margin: 0;
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.04em;
  opacity: 0.7;
}

@media (prefers-reduced-motion: reduce) {
  .cc_pSmp65GtZr_siXG9zbuE6 .ftr__social-link {
    transition: none;
  }
}
