/* ============================================
   FOOTER — paper, 2-col (brand / nav+license) + bottom
   ============================================ */

.footer {
  background: var(--gradient-footer);
  border-top: 1.5px solid var(--ink);
  padding: 6rem var(--main-padding) 3rem;
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  top: -1.5px;
  left: 0;
  width: 12rem;
  height: 3px;
  background: var(--accent);
}

.footer_content {
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  gap: 6rem;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
}

/* ===== Left — brand + desc + CTA ===== */
.footer_left {
  max-width: 40%;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.footer_brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
}

.footer_brand:hover {
  color: var(--ink);
}

.footer_brand:hover .brand_badge {
  background: var(--accent-dark);
}

.footer_desc {
  color: var(--ink-soft);
  font-size: 1.1rem;
  line-height: 1.65;
  max-width: 90%;
}

.footer_cta {
  align-self: flex-start;
  margin-top: 0.4rem;
}

/* ===== Right — nav + license ===== */
.footer_right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1.6rem;
  max-width: 45%;
}

.footer_nav {
  display: flex;
}

.footer_nav > ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1.8rem;
  justify-content: flex-end;
}

.footer_nav > ul > li > a {
  font-family: "Geist", inherit;
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: 0.01em;
  text-decoration: none;
}

.footer_nav > ul > li > a:hover {
  color: var(--accent);
}

.footer_license {
  font-size: 0.94rem;
  color: var(--ink-muted);
  line-height: 1.6;
  text-align: right;
  letter-spacing: 0.01em;
}

/* ===== Bottom — copy + disclaimer ===== */
.footer_bottom {
  max-width: 1600px;
  margin: 3rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid var(--hairline);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer_copy {
  font-size: 0.94rem;
  color: var(--ink-muted);
}

.footer_disclaimer {
  font-size: 0.88rem;
  color: var(--ink-muted);
  letter-spacing: 0.02em;
}

/* ============================================
   Mobile — ≤1024px
   ============================================ */
@media (max-width: 1024px) {
  .footer {
    padding: 10rem var(--main-padding) 4rem;
  }

  .footer_content {
    flex-direction: column;
    gap: 4rem;
    align-items: flex-start;
  }

  .footer_left {
    max-width: 100%;
  }

  .footer_brand {
    gap: 1.4rem;
  }

  .footer_desc {
    font-size: 2.4rem;
    max-width: 100%;
  }

  .footer_cta {
    align-self: center;
  }

  .footer_right {
    align-items: flex-start;
    max-width: 100%;
  }

  .footer_nav > ul {
    justify-content: flex-start;
    gap: 1.5rem 2.6rem;
  }

  .footer_nav > ul > li > a {
    font-size: 2.6rem;
  }

  .footer_license {
    font-size: 2.2rem;
    text-align: left;
  }

  .footer_bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
    margin-top: 5rem;
    padding-top: 3rem;
  }

  .footer_copy,
  .footer_disclaimer {
    font-size: 2rem;
  }
}
