/* ══════════════════════════════════════════════════════════
   Site footer — shared across _Layout (authenticated) and
   _MarketingLayout (guest). Selectors are intentionally
   unscoped so the same _MarketingFooter.cshtml partial can
   render in either context without a wrapper element.

   The footer is a designed dark-navy set-piece. The navy
   background (#1B2A3B) and cream text (#FFFBF5) are brand
   identity literals — NOT derived from semantic tokens —
   so the footer retains its dark look in both light and dark
   app themes. rgba overlay values are likewise literal.

   Column-head and paw accents use var(--mkt-sun, #F4C141)
   so marketing pages get the Golden Hour sun-yellow; the
   fallback #F4C141 ensures authenticated layouts (which
   don't load marketing-shell.css) still render correctly.
   ══════════════════════════════════════════════════════════ */

.mkt-footer {
  background: #1B2A3B;
  color: #FFFBF5;
  padding: 80px 56px 40px;
  /* auto: absorbs free space to pin the footer to the viewport
     bottom on short pages; collapses to 0 on tall pages so the
     footer sits flush against the content. */
  margin-top: auto;
}
.mkt-footer__inner {
  max-width: 1320px;
  margin: 0 auto;
}
.mkt-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 48px;
}
.mkt-footer__logo {
  display: inline-block;
  margin-bottom: 20px;
}
.mkt-footer__logo img {
  height: 34px;
  width: auto;
  display: block;
}
.mkt-footer__brand-wordmark {
  font-family: "Fredoka", "DM Sans", "Nunito", sans-serif;
  font-weight: 500;
  font-size: 36px;
  line-height: 1;
  letter-spacing: -0.015em;
  margin-bottom: 16px;
}
.mkt-footer__brand-blurb {
  color: rgba(251, 246, 236, 0.6);
  max-width: 280px;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}
.mkt-footer__col-head {
  font-family: "JetBrains Mono", ui-monospace, "Nunito", monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mkt-sun, #F4C141);
  margin-bottom: 14px;
}
.mkt-footer__col-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.mkt-footer__col-list a,
.mkt-footer__col-list button {
  color: rgba(251, 246, 236, 0.75);
  font-size: 14px;
  text-decoration: none;
  background: transparent;
  border: none;
  padding: 0;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}
.mkt-footer__col-list a:hover,
.mkt-footer__col-list button:hover {
  color: var(--mkt-sun, #F4C141);
}
.mkt-footer__bottom {
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid rgba(251, 246, 236, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(251, 246, 236, 0.4);
  font-size: 13px;
  font-family: "JetBrains Mono", ui-monospace, "Nunito", monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.mkt-footer__made-with {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.mkt-footer__paw {
  color: var(--mkt-sun, #F4C141);
  flex: 0 0 auto;
}

@media (max-width: 1100px) {
  .mkt-footer__inner {
    padding-left: 24px;
    padding-right: 24px;
  }
  .mkt-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .mkt-footer__bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}
@media (max-width: 640px) {
  .mkt-footer__grid {
    grid-template-columns: 1fr;
  }
}

/* ── App-store badges (brand column) ─────────────────────── */
.mkt-footer__apps {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.mkt-footer__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  min-width: 148px;
  border-radius: 12px;
  background: #0B1119;
  border: 1px solid rgba(251, 246, 236, 0.18);
  color: #FFFBF5;
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.mkt-footer__badge:hover {
  border-color: rgba(251, 246, 236, 0.4);
  transform: translateY(-2px);
}
.mkt-footer__badge-logo {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}
.mkt-footer__badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.mkt-footer__badge-small {
  font-size: 10px;
  letter-spacing: 0.02em;
  color: rgba(251, 246, 236, 0.72);
}
.mkt-footer__badge-big {
  font-family: "Fredoka", "DM Sans", "Nunito", sans-serif;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.01em;
}

/* ── Slim footer (signed-in members) ─────────────────────── */
/* One row: copyright · links · app badges. Same navy set-piece
   and type as the rich footer, a fraction of the height. */
.mkt-footer--slim {
  padding: 28px 56px;
}
.mkt-footer__slim {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  flex-wrap: wrap;
}
.mkt-footer__slim-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}
/* "© 2026 [wordmark]" in the full footer's bottom row. */
.mkt-footer__copy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.mkt-footer__copy-logo {
  height: 18px;
  width: auto;
  display: block;
  /* The nose and tail hang below the letters: drop the image so the letters, not
     the whole image, sit on the text's line. */
  transform: translateY(3px);
}
.mkt-footer__slim-logo img {
  height: 20px;
  width: auto;
  display: block;
  /* The nose and tail hang below the letters: drop the image so the letters, not
     the whole image, sit on the text's line. */
  transform: translateY(3px);
}
.mkt-footer__slim-copy {
  color: rgba(251, 246, 236, 0.4);
  font-family: "JetBrains Mono", ui-monospace, "Nunito", monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.mkt-footer__slim-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}
.mkt-footer__slim-links a,
.mkt-footer__slim-links button {
  color: rgba(251, 246, 236, 0.75);
  font-size: 14px;
  text-decoration: none;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
}
.mkt-footer__slim-links a:hover,
.mkt-footer__slim-links button:hover {
  color: var(--mkt-sun, #F4C141);
}
.mkt-footer--slim .mkt-footer__apps {
  margin-top: 0;
}

@media (max-width: 1100px) {
  .mkt-footer--slim {
    padding: 28px 24px;
  }
  /* The rich footer's rule pads .mkt-footer__inner; the slim
     footer already pads itself. */
  .mkt-footer--slim .mkt-footer__inner {
    padding-left: 0;
    padding-right: 0;
  }
}
@media (max-width: 760px) {
  .mkt-footer__slim {
    flex-direction: column;
    text-align: center;
  }
  .mkt-footer__slim-links {
    justify-content: center;
  }
  .mkt-footer--slim .mkt-footer__apps {
    justify-content: center;
  }
}
