#site-footer {
  background-color: #23201d;
  background-image:
    linear-gradient(rgba(35,32,29,0.45), rgba(35,32,29,0.45)),
    url('/assets/graphics/dots.png');
  background-repeat: repeat, repeat;
  background-size: auto, 190px 190px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  margin-top: 100px;
}

.footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(280px, 400px);
  align-items: center;
  gap: 32px;
  min-height: 500px;
  max-width: none;
  margin: 0;
  padding: 64px;
}

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  justify-self: start;
  text-align: left;
}

.footer__nav-label {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}

.footer__nav a {
  font-size: 18px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.74);
  text-decoration: none;
  line-height: 1.35;
  transition: color 0.15s;
}

.footer__nav a:hover {
  color: #FF8000;
}

.footer__signup {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 400px;
  width: 100%;
  align-items: center;
  justify-self: end;
  text-align: center;
}

.footer__signup-heading {
  margin: 0;
  color: #fff;
}

.footer__signup-subheading {
  margin: 0;
  font-size: 18px;
  font-weight: 400;
  color: #a4a4a4;
  line-height: 1.35;
}

.footer__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.footer__fields {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.footer__input {
  padding: var(--text-input-padding);
}

.footer__submit {
  width: 100%;
}

.footer__checkbox {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 128, 0, 0.8);
  border-radius: 8px;
  background: rgba(255, 128, 0, 0.08);
  color: #ffffff;
  cursor: pointer;
  user-select: none;
}

.footer__checkbox input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  margin: 0;
  flex-shrink: 0;
  border: 2px solid #FF8000;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.38);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer__checkbox input[type="checkbox"]::before {
  content: "";
  width: 6px;
  height: 10px;
  border-right: 2px solid #101010;
  border-bottom: 2px solid #101010;
  transform: rotate(45deg) scale(0);
  transform-origin: center;
  transition: transform 120ms ease-out;
}

.footer__checkbox input[type="checkbox"]:checked {
  background: #FF8000;
}

.footer__checkbox input[type="checkbox"]:checked::before {
  transform: rotate(45deg) scale(1);
}

.footer__checkbox input[type="checkbox"]:focus-visible {
  outline: 2px solid rgba(255, 128, 0, 0.65);
  outline-offset: 2px;
}

.footer__checkbox span {
  font-weight: 600;
  color: #ffffff;
}

.footer__status {
  min-height: 20px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.footer__status.is-error {
  color: #ffb2a5;
}

@media (max-width: 900px) {
  .footer__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    min-height: 0;
    max-width: 100%;
    padding: 32px 16px 0;
  }

  .footer__nav {
    align-items: center;
  }

  .footer__signup {
    order: -1;
    max-width: 100%;
  }

}
