/*
 * Marketing footer — shared site footer for public/marketing pages.
 * Included by templates/includes/marketing_footer.html via marketing_base.html.
 * Class names keep the original home-footer-* prefix so the home page
 * (the original owner of this markup) renders pixel-identically.
 */

.home-footer {
  background: #080f1c;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--varial-white, #ffffff);
  padding: 3.5rem 3rem 0;
}

.home-footer-inner {
  max-width: 940px;
  margin: 0 auto;
  display: flex;
  gap: 4rem;
  flex-wrap: wrap;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.home-footer-brand {
  flex: 1;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.home-footer-logo-link {
  display: inline-flex;
}

.home-footer-logo {
  height: 26px;
  width: auto;
  display: block;
  opacity: 0.85;
}

.home-footer-tagline {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.32);
  margin: 0;
  max-width: 26ch;
}

.home-footer-links {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}

.home-footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  min-width: 120px;
}

.home-footer-col-heading {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.28);
  margin: 0 0 0.25rem;
}

.home-footer-link {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.15s;
}

.home-footer-link:hover {
  color: var(--varial-white, #ffffff);
}

.home-footer-base {
  max-width: 940px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
}

.home-footer-copy {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.22);
  margin: 0;
}

.home-footer-signin {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.15s;
}

.home-footer-signin:hover {
  color: var(--varial-white, #ffffff);
}

/* Footer newsletter sign-up (#3686) — sits under the brand tagline in the dark
   footer, so inputs use a translucent-on-navy treatment to match the chrome.
   Tightened to a single inline row in #3731; the consent copy that used to
   sit below the footer divider now lives in the info tooltip instead. */
.home-footer-signup {
  margin-top: 1.25rem;
  max-width: 26rem;
}

.home-footer-signup-label {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.4;
  white-space: nowrap;
}

.home-footer-signup-form {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.625rem;
}

/* Input + button rendered as one joined control (#3731) rather than two
   separate pieces, so the row reads as a single "type and go" field. */
.home-footer-signup-group {
  flex: 1 1 auto;
  min-width: 13rem;
  display: flex;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.375rem;
  background: rgba(255, 255, 255, 0.06);
  transition: border-color 0.15s, background 0.15s;
}

.home-footer-signup-group:focus-within {
  border-color: var(--varial-amber, #f59e0b);
  background: rgba(255, 255, 255, 0.1);
}

.home-footer-signup-input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0.5rem 0.75rem;
  font-size: 0.8125rem;
  color: var(--varial-white, #ffffff);
  background: none;
  border: none;
  border-radius: 0.375rem 0 0 0.375rem;
}

.home-footer-signup-input:focus {
  outline: none;
}

.home-footer-signup-input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.home-footer-signup-btn {
  flex: 0 0 auto;
  padding: 0.5rem 0.9rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--chart-tech-black-coal, #1c1917);
  background: var(--varial-amber, #f59e0b);
  border: none;
  border-radius: 0 0.3125rem 0.3125rem 0;
  cursor: pointer;
  transition: filter 0.15s;
}

.home-footer-signup-btn:hover {
  filter: brightness(1.08);
}

.home-footer-signup-thanks {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

.home-footer-signup-error {
  font-size: 0.75rem;
  color: #fca5a5;
  margin: 0.4rem 0 0;
}

@media (max-width: 700px) {
  .home-footer {
    padding: 2.5rem 1.25rem 0;
  }

  .home-footer-inner {
    flex-direction: column;
    gap: 2rem;
  }

  .home-footer-links {
    gap: 2rem;
  }
}
