/* ============================================================
   N2 · Footer
   Depende de los tokens de brand.css. Sin referencias ambiguas.
   ============================================================ */

/* Foco visible y accesible */
.foot a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.foot {
  border-top: 1px solid var(--line);
  padding: clamp(56px, 8vw, 96px) 0 36px;
  margin-top: clamp(80px, 12vw, 160px);
}
.foot-big {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: clamp(40px, 8vw, 88px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.foot-mark {
  width: clamp(40px, 7vw, 72px);
  height: clamp(40px, 7vw, 72px);
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
}
.foot-mark .brand-mark {
  width: 100%;
  height: 100%;
}

.foot-cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
}
.foot-col h4 {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-faint);
  margin-bottom: 18px;
}
.foot-col p {
  font-size: 14px;
  line-height: 1.6;
  max-width: 34ch;
}
.foot-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.foot-col a {
  font-size: 14px;
  color: var(--fg-dim);
  transition: color 0.2s ease;
}
.foot-col a:hover {
  color: var(--fg);
}

.foot-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 28px;
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 12px;
  color: var(--fg-faint);
}

@media (max-width: 760px) {
  .foot-cols {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
  }
  .foot-bottom {
    flex-direction: column;
    gap: 8px;
  }
}
@media (max-width: 420px) {
  .foot-cols {
    grid-template-columns: 1fr;
  }
}
